WO2019214614A1 - Automatic software activation verification method, apparatus and system, and computer readable storage medium - Google Patents

Automatic software activation verification method, apparatus and system, and computer readable storage medium Download PDF

Info

Publication number
WO2019214614A1
WO2019214614A1 PCT/CN2019/085851 CN2019085851W WO2019214614A1 WO 2019214614 A1 WO2019214614 A1 WO 2019214614A1 CN 2019085851 W CN2019085851 W CN 2019085851W WO 2019214614 A1 WO2019214614 A1 WO 2019214614A1
Authority
WO
WIPO (PCT)
Prior art keywords
identification information
device identification
server
activation
user terminal
Prior art date
Application number
PCT/CN2019/085851
Other languages
French (fr)
Chinese (zh)
Inventor
娄丽珠
Original Assignee
鸿合科技股份有限公司
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 鸿合科技股份有限公司 filed Critical 鸿合科技股份有限公司
Publication of WO2019214614A1 publication Critical patent/WO2019214614A1/en

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/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a software automatic activation verification method, apparatus, system, and computer readable storage medium.
  • a software product needs to be separately installed on the terminal device.
  • the software system When the user installs the software system, the software system generates a registration certificate or a registration code according to the key information of the user machine, and the user sends the registration certificate or registration code to the user.
  • the software supplier the supplier generates an activation code by using the registration voucher or the registration code, after which the user needs to input the activation code on the terminal device to complete the authorization of the software system, and then the software can be used, and the operation process is performed on the user. It is very complicated and very inconvenient to operate, which affects the user experience.
  • the present invention provides a software automatic activation verification method, apparatus, system and computer readable storage medium, which enables a user to complete a software activation verification process without inputting any activation code information, and is fast and useable. Convenience.
  • the software automatic activation verification method proposed by the present invention is applied to a first server, including:
  • the second device identification information includes the device of the second server Identification
  • the first device identifier information includes a device identifier of the user terminal, where the first device identifier information is sent by the user terminal to the second server;
  • the obtaining the activation code according to the contract number comprises: acquiring the number of the activation codes, and if the number of the activation codes is greater than zero, randomly assigning an activation to the user terminal a code; if the number of the activation codes is equal to zero, a software activation verification failure message is returned.
  • the method further includes: generating software activation success information, sending the information to the user terminal, and storing the first device identification information. .
  • the device identifier of the user terminal includes a MAC address of the user terminal
  • the device identifier of the second server includes a MAC address of the second server
  • the invention also proposes a software automatic activation verification method, which is applied to the second server, and includes:
  • first device identifier information includes a device identifier of the user terminal
  • the second device identification information includes a device identifier of the second server
  • the invention also provides a software automatic activation verification method, which is applied to a user terminal, and includes:
  • first device identification information includes a device identifier of the user terminal
  • the invention provides a server comprising:
  • a creating module configured to create a user contract information table, establish a comparison relationship between the contract number and the second device identification information, and set a preset number of activation codes based on the contract number; wherein the second device identification information includes the The device identifier of the second server;
  • a first receiving module configured to receive first device identifier information and second device identifier information that are sent by the second server;
  • the first device identifier information includes a device identifier of the user terminal, and the first device identifier information is used by the user Sending to the second server by the terminal;
  • a first acquiring module configured to acquire the contract number according to the second device identification information and the user contract information table
  • an allocating module configured to acquire the activation code according to the contract number, and randomly allocate one activation code to the user terminal corresponding to the first device identification information.
  • the invention also provides a micro cloud server, comprising:
  • a second receiving module configured to receive first device identifier information that is sent by the user terminal, where the first device identifier information includes a device identifier of the user terminal;
  • a second acquiring module configured to acquire second device identification information, where the second device identification information includes a device identifier of the second server;
  • the first sending module is configured to send the first device identification information and the second device identification information to the first server, and enable the first server to obtain a contract according to the second device identification information and the user contract information table. And obtaining an activation code according to the contract number, and randomly assigning the activation code to the user terminal corresponding to the first device identification information.
  • the invention also provides a user terminal, comprising:
  • a third acquiring module configured to acquire first device identification information, where the first device identification information includes a device identifier of the user terminal;
  • a generating module configured to generate a software activation request according to the first device identification information
  • a second sending module configured to send the generated software activation request to the second server, to generate the second device identification information, and send the first device identification information and the second device identification information Giving the first server, obtaining, by the first server, the contract number according to the second device identification information and the user contract information table, and acquiring an activation code according to the contract number, randomly corresponding to the first device identification information
  • the user terminal assigns one of the activation codes.
  • the invention also provides a software automatic activation verification system, comprising:
  • a server according to any of the preceding claims, wherein the micro cloud server according to any one of the preceding claims, and at least one user terminal according to any one of the preceding claims.
  • the present invention also provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the software automatic activation verification method described above when the program is executed.
  • the present invention also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the software automatic activation verification method described above.
  • the software automatically activates the verification method, the server, the user terminal and the system provided by the invention, and the software system installed by the user terminal can automatically perform the activation verification of the software system without the need of the traditional software verification method.
  • the user needs to manually input the activation code returned by the server into the software for verification, which simplifies the steps of software activation, is convenient for the user's operation, and has a better user experience.
  • FIG. 1 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a software automatic activation verification method on a second server according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a first server according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a second server according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a software automatic activation verification system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a software automatic activation verification method.
  • the method can be applied to a system including a terminal device, a first server, and a second server.
  • the terminal device is in communication connection with the second server; the second server is in communication connection with the terminal device and the first server respectively.
  • the software system to be activated is installed on the terminal device.
  • the terminal device may also implement a network communication connection with the second server through a router.
  • the first server may be a cloud management platform
  • the second server may be a micro cloud server capable of supporting multiple protocols for information transmission, where the multiple protocols include the MQTT protocol.
  • FIG. 1 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention.
  • the software automatically activates the verification method applied to the first server. As shown in Figure 1, the software automatically activates the verification method including:
  • the second device identification information includes the device identifier of the second server.
  • a user contract information table may be directly created in a database of the first server, a relationship between the contract number and the second device identification information is established, and a preset number of activation codes are set based on the contract number;
  • the user contract information including the contract number, the second device identification information, the activation code, and the like may also be imported into the user contract information table in the database.
  • the second device identification information may include a MAC address of the second server, to implement a unique identifier of the second server.
  • the first device identifier information includes a device identifier of the user terminal, where the first device identifier information is sent by the user terminal to the second server.
  • the user opens the software activation interface on the user terminal, and the user terminal device acquires the first device identification information of the local device, and sends the first device identification protocol, such as the MQTT protocol.
  • a software activation request for device identification information is provided to the second server.
  • the first device identifier information may include a MAC address of the user terminal, and is used to implement a unique identifier of the user terminal.
  • the second server After receiving the software activation request that is sent by the user terminal and carrying the first device identifier information, the second server obtains the second device identifier information of the local device, and uploads the first device identifier and the second device identifier information to the first interface.
  • a server After receiving the software activation request that is sent by the user terminal and carrying the first device identifier information, the second server obtains the second device identifier information of the local device, and uploads the first device identifier and the second device identifier information to the first interface.
  • the first server After receiving the first device identification information and the second device identification information sent by the second server, the first server searches the second device identification information in the user contract information table in the database, and determines whether the second device identification information exists. In the user contract information table; if yes, the corresponding contract number is obtained according to the second device identification information.
  • the number of activation codes corresponding to the contract number is first retrieved. If the number of the activation codes is greater than zero, an activation code is randomly assigned to the user terminal. That is, the activation of the software installed on the user terminal is completed. If the number of activation codes is equal to zero, the software activation verification failure information is returned, the software activation is unsuccessful, and the user terminal receives the corresponding activation failure prompt information.
  • the method further includes: generating software activation success information, and sending the information to the user terminal through the second server. After that, the software is activated successfully and can be used normally.
  • the first server may also store the first device identification information in its own database.
  • the user terminal that has been successfully activated uninstalls the software system for other reasons, and subsequently needs to re-install the software system and issue an activation request
  • the user terminal resends the first device identification information
  • the first server receives the first The device identification information is retrieved in the database. If the first device identification information is included in the database, the activation code is not re-allocated, and the user terminal is directly activated, thereby avoiding repeated uninstallation and installation of a user terminal.
  • Activating the software system results in the consumption of more activation codes, causing other user terminals to fail to activate due to the absence of activation code assignments during verification.
  • the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the first server may send the activation code to the user terminal through the second server after the activation code is allocated. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
  • FIG. 2 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention.
  • the software automatically activates the verification method applied to the second server. Referring to Figure 2, the method includes:
  • S201 Receive a software activation request that is sent by the user terminal and carries the first device identifier information, where the first device identifier information includes a device identifier of the user terminal.
  • the first device identifier may include a MAC address of the user terminal, and is used to implement a unique identifier of the user terminal.
  • the first device identifier information and the second device identifier information are sent to the first server, so that the first server obtains a contract number according to the second device identifier information and the user contract information table, and according to the The contract number obtains an activation code, and the user terminal corresponding to the first device identification information is randomly assigned an activation code.
  • the second device identification information may include a MAC address of the second server, to implement a unique identifier of the second server.
  • the first server After receiving the first device identification information and the second device identification information sent by the second server, the first server searches the second device identification information in the user contract information table in the database, and determines whether the second device identification information exists. In the user contract information table; if yes, the corresponding contract number is obtained according to the second device identification information.
  • the first server After obtaining the corresponding contract number, the first server first searches for the number of activation codes corresponding to the contract number, and if the number of the activation codes is greater than zero, randomly assigns an activation code to the user terminal corresponding to the first device identification information. At this point, activation of the software installed on the user terminal is completed. If the number of activation codes is equal to zero, the software activation verification failure information is returned, the software activation is unsuccessful, and the user terminal receives the corresponding activation failure prompt information.
  • the software activation success information is generated and sent to the user terminal, and the first device identification information is stored.
  • the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the second server may further receive the allocated activation code from the first server, and send the activation code to the The user terminal. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
  • the embodiment of the present invention further provides a software automatic activation verification method, which is applied to a user terminal, and the method includes:
  • first device identification information includes a device identifier of the user terminal
  • Transmitting the software activation request to the second server causing the second server to generate second device identification information, and sending the first device identification information and the second device identification information to the first server, where
  • the first server obtains a contract number according to the second device identification information and the user contract information table, and obtains an activation code according to the contract number, and randomly assigns an activation code to the user terminal corresponding to the first device identification information.
  • the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the terminal device may receive the allocated activation code from the first server through the second server. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
  • FIG. 3 shows an internal structure of a first server provided by an embodiment of the present invention.
  • the server provided by the embodiment of the present invention includes:
  • a creating module 11 for creating a user contract information table, establishing a comparison relationship between the contract number and the second device identification information, and setting a preset number of activation codes based on the contract number; wherein the second device identification information includes The device identifier of the second server.
  • the first receiving module 12 is configured to receive the first device identifier information and the second device identifier information that are sent by the second server, where the first device identifier information includes a device identifier of the user terminal, where the first device identifier information is The user terminal sends to the second server.
  • the first obtaining module 13 is configured to obtain the contract number according to the second device identification information and the user contract information table.
  • the allocating module 14 is configured to obtain the activation code according to the contract number, and randomly allocate one activation code to the user terminal corresponding to the first device identification information.
  • the server described in the foregoing embodiment is a cloud server.
  • the allocating module 14 is further configured to: obtain the number of the activation codes, and if the number of the activation codes is greater than zero, randomly assign the activation code to the user terminal. If the number of the activation codes is equal to zero, a software activation verification failure message is returned.
  • the allocating module 14 is further configured to: after the randomly assigning the activation code to the user terminal, further comprising: generating software activation success information and sending the information to the user terminal, and The first device identification information is stored.
  • the first device identification information includes a MAC address of the user terminal
  • the second device identification information includes a MAC address of the second server.
  • FIG. 4 shows an internal structure of a second server provided by an embodiment of the present invention.
  • the micro cloud server provided by the embodiment of the present invention includes:
  • the second receiving module 21 is configured to receive a software activation request sent by the user terminal, where the software activation request includes first device identification information, and the first device identification information includes a device identifier of the user terminal;
  • the second obtaining module 22 is configured to obtain second device identification information, where the second device identification information includes a device identifier of the second server;
  • the first sending module 23 is configured to send the first device identifier information and the second device identifier information to the first server, so that the first server obtains the second device identifier information and the user contract information table. a contract number, and obtaining an activation code according to the contract number, and randomly assigning the activation code to the user terminal corresponding to the first device identification information.
  • the embodiment of the invention further provides a user terminal, including:
  • a third acquiring module configured to acquire first device identification information
  • a generating module configured to generate a software activation request according to the first device identification information
  • a second sending module configured to send the generated software activation request to the second server, to generate the second device identification information, and send the first device identification information and the second device identification information Providing a first server; obtaining, by the first server, the contract number according to the second device identification information and the user contract information table, and acquiring an activation code according to the contract number, randomly corresponding to the first device identification information
  • the user terminal assigns one of the activation codes.
  • an embodiment of the present invention further provides a software automatic activation verification system, including:
  • the server 30 according to any of the above embodiments, the micro cloud server 31 according to any of the above embodiments, and at least one user terminal 32 according to any one of the above embodiments.
  • the server in the software automatic activation verification system can communicate with a plurality of micro cloud servers, each of which can communicate with a plurality of user terminals.
  • an embodiment of the present invention further provides an electronic device, which is configured as shown in FIG. 6, and includes a memory 601 and a processor 602.
  • the memory 601 and the processor 602 are connected by a bus; and the memory is stored and processed.
  • the electronic device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
  • an embodiment of the present invention further provides a computer readable storage medium, where computer instructions are stored, and when the processor executes the computer instruction, the software automatic activation verification method according to any one of the foregoing embodiments is implemented. .
  • the software system installed by the user terminal can automatically perform activation verification of the software system, without requiring the user to return the server like the traditional software verification method.
  • the activation code is manually input into the software for verification, which simplifies the steps of software activation, is convenient and quick, is convenient for user operation, and has a better user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Technology Law (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is an automatic software activation verification method, comprising: creating a user contract information table, establishing a corresponding relation between a contract number and second device identification information, and setting a preset number of activation codes according to the contract number; receiving first device identification information and the second device identification information sent by a second server; obtaining the contract number according to the second device identification information and the user contract information table; and obtaining the activation codes according to the contract number, and randomly allocating one activation code to a user terminal so as to realize automatic activation of a software system of the user terminal. Further disclosed are an automatic software activation verification apparatus and system, and a computer readable storage medium. By means of the present invention, software activation verification of the user terminal can be automatically completed without inputting any activation code information by a user, and therefore, it is convenient and efficient.

Description

软件自动激活验证方法、装置、系统及计算机可读存储介质Software automatic activation verification method, device, system and computer readable storage medium 技术领域Technical field
本发明涉及无线通信技术领域,特别是指一种软件自动激活验证方法、装置、系统及计算机可读存储介质。The present invention relates to the field of wireless communication technologies, and in particular, to a software automatic activation verification method, apparatus, system, and computer readable storage medium.
背景技术Background technique
随着科技的进步和教学多样化的推动,使得利用信息化设备进行教学成为一种趋势,国内外针对此类设备的研究也逐渐增多。其中,这类设备的代表为电子书包。电子书包的使用丰富了教学信息化功能,提高了教学与学习效率,减轻了学生的负担。伴随着数字化校园建设以及互联网的进一步发展,基于电子书包的教学应用活动得到越来越多的教育机构与教师、学生的青睐。With the advancement of technology and the diversification of teaching, the use of information equipment for teaching has become a trend, and research on such equipment has gradually increased at home and abroad. Among them, the representative of such equipment is an electronic school bag. The use of e-books enriches the teaching information function, improves the efficiency of teaching and learning, and reduces the burden on students. With the development of digital campus and the further development of the Internet, the teaching and application activities based on e-books have been favored by more and more educational institutions, teachers and students.
目前使用电子书包时需要在终端设备上单独安装软件产品,当用户安装了软件系统后,软件系统会根据用户机器的关键信息生成一个注册凭证或注册码,用户将这个注册凭证或注册码发送给软件供应商,供应商通过注册凭证或注册码生成一个激活码,之后用户需要在终端设备上输入该激活码才能够完成该软件系统的授权,然后才能使用该软件,这种操作过程对用户来说非常复杂,很不方便操作,影响了用户体验。At present, when using an electronic school bag, a software product needs to be separately installed on the terminal device. When the user installs the software system, the software system generates a registration certificate or a registration code according to the key information of the user machine, and the user sends the registration certificate or registration code to the user. The software supplier, the supplier generates an activation code by using the registration voucher or the registration code, after which the user needs to input the activation code on the terminal device to complete the authorization of the software system, and then the software can be used, and the operation process is performed on the user. It is very complicated and very inconvenient to operate, which affects the user experience.
发明内容Summary of the invention
有鉴于此,本发明提出了一种软件自动激活验证方法、装置、系统及计算机可读存储介质,能够使用户在不需要输入任何激活码信息的情况下完成软件激活验证过程,操作快捷,使用方便。In view of this, the present invention provides a software automatic activation verification method, apparatus, system and computer readable storage medium, which enables a user to complete a software activation verification process without inputting any activation code information, and is fast and useable. Convenience.
本发明提出的软件自动激活验证方法,应用于第一服务器,包括:The software automatic activation verification method proposed by the present invention is applied to a first server, including:
创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;其中,所述第二设备标识信息包括所述第二服务器的设备标识;Creating a user contract information table, establishing a relationship between the contract number and the second device identification information, and setting a preset number of activation codes based on the contract number; wherein the second device identification information includes the device of the second server Identification
接收第二服务器发送的第一设备标识信息和第二设备标识信息;所述 第一设备标识信息包括用户终端的设备标识,所述第一设备标识信息由所述用户终端发送给所述第二服务器;Receiving, by the second terminal, the first device identifier information and the second device identifier information, where the first device identifier information includes a device identifier of the user terminal, where the first device identifier information is sent by the user terminal to the second server;
根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号;Obtaining the contract number according to the second device identification information and the user contract information table;
根据所述合同号获取所述激活码,并随机为与所述第一设备表示信息对应的用户终端分配一个所述的激活码。Obtaining the activation code according to the contract number, and randomly assigning the activation code to the user terminal corresponding to the first device representation information.
在本发明的实施例中,所述根据所述合同号获取所述激活码包括:获取所述激活码的数量,若所述激活码的数量大于零,则随机分配给所述用户终端一个激活码;若所述激活码的数量等于零,则返回软件激活验证失败信息。In an embodiment of the present invention, the obtaining the activation code according to the contract number comprises: acquiring the number of the activation codes, and if the number of the activation codes is greater than zero, randomly assigning an activation to the user terminal a code; if the number of the activation codes is equal to zero, a software activation verification failure message is returned.
在本发明的实施例中,在随机分配给所述用户终端一个所述的激活码之后,该方法还包括:生成软件激活成功信息发送给所述用户终端,并存储所述第一设备标识信息。In an embodiment of the present invention, after randomly assigning the activation code to the user terminal, the method further includes: generating software activation success information, sending the information to the user terminal, and storing the first device identification information. .
在本发明的实施例中,所述用户终端的设备标识包括所述用户终端的MAC地址,所述第二服务器的设备标识包括所述第二服务器的MAC地址。In an embodiment of the present invention, the device identifier of the user terminal includes a MAC address of the user terminal, and the device identifier of the second server includes a MAC address of the second server.
本发明还提出了一种软件自动激活验证方法,应用于第二服务器,包括:The invention also proposes a software automatic activation verification method, which is applied to the second server, and includes:
接收用户终端发送的第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;Receiving, by the user equipment, first device identifier information, where the first device identifier information includes a device identifier of the user terminal;
获取第二设备标识信息,所述第二设备标识信息包括所述第二服务器的设备标识;Obtaining second device identification information, where the second device identification information includes a device identifier of the second server;
将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器,使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。Sending the first device identification information and the second device identification information to the first server, so that the first server obtains a contract number according to the second device identification information and the user contract information table, and according to the contract Obtain an activation code, and randomly assign the activation code to the user terminal corresponding to the first device identification information.
本发明还提出一种软件自动激活验证方法,应用于用户终端,包括:The invention also provides a software automatic activation verification method, which is applied to a user terminal, and includes:
获取第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;Obtaining first device identification information, where the first device identification information includes a device identifier of the user terminal;
将所述第一设备标识信息发送给第二服务器,使所述第二服务器生成第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。Sending the first device identification information to the second server, causing the second server to generate second device identification information, and sending the first device identification information and the second device identification information to the first server; And causing the first server to obtain a contract number according to the second device identification information and the user contract information table, and obtain an activation code according to the contract number, and randomly assign a location to the user terminal corresponding to the first device identification information. The activation code described.
本发明提出一种服务器,包括:The invention provides a server comprising:
创建模块,用于创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;其中,所述第二设备标识信息包括所述第二服务器的设备标识;a creating module, configured to create a user contract information table, establish a comparison relationship between the contract number and the second device identification information, and set a preset number of activation codes based on the contract number; wherein the second device identification information includes the The device identifier of the second server;
第一接收模块,用于接收第二服务器发送的第一设备标识信息和第二设备标识信息;所述第一设备标识信息包括用户终端的设备标识,所述第一设备标识信息由所述用户终端发送给所述第二服务器;a first receiving module, configured to receive first device identifier information and second device identifier information that are sent by the second server; the first device identifier information includes a device identifier of the user terminal, and the first device identifier information is used by the user Sending to the second server by the terminal;
第一获取模块,用于根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号;a first acquiring module, configured to acquire the contract number according to the second device identification information and the user contract information table;
分配模块,用于根据所述合同号获取所述激活码,并随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。And an allocating module, configured to acquire the activation code according to the contract number, and randomly allocate one activation code to the user terminal corresponding to the first device identification information.
本发明还提出一种微云服务器,包括:The invention also provides a micro cloud server, comprising:
第二接收模块,用于接收用户终端发送的第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;a second receiving module, configured to receive first device identifier information that is sent by the user terminal, where the first device identifier information includes a device identifier of the user terminal;
第二获取模块,用于获取第二设备标识信息,所述第二设备标识信息包括所述第二服务器的设备标识;a second acquiring module, configured to acquire second device identification information, where the second device identification information includes a device identifier of the second server;
第一发送模块,用于将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。The first sending module is configured to send the first device identification information and the second device identification information to the first server, and enable the first server to obtain a contract according to the second device identification information and the user contract information table. And obtaining an activation code according to the contract number, and randomly assigning the activation code to the user terminal corresponding to the first device identification information.
本发明还提出一种用户终端,包括:The invention also provides a user terminal, comprising:
第三获取模块,用于获取第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;a third acquiring module, configured to acquire first device identification information, where the first device identification information includes a device identifier of the user terminal;
生成模块,用于根据所述第一设备标识信息生成软件激活请求;a generating module, configured to generate a software activation request according to the first device identification information;
第二发送模块,用于将生成的软件激活请求发送给第二服务器,使所述第二服务器生成第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器,使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。a second sending module, configured to send the generated software activation request to the second server, to generate the second device identification information, and send the first device identification information and the second device identification information Giving the first server, obtaining, by the first server, the contract number according to the second device identification information and the user contract information table, and acquiring an activation code according to the contract number, randomly corresponding to the first device identification information The user terminal assigns one of the activation codes.
本发明还提出一种软件自动激活验证系统,包括:The invention also provides a software automatic activation verification system, comprising:
如上述任意一项所述的服务器、如上述任意一项所述的微云服务器以及至少一个如上述任意一项所述的用户终端。A server according to any of the preceding claims, wherein the micro cloud server according to any one of the preceding claims, and at least one user terminal according to any one of the preceding claims.
本发明还提出一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述的软件自动激活验证方法。The present invention also provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the software automatic activation verification method described above when the program is executed.
本发明还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述的软件自动激活验证方法。The present invention also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the software automatic activation verification method described above.
从上面所述可以看出,本发明提供的软件自动激活验证方法、服务器、用户终端及系统,用户终端安装的软件系统可以自动进行软件系统的激活验证,而不需要像传统的软件验证方法一样,需要用户将服务器返回的激活码手动输入到软件中进行验证,简化了软件激活的步骤,便于用户的操作,具有更好的用户体验。It can be seen from the above that the software automatically activates the verification method, the server, the user terminal and the system provided by the invention, and the software system installed by the user terminal can automatically perform the activation verification of the software system without the need of the traditional software verification method. The user needs to manually input the activation code returned by the server into the software for verification, which simplifies the steps of software activation, is convenient for the user's operation, and has a better user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例一种软件自动激活验证方法的流程图;1 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention;
图2为本发明实施例第二服务器上的软件自动激活验证方法的流程图;2 is a flowchart of a software automatic activation verification method on a second server according to an embodiment of the present invention;
图3为本发明实施例第一服务器结构示意图;3 is a schematic structural diagram of a first server according to an embodiment of the present invention;
图4为本发明实施例第二服务器结构示意图;4 is a schematic structural diagram of a second server according to an embodiment of the present invention;
图5为本发明实施例一种软件自动激活验证系统结构示意图;FIG. 5 is a schematic structural diagram of a software automatic activation verification system according to an embodiment of the present invention; FIG.
图6为本发明实施例的电子设备结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。The present invention will be further described in detail below with reference to the specific embodiments of the invention.
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all the expressions using “first” and “second” in the embodiment of the present invention are used to distinguish two entities with the same name that are not the same or non-identical parameters, and “first” and “second” can be seen. For the convenience of the description, it should not be construed as limiting the embodiments of the present invention, and the subsequent embodiments will not be described again.
为解决上述问题,本发明实施例提供了一种软件自动激活验证方法。该方法可以应用于包括终端设备,第一服务器以及第二服务器的系统中。其中,终端设备与第二服务器进行通信连接;第二服务器分别与终端设备和第一服务器进行通信连接。其中,上述终端设备上安装有待激活的软件系统。在一些实施例中,上述终端设备也可通过路由器与第二服务器实现网络通信连接。To solve the above problem, an embodiment of the present invention provides a software automatic activation verification method. The method can be applied to a system including a terminal device, a first server, and a second server. The terminal device is in communication connection with the second server; the second server is in communication connection with the terminal device and the first server respectively. The software system to be activated is installed on the terminal device. In some embodiments, the terminal device may also implement a network communication connection with the second server through a router.
在本发明的一个具体应用场景中,上述第一服务器可以为云管理平台,上述第二服务器可以为能够支持多种协议进行信息传输的微云服务器,其中,上述多种协议包括MQTT协议。In a specific application scenario of the present invention, the first server may be a cloud management platform, and the second server may be a micro cloud server capable of supporting multiple protocols for information transmission, where the multiple protocols include the MQTT protocol.
图1为本发明实施例提供的一种软件自动激活验证方法的流程图。该软件自动激活验证方法应用于第一服务器。如图1所示,该软件自动激活验证方法包括:FIG. 1 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention. The software automatically activates the verification method applied to the first server. As shown in Figure 1, the software automatically activates the verification method including:
S101,创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于合同号设置预设数量的激活码;其中,第二设备标识信息包括第二服务器的设备标识。S101. Create a user contract information table, establish a comparison relationship between the contract number and the second device identification information, and set a preset number of activation codes based on the contract number. The second device identification information includes the device identifier of the second server.
在本发明的实施例中,可以在第一服务器的数据库中直接创建用户合 同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;也可以将包括合同号、第二设备标识信息、激活码等的用户合同信息导入到数据库中的用户合同信息表中。In an embodiment of the present invention, a user contract information table may be directly created in a database of the first server, a relationship between the contract number and the second device identification information is established, and a preset number of activation codes are set based on the contract number; The user contract information including the contract number, the second device identification information, the activation code, and the like may also be imported into the user contract information table in the database.
在本发明的实施例中,第二设备标识信息可以包括第二服务器的MAC地址,用来实现第二服务器的唯一标识。In an embodiment of the present invention, the second device identification information may include a MAC address of the second server, to implement a unique identifier of the second server.
S102,接收第二服务器发送的第一设备标识信息和第二设备标识信息;第一设备标识信息包括用户终端的设备标识,第一设备标识信息由用户终端发送给第二服务器的。S102: Receive first device identifier information and second device identifier information that are sent by the second server. The first device identifier information includes a device identifier of the user terminal, where the first device identifier information is sent by the user terminal to the second server.
当要进行软件激活操作时,用户在用户终端上打开软件激活界面,此时用户终端设备会获取本机的第一设备标识信息,并通过第二服务器支持的协议,例如MQTT协议发送携带有第一设备标识信息的软件激活请求给第二服务器。具体的,第一设备标识信息可以包括用户终端的MAC地址,用来实现用户终端的唯一标识。When the software activation operation is to be performed, the user opens the software activation interface on the user terminal, and the user terminal device acquires the first device identification information of the local device, and sends the first device identification protocol, such as the MQTT protocol. A software activation request for device identification information is provided to the second server. Specifically, the first device identifier information may include a MAC address of the user terminal, and is used to implement a unique identifier of the user terminal.
第二服务器接收到用户终端发送的携带有第一设备标识信息的软件激活请求后,获取到本机的第二设备标识信息,并将第一设备标识和第二设备标识信息通过接口上传到第一服务器。After receiving the software activation request that is sent by the user terminal and carrying the first device identifier information, the second server obtains the second device identifier information of the local device, and uploads the first device identifier and the second device identifier information to the first interface. A server.
S103,根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号。S103. Acquire the contract number according to the second device identification information and the user contract information table.
第一服务器接收到第二服务器发送的第一设备标识信息和第二设备标识信息之后,将第二设备标识信息在数据库中的用户合同信息表中进行检索,判断第二设备标识信息是否存在于用户合同信息表中;若是,则根据第二设备标识信息获取到对应的合同号。After receiving the first device identification information and the second device identification information sent by the second server, the first server searches the second device identification information in the user contract information table in the database, and determines whether the second device identification information exists. In the user contract information table; if yes, the corresponding contract number is obtained according to the second device identification information.
S104,根据所述合同号获取所述激活码,并随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。S104. Acquire the activation code according to the contract number, and randomly allocate one activation code to the user terminal corresponding to the first device identification information.
在本发明的实施例中,获取到对应的合同号之后,首先检索该合同号对应的激活码的数量,若所述激活码的数量大于零,则随机分配给用户终端一个激活码,此时即完成了对用户终端上安装的软件的激活。若激活码的数量等于零,则返回软件激活验证失败信息,软件激活不成功,用户终端会接收到相应的激活失败提示信息。In the embodiment of the present invention, after obtaining the corresponding contract number, the number of activation codes corresponding to the contract number is first retrieved. If the number of the activation codes is greater than zero, an activation code is randomly assigned to the user terminal. That is, the activation of the software installed on the user terminal is completed. If the number of activation codes is equal to zero, the software activation verification failure information is returned, the software activation is unsuccessful, and the user terminal receives the corresponding activation failure prompt information.
进一步的,随机分配给用户终端一个激活码之后,还包括:生成软件激活成功信息,并通过第二服务器发送给用户终端。此后,软件激活成功, 可以正常使用。Further, after randomly assigning an activation code to the user terminal, the method further includes: generating software activation success information, and sending the information to the user terminal through the second server. After that, the software is activated successfully and can be used normally.
在本发明的实施例中,第一服务器还可以在自己的数据库存储第一设备标识信息。当已经激活成功过的用户终端由于其他原因卸载该软件系统,后续又需要重新安装该软件系统并发出激活请求,此时用户终端会重新发送第一设备标识信息,第一服务器接收到该第一设备标识信息会在数据库中进行检索,若数据库中具有该第一设备标识信息,则不会重新分配激活码,直接使得该用户终端激活成功,从而避免出现某一台用户终端反复卸载、安装、激活软件系统导致消耗掉较多的激活码,使得其他用户终端在验证时因没有激活码分配导致激活失败的情况。In an embodiment of the invention, the first server may also store the first device identification information in its own database. When the user terminal that has been successfully activated uninstalls the software system for other reasons, and subsequently needs to re-install the software system and issue an activation request, the user terminal resends the first device identification information, and the first server receives the first The device identification information is retrieved in the database. If the first device identification information is included in the database, the activation code is not re-allocated, and the user terminal is directly activated, thereby avoiding repeated uninstallation and installation of a user terminal. Activating the software system results in the consumption of more activation codes, causing other user terminals to fail to activate due to the absence of activation code assignments during verification.
在一个可选的实施例中,用户终端安装的软件系统上可以预留输入激活码的窗口,同时第一服务器在分配好激活码后可以将该激活码通过第二服务器发送给该用户终端。此后,用户可以在用户终端上输入激活码进行软件系统的激活验证,从而使得该软件系统既能自动激活,也能手动激活,满足了不同情况的要求。In an optional embodiment, the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the first server may send the activation code to the user terminal through the second server after the activation code is allocated. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
图2为本发明实施例提供的一种软件自动激活验证方法的流程图。该软件自动激活验证方法应用于第二服务器。参照图2所示,所述方法包括:FIG. 2 is a flowchart of a software automatic activation verification method according to an embodiment of the present invention. The software automatically activates the verification method applied to the second server. Referring to Figure 2, the method includes:
S201,接收用户终端发送的携带有第一设备标识信息的软件激活请求,所述第一设备标识信息包括所述用户终端的设备标识。S201. Receive a software activation request that is sent by the user terminal and carries the first device identifier information, where the first device identifier information includes a device identifier of the user terminal.
具体的,第一设备标识可以包括用户终端的MAC地址,用来实现用户终端的唯一标识。Specifically, the first device identifier may include a MAC address of the user terminal, and is used to implement a unique identifier of the user terminal.
S202,获取第二设备标识信息,所述第二设备标识信息包括第二服务器的设备标识。S202. Acquire second device identification information, where the second device identification information includes a device identifier of the second server.
S203,将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器,使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个激活码。S203. The first device identifier information and the second device identifier information are sent to the first server, so that the first server obtains a contract number according to the second device identifier information and the user contract information table, and according to the The contract number obtains an activation code, and the user terminal corresponding to the first device identification information is randomly assigned an activation code.
在本发明的实施例中,第二设备标识信息可以包括第二服务器的MAC地址,用来实现第二服务器的唯一标识。In an embodiment of the present invention, the second device identification information may include a MAC address of the second server, to implement a unique identifier of the second server.
第一服务器接收到第二服务器发送的第一设备标识信息和第二设备标识信息之后,将第二设备标识信息在数据库中的用户合同信息表中进行 检索,判断第二设备标识信息是否存在于用户合同信息表中;若是,则根据第二设备标识信息获取到对应的合同号。After receiving the first device identification information and the second device identification information sent by the second server, the first server searches the second device identification information in the user contract information table in the database, and determines whether the second device identification information exists. In the user contract information table; if yes, the corresponding contract number is obtained according to the second device identification information.
获取到对应的合同号之后,第一服务器首先检索该合同号对应的激活码的数量,若所述激活码的数量大于零,则随机分配给与第一设备标识信息对应的用户终端一个激活码,此时即完成了对用户终端上安装的软件的激活。若激活码的数量等于零,则返回软件激活验证失败信息,软件激活不成功,用户终端会接收到相应的激活失败提示信息。After obtaining the corresponding contract number, the first server first searches for the number of activation codes corresponding to the contract number, and if the number of the activation codes is greater than zero, randomly assigns an activation code to the user terminal corresponding to the first device identification information. At this point, activation of the software installed on the user terminal is completed. If the number of activation codes is equal to zero, the software activation verification failure information is returned, the software activation is unsuccessful, and the user terminal receives the corresponding activation failure prompt information.
进一步的,第一服务器分配给用户终端一个激活码之后,会生成软件激活成功信息发送给用户终端,同时存储第一设备标识信息。Further, after the first server allocates an activation code to the user terminal, the software activation success information is generated and sent to the user terminal, and the first device identification information is stored.
在一个可选的实施例中,用户终端安装的软件系统上可以预留输入激活码的窗口,此时第二服务器可以从第一服务器进一步接收分配好的激活码,并将该激活码发送给该用户终端。此后,用户可以在用户终端上输入激活码进行软件系统的激活验证,从而使得该软件系统既能自动激活,也能手动激活,满足了不同情况的要求。In an optional embodiment, the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the second server may further receive the allocated activation code from the first server, and send the activation code to the The user terminal. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
在另一些实施例中,本发明实施例还提供一种软件自动激活验证方法,应用于用户终端,所述方法包括:In other embodiments, the embodiment of the present invention further provides a software automatic activation verification method, which is applied to a user terminal, and the method includes:
获取第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;Obtaining first device identification information, where the first device identification information includes a device identifier of the user terminal;
根据所述第一设备标识信息生成软件激活请求;Generating a software activation request according to the first device identification information;
将所述软件激活请求发送给第二服务器,使所述第二服务器生成第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器,由所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个激活码。Transmitting the software activation request to the second server, causing the second server to generate second device identification information, and sending the first device identification information and the second device identification information to the first server, where The first server obtains a contract number according to the second device identification information and the user contract information table, and obtains an activation code according to the contract number, and randomly assigns an activation code to the user terminal corresponding to the first device identification information.
在一个可选的实施例中,用户终端安装的软件系统上可以预留输入激活码的窗口,此时终端设备可以通过第二服务器从第一服务器接收分配好的激活码。此后,用户可以在用户终端上输入激活码进行软件系统的激活验证,从而使得该软件系统既能自动激活,也能手动激活,满足了不同情况的要求。In an optional embodiment, the window on which the activation code is input may be reserved on the software system installed by the user terminal, and the terminal device may receive the allocated activation code from the first server through the second server. Thereafter, the user can input an activation code on the user terminal to perform activation verification of the software system, so that the software system can be activated automatically or manually, which satisfies the requirements of different situations.
图3显示了本发明实施例提供的第一服务器的内部结构。如3所示,本发明实施例提供的服务器包括:FIG. 3 shows an internal structure of a first server provided by an embodiment of the present invention. As shown in FIG. 3, the server provided by the embodiment of the present invention includes:
创建模块11,用于创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;其中,所述第二设备标识信息包括所述第二服务器的设备标识。a creating module 11 for creating a user contract information table, establishing a comparison relationship between the contract number and the second device identification information, and setting a preset number of activation codes based on the contract number; wherein the second device identification information includes The device identifier of the second server.
第一接收模块12,用于接收第二服务器发送的第一设备标识信息和第二设备标识信息;其中,所述第一设备标识信息包括用户终端的设备标识,所述第一设备标识信息由用户终端发送给所述第二服务器。The first receiving module 12 is configured to receive the first device identifier information and the second device identifier information that are sent by the second server, where the first device identifier information includes a device identifier of the user terminal, where the first device identifier information is The user terminal sends to the second server.
第一获取模块13,用于根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号。The first obtaining module 13 is configured to obtain the contract number according to the second device identification information and the user contract information table.
分配模块14,用于根据所述合同号获取所述激活码,并随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。The allocating module 14 is configured to obtain the activation code according to the contract number, and randomly allocate one activation code to the user terminal corresponding to the first device identification information.
在一个具体的实施例中,上述实施例所述的服务器为云服务器。In a specific embodiment, the server described in the foregoing embodiment is a cloud server.
在本发明的实施例中,所述分配模块14还用于实现:获取所述激活码的数量,若所述激活码的数量大于零,则随机分配给所述用户终端一个所述的激活码;若所述激活码的数量等于零,则返回软件激活验证失败信息。In an embodiment of the present invention, the allocating module 14 is further configured to: obtain the number of the activation codes, and if the number of the activation codes is greater than zero, randomly assign the activation code to the user terminal. If the number of the activation codes is equal to zero, a software activation verification failure message is returned.
在本发明的实施例中,所述分配模块14还用于实现:所述随机分配给所述用户终端一个所述的激活码之后,还包括生成软件激活成功信息发送给所述用户终端,并存储所述第一设备标识信息。In an embodiment of the present invention, the allocating module 14 is further configured to: after the randomly assigning the activation code to the user terminal, further comprising: generating software activation success information and sending the information to the user terminal, and The first device identification information is stored.
在本发明的实施例中,所述第一设备标识信息包括所述用户终端的MAC地址,所述第二设备标识信息包括所述第二服务器的MAC地址。In an embodiment of the present invention, the first device identification information includes a MAC address of the user terminal, and the second device identification information includes a MAC address of the second server.
图4显示了本发明实施例提供的第二服务器的内部结构。如4所示,本发明实施例提供的微云服务器包括:FIG. 4 shows an internal structure of a second server provided by an embodiment of the present invention. As shown in FIG. 4, the micro cloud server provided by the embodiment of the present invention includes:
第二接收模块21,用于接收用户终端发送的软件激活请求;其中,所述软件激活请求包括第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;The second receiving module 21 is configured to receive a software activation request sent by the user terminal, where the software activation request includes first device identification information, and the first device identification information includes a device identifier of the user terminal;
第二获取模块22,用于获取第二设备标识信息;其中,所述第二设备标识信息包括所述第二服务器的设备标识;The second obtaining module 22 is configured to obtain second device identification information, where the second device identification information includes a device identifier of the second server;
第一发送模块23,用于将所述第一设备标识信息、所述第二设备标识 信息发送给第一服务器,使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。The first sending module 23 is configured to send the first device identifier information and the second device identifier information to the first server, so that the first server obtains the second device identifier information and the user contract information table. a contract number, and obtaining an activation code according to the contract number, and randomly assigning the activation code to the user terminal corresponding to the first device identification information.
本发明实施例还提供一种用户终端,包括:The embodiment of the invention further provides a user terminal, including:
第三获取模块,用于获取第一设备标识信息,a third acquiring module, configured to acquire first device identification information, where
生成模块,用于根据所述第一设备标识信息生成软件激活请求;a generating module, configured to generate a software activation request according to the first device identification information;
第二发送模块,用于将生成的软件激活请求发送给第二服务器,使所述第二服务器生成第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;由所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。a second sending module, configured to send the generated software activation request to the second server, to generate the second device identification information, and send the first device identification information and the second device identification information Providing a first server; obtaining, by the first server, the contract number according to the second device identification information and the user contract information table, and acquiring an activation code according to the contract number, randomly corresponding to the first device identification information The user terminal assigns one of the activation codes.
参照图5所示,本发明实施例还提供一种软件自动激活验证系统,其包括:Referring to FIG. 5, an embodiment of the present invention further provides a software automatic activation verification system, including:
如上述任意一实施例所述的服务器30、如上述任意一实施例所述的微云服务器31以及至少一个上述任意一实施例所述的用户终端32。The server 30 according to any of the above embodiments, the micro cloud server 31 according to any of the above embodiments, and at least one user terminal 32 according to any one of the above embodiments.
在另一个实施例中,软件自动激活验证系统中的服务器可以与多个微云服务器实现通信,每个微云服务器可以与多个用户终端实现通信。In another embodiment, the server in the software automatic activation verification system can communicate with a plurality of micro cloud servers, each of which can communicate with a plurality of user terminals.
基于同一方面构思,本发明实施例还提供了一种电子设备,其结构如图6所示,包括存储器601、处理器602;存储器601和处理器602通过总线连接;存储器上存储有可在处理器上运行的计算机程序603,所述处理器执行所述程序时实现如上述任意一实施例所述的软件自动激活验证方法。Based on the same aspect, an embodiment of the present invention further provides an electronic device, which is configured as shown in FIG. 6, and includes a memory 601 and a processor 602. The memory 601 and the processor 602 are connected by a bus; and the memory is stored and processed. The computer program 603 running on the device, when the processor executes the program, implements the software automatic activation verification method as described in any of the above embodiments.
上述实施例的电子设备用于实现前述实施例中相应的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The electronic device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
基于同一方面构思,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机指令,在处理器执行上述计算机指令时实现如上述任意一实施例所述的软件自动激活验证方法。Based on the same aspect, an embodiment of the present invention further provides a computer readable storage medium, where computer instructions are stored, and when the processor executes the computer instruction, the software automatic activation verification method according to any one of the foregoing embodiments is implemented. .
本发明实施例中所述的软件自动激活验证方法、装置及系统,用户终端安装的软件系统可以自动进行软件系统的激活验证,而不需要像传统的软件验证方法一样,需要用户将服务器返回的激活码手动输入到软件中进行验证,简化了软件激活的步骤,方便快捷,便于用户的操作,具有更好的用户体验。The software automatic activation verification method, device and system described in the embodiments of the present invention, the software system installed by the user terminal can automatically perform activation verification of the software system, without requiring the user to return the server like the traditional software verification method. The activation code is manually input into the software for verification, which simplifies the steps of software activation, is convenient and quick, is convenient for user operation, and has a better user experience.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明它们没有在细节中提供。It should be understood by those of ordinary skill in the art that the discussion of any of the above embodiments is merely exemplary, and is not intended to suggest that the scope of the disclosure (including the claims) is limited to these examples; Combinations of the technical features in the different embodiments can also be combined, the steps can be carried out in any order, and there are many other variations of the various aspects of the invention as described above, which are not provided in detail for the sake of brevity.
本发明的实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本发明的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明的保护范围之内。All such alternatives, modifications, and variations are intended to be included within the scope of the appended claims. Therefore, any omissions, modifications, equivalents, improvements, etc., which are within the spirit and scope of the invention, are intended to be included within the scope of the invention.

Claims (17)

  1. 一种软件自动激活验证方法,其特征在于,应用于第一服务器,包括:A software automatic activation verification method, which is characterized by being applied to a first server, comprising:
    创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;其中,所述第二设备标识信息包括所述第二服务器的设备标识;Creating a user contract information table, establishing a relationship between the contract number and the second device identification information, and setting a preset number of activation codes based on the contract number; wherein the second device identification information includes the device of the second server Identification
    接收第二服务器发送的第一设备标识信息和第二设备标识信息;其中,所述第一设备标识信息包括用户终端的设备标识,所述第一设备标识信息由所述用户终端发送给所述第二服务器;Receiving the first device identification information and the second device identification information sent by the second server, where the first device identification information includes a device identifier of the user terminal, and the first device identification information is sent by the user terminal to the Second server;
    根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号;Obtaining the contract number according to the second device identification information and the user contract information table;
    根据所述合同号获取所述激活码,并随机为与所述第一设备标识信息对应的用户终端分配一个激活码。Acquiring the activation code according to the contract number, and randomly assigning an activation code to the user terminal corresponding to the first device identification information.
  2. 根据权利要求1所述的软件自动激活验证方法,其特征在于,所述根据所述合同号获取所述激活码包括:获取所述激活码的数量,若所述激活码的数量大于零,则随机分配给所述用户终端一个所述的激活码;若所述激活码的数量等于零,则返回软件激活验证失败信息。The software automatic activation verification method according to claim 1, wherein the obtaining the activation code according to the contract number comprises: acquiring the number of the activation codes, and if the number of the activation codes is greater than zero, Randomly assigning the activation code to the user terminal; if the number of the activation codes is equal to zero, returning software activation verification failure information.
  3. 根据权利要求2所述的软件自动激活验证方法,其特征在于,所述方法进一步包括:在随机为与所述第一设备标识信息对应的用户终端分配一个激活码之后,生成软件激活成功信息通过所述第二服务器发送给所述用户终端。The software automatic activation verification method according to claim 2, wherein the method further comprises: after assigning an activation code randomly to the user terminal corresponding to the first device identification information, generating a software activation success message The second server sends to the user terminal.
  4. 根据权利要求1所述的软件自动激活验证方法,其特征在于,所述方法进一步包括:在随机为与所述第一设备标识信息对应的用户终端分配一个激活码之后,存储所述第一设备标识信息。The software automatic activation verification method according to claim 1, wherein the method further comprises: after the user terminal corresponding to the first device identification information is randomly assigned an activation code, storing the first device Identification information.
  5. 根据权利要求1所述的软件自动激活验证方法,其特征在于,所述用户终端的设备标识包括所述用户终端的MAC地址,所述第二服务器的设备标识包括所述第二服务器的MAC地址。The software automatic activation verification method according to claim 1, wherein the device identifier of the user terminal includes a MAC address of the user terminal, and the device identifier of the second server includes a MAC address of the second server. .
  6. 根据权利要求1所述的软件自动激活验证方法,其特征在于,所述方法进一步包括:在随机为与所述第一设备标识信息对应的用户终端分配一个激活码之后,将所述激活码通过第二服务器反馈给所述终端设备。The software automatic activation verification method according to claim 1, wherein the method further comprises: after assigning an activation code randomly to a user terminal corresponding to the first device identification information, passing the activation code The second server feeds back to the terminal device.
  7. 一种软件自动激活验证方法,其特征在于,应用于第二服务器,包括:A software automatic activation verification method, which is characterized in that it is applied to a second server, including:
    接收用户终端发送的第一设备标识信息;其中,所述第一设备标识信息包括所述用户终端的设备标识;Receiving, by the user equipment, first device identification information, where the first device identification information includes a device identifier of the user terminal;
    获取第二设备标识信息;其中,所述第二设备标识信息包括所述第二服务器的设备标识;Obtaining second device identification information, where the second device identification information includes a device identifier of the second server;
    将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个激活码。Sending the first device identification information and the second device identification information to the first server; causing the first server to obtain a contract number according to the second device identification information and the user contract information table, and according to the contract The activation code is obtained, and an activation code is randomly assigned to the user terminal corresponding to the first device identification information.
  8. 一种软件自动激活验证方法,其特征在于,应用于用户终端,包括:A software automatic activation verification method, which is characterized in that it is applied to a user terminal, including:
    获取第一设备标识信息,其中,所述第一设备标识信息包括所述用户终端的设备标识;Acquiring the first device identification information, where the first device identification information includes a device identifier of the user terminal;
    根据所述第一设备标识信息生成软件激活请求;Generating a software activation request according to the first device identification information;
    将所述软件激活请求发送给第二服务器,使所述第二服务器获取第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;由所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个所述的激活码。Sending the software activation request to the second server, causing the second server to acquire the second device identification information, and sending the first device identification information and the second device identification information to the first server; The first server obtains a contract number according to the second device identification information and the user contract information table, and obtains an activation code according to the contract number, and randomly allocates one of the user terminals corresponding to the first device identification information. Activation code.
  9. 一种服务器,其特征在于,包括:A server, comprising:
    创建模块,用于创建用户合同信息表,建立合同号与第二设备标识信息的对照关系,并基于所述合同号设置预设数量的激活码;其中,所述第二设备标识信息包括所述第二服务器的设备标识;a creating module, configured to create a user contract information table, establish a comparison relationship between the contract number and the second device identification information, and set a preset number of activation codes based on the contract number; wherein the second device identification information includes the The device identifier of the second server;
    第一接收模块,用于接收第二服务器发送的第一设备标识信息和第二设备标识信息;其中,所述第一设备标识信息包括用户终端的设备标识,所述第一设备标识信息由所述用户终端发送给所述第二服务器;The first receiving module is configured to receive the first device identifier information and the second device identifier information that are sent by the second server, where the first device identifier information includes a device identifier of the user terminal, and the first device identifier information is Transmitting the user terminal to the second server;
    第一获取模块,用于根据所述第二设备标识信息以及所述用户合同信息表获取所述合同号;a first acquiring module, configured to acquire the contract number according to the second device identification information and the user contract information table;
    分配模块,用于根据所述合同号获取所述激活码,并随机为与所述第一设备标识信息对应的用户终端分配一个激活码。And an allocating module, configured to acquire the activation code according to the contract number, and randomly assign an activation code to the user terminal corresponding to the first device identification information.
  10. 根据权利要求9所述的服务器,其特征在于,所述服务器进一步包括:消息生成模块,用于生成软件激活成功信息;The server according to claim 9, wherein the server further comprises: a message generating module, configured to generate software activation success information;
    反馈模块,用于通过所述第二服务器将生成的软件激活成功信息发送给所述用户终端。And a feedback module, configured to send the generated software activation success information to the user terminal by using the second server.
  11. 根据权利要求9所述的服务器,其特征在于,所述服务器进一步包括:存储模块,存储所述第一设备标识信息。The server according to claim 9, wherein the server further comprises: a storage module, configured to store the first device identification information.
  12. 根据权利要求9所述的服务器,其特征在于,所述反馈模块进一步用于将所述激活码通过第二服务器反馈给所述终端设备。The server according to claim 9, wherein the feedback module is further configured to feed back the activation code to the terminal device through a second server.
  13. 一种微云服务器,其特征在于,包括:A micro cloud server, comprising:
    第二接收模块,用于接收用户终端发送的第一设备标识信息,所述第一设备标识信息包括所述用户终端的设备标识;a second receiving module, configured to receive first device identifier information that is sent by the user terminal, where the first device identifier information includes a device identifier of the user terminal;
    第二获取模块,用于获取第二设备标识信息,其中,所述第二设备标识信息包括所述第二服务器的设备标识;a second acquiring module, configured to acquire second device identification information, where the second device identification information includes a device identifier of the second server;
    第一发送模块,用于将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器,使所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个激活码。The first sending module is configured to send the first device identification information and the second device identification information to the first server, so that the first server obtains a contract according to the second device identification information and the user contract information table. And obtaining an activation code according to the contract number, and randomly assigning an activation code to the user terminal corresponding to the first device identification information.
  14. 一种用户终端,其特征在于,包括:A user terminal, comprising:
    第三获取模块,用于获取第一设备标识信息;a third acquiring module, configured to acquire first device identification information;
    生成模块,用于根据所述第一设备标识信息生成软件激活请求;a generating module, configured to generate a software activation request according to the first device identification information;
    第二发送模块,用于将所述软件激活请求发送给第二服务器,使所述第二服务器生成第二设备标识信息,并将所述第一设备标识信息、所述第二设备标识信息发送给第一服务器;由所述第一服务器根据所述第二设备标识信息以及用户合同信息表获取合同号,并根据所述合同号获取激活码,随机为与所述第一设备标识信息对应的用户终端分配一个激活码。a second sending module, configured to send the software activation request to the second server, to enable the second server to generate second device identification information, and send the first device identification information and the second device identification information Providing a first server; obtaining, by the first server, the contract number according to the second device identification information and the user contract information table, and acquiring an activation code according to the contract number, randomly corresponding to the first device identification information The user terminal is assigned an activation code.
  15. 一种软件自动激活验证系统,其特征在于,包括:A software automatic activation verification system, comprising:
    如权利要求9-12中任一项权利要求所述的服务器、如权利要求13所述的微云服务器以及至少一个如权利要求14所述的用户终端。A server according to any of claims 9-12, a micro cloud server according to claim 13 and at least one user terminal according to claim 14.
  16. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至8任意一项所述的软件自动激活验证方法。An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program as claimed in any one of claims 1 to The software described automatically activates the verification method.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8任意一项所述的软件自动激活验证方法。A computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement automatic activation of the software according to any one of claims 1 to 8. Authentication method.
PCT/CN2019/085851 2018-05-10 2019-05-07 Automatic software activation verification method, apparatus and system, and computer readable storage medium WO2019214614A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810442245.8 2018-05-10
CN201810442245.8A CN110472377B (en) 2018-05-10 2018-05-10 Automatic software activation verification method, server, user terminal and system

Publications (1)

Publication Number Publication Date
WO2019214614A1 true WO2019214614A1 (en) 2019-11-14

Family

ID=68467811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085851 WO2019214614A1 (en) 2018-05-10 2019-05-07 Automatic software activation verification method, apparatus and system, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110472377B (en)
WO (1) WO2019214614A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538961A (en) * 2020-04-26 2020-08-14 云知声智能科技股份有限公司 Software activation method, device, equipment and storage medium
CN111581607A (en) * 2020-05-08 2020-08-25 深圳市凯迈生物识别技术有限公司 Method for activating license
CN113449269A (en) * 2021-07-21 2021-09-28 湖北亿咖通科技有限公司 Core module activation method and device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114282274B (en) * 2021-12-28 2022-11-22 北京纬百科技有限公司 Activation code verification method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622559A (en) * 2012-04-01 2012-08-01 北京乾图方园软件技术有限公司 Navigation software user authorization method and system
CN103577744A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Network on-line activating mode for Android mobile internet equipment
CN104680040A (en) * 2013-12-03 2015-06-03 方正国际软件(北京)有限公司 Software loading number and activation control method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030125836A1 (en) * 2002-11-23 2003-07-03 Munroe Chirnomas Method and apparatus for controlling a vending machine
US20060059111A1 (en) * 2004-09-10 2006-03-16 Tucker David M Authentication method for securely disclosing confidential information over the internet
CN102932459B (en) * 2012-11-05 2016-02-10 广州杰赛科技股份有限公司 A kind of method of controlling security of virtual machine
CN104519066B (en) * 2014-12-23 2017-11-28 飞天诚信科技股份有限公司 A kind of method for activating mobile terminal token
EP3073677B1 (en) * 2015-03-23 2018-01-03 Ale International Configuration services for user terminals
JP6680022B2 (en) * 2016-03-18 2020-04-15 株式会社リコー Information processing apparatus, information processing system, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622559A (en) * 2012-04-01 2012-08-01 北京乾图方园软件技术有限公司 Navigation software user authorization method and system
CN103577744A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Network on-line activating mode for Android mobile internet equipment
CN104680040A (en) * 2013-12-03 2015-06-03 方正国际软件(北京)有限公司 Software loading number and activation control method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538961A (en) * 2020-04-26 2020-08-14 云知声智能科技股份有限公司 Software activation method, device, equipment and storage medium
CN111538961B (en) * 2020-04-26 2023-08-08 云知声智能科技股份有限公司 Method, device, equipment and storage medium for activating software
CN111581607A (en) * 2020-05-08 2020-08-25 深圳市凯迈生物识别技术有限公司 Method for activating license
CN111581607B (en) * 2020-05-08 2023-08-22 深圳市凯迈生物识别技术有限公司 License activating method
CN113449269A (en) * 2021-07-21 2021-09-28 湖北亿咖通科技有限公司 Core module activation method and device and storage medium
CN113449269B (en) * 2021-07-21 2023-03-28 亿咖通(湖北)技术有限公司 Core module activation method and device and storage medium

Also Published As

Publication number Publication date
CN110472377B (en) 2023-11-10
CN110472377A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
WO2019214614A1 (en) Automatic software activation verification method, apparatus and system, and computer readable storage medium
CN107257392B (en) Method and device for setting equipment serial number and computer readable storage medium
CN112291178B (en) Service providing method and device and electronic equipment
US8590025B2 (en) Techniques for accessing a backup system
WO2016201732A1 (en) Virtual sim card parameter management method, mobile terminal, and server
CN107426335B (en) System capable of automatically generating cloud environment configuration file and use method
CN109040279A (en) Block chain network network-building method, device, equipment and readable storage medium storing program for executing
TW201933853A (en) Binding method for user terminal and device, apparatus, and system
WO2014075375A1 (en) Method and controller for implementing wireless network cloud
CN102833363A (en) IP (Internet Protocol) address allocation method, device and system
CN112118322B (en) Data synchronization method of network equipment, network equipment and system
CN104113435A (en) Method and device for generating identifier
CN104158859A (en) PXE-based information acquisition method, PXE (pre-boot execution environment) client, PXE server and system
CN109905450B (en) Inter-device communication method, device and storage medium
CN105812413B (en) Communication method and device
CN103997479A (en) Asymmetric service IP proxy method and equipment
CN105791249A (en) Third-party application processing method, device and system
CN104378457A (en) Method, device and system for distributing IP address
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
WO2019184107A1 (en) System and method for establishing data transmission channel, network storage apparatus, server, and storage medium
CN111786989B (en) Communication processing method and device and electronic equipment
WO2017133487A1 (en) Service scheduling method and device, and computer storage medium
CN106302854B (en) A method of it controlling more DHCP Server and dynamically distributes host address
WO2017148104A1 (en) Method and apparatus for collectively managing bandwidth of passive optical network terminal
CN105635227A (en) Point to point communication method and system on the basis of serial server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19800730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19800730

Country of ref document: EP

Kind code of ref document: A1