CN106130951B - Application store service management method and device - Google Patents

Application store service management method and device Download PDF

Info

Publication number
CN106130951B
CN106130951B CN201610379149.4A CN201610379149A CN106130951B CN 106130951 B CN106130951 B CN 106130951B CN 201610379149 A CN201610379149 A CN 201610379149A CN 106130951 B CN106130951 B CN 106130951B
Authority
CN
China
Prior art keywords
encrypted file
application
version information
file name
application program
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
CN201610379149.4A
Other languages
Chinese (zh)
Other versions
CN106130951A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610379149.4A priority Critical patent/CN106130951B/en
Publication of CN106130951A publication Critical patent/CN106130951A/en
Application granted granted Critical
Publication of CN106130951B publication Critical patent/CN106130951B/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
    • 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
    • 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]

Abstract

The invention discloses a method and a device for managing application store service, wherein the device for managing application store service comprises the following steps: the encryption unit is used for acquiring an encrypted file corresponding to the version information of the application program; the first file name unit is used for generating a corresponding encrypted file name for the encrypted file according to a preset file name rule; the first path unit is used for generating a corresponding storage path for the encrypted file according to a preset path rule; and the sending unit is used for sending the encrypted file and the storage path corresponding to the encrypted file to a Content Delivery Network (CDN) server. According to the scheme of the invention, the version information is generated into the file name and the storage path according to the preset rule, and is stored in the CDN server in an encrypted file mode, and then the client uses the appointed rule to download the encrypted file, so that the speed of acquiring the version information by the client is improved, the server cluster scale is reduced, and the cost investment is reduced.

Description

Application store service management method and device
Technical Field
The invention relates to the technical field of application management of mobile terminals, in particular to a method and a device for managing service of an application store.
Background
The app store is an important entrance of the smartphone, and is usually the first choice for the user to download the required application software when the user needs to download the application software.
When a user uses the application store, the user can perform searching, detail viewing, commenting, resource downloading and other operations on the application store client, and most of the operations need to perform message communication and data transmission with the application store server to form a closed loop.
The operation of netizen users can be roughly divided into two types: read information and write data. The reading information comprises downloading of an APK (android package) file and a picture file, acquisition of application description information and the like; the writing data comprises uploading information such as application comments and reports.
Then, with the increase of the user amount, in a large concurrent scene, since the read-write operation needs to occupy the corresponding connection number of the application server and the database, the high-frequency information reading can reduce the data writing speed and damage the user experience.
In order to guarantee the use experience of a user, an application store manufacturer can only adopt a server cluster transverse expansion strategy, the cluster scale of the server is increased, and the external performance of the server is ensured to be in a good state; however, this is achieved with increased cost investment and is not a once-for-all solution.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and an apparatus for managing service of an application store, which can reduce data interaction traffic of an application server cluster and provide processing capability of concurrent services.
In order to achieve the above object, the present invention provides an application store service management apparatus provided on an application server, the application store service management apparatus including:
the encryption unit is used for acquiring an encrypted file corresponding to the version information of the application program;
the first file name unit is used for generating a corresponding encrypted file name for the encrypted file according to a preset file name rule;
the first path unit is used for generating a corresponding storage path for the encrypted file according to a preset path rule;
and the sending unit is used for sending the encrypted file and the storage path corresponding to the encrypted file to a Content Delivery Network (CDN) server.
Preferably, the acquiring, by the encryption unit, an encrypted file corresponding to the version information of the application program includes:
performing persistence processing on the version information of the application program;
serializing the version information of the application program subjected to the persistence processing to obtain a corresponding JSON object character string;
and encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file.
Preferably, the file name rule includes:
obtaining an initial file name according to the attribute information of the application program, and carrying out encryption operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file;
the path rule includes:
setting a storage path corresponding to the encrypted file as follows:
and using different attribute information of the application program as directory names of different levels in the storage path respectively.
Preferably, the obtaining of the initial file name according to the attribute information of the application program includes:
obtaining an initial file name according to the SOFT, the categoryId, the softId, the itemId and the public key field;
the encrypting operation on the initial file name comprises the following steps: the initial file name executes MD5 operation;
the using different attribute information of the application program as the directory names of different levels in the storage path respectively comprises:
using any combination of CDN domain name, SOFT, catgroyId, softId or itemId as directory names of different levels in the storage path respectively;
wherein SOFT represents an identification of an application resource; categoryId is numerical data representing the primary key identification ID of the class to which the current application belongs; softId is numerical data representing the primary key ID of the current application; itemId is numerical data representing the primary key ID of the current application version; the public key field is a constant character string appointed with the client; the encrypted file name is an encrypted file and generates a corresponding encrypted file name.
In order to achieve the above object, the present invention further provides an application store service management apparatus, provided on a client, the apparatus including:
the second file name unit is used for generating an encrypted file name corresponding to the encrypted file according to a preset file name rule; the encrypted file is an encrypted file corresponding to the version information of the application program;
the second path unit is used for generating a storage path corresponding to the encrypted file according to a preset path rule;
the downloading unit is used for downloading the corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
and the decryption unit is used for acquiring the version information of the application program corresponding to the encrypted file.
Preferably, the acquiring, by the decryption unit, version information of an application program corresponding to the encrypted file includes:
decrypting the encrypted file according to a prestored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and performing deserialization processing on the JSON object character string to generate version information of the application program.
In order to achieve the above object, the present invention further provides an application store service management method, including:
the application server acquires an encrypted file corresponding to the version information of the application program;
generating a corresponding encrypted file name for the encrypted file according to a preset file name rule;
generating a corresponding storage path for the encrypted file according to a preset path rule;
and the application server sends the encrypted file corresponding to the version information of the application program and the storage path corresponding to the encrypted file to the CDN server.
Preferably, the obtaining, by the application server, the encrypted file corresponding to the version information of the application program includes:
the application server carries out persistence processing on the version information of the application program;
the application server serializes the version information of the application program after the persistence processing to obtain a corresponding JSON object character string;
and encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file.
In order to achieve the above object, the present invention further provides an application store service management method, including:
the client generates an encrypted file name corresponding to the encrypted file according to a preset file name rule; the encrypted file is an encrypted file corresponding to the version information of the application program;
the client generates a storage path corresponding to the encrypted file according to a preset path rule;
the client downloads a corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
and the client acquires the version information of the application program corresponding to the encrypted file.
Preferably, the obtaining of the version information of the application program corresponding to the encrypted file includes:
decrypting the encrypted file according to a prestored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and performing deserialization processing on the JSON object character string to generate version information of the application program.
Compared with the prior art, the technical scheme provided by the invention comprises the following steps: the application store service management apparatus includes: the encryption unit is used for acquiring an encrypted file corresponding to the version information of the application program; the first file name unit is used for generating a corresponding encrypted file name for the encrypted file according to a preset file name rule; the first path unit is used for generating a corresponding storage path for the encrypted file according to a preset path rule; and the sending unit is used for sending the encrypted file and the storage path corresponding to the encrypted file to a Content Delivery Network (CDN) server. According to the scheme of the invention, reading of version information such as text information is separated from interactive data service of an application server, a file name and a storage path are generated according to a preset rule and are stored in a CDN server in an encrypted file mode, then a client side generates a download path of the encrypted file and performs decryption display of downloaded file version information by using an agreed matching rule, and the speed of the client side for acquiring the text information is improved through the reading mode of the text information; meanwhile, about 80% of concurrent service requests of the server side are reduced, and compared with the management method of the application server in the prior art, the application store service management method can reduce the scale of the server cluster and reduce the cost investment under the condition of the same service processing amount.
Drawings
The accompanying drawings in the embodiments of the present invention are described below, and the drawings in the embodiments are provided for further understanding of the present invention, and together with the description serve to explain the present invention without limiting the scope of the present invention.
FIG. 1 is a schematic diagram of a system architecture for implementing an application store service according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an application store service management apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of another application store service management apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another application store service management apparatus according to an embodiment of the present invention;
fig. 5A and 5B are schematic flow charts of a method for managing service of an application store according to an embodiment of the present invention;
fig. 6A and fig. 6B are schematic flow charts of an application store service management method according to an embodiment of the present invention.
Detailed Description
The following further description of the present invention, in order to facilitate understanding of those skilled in the art, is provided in conjunction with the accompanying drawings and is not intended to limit the scope of the present invention. In the present application, the embodiments and various aspects of the embodiments may be combined with each other without conflict.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
According to survey statistics, in data interaction with the application store server, the operation of acquiring the text detail information accounts for more than 80%, and the operation of writing the data accounts for only about 20%. If the CDN is used for downloading and accelerating the acquisition of the text detail information, the data interaction amount of the application store server can be reduced, the service load of the application store server is reduced, the problem of reduced user experience under the condition of large concurrency is solved, and compared with a solution mode of enlarging the cluster scale of the server, the service load of the application store server can be reduced in a more economic mode by downloading and accelerating the acquisition of the text detail information through the CDN.
Referring to fig. 1, a schematic diagram of a system architecture for implementing an application store service in the embodiment of the present invention is shown, where the system includes a CDN static resource server, a user terminal, and an application server cluster; static resources such as APK and pictures are distributed to a CDN static resource server for downloading by a user; for reading and writing text data, data interaction between the user terminal and the application server cluster is required to complete the reading and writing of the text data.
The following describes an application store service management apparatus and method according to an embodiment of the present invention with reference to the accompanying drawings.
As shown in fig. 2, an embodiment of the present invention provides an application store service management apparatus, disposed on an application server, where the application store service management apparatus includes:
an encryption unit 10, configured to obtain an encrypted file corresponding to version information of an application program;
specifically, the version information of the application program can be encrypted in various ways, and in a preferred way, the encryption processing of the version information of the application program is completed by performing persistence processing and serialization processing on the version information of the application program and encrypting a JSON object character string.
A first filename unit 20 for generating a corresponding encrypted filename for the encrypted file according to a predetermined filename rule;
specifically, by generating a corresponding encrypted file name for the encrypted file according to a predetermined file name rule, the mobile terminal can obtain the encrypted file name of the encrypted file corresponding to the version information of the application program according to the same file name rule, and download the encrypted file from the CDN server according to the encrypted file name, thereby providing a method for downloading the version information of the application program through the CND on the premise of ensuring information security.
A first path unit 30, configured to generate a corresponding storage path for the encrypted file according to a predetermined path rule;
specifically, a corresponding storage path is generated for the encrypted file according to a predetermined file name rule, the mobile terminal can obtain the storage path of the encrypted file corresponding to the version information of the application program according to the same path rule, and download the encrypted file from the CDN server according to the storage path, thereby providing a method for downloading the version information of the application program through the CND on the premise of ensuring information security.
A sending unit 40, configured to send an encrypted file corresponding to the version information of the application program and a storage path corresponding to the encrypted file to a content delivery network CDN server.
Specifically, after generating the corresponding encrypted file and the corresponding storage path, the application server sends the content to a server of the CDN service, and may deliver the content to each CDN server deployed in different areas in the CDN service through the server of the CDN.
In one embodiment, the acquiring, by the encryption unit 10, an encrypted file corresponding to version information of an application program may further include:
performing persistence processing on the version information of the application program;
serializing the version information of the application program subjected to the persistence processing to obtain a corresponding JSON object character string;
and encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file.
The encryption rule is agreed by the server and the client, and the client can decrypt the encrypted file according to the decryption rule corresponding to the encryption rule, so that the JSON object character string corresponding to the encrypted file is encrypted. The encryption rule may adopt an encryption rule in the related art, for example, the BASE64 encryption technique, or the MD5 encryption algorithm, or the like.
In the embodiment of the present invention, the file name rule includes:
and obtaining an initial file name according to the SOFT, the categoryId, the softId, the itemId and the public key field, and performing MD5 operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file.
Illustratively, a corresponding encrypted filename may be generated for the encrypted file according to the following filename rules:
taking < "SOFT" + categoryiD + softId + itemId + public key field > as an initial file name, and performing MD5 operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file; in the present embodiment, the MD5 operation is described as an example, and other encryption algorithms may be used.
In the embodiment of the present invention, the path rule includes:
setting a storage path corresponding to the encrypted file as follows:
using any combination of CDN domain name, SOFT, catgroyId, softId or itemId as directory names of different levels in the storage path respectively;
wherein SOFT represents an identification of an application resource; categoryId is numerical data representing the primary key identification ID of the class to which the current application belongs; softId is numerical data representing the primary key ID of the current application; itemId is numerical data representing the primary key ID of the current application version; the public key field is a constant character string appointed with the client; the encrypted file name is an encrypted file and generates a corresponding encrypted file name.
Illustratively, the corresponding storage path may be generated for the encrypted file according to the following path rules:
setting a storage path corresponding to the encrypted file as follows:
"CDN Domain name/SOFT/catgroyId/softId/itemId/encrypted File name".
Based on the same or similar concept as the above embodiments, an embodiment of the present invention further provides an application store service management apparatus, disposed on a content delivery network CDN server, as shown in fig. 3, where the apparatus includes:
a receiving unit 50, configured to receive an encrypted file corresponding to version information of an application program sent by an application server, and a storage path corresponding to the encrypted file;
and the storage unit 60 is configured to store the encrypted file according to a storage path corresponding to the encrypted file.
Based on the same or similar conception as the above embodiment, the embodiment of the present invention further provides an application store service management apparatus, provided on a client, as shown in fig. 4, the apparatus including:
a second file name unit 70, configured to generate an encrypted file name corresponding to the encrypted file according to a predetermined file name rule; the encrypted file is an encrypted file corresponding to the version information of the application program;
a second path unit 75, configured to generate a storage path corresponding to the encrypted file according to a predetermined path rule;
a downloading unit 80, configured to download the corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
and the decryption unit 90 is used for acquiring the version information of the application program corresponding to the encrypted file.
In this embodiment of the present invention, the acquiring, by the decryption unit, version information of an application program corresponding to the encrypted file includes:
decrypting the encrypted file according to a prestored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and performing deserialization processing on the JSON object character string to generate version information of the application program.
Based on the same or similar concept as the foregoing embodiment, an embodiment of the present invention further provides an application store service management method, and referring to fig. 5A and 5B, a flowchart of the application store service management method provided in the embodiment of the present invention is shown in fig. 5A, where the application store service management method includes:
step 110, an application server receives version information of an application program sent by a server operator;
step 120, the application server obtains an encrypted file corresponding to the version information of the application program;
as shown in fig. 5B, the step 120 includes:
step 121, the application server performs persistence processing on the version information of the application program;
step 122, the application server serializes the version information of the application program after the persistence processing to obtain a corresponding JSON object character string;
step 123, encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file;
step 130, generating a corresponding encrypted file name for the encrypted file according to a preset file name rule;
and obtaining an initial file name according to the SOFT, the categoryId, the softId, the itemId and the public key field, and performing MD5 operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file.
Illustratively, a corresponding encrypted filename may be generated for the encrypted file according to the following filename rules:
taking < "SOFT" + categoryiD + softId + itemId + public key field > as an initial file name, and performing MD5 operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file; in the present embodiment, the MD5 operation is described as an example, and other encryption algorithms may be used.
Wherein "SOFT" represents an application resource; categoryId is a numerical data representing the primary key ID of the class to which the current application belongs; softId is a numeric data representing the primary key ID of the current application; itemId is a numeric data representing the primary key ID of the current application version; the public key field is a constant string agreed with the client.
Step 140, generating a corresponding storage path for the encrypted file according to a predetermined path rule;
wherein the path rule comprises:
setting a storage path corresponding to the encrypted file as follows: any combination of CDN domain names, SOFT, catgroyId, softId, or itemld is used as the directory names of different levels in the storage path, respectively.
Illustratively, the corresponding storage path may be generated for the encrypted file according to the following path rules:
setting a storage path corresponding to the encrypted file as follows:
CDN domain name/SOFT/catgroyId/softId/itemId/encrypted File name
Wherein "SOFT" represents an identification of an application resource; categoryId is numerical data representing the primary key identification ID of the class to which the current application belongs; softId is numerical data representing the primary key ID of the current application; itemId is numerical data representing the primary key ID of the current application version; the public key field is a constant character string appointed with the client; the encrypted file name is an encrypted file and generates a corresponding encrypted file name.
Step 150, the application server sends the encrypted file corresponding to the version information of the application program and the storage path corresponding to the encrypted file to the CDN server;
and the content of the last layer of the storage path is an encrypted file name corresponding to the encrypted file.
The application server sends the encrypted file corresponding to the version information of the application program and the storage path corresponding to the encrypted file to the static resource server, and the static resource server distributes the encrypted file corresponding to the version information of the application program and the storage path corresponding to the encrypted file to each CDN server.
Preferably, after step 150, further comprising:
step 160, the CDN server stores the encrypted file according to the storage path corresponding to the encrypted file.
Based on the same or similar concepts as those in the foregoing embodiments, an embodiment of the present invention further provides an application store service management method, and referring to fig. 6A and 6B, a flowchart of the application store service management method provided in the embodiment of the present invention is shown, as shown in fig. 6A, where the application store service management method includes:
step 210, the client generates an encrypted file name corresponding to the encrypted file according to a preset file name rule;
the file name rule adopted by the client is the same as the file name rule adopted by the application server when generating the encrypted file name.
Step 220, the client generates a storage path corresponding to the encrypted file according to a predetermined path rule;
the path rule adopted by the client is the same as the path rule adopted by the application server when generating the storage path.
Wherein there is no specific precedence order of step 210 and step 220.
In step 230, the client downloads the corresponding encrypted file from the CDN according to the generated encrypted file name and the storage path.
Step 240, the client acquires version information of an application program corresponding to the encrypted file;
as shown in fig. 6B, the step 240 includes:
step 241, the client decrypts the encrypted file according to a pre-stored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and the decryption rule prestored by the client is a decryption rule corresponding to the encryption rule adopted by the application server when the JSON object character string is encrypted.
And 242, performing deserialization processing on the JSON object character string by the client to generate version information of the application program, wherein the version information of the application program comprises data information suitable for being displayed on a client interface.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An application store service management device, adapted to a system architecture including a Content Delivery Network (CDN) server, a client and an application server cluster, disposed on an application server, the application store service management device comprising:
the encryption unit is used for acquiring an encrypted file corresponding to the version information of the application program; reading the version information is separated from the interactive data service of the application server;
the first file name unit is used for generating a corresponding encrypted file name for the encrypted file according to a preset file name rule;
the first path unit is used for generating a corresponding storage path for the encrypted file according to a preset path rule;
the sending unit is used for sending the encrypted file and the storage path corresponding to the encrypted file to a Content Delivery Network (CDN) server so that the client downloads the corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
and the interaction unit is used for completing data interaction between the written text data and the application server cluster through the client.
2. The application store service management apparatus according to claim 1, wherein the encryption unit acquiring the encrypted file corresponding to the version information of the application program includes:
performing persistence processing on the version information of the application program;
serializing the version information of the application program subjected to the persistence processing to obtain a corresponding JSON object character string;
and encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file.
3. The application store service management apparatus according to claim 1,
the file name rule comprises:
obtaining an initial file name according to the attribute information of the application program, and carrying out encryption operation on the initial file name to obtain an encrypted file name corresponding to the encrypted file;
the path rule includes:
setting a storage path corresponding to the encrypted file as follows:
and using different attribute information of the application program as directory names of different levels in the storage path respectively.
4. The application store service management apparatus according to claim 3,
the obtaining of the initial file name according to the attribute information of the application program includes:
obtaining an initial file name according to the SOFT, the categoryId, the softId, the itemId and the public key field;
the encrypting operation on the initial file name comprises the following steps: the initial file name executes MD5 operation;
the using different attribute information of the application program as the directory names of different levels in the storage path respectively comprises:
using any combination of CDN domain name, SOFT, catgroyId, softId or itemId as directory names of different levels in the storage path respectively;
wherein SOFT represents an identification of an application resource; categoryId is numerical data representing the primary key identification ID of the class to which the current application belongs; softId is numerical data representing the primary key ID of the current application; itemId is numerical data representing the primary key ID of the current application version; the public key field is a constant character string appointed with the client; the encrypted file name is an encrypted file and generates a corresponding encrypted file name.
5. An application store service management device, which is applied to a system architecture comprising a Content Delivery Network (CDN) server, a client and an application server cluster, and is arranged on the client, and is characterized in that the device comprises:
the second file name unit is used for generating an encrypted file name corresponding to the encrypted file according to a preset file name rule; the encrypted file is an encrypted file corresponding to the version information of the application program, and the reading of the version information is separated from the interactive data service of the application server;
the second path unit is used for generating a storage path corresponding to the encrypted file according to a preset path rule;
the downloading unit is used for downloading the corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
the decryption unit is used for acquiring the version information of the application program corresponding to the encrypted file;
and the interaction unit is used for completing data interaction between the written text data and the application server cluster through the client.
6. The application store service management apparatus according to claim 5, wherein the decryption unit acquiring version information of the application program corresponding to the encrypted file includes:
decrypting the encrypted file according to a prestored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and performing deserialization processing on the JSON object character string to generate version information of the application program.
7. An application store service management method is suitable for a system architecture comprising a Content Delivery Network (CDN) server, a client and an application server cluster, and is characterized by comprising the following steps:
separating the reading of the version information from the interactive data service of the application server;
the application server acquires an encrypted file corresponding to the version information of the application program;
generating a corresponding encrypted file name for the encrypted file according to a preset file name rule;
generating a corresponding storage path for the encrypted file according to a preset path rule;
the method comprises the steps that an application server sends an encrypted file corresponding to version information of an application program and a storage path corresponding to the encrypted file to a Content Delivery Network (CDN) server;
the client downloads a corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
the method further comprises the following steps: and writing the character data into the application server cluster through the client side to complete data interaction.
8. The application store service management method according to claim 7, wherein the acquiring, by the application server, the encrypted file corresponding to the version information of the application program includes:
the application server carries out persistence processing on the version information of the application program;
the application server serializes the version information of the application program after the persistence processing to obtain a corresponding JSON object character string;
and encrypting the JSON object character string according to a preset encryption rule to obtain a corresponding encrypted file.
9. An application store service management method is suitable for a system architecture comprising a Content Delivery Network (CDN) server, a client and an application server cluster, and is characterized by comprising the following steps:
the client generates an encrypted file name corresponding to the encrypted file according to a preset file name rule; the encrypted file is an encrypted file corresponding to the version information of the application program, and the reading of the version information is separated from the interactive data service of the application server;
the client generates a storage path corresponding to the encrypted file according to a preset path rule;
the client downloads a corresponding encrypted file from the CDN server according to the generated encrypted file name and the storage path;
the client acquires version information of an application program corresponding to the encrypted file;
the method further comprises the following steps: and writing the character data into the application server cluster through the client side to complete data interaction.
10. The app store service management method according to claim 9, wherein the acquiring version information of the app corresponding to the encrypted file includes:
decrypting the encrypted file according to a prestored decryption rule to obtain a JSON object character string corresponding to the encrypted file;
and performing deserialization processing on the JSON object character string to generate version information of the application program.
CN201610379149.4A 2016-05-31 2016-05-31 Application store service management method and device Active CN106130951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610379149.4A CN106130951B (en) 2016-05-31 2016-05-31 Application store service management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379149.4A CN106130951B (en) 2016-05-31 2016-05-31 Application store service management method and device

Publications (2)

Publication Number Publication Date
CN106130951A CN106130951A (en) 2016-11-16
CN106130951B true CN106130951B (en) 2020-05-01

Family

ID=57270402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379149.4A Active CN106130951B (en) 2016-05-31 2016-05-31 Application store service management method and device

Country Status (1)

Country Link
CN (1) CN106130951B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749793A (en) * 2017-09-22 2018-03-02 中积有限公司 The method for retrieving and device of a kind of public private key pair
CN111241455B (en) * 2020-01-22 2023-08-25 抖音视界有限公司 Data processing apparatus, computer device, and storage medium
CN111666580B (en) * 2020-06-24 2022-11-04 北京航天数据股份有限公司 File encryption method, file decryption method and file encryption device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064729A (en) * 2006-04-27 2007-10-31 中国电信股份有限公司 System and method for realizing FTP download service through CDN network
CN105590064A (en) * 2015-12-14 2016-05-18 中国建设银行股份有限公司 File processing method, file processing device and file server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730187B2 (en) * 2006-10-05 2010-06-01 Limelight Networks, Inc. Remote domain name service
US8543675B1 (en) * 2009-12-17 2013-09-24 Amazon Technologies, Inc. Consistent link sharing
CN103036969B (en) * 2012-12-10 2017-03-15 北京奇虎科技有限公司 For providing the management equipment and method of file download address
CN103810011B (en) * 2014-02-25 2017-09-12 广州视源电子科技股份有限公司 The method that OTA upgradings are realized by file server
CN103825906B (en) * 2014-03-14 2017-02-15 网宿科技股份有限公司 Enterprise private key self-encryption and self-arrangement method based on content distribution network
CN106101231B (en) * 2014-12-22 2020-02-21 北京奇虎科技有限公司 Method and device for realizing resource downloading through CDN (content delivery network), server and client

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064729A (en) * 2006-04-27 2007-10-31 中国电信股份有限公司 System and method for realizing FTP download service through CDN network
CN105590064A (en) * 2015-12-14 2016-05-18 中国建设银行股份有限公司 File processing method, file processing device and file server

Also Published As

Publication number Publication date
CN106130951A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
US9792633B2 (en) Method and system for intelligent processing of electronic information with cloud computing
US8477944B2 (en) Communication system, base station apparatus and terminal apparatus
KR101464950B1 (en) A information processing and delivery method
CN105991682B (en) Data sharing method and device
US20170371625A1 (en) Content delivery method
CN109995876B (en) File transmission method, device, system and computer storage medium
US20190109892A1 (en) Contents management method and apparatus
US9615116B2 (en) System, method and apparatus for securely distributing content
US20170063969A1 (en) Systems and methods for content distribution
CN102047239B (en) Defining, distributing and presenting device experiences
CN111241559A (en) Training model protection method, device, system, equipment and computer storage medium
CN106130951B (en) Application store service management method and device
CN112487451B (en) Display method and device and electronic equipment
CN109241423B (en) Information recommendation method and device, electronic equipment and storage medium
CN113656713B (en) Network resource processing method, device and system
JP2014106690A (en) Terminal equipment, server, content distribution system, content distribution method and program
US20220247736A1 (en) Method and apparatus for sharing content data between networked devices
KR101342039B1 (en) Promotion Marketing Service Apparatus and Method Based on Near Field Communication
US20150082043A1 (en) Terminal, server and digital content authorization method
CN112329044A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN117118598A (en) Data sharing method, electronic equipment and computer cluster
CN111767550A (en) Data storage method and device
CN108985109A (en) A kind of date storage method and device
CN111897620A (en) Interaction method and device and electronic equipment
CN111953502A (en) Information announcement method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant