CN112379904B - Automatic application updating method based on cloud mobile phone - Google Patents
Automatic application updating method based on cloud mobile phone Download PDFInfo
- Publication number
- CN112379904B CN112379904B CN202011280236.7A CN202011280236A CN112379904B CN 112379904 B CN112379904 B CN 112379904B CN 202011280236 A CN202011280236 A CN 202011280236A CN 112379904 B CN112379904 B CN 112379904B
- Authority
- CN
- China
- Prior art keywords
- update
- mobile phone
- difference
- patch
- coefficient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
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)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to an automatic application updating mechanism based on a cloud mobile phone, which comprises an information acquisition module, an updating control module and a difference patch sending sequence.
Description
Technical Field
The invention relates to the field of cloud mobile phone program control, in particular to an automatic application updating method based on a cloud mobile phone.
Background
With the development of the mobile phone industry, especially the cloud mobile phone industry, the market competition of mobile phone application programs is more and more intense. In the face of such a fierce market competition environment, good user experience is achieved, rich functional designs are the core of retaining users and improving user stickiness. The current mobile application update method is shown in fig. 1, and after the version 1.0 is developed, the test is performed first, and then the latest installation package is released to each application market. When a user installs an application and uses the application for a period of time, if a market department needs to immediately go online a new function through research or the user feeds back a serious BUG, a development team can release the next version1.1 for the user to download and upgrade.
However, the existing automatic application update mechanism of the cloud mobile phone has the following problems:
1) because a complete installation package needs a large flow, the initiative updating willingness of a user in a traditional application updating mode is not strong sometimes, so that the propelling speed of a new version is slow, new business of a company cannot be rapidly expanded, or generated BUGs cannot be timely repaired.
2) Because the cloud mobile phone may run a plurality of programs at the same time, when the mobile phone runs a memory or the network bandwidth is insufficient, the cloud mobile phone occupies more memories or network resources to download, install or restart the update package, which easily causes the shortage of the memory or network resources of the mobile phone, causes the equipment to be used in a stuck state or in an error, and reduces the user experience.
Therefore, it is necessary to provide an automatic application updating method based on a cloud mobile phone, which reduces the excessive occupation of mobile phone memory or network resources in the updating process of mobile phone application programs, and reduces the number of resources occupied by downloading and installing updated resources by setting updated contents more reasonably.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: 1) because a complete installation package needs a large flow, the initiative updating willingness of a user in a traditional application updating mode is not strong sometimes, so that the propelling speed of a new version is slow, new business of a company cannot be rapidly expanded, or generated BUGs cannot be timely repaired; 2) because the cloud mobile phone may run a plurality of programs at the same time, when the mobile phone runs a memory or the network bandwidth is insufficient, the cloud mobile phone occupies more memories or network resources to download, install or restart the update package, which easily causes the shortage of the memory or network resources of the mobile phone, causes the equipment to be used in a stuck state or in an error, and reduces the user experience.
The technical scheme adopted by the invention for solving the technical problems is as follows:
an automatic application updating method based on a cloud mobile phone is characterized in that: the method comprises the following steps:
s1, an application program of a mobile phone terminal logs in a server terminal, the server terminal reads the version number of the application program and compares the version number with server data to generate at least one difference patch and a difference patch index, wherein the index comprises the name of a functional module, the size of the patch and the type of the patch corresponding to the at least one difference patch; wherein the patch types are classified into business update, BUG update and function update;
s2, the server side sends the at least one difference patch and the difference patch index to an updating control module;
s3, the update control module drives the information acquisition module to acquire information to the mobile phone terminal;
the method specifically comprises the following steps: the information acquisition module acquires the residual bandwidth condition, the mobile phone CPU occupation condition and COOKIE file information from the mobile phone;
s4, the information acquisition module sends the information to the update control module for analysis, and the method specifically comprises the following steps:
the update control module compares the size of at least one difference patch with the current residual bandwidth, and determines whether a single difference patch can be completely transmitted within a preset time, specifically, for example: the sizes of the plurality of difference patches are Mi respectively, the preset time is t, the current residual bandwidth is v, whether Mi is larger than vXt or not is judged, and if Mi is smaller than or equal to vXt. The transmission coefficient s1 of the difference patch is 1, if Mi is greater than v × t, the transmission coefficient s1 of the difference patch is vt/Mi;
the updating control module analyzes the occupation situation of the CPU, and if the occupation situation of the CPU exceeds 80%, a necessary coefficient s2 of the commercial updating is equal to 0; the essential coefficient s2 of the BUG update is 1, the essential coefficient s2 of the function update is 0.6, and if the occupancy of the CPU is between 30% and 80%, the essential coefficient s2 of the commercial update is 0.5; the essential coefficient s2 of the BUG update is 1, and the essential coefficient s2 of the function update is 1; if the CPU occupancy is less than 30%, the necessary coefficient for commercial update s2 is 0.8; the essential coefficient s2 of the BUG update is 1, and the essential coefficient s2 of the function update is 1;
the updating control module extracts COOKIE file information from the mobile phone through the information extraction module, extracts keywords of the COOKIE files, and carries out semantic similarity analysis on the keywords and names of the corresponding function modules in the difference patch index; the similarity between the keyword and the name of the corresponding functional module in the index of the difference patch is pi, and the functional coefficient of the difference patch isWhereinThe similarity average value of the difference patch is used;
s5, the updating control module sends installation difference patches to the mobile phone according to the descending order of the total coefficient values of the difference patches;
the total coefficient S of the difference patches is S1+ S2+ S3, and the updating control module sends the installation difference patches to the mobile phone in the descending order of the total coefficient of each difference patch.
According to the automatic application updating method based on the cloud mobile phone, the excessive occupation of mobile phone memory or network resources in the updating process of the mobile phone application program is reduced, and the quantity of resources occupied by downloading and installing updated resources is reduced by setting the updated content more reasonably.
Drawings
Fig. 1 is a flowchart of an automatic update mechanism for an application of a cloud phone in the prior art;
fig. 2 is a structural diagram of an automatic application update system of a cloud mobile phone provided in the present invention.
Detailed Description
The cloud-based application automatic updating method of the present invention will be described in further detail below.
The present invention will now be described in more detail with reference to the accompanying drawings, in which preferred embodiments of the invention are shown, it being understood that one skilled in the art may modify the invention herein described while still achieving the beneficial results of the present invention. Accordingly, the following description should be construed as broadly as possible to those skilled in the art and not as limiting the invention.
In the interest of clarity, not all features of an actual implementation are described. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. It will of course be appreciated that in the development of any such actual embodiment, numerous implementation-specific details must be set forth in order to achieve the developer's specific goals.
In order to make the objects and features of the present invention more comprehensible, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It is to be noted that the drawings are in a very simplified form and are all used in a non-precise ratio for the purpose of facilitating and clearly aiding in the description of the embodiments of the invention.
In the embodiment of the invention, the client can be application software running on a cloud mobile phone terminal, such as short video software, a network game and the like. However, as will be appreciated by those skilled in the art, other mobile intelligent terminals based on a cloud network may be substituted for the cloud mobile phone terminal, such as a tablet computer, a desktop computer, or a notebook computer.
The automatic application updating system based on the cloud mobile phone comprises: the mobile phone comprises a server, an update control module, an information acquisition module and a mobile phone end. The server is connected to the mobile phone end through the updating control module, and the mobile phone end is connected with the updating control module in a bidirectional mode through the information acquisition module.
The server is used for receiving the request or automatically analyzing the installation condition of the application on the cloud mobile phone when the mobile phone application logs in, and generating a plurality of difference patches by combining the installation condition or the request condition.
The update control module is responsible for controlling the transmission sequence or transmission mode of the plurality of patches.
The information acquisition module is used for acquiring the residual bandwidth condition, the mobile phone CPU occupation condition and the COOKIE file condition from the mobile phone end, and sending the information to the updating control module for sending and updating the difference patch.
The mobile phone end is used for installing the application program and receiving the difference patch for installation, so that automatic updating of the cloud mobile phone application is achieved.
The cloud mobile phone-based application automatic updating method based on the system specifically comprises the following steps:
s1, an application program of a mobile phone terminal logs in a server terminal, the server terminal reads the version number of the application program and compares the version number with server data to generate at least one difference patch and a difference patch index, wherein the index comprises the name of a function module, the size of the patch and the type of the patch corresponding to the at least one difference patch. Among them, the patch types are classified into business update, BUG update, and function update.
And S2, the server side sends the at least one difference patch and the difference patch index to the updating control module.
And S3, the update control module drives the information acquisition module to acquire information to the mobile phone terminal.
The method specifically comprises the following steps: and the information acquisition module acquires the residual bandwidth condition, the mobile phone CPU occupation condition and COOKIE file information from the mobile phone.
S4, the information acquisition module sends the information to the update control module for analysis, and the method specifically comprises the following steps:
the update control module compares the size of at least one difference patch with the current residual bandwidth, and determines whether a single difference patch can be completely transmitted within a preset time, specifically, for example: the sizes of the plurality of difference patches are Mi respectively, the preset time is t, the current residual bandwidth is v, whether Mi is larger than v multiplied by t is judged, and if Mi is smaller than or equal to v multiplied by t. The difference patch has a transmission coefficient s1 of 1, and if Mi is greater than v × t, the difference patch has a transmission coefficient s1 of vt/Mi.
The updating control module analyzes the occupation situation of the CPU, if the occupation of the CPU exceeds 80%, the necessary coefficient s2 of the commercial updating is 0, the necessary coefficient s2 of the BUG updating is 1, the necessary coefficient s2 of the function updating is 0.6, if the occupation of the CPU is between 30% and 80%, the necessary coefficient s2 of the commercial updating is 0.5, the necessary coefficient s2 of the BUG updating is 1, and the necessary coefficient s2 of the function updating is 1; if the CPU occupancy is less than 30%, the necessary coefficient for commercial update s2 becomes 0.8, the necessary coefficient for BUG update s2 becomes 1, and the necessary coefficient for function update s2 becomes 1.
And the updating control module extracts COOKIE file information from the mobile phone through the information extraction module, extracts keywords of the COOKIE files, and performs semantic similarity analysis on the keywords and names of the corresponding function modules in the difference patch index. The semantic analysis may adopt any one of semantic similarity calculation methods commonly used in the art, such as hash calculation, word tree, and the like. The similarity between the keyword and the name of the corresponding functional module in the index of the difference patch is pi, and the functional coefficient of the difference patch isWherein;is the mean value of the similarity of the difference patches.
And S5, the updating control module sends the installation difference patches to the mobile phone according to the descending sequence of the total coefficient values of the difference patches.
The total coefficient S of the difference patches is S1+ S2+ S3, and the updating control module sends the installation difference patches to the mobile phone in the descending order of the total coefficient of each difference patch.
According to the automatic application updating method based on the cloud mobile phone, the excessive occupation of mobile phone memory or network resources in the updating process of the mobile phone application program is reduced, and the quantity of resources occupied by downloading and installing updated resources is reduced by setting the updated content more reasonably.
The foregoing shows and describes the general principles, essential features and advantages of the invention, which is, therefore, described only as an example of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are merely illustrative of the principles of the invention, but rather that the invention includes various equivalent changes and modifications without departing from the spirit and scope of the invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (1)
1. An automatic application updating method based on a cloud mobile phone is characterized in that: the method comprises the following steps:
s1, an application program of a mobile phone terminal logs in a server terminal, the server terminal reads the version number of the application program and compares the version number with server data to generate at least one difference patch and a difference patch index, wherein the index comprises the name of a functional module, the size of the patch and the type of the patch corresponding to the at least one difference patch; wherein the patch types are classified into business update, BUG update and function update;
s2, the server side sends the at least one difference patch and the difference patch index to an updating control module;
s3, the update control module drives the information acquisition module to acquire information to the mobile phone terminal;
the method specifically comprises the following steps: the information acquisition module acquires the residual bandwidth condition, the mobile phone CPU occupation condition and COOKIE file information from the mobile phone;
s4, the information acquisition module sends the information to the update control module for analysis, and the method specifically comprises the following steps:
the updating control module compares the size of at least one difference patch with the current residual bandwidth, and judges whether a single difference patch can be completely sent within a preset time, specifically, the size of the ith difference patch is Mi, the preset time is t, the current residual bandwidth is v, and judges whether Mi is greater than vxt, if Mi is less than or equal to vxt, the transmission coefficient s1 of the difference patch is 1, and if Mi is greater than vxt, the transmission coefficient s1 of the difference patch is vt/Mi;
if the CPU occupancy exceeds 80%, the necessary coefficient for the commercial update is set to s2 ═ 0; the necessary coefficient for a BUG update is set to s2 ═ 1, the necessary coefficient for a function update is set to s2 ═ 0.6, and if the occupancy of the CPU is between 30% and 80%, the necessary coefficient for a commercial update is set to s2 ═ 0.5; the necessary coefficient for the BUG update is set to s2 ═ 1, and the necessary coefficient for the function update is set to s2 ═ 1; if the CPU occupancy is less than 30%, the necessary coefficient for the commercial update is set to s2 ═ 0.8; the necessary coefficient for the BUG update is set to s2 ═ 1, and the necessary coefficient for the function update is set to s2 ═ 1;
the updating control module extracts COOKIE file information from the mobile phone through the information extraction module, extracts keywords of the COOKIE files, and performs semantic similarity analysis on the keywords and names of corresponding function modules in the difference patch index; the similarity between the keyword and the name of the corresponding functional module in the index of the difference patch is pi, and the functional coefficient of the difference patch isWhereinThe similarity average value of the difference patch is used;
s5, the updating control module sends installation difference patches to the mobile phone according to the descending order of the total coefficient values of the difference patches;
the total coefficient S of the difference patches is S1+ S2+ S3, and the updating control module sends the installation difference patches to the mobile phone in the descending order of the total coefficient of each difference patch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011280236.7A CN112379904B (en) | 2020-11-16 | 2020-11-16 | Automatic application updating method based on cloud mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011280236.7A CN112379904B (en) | 2020-11-16 | 2020-11-16 | Automatic application updating method based on cloud mobile phone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112379904A CN112379904A (en) | 2021-02-19 |
CN112379904B true CN112379904B (en) | 2022-06-07 |
Family
ID=74584755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011280236.7A Active CN112379904B (en) | 2020-11-16 | 2020-11-16 | Automatic application updating method based on cloud mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112379904B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113766487B (en) * | 2021-09-01 | 2023-11-14 | 北京百度网讯科技有限公司 | Cloud mobile phone information acquisition method, device, equipment and medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539676B (en) * | 2014-12-18 | 2016-04-13 | 深圳市腾讯计算机系统有限公司 | There is provided, obtain the methods, devices and systems of application installation kit |
US10719608B2 (en) * | 2015-02-06 | 2020-07-21 | Honeywell International Inc. | Patch monitoring and analysis |
CN105930505A (en) * | 2016-05-09 | 2016-09-07 | 广州神马移动信息科技有限公司 | Information search method and apparatus |
CN110417785A (en) * | 2019-07-31 | 2019-11-05 | 湖南微算互联信息技术有限公司 | A kind of installation method, system and the storage medium of cloud mobile phone games |
CN110825394B (en) * | 2019-10-14 | 2023-04-28 | 广州微算互联信息技术有限公司 | Automatic initialization method, system and storage medium for application program of cloud mobile phone |
CN110913015B (en) * | 2019-12-12 | 2022-11-11 | 湖南多行云计算机科技有限公司 | Distributed quick installation method, system and medium for cloud mobile phone APP |
CN111803921B (en) * | 2020-06-09 | 2024-02-02 | 广州速启科技有限责任公司 | Game interaction method based on cloud mobile phone system, electronic equipment and storage medium |
-
2020
- 2020-11-16 CN CN202011280236.7A patent/CN112379904B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112379904A (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102493449B1 (en) | Edge computing test methods, devices, electronic devices and computer-readable media | |
US11032140B2 (en) | Using a template to update a stack of resources | |
US20210218796A1 (en) | Efficient, automated distributed-search methods and systems | |
US9380093B2 (en) | Mobile device application streaming | |
US8065673B2 (en) | Update checking and synchronization for link and offline data | |
US8224886B2 (en) | System for an open architecture deployment platform with centralized synchronization | |
CN101719073B (en) | Intelligent client-based on-demand downloading realization method | |
US11240290B2 (en) | Application download method and apparatus, application sending method and apparatus, and system | |
CN110262807B (en) | Cluster creation progress log acquisition system, method and device | |
CN106598673B (en) | Application program upgrading method and system | |
US20180064936A1 (en) | Cross-platform workload processing | |
AU2019397405B2 (en) | Predictive microservice systems and methods | |
CN105871966A (en) | Message distribution method, device and system | |
CN111782231B (en) | Service deployment method and device | |
WO2023093127A1 (en) | Method and apparatus for monitoring a cluster, and electronic device | |
CN112379904B (en) | Automatic application updating method based on cloud mobile phone | |
CN111475388A (en) | Data push test method and device, computer equipment and storage medium | |
CN113672671A (en) | Method and device for realizing data processing | |
CN108415715A (en) | Method for upgrading software based on scene analysis suitable for automatic vending machine | |
CN113315841A (en) | File uploading method and device, medium and electronic equipment | |
CN111973991A (en) | Control method and device for accelerating game loading through distributed loading resource files | |
CN111368242B (en) | Semantic resource publishing system and method and natural language processing device and method | |
CN114841648B (en) | Material distribution method, device, electronic equipment and medium | |
CN115421785B (en) | Method, device and medium for transplanting application program | |
US11409716B2 (en) | File conflict detection |
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 |