CN111787093B - Application management method, application management device, related equipment and medium - Google Patents

Application management method, application management device, related equipment and medium Download PDF

Info

Publication number
CN111787093B
CN111787093B CN202010602740.8A CN202010602740A CN111787093B CN 111787093 B CN111787093 B CN 111787093B CN 202010602740 A CN202010602740 A CN 202010602740A CN 111787093 B CN111787093 B CN 111787093B
Authority
CN
China
Prior art keywords
application
encrypted data
data file
target
information
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
CN202010602740.8A
Other languages
Chinese (zh)
Other versions
CN111787093A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010602740.8A priority Critical patent/CN111787093B/en
Publication of CN111787093A publication Critical patent/CN111787093A/en
Application granted granted Critical
Publication of CN111787093B publication Critical patent/CN111787093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an application management method, an application management device, related equipment and a medium, wherein the data processing method comprises the following steps: if the target application is detected to have an unreleased target version, encrypting an application data packet of the target version to obtain an encrypted data file; the encrypted data file is issued to a terminal through a channel server; and responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet. The embodiment of the invention can better download and install the application of the target version, reduce the bandwidth pressure and improve the updating efficiency.

Description

Application management method, application management device, related equipment and medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to the field of computer technologies, and in particular, to an application management method, an application management apparatus, a server, a terminal, and a computer storage medium.
Background
With the continuous development of internet technology, more and more applications are generated. For any application, when a target version of the application needs to be released (such as a first-made version or a new version for updating the application), the application server may send an installation package of the target version to each channel server, so that each terminal may obtain the installation package of the target version from the channel server, and install and run the application of the target version according to the installation package of the target version, thereby providing a business service for a user.
Research shows that when a target version of an application is released, a large number of active users often rush in downloads quickly; at this time, there may be a large number of terminals simultaneously requesting the channel server to download the installation package of the target version. As the applied installation packages become larger and larger, a large number of terminals download the installation packages of the target version at the same time, which can cause huge bandwidth pressure for the channel server; moreover, bandwidth can be preempted among the terminals, so that the downloading speed is limited, and the terminals need to spend longer time to complete the downloading of the installation package, so that the time for a user to wait for the downloading and installation of the application is prolonged, and the downloading and installation efficiency is lower. Therefore, how to better download the application installed with the target version becomes a research hotspot.
Disclosure of Invention
The embodiment of the invention provides an application management method, an application management device, related equipment and a medium, which can better download and install the application of a target version, reduce bandwidth pressure and improve updating efficiency.
In one aspect, an embodiment of the present invention provides an application management method, where the application management method is executed by a pre-download server, and the application management method includes:
if the target application is detected to have an unreleased target version, encrypting an application data packet of the target version to obtain an encrypted data file;
the encrypted data file is issued to a terminal through a channel server;
and responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
On the other hand, an embodiment of the present invention provides an application management method, where the application management method is executed by a channel server, and the application management method includes:
if the target application is detected to have an unreleased target version, the encrypted data file of the target version is issued to the terminal; the encrypted data file is obtained by encrypting the application data packet of the target version;
acquiring decryption information of the encrypted data file in response to the release notification for the target version;
and sending the decryption information to the terminal, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides an application management method, where the application management method is executed by a terminal, and the application management method includes:
if the target application is detected to have an unreleased target version, acquiring an encrypted data file of the target version through a channel server, wherein the encrypted data file is obtained by encrypting an application data packet of the target version;
acquiring decryption information of the encrypted data file from the channel server in response to the publication notification for the target version;
and decrypting the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides an application management apparatus, where the application management apparatus runs in a pre-download server, and the application management apparatus includes:
the encryption unit is used for encrypting the application data packet of the target version to obtain an encrypted data file if the target application is detected to have the target version which is not released;
the communication unit is used for issuing the encrypted data file to a terminal through a channel server;
the communication unit is further configured to issue decryption information of the encrypted data file to the terminal through the channel server in response to the release notification for the target version, so that the terminal decrypts the encrypted data file by using the decryption information to obtain the application data packet, and installs the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides an application management apparatus, where the application management apparatus runs in a channel server, and the application management apparatus includes:
the communication unit is used for issuing the encrypted data file of the target version to a terminal if the target application is detected to have the target version which is not issued; the encrypted data file is obtained by encrypting the application data packet of the target version;
a processing unit configured to acquire decryption information of the encrypted data file in response to a release notification for the target version;
the communication unit is further configured to send the decryption information to the terminal, so that the terminal decrypts the encrypted data file by using the decryption information to obtain the application data packet, and installs the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides an application management apparatus, where the application management apparatus runs in a terminal, and the application management apparatus includes:
the device comprises an acquisition unit, a channel server and a distribution unit, wherein the acquisition unit is used for acquiring an encrypted data file of a target version through the channel server if the target version which is not released exists in a target application, and the encrypted data file is obtained by encrypting an application data packet of the target version;
the obtaining unit is further configured to obtain decryption information of the encrypted data file from the channel server in response to the release notification for the target version;
and the decryption unit is used for decrypting the encrypted data file by adopting the decryption information to obtain the application data packet and installing the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides a server, where the server may be the aforementioned pre-download server, or the aforementioned channel server; the server comprises an input interface and an output interface, and the server further comprises:
a processor adapted to implement one or more instructions; and, a computer storage medium;
if the server is a pre-download server, the computer storage medium stores one or more first instructions, the one or more first instructions are suitable for being loaded by the processor and executing the following steps:
if the target application is detected to have an unreleased target version, encrypting an application data packet of the target version to obtain an encrypted data file;
the encrypted data file is issued to a terminal through a channel server;
and responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
If the server is a channel server, the computer storage medium stores one or more second instructions, the one or more second instructions are adapted to be loaded by the processor and perform the steps of:
if the target application is detected to have an unreleased target version, the encrypted data file of the target version is issued to the terminal; the encrypted data file is obtained by encrypting the application data packet of the target version;
acquiring decryption information of the encrypted data file in response to the release notification for the target version;
and sending the decryption information to the terminal, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In another aspect, an embodiment of the present invention provides a terminal, where the terminal includes an input device and an output device, and the terminal further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more third instructions adapted to be loaded by the processor and to perform the steps of:
if the target application is detected to have an unreleased target version, acquiring an encrypted data file of the target version through a channel server, wherein the encrypted data file is obtained by encrypting an application data packet of the target version;
acquiring decryption information of the encrypted data file from the channel server in response to the publication notification for the target version;
and decrypting the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In still another aspect, an embodiment of the present invention provides a computer storage medium, where one or more first instructions are stored in the computer storage medium, where the one or more first instructions are adapted to be loaded by a processor and execute the application management method on the side of the pre-download server; or, the computer storage medium stores one or more second instructions, and the one or more second instructions are suitable for being loaded by the processor and executing the application management method on the channel server side; the computer storage medium stores one or more third instructions adapted to be loaded by the processor and to perform the above-mentioned terminal-side application management method.
Before releasing the target version of the target application, the pre-download server can encrypt the application data packet of the target version to obtain an encrypted data file; and the encrypted data file can be issued to the terminal through the channel server. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a system architecture diagram of an application management system according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of an application management scheme provided by an embodiment of the present invention;
fig. 2 is a flowchart illustrating an application management method executed by a pre-download server according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an application management method executed by a channel server according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an application management method executed by a terminal according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for updating a game application according to an embodiment of the present invention;
FIG. 6a is a diagram of an application management interface according to an embodiment of the present invention;
FIG. 6b is a diagram of another application management interface provided by an embodiment of the invention;
fig. 6c is a schematic diagram of an encryption modification process provided by the embodiment of the present invention;
FIG. 6d is a diagram illustrating application update logic according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an application management apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an application management apparatus according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of an application management apparatus according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the embodiment of the present invention, the target application may be any application, such as a game application, an instant messaging application, a video application, a live application, and the like; the Application may also be referred to as an Application program (APP), which refers to software installed and running in the terminal device, and is capable of interacting with the user and providing corresponding services for the user. The target application may have one or more versions of application installation packages, each application installation package may have a publication time; when the release time of an application installation package reaches (namely the current system time is equal to the release time), the application installation package can be publicly provided for each terminal for installation. The application installation package refers to an application package which can be installed in an operating system of the terminal; operating systems herein may include, but are not limited to: android (Android) systems, IOS systems, etc.; accordingly, the application installation package may include, but is not limited to: an apk (android package) package installed in an android system, an IPA package installed in an IOS system, a PXL package, a DEB package, and the like.
When the target application has an unreleased target version, in order to better realize downloading and installation of the target application of the target version, the embodiment of the invention provides an application management system. It should be noted that, the unpublished target version mentioned herein refers to: and the version corresponding to the application installation package which is not disclosed to people, namely the version corresponding to the application installation package which is provided for each terminal to be installed is not disclosed. For example, if the target application is a newly developed application (e.g., a newly developed game application, etc.), and the application installation package first created for the target application has not been disclosed, the undisclosed target version of the target application may be the version of the first created target application; for another example, if the target application already has one or more application installation packages of historical versions that are exposed to the outside, and a new version made to update the historical version is not yet exposed to the outside, the target version of the target application may be a new version used to implement version updates.
Referring to fig. 1a, the application management system at least comprises: an application server 11, a pre-download server 12, at least one channel server 13, and at least one terminal 14. It should be noted that any server (such as the application server 11, the pre-download server 12, the channel server 13, and the like) mentioned in the following embodiments of the present invention may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, and a big data and artificial intelligence platform; the embodiment of the present invention is not limited thereto.
The application server 11 refers to a server capable of supporting a target application to provide a relevant business service; for example, if the target application is a game application, the application server 11 may be a game server supporting the game application to provide a game service; for another example, if the target application is an instant messaging application, the application server 11 may be a communication server supporting the instant messaging application to provide a message service; for another example, if the target application is a live application, the application server 11 may be a live server supporting the live application to provide a live service, and so on.
The pre-download server 12 is a server that modifies and encrypts an application data packet of a target version to obtain an encrypted data file when the target application has an unreleased target version; the application data package may be a target version of the application installation package, or may be a difference data package between the target version of the application installation package and a published historical version of the application installation package. In practical applications, the pre-download server 12 can establish communication connection not only with the application server 11, but also with each channel server 13 to realize data interaction. In an alternative embodiment, the pre-download server 12 may also provide a pre-download SDK (Software Development Kit); the pre-download SDK may be installed in the terminal 14, and is mainly used to provide the terminal 14 with a decryption recovery function of the encrypted data file, so as to obtain a normal installable application installation package of the target version according to the recovery of the encrypted data file. It should be understood that the pre-download SDK is not limited to the decryption recovery function, but may provide a variety of other functions; such as a data reporting function for reporting related statistical data, a file management function for completing management of encrypted data files and cleaning detection in a matching manner, and the like.
The channel server 13 is a server capable of supporting a distribution channel to provide a download service for data related to a target application (e.g., an encrypted data file of a target version, decryption information of the encrypted data file, etc.), where the distribution channel is a channel client that operates in a terminal and is capable of providing data download; such as an "app store" client of a mobile phone manufacturer, an app download client provided by an internet company (e.g., "app treasure" client of Tencent), and other clients that may provide app download services (e.g., QQ client, WeChat client, etc.). The channel client may have the following functions: the method can support breakpoint continuous downloading, can wake up at regular time, and can continue downloading after receiving a push message (namely a push message) of a channel server; after any data is abnormally downloaded or fails or the data storage time length exceeds a time length threshold value, relevant data can be automatically cleaned according to a data cleaning strategy; and the functions of concurrent downloading, priority downloading, downloading speed limit and the like are supported. In practical application, the channel server 13 may synchronize the related service data by interacting with the pre-download server 12, and obtain the encrypted data file or the related file information of the encrypted data file; the file information here may include at least a storage address of the encrypted data file. The channel server 13 may internally interface with a distribution channel (i.e., a channel client) in the terminal 14 to implement the function related to the pre-download, so that the distribution channel in the terminal 14 may complete the pre-download of the encrypted data file before the target version is released.
The terminal 14 may be any device having a communication function; which may include, but are not limited to: smart phones, tablets, laptops, desktop computers, smart watches, and the like. At least one distribution channel (i.e., channel client) may be installed and operated in the terminal 14; optionally, the terminal 14 may also have a pre-download SDK provided by the pre-download server 12 installed therein. In a specific implementation, the pre-download SDK may be installed directly in a storage space of the terminal, or may be installed in a distribution channel (i.e., a channel client) in the terminal 14, which is not limited in this embodiment of the present invention.
It should be noted that fig. 1a merely represents an exemplary system architecture of the application management system according to the embodiment of the present invention, and does not limit the specific architecture of the application management system. For example, in the application management system shown in fig. 1a, only the application server 11 of the target application is deployed; however, when the application management system is actually deployed, application servers of other applications can also be deployed. For another example, in the application management system shown in fig. 1a, the application server 11 and the pre-download server 12 are two independent servers; however, in the actual deployment application management system, the application server 11 and the pre-download server 12 may also be deployed as an integrated server according to the operation requirement; under the condition, the integrated server can support the target application to provide related business service, and can modify and encrypt the application data packet of the target version to obtain the encrypted data file. For another example, in the application management system shown in fig. 1a, the pre-download server 12 and each channel server 13 are independent servers; however, in the actual deployment application management system, the pre-download server 12 and each channel server 13 may also be deployed as an integrated server according to the operation requirement, and so on.
Based on the application management system, the embodiment of the invention provides a general application management scheme; referring to the black dashed line in fig. 1b, the general principle of the application management scheme is as follows:
after the application data package of the target version of the target application is manufactured, the application data package of the target version may be uploaded to the application server 11, so as to trigger the application server 11 to send the application data package of the target version to the pre-download server 12. Optionally, in other embodiments, after the application data package of the target version is manufactured, the application data package of the target version may also be directly uploaded to the pre-download server 12. Correspondingly, after receiving the application data packet of the target version, the pre-download server 12 may modify and encrypt the application data packet to obtain an encrypted data file of the target version; and provides the file information (such as a storage address) of the encrypted data file or the encrypted data file to each channel server 13, so that the terminal 14 can request the corresponding channel server 13 to issue the file information (such as the storage address) of the encrypted data file or the encrypted data file through each internal distribution channel (i.e., channel client), thereby implementing the pre-download of the encrypted data file. It should be noted that, in practical applications, data protocols used by different distribution channels may be different; therefore, the embodiment of the invention can also respectively produce the application data packets of the target version of the target application aiming at different distribution channels. In this case, the pre-download server 12 may modify and encrypt the application data packets corresponding to different distribution channels respectively to obtain encrypted data files corresponding to each distribution channel; then, the corresponding encrypted data file or file information of the encrypted data file may be provided to each distribution channel through the corresponding channel server 13 to perform pre-download of the encrypted data file.
When the release time of the target version of the target application arrives, the pre-download server 12 can uniformly release the decryption information of the encrypted data file of each distribution channel (i.e., channel client) through each channel server 13. After the decryption information is issued, the terminal 14 may obtain the corresponding decryption information from the corresponding channel server 13 through at least one internal distribution channel; and the decryption information can be used for decrypting the pre-downloaded encrypted data file to obtain an application data packet of the target version of the target application. Then, the target application of the target version can be installed according to the application data packet of the target version; when the target application is started by the user, the target application of the target version can be directly operated for the user, so that the user can experience the latest function provided by the target application of the target version.
Therefore, the application management scheme provided by the embodiment of the invention enables the terminal to pre-download the encrypted data file of the target version through each distribution channel by modifying and encrypting the application data packet of the target version; and when the target version is released formally, the encrypted data file is decrypted by directly adopting the published decryption information to obtain an application data packet. By adopting the mode, the pre-downloading of the application data packet of the target version can be realized, meanwhile, the terminal can not install the target application of the target version in advance according to the pre-downloaded encrypted data file, and the fairness and the consistency of all distribution channels can be effectively ensured. And because the data volume of the decryption information is less, even if a large number of terminals simultaneously download the decryption information from the channel server, the peak value of the network flow bandwidth can be reduced to a certain extent, thereby saving the bandwidth cost and the bandwidth pressure of the channel server. Meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the related description of the application management scheme, the embodiment of the invention provides an application management method; the application management method can be executed by the pre-download server in the application management system, and the embodiment of the invention is mainly explained by taking an example that the pre-download server and one of the channel servers in the application management system carry out data interaction. Referring to fig. 2, the application management method may include the following steps S201 to S203:
s201, if the target application is detected to have an unreleased target version, the application data packet of the target version is encrypted to obtain an encrypted data file.
In one specific implementation, the pre-download server may actively send an inquiry request to the application server of the target application in real time or periodically, the inquiry request being used for inquiring whether the target application has the unpublished target version. Then, a reply message returned by the application server may be received. If the reply message indicates that the target application has the target version which is not released, the target application can be determined to have the target version which is not released; if the reply indicates that the target application does not have an unpublished target version, it may be determined that the target application is not detected as having an unpublished target version. In another specific implementation, the application server may also send an update notification about the target application to the pre-download server in real time when it is determined that the target application has an unreleased target version; accordingly, if the pre-download server receives the update notification, it may be determined that the target application is detected to have an unreleased target version.
After detecting that the target application has the target version which is not released, the pre-download server can obtain an application data packet of the target version; the application data package can be an application installation package of a target version, and can also be a difference data package between the application installation package of the target version and an application installation package of a published historical version; the application data packet may include data information for a plurality of storage locations. In one embodiment, the pre-download server may send a data acquisition request to the application server to request the application server to return an application data packet of the target version; then, an application data packet returned by the application server can be received. In another embodiment, in order to save the interaction resources between the pre-download server and the application server, when the application server sends a reply message (or an update notification) to the pre-download server, the application server directly adds the application data packet of the target version to the reply message (or the update notification); that is, in this embodiment, the pre-download server may directly parse the reply message (or update notification) to obtain the target version of the application data package.
After the application data packet of the target version is obtained, the application data packet of the target version can be encrypted to obtain an encrypted data file. The step of encrypting the application data packet of the target version to obtain the encrypted data file may at least include the following specific implementation manners:
in a first specific implementation manner, data information of at least one storage location in an application data packet of a target version can be modified; the at least one storage location may be randomly selected from a plurality of storage locations, or may be selected from a plurality of storage locations according to a data structure of the application data packet. An encrypted data file may then be generated from the modified application data package. In one embodiment, the modified application data packet may be directly used as an encrypted data file; in another embodiment, the modified application data packet may be encrypted to obtain an encrypted data file.
In a second specific implementation manner, the target data information may be intercepted from the application data packet of the target version. Specifically, data information of a preset data volume can be randomly intercepted from an application data packet of a target version to serve as target data information; alternatively, the data information with the preset data size may be sequentially selected as the target data information according to the arrangement order of the storage positions of the data information in the application data packet. The preset data volume can be determined according to the data volume of the application data packet; for example, if the data size of the application packet is 2.3G, the preset data size may be set to 2G. The target data information may then be used to generate an encrypted data file. In one embodiment, the target data information may be directly employed to generate an encrypted data file; in another embodiment, the target data information may be used to generate an intermediate file, and then the intermediate file may be encrypted to obtain an encrypted data file.
And in the third concrete implementation mode, the encryption algorithm can be directly adopted to encrypt the application data packet of the target version to obtain the encrypted data file of the target version.
In a specific application, the pre-download server may randomly select one specific implementation manner from the three specific implementation manners to implement encryption processing on the application data packet of the target version. Or, the pre-download server may select one specific implementation manner from the three specific implementation manners according to the specific type of the application data packet of the target version, so as to implement encryption processing on the application data packet of the target version. For example, if the application data package of the target version is the application installation package of the target version, since the data volume of the application installation package is usually large, if the application installation package is encrypted by using an encryption algorithm, the encryption speed may be slow, and therefore, the first specific implementation manner or the second specific implementation manner may be selected. If the application data packet of the target version is a difference data packet, since the data volume of the difference data packet is usually small, the third specific implementation manner may be selected. Or, the pre-download server may select a specific implementation mode with a higher security level from the three specific implementation modes according to the security level of each specific implementation mode, so as to implement encryption processing on the application data packet of the target version. It should be noted that, because the third specific implementation mode is to directly encrypt the entire application data packet by using an encryption algorithm, and the probability of the encryption algorithm being cracked is high, the probability of the entire application data packet being obtained in advance is high; the encrypted data file in the first implementation and the encrypted data file in the second implementation are not generated by using a complete application data packet, and the complete application data packet cannot be obtained even if the encrypted data file is cracked. Therefore, the security level of the third specific implementation may be set to be lower than the security levels of the first specific implementation and the second specific implementation.
And S202, issuing the encrypted data file to the terminal through the channel server.
In one specific implementation, after obtaining the encrypted data file through step S201, the pre-download server may directly send the encrypted data file to the channel server; so that the terminal can directly obtain the encrypted data file from the channel server.
In another specific implementation, after obtaining the encrypted data file through step S201, the pre-download server may add the encrypted data file to the content distribution network; the content distribution network herein may be a blockchain network, or a network constituted by at least one cloud server. In one embodiment, the pre-download server may directly add the encrypted data file to the content distribution network. In another embodiment, the pre-download server may further add a channel identifier of the channel server to the encrypted data file; the channel identification may be used to count the pre-download information (e.g., pre-download amount, pre-download time, etc.) for issuing encrypted data files through the channel server. The channel identifier refers to information that can uniquely identify the channel server, and for example, the channel identifier may be a channel number (i.e., a channel ID). The encrypted data file containing the channel identification may then be added to the content distribution network. After adding the encrypted data file to the content distribution network, the pre-download server may determine a storage address of the encrypted data file in the content distribution network and add the storage address to the file information of the encrypted data file. Alternatively, the pre-download server may add the encrypted data file directly to a cache area in the pre-download server, and add a service address (e.g., an IP address) of the pre-download server as a storage address of the encrypted data file to the file information of the encrypted data file.
In this specific implementation, the pre-download server may obtain the file information of the encrypted data file when performing step S202, where the file information may at least include the storage address of the encrypted data file. And then, sending the file information of the encrypted data file to the channel server so that the terminal can acquire the file information from the channel server and acquire the encrypted data file according to the storage address in the file information.
S203, responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, enabling the terminal to decrypt the encrypted data file by adopting the decryption information to obtain an application data packet, and installing the target application of the target version according to the application data packet.
In one embodiment, the decryption information for the encrypted data file may be generated by the pre-download server. Specifically, when the pre-download server performs encryption processing on the application data packet of the target version in step S201 to obtain the encrypted data file, the pre-download server may generate decryption information of the encrypted data file and cache the decryption information. In this embodiment, the pre-download server may directly obtain the decryption information from the cache space in response to the release notification for the target version, and send the decryption information to the channel server, so that the channel server issues the decryption information to the terminal. In yet another embodiment, the decryption information for the encrypted data file may be generated by the channel server. Specifically, the pre-download server may send the application data packet of the target version to the channel server in response to the release notification for the target version, so that the channel server generates decryption information of the encrypted data file according to the application data packet and the encrypted data file, and issues the decryption information to the terminal.
As can be seen from the foregoing, the generation manner of the encrypted data file may have at least three specific implementation manners; correspondingly, with different specific implementation manners selected by the pre-download server when generating the encrypted data file, the decryption information corresponding to the encrypted data file may also be different accordingly, specifically as follows:
if the pre-download server selects the encrypted data file generated in the first embodiment, that is, the encrypted data file is generated according to the modified application data packet; the decryption information may include the following two cases: if the encrypted data file is generated directly according to the modified application data packet, that is, the encrypted data file is the modified application data packet, the decryption information may include the modified data information in the application data packet. If the encrypted data file is obtained by encrypting the modified application data packet, the decryption information may include the modified data information in the application data packet and a decryption algorithm for decrypting the encrypted data file to obtain the modified application data packet. It should be noted that, in the above two cases, the decryption information may include, in addition to the modified data information, location information of the modified data information, where the location information is used to indicate a storage location of the modified data information in the application data packet. Optionally, the decryption information may further include modified content corresponding to the modified data information; for example, if the data information at the storage location a is a, which is modified to b, the decryption information may include the modified content b corresponding to the data information a. And, the decryption information in the second case may be generated by the pre-download server.
If the pre-download server selects the encrypted data file generated in the second embodiment, that is, the encrypted data file is generated by using the target data information, the decryption information may include the following two cases: if the encrypted data file is generated by directly adopting the target data information, the decryption information can comprise the residual data information except the target data information in the application data packet. If the encrypted data file is obtained by directly encrypting the intermediate file generated by using the target data information, the decryption information may include the remaining data information and a decryption algorithm for decrypting the encrypted data file to obtain the intermediate file. And, the decryption information in the second case may be generated by the pre-download server.
If the pre-download server selects the encrypted data file generated in the third embodiment, that is, the encrypted data file is obtained by directly encrypting the application data packet of the target version by using the encryption algorithm, the decryption information may include a decryption algorithm corresponding to the encryption algorithm. Also, the decryption information in this case may be generated by the pre-download server.
Optionally, after the decryption information is sent to the terminal through the channel server, the pre-download server may further obtain feedback data reported by the terminal; the feedback data is reported by the terminal after the encrypted data file is pre-downloaded, and the feedback data at least comprises the following components: a channel identification, and a start time and an end time of the pre-download encrypted data file. Then, the pre-download server can also perform statistical analysis according to the feedback data and update the pre-download information of the channel server according to the analysis result. Specifically, if the channel identifier included in the feedback data is the same as the channel identifier of the channel server, an operation may be performed on the pre-download amount in the pre-download information of the channel server to update the pre-download amount of the channel server. It should be noted that the terminal may report other related data besides the feedback data. For example, the terminal may report the decrypted data after decrypting to obtain the application data packet; the decryption data may include at least: channel identification, and decryption start time and decryption end time. For another example, the terminal may also report the update data after completing the installation of the target application of the target version according to the application data packet; the update data may include at least: channel identification, and update completion time, etc.
Before releasing the target version of the target application, the pre-download server can encrypt the application data packet of the target version to obtain an encrypted data file; and the encrypted data file can be issued to the terminal through the channel server. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the above description of the application management scheme, an embodiment of the present invention provides an application management method, which can be executed by any channel server in the application management system. Referring to fig. 3, the application management method may include the following steps S301 to S303:
s301, if the target application is detected to have an unreleased target version, the encrypted data file of the target version is issued to the terminal.
The encrypted data file is obtained by encrypting the application data packet of the target version. In a specific implementation, it follows from the foregoing that: the pre-download server can send the encrypted data file or the file information of the encrypted data file to the channel server after detecting that the target application has the target version which is not released; therefore, if the channel server receives the encrypted data file or the file information of the encrypted data file sent by the pre-download server, it can be determined that the target application has the target version which is not released.
Optionally, in other embodiments, the channel server may also directly perform communication interaction with the application server to detect that the target application has an unpublished target version. In one implementation, the channel server may actively send an inquiry request to the application server of the target application in real time or periodically, the inquiry request being used for inquiring whether the target application has the unpublished target version. Then, a reply message returned by the application server may be received. If the reply message indicates that the target application has the target version which is not released, the target application can be determined to have the target version which is not released; if the reply indicates that the target application does not have an unpublished target version, it may be determined that the target application is not detected as having an unpublished target version. In another specific implementation, the application server may also send an update notification about the target application to the channel server in real time when it is determined that the target application has an unpublished target version; accordingly, if the channel server receives the update notification, it may be determined that the target application is detected to have an unpublished target version.
And if the target application is detected to have the target version which is not released, the encrypted data file of the target version is sent to the terminal. In one embodiment, if it is detected that the target application has the target version which is not published, the channel server may obtain file information of the encrypted data file from the pre-download server, where the file information includes a storage address of the encrypted data file. Then, the file information of the encrypted data file can be issued to the terminal, so that the terminal can acquire the encrypted data file according to the storage address in the file information. The file information can be actively pushed to the terminal by the channel server, or can be issued to the terminal by the channel server after receiving an update request about the target application sent by the terminal; the embodiment of the present invention is not limited thereto. In another embodiment, if it is detected that the target application has an unreleased target version, the channel server may directly obtain the encrypted data file from the pre-download server and send the encrypted data file to the terminal. Similarly, the encrypted data file in this embodiment may be actively pushed to the terminal by the channel server, or may be issued to the terminal by the channel server after receiving an update request about the target application sent by the terminal.
S302, in response to the release notification for the target version, acquires decryption information of the encrypted data file.
As can be seen from the foregoing, the decryption information of the encrypted data file may be generated by the pre-download server or may be generated by the channel server. Accordingly, step S302 can be embodied as follows: in one embodiment, the channel server may receive decryption information sent by the pre-download server in response to the publication notification for the target version. In another embodiment, the channel server may receive an application data packet of the target version sent by the pre-download server in response to the release notification for the target version; decryption information for the encrypted data file may then be generated based on the application data packet and the encrypted data file. The decryption information for generating the encrypted data file according to the application data packet and the encrypted data file may specifically be implemented as follows:
in one embodiment, if the encrypted data file is generated according to the modified application data packet, the channel server may determine the modified data information in the application data packet according to the difference between the application data packet and the encrypted data file. The modified data information may then be used to generate decryption information for the encrypted data file. Optionally, the channel server may further generate location information of the modified data information according to a storage location of the modified data information in the application data packet, and add the location information to the decryption information. Optionally, the channel server may further determine modified content corresponding to the modified data information in the encrypted data file, and add the modified content to the decryption information.
In another embodiment, if the encrypted data file is generated by using the target data information, the channel server may intercept the remaining data information except the target data information from the application data packet, and generate the decryption information of the encrypted data file by using the remaining data information.
And S303, transmitting the decryption information to the terminal.
After the decryption information of the encrypted data file is obtained, the channel server can issue the decryption information to the terminal, so that the terminal can decrypt the encrypted data file by adopting the decryption information to obtain an application data packet, and install the target application of the target version according to the application data packet. In one embodiment, after acquiring the decryption information through step S303, the channel server may directly and actively issue the decryption information to the terminal; in another embodiment, the channel server may also issue the decryption information to the terminal after receiving the decryption request sent by the terminal.
In the embodiment of the invention, before the target version of the target application is released, the channel server can firstly issue the encrypted data file to the terminal. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the related description of the application management scheme, the embodiment of the invention provides an application management method; the application management method can be executed by any terminal in the application management system, and the embodiment of the invention is mainly explained by taking an example that the terminal and one of the channel servers in the application management system carry out data interaction. Referring to fig. 4, the application management method may include the following steps S401 to S403:
s401, if the target application is detected to have an unreleased target version, the encrypted data file of the target version is obtained through the channel server.
In a specific implementation, if the terminal detects that the target application has an unreleased target version, the terminal can directly obtain the encrypted data file of the target version through the channel server. In another specific implementation, the terminal may obtain the state information of the terminal if it detects that the target application has an unreleased target version. Wherein the status information comprises at least one of: the version identification of the installed version, the residual memory, the residual electric quantity and the indication information of whether the user agrees to the pre-downloading; the version identification herein refers to information that can uniquely identify a version, which may be a version number (e.g., version Code of APK packet). If the state information meets the pre-downloading condition, executing the step of acquiring the encrypted data file of the target version through the channel server; wherein the pre-download condition comprises at least one of: the generation time of the version identification of the installed version is earlier than that of the version identification of the target version, the residual storage memory is larger than a memory threshold, the residual electric quantity is larger than an electric quantity threshold, and the indication information indicates that the user agrees to pre-downloading. The memory threshold value can be set according to an empirical value or a service requirement, and can also be set according to the file size of the encrypted data file; for example, the memory threshold may be set to be larger than N times the file size of the encrypted data file, where N is a positive integer. Similarly, the power threshold may also be set according to an empirical value or a service requirement.
It should be understood that the above-mentioned status information is only an example and is not exhaustive; for example, the status information may also include: network connection information of the terminal, which may include at least a network type of a communication network used by the terminal; the network type herein may include a Wireless network type (e.g., a WIFI (Wireless Fidelity) network), a wired network type, or a mobile network type (e.g., a 4G network, a 5G network, etc.). Optionally, when the network type is a mobile network type, the network connection information may further include traffic package information used by the terminal, and the traffic package information may include remaining network traffic usable by the terminal. Correspondingly, the pre-download condition may further include: the network type of the communication network used by the terminal is a wireless network type or a wired network type, or the network type of the communication network used by the terminal is a mobile network type, and the remaining network traffic included in the traffic package information is greater than a traffic threshold.
The flow threshold value can be set according to an empirical value or a service requirement; for example, the traffic threshold may be set to infinity, which indicates that the terminal needs to automatically perform the step of obtaining the encrypted data file of the target version through the channel server only when the user uses an unlimited traffic package. Alternatively, the flow threshold may also be set according to the flow value required for encrypting the data file; for example, if the traffic value required for encrypting the data file is 2G, the traffic threshold may be set to any value greater than 2G, which means that the terminal may automatically perform the step of obtaining the encrypted data file of the target version through the channel server only when the remaining network traffic is greater than the traffic value required for encrypting the data file.
S402, in response to the release notice aiming at the target version, the decryption information of the encrypted data file is obtained from the channel server.
In a specific implementation, the release notification may be sent by the channel server, the pre-download server, or the application server, which is not limited thereto. As can be seen from the foregoing, the terminal pre-downloads the encrypted data file in advance only when the user agrees to the pre-download. However, there may be a case where the user does not agree to the pre-download, and the terminal in this case does not pre-download the encrypted data file. Therefore, after receiving the release notice of the target version, the terminal can detect whether the encrypted data file is pre-downloaded or not. If yes, executing the step of acquiring decryption information of the encrypted data file from the channel server; if not, acquiring the application data packet of the target version from the channel server, and executing the step of installing the target application of the target version according to the application data packet.
S403, decrypting the encrypted data file by using the decryption information to obtain an application data packet, and installing the target application of the target version according to the application data packet.
In one embodiment, as can be seen from the foregoing, the terminal may install a pre-download SDK, and the pre-download SDK may provide decryption recovery functions for the encrypted data file. Therefore, the terminal can directly call the pre-download SDK to decrypt the encrypted data file by using the decryption information to obtain the application data packet. In another embodiment, the terminal may also choose to develop the relevant logic by itself to decrypt the encrypted data file, thereby obtaining the application data packet. Specifically, if the encrypted data file is directly generated according to the modified application data packet, that is, the encrypted data file is the modified application data packet, since the decryption information includes the modified data information in the application data packet, the target storage location of the modified data information in the encrypted data file can be determined, and then the modified data information in the decryption information can be used to replace the modified content at the target storage location in the encrypted data file, so as to obtain the application data packet. If the encrypted data file is generated by directly adopting the target data information, the decryption information comprises the residual data information except the target data information in the application data packet, so that the target data information in the encrypted data file and the residual data information in the decryption information can be merged to obtain the application data packet.
After the application data packet is obtained, the terminal can install the target application of the target version according to the application data packet. Specifically, if the application data package is the application installation package of the target version, the terminal may directly install the application data package to complete installation of the target application of the target version. If the application data package is a difference data package between the application installation package of the target version and the application installation package of the published historical version, the terminal can acquire the application installation package of the published historical version and acquire the application installation package of the target version according to the application installation package of the historical version and the application data package; and then installing the application installation package of the target version to finish the installation of the target application of the target version.
In the embodiment of the invention, before the target version of the target application is released, the terminal can firstly issue the encrypted data file to the terminal from the channel server. After the target version of the target application is released, the terminal only needs to acquire decryption information of the encrypted data file from the channel server, and then the target application of the target version can be installed. Because the decryption information requires less data volume than a complete application data packet; therefore, by acquiring the decryption information, the downloading time of the terminal can be effectively shortened, the downloading efficiency is improved, and the installation efficiency of the target application of the target version is improved.
In practical applications, the application management method mentioned above may be applied to different application scenarios according to business requirements, such as a release scenario of a newly developed target application, an application update scenario (e.g., an automatic update scenario or a reservation update scenario) for a historical version of the target application, and so on. Among others, the target applications herein may include, but are not limited to: a gaming application, an instant messaging application, a live application, and so forth. The following describes a specific application process of the application management method by taking a target application as a game application and applying the application management method to an application update scenario for a historical version of the game application, that is, taking a flowchart of the game application update method shown in fig. 5 as an example:
in a specific application, a channel client in the terminal can provide an application management interface for a user, so that the user can start a pre-update function for a game application through the application management interface. The application management interface can include an application identifier (such as a game name) of the game application and an update setting button of the game application; then the user can execute a trigger operation on the update setting button to trigger the channel client to start a pre-update function for the game application; after successfully opening the pre-update function, the channel client may also output an opening success notification, as shown in fig. 6 a. It should be understood that the product form of the application management interface can be specifically set by the channel client according to the business requirement, and is not limited to the interface diagram shown in fig. 6 a; for example, the application management interface may also be as shown in FIG. 6b, and so on.
After the new version of the application package for the game application is made, the new version of the application package may be uploaded to the game server (i.e., the application server). After receiving the application data packet, the game server can test and verify the application data packet; and notifying the pre-download server of the version update information of the game application in real time after the application data package passes the test verification, wherein the version update information may include but is not limited to: a new version of the application package, a digest of information about the application package (e.g., the value of MD5 (a digest of information algorithm)), an encryption scheme about the application package, and so on.
Accordingly, the pre-download server may store the version update information of the game application after receiving the version update information. The file information of the encrypted data file can be generated according to the encryption modification flow shown in fig. 6c, which is specifically as follows: firstly, the pre-download server can modify and encrypt the application data packet according to the encryption scheme in the version updating information to obtain the encrypted data file of the target version. Secondly, channel identifiers of the channel server are added to the appointed positions of the encrypted data files for different channel clients respectively; by adding the channel identification in the encrypted data file, the pre-downloading condition and the updating condition of different channel servers can be conveniently counted subsequently according to the channel identification. Then, the encrypted data file added with the channel identifier may be stored in the content distribution network, so as to obtain a storage address of the encrypted data file. Then, the storage address of the encrypted data file may be added to the file information of the encrypted data file. Optionally, the pre-download server may further add information such as an information digest of the encrypted data file, a file size of the encrypted data file, and a version identifier of the target version to the file information of the encrypted data file.
After generating the file information of the encrypted data file, the pre-download server may send the file information of the encrypted data file of the target version to each channel server. Correspondingly, any channel server can store the file information of the encrypted data file after receiving the file information of the encrypted data file. Since the user has opened the pre-update function for the game application through the channel client, any channel server can push the file information to the channel client in the terminal after receiving the file information of the encrypted data file. Correspondingly, a channel client inside the terminal can receive file information of the encrypted data file sent by the channel server; then, the encrypted data file may be pre-downloaded according to the storage address in the file information, and the pre-downloaded encrypted data file may be stored in a storage space (e.g., rom) of the terminal.
When the release time of the target version of the target application reaches (i.e., the target version is formally released), the pre-download server may send the application data package of the new version to the channel server in response to the release notification for the target version, so that the channel server may generate decryption information of the encrypted data file according to a difference between the application data package and the encrypted data file. Then, the channel server can actively send the decryption information to a channel client inside the middle terminal; or after receiving a decryption request sent by a channel client inside the terminal, sending decryption information to the channel client inside the terminal. Correspondingly, the terminal can receive the decryption information sent by the channel server through the channel client. Referring to fig. 5, the game update may have two update modes: one is an automatic update by channel (as shown by the black dashed line 1 in fig. 5), and the other is a manual update by starting the game application (as shown by the black dashed line 2 in fig. 5); while different update patterns may correspond to different update logic, the update pattern shown by the black dashed line 1 in fig. 5 may correspond to the update logic shown by the dashed line in fig. 6d, and the update pattern shown by the black dashed line 2 in fig. 5 may correspond to the update logic shown by the solid line in fig. 6 d. Therefore, after receiving the decryption information, the terminal may implement the update of the game application by using any one of the update methods shown in fig. 5. The two update modes will be explained below with reference to the schematic update logic diagram shown in fig. 6 d:
specifically, if the terminal adopts the updating manner (i.e. the manner of automatic updating through the channel) shown by the black dashed line 1 in fig. 5, it can be known by referring to the updating logic shown by the dashed line in fig. 6d that: after the terminal acquires the decryption information, the version detection can be directly carried out in the storage space to acquire the encrypted data file; and decrypting the encrypted data file by using the decryption information to obtain the application data packet. Then, whether to install the game application of the new edition can be determined according to the authorization condition of the user; if the user authorizes the installation of the game application with the new version, the game application with the new version can be installed according to the application data package, so that when the game application is detected to be started by the user, the user can directly enter the game, and the user does not need to execute additional application updating operation. It can be seen that the embodiment of the invention can realize the version update of the game application under the condition that the user does not perceive.
If the terminal adopts the update mode (i.e. the mode of manual update by starting the game application) shown by the black dashed line 1 in fig. 5, then the update logic shown by the solid line in fig. 6d can be seen: after the terminal acquires the decryption information, the terminal can cache the decryption information. When detecting that a user starts the game application and an updating component in the terminal detects that the game application needs to be updated in version, the terminal can detect whether the encrypted data file and the decryption information of the new version of the game application are downloaded in advance. If the data package is pre-downloaded, the user can be prompted to not need to download the version, and the encrypted data file can be directly decrypted by using the decryption information to obtain the application data package. If the application data package is not pre-downloaded, the application data package of the new version can be directly obtained through the channel server. After the application data packet of the new version is obtained, the integrity of the application data packet can be detected through the information abstract; if the application data package passes the integrity check, the new version of the game application can be installed according to the application data package, and the new version of the game application can be directly operated after the installation is finished.
Optionally, after the terminal completes the installation of the new version of the game application, the terminal may also clear the application data packet to release the occupied space in time. In addition, because the game is pre-downloaded and pre-updated in advance in a relatively long process, the terminal can report detailed data through the protocol interface every time the terminal executes one operation in the whole pre-download updating process, so that the pre-download server or a related data analysis platform can perform statistical analysis according to the data reported by the terminal, and the pre-updating process is optimized according to the statistical analysis result, so that the closed loop of each link before the game is better realized. Each data reported by the terminal and the format of each data are as follows:
feedback data reported after the encrypted data file is pre-downloaded: time | game | channel identification | game version number | client IP | pre-download start time | pre-download end time | pre-download state | error code | custom data |.
Starting the reported starting data: time | game | channel identification | game version number | clientIP | application packet information summary (e.g., md5) | update start time | update end time | update status | error code | custom data |.
And (3) downloading the decryption information and reporting the decryption data: time | game | channel identification | game version number | client IP | application data packet information summary (e.g., md5) | decryption start time | decryption end time | final state | error code | custom data |.
Updating data reported after installation: time | game | channel identification | game version number | client IP | application data packet information summary (e.g., md5) | update status | error code | custom data |.
Therefore, the embodiment of the invention can improve the experience of the player from the links of encryption, decryption, pre-downloading, pre-updating and the like of the application data packet of the game application; the installation of the game application of the new version is completed by adopting a silent downloading and updating mode which is least disturbing to the player user, so that the whole application updating process can be effectively accelerated, the waiting time of the player user is reduced, and the player user can play games faster and better. In addition, by pre-downloading the encrypted data file in advance, the bandwidth cost of the channel and the game can be effectively reduced while the fair distribution channel is ensured.
Based on the description of the foregoing application management method embodiment, the embodiment of the present invention further discloses an application management apparatus, which may be a computer program (including a program code) running in the foregoing pre-download server. The application management apparatus may perform the method shown in fig. 2. Referring to fig. 7, the application management apparatus may operate the following units:
an encryption unit 701, configured to encrypt an application data packet of a target version to obtain an encrypted data file if it is detected that the target application has an unreleased target version;
a communication unit 702, configured to send the encrypted data file to a terminal through a channel server;
the communication unit 702 is further configured to, in response to the release notification for the target version, issue decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by using the decryption information to obtain the application data packet, and install the target application of the target version according to the application data packet.
In one embodiment, the application data packet includes data information of a plurality of storage locations; correspondingly, the encrypting unit 701, when being configured to encrypt the application data packet of the target version to obtain the encrypted data file if it is detected that the target application has the target version that is not published, may be specifically configured to:
if the target application is detected to have an unreleased target version, modifying data information of at least one storage position in an application data packet of the target version;
and generating an encrypted data file according to the modified application data packet.
In another embodiment, the encrypting unit 701, when configured to encrypt the application data packet of the target version to obtain an encrypted data file if it is detected that the target application has an unreleased target version, may specifically be configured to:
if the target application is detected to have an unreleased target version, intercepting target data information from an application data packet of the target version;
and generating an encrypted data file by adopting the target data information.
In another embodiment, when the communication unit 702 is configured to issue the decryption information of the encrypted data file to the terminal through the channel server in response to the release notification for the target version, it may specifically be configured to:
responding to the release notice aiming at the target version, sending the application data packet of the target version to the channel server, enabling the channel server to generate decryption information of the encrypted data file according to the application data packet and the encrypted data file, and sending the decryption information to the terminal;
if the encrypted data file is generated according to the modified application data packet, the decryption information comprises modified data information in the application data packet; and if the encrypted data file is generated by adopting the target data information, the decryption information comprises the residual data information except the target data information in the application data packet.
In another embodiment, when the communication unit is configured to issue the encrypted data file to the terminal through the channel server, the communication unit may be specifically configured to:
acquiring file information of the encrypted data file, wherein the file information comprises a storage address of the encrypted data file;
and sending the file information of the encrypted data file to the channel server, so that the terminal acquires the file information from the channel server and acquires the encrypted data file according to a storage address in the file information.
In another embodiment, the application management apparatus may further include a processing unit 703; accordingly, before obtaining the file information of the encrypted data file, the processing unit 703 may be configured to:
adding the encrypted data file into a content distribution network, wherein the content distribution network is a block chain network or a network formed by at least one cloud server;
and determining the storage address of the encrypted data file in the content distribution network, and adding the storage address to the file information of the encrypted data file.
In another embodiment, when the processing unit 703 is configured to add the encrypted data file to a content distribution network, it is specifically configured to:
adding a channel identifier of the channel server in the encrypted data file, wherein the channel identifier is used for counting the pre-download information of the encrypted data file issued by the channel server;
adding an encrypted data file containing the channel identification to the content distribution network.
In yet another embodiment, the processing unit 703 is further configured to:
obtaining feedback data reported by the terminal, wherein the feedback data is reported by the terminal after the terminal downloads the encrypted data file in advance, and the feedback data at least comprises: channel identification, and the start time and the end time of pre-downloading the encrypted data file;
and performing statistical analysis according to the feedback data, and updating the pre-download information of the channel server according to the analysis result.
According to an embodiment of the present invention, the steps involved in the method shown in fig. 2 may be performed by the units in the application management device shown in fig. 7. For example, step S201 shown in fig. 2 may be performed by the encryption unit 701 shown in fig. 7, and steps S202 to S203 may each be performed by the communication unit 702 shown in fig. 7.
According to another embodiment of the present invention, the units in the application management apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form the unit, or some unit(s) therein may be further split into multiple units with smaller functions to form the unit(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the application-based management apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, the application management apparatus device shown in fig. 7 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 2 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the application management method of the embodiment of the present invention. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Before releasing the target version of the target application, the pre-download server can encrypt the application data packet of the target version to obtain an encrypted data file; and the encrypted data file can be issued to the terminal through the channel server. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the description of the above embodiment of the application management method, the embodiment of the present invention further discloses an application management apparatus, which may be a computer program (including a program code) running in the above-mentioned channel server. The application management apparatus may perform the method shown in fig. 3. Referring to fig. 8, the application management apparatus may operate the following units:
a communication unit 801, configured to, if it is detected that an unreleased target version exists in a target application, send an encrypted data file of the target version to a terminal; the encrypted data file is obtained by encrypting the application data packet of the target version;
a processing unit 802, configured to, in response to the release notification for the target version, obtain decryption information of the encrypted data file;
the communication unit 801 is further configured to issue the decryption information to the terminal, so that the terminal performs decryption processing on the encrypted data file by using the decryption information to obtain the application data packet, and installs the target application of the target version according to the application data packet.
In an embodiment, the processing unit 802, when configured to obtain the decryption information of the encrypted data file in response to the release notification for the target version, may specifically be configured to:
receiving an application data packet of the target version sent by a pre-download server in response to the release notification for the target version;
and generating decryption information of the encrypted data file according to the application data packet and the encrypted data file.
In another embodiment, when the processing unit 802 is configured to generate the decryption information of the encrypted data file according to the application data packet and the encrypted data file, it may specifically be configured to:
if the encrypted data file is generated according to the modified application data packet, determining modified data information in the application data packet according to the difference between the application data packet and the encrypted data file, and generating decryption information of the encrypted data file by adopting the modified data information;
and if the encrypted data file is generated by adopting the target data information, intercepting residual data information except the target data information from the application data packet, and generating decryption information of the encrypted data file by adopting the residual data information.
In another embodiment, when the communication unit 801 is configured to, if it is detected that the target application has an unreleased target version, issue the encrypted data file of the target version to the terminal, specifically, the communication unit may be configured to:
if the target application is detected to have an unreleased target version, file information of the encrypted data file is obtained from a pre-download server, wherein the file information comprises a storage address of the encrypted data file;
and issuing the file information of the encrypted data file to a terminal, so that the terminal acquires the encrypted data file according to the storage address in the file information.
According to an embodiment of the present invention, the steps involved in the method shown in fig. 3 may be performed by the units in the application management device shown in fig. 8. For example, step S301 and step S303 shown in fig. 3 can both be performed by the communication unit 801 shown in fig. 8, and step S302 can be performed by the communication unit 802 shown in fig. 8.
According to another embodiment of the present invention, the units in the application management apparatus shown in fig. 8 may be respectively or entirely combined into one or several other units to form the unit, or some unit(s) therein may be further split into multiple units with smaller functions to form the unit(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the application-based management apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, the application management apparatus device shown in fig. 8 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 3 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the application management method of the embodiment of the present invention. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the invention, before the target version of the target application is released, the channel server can firstly issue the encrypted data file to the terminal. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the description of the above embodiment of the application management method, the embodiment of the present invention further discloses an application management apparatus, which may be a computer program (including a program code) running in the above mentioned terminal. The application management apparatus may perform the method shown in fig. 4. Referring to fig. 9, the application management apparatus may operate the following units:
an obtaining unit 901, configured to obtain, by a channel server, an encrypted data file of a target version if it is detected that an unreleased target version exists in a target application, where the encrypted data file is obtained by encrypting an application data packet of the target version;
the obtaining unit 901 is further configured to obtain, from the channel server, decryption information of the encrypted data file in response to the release notification for the target version;
a decryption unit 902, configured to decrypt the encrypted data file with the decryption information to obtain the application data packet, and install the target application of the target version according to the application data packet.
In an embodiment, before the obtaining of the encrypted data file of the target version through the channel server, the obtaining unit 901 is further configured to:
if the target application is detected to have an unreleased target version, state information of the terminal is acquired; the status information includes at least one of: the version identification of the installed version, the residual memory, the residual electric quantity and the indication information of whether the user agrees to the pre-downloading;
if the state information meets the pre-downloading condition, executing the step of acquiring the encrypted data file of the target version through a channel server; the pre-download condition includes at least one of: the generation time of the version identification of the installed version is earlier than that of the version identification of the target version, the residual storage memory is larger than a memory threshold, the residual electric quantity is larger than an electric quantity threshold, and the indication information indicates that the user agrees to pre-download.
In yet another embodiment, before the obtaining the decryption information of the encrypted data file from the channel server, the obtaining unit 901 may further be configured to:
detecting whether the encrypted data file is pre-downloaded;
if yes, executing the step of acquiring decryption information of the encrypted data file from the channel server;
if not, acquiring the application data packet of the target version from the channel server, and executing the step of installing the target application of the target version according to the application data packet.
According to an embodiment of the present invention, the steps involved in the method shown in fig. 4 may be performed by the units in the application management device shown in fig. 9. For example, steps S401 to S402 shown in fig. 4 may all be performed by the acquisition unit 901 shown in fig. 9, and step S403 may be performed by the decryption unit 902 shown in fig. 9.
According to another embodiment of the present invention, the units in the application management apparatus shown in fig. 9 may be respectively or entirely combined into one or several other units to form the unit, or some unit(s) therein may be further split into multiple units with smaller functions to form the unit(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the application-based management apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, the application management apparatus device shown in fig. 9 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 4 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the application management method of the embodiment of the present invention. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the invention, before the target version of the target application is released, the terminal can firstly issue the encrypted data file to the terminal from the channel server. After the target version of the target application is released, the terminal only needs to acquire decryption information of the encrypted data file from the channel server, and then the target application of the target version can be installed. Because the decryption information requires less data volume than a complete application data packet; therefore, by acquiring the decryption information, the downloading time of the terminal can be effectively shortened, the downloading efficiency is improved, and the installation efficiency of the target application of the target version is improved.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a server; the server may be the pre-download server mentioned above, or the channel server mentioned above. Referring to fig. 10, the server includes at least a processor 1001, an input interface 1002, an output interface 1003, and a computer storage medium 1004. The processor 1001, the input interface 1002, the output interface 1003, and the computer storage medium 1004 in the server may be connected by a bus or other means.
The computer storage medium 1004 is a memory device in the server for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the server, and may also include an extended storage medium supported by the server. The computer storage media 1004 provides storage space that stores the operating system of the server. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 1001. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor. The processor 1001 (or CPU) is a computing core and a control core of the server, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function.
In one embodiment, if the server is a pre-download server, the processor 1001 may load and execute one or more first instructions stored in the computer storage medium 1004 to implement the corresponding method steps in the above embodiment of the application management method shown in fig. 2; in particular implementations, one or more first instructions in the computer storage medium 1004 are loaded by the processor 1001 and perform the following steps:
if the target application is detected to have an unreleased target version, encrypting an application data packet of the target version to obtain an encrypted data file;
the encrypted data file is issued to a terminal through a channel server;
and responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In one embodiment, the application data packet includes data information of a plurality of storage locations; correspondingly, when it is detected that the target application has an unreleased target version, the application data packet of the target version is encrypted to obtain an encrypted data file, and the one or more first instructions may be loaded and specifically executed by the processor 1001:
if the target application is detected to have an unreleased target version, modifying data information of at least one storage position in an application data packet of the target version;
and generating an encrypted data file according to the modified application data packet.
In another embodiment, when it is detected that the target application has an unreleased target version, the application data packet of the target version is encrypted to obtain an encrypted data file, and the one or more first instructions may be loaded and specifically executed by the processor 1001:
if the target application is detected to have an unreleased target version, intercepting target data information from an application data packet of the target version;
and generating an encrypted data file by adopting the target data information.
In another embodiment, when the decryption information of the encrypted data file is sent to the terminal through the channel server in response to the release notification for the target version, the one or more first instructions may be loaded and specifically executed by the processor 1001:
responding to the release notice aiming at the target version, sending the application data packet of the target version to the channel server, enabling the channel server to generate decryption information of the encrypted data file according to the application data packet and the encrypted data file, and sending the decryption information to the terminal;
if the encrypted data file is generated according to the modified application data packet, the decryption information comprises modified data information in the application data packet; and if the encrypted data file is generated by adopting the target data information, the decryption information comprises the residual data information except the target data information in the application data packet.
In another embodiment, when the encrypted data file is sent to the terminal through the channel server, the one or more first instructions may be loaded and specifically executed by the processor 1001:
acquiring file information of the encrypted data file, wherein the file information comprises a storage address of the encrypted data file;
and sending the file information of the encrypted data file to the channel server, so that the terminal acquires the file information from the channel server and acquires the encrypted data file according to a storage address in the file information.
In yet another embodiment, before obtaining the file information of the encrypted data file, the one or more first instructions may be further loaded and specifically executed by the processor 1001:
adding the encrypted data file into a content distribution network, wherein the content distribution network is a block chain network or a network formed by at least one cloud server;
and determining the storage address of the encrypted data file in the content distribution network, and adding the storage address to the file information of the encrypted data file.
In yet another embodiment, when the encrypted data file is added to a content distribution network, the one or more first instructions may be loaded and specifically executed by the processor 1001:
adding a channel identifier of the channel server in the encrypted data file, wherein the channel identifier is used for counting the pre-download information of the encrypted data file issued by the channel server;
adding an encrypted data file containing the channel identification to the content distribution network.
In yet another embodiment, the one or more first instructions may be further loaded and specifically executed by the processor 1001:
obtaining feedback data reported by the terminal, wherein the feedback data is reported by the terminal after the terminal downloads the encrypted data file in advance, and the feedback data at least comprises: channel identification, and the start time and the end time of pre-downloading the encrypted data file;
and performing statistical analysis according to the feedback data, and updating the pre-download information of the channel server according to the analysis result.
In another embodiment, if the server is a channel server, the processor 1001 may load and execute one or more second instructions stored in the computer storage medium 1004 to implement the corresponding method steps in the above embodiment of the application management method shown in fig. 3; in a specific implementation, one or more second instructions in the computer storage medium 1004 are loaded by the processor 1001 and perform the following steps:
if the target application is detected to have an unreleased target version, the encrypted data file of the target version is issued to the terminal; the encrypted data file is obtained by encrypting the application data packet of the target version;
acquiring decryption information of the encrypted data file in response to the release notification for the target version;
and sending the decryption information to the terminal, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In one embodiment, when the decryption information of the encrypted data file is obtained in response to the release notification for the target version, the one or more second instructions may be loaded and specifically executed by the processor 1001:
receiving an application data packet of the target version sent by a pre-download server in response to the release notification for the target version;
and generating decryption information of the encrypted data file according to the application data packet and the encrypted data file.
In another embodiment, when generating the decryption information of the encrypted data file according to the application data packet and the encrypted data file, the one or more second instructions may be loaded and specifically executed by the processor 1001:
if the encrypted data file is generated according to the modified application data packet, determining modified data information in the application data packet according to the difference between the application data packet and the encrypted data file, and generating decryption information of the encrypted data file by adopting the modified data information;
and if the encrypted data file is generated by adopting the target data information, intercepting residual data information except the target data information from the application data packet, and generating decryption information of the encrypted data file by adopting the residual data information.
In another embodiment, when the target application is detected to have an unreleased target version, and the encrypted data file of the target version is sent to the terminal, the one or more second instructions may be loaded and specifically executed by the processor 1001:
if the target application is detected to have an unreleased target version, file information of the encrypted data file is obtained from a pre-download server, wherein the file information comprises a storage address of the encrypted data file;
and issuing the file information of the encrypted data file to a terminal, so that the terminal acquires the encrypted data file according to the storage address in the file information.
Before releasing the target version of the target application, the pre-download server can encrypt the application data packet of the target version to obtain an encrypted data file; and the encrypted data file can be issued to the terminal through the channel server. Because the encrypted data file cannot be directly installed, even if the terminal downloads the encrypted data file in advance through the channel server, the target application of the target version cannot be installed in advance, and thus, the fair consistency of each channel can be effectively ensured. In addition, after the release notice aiming at the target version is received, the complete application data packet does not need to be sent to the terminal through the channel server, the decryption information of the encrypted data file only needs to be issued to the terminal through the channel server, the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and therefore the target application of the target version is installed according to the application data packet. Because the decryption information requires less data volume than a complete application data packet; therefore, the bandwidth pressure of the channel server can be effectively reduced by sending the decryption information to the terminal; meanwhile, the downloading time of the terminal can be effectively shortened, and the downloading efficiency is improved.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a terminal. Referring to fig. 11, the terminal includes at least a processor 1101, an input device 1102, an output device 1103, and a computer storage medium 1104. The processor 1101, the input device 1102, the output device 1103, and the computer storage medium 1104 in the terminal may be connected by a bus or other means.
The computer storage medium 1104 is a memory device in the terminal for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium 1104 provides a storage space in which an operating system of the terminal is stored. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 1101. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor. The processor 1101 (or CPU) is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function.
In one embodiment, one or more third instructions stored in the computer storage medium 1104 may be loaded and executed by the processor 1101 to implement the corresponding method steps in the application management method embodiment described above with respect to fig. 4; in particular implementations, one or more third instructions in the computer storage medium 1104 are loaded by the processor 1101 and perform the following steps:
if the target application is detected to have an unreleased target version, acquiring an encrypted data file of the target version through a channel server, wherein the encrypted data file is obtained by encrypting an application data packet of the target version;
acquiring decryption information of the encrypted data file from the channel server in response to the publication notification for the target version;
and decrypting the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
In one embodiment, before the target version of the encrypted data file is obtained through the channel server, the one or more third instructions may be further loaded and specifically executed by the processor 1101:
if the target application is detected to have an unreleased target version, state information of the terminal is acquired; the status information includes at least one of: the version identification of the installed version, the residual memory, the residual electric quantity and the indication information of whether the user agrees to the pre-downloading;
if the state information meets the pre-downloading condition, executing the step of acquiring the encrypted data file of the target version through a channel server; the pre-download condition includes at least one of: the generation time of the version identification of the installed version is earlier than that of the version identification of the target version, the residual storage memory is larger than a memory threshold, the residual electric quantity is larger than an electric quantity threshold, and the indication information indicates that the user agrees to pre-download.
In yet another embodiment, the one or more third instructions may be further loaded and specifically executed by the processor 1101 before the decryption information of the encrypted data file is obtained from the channel server:
detecting whether the encrypted data file is pre-downloaded;
if yes, executing the step of acquiring decryption information of the encrypted data file from the channel server;
if not, acquiring the application data packet of the target version from the channel server, and executing the step of installing the target application of the target version according to the application data packet.
In the embodiment of the invention, before the target version of the target application is released, the terminal can firstly issue the encrypted data file to the terminal from the channel server. After the target version of the target application is released, the terminal only needs to acquire decryption information of the encrypted data file from the channel server, and then the target application of the target version can be installed. Because the decryption information requires less data volume than a complete application data packet; therefore, by acquiring the decryption information, the downloading time of the terminal can be effectively shortened, the downloading efficiency is improved, and the installation efficiency of the target application of the target version is improved.
It should be noted that according to an aspect of the present application, a computer program product or a computer program is also provided, and the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various alternatives of the aspect of the embodiment of the application management method shown in fig. 2, or the aspect of the embodiment of the application management method shown in fig. 3, or the aspect of the embodiment of the application management method shown in fig. 4, or the aspect of the embodiment of the game application update method shown in fig. 5 described above.
It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

Claims (14)

1. An application management method, comprising:
if the target application is detected to have an unreleased target version, modifying data information of at least one storage position in an application data packet of the target version;
generating an encrypted data file according to the modified application data packet;
the encrypted data file is issued to a terminal through a channel server;
and responding to the release notice aiming at the target version, issuing decryption information of the encrypted data file to the terminal through the channel server, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
2. The method according to claim 1, wherein if it is detected that the target application has an unreleased target version, encrypting the application data packet of the target version to obtain an encrypted data file comprises:
if the target application is detected to have an unreleased target version, intercepting target data information from an application data packet of the target version;
and generating an encrypted data file by adopting the target data information.
3. The method of claim 1 or 2, wherein said issuing decryption information of the encrypted data file to the terminal through the channel server in response to the publication notification for the target version comprises:
responding to the release notice aiming at the target version, sending the application data packet of the target version to the channel server, enabling the channel server to generate decryption information of the encrypted data file according to the application data packet and the encrypted data file, and sending the decryption information to the terminal;
if the encrypted data file is generated according to the modified application data packet, the decryption information comprises modified data information in the application data packet; and if the encrypted data file is generated by adopting the target data information, the decryption information comprises the residual data information except the target data information in the application data packet.
4. The method of claim 1, wherein the issuing the encrypted data file to the terminal through the channel server comprises:
acquiring file information of the encrypted data file, wherein the file information comprises a storage address of the encrypted data file;
and sending the file information of the encrypted data file to the channel server, so that the terminal acquires the file information from the channel server and acquires the encrypted data file according to a storage address in the file information.
5. The method of claim 4, wherein before obtaining the file information of the encrypted data file, further comprising:
adding the encrypted data file into a content distribution network, wherein the content distribution network is a block chain network or a network formed by at least one cloud server;
and determining the storage address of the encrypted data file in the content distribution network, and adding the storage address to the file information of the encrypted data file.
6. An application management method, comprising:
if the target application is detected to have an unreleased target version, the encrypted data file of the target version is issued to the terminal; the encrypted data file is generated according to the modified application data packet after modifying the data information of at least one storage position in the application data packet of the target version;
acquiring decryption information of the encrypted data file in response to the release notification for the target version;
and sending the decryption information to the terminal, so that the terminal decrypts the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
7. The method of claim 6, wherein said obtaining decryption information for the encrypted data file in response to the publication notification for the target version comprises:
receiving an application data packet of the target version sent by a pre-download server in response to the release notification for the target version;
and generating decryption information of the encrypted data file according to the application data packet and the encrypted data file.
8. The method of claim 7, wherein generating decryption information for the encrypted data file based on the application data package and the encrypted data file comprises:
if the encrypted data file is generated according to the modified application data packet, determining modified data information in the application data packet according to the difference between the application data packet and the encrypted data file, and generating decryption information of the encrypted data file by adopting the modified data information;
and if the encrypted data file is generated by adopting the target data information, intercepting residual data information except the target data information from the application data packet, and generating decryption information of the encrypted data file by adopting the residual data information.
9. An application management method, comprising:
if the target application is detected to have an unreleased target version, acquiring an encrypted data file of the target version through a channel server, wherein the encrypted data file is generated according to a modified application data packet after modifying data information of at least one storage position in the application data packet of the target version;
acquiring decryption information of the encrypted data file from the channel server in response to the publication notification for the target version;
and decrypting the encrypted data file by adopting the decryption information to obtain the application data packet, and installing the target application of the target version according to the application data packet.
10. An application management apparatus, comprising:
the encryption unit is used for modifying data information of at least one storage position in an application data packet of a target version if the fact that the target application has an unreleased target version is detected; generating an encrypted data file according to the modified application data packet;
the communication unit is used for issuing the encrypted data file to a terminal through a channel server;
the communication unit is further configured to issue decryption information of the encrypted data file to the terminal through the channel server in response to the release notification for the target version, so that the terminal decrypts the encrypted data file by using the decryption information to obtain the application data packet, and installs the target application of the target version according to the application data packet.
11. An application management apparatus, comprising:
the communication unit is used for issuing the encrypted data file of the target version to a terminal if the target application is detected to have the target version which is not issued; the encrypted data file is generated according to the modified application data packet after modifying the data information of at least one storage position in the application data packet of the target version;
a processing unit configured to acquire decryption information of the encrypted data file in response to a release notification for the target version;
the communication unit is further configured to send the decryption information to the terminal, so that the terminal decrypts the encrypted data file by using the decryption information to obtain the application data packet, and installs the target application of the target version according to the application data packet.
12. A server comprising an input interface and an output interface, further comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more first instructions adapted to be loaded by the processor and to perform the application management method of any of claims 1-5; alternatively, the computer storage medium stores one or more second instructions adapted to be loaded by the processor and to perform the application management method of any of claims 6-8.
13. A terminal comprising an input device and an output device, further comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more third instructions adapted to be loaded by the processor and to perform the application management method of claim 9.
14. A computer storage medium, wherein the computer storage medium stores one or more first instructions adapted to be loaded by the processor and to perform the application management method of any of claims 1-5; alternatively, the computer storage medium stores one or more second instructions adapted to be loaded by the processor and to perform the application management method according to any of claims 6-8; alternatively, the computer storage medium stores one or more third instructions adapted to be loaded by the processor and to perform the application management method of claim 9.
CN202010602740.8A 2020-06-29 2020-06-29 Application management method, application management device, related equipment and medium Active CN111787093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010602740.8A CN111787093B (en) 2020-06-29 2020-06-29 Application management method, application management device, related equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010602740.8A CN111787093B (en) 2020-06-29 2020-06-29 Application management method, application management device, related equipment and medium

Publications (2)

Publication Number Publication Date
CN111787093A CN111787093A (en) 2020-10-16
CN111787093B true CN111787093B (en) 2021-04-30

Family

ID=72760962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010602740.8A Active CN111787093B (en) 2020-06-29 2020-06-29 Application management method, application management device, related equipment and medium

Country Status (1)

Country Link
CN (1) CN111787093B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947967B (en) * 2021-03-08 2023-09-26 中国联合网络通信集团有限公司 Software updating method, blockchain application store and software uploading terminal
CN114259725A (en) * 2021-12-24 2022-04-01 苏州紫焰网络科技有限公司 Method, device, equipment and storage medium for issuing operation activities

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532735A (en) * 2018-05-23 2019-12-03 霍尼韦尔环境自控产品(天津)有限公司 Firmware upgrade method
CN111258612A (en) * 2020-02-24 2020-06-09 中国工商银行股份有限公司 Application upgrading method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201615022A (en) * 2014-10-14 2016-04-16 Hon Hai Prec Ind Co Ltd Video preloading system and method of video preloading

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532735A (en) * 2018-05-23 2019-12-03 霍尼韦尔环境自控产品(天津)有限公司 Firmware upgrade method
CN111258612A (en) * 2020-02-24 2020-06-09 中国工商银行股份有限公司 Application upgrading method and device

Also Published As

Publication number Publication date
CN111787093A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN104063239B (en) Application program update method and server, the client of mobile terminal
CN101576828B (en) Software version upgrading method, device and server
US7644405B2 (en) System with required enhancements to SyncML DM environment to support firmware updates
CN109561118A (en) Method for upgrading software, device, system, storage medium, electronic equipment and vehicle
EP2696532A2 (en) Method, server and system for starting application
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
CN111787093B (en) Application management method, application management device, related equipment and medium
US20050028001A1 (en) Secured software patching and upgrade method for densely deployed networks having spanning-tree topology
JP2016508322A (en) Advertisement processing method and apparatus
KR101541112B1 (en) FOTA system and the method
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
WO2022095734A1 (en) Information processing method, device, apparatus and system, medium, and program
CN113709530B (en) Resource downloading method, system, electronic equipment and storage medium
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
CN110045969B (en) Application program installation method, server, system, device and storage medium
KR20120111852A (en) A methods and apparatus of separated software upgrade of device and gateway by over the air in the machine to machine communication
WO2024103943A1 (en) Service processing method and apparatus, storage medium, and device
CN116560691A (en) Data processing method, device, computer equipment and readable storage medium
CN111404897A (en) Message distribution method and device, storage medium and electronic equipment
CN113396600A (en) Information verification method, device, equipment and storage medium
CN113986315A (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN112540768A (en) File processing method and device, server, electronic equipment and storage medium
CN111858100A (en) BMC message transmission method and related device
CN103412914A (en) Network client side

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40030737

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant