CN113741937A - 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
CN113741937A
CN113741937A CN202111024998.5A CN202111024998A CN113741937A CN 113741937 A CN113741937 A CN 113741937A CN 202111024998 A CN202111024998 A CN 202111024998A CN 113741937 A CN113741937 A CN 113741937A
Authority
CN
China
Prior art keywords
target
cloud terminal
compressed data
application
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.)
Granted
Application number
CN202111024998.5A
Other languages
Chinese (zh)
Other versions
CN113741937B (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

Images

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 Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides an application updating method for a cloud terminal, a related device and a computer program product, 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 bitstream seed according to the updated application data; and updating the applications in other cloud terminals except the target cloud terminal based on the bit stream seeds. According to the method and the device, the applications in other cloud terminals except the target terminal are updated based on the bit stream seeds corresponding to the updated application data of the updated applications in the target cloud terminal, and the updating efficiency of the applications in the cloud terminal is improved.

Description

Application updating method and device for cloud terminal and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a cloud service technology, and in particular, to an application update method and apparatus for a cloud terminal, an electronic device, a storage medium, and a computer program product, which can be used in a cloud mobile phone scenario.
Background
Currently, online applications typically provide version detection and automatic update functions. In order to implement application update of a large amount of devices, a cloud terminal (e.g., a cloud mobile phone) generally makes an operator manually perform an application update operation, stores a click event of a user in an update process into a script through a program, and then simulates the click event of the user through the script, thereby implementing batch automatic update of the application. The cloud terminal basically deploys a large number of devices in one machine room, and if a certain cloud terminal application is updated more in the same time period, the application updating time is long.
Disclosure of Invention
The disclosure provides an application updating method and device for a cloud terminal, an electronic device, a storage medium and a computer program product.
According to a first aspect, an application update method for a cloud terminal is provided, which includes: acquiring updated application data of an updated application in a target cloud terminal; generating a bitstream seed according to the updated application data; and updating the applications in other cloud terminals except the target cloud terminal based on the bit stream seeds.
According to a second aspect, an application update apparatus for a cloud terminal includes: an acquisition unit configured to acquire updated application data of an updated application in a target cloud terminal; a generating unit configured to generate a bitstream seed according to the updated application data; and the updating unit is configured to update the applications in other cloud terminals except the target cloud terminal based on the bit stream seeds.
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 the 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 having stored thereon computer instructions for causing a computer to perform a method as described in any one of the implementations of the first aspect.
According to a fifth aspect, there is provided a computer program product comprising: computer program which, when being executed by a processor, carries out the method as described in any of the implementations of the first aspect.
According to the technology disclosed by the invention, the applications in other cloud terminals except the target terminal are updated based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, so that the updating efficiency of the applications in the cloud terminal is improved.
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
The drawings are included to provide 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 in which one embodiment according to the present disclosure may be applied;
fig. 2 is a flowchart 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 flowchart 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 block 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 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.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
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, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The communication connections between the terminal devices 101, 102, 103 form a topological network, and the network 104 serves to provide a medium for communication links between the terminal devices 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 terminal devices 101, 102, 103 may be hardware devices or software that support network connections for data interaction and data processing. When the terminal devices 101, 102, and 103 are hardware, they may be various electronic devices supporting network connection, information acquisition, interaction, display, processing, and the like, including but not limited to a monitoring device, a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a background server that provides a cloud terminal platform to a terminal device of a user. The server may update the applications in the other cloud terminals except the target terminal based on the bitstream 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, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be further noted that the application updating method for the cloud terminal provided by the embodiment of the present disclosure may be executed by the 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 entirely 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 update method for the cloud terminal is operated 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 update method for the cloud terminal is operated.
Referring to fig. 2, fig. 2 is a flowchart of an application updating method for a cloud terminal according to an embodiment of the present disclosure, where the process 200 includes the following steps:
step 201, obtaining updated application data of an updated application in a target cloud terminal.
In this embodiment, an execution subject (for example, the terminal device or the server in fig. 1) of the application update method for the cloud terminal may obtain updated application data of an updated application in the target cloud terminal from a remote location or a local location through a wired network connection manner or a wireless network connection manner.
The cloud terminal generally refers to a terminal device based on a cloud desktop technology. The system Desktop is connected with the system Desktop of the cloud end through specific cloud Desktop technology communication protocols such as VDI (Virtual Desktop Infrastructure), RDS (Remote Desktop Services), SPICE (Simple Protocol for Independent Computing Environment) and the like, and is displayed to the front end, and 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, and social applications.
The target cloud terminal characterizes a cloud terminal that has updated at least one of the deployed applications to a 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 acquired; 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 acquired.
As an example, for each application involved in the cloud terminal, the execution subject may determine a corresponding target cloud terminal of the application, that is, a cloud terminal that updates the application. Thus, updated application data of each application can be obtained based on the plurality of target cloud terminals.
In order to acquire updated application data as early as possible and facilitate corresponding updating in other cloud terminals, for each application, the cloud terminal that updates the application first may be used as a target cloud terminal.
Step 202, generating a bitstream seed according to the updated application data.
In this embodiment, a bitstream seed is generated according to the updated application data.
A BT (BitTorrent, bit stream) seed generally adopts the file representation of a torrrent format, which comprises file information necessary for BT downloading, and comprises the following steps: (1) the SHA1(Secure Hash Algorithm 1) value of the data in the file is used for data verification in the downloading process, so that the downloaded data based on the seed file is consistent with the source data when the seed file is generated, and the information occupies most space of the seed file.
(2) The cloud terminal acquires the addresses of the designated one or more Tracker(s), and then communicates with the Tracker so that the Tracker can determine the files downloaded by the cloud terminal; after receiving the download request, Tracker records a public network IP (Internet Protocol) address of the cloud terminal and informs the cloud terminal of other cloud terminals downloading the file.
(3) The name of each file in the seed file facilitates the cloud terminal to directly adopt the same directory structure and file name as the original data when downloading the files.
(4) Other auxiliary and extensible information, such as http address of a P2SP (Peer to Server & Peer, point to Server and point) may be configured to assist downloading source data corresponding to the torrent file, such as the application name for generating the torrent file.
(5) Based on the above information (1) - (4), torrent performs hash calculation again on the key information such as the information in (1) and the information in (3), and generates a new SHA1 value as the hash value of the seed file.
In this embodiment, the execution main body may determine the 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 main body may execute the step 202 by: 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 a bitstream seed of the compressed data through a preset seed generation plug-in Bitcomet.
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 by the preset seed generation plug-in after compression.
And step 203, updating applications in other cloud terminals except the target cloud terminal based on the bit stream seeds.
In this embodiment, the execution subject may update applications in other cloud terminals except the target cloud terminal based on the bitstream seed.
Other cloud terminals can obtain the bit stream seeds of the target cloud terminal, and then download corresponding updated application data based on the bit stream seeds. When more cloud terminals are downloaded, the downloading speed of the application data is higher. Generally speaking, when N cloud terminals download the same updated application data on a certain server, the server divides the updated application data into N parts, and respectively transmits the N parts to different cloud terminals. The cloud terminal exchanges respective partial data with other cloud terminals while downloading the partial data corresponding to the cloud terminal.
Specifically, after the cloud terminal acquires the torrent file, the information in the torrent file is read and loaded into the memory.
Then, after acquiring the address of the Tracker, the cloud terminal communicates with the Tracker, so that the Tracker determines the file downloaded by the cloud terminal; after receiving the download request, Tracker records a public network IP (Internet Protocol) address of the cloud terminal and informs the cloud terminal of other cloud terminals downloading the file. The IPs of 200 cloud terminals are typically returned (if not enough, how many cloud terminals to download the application data return the IPs of how many cloud terminals). 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 carried out for a long time, the Tracker considers that the cloud terminal is off-line.
Then, after acquiring the plurality of IPs, the cloud terminal tries to connect to another cloud terminal one by one. After connection, the cloud terminal and the connected cloud terminal communicate with each other to perform data interaction and acquire data of the other party. Of course, if there is an Http auxiliary download address of P2SP in the torrent file, the cloud terminal may also download data from the Http server at the same time.
In some optional implementations of this embodiment, based on the obtained bitstream seeds corresponding to the multiple applications, the executing main body may execute the step 203 by:
first, the compressed data indicated by the bitstream seed is uploaded to the server over the intranet.
Secondly, a target application to be updated by each of the other cloud terminals is determined, and the bitstream seeds corresponding to the target application are downloaded to the cloud terminal.
Thirdly, target compressed data are downloaded from the server side to the cloud terminal through the intranet according to a bit stream protocol, so that target application in the cloud terminal is updated through the target compressed data.
Wherein the target compressed data characterizes compressed data indicated by the bitstream seed corresponding to the target application.
In this implementation, the bitstream seeds corresponding to various applications can be regarded 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 bitstream seeds corresponding to each application to be updated may be determined in sequence, and the applications may be updated.
In the implementation mode, a method for updating applications in other cloud terminals based on the bit stream seeds is provided, and the external network flow in the updating process is reduced based on the mode that the internal network uploads the compressed data of the target cloud terminal and the other cloud terminals download the compressed data, so that great convenience is brought to manufacturers and customers.
In some optional implementations of the present embodiment, the user may specify a target version desired by the target application to be updated in each cloud terminal. Further, the execution main 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 other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and according to a bit stream protocol, downloading target compressed data from the server side to the cloud terminal through the intranet, so as to update the target application in the cloud terminal to a target version through the target compressed data. Wherein the target compressed data characterizes compressed data indicated by the bitstream seed corresponding to the target version desired by the target application.
Through 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, target compressed data is downloaded from a server side to the cloud terminal through an intranet according to a bit stream protocol.
And then, transferring the target compressed data to a specified 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 designated 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 the target compressed data to the designated position in the cloud terminal. Furthermore, the execution main body may decompress the compressed data to obtain decompressed data, install the decompressed data, and update the target application in the cloud terminal.
In the implementation mode, a mode of automatically triggering compressed data to update the target application is provided, and 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 the cloud terminal according to the present embodiment. In the application scenario of fig. 3, in the process that the user 301 operates 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 obtains updated application data 3031 of the updated application a therein. Meanwhile, the server 303 provides platform support for the cloud handsets of multiple users. Then, a bitstream seed 3032 is generated from the updated application data 3031, and the bitstream seed 3032 is uploaded to the BT server 304. When other cloud handsets besides the target cloud handset need to update the deployed application a, the server 303 updates the application a in the other cloud handsets except the target cloud handset based on the bitstream seed 3032 in the BT server 304.
In this embodiment, the applications in the cloud terminals other than the target terminal are updated based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, so that the update efficiency of the applications in the cloud terminal is improved.
With continued reference to fig. 4, an exemplary flow 400 of one embodiment of an application update method for a cloud terminal in accordance with the methods of the present disclosure is shown. The process 400 includes the following steps:
step 401, obtaining updated application data of an updated application in a target cloud terminal.
Step 402, generating compressed data of the updated application data.
Step 403, generating a bitstream seed of the compressed data by a preset seed generation plug-in.
Step 404, determining a target version expected by the target application to be updated by each of the other cloud terminals except the target cloud terminal, and downloading the bitstream seeds corresponding to the target version to the cloud terminal.
Step 405, downloading the target compressed data from the server to the cloud terminal through the intranet according to the bit stream protocol.
Wherein the target compressed data characterizes compressed data indicated by the bitstream seed corresponding to the target version desired by the target application.
And 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 a target version based on the target compressed data.
As can be seen from this embodiment, compared with the embodiment corresponding to fig. 2, the process 400 of the application updating method for the cloud terminal in this embodiment specifically illustrates a generation process of the bit stream seed, and a process of updating the target application in the other cloud terminals to the target version based on the bit stream seed through the intranet further improves the application updating efficiency and flexibility in the cloud terminal, reduces the extranet traffic in the updating process, and brings great convenience to manufacturers and customers.
With continuing reference to fig. 5, as an implementation of the method shown in the above-mentioned figures, the present disclosure provides an embodiment of an application updating apparatus for a cloud terminal, 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 application updating apparatus for a cloud terminal includes: an obtaining unit 501 configured to obtain updated application data of an updated application in a 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 cloud terminals other than the target cloud terminal based on the bitstream seed.
In some optional implementations of this embodiment, the generating unit 502 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.
In some optional implementations of this embodiment, the bitstream seed includes bitstream seeds corresponding to a plurality of applications; and an updating unit 503, further configured to: transmitting the compressed data indicated by the bit stream seeds to a server through an intranet; determining target applications to be updated by each cloud terminal in other cloud terminals, and downloading the bit stream seeds corresponding to the target applications to the cloud terminals; according to a bit stream protocol, target compressed data are downloaded from a server side to the cloud terminal through an intranet, so that target application in the cloud terminal is updated through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to the target application.
In some optional implementations of this embodiment, the updating unit 503 is further configured to: determining a target version expected by a target application to be updated by each of other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; according to a bit stream protocol, target compressed data are downloaded from a server side to the cloud terminal through an intranet, so that a target application in the cloud terminal is updated to a target version through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to a target version expected by the target application.
In some optional implementations of this embodiment, the updating unit 503 is further configured to: downloading target compressed data from a server side to the cloud terminal through an intranet 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 this embodiment, the applications in the cloud terminals other than the target terminal are updated based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, so that the update efficiency of the applications in the cloud terminal is improved.
According to an embodiment of the present disclosure, the present disclosure also 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 the at least one processor can implement the application updating method for the cloud terminal described in any of the above embodiments.
According to an embodiment of the present disclosure, a readable storage medium is further provided, where the readable storage medium stores computer instructions, and the computer instructions are configured to enable a computer to implement the application updating method for a cloud terminal described in any of the above embodiments when executed.
The embodiment of the disclosure provides a computer program product, and the computer program can realize the application updating method for the cloud terminal described in any embodiment when being executed by a processor.
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 RAM603, 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 RAM603 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 executes the respective methods and processes described above, such as an application update method for a cloud terminal. For example, in some embodiments, the application update method for the cloud terminal may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the 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 the cloud terminal described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured by any other suitable means (e.g., by means of firmware) to perform the application update method for the cloud terminal.
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.
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 can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility existing in the traditional physical host and Virtual Private Server (VPS) service; it may also be a server of a distributed system, or a server incorporating a blockchain.
According to the technical scheme of the embodiment of the disclosure, the applications in other cloud terminals except the target terminal are updated based on the bit stream seeds corresponding to the updated application data of the updated application in the target cloud terminal, so that the updating efficiency of the applications in the cloud terminal is improved.
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, 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 (13)

1. An application updating method for a cloud terminal comprises the following steps:
acquiring updated application data of an updated application in a target cloud terminal;
generating a bit stream seed according to the updated application data;
and updating the applications in other cloud terminals except the target cloud terminal based on the bit stream seeds.
2. The method of claim 1, wherein generating a bitstream seed from the updated application data comprises:
generating compressed data of the updated application data;
and generating the bit stream seed of the compressed data through a preset seed generation plug-in.
3. The method of claim 1 or 2, wherein the bitstream seed comprises a bitstream seed corresponding to a plurality of applications; and
the updating of the applications in the cloud terminals other than the target cloud terminal based on the bitstream seeds includes:
transmitting the compressed data indicated by the bit stream seed to a server through an intranet;
determining target application to be updated by each cloud terminal in other cloud terminals, and downloading the bit stream seeds corresponding to the target application to the cloud terminal;
according to a bit stream protocol, target compressed data are downloaded from the server side to the cloud terminal through the intranet, so that the target application in the cloud terminal is updated through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to the target application.
4. The method of claim 3, wherein the determining the target application to be updated by each of the other cloud terminals, and 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 other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; and
the downloading of target compressed data from the server to the cloud terminal through the intranet according to a bit stream protocol to update the target application in the cloud terminal through the target compressed data includes:
according to a bit stream protocol, target compressed data are downloaded from the server side to the cloud terminal through the intranet, so that the target application in the cloud terminal is updated to the target version through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to the target version expected by the target application.
5. The method according to claim 3, wherein the downloading target compressed data from the server to the cloud terminal through the intranet according to the bit stream protocol to update the target application in the cloud terminal through the target compressed data comprises:
downloading the target compressed data from the server to the cloud terminal through an intranet 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.
6. An application updating apparatus for a cloud terminal, comprising:
an acquisition unit configured to acquire updated application data of an updated application in a target cloud terminal;
a generating unit configured to generate a bitstream seed according to the updated application data;
an updating unit configured to update applications in cloud terminals other than the target cloud terminal based on the bitstream seed.
7. The apparatus of claim 6, wherein the generating unit is further configured to:
generating compressed data of the updated application data; and generating the bit stream seed of the compressed data through a preset seed generation plug-in.
8. The apparatus of claim 6 or 7, wherein the bitstream seed comprises a bitstream seed corresponding to a plurality of applications; and
the update unit, further configured to:
transmitting the compressed data indicated by the bit stream seed to a server through an intranet; determining target application to be updated by each cloud terminal in other cloud terminals, and downloading the bit stream seeds corresponding to the target application to the cloud terminal; according to a bit stream protocol, target compressed data are downloaded from the server side to the cloud terminal through the intranet, so that the target application in the cloud terminal is updated through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to the target application.
9. The apparatus of claim 8, wherein the update unit is further configured to:
determining a target version expected by a target application to be updated by each of other cloud terminals, and downloading a bit stream seed corresponding to the target version to the cloud terminal; according to a bit stream protocol, target compressed data are downloaded from the server side to the cloud terminal through the intranet, so that the target application in the cloud terminal is updated to the target version through the target compressed data, wherein the target compressed data represent compressed data indicated by a bit stream seed corresponding to the target version expected by the target application.
10. The apparatus of claim 8, wherein the update unit is further configured to:
downloading the target compressed data from the server to the cloud terminal through an intranet 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.
11. 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 method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product, comprising: computer program which, when being executed by a processor, carries out the method according to any one of claims 1-5.
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 true CN113741937A (en) 2021-12-03
CN113741937B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172270A1 (en) * 2001-12-12 2003-09-11 Newcombe Christopher Richard Method and system for enabling content security in a distributed system
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
US20140108508A1 (en) * 2012-02-13 2014-04-17 Tencent Technology (Shenzhen) Company Limited Cloud subscription download method and system, and computer storage medium
US20140129675A1 (en) * 2012-01-19 2014-05-08 Tencent Technology (Shenzhen) Company Limited File download method, device and system
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172270A1 (en) * 2001-12-12 2003-09-11 Newcombe Christopher Richard Method and system for enabling content security in a distributed system
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
US20140129675A1 (en) * 2012-01-19 2014-05-08 Tencent Technology (Shenzhen) Company Limited File download method, device and system
US20140108508A1 (en) * 2012-02-13 2014-04-17 Tencent Technology (Shenzhen) Company Limited Cloud subscription download method and system, and computer storage medium
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
CN113741937B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN113808231B (en) Information processing method and device, image rendering method and device, and electronic device
CN114089974B (en) Cloud code development system, method, device, equipment and storage medium
CN111782229B (en) Method and device for starting small program and electronic equipment
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
CN114185734B (en) Method and device for monitoring clusters and electronic equipment
EP3506599A1 (en) Method for synchronizing contact information, apparatus, medium, electronic device and system
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN110795328A (en) Interface testing method and device
CN115934076B (en) Cross-platform client micro-service providing device and method and electronic equipment
CN112671892A (en) Data transmission method, data transmission device, electronic equipment, medium and computer program product
CN112732312A (en) Method and device for updating application program, electronic equipment and medium
CN113741937B (en) Application updating method and device for cloud terminal and computer program product
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN113535020B (en) Method, apparatus, device, medium and product for generating application icons
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN115469561A (en) Simulation test method and device, electronic device and storage medium
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN111176679A (en) Application program updating method and device
CN114157917B (en) Video editing method and device and terminal equipment
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN113961207A (en) Application control method, device, electronic equipment and medium
CN113220576B (en) Management method, device, equipment and storage medium of test environment
CN114217837A (en) Software updating method, device, equipment and medium for cloud mobile phone
CN116009920A (en) Application update package determining method and device, electronic equipment, storage medium and product

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