CN113641388A - 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 PDF

Info

Publication number
CN113641388A
CN113641388A CN202110975168.4A CN202110975168A CN113641388A CN 113641388 A CN113641388 A CN 113641388A CN 202110975168 A CN202110975168 A CN 202110975168A CN 113641388 A CN113641388 A CN 113641388A
Authority
CN
China
Prior art keywords
updated
mobile phone
cloud
cloud mobile
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.)
Pending
Application number
CN202110975168.4A
Other languages
Chinese (zh)
Inventor
罗军
赵志豪
李星锴
谢维霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110975168.4A priority Critical patent/CN113641388A/en
Publication of CN113641388A publication Critical patent/CN113641388A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring 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)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a cloud mobile phone updating method and device, electronic equipment, a computer readable storage medium and a computer program product, relates to the field of cloud computing such as cloud service, cloud mobile phones and smart clouds, and can be applied to cloud mobile phones. One embodiment of the method comprises: after a plurality of cloud mobile phones to be updated are obtained, the cloud mobile phones to be updated are divided into different cloud mobile phone groups to be updated according to a preset grouping strategy, then control nodes corresponding to the cloud mobile phone groups to be updated are generated, update files are configured for the control nodes, and after the configuration of the update files is completed, the control nodes are controlled to update the cloud mobile phones to be updated in the corresponding cloud mobile phone groups to be updated according to the update files. When the cloud mobile phones are updated, the cloud mobile phones are grouped according to the conditions of the cloud mobile phones to be updated, and the control nodes are used for controlling the cloud mobile phone groups to be updated, so that the updating efficiency is improved while differential updating is realized.

Description

Cloud mobile phone updating method, related device and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of cloud computing such as cloud services, cloud phones, and smart clouds, and may be applied to cloud phones, and in particular, to a cloud phone updating method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
A Cloud Phone (Cloud Phone), which is a Phone technology that applies a Cloud computing technology to a network terminal service and implements a Cloud service through a Cloud server. The smart phone is a smart phone deeply combined with network services, and the smart phone can realize a plurality of functions through a network by means of a system of the smart phone and a network terminal erected by a manufacturer.
The cloud mobile phone has the value that the mobile broadband network and the always-on characteristic of the mobile phone brought by 3G and the characteristic of the cloud technology are fully utilized to link the mobile phone with the whole network system, so that the mobile phone is not an isolated mobile phone any more.
In addition, cloud computing refers to a technology architecture that accesses a flexibly scalable shared physical or virtual resource pool through a network, where the resources may include servers, operating systems, networks, software, applications, storage devices, and the like, and may be deployed and managed in an on-demand, self-service manner. Through the cloud computing technology, high-efficiency and strong data processing capacity can be provided for technical application and model training of artificial intelligence, block chains and the like.
Disclosure of Invention
The embodiment of the disclosure provides a cloud mobile phone updating method and 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: the method comprises the steps of obtaining a plurality of cloud mobile phones to be updated, and dividing the cloud mobile phones 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; 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 group to be updated according to the update file.
In a second aspect, an embodiment of the present disclosure provides a cloud mobile phone updating apparatus, including: the cloud mobile phone grouping unit is configured to acquire a plurality of cloud mobile phones to be updated and divide the cloud mobile phones to be updated into different cloud mobile phone groups 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; an update file configuration and update control unit, comprising: the cloud mobile phone updating system comprises an update file configuration subunit configured to configure an update file for each control node, and an update control subunit configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone group 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, and the instructions are executed by the at least one processor, so that when executed by the at least one processor, the cloud handset update method described in any implementation manner of the first aspect can be implemented.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement the cloud handset update method as described in any implementation manner of the first aspect when executed.
In a fifth aspect, the present disclosure provides a computer program product including a computer program, where the computer program is capable of implementing the cloud handset update method as described in any implementation manner of the first aspect when executed by a processor.
According to the cloud mobile phone updating method, the cloud mobile phone updating device, the electronic equipment, the computer readable storage medium and the computer program product provided by the embodiment of the disclosure, after a plurality of cloud mobile phones to be updated are obtained, the cloud mobile phones to be updated are divided into different cloud mobile phone groups to be updated according to a preset grouping strategy, then, control nodes corresponding to the cloud mobile phone groups to be updated are generated, update files are configured to the control nodes, and after the update files are configured, the control nodes are controlled to update the cloud mobile phones to be updated in the corresponding cloud mobile phone groups to be updated according to the update files.
According to the cloud mobile phone group updating method and device, the cloud mobile phones to be updated are grouped into the cloud mobile phone group to be updated, the control node is used for controlling and updating the cloud mobile phone group to be updated, the cloud mobile phones to be updated can be updated in a differentiated and batched mode, and the updating efficiency of the cloud mobile phone updating is improved while the differentiated updating is achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present disclosure may be applied;
fig. 2 is a flowchart of a cloud mobile phone updating method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another cloud mobile phone updating method provided in the embodiment of the present disclosure;
fig. 4 is a schematic effect diagram of a cloud mobile phone updating method in an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a cloud mobile phone updating apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to execute 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 with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those 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, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
In addition, in the technical scheme related to the disclosure, the processing of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the related user all accords with the regulations of related laws and regulations, and does not violate the good custom of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the 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 to provide a medium of communication links between the cloud handsets 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
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 or the like.
The cloud handsets 101, 102, 103 and the server 105 may be hardware or software. When the cloud mobile phones 101, 102, and 103 are hardware, they may be smart phones, tablet computers, laptop computers, and the like used by users or servers providing cloud computing capability for the above terminal devices; when the cloud handsets 101, 102, and 103 are software, they may be installed in the electronic devices listed above or a server providing cloud computing capability for each terminal device, and may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module, which is not limited herein. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple 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 limited herein.
The server 105 is used to control the update and configuration of the servers providing cloud computing capability for the cloud handsets 101, 102 and 103, and the following effects can be achieved by way of example: firstly, the server 105 acquires cloud mobile phones to be updated, and divides the cloud mobile phones 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; 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 group to be updated according to the obtained update file.
Since the generation of the control node and the configuration update file need to occupy more computation resources and stronger computation capability, the cloud mobile phone update method provided in the following embodiments of the present disclosure is generally executed by the server 105 having stronger computation capability and more computation resources, and accordingly, the cloud mobile phone update apparatus is generally also disposed in the server 105. However, it should be noted that when the cloud handsets 101, 102, and 103 also have computation capabilities and computation resources that meet the requirements, if the cloud handsets 101, 102, and 103 can also complete the above operations that are performed by the server 105, and then output the same result as the server 105, any one of the cloud handsets may be used as the execution subject of the cloud handset update method. Accordingly, the cloud handset update apparatus may also be provided in the handset 101, 102, 103. In such a case, the exemplary system architecture 100 may not include the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. Any number of cloud handsets, networks, and servers may be present, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a cloud mobile phone updating method according to an embodiment of the present disclosure, where the process 200 includes the following steps:
step 201, a plurality of cloud mobile phones to be updated are obtained.
In this embodiment, an execution subject (for example, the server 105 shown in fig. 1) of the cloud mobile phone updating method acquires a cloud mobile phone to be updated that exists in a current cloud mobile phone system and needs to be updated, where the cloud mobile phone to be updated generally refers to a server that provides cloud computing power for a terminal device used by a user, and after acquiring a cloud mobile phone to be updated that exists in the current cloud mobile phone system, the cloud mobile phones to be updated are grouped according to a preset grouping policy, and are divided into a plurality of different cloud mobile phone groups to be updated.
It should be noted that the selection of the cloud phone to be updated may be detected in a manner such as scanning and handshake communication when the execution main body receives the cloud phone update instruction, or may be obtained by the execution main body through a preset cloud phone list, the cloud mobile phone list usually includes information such as version information and communication address of the cloud mobile phone, so as to know the configuration condition of the cloud mobile phone according to the information in the cloud mobile phone list, and establish communication connection with the cloud mobile phone according to the cloud mobile phone list, the cloud mobile phone list can be stored locally in the execution main body or acquired from a non-local storage device, the local storage device can be a data storage module arranged in the execution main body, for example, a server hard disk, in which case the cloud mobile phone list can be quickly read locally; the non-local storage device may also be any other electronic device configured to store data, for example, some user terminals, and in this case, the executing entity may obtain the required cloud mobile phone list by sending an obtaining command to the electronic device, so as to obtain the cloud mobile phone to be updated.
Step 202, generating control nodes corresponding to the cloud mobile phone groups to be updated.
In this embodiment, after the cloud mobile phone to be updated is divided into different cloud mobile phone groups to be updated, a control node is generated for each cloud mobile phone group to be updated, where the control node is used to control each cloud mobile phone to be updated in the corresponding cloud mobile phone group to be updated.
The control node can also be controlled by the execution main body to obtain the configuration information and other contents of the cloud mobile phones to be updated in the cloud mobile phone set to be updated corresponding to the control node, so that the execution main body can realize interaction with the cloud mobile phones to be updated in batch 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 group to be updated according to the update file.
In this embodiment, after the control nodes corresponding to the cloud mobile phone groups to be updated are generated based on step 202, an update file is configured to each control node, where the update file generally includes a kernel image version file for updating the cloud mobile phones to be updated, and after the configuration of the update file for the control nodes is completed, 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, each cloud mobile phone to be updated in the corresponding mobile phone group to be updated is updated at the control node, and the communication state of each cloud mobile phone to be updated in the cloud mobile phone group to be updated can be obtained in advance so as to filter the cloud mobile phones to be updated which cannot be updated in the cloud mobile phone group to be updated.
In some optional embodiments, in order to improve flexibility of cloud mobile phone update work, when an update file is configured for each control node, the execution main body may send only storage address information of the update file to each control node, and indirectly send an entity file of the update file to each control node, so as to improve configuration efficiency of the update file.
In some optional embodiments, the execution main body may further control the control node, and the control node is required to verify whether update is successfully completed by controlling the cloud mobile phones to be updated to be restarted, configured and detected and the like when update of the cloud mobile phones to be updated in the corresponding cloud mobile phone group to be updated is completed, and feed back corresponding feedback information to the execution main body when update is successfully completed, so that the execution main body collects and outputs a feedback result report according to the feedback information, and a subsequent user can know about the update 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, the cloud mobile phones to be updated are grouped into the cloud mobile phone group to be updated, the control node is used for controlling and updating the cloud mobile phone group to be updated, and the cloud mobile phones to be updated can be updated in a differentiated and batched manner, so that the updating efficiency of cloud mobile phone updating is improved while the differentiated updating is realized.
In some optional implementation manners of this embodiment, dividing each cloud mobile phone to be updated into different cloud mobile phone groups to be updated according to a preset grouping policy includes: extracting version information corresponding to each cloud mobile phone to be updated; and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
Specifically, after the cloud mobile phones to be updated are obtained, the version information of the cloud mobile phones to be updated is extracted, the cloud mobile phones to be updated belonging to the same version information are classified into the same mobile phone group to be updated, so that the cloud mobile phones to be updated of different versions can be collected conveniently, update files corresponding to different versions are configured according to different mobile phone groups to be updated subsequently, and the cloud mobile phones to be updated of the same version can be updated in batches while differential updating among the cloud mobile phones to be updated of different versions is realized.
In some optional implementation manners of this embodiment, dividing each cloud mobile phone to be updated into different cloud mobile phone groups to be updated according to a preset grouping policy includes: reading the function process of each cloud mobile phone to be updated; and classifying the cloud mobile phone to be updated with the association relation of the functional processes into the same cloud mobile phone group to be updated.
Specifically, after each cloud mobile phone to be updated is acquired, the function process of each cloud mobile phone to be updated is read, each function process is read and analyzed, each cloud mobile phone to be updated with the function process having an association relation is classified into the same cloud mobile phone group to be updated, so that each cloud mobile phone to be updated belonging to the same function process is synchronously and completely updated when each cloud mobile phone to be updated is updated, function misalignment caused by the fact that the update progress of an individual cloud mobile phone to be updated in the same function process is not matched with other cloud mobile phones to be updated is avoided, and safety and system reliability of the cloud mobile phones in updating are improved.
In some optional implementation manners of this embodiment, 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 group 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 abstract 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 group to be updated according to the update file.
Specifically, after an update file is configured for each control node, each control node is controlled to verify the configured target update file by using an information Digest Algorithm (Message-Digest Algorithm), a password hash function, which can verify the update file by using an output hash value to ensure that information transmission is complete and consistent, the execution main body controls an empty node to respond when the update file passes verification, the update file is used for updating each cloud mobile phone to be updated in the corresponding mobile phone group to be updated, and the acquired update file is verified by using the information Digest Algorithm to avoid error update caused by update file errors and ensure the running stability of the cloud mobile phone.
Further, in the case of checking the updated file by using the information digest algorithm, the implementation method further includes: and controlling each control node to respond to the failure of the verification of the update file and return configuration error information of the update file.
Specifically, under the condition that the update file cannot pass the verification, the control node may return the update file configuration error information to the execution main body to feed back the condition, where the update file configuration error information may further include a reason that the update file fails the verification, and the like, so that the execution main body performs adaptive adjustment according to the update file configuration error information, and the error correction capability of the cloud mobile phone update method is improved.
Referring to fig. 3, fig. 3 is a flowchart of another cloud mobile phone updating method according to an embodiment of the present disclosure, where the process 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 groups to be updated according to a preset grouping strategy.
And 302, generating control nodes corresponding to the cloud mobile phone groups to be updated.
Step 303, obtain target configuration information.
In this embodiment, target configuration information indicating a desired configuration of the updated cloud handset is acquired.
And step 304, controlling each control node to return the actual configuration information of each cloud mobile phone to be updated in the mobile phone group to be updated corresponding to each control node.
In this embodiment, the execution main body may 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, where the 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 the actual configuration information to determine an update file based on a parameter gap under the same category.
And 305, generating an updating 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, based on the comparison between the target configuration information and the actual configuration information acquired in the above steps 303 and 304, an operation instruction and a parameter that can be used to adjust the actual configuration information to the target configuration information are determined, and are packaged into a corresponding update file, 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 file.
And step 306, sending the update file to the control node corresponding to each mobile phone group to be updated correspondingly.
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.
And 307, controlling each control node to update each cloud mobile phone to be updated in the corresponding mobile phone group to be updated according to the update file.
The steps 301, 302, and 307 are similar to the step 201-.
In order to deepen understanding, the disclosure further provides a specific implementation scheme in combination with a specific application scenario, specifically as follows:
the method comprises the steps that a server obtains a plurality of cloud mobile phones to be updated, corresponding version information of the cloud mobile phones to be updated is extracted, the obtained version number of a cloud mobile phone A to be updated is v1.0, the obtained version number of a cloud mobile phone B to be updated is v1.1, the obtained version number of a cloud mobile phone C to be updated is v1.0, and the obtained version number of a cloud mobile phone D to be updated is v 1.1.
And classifying the cloud mobile phones to be updated with the same version information into the same cloud mobile phone group to be updated, wherein the cloud mobile phone A to be updated and the cloud mobile phone C to be updated are a first cloud mobile phone group to be updated, and the cloud mobile phone B to be updated and the cloud mobile phone D to be updated are a second cloud mobile phone group to be updated.
A first control node corresponding to the first cloud cell phone group to be updated and a second control node corresponding to the second cloud cell phone group to be updated are generated, which may be as shown in fig. 4.
The step of determining the updating requirement is to adjust the existing cloud mobile phones to be updated to the configuration corresponding to the version number v1.1, configure the corresponding updating files to the first control node, and control the first node to verify the updating files by adopting an information summary algorithm.
And controlling the first control node to respond when the update file passes 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.
And controlling the first control node to control the cloud mobile phone A to be updated and the cloud mobile phone C to be updated to restart after the updating is finished, reading the updating results of the updated cloud mobile phone A to be updated and the updated cloud mobile phone C to be updated, and generating feedback information after the updating results are determined to be finished.
With further reference to fig. 5, as an implementation of the method shown in the above-mentioned figures, the present disclosure provides an embodiment of a cloud mobile phone updating apparatus, where the apparatus embodiment corresponds to the method embodiment shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the cloud handset update apparatus 500 of the present embodiment may include: the cloud mobile phone system comprises a cloud mobile phone grouping unit 501, a control node generating unit 502 and an update file configuration and update control unit 503. The cloud mobile phone grouping unit 501 is configured to acquire a plurality of cloud mobile phones to be updated, and divide the cloud mobile phones to be updated into different cloud mobile phone groups to be updated according to a preset grouping strategy; a control node generation unit 502 configured to generate a control node corresponding to each cloud mobile phone group to be updated; an update file configuration and update control unit 503, which includes: the cloud mobile phone updating system comprises an update file configuration subunit configured to configure an update file for each control node, and an update control subunit configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone group to be updated according to the update file.
In this embodiment, in the cloud handset update apparatus 500: the specific processing and the technical effects thereof of the cloud mobile phone grouping unit 501, the control node generating unit 502, and the update file configuration and update control unit 503 can refer to the related descriptions of step 201 and 203 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementation manners of this embodiment, the cloud phone grouping unit 501 is further configured to acquire a plurality of cloud phones to be updated, and extract version information corresponding to each cloud phone to be updated; and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
In some optional implementation manners of this embodiment, the cloud phone grouping unit 501 is further configured to acquire a plurality of cloud phones to be updated, and extract version information corresponding to each cloud phone to be updated; and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
In some optional implementations of this embodiment, the update control subunit includes: an update file configuration module configured to configure an update file to each control node; the update file checking module is configured to control each control node to check the update file by adopting an information abstract 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 group 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 the update file configuration error information in response to the update file verification failing.
In some optional implementations of this embodiment, the 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, wherein the actual configuration information corresponds to each control node; the update file generation module is configured to generate 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 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 in this embodiment divides each cloud mobile phone to be updated into the cloud mobile phone groups to be updated, controls and updates each cloud mobile phone group to be updated by using the control node, and can update each cloud mobile phone to be updated in a differentiated and batched manner, so that the updating efficiency of the cloud mobile phone updating is improved while the differentiated updating is realized.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples 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, 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 calculation 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 bus 604.
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, or the like; 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 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, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 performs the various methods and processes described above, such as the cloud handset update method. For example, in some embodiments, the cloud handset update method may be implemented as a computer software program tangibly embodied in 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 update 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 circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting 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. A client and server are generally 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 high management difficulty and weak service expansibility in the traditional physical host and virtual special server service.
Program code for implementing the methods 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, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. 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. A 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is 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 high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service. The server may also be divided into servers of a distributed system, or servers that incorporate a blockchain.
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 group to be updated, the control node is used for controlling and updating the cloud mobile phone group to be updated, and the cloud mobile phones to be updated can be updated in a differentiated and batched manner, so that the updating efficiency of the cloud mobile phone updating is improved while the differentiated updating is realized.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A cloud mobile phone updating method comprises the following steps:
the method comprises the steps of obtaining a plurality of cloud mobile phones to be updated, and dividing the cloud mobile phones 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;
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 group to be updated according to the update file.
2. The method according to claim 1, wherein the dividing the cloud handsets to be updated into different cloud handset groups to be updated according to a preset grouping policy comprises:
extracting version information corresponding to each cloud mobile phone to be updated;
and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
3. The method according to claim 1, wherein the dividing the cloud handsets to be updated into different cloud handset groups to be updated according to a preset grouping policy comprises:
reading the function process of each cloud mobile phone to be updated;
and classifying the cloud mobile phone to be updated with the association relation of the functional processes into the same cloud mobile phone group to be updated.
4. The method according to claim 1, wherein 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 group 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 abstract 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 group to be updated according to the update file.
5. The method of claim 4, further comprising:
and controlling each control node to respond to the failure of the verification of the update file and return configuration error information of the update file.
6. The method of claim 1, configuring each of the control nodes with an update file further comprising:
acquiring target configuration information;
controlling each control node to return actual configuration information of each cloud mobile phone to be updated in the mobile phone group to be updated, wherein the actual configuration information corresponds to each control node;
generating an updating 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 correspondingly.
7. A cloud cell phone updating device comprises:
the cloud mobile phone grouping unit is configured to acquire a plurality of cloud mobile phones to be updated and divide the cloud mobile phones to be updated into different cloud mobile 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 of the cloud mobile phone groups to be updated;
an update file configuration and update control unit, the update file configuration and update control unit comprising: the cloud mobile phone updating system comprises an update file configuration subunit configured to configure an update file for each control node, and an update control subunit configured to control each control node to update each cloud mobile phone to be updated in the corresponding mobile phone group to be updated according to the update file.
8. The apparatus according to claim 7, wherein the cloud phone grouping unit is further configured to acquire a plurality of cloud phones to be updated, and extract version information corresponding to each cloud phone to be updated;
and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
9. The apparatus according to claim 7, wherein the cloud phone grouping unit is further configured to acquire a plurality of cloud phones to be updated, and extract version information corresponding to each cloud phone to be updated;
and the cloud mobile phones to be updated with the same version information are classified into the same cloud mobile phone group to be updated.
10. The apparatus of claim 7, 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 checking module is configured to control each control node to check the update file by adopting an information abstract algorithm;
and the updating control module is configured to control each control node to respond to the passing of the verification of the updating file and update each cloud mobile phone to be updated in the corresponding mobile phone group to be updated according to the updating file.
11. The apparatus of claim 10, further comprising:
and the error information return control unit is configured to control each control node to return the configuration error information of the update file in response to the failure of the verification of the update file.
12. 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 group to be updated, wherein the actual configuration information corresponds to each control node;
the update file generation module is configured to generate 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 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.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud handset update method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the cloud handset update method of any of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the cloud handset update method of any of claims 1-6.
CN202110975168.4A 2021-08-24 2021-08-24 Cloud mobile phone updating method, related device and computer program product Pending CN113641388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110975168.4A CN113641388A (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 CN113641388A (en) 2021-08-24 2021-08-24 Cloud mobile phone updating method, related device and computer program product

Publications (1)

Publication Number Publication Date
CN113641388A true CN113641388A (en) 2021-11-12

Family

ID=78423601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110975168.4A Pending CN113641388A (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) CN113641388A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
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
US20230221941A1 (en) * 2022-01-12 2023-07-13 Microsoft Technology Licensing, Llc Partitioned deployment of updates to cloud service based on centerally updated configuration store

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098420A1 (en) * 2002-11-18 2004-05-20 Luosheng Peng Generating difference files using module information of embedded software components
CN101132573A (en) * 2006-08-23 2008-02-27 中兴通讯股份有限公司 Method for implementing terminal batch upgrading
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
CN110045973A (en) * 2019-04-19 2019-07-23 爱驰汽车有限公司 Vehicle terminal software upgrade method, device, electronic equipment, storage medium
CN110119312A (en) * 2019-04-30 2019-08-13 广州微算互联信息技术有限公司 A kind of dispatching method based on cloud storage, system, device and storage medium
CN110730090A (en) * 2019-09-05 2020-01-24 深圳平安通信科技有限公司 Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
CN110825394A (en) * 2019-10-14 2020-02-21 广州微算互联信息技术有限公司 Automatic application program initialization method and system for cloud mobile phone and storage medium
CN111666086A (en) * 2020-05-08 2020-09-15 广州微算互联信息技术有限公司 Method, system and storage medium for updating application software
CN112640500A (en) * 2020-09-27 2021-04-09 华为技术有限公司 Vehicle upgrading method and device
WO2021114025A1 (en) * 2019-12-09 2021-06-17 深圳市欢太科技有限公司 Incremental data determination method, incremental data determination apparatus, server and terminal device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098420A1 (en) * 2002-11-18 2004-05-20 Luosheng Peng Generating difference files using module information of embedded software components
CN101132573A (en) * 2006-08-23 2008-02-27 中兴通讯股份有限公司 Method for implementing terminal batch upgrading
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
CN110045973A (en) * 2019-04-19 2019-07-23 爱驰汽车有限公司 Vehicle terminal software upgrade method, device, electronic equipment, storage medium
CN110119312A (en) * 2019-04-30 2019-08-13 广州微算互联信息技术有限公司 A kind of dispatching method based on cloud storage, system, device and storage medium
CN110730090A (en) * 2019-09-05 2020-01-24 深圳平安通信科技有限公司 Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
CN110825394A (en) * 2019-10-14 2020-02-21 广州微算互联信息技术有限公司 Automatic application program initialization method and system for cloud mobile phone and storage medium
WO2021114025A1 (en) * 2019-12-09 2021-06-17 深圳市欢太科技有限公司 Incremental data determination method, incremental data determination apparatus, server and terminal device
CN111666086A (en) * 2020-05-08 2020-09-15 广州微算互联信息技术有限公司 Method, system and storage medium for updating application software
CN112640500A (en) * 2020-09-27 2021-04-09 华为技术有限公司 Vehicle upgrading method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
吴新华;王立平;: "基于云计算的计算机虚拟实验室设计与实现", 萍乡高等专科学校学报, no. 06, 15 December 2014 (2014-12-15) *
陈广瑞;陈兴蜀;王毅桐;葛龙;: "一种IaaS多租户环境下虚拟机软件更新服务机制", 山东大学学报(理学版), no. 03, 31 March 2017 (2017-03-31) *
陶筱娇;: "基于桌面虚拟化的计算机实验室的应用和管理研究", 电子世界, no. 14, 23 July 2017 (2017-07-23) *

Cited By (3)

* Cited by examiner, † Cited by third party
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
US20230221941A1 (en) * 2022-01-12 2023-07-13 Microsoft Technology Licensing, Llc Partitioned deployment of updates to cloud service based on centerally updated configuration store
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

Similar Documents

Publication Publication Date Title
CN113641388A (en) Cloud mobile phone updating method, related device and computer program product
CN111625195B (en) Method and device for server capacity expansion
WO2023115836A1 (en) Method and apparatus for controlling distributed operation system, and device, medium and program product
CN113139660A (en) Model reasoning method and device, electronic equipment and storage medium
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
CN113037489B (en) Data processing method, device, equipment and storage medium
US20230359976A1 (en) Real-Time Prediction Method, Electronic Device And Non-transitory Computer-Readable Storage Medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN112925623B (en) Task processing method, device, electronic equipment and medium
CN114968170A (en) Method for generating fixed sum of floating point number, related device and computer program product
CN113691403A (en) Topological node configuration method, related device and computer program product
CN113641688A (en) Node updating method, related device and computer program product
CN114091909A (en) Collaborative development method, system, device and electronic equipment
CN113420275A (en) Data connection processing method, related device and computer program product
CN113419880A (en) Cloud mobile phone root authority acquisition method, related device and computer program product
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN112559084A (en) Method, apparatus, device, storage medium, and program product for administering a service
CN113535187B (en) Service online method, service updating method and service providing method
CN113032040B (en) Method, apparatus, device, medium, and article for processing tasks
CN116846796A (en) Server testing method, device, electronic equipment and computer readable storage medium
CN114253984A (en) Information updating method and device, electronic equipment and storage medium
CN117201483A (en) File transmission method, device, electronic equipment and storage medium
CN116382852A (en) Micro-service deployment method and device, electronic equipment and 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