CN111523093A - Software license validity checking method and system and corresponding computer equipment - Google Patents

Software license validity checking method and system and corresponding computer equipment Download PDF

Info

Publication number
CN111523093A
CN111523093A CN202010203353.7A CN202010203353A CN111523093A CN 111523093 A CN111523093 A CN 111523093A CN 202010203353 A CN202010203353 A CN 202010203353A CN 111523093 A CN111523093 A CN 111523093A
Authority
CN
China
Prior art keywords
time
software
software license
license
installation
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.)
Pending
Application number
CN202010203353.7A
Other languages
Chinese (zh)
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.)
Beijing Yuanxin Science and Technology Co Ltd
Original Assignee
Beijing Yuanxin Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN202010203353.7A priority Critical patent/CN111523093A/en
Publication of CN111523093A publication Critical patent/CN111523093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs

Abstract

The application discloses a software license validity checking method, a software license validity checking system and corresponding computer equipment, wherein the method comprises the following steps: responding to the installation software, and acquiring the time of the software installation from a trusted time service source; determining the sum of the acquired time when the software is installed and the effective duration of the software license as the expiration time of the software license and recording the expiration time; automatically acquiring the current time given by a trusted time service source after the software is successfully installed and used; comparing the acquired current time with an expiration time of the software license; in response to the acquired current time not exceeding the expiration time, determining that the software license is valid. The invention can avoid the problem that the user falsify the system time privately and continues illegal use after the software license is expired, and maintain the validity of the software license.

Description

Software license validity checking method and system and corresponding computer equipment
Technical Field
The present application relates to the field of electronic digital data processing, and in particular, to a software license validity checking method and system, and a corresponding computer device.
Background
A software license (license) is a format contract with a user by a software copyright owner to specify and limit the rights of the software user to use the software or its source code, and the obligations that the copyright owner should have to do.
The general commercial software is authorized by the license, and the license has a limit, so that the license can be invalid after the limit, and the software can not be used legally. The prior art generally determines whether the authorization period expires according to the system time of the device for installing the software, and has the disadvantage that the user can continue to use the software normally (but illegally) by modifying the system time so that the authorization is always within the valid period.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a software license validity checking method, a software license validity checking system and corresponding computer equipment, and solves the problem that a user falsifies system time privately and continues illegal use after a license expires.
According to a first aspect of the present invention, there is provided a software license validity checking method, the method comprising:
responding to the installation software, and acquiring the time of the software installation from a trusted time service source;
determining the sum of the acquired time when the software is installed and the effective duration of the software license as the expiration time of the software license and recording the expiration time;
automatically acquiring the current time given by a trusted time service source after the software is successfully installed and used;
comparing the acquired current time with an expiration time of the software license;
in response to the acquired current time not exceeding the expiration time, determining that the software license is valid.
As an improvement of the method of the present invention, the method further comprises: and in response to the fact that the time given by the trusted time service source is not successfully acquired when the software is installed, the installation of the corresponding software is terminated.
As another improvement of the method of the present invention, the method further comprises: determining, in response to installing the software, whether a location services switch of a device on which the software is installed has been turned on or a network has been connected; prompting a user to turn on a positioning service switch or connect a network in response to the positioning service switch of the device for installing the software not being turned on and not being connected with the network; in response to detecting that the location services switch has been opened or the network has been connected, the installation of the software continues.
As a further improvement of the method of the present invention, the automatic obtaining of the current time given by the trusted time service source is performed when the positioning service switch is monitored to be turned on or when the positioning service switch is connected to the network.
As a further improvement of the method of the invention, the method further comprises: in response to the acquired current time not exceeding the expiration time, determining a remaining duration of the software license; and prompting the user to update the software license in response to the remaining time length being less than the preset threshold value.
According to a second aspect of the present invention, there is provided a software license validity checking system, the system comprising:
the first time acquisition module is used for responding to the installation software and acquiring the time of the software installation from the trusted time service source;
the expiration time determining module is used for determining the sum of the acquired software installation time and the effective duration of the software license as the expiration time of the software license and recording the expiration time;
the second time acquisition module is used for automatically acquiring the current time given by the trusted time service source after the software is successfully installed and used;
a comparison module for comparing the acquired current time with the expiration time of the software license;
a validity determination module to determine that the software license is valid in response to the acquired current time not exceeding the expiration time.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method according to the first aspect of the present invention.
According to a fourth aspect of the present invention there is provided a computer device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to the first aspect of the present invention are carried out when the computer program is executed by the processor.
Most devices now have a positioning module and/or a network connection module, and these devices can acquire time through a satellite or a network, and the satellite or the network time cannot be easily tampered with by users. After the device is started for positioning or connected with a network, the satellite or network time is synchronously acquired through the satellite or the network, the license expiration time and whether the license expires are determined, if the time expires, a user can be reminded that the license is invalid, and software is forbidden; if the time left is not much, the user can be reminded of the time left in the license, the problem that the user personally tampers the system time and continues illegal use after the license is expired is solved, and the timeliness of the license and the legal rights of software copyright holders are maintained.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Drawings
FIG. 1 is a flow chart of one embodiment of a method according to the present invention;
FIG. 2 is a block diagram of one embodiment of a system according to the present invention.
For the sake of clarity, the figures are schematic and simplified drawings, which only show details which are necessary for understanding the invention and other details are omitted.
Detailed Description
Embodiments and examples of the present invention will be described in detail below with reference to the accompanying drawings.
The scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only.
Current trusted time service sources include, but are not limited to, satellite navigation system time service and Internet time service. Satellite navigation systems such as GPS, beidou, GLONASS (GLONASS), galileo and other satellite navigation/positioning systems all have a time service function, that is, the local device receives satellite time and provides time service to the local device. The internet time service refers to time service by time calibration with a time source through an NTP protocol (network time protocol).
FIG. 1 is a flow chart of a preferred embodiment of a software license validity checking method according to the present invention.
At step S102, at the time of installing software, it is determined whether a location service switch of a device in which the software is installed has been turned on or a network has been connected. If the location service switch of the device is not turned on and the network is not connected, the process proceeds to step S150. Otherwise, if the location services switch of the device is turned on and/or the network is connected, the process proceeds to step S104.
In step S104, the time of software installation is acquired from the trusted time service source. If the device's location services switch is turned on, satellite time is acquired via a satellite navigation system, such as GPS, supported by the device. If the location services switch is not open but is connected to the network, the time is determined via the NTP protocol.
In step S106, the sum of the acquired time when the software is installed and the validity period of the software license is determined as the expiration time of the software license and recorded, and then the installation of the software is continued.
In step S108, after the software is successfully installed and used, the device is monitored for a location service switch status or a network connection status. And if the positioning service switch of the monitoring equipment is opened or connected to the network, automatically acquiring the current time given by the trusted time service source. This step may be performed periodically, for example 1 time a day or 1 time a week.
In step S110, the acquired current time is compared with the expiration time of the software license. If the acquired current time has exceeded the expiration time, the process proceeds to step S112. Otherwise, if the acquired current time does not exceed the expiration time, the process proceeds to step S114.
In step S112, the user is alerted to the software license failure and the software is disabled.
In step S114, the software license is determined to be valid, and the remaining duration of the software license is calculated.
In step S116, the remaining time period is compared with a predetermined threshold value. The predetermined threshold may be set as desired, such as 10 days, 30 days, etc. If the remaining time period is less than the predetermined threshold value, the process proceeds to step S118. Otherwise, if the remaining duration is greater than the predetermined threshold, continuing the background authorization management of the software license.
In step S118, the user is alerted to how much time remains for the software license, and is alerted to update the software license.
In step S150, the user is prompted to turn on a location service switch or a connection network, and the process proceeds to step S152.
In step S152, the status of the location service switch and/or the connection network status of the device is monitored. If it is sensed, for example, within a predetermined time, such as 1-5 minutes, that the location service switch of the device has been turned on or connected to the network, the process proceeds to step S104. If it is not sensed within the predetermined time that the location service switch of the device has been turned on or connected to the network, the process proceeds to step S154.
In step S154, the installation of the corresponding software is terminated.
FIG. 2 shows a block diagram of a preferred embodiment of a software license validity checking system according to the present invention, the system of this embodiment comprising:
a first time obtaining module 202, configured to, in response to software installation, obtain time when the software is installed from a trusted time service source;
an expiration time determination module 204, configured to determine and record the sum of the acquired time when the software is installed and the valid duration of the software license as an expiration time of the software license;
the second time obtaining module 206 is configured to automatically obtain current time given by the trusted time service source after the software is successfully installed and used;
a comparison module 208 for comparing the acquired current time with the expiration time of the software license;
a validity determination module 210 for determining that the software license is valid in response to the acquired current time not exceeding the expiration time.
In an embodiment, the system shown in fig. 2 may further include a termination module, configured to terminate installation of the corresponding software in response to a time given by the time service source that is not successfully acquired when the software is installed.
In another embodiment, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method embodiment shown and described in connection with fig. 1 or other corresponding method embodiments, which are not described herein again.
In another embodiment, the present invention provides a computer device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the method embodiment shown and described in conjunction with fig. 1 or other corresponding method embodiments when executing the computer program, and details are not repeated herein.
The various embodiments described herein, or certain features, structures, or characteristics thereof, may be combined as suitable in one or more embodiments of the invention. Additionally, in some cases, the order of steps depicted in the flowcharts and/or in the pipelined process may be modified, as appropriate, and need not be performed exactly in the order depicted. In addition, various aspects of the invention may be implemented using software, hardware, firmware, or a combination thereof, and/or other computer implemented modules or devices that perform the described functions. Software implementations of the present invention may include executable code stored in a computer readable medium and executed by one or more processors. The computer-readable medium may include a computer hard drive, ROM, RAM, flash memory, portable computer storage media such as CD-ROM, DVD-ROM, flash drives, and/or other devices with a Universal Serial Bus (USB) interface, and/or any other suitable tangible or non-transitory computer-readable medium or computer memory on which executable code may be stored and executed by a processor. The present invention may be used in conjunction with any suitable operating system.
As used herein, the singular forms "a", "an" and "the" include plural references (i.e., have the meaning "at least one"), unless the context clearly dictates otherwise. It will be further understood that the terms "has," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
The foregoing describes some preferred embodiments of the present invention, but it should be emphasized that the invention is not limited to these embodiments, but can be implemented in other ways within the scope of the inventive subject matter. Various modifications and alterations of this invention will become apparent to those skilled in the art without departing from the spirit and scope of this invention.

Claims (10)

1. A software license validity checking method, the method comprising:
responding to the installation software, and acquiring the time of the software installation from a trusted time service source;
determining the sum of the acquired time when the software is installed and the effective duration of the software license as the expiration time of the software license and recording the expiration time;
automatically acquiring the current time given by a trusted time service source after the software is successfully installed and used;
comparing the acquired current time with an expiration time of the software license;
in response to the acquired current time not exceeding the expiration time, determining that the software license is valid.
2. The method of claim 1, further comprising:
and in response to the fact that the time given by the trusted time service source is not successfully acquired when the software is installed, the installation of the corresponding software is terminated.
3. The method of claim 1, wherein the trusted time service source comprises a satellite navigation system or a time determined via the network time protocol NTP.
4. The method of claim 1, further comprising:
determining, in response to installing the software, whether a location services switch of a device on which the software is installed has been turned on or a network has been connected;
prompting a user to turn on a positioning service switch or connect a network in response to the positioning service switch of the device for installing the software not being turned on and not being connected with the network;
in response to detecting that the location services switch has been opened or the network has been connected, the installation of the software continues.
5. The method according to claim 1, wherein the automatically obtaining the current time given by the trusted time service source is performed when a location service switch is monitored to be turned on or when the network is connected.
6. The method of claim 1, further comprising:
in response to the acquired current time not exceeding the expiration time, determining a remaining duration of the software license;
and prompting the user to update the software license in response to the remaining time length being less than the preset threshold value.
7. A software license validity checking system, the system comprising:
the first time acquisition module is used for responding to the installation software and acquiring the time of the software installation from the trusted time service source;
the expiration time determining module is used for determining the sum of the acquired software installation time and the effective duration of the software license as the expiration time of the software license and recording the expiration time;
the second time acquisition module is used for automatically acquiring the current time given by the trusted time service source after the software is successfully installed and used;
a comparison module for comparing the acquired current time with the expiration time of the software license;
a validity determination module to determine that the software license is valid in response to the acquired current time not exceeding the expiration time.
8. The system of claim 7, further comprising:
and the termination module is used for responding to the condition that the time given by the trusted time service source is not successfully acquired when the software is installed, and terminating the installation of the corresponding software.
9. 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 as claimed in claim 1.
10. A computer device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to claim 1 are implemented when the processor executes the computer program.
CN202010203353.7A 2020-03-20 2020-03-20 Software license validity checking method and system and corresponding computer equipment Pending CN111523093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010203353.7A CN111523093A (en) 2020-03-20 2020-03-20 Software license validity checking method and system and corresponding computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010203353.7A CN111523093A (en) 2020-03-20 2020-03-20 Software license validity checking method and system and corresponding computer equipment

Publications (1)

Publication Number Publication Date
CN111523093A true CN111523093A (en) 2020-08-11

Family

ID=71901059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010203353.7A Pending CN111523093A (en) 2020-03-20 2020-03-20 Software license validity checking method and system and corresponding computer equipment

Country Status (1)

Country Link
CN (1) CN111523093A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656101A (en) * 2021-08-17 2021-11-16 成都长城开发科技有限公司 Authorization management method, system, server and user side

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1967555A (en) * 2006-05-29 2007-05-23 华为技术有限公司 Method and system for controlling software function
CN101969690A (en) * 2010-10-09 2011-02-09 东莞市泰斗微电子科技有限公司 Method and device for transferring time by utilizing navigational satellite
CN103440441A (en) * 2013-08-28 2013-12-11 北京华胜天成科技股份有限公司 Software protection method and system
US20170255762A1 (en) * 2015-02-06 2017-09-07 Macpaw Inc. System and method for software activation and license tracking
CN107341368A (en) * 2017-06-06 2017-11-10 广州视源电子科技股份有限公司 Licensing effective time method of calibration and device
CN110832479A (en) * 2017-05-22 2020-02-21 Macpaw软件开发公司 System and method for software activation and license tracking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1967555A (en) * 2006-05-29 2007-05-23 华为技术有限公司 Method and system for controlling software function
CN101969690A (en) * 2010-10-09 2011-02-09 东莞市泰斗微电子科技有限公司 Method and device for transferring time by utilizing navigational satellite
CN103440441A (en) * 2013-08-28 2013-12-11 北京华胜天成科技股份有限公司 Software protection method and system
US20170255762A1 (en) * 2015-02-06 2017-09-07 Macpaw Inc. System and method for software activation and license tracking
CN110832479A (en) * 2017-05-22 2020-02-21 Macpaw软件开发公司 System and method for software activation and license tracking
CN107341368A (en) * 2017-06-06 2017-11-10 广州视源电子科技股份有限公司 Licensing effective time method of calibration and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马兆丰,冯博琴,宋擒豹,王浩鸣: "基于动态许可证的信任版权安全认证协议", 软件学报, no. 01 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656101A (en) * 2021-08-17 2021-11-16 成都长城开发科技有限公司 Authorization management method, system, server and user side

Similar Documents

Publication Publication Date Title
US7921421B2 (en) Program version management taking into account system stability
US7865781B2 (en) Automated diagnostic service
US20080092244A1 (en) Method For Restricting Content Usage In Digital Rights Management
CA2328550C (en) Method and system for providing build-to-order software applications
US8438561B2 (en) Mediation apparatus, installation system, installation method, and installation program
CA2567573A1 (en) Adjustable free-running secure clock
WO2007101077A1 (en) Apparatus and methods for managing time sensitive application privileges on a wireless device
CN111523093A (en) Software license validity checking method and system and corresponding computer equipment
JP2008242644A (en) User authentication system using position information
JP4440128B2 (en) DRM management method and apparatus for content copyright protection
US20120239798A1 (en) Monitoring the Distribution of Software
CN107180040B (en) Service data management method and device
US7495790B2 (en) Removing the registration of the printer meeting a prescribed condition, if the obtained registered number exceeds a prescribed value
US20070005668A1 (en) System for security management of a server
CN111143788B (en) License processing method, electronic device, and storage medium
CN110895607A (en) Method, device and storage medium for intelligent permission prompt
CN111639053A (en) Authorization file expiration alarm prompting method and device and computer equipment
CN108322785B (en) Method and device for judging validity period of double-time service digital copyright certificate and television terminal
CN112115175B (en) Cloud service product processing method and device, electronic equipment and storage medium
JP2007058609A (en) Data processing system, data processing method
JP5401952B2 (en) DEVICE MANAGEMENT DEVICE, DEVICE MANAGEMENT SYSTEM, SOFTWARE MANAGEMENT METHOD, SOFTWARE MANAGEMENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
CN108256297A (en) The authority checking method on probation of software
CN110807885A (en) Alarm method and alarm device based on WeChat
CN111611577B (en) Authentication method, authentication device, authentication system, electronic equipment and computer readable storage medium
CN117318959B (en) Expiration early warning method, device, system, equipment and medium for digital certificate

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