This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 104137205 filed in Taiwan, R.O.C. on Nov. 11, 2015, the entire contents of which are hereby incorporated by reference.
The disclosure relates to an apparatus management method, an apparatus management device and a non-transitory computer readable storage media.
The development of technology has caused that more and more modern apparatuses, such as exercise apparatuses, medical apparatuses or a variety of types of apparatus, are produced to provide people with a variety of services.
In a case of an exercise process in a fitness center, a specific exercise project relates to multiple specific exercise apparatuses, and these exercise apparatuses can provide a user with trainings of different levels. In a case of health examination, a specific checkout project relates multiple specific medical apparatuses, and these medical apparatuses can provide a user with physical examinations of different levels.
Although a great deal of hardware resources has existed, the existing hardware resources may not reach the best benefits when a great deal of people is using the hardware resources at the same time or an error occurs to the workflow. Alternatively, once the management of apparatuses is out of order and then results in that someone uses an apparatus with permission or that an apparatus is improperly operated, a safety problem may occur.
According to one or more embodiments, the disclosure provides an apparatus management method applied to a server and including the following steps. At a schedule reservation stage, receive user information and an indicated project. The indicated project is related to at least one executable item and at least one preset apparatus, the at least one executable item is in executive order, and the at least one executable item in the indicated project corresponds to the at least one preset apparatus. Determine whether there is at least one selectable schedule related to the at least one executable item, according to a reservation record of the at least one preset apparatus. The at least one executable item in the selectable schedule corresponds to the at least one preset apparatus. When the at least one selectable schedule exists, determine whether a first indicator for indicating one of the at least one selectable schedule is received. At a schedule execution stage, adaptively authorize the at least one preset apparatus in the selectable schedule indicated by the first indicator according to a current time, the user information and the reservation record of the at least one preset apparatus in the selectable schedule indicated by the first indicator.
According to one or more embodiments, the disclosure provides an apparatus management device applied to a server. The apparatus management device includes a schedule reservation module and an apparatus authorization module. The apparatus authorization module is coupled to the schedule reservation module. The schedule reservation module receives user information and an indicated project at a schedule reservation stage. The indicated project is related to at least one executable item and at least one preset apparatus. The at least one executable item is in executive order, and the at least one executable item in the indicated project corresponds to the at least one preset apparatus. The schedule reservation module also, according to a reservation record of the at least one preset apparatus, determines whether at least one selectable schedule corresponding to the at least one executable item exists. The at least one executable item in each selectable schedule corresponds to the at least one preset apparatus. When at least one selectable schedule exists, the schedule reservation module determines whether a first indicator for indicating one of the at least one selectable schedule is received. The apparatus authorization module adaptively authorizes each preset apparatus in a selectable schedule indicated by the first indicator according to a current time, the user information and a reservation record of each preset apparatus in the selectable schedule indicated by the first indicator, at a schedule execution stage.
According to one or more embodiments, the disclosure provides an apparatus management method applied to a mobile device and including the following steps. At a schedule reservation stage, log in a server using user information to select an indicated project related to at least one executable item and at least one preset apparatus. The at least one executable item is in executive order, and in the indicated project, the at least one executable item corresponds to the at least one preset apparatus. Send a first indicator to select one of the at least one selectable schedule corresponding to the indicated project. The at least one executable item in each selectable schedule corresponds to the at least one preset apparatus. At a schedule execution stage, send a starting request to an apparatus to determine whether the apparatus is authorized to start because of matching the selectable schedule indicated by the first indicator. Operate the apparatus by the mobile device when the apparatus is authorized to start because of matching the selectable schedule indicated by the first indicator.
According to one or more embodiments, the disclosure provides a non-transitory computer readable storage media having a program of performing the aforementioned apparatus management method applied to the mobile device.
According to one or more embodiments, the disclosure provides an apparatus management method applied to an apparatus and including the following steps. Receive a starting request from a mobile device. In response to the starting request, use the mobile device to communicate with a server in order to determine whether the apparatus matches a selectable schedule indicated by a first indicator. Start the apparatus when the apparatus matches the selectable schedule indicated by the first indicator. The first indicator is received by the server in order to indicate the selectable schedule. The selectable schedule indicated by the first indicator is related to at least one executable item. The at least one executable item is in executive order and the at least one executable item corresponds to a preset apparatus.
According to one or more embodiments, the disclosure provides an apparatus management device for an apparatus. The apparatus management device includes a near field communication module, an authority determination module and an apparatus enabling module. The near field communication module receives a starting request from a mobile device and in response to the starting request, communicates with a server through the mobile device. The authority determination module is coupled to the near field communication module and according to a communication result, determines whether the apparatus matches a selectable schedule indicated by a first indicator. When the apparatus matches the selectable schedule indicated by the first indicator, the authority determination module generates an enabling signal. The apparatus enabling module is coupled to the authority determination module and starts the apparatus when receiving the enabling signal. The first indicator is received by the server in order to indicate the selectable schedule. The selectable schedule indicated by the first indicator is related to at least one executable item, and the at least one executable item is in executive order. The at least one executable item corresponds to a preset apparatus.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
To clarify the disclosure, the apparatus 30 is exemplified by an exercise apparatus as described below. For example, when a user attempts to execute a weight loss plan, the user can use the mobile device 20 to log in the server 10 belonging to a sport center in order to search for an exercise program the user prefers. If the user chooses a specific exercise program, the server 10 will allocate a reserved usage period for the apparatus 30 corresponding to this choice. Accordingly, when the user visits the sport center, the user can employ the assistance of the mobile device 20 to start the relative apparatus 30, thereby executing the weight loss plan. This process will be described in detail later.
In step S210, at the schedule reservation stage d1, the mobile device 20 logs in the server 10 using user information to select an indicated project. The indicated project is related to one or more executable items and one or more preset apparatuses, the one or more executable items are in executive order, and in the indicated project, at least one of the one or more executable items corresponds to at least one of the one or more preset apparatuses. Correspondingly, in step S110 at the schedule reservation stage d1, the schedule reservation module 110 in the server 10 can receive the user information and the indicated project inputted by the mobile device 20. In an embodiment, a user can use the mobile device 20 to log in the operation interface 40 provided by the server 10, to select the indicated project.
For example, the user information is, for example, but not limited to, a membership ID and a related password which the user has registered in a sport center. After the user logs in the server 10 of the sport center, the user will be allowed to select an indicated project “Weight Loss Training A1”, as shown in
Moreover, one executable item corresponds to an execution time. For example, the execution time for the executable item “Warm-Up” is 5 mins, the execution time for the executable item “Aerobics” is 30 mins, the execution time for the executable item “Strength Training” is 20 mins, and the execution time for the executable item “Cooling Down” is 5 mins.
Also, instances of preset apparatuses related to the executable item “Aerobics” include “Treadmill”, “Stationary Bike” and “Rowing Machine”, instances of preset apparatus related to the executable item “Strength Training” include “Chin-up Machine” and “Weight Machine”. The executable items of “Warm-Up” and “Cooling Down” can be done without any preset apparatus.
In an embodiment, the schedule reservation module 110 in the server 10 shows at least one preset apparatus corresponding to each executable item on the operation interface 40 according to an apparatus recommend order. Accordingly, the user can refer to the apparatus recommend order presented on the operation interface 40 for the follow-up selection (i.e. giving a first indicator for indicating a selectable schedule). As described in
In an embodiment, before the indicated project is selected, the server 10 can show multiple selectable projects, such as “Weight Loss Training A1”, “Weight Loss Training A2”, “Cardiorespiratory Training A3”, “Cardiorespiratory Training A4”, “Upper Limb Intensification A5” and “Lower Body Contouring A6”, on the operation interface 40, as shown in
Additionally, in an embodiment, the user can give more search conditions, such as setting of a reserved time and the setting of a reserved position, in the operation interface 40 so the server 10 will receive them. For example, as shown in
In step S120, the schedule reservation module 110 in the server 10 also, according to a reservation record of each preset apparatus, determines at least one selectable schedule corresponding to the one or more executable items exists. At least one of the one or more executable items in each selectable schedule corresponds to one of the one or more preset apparatuses. In an embodiment, the schedule reservation module 110 further, according to the reserved time, the reserved position and the execution time of each of the one or more executable items, determines at least one selectable schedule exists.
For example, as shown in
Specifically, in an embodiment, the schedule reservation module 110 has a queue. Before the above selectable schedules C1˜C6 are generated, the schedule reservation module 110 puts the schedules for all the related reserved times and the related reserved positions into the queue by the first-in-first-out (FIFO) method. The executable item corresponding to one or more preset apparatuses corresponding to the schedule early put into the queue has a relatively high priority in the apparatus recommend order. The schedule reservation module 110 reads out the schedules from the queue one by one to compare the read-out schedule with a reservation record of a preset apparatus, so as to determine whether the schedule read out from the queue can be the aforementioned selectable schedule.
As described in
Similarly, as described in
The processes of generating the selectable schedules C3˜C6 are similar to the above process of generating the selectable schedule C1 and thus, will not be repeated hereinafter.
In step S220, a first indicator for selecting one of the at least one selectable schedule is sent out by, for example, the mobile device 20 or other device according to at least one selectable schedule corresponding to the indicated project. As described in
Accordingly, in step S130, when the schedule reservation module 110 in the server 10 determines that at least one selectable schedule exists, the schedule reservation module 110 will further determine whether the first indicator is received in the operation interface. In an embodiment, when receiving the first indicator, the schedule reservation module 110 will update the reservation record of each preset apparatus corresponding to the selectable schedule indicated by the first indicator according to the user information, the reserved time, the reserved position and the execution time of each of the one or more executable items. In other words, the schedule reservation module 110 will assign a specific preset apparatus at a specific position to only one specific user during a specific time period. That is, only a certain user, who has selected a certain selectable schedule, can use a specific preset apparatus at a specific position during a scheduled time indicated by the selectable schedule indicated by the first indicator, and the related reservation information will be recorded in the reservation record corresponding to the related preset apparatus.
In this embodiment, the user uses the mobile device 20 to link to the server 10 for the operation at the schedule reservation stage d1. Other embodiments may be contemplated in which the user uses a personal computer or another non-portable electronic device to link to the server 10 for the operation at the schedule reservation stage d1.
Then, in step S140, the apparatus authorization module 120 in the server 10 at the schedule execution stage d2 adaptively authorizes each preset apparatus corresponding to the selectable schedule indicated by the first indicator according to a current time, the user information and the reservation record of each preset apparatus corresponding to the selectable schedule indicated by the first indicator. In other words, when the user is using the apparatus 30 through the mobile device 20, the apparatus authorization module 120 has to first confirm that all the related time, position and user (or the mobile device 20) and the apparatus 30 are conforming to the above selectable schedule indicated by the first indicator, and then gives an authority.
In step S230, at the schedule execution stage d2, the mobile device 20 sends the apparatus 30 a starting request. For example, a user may put the mobile device 20 on the docking stand 31, so as to establish a communication between the mobile device 20 and the near field communication module 310 in the apparatus management device 300 to send the starting request.
Accordingly, in step S310, the near field communication module 310 receives the starting request from the mobile device 20 and according to the starting request, communicates with the server 10 through the mobile device 20. In step S320, the authority determination module 320, according to the communication result, determines whether the apparatus 30 conforms to the selectable schedule indicated by the first indicator; and when it is determined that the apparatus 30 conforms to the selectable schedule indicated by the first indicator, the authority determination module 320 outputs an enabling signal. In step S330, when receiving the enabling signal, the apparatus enabling module 330 starts the apparatus 30. For example, the apparatus enabling module 330 controls the connection between a power source and the driving motor 32; and when receiving the enabling signal, the apparatus enabling module 330 enables the connection between the power source and the driving motor 32 so the user can execute the related executable item on the apparatus 30. In another embodiment, the apparatus 30 also includes a lock mechanism and an unlocking mechanism; when not receiving the enabling signal, the apparatus 30 is locked; and upon receipt the enabling signal, the apparatus 30 is unlocked.
The process of generating the above communication result and the other detailed operation at the schedule execution stage d2 will be described later with respect to
In step S240, the mobile device 20 determines whether the apparatus 30 is authorized to start because of conforming to the selectable schedule indicated by the first indicator. In step S250, the user operates the apparatus 30 through the mobile device 20. Specifically, the near field communication module 310 can detect whether the mobile device 20 is still on the docking stand 31, whereby the apparatus enabling module 330 can determine whether to keep the apparatus 30 enabled.
After a user finishes the operations at the schedule reservation stage d1, the user can go to the reserved position and execute the indicated project. To ensure that the user arriving at the reserved position uses the reserved apparatus at a right time point, the schedule execution process, which is related to a public key and a private key, will be performed among the server 10, the mobile device 20 and the apparatus 30 at the schedule execution stage d2. After the user arriving at the field puts the mobile device 20 on the docking stand 31 in
Accordingly, in step S1010, the authority determination module 320 in the apparatus 30 randomly generates a second private key and a second public key so in step S1020, the authority determination module 320 can use a first private key to encrypt an apparatus identifier (referred to as a first apparatus identifier) of the apparatus 30 and the second public key to generate an encrypted identification message corresponding to the starting request. In step S1030, the authority determination module 320 sends the encrypted identification message to the mobile device 20 through the near field communication module 310 and then the mobile device 20 transfers the encrypted identification message to the server 10, as described below in step S910 and S920.
In step S910, the mobile device 20 receives the encrypted identification message from the near field communication module 310.
In step S920, the mobile device 20 sends the encrypted identification message and a mobile device identifier to the server 10. In an embodiment, the user information is related to the mobile device identifier of the mobile device 20, that is, the identification information about the user is binding on the mobile device 20 of the user so that when the user visiting a sport center puts the mobile device 20 on the docking stand 31 on the apparatus 30, the schedule execution process at the schedule execution stage d2 will immediately be executed automatically.
Accordingly, in step S810, the apparatus authorization module 120 in the server 10 receives the encrypted identification message and the mobile device identifier of the mobile device 20 from the mobile device 20. Then, in step S820, a first public key is used to decrypt the encrypted identification message to obtain the apparatus identifier of the apparatus 30 and the second public key. In step S830, the apparatus authorization module 120 reads out the selectable schedule that is indicated and related to the mobile device identifier. In step S840, the apparatus authorization module 120 determines whether this apparatus identifier matches one of the at least one preset apparatus corresponding to the selectable schedule that is indicated.
Then, in step S850, when the apparatus identifier of the apparatus 30 matches one of the at least one preset apparatus corresponding to the selectable schedule that is indicated, the apparatus authorization module 120 will, according to the mobile device identifier, the current time, and the reservation record corresponding to the apparatus identifier, determines whether to authorize the preset apparatus corresponding to this apparatus identifier. In step S860, when it is determined to authorize the preset apparatus corresponding to the apparatus identifier, the second public key will be used to encrypt this apparatus identifier and a service time to generate an encrypted authorization message. The service time herein is related to the reservation record of the preset apparatus related to the apparatus identifier. Next, in step S870, the encrypted authorization message is sent to the mobile device 20. In step S880, the first public key is renewed by the second public key. After that, the mobile device 20 performs the steps as described below.
In step S930, the mobile device 20 receives the encrypted authorization message corresponding to the encrypted identification message from the server 10.
In step S940, the mobile device 20 sends the encrypted authorization message to the apparatus 30. When the apparatus 30 is authorized by the server 10 because of matching the selectable schedule indicated by the user through the mobile device 20, the apparatus 30 will be started in response to the received encrypted authorization message. This will be described below in detail.
In accordance with step S940, the authority determination module 320 determines whether an encrypted authorization message corresponding to the encrypted identification message is received from the mobile device 20, as described in step S1040. In step S1050, when receiving the encrypted authorization message corresponding to the encrypted identification message from the mobile device 20, the authority determination module 320 will decrypt the encrypted authorization message using the second private key to read out another apparatus identifier (referred to as a second apparatus identifier) and a service time. In step S1060, the authority determination module 320 determines whether the second apparatus identifier conforms to the apparatus identifier (i.e. the first apparatus identifier) of the apparatus 30.
Note that if some unexpected situations, such as a malicious login to a server, the fraudulent use of an apparatus, a damage to an apparatus, or the out-of-order replacing of an apparatus, occur, another apparatus identifier (i.e. the second apparatus identifier) obtained during the decryption for the apparatus 30 may be different from the apparatus identifier (i.e. the first apparatus identifier) of the apparatus 30. Therefore, in step S1070, when the second apparatus identifier is the same as the first apparatus identifier, the authority determination module 320 will generate an enabling signal according to the service time, and the apparatus enabling module 330 enables the apparatus 30 according to the enabling signal. As described above, the service time is related to the reservation record of the apparatus. Finally, in step S1080, the authority determination module 320 renews the first private key by the second private key. When the second apparatus identifier is different from the first apparatus identifier, the authority determination module 320 will output an error message in step S1090.
Therefore, the authentication of the mobile device identifier and the apparatus identifier performed by the server 10, the encryption and decryption of data transmitted between the server 10 and the apparatus 30 using public keys and private keys, and the updating of public keys and private keys may more ensure the correction and safety during the entire process.
In an embodiment, the disclosure also provides a non-transitory computer readable storage media in which a program is stored. The program is executed by the mobile device 20 to carry out the apparatus management method.
As set forth above, at the schedule reservation stage, the server provides a user with multiple selectable schedules in the indicated project conforming to one or more reservation conditions for selection, and updates the reservation record corresponding to the related preset apparatus. Therefore, at the schedule execution stage, the communication of encrypted messages among the mobile device, the apparatus and the server decides whether to start the apparatus, so as to adaptively authorize at least one preset apparatus corresponding to the selectable schedule that is indicated.
Number | Date | Country | Kind |
---|---|---|---|
104137205 | Nov 2015 | TW | national |