Application management method and device
By sending and receiving application management commands between wearable devices and control devices, and adjusting the application state based on the command response information, the problem of application state asynchrony is solved, ensuring synchronization and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-03-31
AI Technical Summary
There is a problem of asynchronous application state synchronization between wearable devices and control devices, which leads to conflicts in installation/uninstallation operations.
The control device sends application management commands to the wearable device and receives command response information. Based on the command response information, the state of the target application is adjusted to ensure that the application state on the wearable device and the control device is synchronized.
It enables the synchronization of application states on wearable devices and control devices, avoiding inconsistencies in application states and improving the accuracy and consistency of application management.
Smart Images

Figure CN121764508A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wearable device technology, and in particular to an application management method and apparatus. Background Technology
[0002] With the rise of wearable devices, the product forms of smart wearable devices have expanded from bracelets and watches to headphones, glasses, rings, and other forms. New supply creates new demand, changes consumers' lifestyles, and promotes the deep integration of health management, fashion consumption, and technological innovation.
[0003] Currently, users can manage wearable devices through control devices (such as mobile phones and tablets). In this case, problems such as inconsistent application list status and conflicting installation / uninstallation operations can easily occur (e.g., if an application is uninstalled on the wearable device, the control device still shows it as installed), which urgently needs to be resolved. Summary of the Invention
[0004] Therefore, it is necessary to provide an application management method and apparatus to address the aforementioned technical problems, enabling the application state of the target application to be synchronized on wearable devices and control devices.
[0005] Firstly, this application provides an application management method applied to a control device corresponding to a wearable device, comprising:
[0006] Send application management commands for the target application to the wearable device, so that the wearable device can manage the target application based on the application management commands;
[0007] Receive command response information; the command response information is generated by the wearable device in response to application management commands;
[0008] Manage the target application.
[0009] In one embodiment, the instruction response information includes instruction reception information and / or instruction completion information; managing the target application includes:
[0010] Based on the received instruction information, determine whether to perform the first adjustment to the application state of the target application;
[0011] After the first adjustment is made, the target adjustment method is determined based on the instruction completion information;
[0012] The application status of the target application is adjusted a second time based on the target adjustment method.
[0013] In one embodiment, the instruction receiving information includes first instruction receiving information and second instruction receiving information; the first instruction receiving information indicates that the application management instruction was successfully received; the second instruction receiving information indicates that the application management instruction was not successfully received.
[0014] Based on the received instruction information, determine whether to perform the first adjustment to the application state of the target application, including:
[0015] When the instruction received information is the first instruction received information, it is determined that the application state of the target application will be adjusted for the first time.
[0016] When the instruction received information is the second instruction received information, it is determined not to make the first adjustment to the application state of the target application.
[0017] In one embodiment, the instruction completion information includes first instruction completion information and second instruction completion information; the first instruction completion information indicates a successful response to the application management instruction; the second instruction completion information indicates a failed response to the application management instruction.
[0018] Based on the instruction completion information, determine the target adjustment method, including:
[0019] When the instruction completion information is the first instruction completion information, the first adjustment method is determined as the target adjustment method;
[0020] When the instruction completion information is the second instruction completion information, the second adjustment method is determined as the target adjustment method.
[0021] In one embodiment, the second adjustment method is to roll back the application state of the target application.
[0022] In one embodiment, receiving instruction response information includes:
[0023] Receive command response information sent by the cloud server; the command response information is sent from the wearable device to the cloud server.
[0024] In one embodiment, determining the target adjustment method based on the instruction completion information includes:
[0025] Query the cloud server for the application status of the target application;
[0026] Based on the instruction completion information and application status, determine the target adjustment method.
[0027] In one embodiment, the application management instructions include at least one of the following: application download instructions, application update instructions, and application deletion instructions.
[0028] Secondly, this application provides an application management method for wearable devices, comprising:
[0029] Receive application management commands sent by the control device;
[0030] Responding to application management commands, manage the target application;
[0031] Send instruction response information to the control device for application management instructions, so that the control device can manage the target application.
[0032] Thirdly, this application also provides an application management device, comprising:
[0033] The instruction sending module is used to send application management instructions for the target application to the wearable device, so that the wearable device can manage the target application based on the application management instructions;
[0034] The information receiving module is used to receive command response information; the command response information is generated by the wearable device in response to application management commands.
[0035] The first application management module is used to manage the target application.
[0036] Fourthly, this application also provides an application management device, comprising:
[0037] The instruction receiving module is used to receive application management instructions sent by the control device;
[0038] The second application management module is used to manage the target application in response to application management commands;
[0039] The information sending module is used to send instruction response information to the control device in response to application management instructions, so that the control device can manage the target application.
[0040] Fifthly, this application also provides a computer device, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to perform the following steps:
[0041] Send application management commands for the target application to the wearable device, so that the wearable device can manage the target application based on the application management commands;
[0042] Receive command response information; the command response information is generated by the wearable device in response to application management commands;
[0043] Manage the target application.
[0044] Sixthly, this application also provides a wearable device, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to perform the following steps:
[0045] Receive application management commands sent by the control device;
[0046] Responding to application management commands, manage the target application;
[0047] Send instruction response information to the control device for application management instructions, so that the control device can manage the target application.
[0048] In a seventh aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0049] Send application management commands for the target application to the wearable device, so that the wearable device can manage the target application based on the application management commands;
[0050] Receive command response information; the command response information is generated by the wearable device in response to application management commands;
[0051] Manage the target application.
[0052] Eighthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0053] Receive application management commands sent by the control device;
[0054] Responding to application management commands, manage the target application;
[0055] Send instruction response information to the control device for application management instructions, so that the control device can manage the target application.
[0056] Ninthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0057] Send application management commands for the target application to the wearable device, so that the wearable device can manage the target application based on the application management commands;
[0058] Receive command response information; the command response information is generated by the wearable device in response to application management commands;
[0059] Manage the target application.
[0060] In a tenth aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0061] Receive application management commands sent by the control device;
[0062] Responding to application management commands, manage the target application;
[0063] Send instruction response information to the control device for application management instructions, so that the control device can manage the target application.
[0064] The aforementioned application management method and apparatus send application management instructions for a target application to a wearable device via a control device, enabling the wearable device to manage the target application based on these instructions; receive instruction response information (generated by the wearable device in response to the application management instructions); and manage the target application. In conventional technologies, adjusting the application state of the target application immediately after the application management instruction is issued can easily lead to inconsistencies in the application state of the target application on the wearable device and the control device if the wearable device's response to the application management instruction is untimely or unresponsive. In this embodiment, the adjustment of the target application's application state is based on the wearable device's instruction response information to the application management instruction, rather than the issuance of the application management instruction. Compared to conventional technologies, this process ensures synchronization of the target application's application state on both the wearable device and the control device. Attached Figure Description
[0065] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0066] Figure 1 This is an application environment diagram of the management method used in one embodiment;
[0067] Figure 2 This is a flowchart illustrating the application of a management method in one embodiment;
[0068] Figure 3 This is a flowchart illustrating the application management steps in one embodiment;
[0069] Figure 4 This is a flowchart illustrating the application of the management method in another embodiment;
[0070] Figure 5 This is a timing diagram of the application of the management method in one embodiment;
[0071] Figure 6 This is a structural block diagram of the application management device in one embodiment;
[0072] Figure 7 This is a structural block diagram of the application management device in another embodiment;
[0073] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0074] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0075] The application management method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the control device 102 communicates with the wearable device 104 via a network. Specifically, the control device 102 sends application management instructions for the target application to the wearable device 104, enabling the wearable device 104 to manage the target application based on the application management instructions; the control device 102 receives instruction response information; the instruction response information is generated by the wearable device 104 in response to the application management instructions; and the control device 102 manages the target application. The wearable device 104 can be a smartwatch, smart bracelet, head-mounted device, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.
[0076] In one exemplary embodiment, such as Figure 2 As shown, an application management method is provided, which is applied to... Figure 1 Taking the control device 102 as an example, the following steps are included:
[0077] S210, Send application management instructions for the target application to the wearable device so that the wearable device can manage the target application based on the application management instructions.
[0078] The target application can be an application that has been downloaded and installed on the wearable device, or an application that has not been downloaded and installed on the wearable device.
[0079] In some embodiments, to facilitate user management of wearable device applications, a list of available applications for the wearable device can be displayed on the control device corresponding to the wearable device. Each application in the list is associated with an optional control for the user to mark whether the application is needed.
[0080] Furthermore, in response to the user's application selection, a user-preferred application set can be generated. This set includes only applications marked as needed by the user, excluding those not marked. The user-preferred application set is stored on a cloud server associated with the user's account, enabling data synchronization across multiple control devices. Based on this set, applications on wearable devices can be managed; for applications in the set but not installed on the wearable device, download and installation controls are provided; for applications already installed, running, upgrading, or uninstalling controls are provided. Therefore, the target application can be any application in the user-preferred application set.
[0081] The application management command is used to instruct the wearable device to perform corresponding management for the target application. The application management command may carry information such as the target application's application identifier and management instructions for the target application. Optionally, the application management command may include at least one of the following: application download command, application update command, and application deletion command.
[0082] In one optional implementation, the application management instruction is an application download instruction; correspondingly, in response to the application download operation, an application download instruction for the target application is sent to the wearable device, so that the wearable device downloads the target application based on the application download instruction. The application download operation can be a user-triggered operation on a download control associated with the target application, such as a click operation.
[0083] In another alternative implementation, the application management instruction is an application update instruction; accordingly, in response to the application update operation, an application update instruction for the target application is sent to the wearable device so that the wearable device can update the target application based on the application update instruction.
[0084] Optionally, the application update operation can be a user-triggered operation on an update control associated with the target application, such as a click operation.
[0085] Optionally, the application update operation can also be automatically generated by the control device when it detects an updated version of the target application. For example, the control device can monitor the update status of the target application installed on the wearable device in real time or periodically to ensure that when an updated version is available on the wearable device, the target application installed on the wearable device is updated in a timely manner so that users can use the latest version of the application, thereby improving the user experience and increasing user stickiness.
[0086] It should be noted that if the control device periodically monitors the application status of the target application installed on the wearable device, the monitoring cycle can be pre-set based on human experience or manually set by the user based on user needs. This application does not impose any restrictions on this.
[0087] In another alternative implementation, the application management instruction is an application deletion instruction; accordingly, in response to the application deletion operation, an application deletion instruction for the target application is sent to the wearable device, so that the wearable device deletes the target application based on the application deletion instruction.
[0088] Optionally, the application deletion operation can be a user-triggered operation on a deletion control associated with the target application, such as a click operation.
[0089] Optionally, the application deletion operation can also be automatically generated by the control device when it detects that the target application has failed or gone offline.
[0090] For example, the control device can send application management commands to the wearable device via Bluetooth; the control device can also send application management commands to the wearable device via a network; the control device can also connect to a cloud server via a network and forward application management commands to the wearable device through the cloud server; this application does not limit the communication method between the control device and the wearable device.
[0091] S220, receive instruction response information.
[0092] The instruction response information is generated by the wearable device in response to application management instructions. It indicates whether the wearable device has received the application management instructions or completed the management of the target application.
[0093] In one alternative implementation, when the wearable device receives an application management command, it can immediately send a command response message back to the control device.
[0094] In one alternative implementation, when a wearable device receives an application management command, it can send a command response message to the corresponding cloud server, which then sends the command response message to the corresponding control device.
[0095] For example, when a wearable device receives an application management command from a control device, it immediately reports a "command received" status message to the cloud server. This status message may include at least one of the following: the command identifier of the application management command, the reception status of the application management command, the application identifier of the target application, and the current status of the target application. The cloud server then synchronizes this "command received" status message to the control device, which can use this "command received" status message as a command response message.
[0096] In another alternative implementation, when the wearable device completes the management of the target application in response to the application management command, it can send the command response information back to the corresponding cloud server, and the cloud server will send the command response feedback to the corresponding control device.
[0097] For example, after receiving an application management command from a control device, the wearable device manages the target application based on the command, and after completing the management, reports a "command completed" status message to the cloud server. The cloud server then synchronizes this "command completed" status message to the control device, which can use it as a command response message.
[0098] S240 manages the target application.
[0099] In one alternative implementation, the application status of the target application can be managed based on the information content of the instruction response information.
[0100] For example, reference management methods corresponding to different information content can be predetermined, and the reference management method corresponding to the information content of the instruction response information can be used as the target management method, and the application status of the target application can be managed based on the target management method.
[0101] In another alternative implementation, the response time of the wearable device can be determined based on the time of receiving the instruction response information and the time of sending the application management instruction, and the application status of the target application can be managed based on the response time.
[0102] For example, a reference management method corresponding to different response durations can be predetermined, and the reference management method corresponding to the response duration can be used as the target management method. The application status of the target application can then be managed based on the target management method.
[0103] To improve the immediacy of application management, in another optional implementation, the application status of the target application can be managed based on the information content of the instruction response information, as well as the time of receiving the instruction response information and the time of sending the application management instruction.
[0104] For example, if the reception time of the instruction response information meets the preset time limit requirement, the application status of the target application can be managed according to the information content of the instruction response information. The preset time limit requirement can be set based on human experience or determined through extensive experimentation; this application does not impose any limitations on it.
[0105] In the aforementioned application management method, the control device sends an application management command for the target application to the wearable device, enabling the wearable device to manage the target application based on the command; it receives command response information, which is generated by the wearable device in response to the application management command; and then manages the target application. In traditional technologies, the application state of the target application is adjusted immediately after the application management command is issued. However, if the wearable device's response to the application management command is untimely or unresponsive, this can easily lead to inconsistencies in the application state of the target application on the wearable device and the control device. In this embodiment, the application state of the target application is adjusted based on the wearable device's command response information to the application management command, rather than the issuance of the command itself. Compared to traditional technologies, this process ensures that the application state of the target application is synchronized on both the wearable device and the control device.
[0106] In some embodiments, the application management instruction is an application update instruction, and the application update instruction is automatically generated by the control device. In this case, the application management method provided in this application will be further described.
[0107] For example, when the target application's update status is "pending update," an application update command for the target application is sent to the wearable device to enable the wearable device to update the target application. Here, "pending update" can be understood as the existence of a new version of the target application that can be updated. For example, in this embodiment, when the target application is in the "pending update" state, the update control for the target application in the user's preferred application set on the control device displays "Update."
[0108] The application update instruction is used to instruct the wearable device to update the version of the target application in response to the application update instruction. The application update instruction may include the application identifier of the target application, so that the wearable device can identify the target application.
[0109] In one alternative implementation, the control device can immediately send an application update command for the target application to the wearable device when it detects that the update status of the target application is pending, so that the wearable device can immediately update the target application.
[0110] In another alternative implementation, the control device can immediately send an application update command for the target application to the wearable device when it detects that the update status of the target application is pending, so that the wearable device can update the target application when the next update cycle arrives.
[0111] In another alternative embodiment, if the control device detects that the target application's update status is pending update, it can send an application update command to the wearable device when the next update cycle arrives, so that the wearable device can update the target application. The update cycle can be set by the user based on their own needs, and this application does not impose any limitations on it.
[0112] In another alternative implementation, an application update command for the target application can be sent to the wearable device, and the update status of the target application can be determined to be in progress. For example, the control device determines the update status of the target application to be in progress either simultaneously with sending the application update command to the wearable device or a few seconds later.
[0113] In this context, "updating" can be understood as the target application being updated to a new version. For example, in this embodiment, when the target application is in an "updating" state, the update control for the target application in the user's preferred application set on the control device displays "updating" or "updating".
[0114] The above embodiments provide a detailed description of the application management command being an application update command, thus enriching the application scenarios of the application management method provided in this application.
[0115] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the instruction response information includes instruction reception information and / or instruction completion information; in this case, the process of managing the target application described above is refined.
[0116] See Figure 3 The application management steps shown include:
[0117] S310 receives information based on instructions and determines whether to make the first adjustment to the application state of the target application.
[0118] Among them, the instruction reception information is used to indicate whether the wearable device has successfully received the application management instruction.
[0119] In one optional implementation, a reference adjustment method corresponding to different instruction reception information can be predetermined, and this reference adjustment method can be used as the adjustment method for the first adjustment of the application state of the target application. The adjustment method includes not adjusting.
[0120] In another optional embodiment, the instruction receiving information includes first instruction receiving information and second instruction receiving information; the first instruction receiving information indicates that the application management instruction was successfully received; the second instruction receiving information indicates that the application management instruction was not successfully received; when the instruction receiving information is the first instruction receiving information, it is determined that the application state of the target application will be adjusted for the first time; when the instruction receiving information is the second instruction receiving information, it is determined that the application state of the target application will not be adjusted for the first time.
[0121] To improve the timeliness of application management, in one optional implementation, the control device can start timing when sending application management instructions to the wearable device, and determine whether to make the first adjustment to the application status of the target application based on the reception status of instruction reception information within a first preset time period.
[0122] For example, while the control device sends an application management command to the wearable device, it can start a timer and preset the time limit to a first preset duration. When the timer reaches the first preset duration, it checks whether a command receiving information has been received. If a command receiving information has been received, it determines the type of the received information and, based on the type of the command receiving information, determines whether to make the first adjustment to the application state of the target application.
[0123] The first preset duration can be determined based on human experience or set based on user needs. This application does not impose any limitations on this. For example, the first preset duration can be 30 seconds or 1 minute.
[0124] For example, if a first instruction receiving information is received within a first preset time period, the application status of the target application is updated from the pending management status to the management status; if a second instruction receiving information is received within the first preset time period, or if no instruction receiving information is received within the first preset time period, the pending management status of the target application is maintained.
[0125] In this embodiment, the application status of the target application is determined to be in a managed state only after receiving the instruction reception information indicating that the application management instruction has been successfully received. Compared with the traditional method of updating the application status as soon as the application management instruction is issued, the application status of the target application can be more accurate.
[0126] After the first adjustment, S320 determines the target adjustment method based on the instruction completion information.
[0127] The instruction completion information indicates whether the wearable device successfully responded to the application management instruction. The target adjustment method is used to perform a second adjustment to the application state of the target application.
[0128] In one alternative implementation, a reference adjustment method corresponding to different instruction completion information can be predetermined, and the reference adjustment method corresponding to the instruction completion information can be used as the target adjustment method.
[0129] In another optional implementation, the instruction completion information includes first instruction completion information and second instruction completion information; the first instruction completion information indicates a successful response to the application management instruction; the second instruction completion information indicates a failed response to the application management instruction; when the instruction completion information is the first instruction completion information, the first adjustment method is determined as the target adjustment method; when the instruction completion information is the second instruction completion information, the second adjustment method is determined as the target adjustment method.
[0130] The first adjustment method can change the target application from the "under management" state to the "management completed" state; the second adjustment method is to revert the application status of the target application, that is, to change the target application from the "under management" state to the "pending management" state.
[0131] To improve the timeliness of application management, in one optional implementation, the control device can start timing upon receiving the first instruction reception information, and determine the target adjustment method based on the completion of instruction information reception within a second preset time period. The second preset time period can be determined based on human experience or through extensive experimentation; this application does not impose any limitations on it.
[0132] For example, if the first instruction completion information is received within the second preset time period, the first adjustment method is determined to be the target adjustment method; if the second instruction completion information is received within the second preset time period, or if no instruction completion information is received within the second preset time period, the second adjustment method is determined to be the target adjustment method.
[0133] It is worth noting that when the control device and the wearable device communicate via a cloud server, the instruction completion information may be lost or erroneous during network transmission. For example, the application identifier carried in the instruction completion information may not be the application identifier of the target application. Therefore, to improve the accuracy of the target adjustment method, in some embodiments, the control device can query the cloud server for the application status of the target application; based on the instruction completion information and the application status, the target adjustment method is determined.
[0134] It is understood that cloud servers record the accurate application status of each application. Therefore, the accuracy of the instruction completion information can be verified based on the application status of the target application fed back by the cloud server. For example, if the instruction completion information is the first instruction completion information and the queried application status of the target application is the management completion status, then the target adjustment method is determined to be the first adjustment method; if the instruction completion information is the first instruction completion information, but the queried application status of the target application is the management status, then the target adjustment method is determined to be the second adjustment method.
[0135] For example, each time the control device acquires or refreshes the user's preferred application set, it queries the cloud server for the status information of all applications in the set. The control device checks whether there are any applications in the user's preferred application set whose status is "instruction received" but has not changed to "execution successful" or "execution failed". If so, the control device checks whether the difference between the latest update timestamp of its status on the cloud server and the current time exceeds a second preset time. If it exceeds the second preset time, the control device determines that the application update instruction may have been "dead" or lost on the wearable device and determines that the application status of the corresponding application is in a state to be managed.
[0136] S330, based on the target adjustment method, performs a second adjustment to the application state of the target application.
[0137] In one optional implementation, when the target adjustment method is the first adjustment method, the application status of the target application is adjusted from the management state to the management completed state; when the target adjustment method is the second adjustment method, the application status of the target application is reverted from the management state to the pending management state.
[0138] In another alternative implementation, when the target adjustment method is the second adjustment method, the control device can send a management withdrawal command to the wearable device so that the wearable device stops managing the target application in response to the management withdrawal command.
[0139] Among them, the management withdrawal instruction is used to require the wearable device to revoke the application management instruction and restore the application state of the target application to the state before the instruction was executed.
[0140] In another alternative implementation, when the target adjustment method is the second adjustment method, the control device can also resend the application management command so that the wearable device can re-manage the application status of the target application.
[0141] In the above embodiments, when the wearable device successfully receives the application management command, it continues to adjust the application state of the target application based on the command completion information, making the application state of the target application more accurate and ensuring that the application state of the target application on the wearable device and the control device remains synchronized. Furthermore, if the wearable device successfully receives the application management command but fails to respond, the management state of the target application is adjusted to a pending management state, which can prevent the target application from remaining in a management state for an extended period and becoming inoperable.
[0142] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, an application management method is provided, which is applied to... Figure 1 The wearable device 104 in the example will be used for illustration.
[0143] See Figure 4 The application management method shown includes the following steps:
[0144] S410 receives application management commands sent by the control device.
[0145] Optionally, the application management command is automatically sent by the control device when it detects that the application status of the target application installed on the wearable device is in a state of pending management; the application management command may also be generated by the user through the triggering operation of the management control of the target application, and this application does not limit it in any way.
[0146] It should be noted that the timing and method of sending application management commands have been described in the above embodiments and will not be repeated here.
[0147] S420 manages target applications in response to application management commands.
[0148] Specifically, when a wearable device receives an application management command, it identifies and parses the command to determine the application identifier carried in the command, thereby identifying the target application; it then determines the management instructions of the command and manages the application status of the target application according to those instructions.
[0149] S430 sends instruction response information to the control device for application management instructions, so that the control device can manage the target application.
[0150] In one alternative implementation, upon receiving an application management command, the wearable device immediately sends command reception information back to the control device. For example, the wearable device may send command reception information to a cloud server, which then sends the information back to the control device.
[0151] In another optional implementation, the wearable device sends a first instruction completion message to the control device upon completion of target application management, informing the control device that the target application management has been completed; if target application management fails, it sends a second instruction completion message to the control device, informing the control device that the target application update has not been completed. This allows the control device to adjust the application status of the target application on the control device based on the instruction response information.
[0152] It should be noted that the method by which the control device adjusts the application status of the target application on the control device based on the scraped response information has been described in detail in the above embodiments and will not be repeated here.
[0153] In the aforementioned application management method, the control device sends an application management command for the target application to the wearable device, enabling the wearable device to manage the target application based on the command; it receives command response information, which is generated by the wearable device in response to the application management command; and then manages the target application. In traditional technologies, the application state of the target application is adjusted immediately after the application management command is issued. However, if the wearable device's response to the application management command is untimely or unresponsive, this can easily lead to inconsistencies in the application state of the target application on the wearable device and the control device. In this embodiment, the application state of the target application is adjusted based on the wearable device's command response information to the application management command, rather than the issuance of the command itself. Compared to traditional technologies, this process ensures that the application state of the target application is synchronized on both the wearable device and the control device.
[0154] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the application management method provided by this application is described in detail in a scenario where the wearable device 104 interacts with its corresponding control device 102 through a cloud server.
[0155] See Figure 5 The sequence diagram of the application management method shown includes:
[0156] S501, the control device sends application management instructions for the target application to the cloud server;
[0157] S502: The cloud server sends application management commands to the wearable device;
[0158] S503: Wearable devices send instructions to the cloud server and receive information.
[0159] S504: The cloud server sends the instruction reception information to the control device;
[0160] S505, when the instruction received information is the first instruction received information, the control device determines to make the first adjustment to the application status of the target application and executes S510.
[0161] S506, when the instruction received information is the second instruction received information, the control device determines not to make the first adjustment to the application state of the target application;
[0162] S507, the wearable device responds to application management commands to manage the target application;
[0163] S508, the wearable device sends instructions to the cloud server to complete the process;
[0164] S509: The cloud server sends the instruction completion information to the control device.
[0165] S510, the control device sends an application status query request to the cloud server;
[0166] The application status query request is used to query the application status of the target application.
[0167] S511, the cloud server sends the application status of the target application to the control device;
[0168] S512, when the instruction completion information is the first instruction completion information and the application status of the target application is the management completion status, the control device determines the first adjustment method as the target adjustment method;
[0169] S513, when the instruction completion information is the second instruction completion information, or when the application status of the target application is in the management state, the control device determines the second adjustment method as the target adjustment method;
[0170] S514, The control device manages the application status of the target application based on the target adjustment method.
[0171] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0172] Based on the same inventive concept, this application also provides an application management device for implementing the application management method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more application management device embodiments provided below can be found in the limitations of the application management method described above, and will not be repeated here.
[0173] In one exemplary embodiment, such as Figure 6 As shown, an application management device is provided, including: a monitoring module 610, a first transmitting module 620, a first receiving module 630, and an adjustment module 640, wherein:
[0174] The instruction sending module 610 is used to send application management instructions of the target application to the wearable device, so that the wearable device can manage the target application based on the application management instructions;
[0175] The information receiving module 620 is used to receive instruction response information; the instruction response information is generated by the wearable device in response to application management instructions.
[0176] The first application management module 630 is used to manage the target application.
[0177] In one embodiment, the instruction response information includes instruction reception information and / or instruction completion information; the first application management module 630 includes a first management unit, used to determine whether to make a first adjustment to the application state of the target application based on the instruction reception information; a method determination unit, used to determine the target adjustment method based on the instruction completion information after the first adjustment; and a second management unit, used to make a second adjustment to the application state of the target application based on the target adjustment method.
[0178] In one embodiment, the instruction receiving information includes first instruction receiving information and second instruction receiving information; the first instruction receiving information indicates successful reception of the application management instruction; the second instruction receiving information indicates unsuccessful reception of the application management instruction; the first management unit includes a first management subunit, used to determine, when the instruction receiving information is the first instruction receiving information, to make a first adjustment to the application state of the target application; and a second management subunit, used to determine, when the instruction receiving information is the second instruction receiving information, not to make a first adjustment to the application state of the target application.
[0179] In one embodiment, the instruction completion information includes first instruction completion information and second instruction completion information; the first instruction completion information indicates a successful response to the application management instruction; the second instruction completion information indicates a failed response to the application management instruction; the mode determination unit includes a first determination subunit, used to determine the first adjustment mode as the target adjustment mode when the instruction completion information is the first instruction completion information; and a second determination subunit, used to determine the second adjustment mode as the target adjustment mode when the instruction completion information is the second instruction completion information.
[0180] In one embodiment, the second adjustment method is to roll back the application state of the target application.
[0181] In one embodiment, the information receiving module 620 is used to receive instruction response information sent by the cloud server; the instruction response information is sent from the wearable device to the cloud server.
[0182] In one embodiment, the method determination unit includes a status query subunit for querying the application status of the target application from the cloud server; and a method determination subunit for determining the target adjustment method based on the instruction completion information and the application status.
[0183] In one embodiment, application management instructions include at least one of application download instructions, application update instructions, and application deletion instructions.
[0184] In one embodiment, such as Figure 7 As shown, an application management device is provided, including: an instruction receiving module 710, a second application management module 720, and an information sending module 730, wherein:
[0185] The instruction receiving module 710 is used to receive application management instructions sent by the control device;
[0186] The second application management module 720 is used to manage the target application in response to application management commands;
[0187] The information sending module 730 is used to send instruction response information to the control device in response to the application management instructions, so that the control device can manage the target application.
[0188] Each module in the aforementioned application management device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0189] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements an application management method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0190] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0191] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the embodiments described above.
[0192] In one exemplary embodiment, a wearable device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the embodiments described above.
[0193] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the embodiments described above.
[0194] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0195] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0196] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0197] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An application management method, characterized in that, The method, applied to a control device for wearable devices, includes: Send application management instructions for a target application to a wearable device, so that the wearable device can manage the target application based on the application management instructions; Receive instruction response information; the instruction response information is generated by the wearable device in response to the application management instruction; Manage the target application.
2. The method according to claim 1, characterized in that, The instruction response information includes instruction reception information and / or instruction completion information; the management of the target application includes: Based on the received instruction information, determine whether to perform the first adjustment to the application state of the target application; After the first adjustment is performed, the target adjustment method is determined based on the instruction completion information. The application status of the target application is adjusted a second time based on the target adjustment method.
3. The method according to claim 2, characterized in that, The instruction reception information includes first instruction reception information and second instruction reception information; the first instruction reception information indicates that the application management instruction was successfully received; the second instruction reception information indicates that the application management instruction was not successfully received. The step of receiving information according to the instruction and determining whether to perform a first adjustment to the application state of the target application includes: When the instruction receiving information is the first instruction receiving information, it is determined that the application state of the target application will be adjusted for the first time. When the instruction receiving information is the second instruction receiving information, it is determined that the application state of the target application will not be adjusted for the first time.
4. The method according to claim 2, characterized in that, The instruction completion information includes first instruction completion information and second instruction completion information; the first instruction completion information indicates that the response to the application management instruction was successful; the second instruction completion information indicates that the response to the application management instruction failed. The step of determining the target adjustment method based on the instruction completion information includes: When the instruction completion information is the same as the first instruction completion information, the first adjustment method is determined to be the target adjustment method. When the instruction completion information is the second instruction completion information, the second adjustment method is determined to be the target adjustment method.
5. The method according to claim 4, characterized in that, The second adjustment method is to revert the application state of the target application.
6. The method according to any one of claims 1-5, characterized in that, The received instruction response information includes: Receive instruction response information sent by the cloud server; the instruction response information is sent by the wearable device to the cloud server.
7. The method according to claim 6, characterized in that, The step of determining the target adjustment method based on the instruction completion information includes: Query the application status of the target application from the cloud server; The target adjustment method is determined based on the instruction completion information and the application status.
8. The method according to any one of claims 1-5, characterized in that, The application management commands include at least one of the following: application download commands, application update commands, and application deletion commands.
9. An application management method, characterized in that, Applied to wearable devices, the method includes: Receive application management commands sent by the control device; In response to the application management command, manage the target application; Send instruction response information to the control device in response to the application management instruction, so that the control device can manage the target application.
10. An application management device, characterized in that, The control device configured for wearable devices includes: The instruction sending module is used to send application management instructions of the target application to the wearable device, so that the wearable device can manage the target application based on the application management instructions; The information receiving module is used to receive instruction response information; the instruction response information is generated by the wearable device in response to the application management instruction. The first application management module is used to manage the target application.