Application program starting method and device, equipment and storage medium

Through encryption processing and server verification, the problem of unauthorized startup of applications caused by users modifying terminal devices is solved, improving the security of applications and preventing illegal use.

CN118656806APending Publication Date: 2024-09-17CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410771376.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the existing technology, the user's modification of the machine time of the terminal device will cause the application to be launched during an unauthorized period, resulting in poor security of the application and easy to be illegally misappropriated.

Method used

By obtaining the authorization time information of the target application and the current machine time of the terminal device, use the encryption key to encrypt the device information, application identification, authorization time information and machine time, generate a verification request and send it to the server. After the server verifies The result is returned, and the terminal device decides whether to start the application based on the result.

Benefits of technology

It effectively avoids unauthorized startup caused by modifying the terminal device time, improves the security of the application and prevents illegal use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656806A
    Figure CN118656806A
Patent Text Reader

Abstract

The invention provides an application program starting method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: in response to a starting instruction for a target application program, acquiring authorization time information of the target application program and a current first machine moment of the terminal equipment; acquiring an encryption key negotiated with a server in advance; encrypting the equipment information, the identifier of the target application program, the authorization time information and the first machine moment through the encryption key to obtain encrypted information; generating a verification request according to the encrypted information; sending a verification request to a server, and receiving a verification result sent by the server; if the verification result indicates that the target application program is not authorized to exceed the time limit and the verification result comprises first verification information, starting the target application program according to the first verification information; and if the verification result indicates that the authorization of the target application program is overdue, generating and displaying prompt information. Illegal starting of the application program is avoided, and safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for starting an application. Background Art

[0002] Users can purchase applications from software vendors and deploy them on terminal devices. When purchasing applications, users can negotiate with the software vendor about the authorized period of the application. Only during the authorized period can users use the application normally on terminal devices.

[0003] In order to prevent users from using applications during unauthorized time periods, when users start applications in terminal devices, they need to verify the authorized time period. In related technologies, when an application is started, the terminal device can obtain the machine time of the terminal at the current moment, and determine whether the machine time of the terminal device is within the authorized time period of the target application. If the machine time is within the authorized time period of the target application, the application can be started in the terminal device, otherwise, the application cannot be started in the terminal device.

[0004] However, if the user modifies the machine time of the terminal device, the terminal device may start the application during an unauthorized period, causing the application to be illegally used, thereby resulting in poor security in starting the application. Summary of the invention

[0005] The present application provides a method, apparatus, device and storage medium for starting an application program, so as to solve the problem that the application program is illegally stolen, thereby resulting in poor security in starting the application program.

[0006] In a first aspect, the present application provides a method for starting an application, comprising:

[0007] In response to a start instruction for a target application, obtaining authorization time information of the target application and a current first machine time of the terminal device;

[0008] Obtain the encryption key pre-negotiated with the server;

[0009] The device information, the identifier of the target application, the authorization time information and the first machine time are encrypted by the encryption key to obtain encrypted information;

[0010] generating a verification request according to the encrypted information, wherein the verification request includes the encrypted information;

[0011] Sending the verification request to the server, and receiving the verification result sent by the server, wherein the verification result is used to indicate whether the authorization of the target application has expired;

[0012] If the verification result indicates that the target application has not been authorized for an expired period, and the verification result includes first verification information, starting the target application according to the first verification information;

[0013] If the verification result indicates that the authorization of the target application has expired, a prompt message is generated and displayed, where the prompt message is used to prompt that the authorization of the target application has expired.

[0014] In a possible design, starting the target application according to the first verification information includes:

[0015] Obtaining the second verification information and the startup confirmation instruction entered by the user on the startup page;

[0016] Determine the first moment of receiving the start confirmation instruction;

[0017] Obtaining a second time at which the verification result is received;

[0018] Whether to start the target application is determined according to the first verification information, the second verification information, the first time, and the second time, and after determining to start the target application, the target application is started.

[0019] In a possible design, judging whether to start the target application according to the first verification information, the second verification information, the first time, and the second time includes:

[0020] Determining whether the first verification information and the second verification information are the same;

[0021] If yes, obtain the interval between the first moment and the second moment; if the interval is less than or equal to the preset time, determine to start the target application; if the interval is greater than the preset time, determine not to start the target application;

[0022] If not, it is determined not to start the target application.

[0023] In one possible design, generating the verification request according to the encrypted information includes:

[0024] Obtaining a preset message template, wherein the message template includes a source device information filling bit, a target device information filling bit, and a content filling bit, and the message template includes an indication mark, and the indication mark is used to request an overdue verification;

[0025] Acquire source device information of the terminal device and target device information of the server;

[0026] In the message template, the source device information is filled into the source device information filling position, the target device information is filled into the target device information filling position, and the encryption information is filled into the content filling position to obtain the verification request.

[0027] In a possible design, obtaining authorization time information of a target application includes:

[0028] Obtain the certificate information corresponding to the target application. The certificate information is sent by the server to the terminal device after the server authorizes the terminal device to use the target application.

[0029] Obtain the authorization time information from the certificate information; the authorization time information includes any of the following:

[0030] Authorization start time and authorization duration;

[0031] the authorized period; or,

[0032] The authorization start time and authorization end time.

[0033] In a second aspect, the present application provides a method for starting an application, comprising:

[0034] After the terminal device receives the start instruction of the target application, receiving a verification request sent by the terminal device, the verification request including the encrypted information;

[0035] Decrypting the encrypted information to obtain device information of the terminal device, an identifier of the target application, authorization time information, and a first machine time, where the first machine time is the machine time of the terminal device when the terminal device receives the start instruction;

[0036] Determine the current second machine time of the server;

[0037] Determine a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time and the second machine time, the verification result being used to indicate whether the authorization of the target application has expired;

[0038] Send the verification result to the terminal device.

[0039] In a possible design, determining a verification result according to device information, an identification of an application, authorization time information, a first machine time, and a second machine time includes:

[0040] determining, based on the device information and the identification of the target application, whether the terminal device has been authorized to use the target application;

[0041] After confirming that the terminal device has been authorized to use the target application, verifying whether the authorization time information is correct;

[0042] When it is confirmed that the authorization time information is correct, a verification result is determined according to the authorization time information, the first machine time, and the second machine time.

[0043] In a possible design, verifying whether the authorization time information is correct includes:

[0044] Determine a first time period according to the authorization time information;

[0045] querying the server for a second time period during which the terminal device has been authorized to use the target application according to the device information and the identifier of the target application;

[0046] If the first time period and the second time period are the same, it is determined that the authorization time information is correct;

[0047] If the first time period is different from the second time period, it is determined that the authorization time information is incorrect.

[0048] In a possible design, determining a verification result according to the authorization time information, the first machine time, and the second machine time includes:

[0049] determining a time difference between a first machine time and a second machine time;

[0050] If the time difference is less than or equal to the preset time difference, the verification result is determined according to the first machine time and the authorization time information;

[0051] If the time difference is greater than the preset time difference, the verification result is determined according to the second machine time and the authorization time information.

[0052] In one possible design, the authorization period is determined based on the authorization time information;

[0053] If the first machine moment is within the authorized period, determining that the verification result indicates that the authorization of the target application has not expired;

[0054] If the first machine moment is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0055] In a possible design, determining the verification result according to the second machine time and the authorization time information includes:

[0056] Determine the authorization period according to the authorization time information;

[0057] If the second machine is within the authorization period, determining that the verification result indicates that the authorization of the target application has not expired;

[0058] If the second machine time is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0059] In a third aspect, the present application provides a device for starting an application, comprising: a first acquisition module, a second acquisition module, an encryption module, a first generation module, a transceiver module, a startup module, and a second generation module, wherein:

[0060] The first acquisition module is used to, in response to a start instruction for a target application, acquire authorization time information of the target application and a current first machine time of the terminal device;

[0061] The second acquisition module is used to acquire the encryption key pre-negotiated with the server;

[0062] The encryption module is used to encrypt the device information, the identifier of the target application, the authorization time information and the first machine time by using the encryption key to obtain encrypted information;

[0063] The first generating module is used to generate the verification request according to the encrypted information, and the verification request includes the encrypted information;

[0064] The transceiver module is used to send the verification request to the server and receive the verification result sent by the server, wherein the verification result is used to indicate whether the authorization of the target application has expired;

[0065] The startup module is used to, if the verification result indicates that the target application has not been authorized for an expiration date and the verification result includes first verification information, start the target application according to the first verification information;

[0066] The second generating module is used to generate and display prompt information if the verification result indicates that the authorization of the target application has expired, wherein the prompt information is used to prompt that the authorization of the target application has expired.

[0067] In a possible design, the startup module is specifically used to:

[0068] Obtaining the second verification information and the startup confirmation instruction entered by the user on the startup page;

[0069] Determine the first moment of receiving the start confirmation instruction;

[0070] Obtaining a second time at which the verification result is received;

[0071] Whether to start the target application is determined according to the first verification information, the second verification information, the first time, and the second time, and after determining to start the target application, the target application is started.

[0072] In a possible design, the startup module is specifically used to:

[0073] Determining whether the first verification information and the second verification information are the same;

[0074] If yes, obtain the interval between the first moment and the second moment; if the interval is less than or equal to the preset time, determine to start the target application; if the interval is greater than the preset time, determine not to start the target application;

[0075] If not, it is determined not to start the target application.

[0076] In a possible design, the first generating module is specifically used for:

[0077] Obtaining a preset message template, wherein the message template includes a source device information filling bit, a target device information filling bit, and a content filling bit, and the message template includes an indication mark, and the indication mark is used to request an overdue verification;

[0078] Acquire source device information of the terminal device and target device information of the server;

[0079] In the message template, the source device information is filled into the source device information filling position, the target device information is filled into the target device information filling position, and the encryption information is filled into the content filling position to obtain the verification request.

[0080] In a possible design, the first acquisition module is specifically used for:

[0081] Acquire certificate information corresponding to the target application, where the certificate information is sent by the server to the terminal device after the server authorizes the terminal device to use the target application;

[0082] Obtain the authorization time information from the certificate information; wherein the authorization time information includes any one of the following:

[0083] Authorization start time and authorization duration;

[0084] the authorized period; or,

[0085] The authorization start time and authorization end time.

[0086] In a fourth aspect, the present application provides a device for starting an application, comprising: a receiving module, a decryption module, a first determination module, a second determination module and a sending module, wherein:

[0087] The receiving module is used to receive a verification request sent by the terminal device after the terminal device receives a start instruction of the target application, wherein the verification request includes encrypted information;

[0088] The decryption module is used to decrypt the encrypted information to obtain the device information of the terminal device, the identification of the target application, the authorization time information and the first machine time, where the first machine time is the machine time of the terminal device when the terminal device receives the start instruction;

[0089] The first determination module is used to determine the current second machine time of the server;

[0090] The second determination module is used to determine a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time and the second machine time, wherein the verification result is used to indicate whether the authorization of the target application has expired;

[0091] The sending module is used to send the verification result to the terminal device.

[0092] In a possible design, the second determining module is specifically used to:

[0093] determining, based on the device information and the identification of the target application, whether the terminal device has been authorized to use the target application;

[0094] After confirming that the terminal device has been authorized to use the target application, verifying whether the authorization time information is correct;

[0095] When it is confirmed that the authorization time information is correct, a verification result is determined according to the authorization time information, the first machine time, and the second machine time.

[0096] In a possible design, the second determining module is specifically used to:

[0097] Determine a first time period according to the authorization time information;

[0098] querying the server for a second time period during which the terminal device has been authorized to use the target application according to the device information and the identifier of the target application;

[0099] If the first time period and the second time period are the same, it is determined that the authorization time information is correct;

[0100] If the first time period is different from the second time period, it is determined that the authorization time information is incorrect.

[0101] In a possible design, the second determining module is specifically used to:

[0102] determining a time difference between a first machine time and a second machine time;

[0103] If the time difference is less than or equal to the preset time difference, the verification result is determined according to the first machine time and the authorization time information;

[0104] If the time difference is greater than the preset time difference, the verification result is determined according to the second machine time and the authorization time information.

[0105] In a possible design, the second determining module is specifically used to:

[0106] Determine the authorization period according to the authorization time information;

[0107] If the first machine moment is within the authorized period, determining that the verification result indicates that the authorization of the target application has not expired;

[0108] If the first machine moment is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0109] In a possible design, the second determining module is specifically used to:

[0110] Determine the authorization period according to the authorization time information;

[0111] If the second machine is within the authorization period, determining that the verification result indicates that the authorization of the target application has not expired;

[0112] If the second machine time is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0113] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that at least one processor executes the method for starting an application as described in the first aspect above and various possible designs of the first aspect.

[0114] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that at least one processor executes the method for starting an application as described in the second aspect above and various possible designs of the second aspect.

[0115] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer execution instructions. When the processor executes the computer execution instructions, it implements the method for starting the application program as described in the first aspect and various possible designs of the first aspect.

[0116] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, a method for starting an application as described in the second aspect and various possible designs of the second aspect is implemented.

[0117] In a ninth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for starting an application program as described in the first aspect and various possible designs of the first aspect.

[0118] In a tenth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for starting an application program as described in the second aspect above and various possible designs of the second aspect.

[0119] The present application provides an application startup method, apparatus, device and storage medium. When a target application needs to be started in a terminal device, the terminal device requests a server to verify whether the current time is within the authorized time period of the target application. After the server verification is passed, the terminal device can start the target application locally, thereby avoiding the problem of using the target application in an unauthorized time period due to modifying the machine time of the terminal device, preventing the application from being illegally used, and improving the security of application startup. BRIEF DESCRIPTION OF THE DRAWINGS

[0120] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0121] Figure 1 A schematic diagram of the system architecture provided for an embodiment of the present application;

[0122] Figure 2 It is a flowchart of a method for starting an application program provided in an embodiment of the present application;

[0123] Figure 3 A schematic diagram of a process for a server to generate a verification result provided in an embodiment of the present application;

[0124] Figure 4 A schematic diagram of the structure of a device for starting an application program provided in an embodiment of the present application;

[0125] Figure 5 A schematic diagram of the structure of a device for starting an application program provided in an embodiment of the present application;

[0126] Figure 6A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0127] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0128] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0129] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0130] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.

[0131] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0132] For ease of understanding, the following Figure 1 , the system architecture applicable to the embodiments of the present application is described.

[0133] Figure 1 This is a schematic diagram of the system architecture provided by the embodiment of this application. Figure 1 , including a terminal device 101 and a server 102. The terminal device 101 may be a local device of a user. The terminal device 101 may be provided with a target application, and the user may start the target application on the terminal device 101. The server 102 may be a verification server of a software manufacturer, and the server 102 may verify the information sent by the terminal device 101.

[0134] In the related art, when an application is started, the terminal device can obtain the machine time set at the current moment of the terminal, and determine whether the machine time of the terminal device is within the authorized period of the target application. If the machine time is within the authorized period of the target application, the application can be started in the terminal device, otherwise, the application cannot be started in the terminal device. However, if the user modifies the machine time of the terminal device, it will cause the terminal device to start the application in an unauthorized period, causing the application to be illegally used, and thus resulting in poor security in starting the application.

[0135] In response to the above technical problems, in an embodiment of the present application, when it is necessary to start the target application in the terminal device, the terminal device requests the server to verify whether the current time is within the authorized time period of the target application. After the server verification is passed, the terminal device can start the target application locally, thereby avoiding the use of the target application in an unauthorized time period due to modifying the machine time of the terminal device, avoiding the illegal use of the application, and improving the security of application startup.

[0136] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0137] Figure 2 This is a flowchart of a method for starting an application program provided in an embodiment of the present application. Figure 2 As shown, the method may include the following steps:

[0138] S201. In response to a start instruction for a target application, a terminal device obtains authorization time information of the target application and a current first machine time of the terminal device.

[0139] The target application is a software program installed on the terminal device.

[0140] The start instruction of the target application is used to request to start the target application on the terminal device. When the user clicks the icon of the target application on the terminal device, the terminal device can obtain the start instruction.

[0141] The authorization time information may indicate an authorization period of the target application.

[0142] The authorization time information of the target application can be any of the following:

[0143] The first type: the authorization time information includes the authorization start time and the authorization duration.

[0144] In this case, the terminal device can determine the authorization end time according to the authorization start time and the authorization duration, and determine the duration between the authorization start time and the authorization end time as the authorization period. The duration between the authorization end time and the authorization start time is the authorization duration.

[0145] For example, assuming that the authorization start time is 12:00 on May 1, 2024, and the authorization duration is 3 years, the authorization end time is 12:00 on May 1, 2027, and the authorization period is from 12:00 on May 1, 2024 to 12:00 on May 1, 2027. The second type: the authorization time information includes the authorization period.

[0146] For example, the authorization period may be from 12:00 on May 1, 2023 to 12:00 on May 1, 2026.

[0147] The third type: the authorization time information includes the authorization start time and the authorization end time.

[0148] In this case, the duration between the authorization start time and the authorization end time may be determined as the authorization period.

[0149] For example, assuming that the authorization start time is 12:00 on June 1, 2022, and the authorization end time is 12:00 on June 1, 2023, the authorization period is from 12:00 on June 1, 2022 to 12:00 on June 1, 2023.

[0150] The first machine time is the machine time of the terminal device when the terminal device receives the start instruction.

[0151] The authorization time information can be obtained in the following way: obtain the certificate information corresponding to the target application, and obtain the authorization time information in the certificate information.

[0152] The certificate information is sent by the server to the terminal device after the server authorizes the terminal device to use the target application. Optionally, after the server authorizes the terminal device to use the target application, the certificate information can be integrated into the program package corresponding to the target application, and the program package integrated with the certificate information can be sent to the terminal device.

[0153] S202: The terminal device generates a verification request according to the device information of the terminal device, the identifier of the target application, the authorization time information and the first machine time.

[0154] The device information of the terminal device may include the Internet Protocol Address (IP address) of the terminal device, the Media Access Control Address (MAC address) of the terminal device, the model of the terminal device, the operating system version, etc.

[0155] The identification of the target application may include the target application application name and application version number, etc.

[0156] The terminal device can generate a verification request in the following manner: obtain an encryption key pre-negotiated with the server, encrypt the device information, the target application's identification, the authorization time information and the first machine moment through the encryption key to obtain encrypted information, and generate a verification request based on the encrypted information, wherein the verification request includes the encrypted information.

[0157] A verification request can be generated based on the encrypted information in the following manner: obtain a preset message template, the message template includes a source device information filling bit, a target device information filling bit and a content filling bit, the message template includes an indication mark, and the indication mark is used to request an overdue verification; obtain the source device information of the terminal device and the target device information of the server; in the message template, fill the source device information into the source device information filling bit, fill the target device information into the target device information filling bit, and fill the encrypted information into the content filling bit to obtain a verification request.

[0158] S203: The terminal device sends a verification request to the server.

[0159] S204: The server decrypts the encrypted information to obtain device information of the terminal device, an identifier of the target application, authorization time information, and a first machine time.

[0160] The server can perform decryption processing in the following manner: a decryption key for decryption is stored in the server, and the encrypted information is decrypted using the decryption key to obtain device information of the terminal device, the identification of the target application, the authorization time information and the first machine time.

[0161] S205: The server determines the current second machine time of the server.

[0162] S206. The server determines a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time, and the second machine time.

[0163] The verification result is used to indicate whether the authorization of the target application has expired.

[0164] The verification result can be determined in the following manner: determine whether the terminal device has been authorized to use the target application based on the device information and the identification of the target application; after determining that the terminal device has been authorized to use the target application, verify whether the authorization time information is correct; when it is confirmed that the authorization time information is correct, determine the verification result based on the authorization time information, the first machine time and the second machine time.

[0165] Optionally, when it is determined that the terminal device is not authorized to use the target application, it may be determined that the verification result indicates an authorized operation of the target application.

[0166] If the authorization time information is correct, it means that the terminal device has not modified the certificate information, and the verification result is further determined based on the authorization time information, the first machine time and the second machine time; if the authorization time information is wrong, it means that the terminal device has modified the certificate information, and the verification result is determined to indicate that the target application authorization has expired.

[0167] S207: The server sends a verification result to the terminal device. If the verification result indicates that the authorization of the target application has not expired, the verification result may also include the first verification information.

[0168] The first verification information may be a character string randomly generated by the server, and the character string generally includes numbers, letters or other symbols.

[0169] If the verification result indicates that the authorization of the target application has not expired, the server may further send first verification information to the user's user equipment. Optionally, the server may send the first verification information to the user equipment in the form of a text message.

[0170] S208. If the verification result indicates that the target application has not been authorized for an expired period, and the verification result includes the first verification information, the terminal device starts the target application according to the first verification information.

[0171] Whether the target application is started can be determined by the following method: after the terminal device obtains the second verification information and the start confirmation instruction input by the user on the target application start interface, it determines the first moment of receiving the start confirmation instruction and obtains the second moment of receiving the first verification information. The terminal device first compares whether the first verification information and the second verification information are the same. If they are the same, the interval between the first moment and the second moment is obtained. If the interval is greater than the preset time, it is determined not to start the target application; if the interval is less than or equal to the preset time, it is determined to start the target application.

[0172] The interval duration is the duration between the first moment and the second moment. The terminal device is pre-set with a preset duration, for example, the preset duration may be 1 minute, 3 minutes, etc.

[0173] After determining to start the target application, the terminal device starts the target application.

[0174] If the verification result indicates that the authorization of the target application has expired, a prompt message is generated and displayed, and the prompt message is used to prompt that the authorization of the target application has expired.

[0175] In an embodiment of the present application, when it is necessary to start the target application in the terminal device, the terminal device requests the server to verify whether the current time is within the authorized time period of the target application. After the server verification is passed, the terminal device can start the target application locally, thereby avoiding the use of the target application in an unauthorized time period due to modifying the machine time of the terminal device, avoiding the illegal use of the application, and improving the security of application startup.

[0176] Based on any of the above embodiments, Figure 3 , the process (S206) of the server generating the verification result is described in detail.

[0177] Figure 3 A schematic diagram of the process of generating verification results by the server provided in the embodiment of the present application. Figure 3 , the method may include:

[0178] S301: Determine whether the terminal device has been authorized to use the target application based on the device information and the identifier of the target application.

[0179] After the server authorizes the terminal device to use the target application, the device information of the terminal device and the identification of the target application can be stored in the storage space of the server in correspondence. That is, the storage space of the server includes multiple device information and the application identification corresponding to each device information.

[0180] After the server obtains the device information and the target application identifier sent by the terminal device, it can query whether there is the target application identifier corresponding to the device information in the server's storage space. If so, it determines that the terminal device has been authorized to use the target application.

[0181] S302: After determining that the terminal device has been authorized to use the target application, determine a first time period according to the authorization time information.

[0182] The authorization time information may indicate a first period of time for the target application.

[0183] When the authorization time information is different, the process of determining the first time period according to the authorization time information is also different, which may include the following three situations:

[0184] The first case: the authorization time information includes the authorization start time and the authorization duration.

[0185] In this case, the terminal device can determine the authorization end time according to the authorization start time and the authorization duration, and determine the duration between the authorization start time and the authorization end time as the first period. The duration between the authorization end time and the authorization start time is the authorization duration.

[0186] For example, assuming that the authorization start time is 12:00 on May 1, 2024, and the authorization duration is 3 years, the authorization end time is 12:00 on May 1, 2027, and the first period is from 12:00 on May 1, 2024 to 12:00 on May 1, 2027.

[0187] The second case: the authorization time information includes the authorization period.

[0188] In this case, the authorized period is the first period. For example, assuming that the authorized period is from 12:00 on May 1, 2023 to 12:00 on May 1, 2026, the first period is from 12:00 on May 1, 2023 to 12:00 on May 1, 2026.

[0189] The third case: the authorization time information includes the authorization start time and the authorization end time.

[0190] In this case, the duration between the authorization start time and the authorization end time may be determined as the first time period.

[0191] For example, assuming that the authorization start time is 12:00 on June 1, 2022, and the authorization end time is 12:00 on June 1, 2023, the first period is from 12:00 on June 1, 2022 to 12:00 on June 1, 2023.

[0192] S303: According to the device information and the identifier of the target application, query the server for a second time period during which the terminal device has been authorized to use the target application.

[0193] After the server authorizes the terminal device to use the target application, the second period may also be integrated into the authorization program package corresponding to the target application and stored in the storage space of the server.

[0194] The second period is the period during which the server authorizes the terminal device to use the target application. The target application can be started normally only if it is started within the second period.

[0195] According to the device information and the identifier of the target application, the server can find the second time period during which the terminal device has been authorized to use the target application from the authorization program package stored in the server.

[0196] S304: Determine whether the first time period is the same as the second time period.

[0197] If yes, execute S305.

[0198] If not, execute S306.

[0199] If the first time period and the second time period are the same, it means that the terminal device has not tampered with the authorization time information in the certificate information. If the first time period and the second time period are different, it means that the terminal device has tampered with the authorization time information in the certificate information.

[0200] S305: Determine whether the authorization time information is correct.

[0201] After S305, execute S307.

[0202] S306: Determine that the authorization time information is incorrect, and determine that the verification result indicates that the authorization of the target application has expired. S307: Determine the time difference between the first machine time and the second machine time.

[0203] The server may determine the duration between the first machine time and the second machine time as the time difference between the first machine time and the second machine time.

[0204] S308: Determine whether the time difference is less than or equal to a preset time difference.

[0205] The preset time difference is a period of time set in advance in the server. For example, the preset time difference can be 1 minute, 3 minutes, etc.

[0206] If yes, execute 309.

[0207] If not, execute 310.

[0208] S309: Determine the verification result according to the first machine time and the authorization time information.

[0209] The authorization period can be determined according to the authorization time information. For details, please refer to S201 and will not be described again here.

[0210] If the first machine moment is within the authorization period, it is determined that the verification result indicates that the authorization of the target application has not expired.

[0211] If the first machine moment is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0212] S310: Determine the verification result according to the second machine time and the authorization time information.

[0213] If the second machine moment is within the authorization period, it is determined that the verification result indicates that the authorization of the target application has not expired.

[0214] If the second machine time is not within the authorization period, it is determined that the verification result indicates that the authorization of the target application has expired.

[0215] exist Figure 3In the illustrated embodiment, when the server needs to verify whether the authorization of the target application in the terminal device has expired, the server can determine whether the terminal device has been authorized to use the target application based on the device information and the identifier of the target application; after determining that the terminal device has been authorized to use the target application, verify whether the authorization time information is correct; when confirming that the authorization time information is correct, the verification result can be determined based on the authorization time information, the first machine time, and the second machine time. If the verification result indicates that the authorization of the target application has not expired, the terminal device can start the target application locally. Through this verification process, the use of the target application in an unauthorized period due to the modification of the machine time of the terminal device is avoided, the application is prevented from being illegally used, and the security of application startup is improved.

[0216] Figure 4 This is a schematic diagram of the structure of a device for starting an application program provided in an embodiment of the present application. Figure 4 The application startup device 10 includes: a first acquisition module 11, a second acquisition module 12, an encryption module 13, a first generation module 14, a transceiver module 15, a startup module 16 and a second generation module 17, wherein:

[0217] The first acquisition module 11 is used to, in response to a start instruction of a target application, acquire the authorization time information of the target application and the current first machine time of the terminal device;

[0218] The second acquisition module 12 is used to obtain the encryption key pre-negotiated with the server;

[0219] The encryption module 13 is used to encrypt the device information, the identifier of the target application, the authorization time information and the first machine time by using the encryption key to obtain encrypted information;

[0220] The first generating module 14 is used to generate the verification request according to the encrypted information, and the verification request includes the encrypted information;

[0221] The transceiver module 15 is used to send the verification request to the server and receive the verification result sent by the server, wherein the verification result is used to indicate whether the authorization of the target application has expired;

[0222] The startup module 16 is used to, if the verification result indicates that the target application is not authorized for expiration, and the verification result includes first verification information, start the target application according to the first verification information;

[0223] The second generating module 17 is used to generate and display prompt information if the verification result indicates that the authorization of the target application has expired, wherein the prompt information is used to prompt that the authorization of the target application has expired.

[0224] An application startup device provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0225] In a possible design, the startup module 16 is specifically used for:

[0226] Obtaining the second verification information and the startup confirmation instruction entered by the user on the startup page;

[0227] Determine the first moment of receiving the start confirmation instruction;

[0228] Obtaining a second time at which the verification result is received;

[0229] Whether to start the target application is determined according to the first verification information, the second verification information, the first time, and the second time, and after determining to start the target application, the target application is started.

[0230] In a possible design, the startup module 16 is specifically used for:

[0231] Determining whether the first verification information and the second verification information are the same;

[0232] If yes, obtain the interval between the first moment and the second moment; if the interval is less than or equal to the preset time, determine to start the target application; if the interval is greater than the preset time, determine not to start the target application;

[0233] If not, it is determined not to start the target application.

[0234] In a possible design, the first generating module 14 is specifically used for:

[0235] Obtaining a preset message template, wherein the message template includes a source device information filling bit, a target device information filling bit, and a content filling bit, and the message template includes an indication mark, and the indication mark is used to request an overdue verification;

[0236] Acquire source device information of the terminal device and target device information of the server;

[0237] In the message template, the source device information is filled into the source device information filling position, the target device information is filled into the target device information filling position, and the encryption information is filled into the content filling position to obtain the verification request.

[0238] In a possible design, the first acquisition module 11 is specifically used for:

[0239] Acquire certificate information corresponding to the target application, where the certificate information is sent by the server to the terminal device after the server authorizes the terminal device to use the target application;

[0240] Obtain the authorization time information from the certificate information; wherein the authorization time information includes any one of the following:

[0241] Authorization start time and authorization duration;

[0242] the authorized period; or,

[0243] The authorization start time and authorization end time.

[0244] An application startup device provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0245] Figure 5 This is a schematic diagram of the structure of a device for starting an application program provided in an embodiment of the present application. Figure 5 The application startup device 20 includes: a receiving module 21, a decryption module 22, a first determination module 23, a second determination module 24 and a sending module 25, wherein:

[0246] The receiving module 21 is used to receive a verification request sent by the terminal device after the terminal device receives a start instruction of the target application, wherein the verification request includes encrypted information;

[0247] The decryption module 22 is used to decrypt the encrypted information to obtain the device information of the terminal device, the identifier of the target application, the authorization time information and the first machine time, where the first machine time is the machine time of the terminal device when the terminal device receives the start instruction;

[0248] The first determination module 23 is used to determine the current second machine time of the server;

[0249] The second determination module 24 is used to determine a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time and the second machine time, wherein the verification result is used to indicate whether the authorization of the target application has expired;

[0250] The sending module 25 is used to send the verification result to the terminal device.

[0251] An application startup device provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0252] In a possible design, the second determining module 24 is specifically configured to:

[0253] Determining, based on the device information and the identifier of the target application, whether the terminal device has been authorized to use the target application;

[0254] After determining that the terminal device has been authorized to use the target application, verifying whether the authorization time information is correct;

[0255] When it is confirmed that the authorization time information is correct, a verification result is determined according to the authorization time information, the first machine time, and the second machine time.

[0256] In a possible design, the second determining module 24 is specifically configured to:

[0257] Determine a first time period according to the authorization time information;

[0258] querying the server for a second time period during which the terminal device has been authorized to use the target application according to the device information and the identifier of the target application;

[0259] If the first time period and the second time period are the same, determining that the authorization time information is correct;

[0260] If the first time period is different from the second time period, it is determined that the authorization time information is incorrect.

[0261] In a possible design, the second determining module 24 is specifically configured to:

[0262] determining a time difference between the first machine time and the second machine time;

[0263] If the time difference is less than or equal to the preset time difference, determining the verification result according to the first machine time and the authorization time information;

[0264] If the time difference is greater than the preset time difference, the verification result is determined according to the second machine time and the authorization time information.

[0265] In a possible design, the second determining module 24 is specifically configured to:

[0266] Determine the authorization period according to the authorization time information;

[0267] If the first machine is always within the authorization period, determining that the verification result indicates that the authorization of the target application has not expired;

[0268] If the first machine is not within the authorization period at all times, it is determined that the verification result indicates that the authorization of the target application has expired.

[0269] In a possible design, the second determining module 24 is specifically configured to:

[0270] Determine the authorization period according to the authorization time information;

[0271] If the second machine is within the authorization period at all times, determining that the verification result indicates that the authorization of the target application has not expired;

[0272] If the second machine is not within the authorization period at the moment, it is determined that the verification result indicates that the authorization of the target application has expired.

[0273] An application startup device provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0274] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device may include: a transceiver 111 , a processor 112 , and a memory 113 .

[0275] The processor 112 executes the computer execution instructions stored in the memory, so that the processor 112 executes the scheme in the above embodiment. The processor 112 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0276] The memory 113 is connected to the processor 112 via a system bus and completes communication between them. The memory 113 is used to store computer program instructions.

[0277] The transceiver 111 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0278] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device may include: a transceiver 121 , a processor 122 , and a memory 123 .

[0279] The processor 122 executes the computer execution instructions stored in the memory, so that the processor 122 executes the scheme in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0280] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.

[0281] The transceiver 121 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0282] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0283] The electronic device provided in the embodiments of the present application may be the terminal device or the server in the above embodiments.

[0284] The electronic device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0285] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the method for starting the application in the above embodiment.

[0286] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the method for starting the application program of the above embodiment.

[0287] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the method for starting the application in the above embodiment.

[0288] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0289] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0290] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0291] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0292] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0293] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0294] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0295] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a 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 storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0296] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.

[0297] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0298] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for starting an application, characterized in that: Applied to a terminal device, the method comprises: In response to a start instruction for a target application, obtaining authorization time information of the target application and a current first machine time of the terminal device; Obtain the encryption key pre-negotiated with the server; The device information, the identifier of the target application, the authorization time information and the first machine time are encrypted by the encryption key to obtain encrypted information; generating a verification request according to the encrypted information, wherein the verification request includes the encrypted information; Sending the verification request to the server, and receiving the verification result sent by the server, wherein the verification result is used to indicate whether the authorization of the target application has expired; If the verification result indicates that the target application has not been authorized for an expired period, and the verification result includes first verification information, starting the target application according to the first verification information; If the verification result indicates that the authorization of the target application has expired, a prompt message is generated and displayed, where the prompt message is used to prompt that the authorization of the target application has expired.

2. The method according to claim 1, characterized in that: Starting the target application according to the first verification information includes: Obtaining the second verification information and the startup confirmation instruction entered by the user on the startup page; Determine the first moment of receiving the start confirmation instruction; Obtaining a second time at which the verification result is received; Whether to start the target application is determined according to the first verification information, the second verification information, the first time, and the second time, and after determining to start the target application, the target application is started.

3. The method according to claim 2, characterized in that Determining whether to start the target application according to the first verification information, the second verification information, the first time, and the second time includes: Determining whether the first verification information and the second verification information are the same; If yes, obtain the interval between the first moment and the second moment; if the interval is less than or equal to the preset time, determine to start the target application; if the interval is greater than the preset time, determine not to start the target application; If not, it is determined not to start the target application.

4. The method according to any one of claims 1 to 3, characterized in that: Generating the verification request according to the encrypted information includes: Obtaining a preset message template, wherein the message template includes a source device information filling bit, a target device information filling bit, and a content filling bit, and the message template includes an indication mark, wherein the indication mark is used to request an overdue verification; Acquire source device information of the terminal device and target device information of the server; In the message template, the source device information is filled into the source device information filling position, the target device information is filled into the target device information filling position, and the encryption information is filled into the content filling position to obtain the verification request.

5. The method according to any one of claims 1 to 4, characterized in that: Obtain authorization time information of the target application, including: Acquire certificate information corresponding to the target application, where the certificate information is sent by the server to the terminal device after the server authorizes the terminal device to use the target application; Obtain the authorization time information from the certificate information; wherein the authorization time information includes any one of the following: Authorization start time and authorization duration; the authorized period; or, The authorization start time and authorization end time.

6. A method for starting an application, characterized in that: Applied to a server, the method comprises: After the terminal device receives the start instruction of the target application, receiving a verification request sent by the terminal device, wherein the verification request includes encrypted information; Decrypting the encrypted information to obtain device information of the terminal device, an identifier of the target application, authorization time information, and a first machine time, where the first machine time is the machine time of the terminal device when the terminal device receives the start instruction; Determining a current second machine time of the server; Determine a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time, and the second machine time, wherein the verification result is used to indicate whether the authorization of the target application has expired; The verification result is sent to the terminal device.

7. The method according to claim 6, characterized in that Determining a verification result according to the device information, the identification of the application, the authorization time information, the first machine time, and the second machine time includes: Determining, based on the device information and the identifier of the target application, whether the terminal device has been authorized to use the target application; After determining that the terminal device has been authorized to use the target application, verifying whether the authorization time information is correct; When it is confirmed that the authorization time information is correct, a verification result is determined according to the authorization time information, the first machine time, and the second machine time.

8. The method according to claim 7, characterized in that Verify whether the authorization time information is correct, including: Determine a first time period according to the authorization time information; querying the server for a second time period during which the terminal device has been authorized to use the target application according to the device information and the identifier of the target application; If the first time period and the second time period are the same, determining that the authorization time information is correct; If the first time period is different from the second time period, it is determined that the authorization time information is incorrect.

9. The method according to claim 7 or 8, characterized in that: Determining a verification result according to the authorization time information, the first machine time, and the second machine time includes: determining a time difference between the first machine time and the second machine time; If the time difference is less than or equal to the preset time difference, determining the verification result according to the first machine time and the authorization time information; If the time difference is greater than the preset time difference, the verification result is determined according to the second machine time and the authorization time information.

10. The method according to claim 9, characterized in that Determining the verification result according to the first machine time and the authorization time information includes: Determine the authorization period according to the authorization time information; If the first machine is always within the authorization period, determining that the verification result indicates that the authorization of the target application has not expired; If the first machine is not within the authorization period at all times, it is determined that the verification result indicates that the authorization of the target application has expired.

11. The method according to claim 9, characterized in that Determining the verification result according to the second machine time and the authorization time information includes: Determine the authorization period according to the authorization time information; If the second machine is within the authorization period at all times, determining that the verification result indicates that the authorization of the target application has not expired; If the second machine is not within the authorization period at the moment, it is determined that the verification result indicates that the authorization of the target application has expired.

12. A device for starting an application, characterized in that: include: A first acquisition module, a second acquisition module, an encryption module, a first generation module, a transceiver module, a startup module, and a second generation module, wherein: The first acquisition module is used to, in response to a start instruction for a target application, acquire authorization time information of the target application and a current first machine time of the terminal device; The second acquisition module is used to obtain the encryption key pre-negotiated with the server; The encryption module is used to encrypt the device information, the identifier of the target application, the authorization time information and the first machine time by using the encryption key to obtain encrypted information; The first generating module is used to generate a verification request according to the encrypted information, wherein the verification request includes the encrypted information; The transceiver module is used to send the verification request to the server and receive the verification result sent by the server, wherein the verification result is used to indicate whether the authorization of the target application has expired; The startup module is used to, if the verification result indicates that the target application has not been authorized for an expiration date and the verification result includes first verification information, start the target application according to the first verification information; The second generating module is used to generate and display prompt information if the verification result indicates that the authorization of the target application has expired, wherein the prompt information is used to prompt that the authorization of the target application has expired.

13. A device for starting an application, characterized in that: include: A receiving module, a decryption module, a first determining module, a second determining module and a sending module, wherein: The receiving module is used to receive a verification request sent by the terminal device after the terminal device receives the start instruction of the target application, wherein the verification request includes encrypted information; The decryption module is used to decrypt the encrypted information to obtain the device information of the terminal device, the identifier of the target application, the authorization time information and the first machine time, where the first machine time is the machine time of the terminal device when the terminal device receives the start instruction; The first determination module is used to determine the current second machine time of the server; The second determination module is used to determine a verification result according to the device information, the identifier of the target application, the authorization time information, the first machine time and the second machine time, wherein the verification result is used to indicate whether the authorization of the target application has expired; The sending module is used to send the verification result to the terminal device.

14. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 11.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 11.

16. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 11.

Citation Information

Cited By

  • Application installation method and device, equipment and storage medium

    CN119645433A

  • A method, apparatus, device, and storage medium for installing an application.

    CN119645433B

  • Application program running method, application program publishing method, application program running device, application program publishing device and related equipment

    CN121211415A