CN113641388B - Cloud mobile phone updating method, related device and computer program product - Google Patents
Cloud mobile phone updating method, related device and computer program product Download PDFInfo
- Publication number
- CN113641388B CN113641388B CN202110975168.4A CN202110975168A CN113641388B CN 113641388 B CN113641388 B CN 113641388B CN 202110975168 A CN202110975168 A CN 202110975168A CN 113641388 B CN113641388 B CN 113641388B
- Authority
- CN
- China
- Prior art keywords
- updated
- mobile phone
- cloud mobile
- cloud
- update
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000004590 computer program Methods 0.000 title claims abstract description 19
- 230000006870 function Effects 0.000 claims description 14
- 238000012795 verification Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 13
- 239000000284 extract Substances 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides a cloud mobile phone updating method, a cloud mobile phone updating device, electronic equipment, computer readable storage media and computer program products, relates to the cloud computing fields of cloud services, cloud mobile phones, intelligent clouds and the like, and can be applied to cloud mobile phones. One embodiment of the method comprises the following steps: after a plurality of cloud mobile phones to be updated are obtained, dividing each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy, generating control nodes corresponding to each cloud mobile phone set to be updated, configuring update files for each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding cloud mobile phone set to be updated according to the update files after the configuration of the update files is completed. According to the embodiment, when the cloud mobile phone is updated, grouping is carried out according to the conditions of the cloud mobile phones to be updated, and the control nodes are utilized to control the cloud mobile phone groups to be updated, so that the updating efficiency is improved while differential updating is realized.
Description
Technical Field
The disclosure relates to the technical field of computers, in particular to the cloud computing field of cloud services, cloud mobile phones, intelligent clouds and the like, which can be applied to cloud mobile phones, and particularly relates to a cloud mobile phone updating method, a cloud mobile phone updating device, electronic equipment, a computer readable storage medium and a computer program product.
Background
A Cloud Phone (Cloud Phone), which is a technology of applying a Cloud computing technology to network terminal services and realizing Cloud services through a Cloud server. The smart phone is a smart phone which is deeply combined with network services, and the smart phone can realize a plurality of functions through a network by virtue of a self-contained system and a network terminal erected by a manufacturer.
The cloud mobile phone has the value that the mobile broadband network brought by the 3G, the always-on characteristic of the mobile phone and the characteristic of the cloud technology are fully utilized, the mobile phone is connected with the whole network system, and the mobile phone is not an independent mobile phone.
In addition, cloud computing refers to a technical architecture that allows a shared physical or virtual resource pool that is elastically extensible through network access, resources may include servers, operating systems, networks, software, applications, storage devices, and the like, and resources may be deployed and managed in an on-demand, self-service manner. Through cloud computing technology, high-efficiency and powerful data processing capability can be provided for technical application such as artificial intelligence and blockchain, and model training.
Disclosure of Invention
The embodiment of the disclosure provides a cloud mobile phone updating method, a cloud mobile phone updating device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a cloud mobile phone updating method, including: acquiring a plurality of cloud mobile phones to be updated, and dividing each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy; generating control nodes corresponding to the cloud mobile phone groups to be updated respectively; and configuring an update file to each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
In a second aspect, an embodiment of the present disclosure provides a cloud mobile phone updating device, including: the cloud mobile phone grouping unit is configured to acquire a plurality of cloud mobile phones to be updated and divide each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy; the control node generation unit is configured to generate control nodes corresponding to the cloud mobile phone groups to be updated respectively; the update file configuration and update control unit includes: the cloud mobile phone update system comprises an update file configuration subunit and an update control subunit, wherein the update file configuration subunit is configured to configure an update file for each control node, and the update control subunit is configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to implement a cloud handset updating method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement a cloud handset updating method as described in any of the implementations of the first aspect when executed.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, is capable of implementing a cloud handset updating method as described in any of the implementations of the first aspect.
According to the cloud mobile phone updating method, device, electronic equipment, computer readable storage medium and computer program product, after a plurality of cloud mobile phones to be updated are obtained, dividing each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy, generating control nodes corresponding to each cloud mobile phone set to be updated respectively, configuring update files for each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding cloud mobile phone set to be updated according to the update files after the update file configuration is completed.
According to the cloud mobile phone updating method and device, all cloud mobile phones to be updated are grouped into the cloud mobile phone group to be updated, the control node is utilized to control and update all the cloud mobile phone groups to be updated, and all the cloud mobile phones to be updated can be updated in a differentiated and batched mode, so that the updating efficiency of the cloud mobile phone updating is improved while the differentiated updating is achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture in which the present disclosure may be applied;
Fig. 2 is a flowchart of a cloud mobile phone updating method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart of another cloud mobile phone updating method provided in an embodiment of the present disclosure;
Fig. 4 is an effect schematic diagram of a cloud mobile phone updating method under an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a cloud mobile phone updating device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to perform a cloud mobile phone updating method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
In addition, in the technical scheme related to the disclosure, the related processes of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the user all conform to the regulations of related laws and regulations and do not violate the popular regulations of the public order.
FIG. 1 illustrates an exemplary system architecture 100 in which embodiments of cloud handset update methods, apparatus, electronic devices, and computer-readable storage media of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include cloud handsets 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide a communication link between the cloud handsets 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user interacts with the server 105 through the network 104, either by directly controlling the server 105 or through the cloud handsets 101, 102, 103, to receive or send messages, etc.
Cloud handsets 101, 102, 103 and server 105 may be hardware or software. When the cloud mobile phones 101, 102, 103 are hardware, they may be smart mobile phones, tablet computers, laptop portable computers, etc. used by users or servers providing cloud computing capabilities for the above terminal devices; when the cloud mobile phones 101, 102, 103 are software, they may be installed in the above-listed electronic devices or servers providing cloud computing capabilities for the above-mentioned terminal devices, and they may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited herein specifically. When the server 105 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein.
The server 105 is configured to control updating and configuration of a server providing cloud computing capabilities for the cloud handsets 101, 102, and 103, and may achieve the following effects by way of example: firstly, a server 105 acquires cloud mobile phones to be updated, and divides each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy; then, the server 105 generates control nodes corresponding to the cloud mobile phone groups to be updated respectively; finally, the server 105 configures an update file to each control node through the network 104, and controls each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the acquired update file.
Because the generation of the control node and the configuration update file require more operation resources and stronger operation capability, the cloud mobile phone update method provided in the subsequent embodiments of the present disclosure is generally executed by the server 105 having stronger operation capability and more operation resources, and accordingly, the cloud mobile phone update device is also generally disposed in the server 105. However, it should be noted that, when the cloud mobile phones 101, 102, and 103 also have the required computing capability and computing resources, if the cloud mobile phones 101, 102, and 103 can also complete the operations of the present application by the server 105, and further output the same result as the server 105, any one of the cloud mobile phones can be used as the execution subject of the cloud mobile phone updating method. Correspondingly, the cloud mobile phone updating device can also be arranged in the mobile phones 101, 102 and 103. In this case, the exemplary system architecture 100 may also not include the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of cloud handsets, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a cloud mobile phone updating method provided in an embodiment of the disclosure, where a flowchart 200 includes the following steps:
Step 201, obtaining a plurality of cloud mobile phones to be updated.
In this embodiment, an execution body (for example, a server 105 shown in fig. 1) of the cloud mobile phone updating method obtains cloud mobile phones to be updated existing in a current cloud mobile phone system, where the cloud mobile phones to be updated generally refer to servers with cloud computing capabilities provided for terminal devices used by users, and after obtaining the cloud mobile phones to be updated existing in the current cloud mobile phone system, each cloud mobile phone to be updated is grouped according to a preset grouping policy, so as to obtain a plurality of different cloud mobile phone sets to be updated.
It should be noted that, the selection of the cloud mobile phone to be updated may be detected in a manner such as scanning or handshaking when the execution body receives a cloud mobile phone update instruction, or may be obtained by the execution body through a preset cloud mobile phone list, where the cloud mobile phone list generally includes information such as version information, communication address, etc. of the cloud mobile phone, so that the configuration situation of the cloud mobile phone is known according to the information in the cloud mobile phone list, and a communication connection with the cloud mobile phone therein may be established according to the cloud mobile phone list, where the cloud mobile phone list may be stored locally in the execution body or may be obtained from a non-local storage device, and the local storage device may be a data storage module, for example, a server hard disk, provided in the execution body, where in this case, the cloud mobile phone list may be quickly read locally; the non-local storage device may be any other electronic device configured to store data, for example, some user terminals, where the executing body may acquire a required cloud mobile phone list by sending an acquisition command to the electronic device, so as to acquire a cloud mobile phone to be updated.
Step 202, generating control nodes corresponding to each cloud mobile phone group to be updated.
In this embodiment, after dividing the cloud mobile phone to be updated into different cloud mobile phone sets to be updated, generating control nodes corresponding to the cloud mobile phone sets to be updated, where the control nodes are used to control each cloud mobile phone to be updated in the corresponding cloud mobile phone set to be updated.
The control node may also be controlled by the execution main body to obtain content such as configuration information of each cloud mobile phone to be updated in the cloud mobile phone set corresponding to the control node, so that the execution main body can interact with the cloud mobile phones to be updated in batches through the control node.
And 203, configuring an update file to each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
In this embodiment, after generating the control node corresponding to each cloud mobile phone group to be updated in step 202, an update file is configured to each control node, where the update file generally includes a kernel mirror version file for updating the cloud mobile phones to be updated, and after completing the configuration of the update file of the control node, the execution main body controls each control node to update each cloud mobile phone to be updated in the corresponding cloud mobile phone group to be updated according to the configured update file.
In practice, the control node updates each cloud mobile phone to be updated in the corresponding cloud mobile phone set to be updated, so that the communication state of each cloud mobile phone to be updated in the cloud mobile phone set to be updated can be obtained in advance, and the cloud mobile phones to be updated which cannot be updated in the cloud mobile phone set to be updated can be filtered.
In some optional embodiments, in order to improve flexibility of updating operation of the cloud mobile phone, when the update file is configured for each control node, the executing body may only send storage address information of the update file to each control node, and not directly send an entity file of the update file to each control node, so as to improve configuration efficiency of the update file, and the subsequent control node may select an update opportunity of each cloud mobile phone to be updated in the cloud mobile phone set according to an actual situation, and when the update opportunity is reached, obtain a corresponding update file.
In some optional embodiments, the executing body may further control the control node, so that when the cloud mobile phone to be updated in the corresponding cloud mobile phone set to be updated is required to be updated, the control node verifies whether the updating is successfully completed by controlling the cloud mobile phones to be updated to restart, perform configuration detection and other modes, and feeds back corresponding feedback information to the executing body when the updating is successfully completed, so that the executing body gathers and outputs a feedback result report according to the feedback information, and a subsequent user can know the updating condition of the cloud mobile phone through the feedback result report.
According to the cloud mobile phone updating method provided by the embodiment of the disclosure, each cloud mobile phone to be updated is grouped into the cloud mobile phone group to be updated, and the control node is utilized to control and update each cloud mobile phone group to be updated, so that each cloud mobile phone to be updated can be differentially and massively updated, and the updating efficiency of the cloud mobile phone updating is improved while differential updating is realized.
In some optional implementations of this embodiment, the dividing each cloud mobile phone to be updated into different cloud mobile phone groups according to a preset grouping policy includes: extracting version information corresponding to each cloud mobile phone to be updated; and classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated.
Specifically, after the cloud mobile phones to be updated are obtained, version information of the cloud mobile phones to be updated is extracted, cloud mobile phones to be updated, which belong to the same version information, are classified into the same group of mobile phones to be updated, so that cloud mobile phones to be updated of different versions are collected, update files corresponding to different versions are configured according to different groups of mobile phones to be updated, differential update among cloud mobile phones to be updated of different versions is achieved, and meanwhile update of cloud mobile phones to be updated of the same version can be achieved in batches.
In some optional implementations of this embodiment, the dividing each cloud mobile phone to be updated into different cloud mobile phone groups according to a preset grouping policy includes: reading the function process of each cloud mobile phone to be updated; and classifying the cloud mobile phones to be updated with the association relation of the functional processes into the same cloud mobile phone set to be updated.
Specifically, after the cloud mobile phones to be updated are obtained, the function processes of the cloud mobile phones to be updated are read, the function processes are read and analyzed, the cloud mobile phones to be updated with association relations of the function processes are classified into the same cloud mobile phone set to be updated, so that when the cloud mobile phones to be updated are updated, the cloud mobile phones to be updated belonging to the same function process are synchronously and completely updated, the function misalignment caused by mismatching of the updating progress of individual cloud mobile phones to be updated and other cloud mobile phones to be updated in the same function process is avoided, and the safety and the system reliability of the cloud mobile phones to be updated are improved.
In some optional implementations of this embodiment, the configuring an update file to each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file includes: configuring an update file to each control node; each control node is controlled to check the updated file by adopting a message digest algorithm; and controlling each control node to respond to the verification of the update file and update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
Specifically, after the update files are configured to each control node, each control node is controlled to verify the configured target update files by using an information abstraction Algorithm, and the information abstraction Algorithm (Message-Digest Algorithm), which is a cryptographic hash function, can verify the update files by using the generated hash values to ensure complete and consistent information transmission, and the executing main body responds to the control of the miss node when the update files pass the verification, and updates each cloud mobile phone to be updated in the corresponding mobile phone set to be updated by using the update files to verify the acquired update files by using the information abstraction Algorithm, so that the error update caused by the error of the update files is avoided, and the operation stability of the cloud mobile phone is ensured.
Further, in the case of verifying the updated file by using the information summarization algorithm, the implementation method may further optionally include: and controlling each control node to return update file configuration error information in response to the update file verification failure.
Specifically, in the case that the update file cannot pass the verification, the control node may return the update file configuration error information to the execution body to feed back the case, where the update file configuration error information may further include a reason that the update file fails the verification, so that the execution body performs adaptive adjustment according to the update file configuration error information, thereby improving the error correction capability of the cloud mobile phone updating method.
Referring to fig. 3, fig. 3 is a flowchart of another cloud mobile phone updating method according to an embodiment of the disclosure, where the flowchart 300 includes the following steps:
Step 301, obtaining a plurality of cloud mobile phones to be updated, and dividing each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy.
Step 302, generating control nodes corresponding to the cloud mobile phone groups to be updated.
Step 303, obtaining target configuration information.
In this embodiment, target configuration information for indicating a desired configuration of the updated cloud mobile phone is obtained.
And step 304, controlling each control node to return the actual configuration information of each cloud mobile phone to be updated in each mobile phone set to be updated corresponding to each control node.
In this embodiment, the executing body may control each control node to return actual configuration information of each cloud mobile phone to be updated in each group of mobile phones to be updated corresponding to each control node, where content in the actual configuration information generally corresponds to the target configuration information, so as to facilitate subsequent comparison of the target configuration information and parameter differences under the same category of the actual configuration information to determine the update file.
Step 305, generating an update file corresponding to each mobile phone group to be updated according to the difference between the actual configuration information and the target configuration information.
In this embodiment, the comparison is performed based on the target configuration information and the actual configuration information obtained in the steps 303 and 304, so as to determine an operation instruction and parameters that can be used to adjust the actual configuration information to the target configuration information, and the operation instruction and parameters are packaged into corresponding update files, so that the subsequent control node adjusts the actual configuration information of each cloud mobile phone to be updated to be consistent with the target configuration information according to the update files.
And 306, sending the update file to the control nodes corresponding to the mobile phone groups to be updated.
In this embodiment, the update file obtained in step 305 is sent to the control node corresponding to each mobile phone group to be updated, so as to complete the configuration of the update file corresponding to each control node.
Step 307, controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
The steps 301, 302, 307 are similar to the steps 201 to 203 shown in fig. 2, and the same parts are omitted herein for details of the corresponding parts of the previous embodiment, and the present embodiment may generate an update file according to the difference between the actual configuration information and the target configuration information of the cloud mobile phone to be updated fed back by the control node after the control node is generated on the basis of the embodiment shown in fig. 2, and adjust and complete the update on the basis of the actual configuration of the cloud mobile phone to be updated, thereby reducing the resources required for generating the update file and improving the operation efficiency.
For deepening understanding, the disclosure further provides a specific implementation scheme in combination with a specific application scenario, which is specifically as follows:
The method comprises the steps that a server acquires a plurality of cloud mobile phones to be updated, and extracts corresponding version information of each cloud mobile phone to be updated, wherein the version number of the cloud mobile phone to be updated A is v1.0, the version number of the cloud mobile phone to be updated B is v1.1, the version number of the cloud mobile phone to be updated C is v1.0, and the version number of the cloud mobile phone to be updated D is v1.1.
And classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated, wherein the cloud mobile phone A to be updated and the cloud mobile phone C to be updated are the first cloud mobile phone set to be updated, and the cloud mobile phone B to be updated and the cloud mobile phone D to be updated are the second cloud mobile phone set to be updated.
A first control node corresponding to the first cloud mobile phone group to be updated and a second control node corresponding to the second cloud mobile phone group to be updated are generated, and reference may be made to fig. 4.
The current update requirement is determined by adjusting each existing cloud mobile phone to be updated to the configuration corresponding to the version number v1.1, configuring a corresponding update file to a first control node, and controlling the first node to verify the update file by adopting an information abstraction algorithm.
And controlling the first control node to respond when the update file passes the verification, and updating the cloud mobile phone A to be updated and the cloud mobile phone C to be updated to the version number v1.1 according to the update file.
After the first control node is controlled to finish updating, the cloud mobile phone A to be updated and the cloud mobile phone C to be updated are controlled to restart, and reading updated cloud mobile phone A to be updated and updated cloud mobile phone C to be updated, and generating feedback information after the updating result determines that the updating is completed.
With further reference to fig. 5, as an implementation of the method shown in the foregoing drawings, the present disclosure provides an embodiment of a cloud mobile phone updating apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the cloud mobile phone updating apparatus 500 of the present embodiment may include: the cloud mobile phone grouping unit 501, the control node generating unit 502 and the update file configuration and update control unit 503. The cloud mobile phone grouping unit 501 is configured to obtain a plurality of cloud mobile phones to be updated, and divide each cloud mobile phone to be updated into different cloud mobile phone sets to be updated according to a preset grouping strategy; a control node generating unit 502 configured to generate control nodes corresponding to each cloud mobile phone group to be updated; an update file configuration and update control unit 503, wherein the update file configuration and update control unit includes: the cloud mobile phone update system comprises an update file configuration subunit and an update control subunit, wherein the update file configuration subunit is configured to configure an update file for each control node, and the update control subunit is configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
In this embodiment, in the cloud mobile phone updating apparatus 500: the specific processing of the cloud mobile phone grouping unit 501, the control node generating unit 502, and the update file configuring and updating control unit 503 and the technical effects thereof may refer to the relevant descriptions of steps 201 to 203 in the corresponding embodiment of fig. 2, and are not repeated herein.
In some optional implementations of this embodiment, the cloud mobile phone grouping unit 501 is further configured to obtain a plurality of cloud mobile phones to be updated, and extract version information corresponding to each cloud mobile phone to be updated; and classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated.
In some optional implementations of this embodiment, the cloud mobile phone grouping unit 501 is further configured to obtain a plurality of cloud mobile phones to be updated, and extract version information corresponding to each cloud mobile phone to be updated; and classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated.
In some optional implementations of the present embodiment, the update control subunit includes: the update file configuration module is configured to configure an update file to each control node; the update file verification module is configured to control each control node to verify the update file by adopting a message digest algorithm; and the updating control module is configured to control each control node to respond to the verification of the updating file and update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the updating file.
In some optional implementations of this embodiment, the cloud mobile phone updating apparatus 500 further includes: and the error information return control unit is configured to control each control node to return update file configuration error information in response to the update file verification failure.
In some optional implementations of the present embodiment, updating the file configuration subunit includes: a target configuration acquisition module configured to acquire target configuration information; the actual configuration return control module is configured to control each control node to return actual configuration information of each cloud mobile phone to be updated in the mobile phone group to be updated corresponding to each control node; the updating file generation module is configured to generate updating files corresponding to the mobile phone groups to be updated according to the difference between the actual configuration information and the target configuration information; and the update file sending module is configured to send the update file to the control node corresponding to each mobile phone group to be updated.
The cloud mobile phone updating device provided by the embodiment groups each cloud mobile phone to be updated into the cloud mobile phone group to be updated, and controls and updates each cloud mobile phone group to be updated by using the control node, so that each cloud mobile phone to be updated can be updated in a differentiated and batched mode, and the updating efficiency of cloud mobile phone updating is improved while the differentiated updating is realized.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that 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 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as a cloud handset update method. For example, in some embodiments, the cloud handset update method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the cloud handset updating method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the cloud handset update method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and virtual special server service.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may 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 a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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.
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 a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) PRIVATE SERVER service. Servers may also be divided into servers of a distributed system or servers that incorporate blockchains.
According to the technical scheme of the embodiment of the disclosure, the cloud mobile phones to be updated are grouped into the cloud mobile phone groups to be updated, the control nodes are utilized to control and update the cloud mobile phone groups to be updated, and the cloud mobile phones to be updated can be differentially and batched updated, so that the updating efficiency of the cloud mobile phone update is improved while the differential updating is realized.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (13)
1. A cloud mobile phone updating method comprises the following steps:
Acquiring a plurality of cloud mobile phones to be updated, and dividing each cloud mobile phone to be updated into different cloud mobile phone groups to be updated according to a preset grouping strategy, wherein the method comprises the following steps: reading the function process of each cloud mobile phone to be updated; classifying the cloud mobile phones to be updated with the association relation of the functional processes into the same cloud mobile phone set to be updated;
Generating control nodes corresponding to the cloud mobile phone groups to be updated respectively;
and configuring an update file to each control node, and controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
2. The method of claim 1, wherein the dividing each cloud handset to be updated into different cloud handset groups according to a preset grouping policy comprises:
Extracting version information corresponding to each cloud mobile phone to be updated;
And classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated.
3. The method of claim 1, wherein the configuring the update file to each control node and controlling each control node to update each cloud mobile phone to be updated in the corresponding group of mobile phones to be updated according to the update file includes:
configuring an update file to each control node;
Controlling each control node to verify the updated file by adopting an information abstraction algorithm;
and controlling each control node to respond to the verification of the update file and update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
4. A method according to claim 3, further comprising:
and controlling each control node to return update file configuration error information in response to the update file verification failure.
5. The method of claim 1, configuring an update file to each of the control nodes further comprises:
acquiring target configuration information;
the control nodes are controlled to return actual configuration information of the cloud mobile phones to be updated in the mobile phone set to be updated, wherein the actual configuration information corresponds to the control nodes;
generating an update file corresponding to each mobile phone group to be updated according to the difference between the actual configuration information and the target configuration information;
And sending the update file to the control node corresponding to each mobile phone group to be updated.
6. A cloud handset updating device, comprising:
The cloud mobile phone grouping unit is configured to acquire a plurality of cloud mobile phones to be updated, and divide each cloud mobile phone to be updated into different cloud mobile phone groups to be updated according to a preset grouping strategy, and comprises the following steps: reading the function process of each cloud mobile phone to be updated; classifying the cloud mobile phones to be updated with the association relation of the functional processes into the same cloud mobile phone set to be updated;
The control node generation unit is configured to generate control nodes corresponding to the cloud mobile phone groups to be updated respectively;
The update file configuration and update control unit comprises: the cloud mobile phone update system comprises an update file configuration subunit and an update control subunit, wherein the update file configuration subunit is configured to configure an update file for each control node, and the update control subunit is configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the update file.
7. The apparatus of claim 6, wherein the cloud handset grouping unit is further configured to obtain a plurality of cloud handsets to be updated, and extract version information corresponding to each of the cloud handsets to be updated;
And classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone set to be updated.
8. The apparatus of 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;
the update file verification module is configured to control each control node to verify the update file by adopting an information abstraction algorithm;
And the updating control module is configured to control each control node to respond to the verification of the updating file and update each cloud mobile phone to be updated in the corresponding mobile phone set to be updated according to the updating file.
9. The apparatus of claim 8, further comprising:
And the error information return control unit is configured to control each control node to return update file configuration error information in response to the update file verification failing.
10. The apparatus of claim 7, wherein the update file configuration subunit comprises:
A target configuration acquisition module configured to acquire target configuration information;
The actual configuration return control module is configured to control each control node to return actual configuration information of each cloud mobile phone to be updated in the mobile phone set to be updated corresponding to each control node;
the updating file generation module is configured to generate updating files corresponding to the mobile phone groups to be updated according to the difference between the actual configuration information and the target configuration information;
And the update file sending module is configured to send the update file to the control node corresponding to each mobile phone group to be updated.
11. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud handset updating method of any of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the cloud handset updating method of any of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the cloud handset updating method according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110975168.4A CN113641388B (en) | 2021-08-24 | 2021-08-24 | Cloud mobile phone updating method, related device and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110975168.4A CN113641388B (en) | 2021-08-24 | 2021-08-24 | Cloud mobile phone updating method, related device and computer program product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113641388A CN113641388A (en) | 2021-11-12 |
CN113641388B true CN113641388B (en) | 2024-09-20 |
Family
ID=78423601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110975168.4A Active CN113641388B (en) | 2021-08-24 | 2021-08-24 | Cloud mobile phone updating method, related device and computer program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113641388B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114090247A (en) * | 2021-11-22 | 2022-02-25 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for processing data |
US12020015B2 (en) * | 2022-01-12 | 2024-06-25 | Microsoft Technology Licensing, Llc | Partitioned deployment of updates to cloud service based on centerally updated configuration store |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110045973A (en) * | 2019-04-19 | 2019-07-23 | 爱驰汽车有限公司 | Vehicle terminal software upgrade method, device, electronic equipment, storage medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7003534B2 (en) * | 2002-11-18 | 2006-02-21 | Innopath Software, Inc. | Generating difference files using module information of embedded software components |
CN101132573A (en) * | 2006-08-23 | 2008-02-27 | 中兴通讯股份有限公司 | Method for implementing terminal batch upgrading |
CN104216727A (en) * | 2013-06-04 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Application upgrading method and system |
CN103647816A (en) * | 2013-12-03 | 2014-03-19 | 北京奇虎科技有限公司 | Method and device for upgrading application software |
WO2015094187A1 (en) * | 2013-12-17 | 2015-06-25 | Hewlett-Packard Development Company, L.P. | Synchronizing a cloud service template with an infrastructure template |
CN107179950B (en) * | 2017-06-29 | 2020-10-27 | 努比亚技术有限公司 | Application process processing method, mobile terminal and computer readable storage medium |
CN110119312A (en) * | 2019-04-30 | 2019-08-13 | 广州微算互联信息技术有限公司 | A kind of dispatching method based on cloud storage, system, device and storage medium |
CN110730090B (en) * | 2019-09-05 | 2023-02-03 | 深圳平安通信科技有限公司 | Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment |
CN110825394B (en) * | 2019-10-14 | 2023-04-28 | 广州微算互联信息技术有限公司 | Automatic initialization method, system and storage medium for application program of cloud mobile phone |
CN114503076A (en) * | 2019-12-09 | 2022-05-13 | 深圳市欢太科技有限公司 | Incremental data determining method and device, server and terminal equipment |
CN111666086B (en) * | 2020-05-08 | 2023-09-05 | 广州微算互联信息技术有限公司 | Method, system and storage medium for updating application software |
EP4202645A4 (en) * | 2020-09-27 | 2023-09-27 | Huawei Technologies Co., Ltd. | Vehicle upgrading method and apparatus |
-
2021
- 2021-08-24 CN CN202110975168.4A patent/CN113641388B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110045973A (en) * | 2019-04-19 | 2019-07-23 | 爱驰汽车有限公司 | Vehicle terminal software upgrade method, device, electronic equipment, storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113641388A (en) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112650764B (en) | Cross-chain data processing method, device, equipment and storage medium | |
WO2022262183A1 (en) | Federated computing processing method and apparatus, electronic device, and storage medium | |
CN113641388B (en) | Cloud mobile phone updating method, related device and computer program product | |
CN111625195B (en) | Method and device for server capacity expansion | |
CN114389969B (en) | Method and device for testing client, electronic equipment and storage medium | |
CN114025037B (en) | Cloud mobile phone overhaul method and device, electronic equipment and storage medium | |
CN113572833B (en) | Cloud mobile phone maintenance method and device, electronic equipment and storage medium | |
CN113434218B (en) | Micro-service configuration method, micro-service configuration device, electronic equipment and medium | |
CN113037489B (en) | Data processing method, device, equipment and storage medium | |
CN113419880A (en) | Cloud mobile phone root authority acquisition method, related device and computer program product | |
CN117478590A (en) | Message processing method and device, electronic equipment and storage medium | |
WO2023169193A1 (en) | Method and device for generating smart contract | |
CN114968170B (en) | Floating point number determination and generation method, related device and computer program product | |
CN113726883B (en) | Cloud data processing method, related device and computer program product | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN114095758B (en) | Cloud image intercepting method and related device | |
CN116700752A (en) | Cluster updating method and device | |
CN113420275B (en) | Data connection processing method, related device and computer program product | |
CN113691403B (en) | Topology node configuration method, related device and computer program product | |
CN110971716B (en) | Address configuration method, device, system and computer readable storage medium | |
CN113641688A (en) | Node updating method, related device and computer program product | |
US10579394B2 (en) | Control method and control device | |
CN113032040B (en) | Method, apparatus, device, medium, and article for processing tasks | |
CN117201483B (en) | File transmission method, device, electronic equipment and storage medium | |
CN115129469B (en) | Cross-process communication method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |