Cloud application updating method and device, system, electronic equipment and computer medium

By receiving and sending the operation sequences and results of cloud phones, the automatic updates of cloud gaming applications are achieved, solving the problem of long hot update times for cloud games and improving update efficiency and user experience.

CN113946357BActive Publication Date: 2025-12-19BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111215720.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2025-12-19
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

Frequent hot updates in cloud gaming cause users to wait a long time to download update packages, affecting the user experience.

Method used

By receiving the operation sequence and results sent by the cloud phone, and configuring the information, the update operation sequence is automatically sent to the cloud phone to be updated, thereby realizing the automatic update of the application to be updated.

Benefits of technology

It improves the update efficiency of applications waiting to be updated on cloud phones, enhances the user experience, and provides reliable update result assurance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113946357B_ABST
    Figure CN113946357B_ABST
Patent Text Reader

Abstract

The present disclosure provides a cloud application updating method and device, relates to the technical field of cloud computing, and can be applied to a cloud game scenario. The specific implementation scheme is as follows: receiving a first operation sequence and an operation result of the first operation sequence sent by a first cloud mobile phone, the first operation sequence being obtained by the first cloud mobile phone performing an updating operation on an application to be updated on the first cloud mobile phone; receiving updating operation configuration information for configuring a cloud mobile phone to be updated, the cloud mobile phone to be updated being a cloud mobile phone in which the application to be updated is installed; sending the first operation sequence to the cloud mobile phone to be updated based on the updating configuration information; receiving an execution result of the cloud mobile phone to be updated performing the first operation sequence on the application to be updated; and determining an updating result of the application to be updated on the cloud mobile phone to be updated based on the execution result and the operation result of the first operation sequence. The present disclosure improves the efficiency of cloud application updating.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular to the technical field of cloud computing, and more particularly to a cloud application updating method and device, system, electronic device, computer readable medium and computer program product. BACKGROUND

[0002] In the cloud game scenario, the cloud game is installed in the cloud phone, and when the user plays the cloud game, the cloud phone is connected to perform picture streaming, so that various cloud games can be played without installing the local phone. SUMMARY

[0003] A cloud application updating method and device, system, electronic device, computer readable medium and computer program product are provided.

[0004] According to a first aspect, a cloud application updating method is provided, which comprises: receiving a first operation sequence and an operation result of the first operation sequence sent by a first cloud phone, the first operation sequence being obtained by the first cloud phone performing an updating operation on a to-be-updated application thereon; receiving updating operation configuration information for configuring a to-be-updated cloud phone, the to-be-updated cloud phone being a cloud phone installed with the to-be-updated application; sending the first operation sequence to the to-be-updated cloud phone based on the updating configuration information; receiving an execution result of the to-be-updated cloud phone performing the first operation sequence on the to-be-updated application thereon; and determining an updating result of the to-be-updated application on the to-be-updated cloud phone based on the execution result and the operation result of the first operation sequence.

[0005] According to a second aspect, a cloud application updating method is further provided, which comprises: selecting a to-be-updated application; performing an updating operation on the to-be-updated application in response to determining that the to-be-updated application is idle; recording each updating operation and an operation result obtained by each updating operation in sequence to obtain a first operation sequence and an operation result of the first operation sequence; and sending the first operation sequence and the operation result of the first operation sequence to a cloud server.

[0006] According to a third aspect, a cloud application updating method is further provided, which comprises: receiving an updating trigger instruction sent by a cloud server, the updating trigger instruction being used to instruct to perform an updating operation on a to-be-updated application; performing an updating operation on the to-be-updated application in response to determining that the to-be-updated application is idle; recording each updating operation and an operation result obtained by each updating operation in sequence to obtain a second operation sequence and an operation result of the second operation sequence; and sending the second operation sequence and the operation result of the second operation sequence to the cloud server.

[0007] According to a fourth aspect, a cloud application updating apparatus is provided, the apparatus comprising: an initial receiving unit configured to receive a first operation sequence sent by a first cloud phone and an operation result of the first operation sequence, the first operation sequence being obtained by the first cloud phone performing an updating operation on an application to be updated on the first cloud phone; an initial configuring unit configured to receive updating operation configuration information for configuring a cloud phone to be updated, the cloud phone to be updated being a cloud phone on which the application to be updated is installed; an initial sending unit configured to send the first operation sequence to the cloud phone to be updated based on the updating configuration information; an initial executing unit configured to receive an execution result of the cloud phone to be updated performing the first operation sequence on the application to be updated; and an initial checking unit configured to determine an updating result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence.

[0008] According to a fifth aspect, a cloud application updating system is provided, the apparatus comprising: a first cloud phone and a cloud server; the first cloud phone being configured to select an application to be updated; perform an updating operation on the application to be updated in response to determining that the application to be updated is idle; record each updating operation and an operation result of each updating operation in sequence to obtain a first operation sequence and an operation result of the first operation sequence; and send the first operation sequence and the operation result of the first operation sequence to the cloud server; and the cloud server being configured to update the application to be updated on a cloud phone to be updated based on the first operation sequence and the operation result of the first operation sequence.

[0009] According to a sixth aspect, an electronic device is provided, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any implementation of the first aspect or the second aspect or the third aspect.

[0010] According to a seventh aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, the computer instructions being used to cause a computer to perform the method described in any implementation of the first aspect or the second aspect or the third aspect.

[0011] According to an eighth aspect, a computer program product is provided, the computer program product comprising a computer program, the computer program being used to implement the method described in any implementation of the first aspect or the second aspect or the third aspect when executed by a processor.

[0012] The cloud application updating method and device provided by the embodiments of the present disclosure first receives a first operation sequence and an operation result of the first operation sequence sent by a first cloud phone, the first operation sequence being obtained by the first cloud phone performing an updating operation on an application to be updated on the first cloud phone; secondly, receives updating operation configuration information for configuring a cloud phone to be updated, the cloud phone to be updated being a cloud phone in which the application to be updated is installed; thirdly, sends the first operation sequence to the cloud phone to be updated based on the updating configuration information; fourthly, receives an execution result of the cloud phone to be updated performing the first operation sequence on the application to be updated; and finally, determines an updating result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence. In this way, the first operation sequence of the first cloud phone performing the updating operation on the application to be updated is received, and the first operation sequence is sent to the cloud phone to be updated obtained by configuration, so that the cloud phone to be updated can perform an operation corresponding to the first operation sequence on the application to be updated based on the first operation sequence, thereby automatically completing the updating of the application to be updated on the cloud phone to be updated, improving the updating efficiency of the application to be updated on the cloud phone, and improving the user experience. Moreover, based on the execution result of the cloud phone to be updated and the operation result of the first operation sequence, the updating result of the application to be updated on the cloud phone to be updated can be effectively determined, thereby providing reliable guarantee for the updating of the application to be updated on the cloud phone to be updated.

[0013] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0014] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:

[0015] Figure 1 is a flowchart of one embodiment of the cloud application updating method according to the present disclosure;

[0016] Figure 2 is a flowchart of another embodiment of the cloud application updating method according to the present disclosure;

[0017] Figure 3 is a flowchart of a third embodiment of the cloud application updating method according to the present disclosure;

[0018] Figure 4 is a structural schematic diagram of one embodiment of the cloud application updating device according to the present disclosure;

[0019] Figure 5 is a structural schematic diagram of one embodiment of the cloud application updating system according to the present disclosure;

[0020] Figure 6is a block diagram of an electronic device for implementing a cloud application updating method according to an embodiment of the disclosure. DETAILED DESCRIPTION

[0021] Exemplary embodiments of the disclosure are described herein with reference to the accompanying drawings, which are included to provide a thorough understanding of embodiments of the disclosure by a person of ordinary skill in the art, and should not be construed as limiting the scope of the disclosure. It will be understood that those of ordinary skill in the art will be able to devise various arrangements that, although perhaps not explicitly described or shown herein, embody the principles of the disclosure and, as such, within the scope of the disclosure. Furthermore, in the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. It will be obvious, however, to those of ordinary skill in the art that embodiments of the present disclosure can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring the description of the present disclosure.

[0022] The inventors have found that, due to frequent hot updates of cloud games, a hot update often requires downloading an update package of hundreds of megabytes, resulting in that, after a user connects to a cloud game and opens a cloud game interface, the user needs to perform a long hot update process, which seriously affects the user's cloud application experience. In view of this, the present disclosure provides a cloud application updating method and device, system, electronic device, computer readable medium and computer program product to solve the above problems.

[0023] Figure 1 Flow 100 according to one embodiment of the cloud application updating method of the present disclosure is shown, and the cloud application updating method comprises the following steps:

[0024] Step 101, receiving a first operation sequence sent by a first cloud phone and an operation result of the first operation sequence.

[0025] The first operation sequence is obtained by the first cloud phone performing an update operation on the to-be-updated application installed thereon.

[0026] In this embodiment, the execution subject on which the cloud application updating method runs can be a cloud server, which can control multiple cloud phones and receive information sent by each cloud phone.

[0027] In this embodiment, the first cloud phone is a cloud phone installed with a to-be-updated application, which can perform an update operation on the to-be-updated application by operating a preset hot update button of the to-be-updated application when the to-be-updated application installed thereon is idle (not used by a user), so that the to-be-updated application completes the update.

[0028] In this embodiment, the first operation sequence is at least one operation for updating the to-be-updated application, which can include a click object operation, a screenshot operation, an end update operation, etc. These operations can be continuous operations without time intervals, or intermittent operations with multiple same or different time intervals. The object can be a button, text, picture, etc.

[0029] In this embodiment, different operations correspond to different operation contents, for example, the click object operation includes: click object information (object identification, name), click coordinates, click object time; the screenshot operation includes: the region of the intercepted image, the screenshot mark, etc. The screenshot mark can be used to identify which step the current screenshot belongs to during subsequent screenshot checking. The index of the first operation sequence can be used as the screenshot mark, for example, the screenshot mark tag3 indicates that this screenshot is the third in the first operation sequence.

[0030] In this embodiment, the operation result of the first operation sequence is the result obtained after each operation in the first operation sequence is performed. The operation result can be a click completion, an intercepted image, etc. It should be noted that the operation result of the first operation sequence can be a series of operation results corresponding to each operation in the first operation sequence, for example, multiple screenshots corresponding to multiple screenshot operations; the first operation sequence can also be one operation result, for example, a screenshot before the end update operation.

[0031] In some optional implementations of this embodiment, the first operation sequence includes: a click object operation, a screenshot operation, an end update operation, and an interval time between any two adjacent operations; the operation result of the first operation sequence includes: a position corresponding to the click object operation, a screenshot corresponding to the screenshot operation, and a mark of each screenshot.

[0032] In this optional implementation, optional operations of the first operation sequence are listed, providing multiple optional ways for the update operation of the application to be updated, and ensuring the diversity of the first operation sequence.

[0033] Optionally, the first cloud phone can also prompt the user to operate the preset hot update button through the operation interface, so that the user completes the update of the application to be updated on the basis of step-by-step prompting. During the update of the application to be updated by the user, the first cloud phone records the operations of the user on the application to be updated and the operation results of each operation in real time, and obtains the first operation sequence and the operation result of the first operation sequence.

[0034] In one example, the first cloud phone can also display the first operation sequence in real time through the display screen during the update operation of the application to be updated, so as to facilitate the operator to view each operation in the first operation sequence in real time. It should be noted that the key-value pair string corresponding to the first operation sequence can be saved, so that the next hot update of the application to be updated can be directly initiated without configuration.

[0035] Step 102, receiving update operation configuration information for configuring the cloud phone to be updated.

[0036] Among them, the cloud phone to be updated is a cloud phone installed with an application to be updated.

[0037] In this embodiment, the update operation configuration information is configuration information for configuring the to-be-replaced cloud phone, and the configuration information includes the name, identifier, device number, quantity, and the like of the to-be-replaced cloud phone. Further, the configuration information can further include the maximum number of to-be-replaced cloud phones that execute the first operation sequence each time. The to-be-replaced cloud phone can have the same running environment as the first cloud phone, and the to-be-replaced cloud phone also has the to-be-updated application installed thereon. The update of the to-be-updated application on the to-be-replaced cloud phone can be realized by updating the update operation configuration information.

[0038] After the execution subject on which the cloud application update method runs receives the first operation sequence of the first cloud phone, a dialog box can be popped up in real time to prompt an operator whether to perform a hot update task. In response to the operator's feedback of performing the hot update task, a configuration interface of a hot update operation configuration that can be performed on the to-be-replaced cloud phone is displayed. A text input box that is convenient for the operator to input or an option corresponding to the cloud phone name of the to-be-updated application is set on the configuration interface. The update operation configuration information can be determined by the operator inputting in the text input box or selecting the option.

[0039] In step 103, the first operation sequence is sent to the to-be-replaced cloud phone based on the update configuration information.

[0040] In this embodiment, after receiving the first operation sequence of the first cloud phone, the execution subject on which the cloud application updating method runs can map the first operation sequence into a key-value pair form, and send the first operation sequence in the key-value pair form to the cloud phone to be updated based on the update configuration information. For example, the first operation sequence identified in the key-value pair form is as follows: ["operation":"click","time":7,"position":790,411], ["operation":"capture","time":33,"tag":3], ["operation":"capture","time":46,"tag":"before-close"], ["operation":"close","time":3]. In the first operation sequence, each element in the key-value pair string represents an action, operation represents an operation, such as click, capture, and close, time represents the interval time of the action from the previous action, position is valid only when operation is click, and represents the coordinates of the click; tag is a screenshot tag, and is valid only when operation is capture. There will be a special screenshot before close, and the tag is before-close, which means the screenshot at the end of the operation. The first action of the first operation sequence is to click the object, the object coordinates are (790, 411), and the interval from the next action is 7s. The second action is to take a screenshot, the screenshot tag is 3, and the interval from the next action is 3s. The third action is to take a screenshot, which is the end-of-operation screenshot, and the interval from the next action is 46s. The fourth action is to end the update operation, and the interval from the next action is 3s.

[0041] In this embodiment, after receiving the first operation sequence in the key-value pair form sent by the execution subject on which the cloud application updating method runs, the cloud phone to be updated operates the application to be updated thereon according to the first operation sequence in the key-value pair form, so as to realize the automatic updating of the application to be updated on the cloud phone to be updated.

[0042] Optionally, the first operation sequence can also be improved based on the received update operation configuration information, and the improved first operation sequence is sent to the cloud phone to be updated. Specifically, improving the first operation sequence based on the update configuration information can include automatically configuring the action order of the first operation sequence or changing different operations in the first operation sequence, such as changing the click position, waiting time, etc.

[0043] Step 104, receiving the execution result of the first operation sequence performed by the cloud phone to be updated on the application to be updated thereon.

[0044] In this embodiment, the cloud phones to be updated can include a plurality of cloud phones, each of which obtains a respective execution result after performing the first operation sequence on the application to be updated installed thereon, and feeds back the execution result to the execution subject on which the cloud application update method runs. It should be noted that the execution result fed back by each cloud phone to the execution subject can be the same as the operation result of the first operation sequence, or can be different from the operation result of the first operation sequence.

[0045] In this embodiment, the operation result of the first operation sequence can include: an operation end screenshot, which is a screenshot of the application to be updated on the first cloud phone after completion of the last operation of the first operation sequence, and is also a screenshot before the update operation ends; correspondingly, the execution result of the first operation sequence performed by the application to be updated on the cloud phone to be updated can include: an update end screenshot, which is a screenshot of the application to be updated on the cloud phone to be updated after the last operation of the first operation sequence performed by the cloud phone to be updated, and is also a screenshot before the first operation sequence ends.

[0046] Optionally, the operation result of the first operation sequence can also include: an operation process screenshot, which is a screenshot of the application to be updated on the first cloud phone after completion of each operation of the first operation sequence, such as the screenshot result corresponding to the second action in the above example; correspondingly, the execution result can also include: an update process screenshot, which is a screenshot of the application to be updated on the cloud phone to be updated after each operation of the first operation sequence performed by the cloud phone to be updated.

[0047] Step 105, determining an update result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence.

[0048] In this embodiment, the update result of the application to be updated on the cloud phone to be updated can include: update success, the cloud phone to be updated is different from the first cloud phone that sends the first operation sequence, when each cloud phone in the cloud phone to be updated performs the first operation sequence on the respective application to be updated, the operation result can be the same as the operation result of the first operation sequence, or can be different from the operation result of the first operation sequence, when the operation result of any cloud phone in the cloud phone to be updated is the same as the operation result of the first operation sequence, it can be determined that the application to be updated on the cloud phone is updated successfully.

[0049] In this embodiment, the update result of the to-be-updated application on the to-be-changed cloud phone can further include: an update failure. When the operation result of any cloud phone in the to-be-changed cloud phone is different from the operation result of the first operation sequence, it can be determined that the to-be-updated application on the cloud phone fails to update. The execution result fed back by the cloud phone can be used to determine the step of the update failure of the cloud phone, thereby providing support for the improvement of the update process of the to-be-updated application of the cloud phone.

[0050] In some optional implementations of this embodiment, the execution result includes an update end screenshot, and the operation result of the first operation sequence includes an operation end screenshot. The update result of the to-be-updated application on the to-be-changed cloud phone is determined based on the execution result and the operation result of the first operation sequence, including: for each cloud phone in the to-be-changed cloud phone, performing a similarity comparison between the update end screenshot of the cloud phone and the operation end screenshot; and in response to determining that the similarity between the update end screenshot of the cloud phone and the operation end screenshot is greater than a similarity threshold, determining that the to-be-updated application on the cloud phone is successfully updated.

[0051] In this optional implementation, a similarity algorithm can be used to perform the similarity comparison, and the similarity threshold can be adaptively set based on the similarity accuracy, for example, the similarity threshold is 90%.

[0052] In this optional implementation, the update end screenshot of each cloud phone in the to-be-changed cloud phone is compared with the operation end screenshot to determine the update result of the to-be-updated application on the to-be-changed cloud phone, which implements the update result and ensures the operability of the cloud application update.

[0053] Optionally, the execution result includes an update process screenshot and an update end screenshot, and the operation result of the first operation sequence includes an operation process screenshot and an operation end screenshot. The update result of the to-be-updated application on the to-be-changed cloud phone is determined based on the execution result and the operation result of the first operation sequence, including: for each cloud phone in the to-be-changed cloud phone, performing a similarity comparison between the update process screenshot of the cloud phone and the operation process screenshot; in response to determining that the similarity between the update process screenshot of the cloud phone and the operation process screenshot is greater than a similarity threshold, performing a similarity comparison between the update end screenshot of the cloud phone and the operation end screenshot; and in response to determining that the similarity between the update end screenshot of the cloud phone and the operation end screenshot is greater than the similarity threshold, determining that the to-be-updated application on the cloud phone is successfully updated.

[0054] The cloud application updating method provided by the embodiment, the cloud application updating method and device provided by the disclosed embodiment, first, the first operation sequence sent by the first cloud mobile phone and the operation result of the first operation sequence are received, the first operation sequence is obtained by the first cloud mobile phone performing an updating operation on the to-be-updated application thereon; second, the updating operation configuration information for configuring the to-be-updated cloud mobile phone is received, the to-be-updated cloud mobile phone is a cloud mobile phone in which the to-be-updated application is installed; third, the first operation sequence is sent to the to-be-updated cloud mobile phone based on the updating configuration information; fourth, the execution result of the to-be-updated cloud mobile phone performing the first operation sequence on the to-be-updated application thereon is received; and finally, the updating result of the to-be-updated application on the to-be-updated cloud mobile phone is determined based on the execution result and the operation result of the first operation sequence. In this way, the first operation sequence of the first cloud mobile phone performing the updating operation on the to-be-updated application is received, and the first operation sequence is sent to the to-be-updated cloud mobile phone obtained by configuration, so that the to-be-updated cloud mobile phone can perform an operation corresponding to the first operation sequence on the to-be-updated application thereon based on the first operation sequence, thereby automatically completing the updating of the to-be-updated application on the to-be-updated cloud mobile phone, improving the updating efficiency of the to-be-updated application on the cloud mobile phone, and improving the user experience. Moreover, based on the execution result of the to-be-updated cloud mobile phone and the operation result of the first operation sequence, the updating result of the to-be-updated application on the to-be-updated cloud mobile phone can be effectively determined, thereby providing reliable guarantee for the updating of the to-be-updated application on the to-be-updated cloud mobile phone.

[0055] In order to effectively update the to-be-updated application of the cloud mobile phone that fails to update in the to-be-updated cloud mobile phone, in some optional implementation manners of the embodiment, the to-be-updated cloud mobile phone includes at least one second cloud mobile phone whose updating result is updating failure, and the method further includes the following steps: receiving the second operation sequence sent by any one of the second cloud mobile phones and the operation result of the second operation sequence, the second operation sequence being obtained by the second cloud mobile phone performing an updating operation on the to-be-updated application thereon; determining a to-be-updated cloud mobile phone based on the updating result, and sending the second operation sequence to the to-be-updated cloud mobile phone; receiving the execution result of the to-be-updated cloud mobile phone performing the second operation sequence on the to-be-updated application thereon; and determining the updating result of the to-be-updated application on the to-be-updated cloud mobile phone based on the execution result and the operation result of the second operation sequence.

[0056] In the optional implementation manner, the updating result can be obtained based on the execution result of the to-be-updated cloud mobile phone, the updating result includes: updating success and updating failure, any one of the to-be-updated cloud mobile phones in which the to-be-updated application fails to update is selected as a second cloud mobile phone, and the second cloud mobile phone is controlled to perform an updating operation on the to-be-updated application thereon when the to-be-updated application thereon is idle (not used by a user), so as to obtain the second operation sequence sent by the second cloud mobile phone and the operation result of the second operation sequence.

[0057] In an embodiment, the second operation sequence is at least one operation of an update operation on the application to be updated, which can include: a click object operation, a screenshot operation, an end update operation, etc. These operations can be continuous operations without time intervals, and these operations can also be intermittent operations with different time intervals. The object can be a button, text, picture, etc. In this embodiment, different operations correspond to different operation contents, for example, the click object operation includes: click object information (object identifier, name), click coordinates, and click object time; the screenshot operation includes: the region of the screenshot image, and the screenshot mark, etc. The screenshot mark can be used to identify which step the current screenshot belongs to during subsequent screenshot checking, and the index of the second operation sequence can be used as the screenshot mark.

[0058] In this embodiment, the operation result of the second operation sequence is the result obtained after each operation in the second operation sequence is executed. The operation result can be a click completion, a screenshot, etc. It should be noted that the operation result of the second operation sequence can be a series of operation results corresponding to each operation in the second operation sequence, such as multiple screenshots corresponding to multiple screenshot operations; the second operation sequence can also be one operation result, such as a screenshot before the end update operation.

[0059] In some optional implementations of this embodiment, the second operation sequence includes: a click object operation, a screenshot operation, an end update operation, and an interval time between any two adjacent operations; and the operation result of the second operation sequence includes: a position corresponding to the click object operation, a screenshot corresponding to the screenshot operation, and a mark of each screenshot.

[0060] In this optional implementation, optional operations of the second operation sequence are listed, providing multiple optional ways for the update operation on the application to be updated, and ensuring the diversity of the second operation sequence.

[0061] In this optional implementation, the re-check cloud phone can be all second cloud phones or part of the second cloud phones. The number and device number of the re-check cloud phones can be obtained through configuration.

[0062] In this embodiment, the re-check cloud phone is a cloud phone different from the second cloud phone that sends the second operation sequence. The re-check cloud phone can include multiple cloud phones. After each cloud phone in the re-check cloud phone executes the second operation sequence on the application to be updated, the operation result can be the same as or different from the operation result of the second operation sequence. When the operation result of any cloud phone in the re-check cloud phone is the same as the operation result of the second operation sequence, it can be determined that the update of the application to be updated on the cloud phone is successful.

[0063] When the operation result of any of the re-updating cloud phones is different from the operation result of the second operation sequence, it can be determined that the updating of the application to be updated on the cloud phone fails, and the execution result fed back by the cloud phone can be further used to determine the step of updating failure of the cloud phone, thereby providing support for improvement of the cloud phone.

[0064] In the embodiment, the re-updating cloud phone can include a plurality of cloud phones, and each cloud phone obtains a respective execution result after performing the second operation sequence on the application to be updated installed thereon, and feeds back the execution result to the re-updating cloud phone.

[0065] In the embodiment, after the hot updating task is initiated and completed, the hot updating completion degree is checked by taking screenshots, and the cloud phones with hot updating failure are filtered, and the task is re-initiated to the re-updating cloud phone in the cloud phone to be updated.

[0066] In the optional implementation, after the updating result of the application to be updated on the cloud phone to be updated is determined, a second cloud phone with a more detailed result of updating failure is further selected, and the second cloud phone is controlled to perform an updating operation on the application to be updated thereon, thereby providing a basis for batch updating of the cloud phone with updating failure again, ensuring the effect of re-updating after updating failure, and improving user experience without manual updating of the application to be updated by the user.

[0067] Optionally, after the updating result of the application to be updated on the cloud phone to be updated is determined, a second cloud phone to be sent with the operation sequence can be determined based on the updating result, and the second cloud phone is controlled to perform an updating operation on the application to be updated thereon when the application to be updated is idle, thereby obtaining the second operation sequence sent by the second cloud phone and the operation result of the second operation sequence.

[0068] Optionally, after the updating result of the application to be updated on the cloud phone to be updated is determined, a plurality of second cloud phones to be sent with the operation sequence can be determined based on the updating result, and all the second cloud phones are controlled to perform an updating operation on the application to be updated thereon when the application to be updated is idle, thereby obtaining the second operation sequence sent by all the second cloud phones and the operation result of the second operation sequence; and the second operation sequence with the highest occurrence frequency and the operation result corresponding to the second operation sequence are selected from the second operation sequences sent by all the second cloud phones as the second operation sequence and the operation result of the second operation sequence.

[0069] Optionally, the method further comprises: determining all second cloud phones that fail to update based on the update result of the to-be-updated application on the to-be-updated cloud phone; selecting any one of the second cloud phones, and sending an update trigger instruction to the second cloud phone to make the second cloud phone perform an update operation on the to-be-updated application thereon, and recording each update operation and an operation result of each update operation to obtain a second operation sequence and an operation result of the second operation sequence.

[0070] In some optional implementations of the embodiment, the update result comprises at least one second cloud phone identifier and an update end screenshot of each second cloud phone; and determining the re-updating cloud phone based on the update result comprises: displaying the update end screenshot of each second cloud phone and the second cloud phone identifier corresponding to the update end screenshot of each second cloud phone in a preset configuration interface; obtaining the second cloud phone identifier sent by the configuration interface; and determining the re-updating cloud phone based on the second cloud phone identifier sent by the configuration interface.

[0071] In the optional implementation, displaying the second cloud phone identifier and the update end screenshot of the second cloud phone in the configuration interface can facilitate an operator to view the cloud phone that fails to update in the configuration interface, and selecting the second cloud phone in the configuration interface based on the displayed update end screenshot, so that the cloud phone corresponding to the second cloud phone identifier sent by the configuration interface is the second cloud phone selected by the operator and the re-updating cloud phone.

[0072] Optionally, the update result can further comprise an update process screenshot of each second cloud phone; and after the administrator confirms that the task is completed in the task management, the administrator performs a screenshot similarity check to determine, by a screenshot mark, whether the current screenshot is the update end screenshot of the cloud phone performing the first operation sequence or the update process screenshot in the operation process. Moving the mouse over the screenshot displays the current second cloud phone identifier, and the second cloud phone identifier can be used to determine the device number and other information of the second cloud phone. Clicking the screenshot mark can export the mark and the device number to facilitate re-initiating the task.

[0073] In the optional implementation, displaying the update end screenshot of the second cloud phone and the identifier of the second cloud phone in the configuration interface facilitates the operator to select and operate the re-updating cloud phone, and improves the convenience of updating the to-be-updated application on the cloud phone.

[0074] Optionally, the update result comprises update failure and update success; and determining the re-updating cloud phone based on the update result comprises: determining all second cloud phones that fail to update based on the update failure in the update result; and removing the second cloud phone that sends the second operation sequence from all second cloud phones that fail to update to obtain the re-updating cloud phone.

[0075] Figure 2A flow 200 of another embodiment of the cloud application updating method according to the present disclosure is shown, which comprises the following steps:

[0076] Step 201, selecting an application to be updated.

[0077] In this embodiment, the application to be updated is an application that can be installed on a cloud phone, and the application to be updated has a standard hot update operation process when updating, for example, the application to be updated is a hot update game that needs to be hot updated, and when the application to be updated is installed on the cloud phone, the application to be updated can be updated by operating the hot update component (such as a hot update button) preset for the application to be updated, so that the application to be updated completes the update.

[0078] In this embodiment, the execution subject on which the cloud application updating method runs can be a cloud phone, and the execution subject can select the application installed thereon as the application to be updated based on the requirements operated on the configuration interface or the preset update requirements.

[0079] Step 202, performing an update operation on the application to be updated in response to determining that the application to be updated is idle.

[0080] In this embodiment, the idle application to be updated means that the application to be updated is not used by the user and is in an idle state, so that the update operation on the application to be updated can not affect the use of the user, thereby improving the user experience.

[0081] Step 203, sequentially recording each update operation and the operation result of each update operation, obtaining a first operation sequence and the operation result of the first operation sequence.

[0082] In this embodiment, the execution subject on which the cloud application updating method runs records the update operation on the application to be updated and the operation result of the application to be updated after each update operation on the application to be updated, until the update of the application to be updated is completed, thereby obtaining a first operation sequence comprising at least one update operation and the operation result of the first operation sequence corresponding to the first operation sequence.

[0083] Step 204, sending the first operation sequence and the operation result of the first operation sequence to a cloud server.

[0084] In this embodiment, after the cloud server receives the first operation sequence and the operation result of the first operation sequence, the cloud server can perform the embodiment as shown in Figure 1 to update the application to be updated on the cloud phone, thereby obtaining the update result of the application to be updated on the cloud phone, and in this embodiment, the cloud phone to be updated is a cloud phone on which the application to be updated is installed.

[0085] In this embodiment, the cloud server can determine which cloud phones of the to-be-updated cloud phones successfully update the to-be-updated applications and which cloud phones of the to-be-updated cloud phones fail to update the to-be-updated applications based on the update results of the to-be-updated applications on the to-be-updated cloud phones, so that the process of automatically updating the to-be-updated applications on the to-be-updated cloud phones is achieved.

[0086] The cloud application updating method provided in this embodiment has a real game hot updating time length, improves the hot updating efficiency, can perform hot updating on all Android games or other system games, and solves the problem of user loss caused by hot updating in the cloud game operation process. After the game uses hot updating, the user retention rate is improved by more than 40%, and the user game experience is greatly improved.

[0087] The cloud application updating method provided in this embodiment selects a to-be-updated application, performs an updating operation on the to-be-updated application in response to determining that the to-be-updated application is idle, sequentially records each updating operation and an operation result obtained by each updating operation, obtains a first operation sequence and an operation result of the first operation sequence, and sends the first operation sequence and the operation result of the first operation sequence to a cloud server. Thus, a reliable execution sequence can be provided for the to-be-updated cloud phone, and the automatic updating effect of the to-be-updated application is ensured.

[0088] Figure 3 Flow 300 of another embodiment of the cloud application updating method according to the present disclosure is shown, and the cloud application updating method includes the following steps:

[0089] Step 301: receiving an update trigger instruction sent by a cloud server.

[0090] In this embodiment, the update trigger instruction is used to instruct to update a to-be-updated application. Based on the update trigger instruction, an execution subject on which the cloud application updating method runs can complete the updating of the to-be-updated application on the hot updating component of the to-be-updated application.

[0091] Step 302: performing an updating operation on the to-be-updated application in response to determining that the to-be-updated application is idle.

[0092] In this embodiment, the to-be-updated application being idle means that the to-be-updated application is not used by a user and is in an idle state. At this time, the updating operation on the to-be-updated application can not affect the use of the user, and the user experience is improved.

[0093] Step 303: sequentially recording each updating operation and an operation result obtained by each updating operation, obtaining a second operation sequence and an operation result of the second operation sequence.

[0094] In this embodiment, the execution subject on which the cloud application updating method runs performs one updating operation on each application to be updated, and records one updating operation on the application to be updated and the operation result of the application to be updated after each operation, until the updating of the application to be updated is completed, to obtain a second operation sequence including at least one updating operation and the operation result of the second operation sequence corresponding to the second operation sequence.

[0095] In step 304, the second operation sequence and the operation result of the second operation sequence are sent to the cloud server.

[0096] In this embodiment, the cloud server updates the application to be updated on the re-updating cloud phone based on the second operation sequence and the operation result of the second operation sequence (see the cloud application updating method for updating the application to be updated on the re-updating cloud phone described above), to obtain the updating result of the application to be updated on the re-updating cloud phone.

[0097] In this embodiment, the re-updating cloud phone refers to a cloud phone on which the application to be updated is installed and the application to be updated on which has failed one or more times.

[0098] The cloud application updating method provided in this embodiment performs updating operation on the application to be updated when the application to be updated is idle based on the updating trigger instruction sent by the cloud server, records each updating operation and the operation result obtained by each updating operation in sequence, to obtain a second operation sequence and the operation result of the second operation sequence, and sends the second operation sequence and the operation result of the second operation sequence to the cloud server. Thus, a reliable execution sequence can be provided for the re-updating cloud phone, and the automatic updating effect of the application to be updated is ensured.

[0099] Further referring to Figure 4 , as an implementation of the method shown in the above figures, the disclosure provides one embodiment of a cloud application updating device, which corresponds to the method embodiment shown in Figure 1 .

[0100] As Figure 4As shown, the cloud application updating apparatus 400 provided by the embodiment includes an initial receiving unit 401, an initial configuring unit 402, an initial sending unit 403, an initial executing unit 404, and an initial checking unit 405. The initial receiving unit 401 can be configured to receive a first operation sequence and an operation result of the first operation sequence sent by a first cloud phone, where the first operation sequence is obtained by the first cloud phone performing an updating operation on an application to be updated on the first cloud phone. The initial configuring unit 402 can be configured to receive updating operation configuration information for configuring a cloud phone to be updated, where the cloud phone to be updated is a cloud phone in which the application to be updated is installed. The initial sending unit 403 can be configured to send the first operation sequence to the cloud phone to be updated based on the updating configuration information. The initial executing unit 404 can be configured to receive an execution result of the cloud phone to be updated performing the first operation sequence on the application to be updated. The initial checking unit 405 can be configured to determine an updating result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence.

[0101] In the embodiment, the specific process of the initial receiving unit 401, the initial configuring unit 402, the initial sending unit 403, the initial executing unit 404, and the initial checking unit 405 in the cloud application updating apparatus 400 and the technical effects brought by the specific process can be respectively referred to the related description of the step 101, the step 102, the step 103, the step 104, and the step 105 in the corresponding embodiment. Figure 1 The related description of the step 101, the step 102, the step 103, the step 104, and the step 105 in the corresponding embodiment is not repeated here.

[0102] In some optional implementation of the embodiment, the cloud phone to be updated includes at least one second cloud phone with an updating result of updating failure, and the apparatus 400 further includes a re-receiving unit (not shown in the figure), a re-configuring unit (not shown in the figure), a re-executing unit (not shown in the figure), and a re-checking unit (not shown in the figure). The re-receiving unit can be configured to receive a second operation sequence and an operation result of the second operation sequence sent by any one of the second cloud phones, where the second operation sequence is obtained by the second cloud phone performing an updating operation on the application to be updated on the second cloud phone. The re-configuring unit can be configured to determine a third cloud phone to be updated based on the updating result and send the second operation sequence to the third cloud phone to be updated. The re-executing unit can be configured to receive an execution result of the third cloud phone to be updated performing the second operation sequence on the application to be updated. The re-checking unit can be configured to determine an updating result of the application to be updated on the third cloud phone to be updated based on the execution result and the operation result of the second operation sequence.

[0103] In some optional implementations of the embodiment, the execution result includes the update end screenshot, the operation result of the first operation sequence includes the operation end screenshot, and the initial checking unit includes a comparison module (not shown in the figure) and a determination module (not shown in the figure). The comparison module is configured to compare the update end screenshot of each cloud phone in the to-be-updated cloud phone with the operation end screenshot. The determination module is configured to determine that the to-be-updated application on the cloud phone is successfully updated in response to a determination that the similarity between the update end screenshot of the cloud phone and the operation end screenshot is greater than a similarity threshold.

[0104] In some optional implementations of the embodiment, the update result includes at least one second cloud phone identifier and the update end screenshot of each second cloud phone, and the re-configuration unit includes a display module (not shown in the figure), an acquisition module (not shown in the figure), and a configuration module (not shown in the figure). The display module is configured to display the update end screenshot of each second cloud phone and the second cloud phone identifier corresponding to the update end screenshot of each second cloud phone in a preset configuration interface. The acquisition module is configured to acquire the second cloud phone identifier sent by the configuration interface. The configuration module is configured to determine the re-updated cloud phone based on the second cloud phone identifier sent by the configuration interface.

[0105] In some optional implementations of the embodiment, the first operation sequence and the second operation sequence include a click object operation, a screenshot operation, an end update operation, and an interval time between any two adjacent operations, and the operation result of the first operation sequence and the operation result of the second operation sequence include the position corresponding to the click object operation, the screenshot corresponding to the screenshot operation, and the mark of each screenshot.

[0106] The cloud application updating device provided by the embodiment of the disclosure first receives, by an initial receiving unit 401, a first operation sequence sent by a first cloud mobile phone and an operation result of the first operation sequence, the first operation sequence being obtained by the first cloud mobile phone performing an updating operation on an application to be updated on the first cloud mobile phone; secondly, an initial configuring unit 402 receives updating operation configuration information for configuring a cloud mobile phone to be updated, the cloud mobile phone to be updated being a cloud mobile phone in which the application to be updated is installed; thirdly, an initial sending unit 403 sends the first operation sequence to the cloud mobile phone to be updated based on the updating configuration information; fourthly, an initial executing unit 404 receives an execution result of the cloud mobile phone to be updated performing the first operation sequence on the application to be updated; and finally, an initial checking unit 405 determines an updating result of the application to be updated on the cloud mobile phone to be updated based on the execution result and the operation result of the first operation sequence. In this way, the first operation sequence of the first cloud mobile phone performing the updating operation on the application to be updated is received, and the first operation sequence is sent to the cloud mobile phone to be updated obtained by configuration, so that the cloud mobile phone to be updated can perform an operation corresponding to the first operation sequence on the application to be updated based on the first operation sequence, thereby automatically completing the updating of the application to be updated on the cloud mobile phone to be updated, improving the updating efficiency of the application to be updated on the cloud mobile phone, and improving the user experience. Moreover, based on the execution result of the cloud mobile phone to be updated and the operation result of the first operation sequence, the updating result of the application to be updated on the cloud mobile phone to be updated can be effectively determined, thereby providing reliable guarantee for the updating of the application to be updated on the cloud mobile phone to be updated.

[0107] Further reference is made to Figure 5 As an implementation of the method shown in the above figures, the disclosure provides an embodiment of a cloud application updating system, which corresponds to the method embodiment shown in Figure 2

[0108] As shown in Figure 5 The cloud application updating system 500 provided by the embodiment includes a first cloud mobile phone 501 and a cloud server 502.

[0109] The first cloud mobile phone 501 is configured to select an application to be updated, perform an updating operation on the application to be updated in response to determining that the application to be updated is idle, record each updating operation and an operation result of each updating operation in sequence to obtain a first operation sequence and an operation result of the first operation sequence, and send the first operation sequence and the operation result of the first operation sequence to the cloud server. The cloud server 502 updates the application to be updated on a cloud mobile phone to be updated based on the first operation sequence and the operation result of the first operation sequence.

[0110] In the embodiment, the specific processing of the first cloud mobile phone 501 and the technical effects brought by the specific processing can be respectively referred to the method embodiment shown in Figure 2 ​Corresponding descriptions of steps 201, 202, 203, and 204 in the corresponding embodiment. The specific processing of the cloud server 502 and the technical effects brought by the same can be referred to the descriptions of steps 201, 202, 203, and 204 in the corresponding embodiment respectively. Figure 1 Corresponding descriptions of steps 101, 102, 103, 104, and 105 in the corresponding embodiment, which are not repeated here.

[0111] In some optional implementation of the embodiment, the system 500 further includes a second cloud phone (not shown in the figure), and the cloud server 502 is further configured to determine the second cloud phone based on an update result obtained by updating the to-be-updated application on the to-be-updated cloud phone, and send an update trigger instruction to the second cloud phone, the update trigger instruction being used to instruct to update the to-be-updated application; the second cloud phone updates the to-be-updated application when the to-be-updated application on the second cloud phone is idle; record each update operation and an operation result obtained by each update operation in sequence to obtain a second operation sequence and an operation result of the second operation sequence; and send the second operation sequence and the operation result of the second operation sequence to the cloud server; and the cloud server 502 updates the to-be-updated application on the to-be-updated cloud phone based on the second operation sequence and the operation result of the second operation sequence to obtain an update result.

[0112] In the embodiment, the specific processing of the second cloud phone and the technical effects brought by the same can be referred to the descriptions of the cloud server 502 in the corresponding embodiment respectively. Figure 3 Corresponding descriptions of steps 301, 302, 303, and 304 in the corresponding embodiment.

[0113] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution comply with relevant laws and regulations and do not violate public order and good customs.

[0114] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.

[0115] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present disclosure described and / or claimed in this document.

[0116] As Figure 6As shown, the device 600 includes a computing unit 601 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from the storage unit 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0117] Various components in the device 600 are connected to the I / O interface 605, including an input unit 606, such as a keyboard, a mouse, etc., an output unit 607, such as various types of displays, speakers, etc., a storage unit 608, such as a magnetic disk, an optical disk, etc., and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0118] The computing unit 601 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs various methods and processes described above, such as the cloud application update method. For example, in some embodiments, the cloud application update method can be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the cloud application update method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the cloud application update method by any other appropriate means, such as by means of firmware.

[0119] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0120] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus or cloud application update system to produce a machine, such that the program code, when executed by the processor or controller, implements the functions / acts specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, or entirely on a remote machine or server.

[0121] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0123] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0124] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server is generally established by computer programs running on the respective computers and having a client-server relationship to each other. The servers can be cloud servers, servers of a distributed system, or servers combined with a blockchain.

[0125] It should be understood that various forms of flow shown above can be used, with steps reordered, added, or removed. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, without limitation herein, so long as the desired results of the technology disclosed in the present disclosure are achieved.

[0126] The specific embodiments described above are not intended to limit the scope of the present disclosure. Those skilled in the art will understand that various modifications, combinations, sub-combinations, and alternatives can be made to the specific embodiments without departing from the spirit and principles of the present disclosure. Any further modifications, equivalent substitutions, improvements, and the like, either presently known or that are later developed, that are within the spirit and principles of the present disclosure are intended to be encompassed herein.

Claims

1. A cloud application updating method, the method comprising: receiving a first operation sequence sent by a first cloud phone and an operation result of the first operation sequence, the first operation sequence being obtained by the first cloud phone performing an updating operation on an application to be updated on the first cloud phone; receiving updating operation configuration information for configuring a cloud phone to be updated, the cloud phone to be updated being a cloud phone on which the application to be updated is installed, the cloud phone to be updated comprising at least one second cloud phone on which an updating result is an updating failure; sending the first operation sequence to the cloud phone to be updated based on the updating configuration information; receiving an execution result of the first operation sequence performed by the cloud phone to be updated on the application to be updated on the cloud phone to be updated; determining an updating result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence; the method further comprising: receiving a second operation sequence sent by any one of the second cloud phones and an operation result of the second operation sequence, the second operation sequence being obtained by the second cloud phone performing an updating operation on the application to be updated on the second cloud phone; determining a cloud phone to be updated again based on the updating result and sending the second operation sequence to the cloud phone to be updated again; receiving an execution result of the second operation sequence performed by the cloud phone to be updated again on the application to be updated on the cloud phone to be updated again; determining an updating result of the application to be updated on the cloud phone to be updated again based on the execution result and the operation result of the second operation sequence.

2. The method of claim 1, the execution results comprising: the operation result of the first operation sequence comprises an operation end screenshot; the determining of the updating result of the application to be updated on the cloud phone to be updated based on the execution result and the operation result of the first operation sequence comprises: for each cloud phone to be updated in the cloud phone to be updated, performing a similarity comparison between an updating end screenshot of the cloud phone to be updated and the operation end screenshot; and in response to determining that a similarity between the updating end screenshot of the cloud phone to be updated and the operation end screenshot is greater than a similarity threshold, determining that the application to be updated on the cloud phone to be updated is successfully updated.

3. The method of claim 1, the update result comprising: at least one second cloud phone identifier and an updating end screenshot of each second cloud phone; the determining of the cloud phone to be updated again based on the updating result comprises: displaying the updating end screenshot of each second cloud phone and the second cloud phone identifier corresponding to the updating end screenshot of each second cloud phone in a preset configuration interface; obtaining the second cloud phone identifier sent by the configuration interface; and determining the cloud phone to be updated again based on the second cloud phone identifier sent by the configuration interface.

4. The method of claim 1, wherein, the first operation sequence and the second operation sequence comprise a click object operation, a screenshot operation, an end updating operation, and an interval time between any two adjacent operations; and the operation result of the first operation sequence and the operation result of the second operation sequence comprise a position corresponding to the click object operation, a screenshot corresponding to the screenshot operation, and a mark of each screenshot. 5.A cloud application updating method, the method comprising: selecting an application to be updated; in response to determining that the application to be updated is idle, performing an updating operation on the application to be updated. sequentially record each update operation and operation result of each update operation to obtain a first operation sequence and operation result of the first operation sequence; send the first operation sequence and operation result of the first operation sequence to a cloud server, so that the cloud server updates a to-be-updated application on a to-be-updated cloud phone based on the first operation sequence and operation result of the first operation sequence according to the cloud application update method in any one of claims 1-4.

6. A cloud application update method, the method comprising: receiving an update trigger instruction sent by a cloud server, the update trigger instruction being used to instruct to update a to-be-updated application; in response to determining that the to-be-updated application is idle, performing an update operation on the to-be-updated application; sequentially recording each update operation and operation result of each update operation to obtain a second operation sequence and operation result of the second operation sequence; sending the second operation sequence and operation result of the second operation sequence to the cloud server, so that the cloud server updates a to-be-updated application on a to-be-updated cloud phone based on the second operation sequence and operation result of the second operation sequence according to the cloud application update method in any one of claims 1-4.

7. A cloud application update apparatus, the apparatus comprising: an initial receiving unit configured to receive a first operation sequence and operation result of the first operation sequence sent by a first cloud phone, the first operation sequence being obtained by the first cloud phone performing an update operation on a to-be-updated application thereon; an initial configuration unit configured to receive update operation configuration information used to configure a to-be-updated cloud phone, the to-be-updated cloud phone being a cloud phone installed with the to-be-updated application, and the to-be-updated cloud phone comprising at least one second cloud phone with an update result of update failure; an initial sending unit configured to send the first operation sequence to the to-be-updated cloud phone based on the update configuration information; an initial execution unit configured to receive an execution result of the first operation sequence performed by the to-be-updated cloud phone on a to-be-updated application thereon; an initial checking unit configured to determine an update result of the to-be-updated application on the to-be-updated cloud phone based on the execution result and operation result of the first operation sequence; the apparatus further comprising: a re-receiving unit configured to receive a second operation sequence and operation result of the second operation sequence sent by any one of the second cloud phones, the second operation sequence being obtained by the second cloud phone performing an update operation on a to-be-updated application thereon; a re-configuration unit configured to determine a to-be-updated cloud phone based on the update result and send the second operation sequence to the to-be-updated cloud phone; a re-execution unit configured to receive an execution result of the second operation sequence performed by the to-be-updated cloud phone on a to-be-updated application thereon; a re-checking unit configured to determine an update result of the to-be-updated application on the to-be-updated cloud phone based on the execution result and operation result of the second operation sequence.

8. The apparatus of claim 7, wherein, The execution result comprises an update end screenshot, and the operation result of the first operation sequence comprises an operation end screenshot; the initial checking unit comprises: a comparison module configured to perform a similarity comparison between the update end screenshot of each cloud phone in the to-be-updated cloud phones and the operation end screenshot; a determination module configured to determine that the to-be-updated application on the cloud phone is successfully updated in response to a determination that the similarity between the update end screenshot of the cloud phone and the operation end screenshot is greater than a similarity threshold.

9. The apparatus of claim 7, wherein, The update result comprises at least one second cloud phone identifier and an update end screenshot of each second cloud phone; and the re-configuration unit comprises: a display module configured to display the update end screenshot of each second cloud phone and the second cloud phone identifier corresponding to the update end screenshot of each second cloud phone in a preset configuration interface; an acquisition module configured to acquire the second cloud phone identifier sent by the configuration interface; a configuration module configured to determine a re-to-be-updated cloud phone based on the second cloud phone identifier sent by the configuration interface.

10. The apparatus of claim 7, wherein, The first operation sequence and the second operation sequence comprise a click object operation, a screenshot operation, an end update operation, and an interval time between any two adjacent operations; and the operation result of the first operation sequence and the operation result of the second operation sequence comprise a position corresponding to the click object operation, a screenshot corresponding to the screenshot operation, and a mark of each screenshot.

11. A cloud application update system, the system comprising: The first cloud phone, the cloud server, and at least one second cloud phone; The first cloud phone is configured to select a to-be-updated application; In response to a determination that the to-be-updated application is idle, the to-be-updated application is updated; Each update operation and an operation result obtained by each update operation are recorded in sequence to obtain a first operation sequence and an operation result of the first operation sequence; The first operation sequence and the operation result of the first operation sequence are sent to the cloud server; The cloud server is configured to send the first operation sequence sent by the first cloud phone to the to-be-updated cloud phone based on update operation configuration information used for configuring the to-be-updated cloud phone, wherein the to-be-updated cloud phone is a cloud phone installed with the to-be-updated application, the to-be-updated cloud phone comprises at least one second cloud phone with an update result of update failure; and determine an update result of the to-be-updated application on the to-be-updated cloud phone based on an execution result of the first operation sequence performed by the to-be-updated cloud phone on the to-be-updated application and the operation result of the first operation sequence. The cloud server is further configured to determine a second cloud phone based on an update result obtained by updating the to-be-updated application on the to-be-updated cloud phone, send a second operation sequence sent by any one second cloud phone to a re-to-be-updated cloud phone, and determine an update result of the to-be-updated application on the re-to-be-updated cloud phone based on an execution result of the second operation sequence performed by the re-to-be-updated cloud phone on the to-be-updated application and an operation result of the second operation sequence.

12. The system of claim 11, wherein, The cloud server is further configured to determine a second cloud phone based on an update result obtained by updating the application to be updated on the cloud phone to be updated, and send an update trigger instruction to the second cloud phone, the update trigger instruction being used to instruct to update the application to be updated; The second cloud phone updates the application to be updated when the application to be updated on the second cloud phone is idle; sequentially record each update operation and an operation result obtained by each update operation to obtain a second operation sequence and an operation result of the second operation sequence; send the second operation sequence and the operation result of the second operation sequence to the cloud server; The cloud server updates the application to be updated on the cloud phone to be updated based on the second operation sequence and the operation result of the second operation sequence to obtain an update result.

13. An electronic device, comprising: comprise: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.

14. A non-transitory computer-readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-6.

15. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-6.

Citation Information

Patent Citations

  • Method and device for synchronizing databases between intranet and extranet

    CN110941621A

  • Application test method and device, equipment and computer readable storage medium

    CN111309613A

  • Data synchronization method and device, computer readable medium and electronic equipment

    CN113230661A