CN109614114B - License file acquisition method and device, readable storage medium and electronic equipment - Google Patents

License file acquisition method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN109614114B
CN109614114B CN201811341715.8A CN201811341715A CN109614114B CN 109614114 B CN109614114 B CN 109614114B CN 201811341715 A CN201811341715 A CN 201811341715A CN 109614114 B CN109614114 B CN 109614114B
Authority
CN
China
Prior art keywords
license file
terminal
license
acquisition request
target application
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
CN201811341715.8A
Other languages
Chinese (zh)
Other versions
CN109614114A (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811341715.8A priority Critical patent/CN109614114B/en
Publication of CN109614114A publication Critical patent/CN109614114A/en
Application granted granted Critical
Publication of CN109614114B publication Critical patent/CN109614114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure relates to a License file acquisition method and device, a readable storage medium and electronic equipment. The method comprises the following steps: the method comprises the steps that a first terminal obtains installation data of a target application program to be installed on a second terminal; generating a License file acquisition request; sending the License file acquisition request to a server so that the server acquires a sequence code of a target application program and equipment information of a second terminal according to the installation data and verifies the License file acquisition request according to the sequence code and the equipment information; and the first terminal acquires the License file according to License file related information sent by the server when the License file acquisition request passes the verification, and transmits the License file to the second terminal. By adopting the technical scheme, the information required by the user for acquiring the License file does not need to be manually input, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intellectualization of acquiring the License file and the satisfaction degree of the user are improved.

Description

License file acquisition method and device, readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a License file obtaining method and apparatus, a readable storage medium, and an electronic device.
Background
With the rapid increase of the software usage amount and the increasing size of the software, the software is spread and separated from a hardware carrier, and the software can be locally installed and run for licensing. Software companies generally adopt advanced encryption technology to protect the use right of software, different software copies need different passwords to install and run, and the License file at the moment is equivalent to a key to open the corresponding software. Therefore, in the process of installing the software by the user, the License file corresponding to the software needs to be provided, so that the software can be successfully installed.
Most of the prior art applies for License files manually. For example, the user may notify the customer service staff of the project information of the project using the software and the device information of the device using the software through a manual telephone, or input the project information and the device information in a License application page on the terminal, so that the customer service staff or a staff in the background of the terminal can determine whether to apply for the License file of the user according to the project information and the device information, that is, whether to allocate the License file to the software. However, in the above manner, since the user needs to manually input the project information and the device information, the manual participation is more, the process is more complicated, and the user satisfaction is reduced. In addition, when a user applies for License files for the same software for multiple times, project information and equipment information need to be repeatedly filled, which is time-consuming.
Disclosure of Invention
In order to overcome the problems in the prior art, embodiments of the present disclosure provide a License file acquisition method and apparatus, a readable storage medium, and an electronic device.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides a method for acquiring a License file, which is applied to a first terminal, and the method includes:
acquiring installation data of a target application program to be installed on a second terminal, wherein the installation data is generated based on a sequence code of the target application program and equipment information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program;
generating a License file acquisition request, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to the target application program and comprises the installation data;
sending the License file acquisition request to a server so that the server acquires the sequence code and the equipment information according to the installation data and verifies the License file acquisition request according to the sequence code and the equipment information;
acquiring the License file according to License file related information sent by the server when the License file acquisition request passes verification, wherein the License file related information comprises the License file or a download link of the License file;
and transmitting the License file to the second terminal.
Optionally, the obtaining installation data of the target application to be installed on the second terminal includes:
and acquiring installation data of the target application program to be installed on the second terminal through an access identifier displayed by the second terminal, wherein the access identifier comprises at least one of a graphic identification code and a link identifier.
Optionally, the second terminal is in a non-networked environment.
Optionally, the method further comprises:
receiving prompt information sent by the server when the License file acquisition request fails to be verified;
and outputting the prompt information.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
A second aspect of the embodiments of the present disclosure provides a method for acquiring a License file, which is applied to a server, and the method includes:
receiving a License file acquisition request sent by a first terminal, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to a target application program to be installed on a second terminal, the License file acquisition request comprises installation data of the target application program, the installation data is generated based on a sequence code of the target application program and equipment information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program;
acquiring a sequence code of the target application program and equipment information of the second terminal according to the installation data;
verifying the License file acquisition request according to the sequence code and the equipment information;
and when the License file acquisition request passes verification, sending License file related information to the first terminal so that the first terminal acquires the License file according to the License file related information, wherein the License file related information comprises the License file or a download link of the License file.
Optionally, the method further comprises the step of obtaining the device information according to the sequence code; the verifying the License file acquisition request comprises the following steps:
according to the sequence code, determining the preset protocol information corresponding to the sequence code, wherein the preset protocol information at least comprises: the user uses the valid period of the target application program and the License file quantity threshold value;
when the timestamp of the License file acquisition request is positioned in the validity period and the number of License files which are acquired by the user aiming at the target application program and are in the valid state is less than the threshold value of the number of License files, determining that the License file acquisition request passes verification; and when the timestamp of the License file acquisition request is not in the validity period, or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold value, determining that the License file acquisition request fails to verify.
Optionally, the preset protocol information further includes: project information and user information; and
when the timestamp of the License file acquisition request is positioned in the validity period and the number of License files which are acquired by the user aiming at the target application program and are in the valid state is smaller than the threshold value of the number of License files, determining that the License file acquisition request passes verification; when the timestamp of the License file acquisition request is not within the validity period or the number of License files acquired by the user for the target application program and in a valid state is greater than or equal to the License file number threshold, verifying the License file acquisition request before the step of determining that the License file acquisition request fails to be verified, the method further includes:
and determining that the project information and the user information are accurate.
Optionally, the method further comprises:
and sending prompt information to the first terminal when the License file acquisition request fails to verify.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
A third aspect of the embodiments of the present disclosure provides a method for acquiring a License file, which is applied to a second terminal, and the method includes:
generating installation data of a target application program according to a sequence code of the target application program to be installed and equipment information of the second terminal, wherein the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program;
generating an access identifier according to the installation data, wherein the access identifier comprises at least one of a graphic identification code and a link identifier;
displaying the access identifier so that the first terminal can acquire the installation data through the access identifier and generate a License file acquisition request, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to the target application program and comprises the installation data;
and receiving the License file transmitted by the first terminal.
Optionally, the second terminal is in a non-networked environment.
A fourth aspect of the embodiments of the present disclosure provides an apparatus for acquiring a License file, which is applied to a first terminal, where the apparatus includes:
a first obtaining module, configured to obtain installation data of a target application to be installed on a second terminal, where the installation data is generated based on a sequence code of the target application and device information of the second terminal, the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a first generation module, configured to generate a License file acquisition request, where the License file acquisition request is used to request to acquire a License file corresponding to the target application program, and the License file acquisition request includes the installation data;
the first sending module is used for sending the License file acquisition request to a server so that the server can acquire the sequence code and the equipment information according to the installation data and verify the License file acquisition request according to the sequence code and the equipment information;
a second obtaining module, configured to obtain the License file according to License file related information sent by the server when the License file obtaining request verification passes, where the License file related information includes the License file or a download link of the License file;
and the first transmission module is used for transmitting the License file to the second terminal.
Optionally, the first obtaining module includes:
the first obtaining submodule is used for obtaining the installation data of the target application program to be installed on the second terminal through the access identifier displayed by the second terminal, and the access identifier comprises at least one of a graphic identification code and a link identifier.
Optionally, the second terminal is in a non-networked environment.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving prompt information sent by the server when the License file acquisition request fails to verify;
and the output module is used for outputting the prompt message.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
A fifth aspect of the embodiments of the present disclosure provides an apparatus for acquiring a License file, which is applied to a server, where the apparatus includes:
a second receiving module, configured to receive a License file acquisition request sent by a first terminal, where the License file acquisition request is used to request to acquire a License file corresponding to a target application to be installed on a second terminal, and the License file acquisition request includes installation data of the target application, the installation data is generated based on a sequence code of the target application and device information of the second terminal, the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
the third acquisition module is used for acquiring the sequence code of the target application program and the equipment information of the second terminal according to the installation data;
the verification module is used for verifying the License file acquisition request according to the sequence code and the equipment information;
and the second sending module is used for sending License file related information to the first terminal when the License file obtaining request passes the verification so that the first terminal obtains the License file according to the License file related information, and the License file related information comprises the License file or a download link of the License file.
Optionally, the verification module comprises:
a first determining submodule, configured to determine, according to the sequence code, the preset protocol information corresponding to the sequence code, where the preset protocol information at least includes: the user uses the valid period of the target application program and the License file quantity threshold value;
a second determining submodule, configured to determine that the License file acquisition request passes verification when a timestamp of the License file acquisition request is located within the validity period and the number of License files that are acquired by the user for the target application program and are in a valid state is smaller than the threshold value of the number of License files; and when the timestamp of the License file acquisition request is not in the validity period, or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold value, determining that the License file acquisition request fails to verify.
Optionally, the preset protocol information further includes: project information and user information; and
the authentication module further comprises: a third determining sub-module, configured to, when the timestamp of the License file obtaining request is within the validity period and the number of License files that are obtained by the user for the target application and are in a valid state is smaller than the threshold of the number of License files, determine that the License file obtaining request passes verification in the second determining sub-module; and when the timestamp of the License file acquisition request is not in the validity period or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold, determining that the project information and the user information are accurate before the step of determining that the License file acquisition request fails to be verified.
Optionally, the apparatus further comprises:
and the third sending module is used for sending prompt information to the first terminal when the License file acquisition request fails to verify.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
A sixth aspect of the present disclosure provides an apparatus for acquiring a License file, which is applied to a second terminal, where the apparatus includes:
a second generating module, configured to generate installation data of a target application according to a sequence code of the target application to be installed and device information of the second terminal, where the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a third generation module, configured to generate an access identifier according to the installation data, where the access identifier includes at least one of a graphic identifier and a link identifier;
a display module, configured to display the access identifier, so that the first terminal obtains the installation data through the access identifier, and generates a License file obtaining request, where the License file obtaining request is used to request to obtain a License file corresponding to the target application program, and the License file obtaining request includes the installation data;
and the fourth receiving module is used for receiving the License file transmitted by the first terminal.
Optionally, the second terminal is in a non-networked environment.
A seventh aspect of the embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the License file acquiring method provided in any one of the first, second, and third aspects of the embodiments of the present disclosure.
An eighth aspect of the embodiments of the present disclosure provides an electronic device, including:
a memory having a computer program stored thereon;
a processor, configured to execute the computer program in the memory, so as to implement the steps of the License file obtaining method provided in any one of the first aspect, the second aspect, and the third aspect of the embodiments of the present disclosure.
The License file acquisition method provided by the embodiment of the disclosure comprises the following steps: the method comprises the steps that a first terminal obtains installation data of a target application program to be installed on a second terminal; generating a License file acquisition request; sending the License file acquisition request to a server so that the server acquires the sequence code of the target application program and the equipment information of the second terminal according to the installation data, and verifying the License file acquisition request according to the sequence code and the equipment information; and the first terminal acquires the License file according to License file related information sent by the server when the License file acquisition request passes the verification, and transmits the License file to the second terminal. By adopting the technical scheme, the information required by the user for acquiring the License file does not need to be manually input, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intellectualization of acquiring the License file and the satisfaction degree of the user are improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart illustrating a License file acquiring method applied to a first terminal according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a License file acquiring method applied to a second terminal according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a License file acquiring method applied to a server according to an exemplary embodiment.
Fig. 4 is a flow diagram illustrating a method by which a server verifies a License file retrieval request in accordance with another exemplary embodiment.
Fig. 5 is an interaction diagram between a first terminal, a second terminal, and a server in a License file obtaining method according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for acquiring a License file applied to a first terminal according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for acquiring a License file applied to a server according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus for acquiring a License file applied to a second terminal according to an exemplary embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 10 is a block diagram illustrating an electronic device in accordance with another example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
In order to solve the disadvantages of more manual participation, more complicated process and time consumption when a License file is manually applied, the embodiment of the disclosure provides a License file acquisition method, a License file acquisition device, a readable storage medium and an electronic device.
Before describing the License file acquiring method in detail, an implementation environment of the License file acquiring method provided by the embodiment of the present disclosure is described first.
Generally, when a user uses an application developed by a program developer, the user pays a certain fee to the program developer and signs a purchase contract. The purchase contract usually includes default agreement information, which characterizes the conditions followed by the user to use the application program. For example, the preset protocol information may include one or more of the following information: the validity period of the application program used by the user, the License file quantity threshold value, the project information of the project using the application program, the user information and the like. Wherein the validity period characterizes a period of time during which the user may legitimately use the application. The License file quantity threshold value represents the maximum value of the License file quantity which is obtained by the user aiming at the application program and is in a valid state in the valid period. For example, the validity period may be from 1/6/2017 to 30/12/2017, from 1/2018 to 30/12/2018, and the like, and the License file number threshold may be 6, 8, 10, and the like. In addition, the License file itself also has a validity period, which may be a preset value. In general, the validity period of a License file may be 1 month, 2 months, or 3 months. License files within the valid period of the License files are called License files in valid state, and License files beyond the valid period of the License files are called License files in invalid state. For example, assuming that the valid period of the License file is 3 months, the License file is in a valid state within 3 months from the date of generation of the License file, and the License file is in a invalid state beyond 3 months.
In the disclosure, during the valid period of the application used by the user, if the License file of the application on the terminal is invalid, the user may further apply for the License file to the terminal and the application from the server.
The item information indicates to which item the user applies the application, and may be, for example, an item name, an item number, or the like. The user information is used to indicate the user identity, for example, information of an individual or a company who purchased the application. Thus, when the preset protocol information comprises the project information and the user information, whether the preset protocol information is accurate can be determined by confirming whether the project information and the user information are accurate by the user.
Further, after the user signs a purchase contract with the program developer, the program developer writes the serial code in the installation package of the application program purchased by the user, and gives the installation package containing the serial code to the user. The sequence code may be a code of a purchase contract signed by the user and the program developer, so that the purchase contract can be found according to the sequence code in the following, and the preset agreement information in the purchase contract is found.
Next, a method for acquiring a License file provided in an embodiment of the present disclosure is described in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating a License file acquiring method applied to a first terminal according to an exemplary embodiment. As shown in fig. 1, the method may include the following steps.
In step 11, installation data of a target application to be installed on the second terminal is acquired. The installation data is generated based on a sequence code of the target application program and the device information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program.
In the embodiment of the present disclosure, the target application is an application purchased by the user from the program developer, and the second terminal is a terminal to which the target application is to be installed. The first terminal is another terminal different from the second terminal. In the present disclosure, in order to facilitate the second terminal to automatically acquire the License file, the first terminal is utilized as a communication medium between the second terminal and the server. The first terminal can establish communication connection with the server through wireless or wired communication modes such as 2G, 3G, 4G, 5G, WiFi and the like. The first terminal may be in communication connection with the second terminal through wireless or wired communication methods such as infrared, bluetooth, 2G, 3G, 4G, and 5G, WiFi. However, in order to secure the environment in which the second terminal installs the target application, it is preferable that the second terminal operates in a non-networking environment during the installation of the target application by the second terminal. In the present disclosure, the non-networking environment refers to a state in which the terminal does not access the internet, for example, the terminal does not open a data network such as 2G, 3G, 4G, etc. to access the internet, and does not open WiFi to access the internet. Therefore, data communication needs to be carried out between the first terminal and the second terminal in a non-networking transmission mode, such as a Bluetooth mode, an infrared mode, a data line mode and the like.
As described above, the installation data of the target application is generated based on the serial code of the target application and the device information of the second terminal. Wherein the serial code may be contained within an installation package of the target application. Further, the device information of the second terminal may exemplarily comprise one or more of: an IP Address (Internet Protocol Address) and a MAC (Media Access Control) Address of the second terminal, and the like.
In one embodiment, the installation data may include the serial code and device information of the second terminal, e.g., the serial code and the device information are combined to obtain the installation data. In another embodiment, the installation data may be data obtained by encrypting the serial code and the device information, for example, the serial code and the device information are first combined, and the combined data is encrypted, and the obtained encrypted data is used as the installation data. Therefore, the leakage of the sequence code can be effectively avoided, and the data security is further ensured.
In step 12, a License file acquisition request is generated. The License file acquisition request is used for requesting a License file corresponding to a target application program to be installed on the second terminal, and the License file acquisition request comprises the installation data.
In step 13, the License file acquisition request is sent to the server, so that the server acquires the sequence code and the device information according to the installation data, and verifies the License file acquisition request according to the sequence code and the device information.
In the embodiment that the installation data is directly combined by the sequence code and the device information, after receiving the License file acquisition request, the server can directly extract the sequence code and the device information from the installation data contained in the License file acquisition request, and then verify the License file acquisition request according to the sequence code and the device information. In the embodiment that the installation data is obtained by encrypting the sequence code and the device information, after receiving the License file acquisition request, the server may decrypt the installation data by using a preset decryption algorithm corresponding to the encryption algorithm, extract the sequence code and the device information from the decrypted data, and verify the License file acquisition request according to the sequence code and the device information.
In step 14, the License file is acquired according to the License file related information sent by the server when the License file acquisition request verification passes.
And the server verifies the License file acquisition request. And when the authentication is passed, the server can send License file related information to the first terminal. And the License file related information is used for the first terminal to acquire the License file. For example, the License file related information may include: license file or download link of License file. When the License file related information is a License file, the first terminal can directly acquire the License file when receiving the License file related information sent by the server. When the License file related information is a download link of the License file, the first terminal can acquire the download link of the License file when receiving the License file related information sent by the server, and further the first terminal can download the License file through the download link of the License file in a networking environment.
In step 15, the License file is transmitted to the second terminal.
After the first terminal acquires the License file according to any one of the above embodiments, the License file needs to be sent to the second terminal, so that the second terminal can acquire the License file and normally install the target application program. Illustratively, the first terminal may transmit the License file to the second terminal through transmission means such as bluetooth, infrared, data line, and the like.
Through the technical scheme disclosed by the invention, the information required by the user for acquiring the License file does not need to be manually input, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intellectualization of acquiring the License file and the satisfaction degree of the user are improved.
Fig. 2 is a flowchart illustrating a License file acquiring method applied to a second terminal according to an exemplary embodiment, where the second terminal is the second terminal mentioned in the embodiment described above with reference to fig. 1. As shown in fig. 2, the method may include the following steps.
In step 21, installation data of the target application is generated based on the serial code of the target application to be installed and the device information of the second terminal. The sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program.
As described above, before sending the installation package to the user, the program developer writes the serial code into the installation package, so that when the user installs the target application program on the second terminal, the second terminal can automatically read out the serial code in the installation package and generate installation data based on the serial code and the device information of the second terminal. The device information of the second terminal is as described above, and is not described herein again.
In one embodiment, the second terminal may combine the serial code and the device information to obtain the installation data, and thus, the installation data may include the serial code and the device information. In another embodiment, the second terminal may first combine the serial code and the device information, and encrypt the combined data, with the resulting encrypted data as the installation data. Thus, the installation data may be data obtained by encrypting the serial code and the device information. Therefore, the leakage of the sequence code can be effectively avoided, and the data security is further ensured.
In step 22, an access identifier is generated from the installation data. Wherein the access identifier may include at least one of a graphic identifier code and a link identifier. The graphic identification code may be a bar code, a two-dimensional code, or the like.
In step 23, the access identification is displayed. In this way, the first terminal acquires the installation data through the access identifier displayed on the second terminal. For example, the first terminal may acquire the installation data by scanning an access identifier in the form of a graphic identification code; alternatively, the first terminal may download the installation data by accessing an access identifier in the form of a link identifier. After the first terminal acquires the installation data, the License file corresponding to the target application program may be acquired from the server through the above steps 11 to 14, and the License file may be transmitted to the second terminal through the step 15.
In step 24, the License file transmitted by the first terminal is received. Thus, the second terminal can install the target application program based on the License file.
Through the technical scheme disclosed by the invention, the information required by the user for acquiring the License file does not need to be manually input, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intellectualization of acquiring the License file and the satisfaction degree of the user are improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a License file acquiring method applied to a server according to an exemplary embodiment, where the server is the server mentioned in the embodiment described above in conjunction with fig. 1 and 2. As shown in fig. 3, the method may include the following steps.
In step 31, a License file acquisition request sent by the first terminal is received.
As described above, the License file acquisition request is used to request to acquire a License file corresponding to a target application to be installed on the second terminal, and the License file acquisition request includes installation data of the target application, where the installation data is generated based on a serial code of the target application and device information of the second terminal.
In step 32, the serial code of the target application and the device information of the second terminal are acquired according to the installation data.
In an embodiment where the installation data is formed by the second terminal directly combining the serial code and the device information, the server may directly extract the serial code and the device information from the installation data included therein after receiving the License file acquisition request. In the embodiment where the installation data is obtained by the second terminal by encrypting the serial code and the device information, after receiving the License file acquisition request, the server may first decrypt the installation data by using a preset decryption algorithm corresponding to the encryption algorithm used by the second terminal, and then extract the serial code and the device information from the decrypted data.
In step 33, the License file acquisition request is verified according to the sequence code and the device information.
And verifying the License file acquisition request, namely judging whether a purchase contract which is signed by a user in advance with a program developer is met or not according to the sequence code and the equipment information, wherein if the purchase contract is met, the server can distribute the License file for the second terminal, and if not, the server refuses to distribute the License file for the second terminal.
Specifically, referring to fig. 4, fig. 4 is a flowchart illustrating a method for a server to validate a License file retrieval request according to an exemplary embodiment. As shown in fig. 4, step 33 specifically includes the following steps.
In step 331, according to the sequence code, predetermined protocol information corresponding to the sequence code is determined.
As described above, the serial code may be a code of a purchase contract that the user signs with the program developer, and the purchase contract contains the information of the predetermined agreement. Therefore, after receiving the License file acquisition request, the server can search the preset protocol information corresponding to the sequence code according to the sequence code in the License file acquisition request.
In one embodiment, the predetermined protocol information at least includes: the user uses the target application's expiration date and License file number threshold.
In step 332, when the timestamp of the License file obtaining request is located in the validity period, and the number of License files which are obtained by the user for the target application program and are in the valid state is less than the threshold value of the number of License files, it is determined that the License file obtaining request passes the verification.
In step 333, it is determined that the License file acquisition request fails to verify when the timestamp of the License file acquisition request is not within the validity period or the number of License files acquired by the user for the target application program and in a valid state is greater than or equal to the threshold number of License files.
For example, assuming that the validity period in the preset protocol information is from 6/month 1/2018 to 12/month 30/2018, and the threshold of the number of License files is 6, if the first terminal is a License file acquisition request sent from 6/month 1/2018 to 12/month 30/2018, and the number of License files which are acquired by the user for the target application and are in a valid state and recorded by the server is less than 6, the server determines that the License file acquisition request passes verification. When either of the two conditions is not satisfied, it is determined that the License file acquisition request is illegal, and at this time, the verification is not passed.
It should be noted that, when the License file acquisition request is verified each time, the server allocates a License file to the terminal where the target application program is installed, and records the number of times of the License file allocated to the user according to the preset protocol information, so as to count the number of License files acquired by the user for the target application program and the number of License files acquired in an effective state. In addition, since only one License file of the target application can be used by one terminal, in order to avoid the terminal from repeatedly applying for the License file, the server distributes the License file to the terminal where the target application is installed and records the device information of the terminal.
In addition, in order to ensure the accuracy of verifying the License file acquisition request, the preset protocol information may further include: project information and user information. As shown in fig. 4, the method may further include the following steps before step 322.
In step 334, it is determined that the project information and the user information are accurate.
Specifically, in order to verify whether the preset protocol information searched by the server according to the sequence code is accurate, after the preset protocol information is searched, the server further sends item information and user information in the preset protocol information to the first terminal, so that a user of the first terminal knows the item information and the user information, and judges whether the item information and the user information are respectively consistent with the item information and the user information when the user signs and purchases, that is, whether the item information and the user information are accurate is determined.
When the user judges that the item information and the user information are respectively consistent with the item information and the user information which are signed for purchase and are coincided, the user can send confirmation information to the server through the first terminal. Accordingly, the server may receive the confirmation message, thereby knowing that the predetermined protocol information it determines from the sequence code is accurate. And then, according to the accurate preset protocol information, judging whether the License file acquisition request passes the verification, namely executing step 322 or step 322. Therefore, by adopting the technical scheme provided by the embodiment of the disclosure, the accuracy of judging whether the License file acquisition request passes the verification by the server can be improved.
Returning to fig. 3, in step 34, when the License file acquisition request is verified, License file related information is sent to the first terminal. The License file related information may include a License file or a download link of the License file.
After the first terminal receives the License file related information, the License file corresponding to the target application program can be acquired, and the License file is transmitted to the second terminal through step 15.
Through the technical scheme disclosed by the invention, the information required by the user for acquiring the License file does not need to be manually input, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intellectualization of acquiring the License file and the satisfaction degree of the user are improved.
A detailed procedure of the License file acquisition method provided by the present disclosure will be described below with reference to fig. 5. Fig. 5 is an interaction diagram between a first terminal, a second terminal, and a server in a License file obtaining method according to an exemplary embodiment. As shown in fig. 5, the method includes the following steps.
In step 401(21), the second terminal generates installation data of the target application according to the sequence code of the target application to be installed and the device information of the second terminal.
In step 402(22), the second terminal generates an access identifier according to the installation data.
In step 403(23), the second terminal displays the access identifier.
In step 404, the first terminal obtains installation data of a target application to be installed on the second terminal through the access identifier displayed by the second terminal.
In step 405(12), the first terminal generates a License file obtaining request, where the License file obtaining request includes the installation data.
In step 406(13), the first terminal sends a License file acquisition request to the server.
In step 407(31), the server receives a License file acquisition request sent by the first terminal.
In step 408(32), the server obtains the sequence code of the target application program and the device information of the second terminal according to the installation data.
In step 409(33), the server verifies the License file acquisition request according to the sequence code and the device information.
In step 410(34), when the License file acquisition request is verified, the server sends License file related information to the first terminal.
In step 411(14), the first terminal obtains the License file according to the License file related information.
In step 412(15), the first terminal transmits the License file to the second terminal.
In step 413(24), the second terminal receives the License file transmitted by the first terminal.
In addition, when the server fails to verify the License file acquisition request, prompt information is sent to the first terminal. The prompt information may include at least one of first prompt information and second prompt information, the first prompt information is used for prompting a user to acquire a License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
Correspondingly, the first terminal receives the prompt message sent by the server when the License file acquisition request fails to verify, and outputs the prompt message, so that the user of the first terminal can know the prompt message.
In the embodiment of the present disclosure, the failure of the License file acquisition request verification may include the following two possible implementations.
One possible implementation is: and the server judges that the timestamp of the License file acquisition request is not within the validity period. At this time, since the user may need to continue to use the target application program, in order to facilitate the user to continue the contract and obtain the License file again after the contract is successfully continued, the server may send the first prompt message to the first terminal to prompt the user to make an artificial call to apply for the License file in an artificial manner. Therefore, the first terminal can receive the first prompt message and output the first prompt message, so that the user can know that the timestamp of the License file acquisition request is not in the validity period, needs to make a manual call to contact a program developer to continue the contract, and applies for the License file in a manual mode after the contract is completed. Therefore, the user and the program developer can conveniently continue the contract and apply for the License file again after the contract is successfully continued so as to realize the purpose of continuously running the target application program.
Another possible implementation is: the server determines that the number of License files which are acquired by the user aiming at the target application program and are in the valid state is larger than or equal to the threshold value of the number of License files. At this time, since the user may need to preferentially run the target application on the second terminal, the server may send a second prompt message to the first terminal to prompt the user to provide the License change certificate. Wherein the License change certificate is used for indicating that the user changes the License file of the target application program on the other terminal to the License file used on the second terminal. In this way, the first terminal may receive the second prompt message and output the second prompt message, so that the user knows that the number of License files that are acquired by the user for the target application program and are in the valid state is greater than or equal to the threshold value of the number of License files. If the user needs to preferentially run the target application program on the second terminal, a License change proof for changing the License file of the target application program on other terminals into the License file used on the second terminal can be provided. Therefore, the method for acquiring the License file by the user is more flexible and more meets the actual requirements of the user. It should be understood that after the change, the License file on the other terminal is in a failure state, that is, the other terminal cannot normally run the target application, and the second terminal can normally acquire the License file. In addition, the number of times of change (for example, the number of times of change is limited not to exceed 1) may be further limited to reduce the workload of the server.
By adopting the technical scheme, the License file can be acquired through information interaction among the first terminal, the second terminal and the server, the information required by the License file is acquired without manual input of a user, the manual participation amount is reduced, the process of acquiring the License file by the user is simplified, and the intelligence of acquiring the License file and the satisfaction degree of the user are improved.
Fig. 6 is a block diagram illustrating an apparatus for acquiring a License file applied to a first terminal according to an exemplary embodiment. As shown in fig. 6, the License file acquiring apparatus includes:
a first obtaining module 61, configured to obtain installation data of a target application to be installed on a second terminal, where the installation data is generated based on a sequence code of the target application and device information of the second terminal, the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a first generating module 62, configured to generate a License file obtaining request, where the License file obtaining request is used to request to obtain a License file corresponding to the target application program, and the License file obtaining request includes the installation data;
a first sending module 63, configured to send the License file acquisition request to a server, so that the server acquires the sequence code and the device information according to the installation data, and verifies the License file acquisition request according to the sequence code and the device information;
a second obtaining module 64, configured to obtain the License file according to License file related information sent by the server when the License file obtaining request verification passes, where the License file related information includes the License file or a download link of the License file;
a first transmission module 65, configured to transmit the License file to the second terminal.
Optionally, the first obtaining module includes:
the first obtaining submodule is used for obtaining the installation data of the target application program to be installed on the second terminal through the access identifier displayed by the second terminal, and the access identifier comprises at least one of a graphic identification code and a link identifier.
Optionally, the second terminal is in a non-networked environment.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving prompt information sent by the server when the License file acquisition request fails to verify;
and the output module is used for outputting the prompt message.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
Fig. 7 is a block diagram illustrating an apparatus for acquiring a License file applied to a server according to an exemplary embodiment. As shown in fig. 7, the License file acquiring apparatus includes:
a second receiving module 71, configured to receive a License file acquisition request sent by a first terminal, where the License file acquisition request is used to request to acquire a License file corresponding to a target application to be installed on a second terminal, and the License file acquisition request includes installation data of the target application, the installation data is generated based on a sequence code of the target application and device information of the second terminal, the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a third obtaining module 72, configured to obtain the sequence code of the target application and the device information of the second terminal according to the installation data;
the verification module 73 is configured to verify the License file acquisition request according to the sequence code and the device information;
a second sending module 74, configured to send License file related information to the first terminal when the License file obtaining request is verified, so that the first terminal obtains the License file according to the License file related information, where the License file related information includes the License file or a download link of the License file.
Optionally, the verification module comprises:
a first determining submodule, configured to determine, according to the sequence code, the preset protocol information corresponding to the sequence code, where the preset protocol information at least includes: the user uses the valid period of the target application program and the License file quantity threshold value;
a second determining submodule, configured to determine that the License file acquisition request passes verification when a timestamp of the License file acquisition request is located within the validity period and the number of License files that are acquired by the user for the target application program and are in a valid state is smaller than the threshold value of the number of License files; and when the timestamp of the License file acquisition request is not in the validity period, or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file acquisition number threshold value, determining that the License file acquisition request fails to be verified.
Optionally, the preset protocol information further includes: project information and user information; and
the authentication module further comprises: a third determining sub-module, configured to, when the timestamp of the License file obtaining request is within the validity period and the number of License files that are obtained by the user for the target application and are in a valid state is smaller than the threshold of the number of License files, determine that the License file obtaining request passes verification in the second determining sub-module; and when the timestamp of the License file acquisition request is not in the validity period or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold, determining that the project information and the user information are accurate before the step of determining that the License file acquisition request fails to be verified.
Optionally, the apparatus further comprises:
and the third sending module is used for sending prompt information to the first terminal when the License file acquisition request fails to verify.
Optionally, the prompt information includes first prompt information and/or second prompt information, the first prompt information is used for prompting a user to acquire the License file manually, and the second prompt information is used for prompting the user to provide a License change certificate.
Fig. 8 is a block diagram illustrating an apparatus for acquiring a License file applied to a second terminal according to an exemplary embodiment. As shown in fig. 8, the License file acquiring apparatus includes:
a second generating module 81, configured to generate installation data of a target application according to a sequence code of the target application to be installed and device information of the second terminal, where the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a third generating module 82, configured to generate an access identifier according to the installation data, where the access identifier includes at least one of a graphic identifier and a link identifier;
a display module 83, configured to display the access identifier, so that the first terminal obtains the installation data through the access identifier, and generates a License file obtaining request, where the License file obtaining request is used to request to obtain a License file corresponding to the target application, and the License file obtaining request includes the installation data;
a fourth receiving module 84, configured to receive the License file transmitted by the first terminal.
Optionally, the second terminal is in a non-networked environment.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 9, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input/output (I/O) interface 704, and a communication component 705.
The processor 701 is configured to control the overall operation of the electronic device 700, so as to complete all or part of the steps in the method for acquiring a License file applied to the first terminal or the second terminal. The memory 702 is used to store various types of data to support operation at the electronic device 700, such as instructions for any application or method operating on the electronic device 700 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and the like. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 703 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 702 or transmitted through the communication component 705. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 705 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the above-described method for obtaining a License file applied to a first terminal or a second terminal.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the License file acquisition method described above. For example, the computer readable storage medium may be the memory 702 including the program instructions executable by the processor 701 of the electronic device 700 to perform the License file acquiring method applied to the first terminal or the second terminal.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1900 may be provided as a server. Referring to fig. 10, an electronic device 1900 includes a processor 1922, which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922. The computer program stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processor 1922 may be configured to execute the computer program to perform the above-described License file acquiring method applied to the server.
Additionally, electronic device 1900 may also include a power component 1926 and a communication component 1950, the power component 1926 may be configured to perform power management of the electronic device 1900, and the communication component 1950 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 1900. In addition, the electronic device 1900 may also include input/output (I/O) interfaces 1958. The electronic device 1900 may operate based on an operating system, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, etc., stored in memory 1932.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the above-described License file acquisition method applied to a server. For example, the computer readable storage medium may be the memory 1932 comprising program instructions executable by the processor 1922 of the electronic device 1900 to perform the method for obtaining License files applied to the server described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (22)

1. A License file acquisition method is applied to a first terminal, and the method comprises the following steps:
acquiring installation data of a target application program to be installed on a second terminal, wherein the second terminal is in a non-networking environment, the installation data is generated based on a sequence code of the target application program and equipment information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents conditions observed when the second terminal runs the target application program;
generating a License file acquisition request, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to the target application program and comprises the installation data;
sending the License file acquisition request to a server so that the server acquires the sequence code and the equipment information according to the installation data and verifies the License file acquisition request according to the sequence code and the equipment information;
acquiring the License file according to License file related information sent by the server when the License file acquisition request passes verification, wherein the License file related information comprises the License file or a download link of the License file;
and transmitting the License file to the second terminal.
2. The method of claim 1, wherein the obtaining of the installation data of the target application to be installed on the second terminal comprises:
and acquiring installation data of the target application program to be installed on the second terminal through an access identifier displayed by the second terminal, wherein the access identifier comprises at least one of a graphic identification code and a link identifier.
3. The method of claim 1, further comprising:
receiving prompt information sent by the server when the License file acquisition request fails to be verified;
and outputting the prompt information.
4. The method according to claim 3, wherein the prompt message comprises a first prompt message and/or a second prompt message, the first prompt message is used for prompting a user to acquire the License file manually, and the second prompt message is used for prompting the user to provide License change evidence.
5. A License file acquisition method is applied to a server, and the method comprises the following steps:
receiving a License file acquisition request sent by a first terminal, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to a target application program to be installed on a second terminal, the License file acquisition request comprises installation data of the target application program, the installation data is generated based on a sequence code of the target application program and equipment information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, the preset protocol information represents a condition observed when the second terminal runs the target application program, and the second terminal is in a non-networking environment;
acquiring a sequence code of the target application program and equipment information of the second terminal according to the installation data;
verifying the License file acquisition request according to the sequence code and the equipment information;
and when the License file acquisition request passes verification, sending License file related information to the first terminal so that the first terminal acquires the License file according to the License file related information, wherein the License file related information comprises the License file or a download link of the License file.
6. The method of claim 5, wherein the device information is based on the sequence code and the device information; the verifying the License file acquisition request comprises the following steps:
according to the sequence code, determining the preset protocol information corresponding to the sequence code, wherein the preset protocol information at least comprises: the user uses the valid period of the target application program and the License file quantity threshold value;
when the timestamp of the License file acquisition request is positioned in the validity period and the number of License files which are acquired by the user aiming at the target application program and are in the valid state is less than the threshold value of the number of License files, determining that the License file acquisition request passes verification; and when the timestamp of the License file acquisition request is not in the validity period, or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold value, determining that the License file acquisition request fails to verify.
7. The method of claim 6, wherein the pre-set protocol information further comprises: project information and user information; and
when the timestamp of the License file acquisition request is positioned in the validity period and the number of License files which are acquired by the user aiming at the target application program and are in the valid state is smaller than the threshold value of the number of License files, determining that the License file acquisition request passes verification; when the timestamp of the License file acquisition request is not within the validity period or the number of License files acquired by the user for the target application program and in a valid state is greater than or equal to the License file number threshold, verifying the License file acquisition request before the step of determining that the License file acquisition request fails to be verified, the method further includes:
and determining that the project information and the user information are accurate.
8. The method of claim 5, further comprising:
and sending prompt information to the first terminal when the License file acquisition request fails to verify.
9. The method according to claim 8, wherein the prompt message comprises a first prompt message and/or a second prompt message, the first prompt message is used for prompting a user to manually obtain the License file, and the second prompt message is used for prompting the user to provide License change evidence.
10. A License file acquisition method is applied to a second terminal, wherein the second terminal is in a non-networking environment, and the method comprises the following steps:
generating installation data of a target application program according to a sequence code of the target application program to be installed and equipment information of the second terminal, wherein the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program;
generating an access identifier according to the installation data, wherein the access identifier comprises at least one of a graphic identification code and a link identifier;
displaying the access identifier so that the first terminal can acquire the installation data through the access identifier and generate a License file acquisition request, wherein the License file acquisition request is used for requesting to acquire a License file corresponding to the target application program and comprises the installation data;
and receiving the License file transmitted by the first terminal.
11. An apparatus for acquiring License file, applied to a first terminal, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a first processing module, wherein the first acquisition module is used for acquiring installation data of a target application program to be installed on a second terminal, the second terminal is in a non-networking environment, the installation data is generated based on a sequence code of the target application program and equipment information of the second terminal, the sequence code is used for representing a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application program;
a first generation module, configured to generate a License file acquisition request, where the License file acquisition request is used to request to acquire a License file corresponding to the target application program, and the License file acquisition request includes the installation data;
the first sending module is used for sending the License file acquisition request to a server so that the server can acquire the sequence code and the equipment information according to the installation data and verify the License file acquisition request according to the sequence code and the equipment information;
a second obtaining module, configured to obtain the License file according to License file related information sent by the server when the License file obtaining request verification passes, where the License file related information includes the License file or a download link of the License file;
and the first transmission module is used for transmitting the License file to the second terminal.
12. The apparatus of claim 11, wherein the first obtaining module comprises:
the first obtaining submodule is used for obtaining the installation data of the target application program to be installed on the second terminal through the access identifier displayed by the second terminal, and the access identifier comprises at least one of a graphic identification code and a link identifier.
13. The apparatus of claim 11, further comprising:
the first receiving module is used for receiving prompt information sent by the server when the License file acquisition request fails to verify;
and the output module is used for outputting the prompt message.
14. The apparatus according to claim 13, wherein the prompt message comprises a first prompt message and/or a second prompt message, the first prompt message is used for prompting a user to manually obtain the License file, and the second prompt message is used for prompting the user to provide License change proof.
15. An apparatus for acquiring License files, applied to a server, the apparatus comprising:
a second receiving module, configured to receive a License file acquisition request sent by a first terminal, where the License file acquisition request is used to request to acquire a License file corresponding to a target application to be installed on a second terminal, and the License file acquisition request includes installation data of the target application, the installation data is generated based on a sequence code of the target application and device information of the second terminal, the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application, and the second terminal is in a non-networking environment;
the third acquisition module is used for acquiring the sequence code of the target application program and the equipment information of the second terminal according to the installation data;
the verification module is used for verifying the License file acquisition request according to the sequence code and the equipment information;
and the second sending module is used for sending License file related information to the first terminal when the License file obtaining request passes the verification so that the first terminal obtains the License file according to the License file related information, and the License file related information comprises the License file or a download link of the License file.
16. The apparatus of claim 15, wherein the verification module comprises:
a first determining submodule, configured to determine, according to the sequence code, the preset protocol information corresponding to the sequence code, where the preset protocol information at least includes: the user uses the valid period of the target application program and the License file quantity threshold value;
a second determining submodule, configured to determine that the License file acquisition request passes verification when a timestamp of the License file acquisition request is located within the validity period and the number of License files that are acquired by the user for the target application program and are in a valid state is smaller than the threshold value of the number of License files; and when the timestamp of the License file acquisition request is not in the validity period, or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold value, determining that the License file acquisition request fails to verify.
17. The apparatus of claim 16, wherein the preset protocol information further comprises: project information and user information; and
the authentication module further comprises: a third determining sub-module, configured to, when the timestamp of the License file obtaining request is within the validity period and the number of License files that are obtained by the user for the target application and are in a valid state is smaller than the threshold of the number of License files, determine that the License file obtaining request passes verification in the second determining sub-module; and when the timestamp of the License file acquisition request is not in the validity period or the number of License files which are acquired by the user aiming at the target application program and are in the valid state is greater than or equal to the License file number threshold, determining that the project information and the user information are accurate before the step of determining that the License file acquisition request fails to be verified.
18. The apparatus of claim 15, further comprising:
and the third sending module is used for sending prompt information to the first terminal when the License file acquisition request fails to verify.
19. The apparatus according to claim 18, wherein the prompt message comprises a first prompt message and/or a second prompt message, the first prompt message is used for prompting a user to manually obtain the License file, and the second prompt message is used for prompting the user to provide License change proof.
20. An apparatus for acquiring License file, which is applied to a second terminal, where the second terminal is in a non-networking environment, the apparatus comprising:
a second generating module, configured to generate installation data of a target application according to a sequence code of the target application to be installed and device information of the second terminal, where the sequence code is used to represent a code corresponding to preset protocol information, and the preset protocol information represents a condition observed when the second terminal runs the target application;
a third generation module, configured to generate an access identifier according to the installation data, where the access identifier includes at least one of a graphic identifier and a link identifier;
a display module, configured to display the access identifier, so that the first terminal obtains the installation data through the access identifier, and generates a License file obtaining request, where the License file obtaining request is used to request to obtain a License file corresponding to the target application program, and the License file obtaining request includes the installation data;
and the fourth receiving module is used for receiving the License file transmitted by the first terminal.
21. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
22. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 10.
CN201811341715.8A 2018-11-12 2018-11-12 License file acquisition method and device, readable storage medium and electronic equipment Active CN109614114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341715.8A CN109614114B (en) 2018-11-12 2018-11-12 License file acquisition method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341715.8A CN109614114B (en) 2018-11-12 2018-11-12 License file acquisition method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109614114A CN109614114A (en) 2019-04-12
CN109614114B true CN109614114B (en) 2022-02-08

Family

ID=66003304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341715.8A Active CN109614114B (en) 2018-11-12 2018-11-12 License file acquisition method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109614114B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282888B (en) * 2021-04-02 2024-02-06 北京千方科技股份有限公司 Offline activation method, system and storage medium of application program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159615A (en) * 2004-12-23 2008-04-09 华为技术有限公司 Method and system for performing authorization permission to communication equipment
CN103795694A (en) * 2012-10-31 2014-05-14 中国电信股份有限公司 License control method and license control system
CN106534084A (en) * 2016-10-24 2017-03-22 东软集团股份有限公司 Admission control method and equipment
CN108092984A (en) * 2017-12-25 2018-05-29 新华三技术有限公司 A kind of authorization method of applications client, device and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336368B2 (en) * 2010-09-16 2016-05-10 Ricoh Company, Ltd. License install support system, license install support method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159615A (en) * 2004-12-23 2008-04-09 华为技术有限公司 Method and system for performing authorization permission to communication equipment
CN103795694A (en) * 2012-10-31 2014-05-14 中国电信股份有限公司 License control method and license control system
CN106534084A (en) * 2016-10-24 2017-03-22 东软集团股份有限公司 Admission control method and equipment
CN108092984A (en) * 2017-12-25 2018-05-29 新华三技术有限公司 A kind of authorization method of applications client, device and equipment

Also Published As

Publication number Publication date
CN109614114A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109214168B (en) Firmware upgrading method and device
CN112187709B (en) Authentication method, device and server
US8332823B2 (en) Application program verification system, application program verification method and computer program
WO2015078407A1 (en) Method for sharing application between terminals, and terminals
WO2018176430A1 (en) Method for adding authentication algorithm program, and related device and system
EP2628125B1 (en) Method and apparatus for downloading drm module
US8495383B2 (en) Method for the secure storing of program state data in an electronic device
CN108200078B (en) Downloading and installing method of signature authentication tool and terminal equipment
CN103248495B (en) A kind of method, server, client and system applying interior paying
CN113553572B (en) Resource information acquisition method, device, computer equipment and storage medium
CN109558739B (en) Program running method and device, terminal and readable medium
CN103605551A (en) Plugin updating method, system and relevant equipment based on IOS program
CN107241620B (en) Digital rights management method of media content, DRM client and server
KR20130101964A (en) System and method for securely upgrading or downgrading platform components
CN112399392A (en) Communication connection method, device, equipment and storage medium of home care terminal
US20160210596A1 (en) Method, device and system for controlling presentation of application
CN113329004B (en) Authentication method, system and device
CN109614114B (en) License file acquisition method and device, readable storage medium and electronic equipment
CN113282951A (en) Security verification method, device and equipment for application program
CN111143788B (en) License processing method, electronic device, and storage medium
CN111510421B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN108429621B (en) Identity verification method and device
CN116680687A (en) Data processing method, device, equipment and storage medium
KR101711024B1 (en) Method for accessing temper-proof device and apparatus enabling of the method
CN112528239A (en) Method and device for automatically authorizing software

Legal Events

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