CN113741937B - Application updating method and device for cloud terminal and computer program product - Google Patents

Application updating method and device for cloud terminal and computer program product Download PDF

Info

Publication number
CN113741937B
CN113741937B CN202111024998.5A CN202111024998A CN113741937B CN 113741937 B CN113741937 B CN 113741937B CN 202111024998 A CN202111024998 A CN 202111024998A CN 113741937 B CN113741937 B CN 113741937B
Authority
CN
China
Prior art keywords
target
application
cloud terminal
compressed data
cloud
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
Application number
CN202111024998.5A
Other languages
Chinese (zh)
Other versions
CN113741937A (en
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 CN202111024998.5A priority Critical patent/CN113741937B/en
Publication of CN113741937A publication Critical patent/CN113741937A/en
Application granted granted Critical
Publication of CN113741937B publication Critical patent/CN113741937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides an application updating method, a related device and a computer program product for a cloud terminal, and particularly relates to a cloud service technology, which can be used in a cloud mobile phone scene. The specific implementation scheme is as follows: acquiring updated application data of an updated application in a target cloud terminal; generating a bit stream seed according to the updated application data; based on the bitstream seed, applications in other cloud terminals than the target cloud terminal are updated. According to the method and the device for updating the application in the cloud terminal, based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, the application in other cloud terminals except the target terminal is updated, and the updating efficiency of the application in the cloud terminal is improved.

Description

Application updating method and device for cloud terminal and computer program product
Technical Field
The disclosure relates to the technical field of computers, in particular to cloud service technology, and particularly relates to an application updating method, an application updating device, electronic equipment, a storage medium and a computer program product for a cloud terminal, which can be used in a cloud mobile phone scene.
Background
Currently, online applications typically provide version detection and automatic update functionality. To update applications of a large number of devices, a cloud terminal (such as a cloud mobile phone) usually makes an operator manually execute an update operation of the application once, saves click events of a user in an update process into scripts through a program, and simulates the click events of the user through the scripts, so that batch automatic update of the applications is realized. The cloud terminal basically deploys a large amount of equipment in a machine room, and if a certain cloud terminal application has more updates in the same time period, the application update takes longer time.
Disclosure of Invention
The disclosure provides an application updating method, an application updating device, electronic equipment, a storage medium and a computer program product for a cloud terminal.
According to a first aspect, there is provided an application updating method for a cloud terminal, including: acquiring updated application data of an updated application in a target cloud terminal; generating a bit stream seed according to the updated application data; based on the bitstream seed, applications in other cloud terminals than the target cloud terminal are updated.
According to a second aspect, an application updating apparatus for a cloud terminal includes: an acquisition unit configured to acquire updated application data of an application updated in the target cloud terminal; a generation unit configured to generate a bitstream seed according to the updated application data; and the updating unit is configured to update the application in the cloud terminal except the target cloud terminal based on the bit stream seed.
According to a third aspect, there is provided 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 a method as described in any one of the implementations of the first aspect.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a method as described in any implementation of the first aspect.
According to a fifth aspect, there is provided a computer program product comprising: a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
According to the technology disclosed by the invention, based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, the application in other cloud terminals except the target terminal is updated, and the updating efficiency of the application in the cloud terminal is improved.
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
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is an exemplary system architecture diagram to which an embodiment according to the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of an application update method for a cloud terminal according to the present disclosure;
fig. 3 is a schematic diagram of an application scenario of an application update method for a cloud terminal according to the present embodiment;
FIG. 4 is a flow chart of yet another embodiment of an application update method for a cloud terminal according to the present disclosure;
FIG. 5 is a block diagram of one embodiment of an application update apparatus for a cloud terminal according to the present disclosure;
FIG. 6 is a schematic diagram of a computer system suitable for use in implementing embodiments 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.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
Fig. 1 illustrates an exemplary architecture 100 to which the application update method and apparatus for a cloud terminal of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The communication connection between the terminal devices 101, 102, 103 constitutes a topology network, the network 104 being the medium for providing the communication link between the terminal devices 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 terminal devices 101, 102, 103 may be hardware devices or software supporting network connections for data interaction and data processing. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices supporting network connection, information acquisition, interaction, display, processing, etc., including but not limited to monitoring devices, smartphones, tablet computers, electronic book readers, laptop and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing a cloud terminal platform to a user's terminal device. The server may update the applications in other cloud terminals than the target terminal based on the bit stream seed corresponding to the updated application data of the updated application in the target cloud terminal. As an example, the server 105 may be a cloud server.
The server may be hardware or software. When the server is hardware, the server 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, it may be implemented as a plurality of software or software modules (e.g., software or software modules for providing distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should also be noted that, the application updating method for the cloud terminal provided by the embodiment of the present disclosure may be executed by a server, or may be executed by the server and the terminal device in cooperation with each other. Accordingly, each part (for example, each unit) included in the application updating apparatus for the cloud terminal may be all provided in the server, or may be provided in the server and the terminal device, respectively.
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 terminal devices, networks, and servers, as desired for implementation. When the electronic device on which the application updating method for the cloud terminal operates does not need to perform data transmission with other electronic devices, the system architecture may include only the electronic device (e.g., a server or a terminal device) on which the application updating method for the cloud terminal operates.
Referring to fig. 2, fig. 2 is a flowchart of an application updating method for a cloud terminal according to an embodiment of the disclosure, and a process 200 includes the following steps:
step 201, updated application data of an updated application in a target cloud terminal is obtained.
In this embodiment, the execution body (for example, the terminal device or the server in fig. 1) of the application update method for the cloud terminal may acquire the updated application data of the updated application in the target cloud terminal from a remote location or from a local location through a wired network connection manner or a wireless network connection manner.
Cloud terminals generally refer to terminal devices based on cloud desktop technology. The cloud terminal is connected with a system desktop of the cloud through specific cloud desktop technology communication protocols such as VDI (Virtual Desktop Infrastructure ), RDS (Remote Desktop Services remote desktop service), SPICE (Simple Protocol for Independent Computing Environment, independent computing environment simple protocol) and the like, is displayed on the front end, and the output and input data of the cloud terminal are redirected to the cloud server. For example, the cloud terminal is a cloud mobile phone or a cloud computer.
Various types of applications can be deployed on the cloud terminal, including but not limited to instant messaging applications, office applications, social applications.
The target cloud terminal characterizes a cloud terminal that has updated at least one of the deployed applications to the latest version or a specified version. When one application is updated in the target cloud terminal, updated application data of the one application in the target cloud terminal can be obtained; when a plurality of applications are updated in the target cloud terminal, updated application data of the plurality of applications in the target cloud terminal can be obtained.
As an example, for each application to which a cloud terminal relates, the above-described execution subject may determine a corresponding target cloud terminal of the application, that is, a cloud terminal in which the application is updated. Thus, updated application data of each application can be obtained based on a plurality of target cloud terminals.
In order to acquire updated application data as early as possible, so as to facilitate the update of the application in other cloud terminals, for each application, the cloud terminal that updates the application for the first time may be used as the target cloud terminal.
Step 202, generating a bit stream seed according to the updated application data.
In this embodiment, the bitstream seed is generated according to the updated application data.
The file representation in torret format, including file information necessary for BT download, includes: (1) The SHA1 (Secure Hash Algorithm, secure hash algorithm 1) value of the data in the file is used for data verification in the downloading process, so that the consistency of the data downloaded based on the seed file and the source data when the seed file is generated is ensured, and the vast majority of the space of the seed file is occupied by the information.
(2) The cloud terminal acquires the addresses of the Tracker(s), and then communicates with the Tracker(s) to enable the Tracker(s) to determine files downloaded by the cloud terminal; after receiving the download request, the Tracker records the public network IP (Internet Protocol ) address of the cloud terminal, and informs the cloud terminal of downloading other cloud terminals of the file.
(3) The name of each file in the seed file is convenient for the cloud terminal to directly adopt the same directory structure and file name as the original data when downloading the file.
(4) Other auxiliary and extensible information, such as an http address of a P2SP (Peer to Server & Peer) may be configured to assist in downloading source data corresponding to the seed file, such as an application name for generating the torrent file.
(5) Based on the above information (1) - (4), the torrent will perform hash calculation again on the key information such as the information in (1) and the information in (3), and generate a new SHA1 value as the hash value of the seed file.
In this embodiment, the execution body may determine information of the updated application data as shown in (1) to (5) above, and obtain the bitstream seed.
In some optional implementations of this embodiment, the executing body may execute the step 202 as follows: firstly, generating compressed data of updated application data; and then generating a bit stream seed of the compressed data through a preset seed generation plug-in.
As an example, the execution body may generate the bit stream seed of the compressed data through a preset seed generation plug-in bitmask.
In the implementation mode, the generation efficiency of the bit stream seeds is improved based on the mode that the bit stream seeds are generated through the preset seed generation plug-in after compression.
And step 203, updating the application in the cloud terminal except the target cloud terminal based on the bit stream seed.
In this embodiment, the execution body may update the applications in the cloud terminals other than the target cloud terminal based on the bitstream seed.
Other cloud terminals can acquire the bit stream seeds of the target cloud terminal, and further download corresponding updated application data based on the bit stream seeds. And when the number of downloaded cloud terminals is increased, the downloading speed of the application data is increased. Generally, when N cloud terminals exist to download the same updated application data on a certain server, the server divides the updated application data into N parts and transmits the N parts to different cloud terminals respectively. The cloud terminal downloads the corresponding partial data and exchanges the partial data with other cloud terminals.
Specifically, firstly, after the cloud terminal acquires the torrent file, information in the torrent file is read and loaded into a memory.
Then, after the cloud terminal acquires the address of the Tracker, the cloud terminal communicates with the Tracker to enable the Tracker to determine files downloaded by the cloud terminal; after receiving the download request, the Tracker records the public network IP (Internet Protocol ) address of the cloud terminal, and informs the cloud terminal of downloading other cloud terminals of the file. Typically 200 cloud terminal IPs are returned (if not enough, how many cloud terminals download the application data and how many cloud terminals are returned). In the downloading process, the bit stream protocol requires the cloud terminal to communicate with the Tracker once every preset time period; if the communication is not performed for a long time, the Tracker considers that the cloud terminal is offline.
Then, after the cloud terminal acquires a plurality of IPs, it tries to connect with other cloud terminals one by one. After connection, the cloud terminal and the connected cloud terminal communicate with each other, and data interaction is performed to acquire data of the other party. Of course, if there is an Http auxiliary download address of a P2SP in the torrent file, the cloud terminal may also download data from this Http server at the same time.
In some optional implementations of this embodiment, based on the obtained bitstream seeds corresponding to the plurality of applications, the executing body may execute the step 203 as follows:
first, the compressed data indicated by the bitstream seed is uploaded to the server through the intranet.
And secondly, determining a target application to be updated by each of the other cloud terminals, and downloading a bit stream seed corresponding to the target application to the cloud terminal.
Thirdly, downloading target compressed data from the server to the cloud terminal through the intranet according to the bit stream protocol so as to update the target application in the cloud terminal through the target compressed data.
Wherein the target compressed data characterizes the compressed data indicated by the bitstream seed corresponding to the target application.
In this implementation, the bit stream seeds corresponding to the various applications may be considered as a seed set. Each cloud terminal can determine a bit stream seed corresponding to a target application to be updated from the seed set, and further update the application deployed by the cloud terminal based on the determined bit stream seed. It can be understood that when the cloud terminal needs to update multiple applications deployed by itself, the bit stream seed corresponding to each application to be updated can be determined in turn, and the application is updated.
In the implementation manner, the method for updating the application in the other cloud terminals based on the bit stream seeds reduces the external network flow in the updating process based on the mode of uploading the compressed data of the target cloud terminal and downloading the compressed data by the other cloud terminals on the internal network, and brings great convenience to manufacturers and clients.
In some optional implementations of this embodiment, the user may specify a desired target version of the target application to be updated in each cloud terminal. Further, the execution body may execute the second step and the third step as follows:
determining a target version expected by a target application to be updated by each of the other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through the intranet according to the bit stream protocol so as to update the target application in the cloud terminal to the target version through the target compressed data. Wherein the target compressed data characterizes the compressed data indicated by the bitstream seed corresponding to the target version desired by the target application.
By the implementation mode, the execution main body can update the application more flexibly based on the target version.
In some optional implementations of this embodiment, the executing body may further execute the third step by:
firstly, downloading target compressed data from a server through an intranet to the cloud terminal according to a bit stream protocol.
And then, transferring the target compressed data to a designated position in the cloud terminal through a preset script, and updating the target application in the cloud terminal based on the target compressed data.
As an example, the specified location in the cloud terminal may be a historical installation address of the target application in the cloud terminal. The preset script is used for acquiring a designated position in the cloud terminal and transferring target compressed data to the designated position in the cloud terminal. Furthermore, the execution body may decompress the compressed data to obtain decompressed data, and install the decompressed data to update the target application in the cloud terminal.
In the implementation manner, a manner of automatically triggering compressed data to update the target application is provided, so that the application updating efficiency is further improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of the application update method for a cloud terminal according to the present embodiment. In the application scenario of fig. 3, in the process that the user 301 runs the cloud mobile phone through the terminal device 302, the application a in the cloud mobile phone is updated. The server 303 takes the cloud mobile phone of the user 301 as a target cloud mobile phone, and acquires updated application data 3031 of the updated application a therein. Meanwhile, the server 303 provides platform support for cloud handsets of multiple users. Then, a bit stream seed 3032 is generated based on the updated application data 3031, and the bit stream seed 3032 is uploaded to the BT server 304. When other cloud handsets other than the target cloud handset need to update the deployed application a, the server 303 updates the application a in the other cloud handsets other than the target cloud handset based on the bit stream seed 3032 in the BT server 304.
In the embodiment, based on the bit stream seed corresponding to the updated application data of the updated application in the target cloud terminal, the application in the other cloud terminals except the target terminal is updated, and the updating efficiency of the application in the cloud terminal is improved.
With continued reference to fig. 4, there is shown an illustrative flow 400 of one application update method embodiment for a cloud terminal in accordance with the methods of the present disclosure. The process 400 includes the following steps:
step 401, acquiring updated application data of an updated application in a target cloud terminal.
Step 402, compressed data of the updated application data is generated.
Step 403, generating a bit stream seed of the compressed data by the preset seed generation plug-in.
Step 404, determining a target version expected by the target application to be updated by each cloud terminal in other cloud terminals except the target cloud terminal, and downloading the bit stream seeds corresponding to the target version to the cloud terminal.
And step 405, downloading target compressed data from the server through the intranet to the cloud terminal according to the bit stream protocol.
Wherein the target compressed data characterizes the compressed data indicated by the bitstream seed corresponding to the target version desired by the target application.
And step 406, transferring the target compressed data to a designated position in the cloud terminal through a preset script, and updating the target application in the cloud terminal to the target version based on the target compressed data.
As can be seen from this embodiment, compared with the embodiment corresponding to fig. 2, the flow 400 of the application update method for a cloud terminal in this embodiment specifically illustrates a process of generating a bitstream seed, and the process of updating the target application in other cloud terminals to the target version based on the bitstream seed through the intranet, thereby further improving the application update efficiency and flexibility in the cloud terminal, reducing the extranet traffic in the update process, and bringing great convenience to manufacturers and clients.
With continued reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an application updating apparatus for a cloud terminal, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied in various electronic devices.
As shown in fig. 5, an application updating apparatus for a cloud terminal includes: an acquiring unit 501 configured to acquire updated application data of an application that has been updated in the target cloud terminal; a generating unit 502 configured to generate a bitstream seed according to the updated application data; an updating unit 503 configured to update applications in other cloud terminals than the target cloud terminal based on the bitstream seed.
In some optional implementations of the present embodiment, the generating unit 502 is further configured to: generating compressed data of the updated application data; and generating bit stream seeds of the compressed data through a preset seed generation plug-in.
In some optional implementations of the present embodiments, the bitstream seeds include bitstream seeds corresponding to a plurality of applications; and an updating unit 503, further configured to: uploading the compressed data indicated by the bit stream seeds to a server through an intranet; determining a target application to be updated by each cloud terminal in other cloud terminals, and downloading a bit stream seed corresponding to the target application to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through the intranet according to the bit stream protocol so as to update the target application in the cloud terminal through the target compressed data, wherein the target compressed data represents the compressed data indicated by the bit stream seeds corresponding to the target application.
In some optional implementations of the present embodiment, the updating unit 503 is further configured to: determining a target version expected by a target application to be updated by each of the other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through the intranet according to a bit stream protocol so as to update the target application in the cloud terminal to the target version through the target compressed data, wherein the target compressed data represents the compressed data indicated by the bit stream seeds corresponding to the target version expected by the target application.
In some optional implementations of the present embodiment, the updating unit 503 is further configured to: downloading target compressed data from a server through an intranet to the cloud terminal according to a bit stream protocol; and transferring the target compressed data to a designated position in the cloud terminal through a preset script, and updating the target application in the cloud terminal based on the target compressed data.
In the embodiment, based on the bit stream seed corresponding to the updated application data of the updated application in the target cloud terminal, the application in the other cloud terminals except the target terminal is updated, and the updating efficiency of the application in the cloud terminal is improved.
According to an embodiment of the present disclosure, the present disclosure further 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, such that the at least one processor, when executed, is capable of implementing the application updating method for a cloud terminal described in any of the above embodiments.
According to an embodiment of the present disclosure, there is also provided a readable storage medium storing computer instructions for enabling a computer to implement the application updating method for a cloud terminal described in any of the above embodiments when executed.
The disclosed embodiments provide a computer program product that, when executed by a processor, enables the application update method for a cloud terminal described in any of the above embodiments.
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 RAM603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM603 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 respective methods and processes described above, for example, an application update method for a cloud terminal. For example, in some embodiments, the application update method for a cloud terminal 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 the RAM603 and executed by the computing unit 601, one or more steps of the application update method for a cloud terminal described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the application update method for the cloud terminal 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.
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 as 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 (VPS, virtual Private Server) service; or may be a server of a distributed system or a server incorporating a blockchain.
According to the technical scheme of the embodiment of the disclosure, based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, the application in the other cloud terminals except the target terminal is updated, and the updating efficiency of the application in the cloud terminal is improved.
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 (10)

1. An application updating method for a cloud terminal, comprising:
for each application related to the cloud terminal, determining the cloud terminal for updating the application for the first time as a target cloud terminal corresponding to the application;
acquiring updated application data of an updated application in a target cloud terminal;
generating bit stream seeds according to the updated application data, wherein the bit stream seeds comprise bit stream seeds corresponding to various applications;
based on the bitstream seed, updating applications in other cloud terminals than the target cloud terminal, including:
uploading the compressed data indicated by the bit stream seeds to a server through an intranet; determining a target application to be updated by each cloud terminal in other cloud terminals, and downloading a bit stream seed corresponding to the target application to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through an intranet according to a bit stream protocol so as to update the target application in the cloud terminal through the target compressed data, wherein the target compressed data represents compressed data indicated by a bit stream seed corresponding to the target application.
2. The method of claim 1, wherein the generating a bitstream seed from the updated application data comprises:
generating compressed data of the updated application data;
and generating a bit stream seed of the compressed data through a preset seed generation plug-in.
3. The method of claim 1, wherein the determining the target application to be updated by each of the other cloud terminals, downloading the bitstream seed corresponding to the target application to the cloud terminal, comprises:
determining a target version expected by a target application to be updated by each of the other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and
downloading target compressed data from the server to the cloud terminal through an intranet according to a bit stream protocol, so as to update the target application in the cloud terminal through the target compressed data, including:
and downloading target compressed data from the server to the cloud terminal through an intranet according to a bit stream protocol so as to update the target application in the cloud terminal to the target version through the target compressed data, wherein the target compressed data represents the compressed data indicated by the bit stream seeds corresponding to the target version expected by the target application.
4. The method of claim 1, wherein downloading, according to a bit stream protocol, target compressed data from the server to the cloud terminal through an intranet to update the target application in the cloud terminal through the target compressed data comprises:
downloading the target compressed data from the server through an intranet to the cloud terminal according to a bit stream protocol;
and transferring the target compressed data to a designated position in the cloud terminal through a preset script, and updating the target application in the cloud terminal based on the target compressed data.
5. An application updating apparatus for a cloud terminal, comprising:
a determining unit configured to determine, for each application to which the cloud terminal relates, a cloud terminal that updates the application for the first time as a target cloud terminal corresponding to the application;
an acquisition unit configured to acquire updated application data of an application updated in the target cloud terminal;
a generating unit configured to generate a bitstream seed according to the updated application data, wherein the bitstream seed includes bitstream seeds corresponding to a plurality of applications;
an updating unit configured to update applications in cloud terminals other than the target cloud terminal based on the bitstream seed, including:
uploading the compressed data indicated by the bit stream seeds to a server through an intranet; determining a target application to be updated by each cloud terminal in other cloud terminals, and downloading a bit stream seed corresponding to the target application to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through an intranet according to a bit stream protocol so as to update the target application in the cloud terminal through the target compressed data, wherein the target compressed data represents compressed data indicated by a bit stream seed corresponding to the target application.
6. The apparatus of claim 5, wherein the generating unit is further configured to:
generating compressed data of the updated application data; and generating a bit stream seed of the compressed data through a preset seed generation plug-in.
7. The apparatus of claim 5, wherein the updating unit is further configured to:
determining a target version expected by a target application to be updated by each of the other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and downloading target compressed data from the server to the cloud terminal through an intranet according to a bit stream protocol so as to update the target application in the cloud terminal to the target version through the target compressed data, wherein the target compressed data represents the compressed data indicated by the bit stream seeds corresponding to the target version expected by the target application.
8. The apparatus of claim 5, wherein the updating unit is further configured to:
downloading the target compressed data from the server through an intranet to the cloud terminal according to a bit stream protocol; and transferring the target compressed data to a designated position in the cloud terminal through a preset script, and updating the target application in the cloud terminal based on the target compressed data.
9. 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 method of any one of claims 1-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
CN202111024998.5A 2021-09-02 2021-09-02 Application updating method and device for cloud terminal and computer program product Active CN113741937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111024998.5A CN113741937B (en) 2021-09-02 2021-09-02 Application updating method and device for cloud terminal and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111024998.5A CN113741937B (en) 2021-09-02 2021-09-02 Application updating method and device for cloud terminal and computer program product

Publications (2)

Publication Number Publication Date
CN113741937A CN113741937A (en) 2021-12-03
CN113741937B true CN113741937B (en) 2024-03-15

Family

ID=78734846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111024998.5A Active CN113741937B (en) 2021-09-02 2021-09-02 Application updating method and device for cloud terminal and computer program product

Country Status (1)

Country Link
CN (1) CN113741937B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795203A (en) * 2009-02-03 2010-08-04 华为软件技术有限公司 Method and device for downloading software upgrading data packet
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103051732A (en) * 2013-01-18 2013-04-17 上海云和信息系统有限公司 Cloud computation system for realizing automatic data pushing and distributing function and automatic pushing method
CN108449427A (en) * 2018-04-17 2018-08-24 银川华联达科技有限公司 A kind of big data system based on home computer
CN112165523A (en) * 2020-09-28 2021-01-01 腾讯科技(深圳)有限公司 Data downloading method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243226B2 (en) * 2001-12-12 2007-07-10 Valve Corporation Method and system for enabling content security in a distributed system
CN103220308B (en) * 2012-01-19 2018-07-03 腾讯科技(深圳)有限公司 A kind of document down loading method, apparatus and system
CN103248660A (en) * 2012-02-13 2013-08-14 深圳市腾讯计算机系统有限公司 Method and system for cloud subscription downloading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795203A (en) * 2009-02-03 2010-08-04 华为软件技术有限公司 Method and device for downloading software upgrading data packet
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103051732A (en) * 2013-01-18 2013-04-17 上海云和信息系统有限公司 Cloud computation system for realizing automatic data pushing and distributing function and automatic pushing method
CN108449427A (en) * 2018-04-17 2018-08-24 银川华联达科技有限公司 A kind of big data system based on home computer
CN112165523A (en) * 2020-09-28 2021-01-01 腾讯科技(深圳)有限公司 Data downloading method and device

Also Published As

Publication number Publication date
CN113741937A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN108696899B (en) SIP message transmitting and receiving method and transmitting and receiving device
CN114089974B (en) Cloud code development system, method, device, equipment and storage medium
CN112540898B (en) Data processing method, platform, system, electronic device and readable medium
CN111782229B (en) Method and device for starting small program and electronic equipment
US10938773B2 (en) Method and apparatus for synchronizing contact information and 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
CN115934076B (en) Cross-platform client micro-service providing device and method and electronic equipment
CN110795328A (en) Interface testing method and device
CN113741937B (en) Application updating method and device for cloud terminal and computer program product
CN111092774A (en) Configuration method and equipment of acquisition gateway
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN114422572B (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN114389969B (en) Method and device for testing client, electronic equipment and storage medium
CN113747423B (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN113535020B (en) Method, apparatus, device, medium and product for generating application icons
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN115469561A (en) Simulation test method and device, electronic device and storage medium
CN114157917B (en) Video editing method and device and terminal equipment
CN113472565B (en) Method, apparatus, device and computer readable medium for expanding server function
CN114401300B (en) Cloud application control method, device, equipment, medium and program product
CN112311833B (en) Data updating method and device
CN109388536B (en) Data collection method and device
CN116009920A (en) Application update package determining method and device, electronic equipment, storage medium and product
CN114420126A (en) Voice data volume control method and device and electronic equipment

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