Cloud phone update method, related device and computer program product
By grouping cloud phones to be updated and generating control nodes for updating, the problem of low cloud phone update efficiency is solved and an efficient and safe cloud phone update process is achieved.
Patent Information
- Application Number
- CN202110975168.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-08-24
AI Technical Summary
The cloud phone update process has problems of low efficiency and high resource usage. Especially when dealing with multiple cloud phones to be updated, existing technology is difficult to achieve differentiated and batch updates.
By obtaining the cloud mobile phones to be updated, dividing them into different cloud mobile phone groups to be updated according to the preset grouping strategy, generating control nodes corresponding to each group, and configuring update files to these nodes. The control nodes will update each cloud phone to be updated based on the update file. The cloud phone performs updates and uses information digest algorithms to verify update files to ensure integrity and security.
It achieves differentiated and batched cloud phone updates, improves update efficiency, reduces resource usage, and ensures the stability and security of cloud phone operations.
Smart Images

Figure CN113641388B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and specifically to cloud computing fields such as cloud services, cloud phones and smart clouds. It can be applied to cloud phones, and in particular to cloud phone update methods, devices, electronic devices, computer-readable storage media and computer program products. Background Art
[0002] Cloud Phone is a mobile phone technology that applies cloud computing technology to network terminal services and implements cloud services through cloud servers. In fact, it is a smart phone that is deeply integrated with network services. This type of mobile phone can realize many functions through the network with its own system and the network terminal set up by the manufacturer.
[0003] The value of cloud phones lies in making full use of the mobile broadband network brought by 3G, the always-on features of mobile phones and the characteristics of cloud technology, connecting the mobile phone with the entire network system, so that the mobile phone is no longer a lonely phone.
[0004] In addition, cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed in an on-demand, self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications and model training such as artificial intelligence and blockchain. Summary of the invention
[0005] The embodiments of the present disclosure provide a cloud phone update method, device, electronic device, computer-readable storage medium, and computer program product.
[0006] In the first aspect, the disclosed embodiment proposes a cloud phone updating method, comprising: obtaining multiple cloud phones to be updated, and dividing each cloud phone to be updated into different cloud phone groups to be updated according to a preset grouping strategy; generating a control node corresponding to each cloud phone group to be updated; configuring an update file to each control node, and controlling each control node to update each cloud phone to be updated in the corresponding group to be updated according to the update file.
[0007] In the second aspect, the disclosed embodiment proposes a cloud phone updating device, comprising: a cloud phone grouping unit, configured to obtain multiple cloud phones to be updated, and divide each cloud phone to be updated into different cloud phone groups to be updated according to a preset grouping strategy; a control node generation unit, configured to generate a control node corresponding to each cloud phone group to be updated; an update file configuration and update control unit, which includes: an update file configuration subunit configured to configure an update file to each control node, and an update control subunit configured to control each control node to update each cloud phone to be updated in the corresponding mobile phone group to be updated according to the update file.
[0008] In a third aspect, an embodiment of the present disclosure provides an 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 so that when the at least one processor executes, it can implement the cloud phone update method described in any implementation method in the first aspect.
[0009] In a fourth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, which are used to enable a computer to implement the cloud phone update method described in any implementation method in the first aspect when executed.
[0010] In a fifth aspect, an embodiment of the present disclosure provides a computer program product comprising a computer program, which, when executed by a processor, can implement the cloud phone update method described in any implementation manner in the first aspect.
[0011] The cloud phone update method, device, electronic device, computer-readable storage medium and computer program product provided by the embodiments of the present disclosure obtain multiple cloud phones to be updated, divide each cloud phone to be updated into different cloud phone groups to be updated according to a preset grouping strategy, then generate a control node corresponding to each cloud phone group to be updated, and configure an update file to each control node. After completing the update file configuration, control each control node to update each cloud phone to be updated in the corresponding group to be updated according to the update file.
[0012] The present invention groups the cloud phones to be updated into cloud phone groups to be updated, and uses a control node to control and update each cloud phone group to be updated. The cloud phones to be updated can be updated in a differentiated and batch manner to achieve differentiated updates while improving the update efficiency of the cloud phone updates.
[0013] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0015] Figure 1 is an exemplary system architecture in which the present disclosure may be applied;
[0016] Figure 2 A flow chart of a cloud phone update method provided in an embodiment of the present disclosure;
[0017] Figure 3 A flowchart of another cloud phone update method provided by an embodiment of the present disclosure;
[0018] Figure 4 A schematic diagram of the effect of a cloud phone update method in an application scenario provided by an embodiment of the present disclosure;
[0019] Figure 5 A structural block diagram of a cloud phone updating device provided in an embodiment of the present disclosure;
[0020] Figure 6 A schematic diagram of the structure of an electronic device suitable for executing a cloud phone update method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other without conflict.
[0022] In addition, in the technical solutions involved in this disclosure, the acquisition, storage, use, processing, transportation, provision and disclosure of user personal information involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0023] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the cloud phone update method, apparatus, electronic device, and computer-readable storage medium of the present disclosure can be applied.
[0024] like Figure 1 As shown, the system architecture 100 may include cloud phones 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the cloud phones 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0025] The user interacts with the server 105 through the network 104 by directly controlling the server 105 or through the cloud phones 101 , 102 , 103 to receive or send messages, etc.
[0026] Cloud phones 101, 102, 103 and server 105 can be hardware or software. When cloud phones 101, 102, 103 are hardware, they can be smartphones, tablet computers, laptop computers, etc. used by users, or servers that provide cloud computing capabilities for the above-mentioned terminal devices; when cloud phones 101, 102, 103 are software, they can be installed in the electronic devices listed above or servers that provide cloud computing capabilities for the above-mentioned terminal devices. They can be implemented as multiple software or software modules, or as a single software or software module, and are not specifically limited here. When server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server; when the server is software, it can be implemented as multiple software or software modules, or as a single software or software module, and are not specifically limited here.
[0027] The server 105 is used to control the update and configuration of the server that provides cloud computing capabilities for the above-mentioned cloud phones 101, 102, and 103, and can exemplarily achieve the following effects: first, the server 105 obtains the cloud phones to be updated, and divides each cloud phone to be updated into different cloud phone groups to be updated according to a preset grouping strategy; then, the server 105 generates a control node corresponding to each cloud phone group to be updated; finally, the server 105 configures the update file to each control node through the network 104, and controls each control node to update each cloud phone to be updated in the corresponding phone group to be updated according to the obtained update file.
[0028] Since generating control nodes and configuring update files requires more computing resources and stronger computing power, the cloud phone update method provided in the subsequent embodiments of the present disclosure is generally executed by a server 105 with stronger computing power and more computing resources. Correspondingly, the cloud phone update device is generally also provided in the server 105. However, it should also be pointed out that when cloud phones 101, 102, and 103 also have computing power and computing resources that meet the requirements, if cloud phones 101, 102, and 103 can also complete the above-mentioned various operations handed over to the server 105, and then output the same results as the server 105, any of the cloud phones can be used as the execution subject of the above-mentioned cloud phone update method. Correspondingly, the cloud phone update device can also be provided in the cloud phones 101, 102, and 103. In this case, the exemplary system architecture 100 may also not include the server 105.
[0029] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of cloud phones, networks and servers may be provided as required.
[0030] Please refer to Figure 2 , Figure 2 A flowchart of a cloud phone update method provided in an embodiment of the present disclosure, wherein process 200 includes the following steps:
[0031] Step 201, obtaining multiple cloud phones to be updated.
[0032] In this embodiment, the execution subject of the cloud phone update method (for example Figure 1 The server 105 shown in the figure obtains the cloud phones to be updated that need to be updated in the current cloud phone system. The cloud phones to be updated usually refer to servers that provide cloud computing capabilities for terminal devices used by users. After obtaining the cloud phones to be updated in the current cloud phone system, the cloud phones to be updated are grouped according to a preset grouping strategy to obtain multiple different cloud phone groups to be updated.
[0033] It should be pointed out that the selection of the cloud phone to be updated can be detected by means of scanning and handshake communication when the above-mentioned execution subject receives the cloud phone update instruction, or it can be obtained by the above-mentioned execution subject through a preset cloud phone list. The cloud phone list usually includes version information, communication address and other information of the cloud phone, so that the configuration of the cloud phone can be understood according to the information in the cloud phone list, and a communication connection with the cloud phone can be established according to the cloud phone list. The cloud phone list can be saved locally in the above-mentioned execution subject or obtained from a non-local storage device. The local storage device can be a data storage module set in the above-mentioned execution subject, such as a server hard disk. In this case, the cloud phone list can be quickly read locally; the non-local storage device can also be any other electronic device configured to store data, such as some user terminals, etc. In this case, the above-mentioned execution subject can obtain the required cloud phone list by sending a obtain command to the electronic device, and then obtain the cloud phone to be updated.
[0034] Step 202: Generate a control node corresponding to each cloud phone group to be updated.
[0035] In this embodiment, after the cloud phones to be updated are divided into different cloud phone groups to be updated, a control node is generated corresponding to each cloud phone group to be updated, and the control node is used to control each cloud phone to be updated in the corresponding cloud phone group to be updated.
[0036] Among them, the control node can also be controlled by the above-mentioned execution entity to obtain the configuration information and other contents of each cloud phone to be updated in the cloud phone group to be updated corresponding to the control node, so that the above-mentioned execution entity can interact with the cloud phones to be updated in batches through the control node.
[0037] Step 203: configure the update file to each control node, and control each control node to update each to-be-updated cloud phone in the corresponding to-be-updated mobile phone group according to the update file.
[0038] In this embodiment, after a control node corresponding to each cloud phone group to be updated is generated based on step 202, an update file is configured for each control node. The update file usually includes a kernel image version file for updating the cloud phone to be updated. After completing the update file configuration of the control node, the above-mentioned execution entity controls each control node to update each cloud phone to be updated in the corresponding mobile phone group to be updated according to the configured update file.
[0039] In practice, when the control node updates each cloud phone to be updated in the corresponding group of cloud phones to be updated, the communication status of each cloud phone to be updated in the group of cloud phones to be updated can be obtained in advance to filter out the cloud phones to be updated that cannot be updated in the group of cloud phones to be updated.
[0040] In some optional embodiments, in order to improve the flexibility of cloud phone update operations, when configuring update files for each control node, the above-mentioned execution entity may only send the storage address information of the update file to each control node, and does not directly send the physical file of the update file to each control node, so as to improve the configuration efficiency of the update file. The subsequent control node can choose the update timing for each cloud phone to be updated in the cloud phone group to be updated according to actual conditions, and obtain the corresponding update file when the update timing is reached.
[0041] In some optional embodiments, the above-mentioned execution entity may also control the control node, requiring the control node to verify whether the update is successfully completed by controlling each cloud phone to be updated to restart, configure detection, etc. when the update is completed in the corresponding cloud phone group to be updated, and feedback corresponding feedback information to the above-mentioned execution entity when the update is successfully completed, so that the above-mentioned execution entity can summarize and output a feedback result report based on the feedback information, and subsequent users can understand the update status of the cloud phone through the feedback result report.
[0042] The cloud phone update method provided by the embodiment of the present disclosure groups the cloud phones to be updated into cloud phone groups to be updated, and uses a control node to control and update each cloud phone group to be updated. The cloud phones to be updated can be updated in a differentiated and batch manner to achieve differentiated updates while improving the update efficiency of the cloud phone updates.
[0043] In some optional implementations of this embodiment, the cloud phones to be updated are divided into different cloud phone groups to be updated according to a preset grouping strategy, including: extracting version information corresponding to each cloud phone to be updated; and classifying the cloud phones to be updated with the same version information into the same cloud phone group to be updated.
[0044] Specifically, after obtaining each cloud phone to be updated, the version information of each cloud phone to be updated is extracted, and the cloud phones to be updated with the same version information are classified into the same group of phones to be updated, so as to collect cloud phones to be updated of different versions, so as to facilitate the subsequent configuration of update files corresponding to different versions according to different groups of phones to be updated, and realize differentiated updates between cloud phones to be updated of different versions, while realizing batch updates of cloud phones to be updated of the same version.
[0045] In some optional implementations of this embodiment, the cloud phones to be updated are divided into different cloud phone groups to be updated according to a preset grouping strategy, including: reading the functional process of each cloud phone to be updated; and classifying the cloud phones to be updated whose functional processes have an associated relationship into the same cloud phone group to be updated.
[0046] Specifically, after obtaining each cloud phone to be updated, the functional process of each cloud phone to be updated is read, and each functional process is read and analyzed, and the cloud phones to be updated with related functional processes are classified into the same cloud phone group to be updated, so that when each cloud phone to be updated is updated, the cloud phones to be updated belonging to the same functional process will be updated synchronously and completely, avoiding functional inaccuracy caused by the update progress of individual cloud phones to be updated in the same functional process not matching that of other cloud phones to be updated, thereby improving the security and system reliability when updating the cloud phones.
[0047] In some optional implementations of the present embodiment, the update file is configured for each control node, and each control node is controlled to update each cloud phone to be updated in the corresponding mobile phone group to be updated according to the update file, including: configuring the update file for each control node; controlling each control node to verify the update file using an information summary algorithm; controlling each control node to update each cloud phone to be updated in the corresponding mobile phone group to be updated according to the update file in response to the update file verification being passed.
[0048] Specifically, after configuring the update file to each control node, each control node is controlled to use a message digest algorithm to verify the configured target update file. The message digest algorithm (Message-Digest Algorithm), a cryptographic hash function, can use the output hash value to verify the update file to ensure that the information transmission is complete and consistent. The above-mentioned execution subject controls the flight attendant node to respond when the update file verification passes, and uses the update file to update each cloud phone to be updated in the corresponding mobile phone group to be updated, so as to verify the obtained update file through the message digest algorithm to avoid erroneous updates caused by update file errors and ensure the stability of the cloud phone operation.
[0049] Furthermore, in the case where the update file is verified by using the information digest algorithm, this implementation may optionally include: controlling each control node to return update file configuration error information in response to the update file verification failing.
[0050] Specifically, when the update file fails to pass the verification, the control node may return update file configuration error information to the above-mentioned execution entity to feedback the situation, wherein the update file configuration error information may also include the reason why the update file failed to pass the verification, etc., so that the above-mentioned execution entity can make adaptive adjustments according to the update file configuration error information to improve the error correction capability of the cloud phone update method.
[0051] Please refer to Figure 3 , Figure 3 A flowchart of another cloud phone update method provided by an embodiment of the present disclosure, wherein process 300 includes the following steps:
[0052] Step 301 , obtaining a plurality of cloud phones to be updated, and dividing the cloud phones to be updated into different cloud phone groups to be updated according to a preset grouping strategy.
[0053] Step 302: Generate a control node corresponding to each cloud phone group to be updated.
[0054] Step 303: Obtain target configuration information.
[0055] In this embodiment, target configuration information indicating the expected configuration of the updated cloud phone is obtained.
[0056] Step 304 : Control each control node to return the actual configuration information of each cloud phone to be updated in the phone group to be updated corresponding to each control node.
[0057] In this embodiment, the above-mentioned execution entity can control each control node to return the actual configuration information of each cloud phone to be updated in the phone group to be updated corresponding to each control node. The content of the actual configuration information usually corresponds to the above-mentioned target configuration information, so as to facilitate the subsequent comparison of the parameter differences under the same category between the target configuration information and the actual configuration information to determine the update file.
[0058] Step 305: Generate an update file corresponding to each to-be-updated mobile phone group according to the difference between the actual configuration information and the target configuration information.
[0059] In this embodiment, the target configuration information and actual configuration information obtained in the above steps 303 and 304 are compared to determine the operating instructions and parameters that can be used to adjust the actual configuration information to the target configuration information, and encapsulate them into a corresponding update file, so that the subsequent control node can adjust the actual configuration information of each cloud phone to be updated to be consistent with the target configuration information according to the update file.
[0060] Step 306: Send the update file to the control node corresponding to each mobile phone group to be updated.
[0061] In this embodiment, the update file obtained in the above step 305 is sent to the control nodes corresponding to each mobile phone group to be updated, so as to complete the configuration of the update file corresponding to each control node.
[0062] Step 307 , controlling each control node to update each to-be-updated cloud phone in the corresponding to-be-updated mobile phone group according to the update file.
[0063] The above steps 301, 302, 307 are similar to Figure 2 The steps 201-203 shown in the figure are similar to those in the previous embodiment. For the same contents, please refer to the corresponding parts of the previous embodiment and will not be described again here. Figure 2 On the basis of the illustrated embodiment, after a control node is generated, an update file can be generated based on the difference between the actual configuration information of the cloud phone to be updated and the target configuration information fed back by the control node, and adjustments can be made based on the actual configuration of the cloud phone to be updated to complete the update, thereby reducing the resources required to generate the update file and improving computing efficiency.
[0064] To deepen understanding, the present disclosure also provides a specific implementation scheme in combination with a specific application scenario, as follows:
[0065] The server obtains multiple cloud phones to be updated and extracts the corresponding version information of each cloud phone to be updated. The version number of cloud phone A to be updated is v1.0, the version number of cloud phone B to be updated is v1.1, the version number of cloud phone C to be updated is v1.0, and the version number of cloud phone D to be updated is v1.1.
[0066] The cloud phones to be updated with the same version information are classified into the same cloud phone group to be updated, wherein cloud phone A to be updated and cloud phone C to be updated are the first cloud phone group to be updated, and cloud phone B to be updated and cloud phone D to be updated are the second cloud phone group to be updated.
[0067] Generate a first control node corresponding to the first cloud phone group to be updated and a second control node corresponding to the second cloud phone group to be updated, which can be referred to Figure 4 shown.
[0068] The update requirement for this time is to adjust all existing cloud phones to be updated to the configuration corresponding to version number v1.1, configure the corresponding update file to the first control node, and control the first node to verify the update file using an information summary algorithm.
[0069] The first control node is controlled to respond when the update file verification passes, and the cloud phone A to be updated and the cloud phone C to be updated are updated to version number v1.1 according to the update file.
[0070] After completing the update, the first control node controls the cloud phone A to be updated and the cloud phone C to be updated to restart, and reads the update results of the updated cloud phone A to be updated and the updated cloud phone C to be updated. After the update results determine that the update is completed, feedback information is generated.
[0071] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a cloud phone update device, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0072] like Figure 5As shown, the cloud phone update device 500 of this embodiment may include: a cloud phone grouping unit 501, a control node generation unit 502, and an update file configuration and update control unit 503. Among them, the cloud phone grouping unit 501 is configured to obtain multiple cloud phones to be updated, and divide each cloud phone to be updated into different cloud phone groups to be updated according to a preset grouping strategy; the control node generation unit 502 is configured to generate a control node corresponding to each cloud phone group to be updated; the update file configuration and update control unit 503, the update file configuration and update control unit includes: an update file configuration subunit configured to configure an update file to each control node, and an update control subunit configured to control each control node to update each cloud phone to be updated in the corresponding mobile phone group to be updated according to the update file.
[0073] In this embodiment, in the cloud phone updating device 500, the specific processing of the cloud phone grouping unit 501, the control node generating unit 502, and the update file configuration and update control unit 503 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of steps 201 - 203 in the corresponding embodiment are not repeated here.
[0074] In some optional implementations of this embodiment, the cloud phone grouping unit 501 is further configured to obtain multiple cloud phones to be updated, extract version information corresponding to each cloud phone to be updated; and classify the cloud phones to be updated with the same version information into the same cloud phone group to be updated.
[0075] In some optional implementations of this embodiment, the cloud phone grouping unit 501 is further configured to obtain multiple cloud phones to be updated, extract version information corresponding to each cloud phone to be updated; and classify the cloud phones to be updated with the same version information into the same cloud phone group to be updated.
[0076] In some optional implementations of the present embodiment, the update control subunit includes: an update file configuration module, configured to configure the update file to each control node; an update file verification module, configured to control each control node to use an information summary algorithm to verify the update file; an update control module, configured to control each control node to update each cloud phone to be updated in the corresponding group of mobile phones to be updated according to the update file in response to the update file verification passing.
[0077] In some optional implementations of this embodiment, the cloud phone updating device 500 further includes: an error information return control unit, configured to control each control node to return update file configuration error information in response to failure of the update file verification.
[0078] In some optional implementations of the present embodiment, the update file configuration subunit includes: a target configuration acquisition module, configured to acquire target configuration information; an actual configuration return control module, configured to control each control node to return the actual configuration information of each cloud phone to be updated in the mobile phone group to be updated corresponding to each control node; an update file generation module, configured to generate an update file corresponding to each mobile phone group to be updated based on the difference between the actual configuration information and the target configuration information; and an update file sending module, configured to send the update file to the control node corresponding to each mobile phone group to be updated.
[0079] This embodiment exists as an apparatus embodiment corresponding to the above-mentioned method embodiment. The cloud phone update device provided by this embodiment groups the cloud phones to be updated into cloud phone groups to be updated, and uses a control node to control and update each cloud phone group to be updated. It can update each cloud phone to be updated in a differentiated and batch manner, so as to achieve differentiated updates while improving the update efficiency of cloud phone updates.
[0080] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0081] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0082] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0083] A number of 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 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.
[0084] The computing unit 601 may be a variety of general and / or special 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 dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as a cloud phone update method. For example, in some embodiments, the cloud phone update method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the cloud phone update method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the cloud phone update method in any other appropriate manner (e.g., by means of firmware).
[0085] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0086] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private server services.
[0087] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0088] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may 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.
[0091] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server can also be divided into a server of a distributed system, or a server combined with a blockchain.
[0092] According to the technical solution of the embodiment of the present disclosure, the cloud phones to be updated are grouped into cloud phone groups to be updated, and the control nodes are used to control and update the cloud phone groups to be updated. The cloud phones to be updated can be updated in a differentiated and batch manner to achieve differentiated updates while improving the update efficiency of the cloud phone updates.
[0093] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and this document does not limit this.
[0094] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A cloud phone update method, comprising: Acquire multiple cloud phones to be updated, and divide the cloud phones to be updated into different cloud phone groups to be updated according to a preset grouping strategy, including: reading the function process of each cloud phone to be updated; and classifying the cloud phones to be updated with associated function processes into the same cloud phone group to be updated; Generate a control node corresponding to each of the cloud phone groups to be updated; An update file is configured for each of the control nodes, and each of the control nodes is controlled to update each of the to-be-updated cloud phones in the corresponding to-be-updated mobile phone group according to the update file.
2. The method according to claim 1, wherein: The step of dividing the cloud phones to be updated into different cloud phone groups to be updated according to a preset grouping strategy includes: Extracting the version information corresponding to each of the cloud phones to be updated; The cloud phones to be updated with the same version information are classified into the same cloud phone group to be updated.
3. The method according to claim 1, configuring the update file to each control node, and controlling each control node to update each of the to-be-updated cloud phones in the corresponding to-be-updated mobile phone group according to the update file, comprises: Configuring update files for each of the control nodes; Controlling each of the control nodes to verify the update file using an information summary algorithm; In response to the update file verification being passed, each of the control nodes is controlled to update each of the to-be-updated cloud phones in the corresponding to-be-updated mobile phone group according to the update file.
4. The method according to claim 3, further comprising: Control each of the control nodes to return update file configuration error information in response to the update file verification failing.
5. The method according to claim 1, configuring the update file to each of the control nodes further comprises: Get target configuration information; Control each of the control nodes to return actual configuration information of each of the cloud phones to be updated in the phone group to be updated corresponding to each of the control nodes; generating an update file corresponding to each of the to-be-updated mobile phone groups according to the difference between the actual configuration information and the target configuration information; The update file is sent to the control node corresponding to each of the mobile phone groups to be updated.
6. A cloud phone updating device, comprising: The cloud phone grouping unit is configured to obtain a plurality of cloud phones to be updated, and divide each of the cloud phones to be updated into different cloud phone groups to be updated according to a preset grouping strategy, including: reading the function process of each of the cloud phones to be updated; and grouping the cloud phones to be updated whose function processes have an associated relationship into the same cloud phone group to be updated; A control node generation unit is configured to generate a control node corresponding to each of the cloud phone groups to be updated; An update file configuration and update control unit, wherein the update file configuration and update control unit includes: an update file configuration subunit configured to configure an update file to each of the control nodes, and an update control subunit configured to control each of the control nodes to update each of the cloud phones to be updated in the corresponding group of mobile phones to be updated according to the update file.
7. The device according to claim 6, wherein: The cloud phone grouping unit is further configured to obtain a plurality of cloud phones to be updated, and extract version information corresponding to each of the cloud phones to be updated; The cloud phones to be updated with the same version information are classified into the same cloud phone group to be updated.
8. The device according to claim 6, wherein: The update control subunit comprises: An update file configuration module, configured to configure an update file to each of the control nodes; An update file verification module is configured to control each of the control nodes to verify the update file using an information summary algorithm; The update control module is configured to control each of the control nodes to update each of the to-be-updated cloud phones in the corresponding to-be-updated mobile phone group according to the update file in response to the update file being verified.
9. The apparatus according to claim 8, further comprising: The error information return control unit is configured to control each of the control nodes to return update file configuration error information in response to failure of the update file verification.
10. The device according to claim 7, wherein: The update file configuration subunit includes: A target configuration acquisition module is configured to acquire target configuration information; An actual configuration return control module is configured to control each of the control nodes to return the actual configuration information of each of the to-be-updated cloud phones in the to-be-updated phone groups corresponding to each of the control nodes; An update file generation module, configured to generate an update file corresponding to each of the to-be-updated mobile phone groups according to the difference between the actual configuration information and the target configuration information; The update file sending module is configured to send the update file to the control node corresponding to each of the mobile phone groups to be updated.
11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the cloud phone updating method described in any one of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the cloud phone update method according to any one of claims 1-5.
13. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the cloud phone updating method according to any one of claims 1 to 5 is implemented.
