CN112035802A - Method, device and system for preventing software from being abnormally activated - Google Patents
Method, device and system for preventing software from being abnormally activated Download PDFInfo
- Publication number
- CN112035802A CN112035802A CN202010941658.8A CN202010941658A CN112035802A CN 112035802 A CN112035802 A CN 112035802A CN 202010941658 A CN202010941658 A CN 202010941658A CN 112035802 A CN112035802 A CN 112035802A
- Authority
- CN
- China
- Prior art keywords
- client
- activation
- server
- information
- unique code
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004913 activation Effects 0.000 claims abstract description 258
- 238000001994 activation Methods 0.000 claims description 245
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000013475 authorization Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007420 reactivation Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
- G06F21/445—Program or device authentication by mutual authentication, e.g. between devices or programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本说明书一个或多个实施例涉及软件激活技术领域,尤其涉及一种防止软件异常激活的方法、装置及系统。One or more embodiments of this specification relate to the technical field of software activation, and in particular, to a method, apparatus, and system for preventing abnormal activation of software.
背景技术Background technique
目前,第三方软件激活通常采用激活码和设备硬件信息绑定的方式进行激活。激活主要流程如下:Currently, third-party software activation is usually performed by binding an activation code to device hardware information. The main activation process is as follows:
1)软件读取特定的硬件信息,将其作为设备唯一码,发送至云端进行激活申请;1) The software reads the specific hardware information, uses it as the unique code of the device, and sends it to the cloud for activation application;
2)云端收到收到激活申请后,针对该唯一码进行相关计算和验证,通过后下发授权信息;2) After the cloud receives the activation application, it performs relevant calculations and verifications on the unique code, and issues authorization information after passing;
3)软件收到授权信息后,通过一定加密方式后加密存储在本地;3) After the software receives the authorization information, it is encrypted and stored locally through a certain encryption method;
4)当本地存储的授权信息丢失或错误后,重新激活,即重复步骤(1)。4) When the locally stored authorization information is lost or wrong, reactivate, that is, repeat step (1).
一方面,为了防止设备硬件信息异常,刷机错误等问题,云端通常会限制某个唯一码可以激活的次数。另一方面,由于系统升级,硬件更换,用户误删除等原因可能造成本地授权文件错误,丢失,从而引发重新激活,增加该唯一码的激活次数,当设备重复激活次数达到云端限定限定阈值后,软件不可用。On the one hand, in order to prevent problems such as abnormal device hardware information and flashing errors, the cloud usually limits the number of times a unique code can be activated. On the other hand, due to system upgrade, hardware replacement, user mistaken deletion, etc., the local authorization file may be wrong and lost, which will lead to reactivation and increase the number of activations of the unique code. Software is not available.
目前云端主流的限定方案有三种:At present, there are three mainstream limited solutions in the cloud:
1)只校验设备唯一码,不限定重复激活次数,该方法不能防止厂商误刷硬件唯一码信息,即:实质上不同的设备使用了相同的唯一码,导致授权计数错误,造成经济损失;1) Only the unique code of the device is verified, and the number of repeated activations is not limited. This method cannot prevent manufacturers from accidentally flashing the hardware unique code information, that is, substantially different devices use the same unique code, resulting in incorrect authorization counts and economic losses;
2)每个唯一码允许激活重复一定次数,为了保证安全性,允许重复激活次数一般不高,因此很容易就达到限定阈值。也为将来软件升级埋雷;2) Each unique code allows activation to be repeated for a certain number of times. In order to ensure security, the number of allowed repeated activations is generally not high, so it is easy to reach the limit threshold. It also lays the groundwork for future software upgrades;
3)和厂商配合,厂商给定要升级的设备,云端特殊处理,增加要升级设备的限定次数,这种方法实施需要多方配合,实施流程太过复杂,实际不具备通用操作性。同时也对用户误删除有一定限制。3) Cooperate with the manufacturer. The manufacturer specifies the equipment to be upgraded, and the cloud performs special processing to increase the limited number of times of the equipment to be upgraded. The implementation of this method requires the cooperation of multiple parties, and the implementation process is too complicated and does not actually have general operability. At the same time, there are certain restrictions on user deletion by mistake.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本说明书一个或多个实施例的目的在于提出一种防止软件异常激活的方法、装置及系统,既能够有效的防止厂商误刷硬件唯一码,也不影响用户使用时软件的正常升级。In view of this, the purpose of one or more embodiments of this specification is to propose a method, device and system for preventing abnormal activation of software, which can effectively prevent manufacturers from mistakenly brushing hardware unique codes, and does not affect the normal operation of software when users use it. upgrade.
基于上述目的,本说明书一个或多个实施例提供了一种防止软件异常激活的方法,应用于客户端,包括:Based on the above purpose, one or more embodiments of this specification provide a method for preventing abnormal activation of software, which is applied to a client, including:
向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;所述唯一码信息用于激活所述服务器判断所述客户端是否为重复激活;若所述客户端是重复激活,则激活所述服务器判断所述客户端是否处于工厂历史激活聚类中;若所述客户端处于工厂历史激活聚类中,则激活所述服务器判断所述客户端是否到达预设的激活次数;若所述客户端达到预设的激活次数,则激活所述服务器向所述客户端发送拒绝激活信息;Send activation request information to the server, where the activation request information carries the unique code information of the client; the unique code information is used to activate the server to determine whether the client is repeated activation; if the client is repeated activation , then activate the server to determine whether the client is in the factory history activation cluster; if the client is in the factory history activation cluster, activate the server to determine whether the client has reached the preset number of activations ; If the client reaches a preset number of activations, then activate the server to send refusal to activate information to the client;
接收所述拒绝激活信息。The denial of activation information is received.
作为一种可选的实施方式,所述方法还包括:在接收所述服务器的激活信息后,执行激活操作,所述激活信息为在所述客户端不是重复激活时,所述唯一码信息激活所述服务器向所述客户端发送的。As an optional implementation manner, the method further includes: performing an activation operation after receiving activation information of the server, where the activation information is that the unique code information activates when the client is not repeatedly activated Sent by the server to the client.
作为一种可选的实施方式,所述方法还包括:在接收所述服务器的激活信息后,执行激活操作,所述激活信息为在所述客户端不是重复激活时,所述唯一码信息激活所述服务器向所述客户端发送的。As an optional implementation manner, the method further includes: performing an activation operation after receiving activation information of the server, where the activation information is that the unique code information activates when the client is not repeatedly activated Sent by the server to the client.
作为本发明的第二个方面,提供了一种防止软件异常激活的方法,应用于服务器,包括:As a second aspect of the present invention, a method for preventing abnormal activation of software is provided, applied to a server, including:
接收客户端发送的激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;Receive activation request information sent by the client, where the activation request information carries the unique code information of the client;
根据所述唯一码信息判断所述客户端是否为重复激活;Determine whether the client is repeatedly activated according to the unique code information;
若所述客户端是重复激活,则判断所述客户端是否处于工厂历史激活聚类中;If the client is repeatedly activated, determine whether the client is in the factory history activation cluster;
若所述客户端处于工厂历史激活聚类中,则判断所述客户端是否到达预设的激活次数;If the client is in the factory history activation cluster, determine whether the client has reached a preset number of activations;
若所述客户端达到预设的激活次数,则向所述客户端发送拒绝激活信息。If the client reaches a preset number of activations, send activation rejection information to the client.
作为一种可选的实施方式,所述方法还包括:若所述客户端是重复激活,则向所述客户端发送激活信息。As an optional implementation manner, the method further includes: if the client is activated repeatedly, sending activation information to the client.
作为一种可选的实施方式,所述方法还包括:若所述客户端不处于工厂历史激活聚类中,则向所述客户端发送激活信息。As an optional implementation manner, the method further includes: if the client is not in the factory history activation cluster, sending activation information to the client.
作为本发明的第二个方面,提供了一种防止软件异常激活的方法,其特征在于,包括:As a second aspect of the present invention, a method for preventing abnormal activation of software is provided, which is characterized in that, comprising:
客户端向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;The client sends activation request information to the server, where the activation request information carries the unique code information of the client;
所述服务器根据所述唯一码信息判断所述客户端是否为重复激活;The server judges whether the client is repeatedly activated according to the unique code information;
若所述客户端是重复激活,则所述服务器判断所述客户端是否处于工厂历史激活聚类中;If the client is repeatedly activated, the server determines whether the client is in the factory history activation cluster;
若所述客户端处于工厂历史激活聚类中,则所述服务器判断所述客户端是否到达预设的激活次数;If the client is in the factory history activation cluster, the server determines whether the client has reached a preset number of activations;
若所述客户端达到预设的激活次数,则所述服务器向所述客户端发送拒绝激活信息;If the client reaches a preset number of activations, the server sends activation rejection information to the client;
所述客户端接收所述拒绝激活信息,拒绝执行激活操作。The client terminal receives the activation rejection information, and rejects the activation operation.
作为本发明的第二个方面,提供了一种防止软件异常激活的装置,应用于客户端,包括:As a second aspect of the present invention, a device for preventing abnormal activation of software is provided, applied to a client, including:
第一发送单元,用于向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;所述唯一码信息用于激活所述服务器判断所述客户端是否为重复激活;若所述客户端是重复激活,则激活所述服务器判断所述客户端是否处于工厂历史激活聚类中;若所述客户端处于工厂历史激活聚类中,则激活所述服务器判断所述客户端是否到达预设的激活次数;若所述客户端达到预设的激活次数,则激活所述服务器向所述客户端发送拒绝激活信息;a first sending unit, configured to send activation request information to a server, where the activation request information carries the unique code information of the client; the unique code information is used to activate the server to determine whether the client is repeatedly activated; if If the client is repeatedly activated, activate the server to determine whether the client is in the factory history activation cluster; if the client is in the factory history activation cluster, activate the server to determine the client Whether the preset number of activations is reached; if the client reaches the preset number of activations, activate the server to send activation rejection information to the client;
第一接收单元,用于接收所述拒绝激活信息。A first receiving unit, configured to receive the activation rejection information.
作为本发明的第二个方面,提供了一种防止软件异常激活的装置,应用于服务器,包括:As a second aspect of the present invention, a device for preventing abnormal activation of software is provided, applied to a server, including:
接收单元,用于接收客户端发送的激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;a receiving unit, configured to receive activation request information sent by a client, where the activation request information carries the unique code information of the client;
第一判断单元,用于根据所述唯一码信息判断所述客户端是否为重复激活;a first judging unit, configured to judge whether the client is repeatedly activated according to the unique code information;
第二判断单元,用于在所述客户端是重复激活的情况下,判断所述客户端是否处于工厂历史激活聚类中;a second judging unit, configured to judge whether the client is in the factory history activation cluster when the client is repeatedly activated;
第三判断单元,用于在所述客户端处于工厂历史激活聚类的情况下,判断所述客户端是否到达预设的激活次数;a third judging unit, configured to judge whether the client has reached a preset number of activations when the client is in the factory historical activation cluster;
第二发送单元,用于在所述客户端到达预设的激活次数的情况下,向所述客户端发送拒绝激活信息。The second sending unit is configured to send activation rejection information to the client when the client reaches a preset number of activations.
作为本发明的第二个方面,提供了一种防止软件异常激活的系统,包括客户端和服务器,其中,所述客户端为前所述的客户端,所述服务器为前所述的服务器。As a second aspect of the present invention, a system for preventing abnormal activation of software is provided, including a client and a server, wherein the client is the aforementioned client, and the server is the aforementioned server.
从上面所述可以看出,本说明书一个或多个实施例提供的一种防止软件异常激活的方法、装置及系统,当安装有软件的客户端向服务器发送激活请求信息时,服务器根据该客户端的唯一码信息判断是否重复激活、是否处于工厂历史激活聚类中、是否达到预设的激活次数,当该客户端是重复激活、处于工厂历史激活聚类中、且达到预设的激活次数后,则所述服务器向所述客户端发送拒绝激活信息;所述客户端接收所述拒绝激活信息,拒绝执行激活操作,拒绝执行激活操作,如此,既能够有效的防止厂商误刷硬件唯一码,也不影响用户使用时软件的正常升级。As can be seen from the above, one or more embodiments of this specification provide a method, device and system for preventing abnormal software activation. The unique code information of the terminal determines whether it is repeatedly activated, whether it is in the factory historical activation cluster, and whether the preset number of activations has been reached. When the client is repeatedly activated, is in the factory historical activation cluster, and reaches the preset number of activations , the server sends the activation rejection information to the client; the client receives the activation rejection information, refuses to perform the activation operation, and refuses to perform the activation operation. In this way, the manufacturer can effectively prevent the manufacturer from accidentally flashing the hardware unique code, It also does not affect the normal upgrade of the software when the user is using it.
附图说明Description of drawings
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书一个或多个实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the following briefly introduces the accompanying drawings used in the description of the embodiments or the prior art. Obviously, in the following description The accompanying drawings are only one or more embodiments of the present specification, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本说明书一个或多个实施例的方法的逻辑示意图;1 is a logical schematic diagram of a method of one or more embodiments of the specification;
图2为本说明书一个或多个实施例的装置的示意图(客户端);FIG. 2 is a schematic diagram of an apparatus (client) according to one or more embodiments of the present specification;
图3为本说明书一个或多个实施例的装置的示意图(服务器端);3 is a schematic diagram (server side) of an apparatus according to one or more embodiments of the specification;
图4为实施例的逻辑示意图。FIG. 4 is a logical schematic diagram of an embodiment.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the specific embodiments and the accompanying drawings.
首先需要说明的是,在本发明各个实施例中,所涉及的术语为:First of all, it should be noted that in each embodiment of the present invention, the terms involved are:
客户端:安装有软件的客户端的智能终端,例如手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、膝上型便携计算机和台式计算机等等Client: Smart terminals with software-installed clients, such as mobile phones, tablet computers, e-book readers, MP3 players, MP4 players, laptops and desktops, etc.
服务器:安装有该软件的服务器、云服务器、服务器集群等。Server: The server, cloud server, server cluster, etc. where the software is installed.
如图1所示,为了实现上述发明目的,本发明实施例提供了一种防止软件异常激活的方法,包括:As shown in FIG. 1, in order to achieve the above purpose of the invention, an embodiment of the present invention provides a method for preventing abnormal activation of software, including:
S100、客户端向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;S100. The client sends activation request information to the server, where the activation request information carries the unique code information of the client;
S200、所述服务器根据所述唯一码信息判断所述客户端是否为重复激活;S200, the server determines whether the client is repeatedly activated according to the unique code information;
S300、若所述客户端是重复激活,则所述服务器判断所述客户端是否处于工厂历史激活聚类中;S300, if the client is repeatedly activated, the server determines whether the client is in a factory history activation cluster;
S400、若所述客户端处于工厂历史激活聚类中,则所述服务器判断所述客户端是否到达预设的激活次数;S400. If the client is in the factory history activation cluster, the server determines whether the client has reached a preset number of activations;
S500、若所述客户端达到预设的激活次数,则所述服务器向所述客户端发送拒绝激活信息;S500. If the client reaches a preset number of activations, the server sends activation rejection information to the client;
S600、所述客户端接收所述拒绝激活信息,拒绝执行激活操作。S600. The client terminal receives the activation rejection information, and rejects the activation operation.
本发明实施例中,当安装有软件的客户端向服务器发送激活请求信息时,服务器根据该客户端的唯一码信息判断该客户端是否处于工厂历史激活聚类中,如果不处于工厂历史激活聚类中,则说明该客户端已被销售至用户处,则说明此时客户端发送的激活请求信息属于软件的正常升级更新,则服务器响应客户端的请求,向客户端发送激活信息,客户端在接收到服务器的激活请求后,执行激活操作;如果处于工厂历史激活聚类中,则需要进一步的判断该客户端是否已经达到预设的激活次数,如果尚未达到预设的激活次数,则服务器响应客户端的请求,向客户端发送激活信息,客户端在接收到服务器的激活请求后,执行激活操作;如果已经达到预设的激活次数,则所述服务器向所述客户端发送拒绝激活信息;所述客户端接收所述拒绝激活信息,拒绝执行激活操作,拒绝执行激活操作,如此,既能够有效的防止厂商误刷硬件唯一码,也不影响用户使用时软件的正常升级。In this embodiment of the present invention, when a client with software installed sends activation request information to the server, the server judges whether the client is in the factory history activation cluster according to the unique code information of the client, and if it is not in the factory history activation cluster , it means that the client has been sold to the user, it means that the activation request information sent by the client at this time belongs to the normal upgrade and update of the software, then the server responds to the client's request and sends the activation information to the client, and the client receives the After receiving the activation request from the server, the activation operation is performed; if it is in the factory history activation cluster, it is necessary to further determine whether the client has reached the preset activation times. If the preset activation times have not been reached, the server responds to the client. After receiving the activation request from the server, the client performs an activation operation; if the preset number of activations has been reached, the server sends activation rejection information to the client; the The client terminal receives the activation rejection information, refuses to perform the activation operation, and refuses to perform the activation operation. In this way, the manufacturer can effectively prevent the manufacturer from swiping the hardware unique code by mistake, and it does not affect the normal upgrade of the software when the user is using it.
其中,所述工厂历史激活聚类包括WIFI信息和/或IP信息和/或GPS信息Wherein, the factory history activation cluster includes WIFI information and/or IP information and/or GPS information
作为本发明实施例的第二个方面,提供了一种防止软件异常激活的方法,应用于客户端,包括:As a second aspect of the embodiments of the present invention, a method for preventing abnormal activation of software is provided, applied to a client, including:
向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;所述唯一码信息用于激活所述服务器判断所述客户端是否为重复激活;若所述客户端是重复激活,则激活所述服务器判断所述客户端是否处于工厂历史激活聚类中;若所述客户端处于工厂历史激活聚类中,则激活所述服务器判断所述客户端是否到达预设的激活次数;若所述客户端达到预设的激活次数,则激活所述服务器向所述客户端发送拒绝激活信息;Send activation request information to the server, where the activation request information carries the unique code information of the client; the unique code information is used to activate the server to determine whether the client is repeated activation; if the client is repeated activation , then activate the server to determine whether the client is in the factory history activation cluster; if the client is in the factory history activation cluster, activate the server to determine whether the client has reached the preset number of activations ; If the client reaches a preset number of activations, then activate the server to send refusal to activate information to the client;
接收所述拒绝激活信息。The denial of activation information is received.
本发明实施例中,客户端首先向服务器发送携带有唯一码信息的激活请求信息,该唯一码信息能够激活服务器判断该客户端是否为重复激活、是否处于工厂历史激活聚类中、是否达到预设的激活次数、并向客户端发送激活信息或者拒绝激活信息;客户端接收到服务器发送的激活信息或者拒绝激活信息之后,执行激活操作或者拒绝执行激活操作。In this embodiment of the present invention, the client first sends activation request information that carries unique code information to the server, and the unique code information enables the activation server to determine whether the client is repeatedly activated, whether it is in the factory historical activation cluster, or whether it has reached a predetermined level. Set the number of activations, and send the activation information or reject the activation information to the client; after the client receives the activation information or rejects the activation information sent by the server, it executes the activation operation or rejects the activation operation.
作为一种可选的实施方式,所述方法还包括:在接收所述服务器的激活信息后,执行激活操作,所述激活信息为在所述客户端不是重复激活时,所述唯一码信息激活所述服务器向所述客户端发送的。As an optional implementation manner, the method further includes: performing an activation operation after receiving activation information of the server, where the activation information is that the unique code information activates when the client is not repeatedly activated Sent by the server to the client.
作为一种可选的实施方式,所述方法还包括:在接收所述服务器的激活信息后,执行激活操作,所述激活信息为在所述客户端不是重复激活时,所述唯一码信息激活所述服务器向所述客户端发送的。As an optional implementation manner, the method further includes: performing an activation operation after receiving activation information of the server, where the activation information is that the unique code information activates when the client is not repeatedly activated Sent by the server to the client.
作为本发明实施例的第三个方面,提供了一种防止软件异常激活的方法,应用于服务器,包括:As a third aspect of the embodiments of the present invention, a method for preventing abnormal activation of software is provided, applied to a server, including:
接收客户端发送的激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;Receive activation request information sent by the client, where the activation request information carries the unique code information of the client;
根据所述唯一码信息判断所述客户端是否为重复激活;Determine whether the client is repeatedly activated according to the unique code information;
若所述客户端是重复激活,则判断所述客户端是否处于工厂历史激活聚类中;If the client is repeatedly activated, determine whether the client is in the factory history activation cluster;
若所述客户端处于工厂历史激活聚类中,则判断所述客户端是否到达预设的激活次数;If the client is in the factory history activation cluster, determine whether the client has reached a preset number of activations;
若所述客户端达到预设的激活次数,则向所述客户端发送拒绝激活信息。If the client reaches a preset number of activations, send activation rejection information to the client.
本发明实施例中,服务器在接收到客户端发送的携带有唯一码信息的激活请求信息后,根据所述唯一码信息判断所述客户端是否为重复激活、是否处于工厂历史激活聚类中、是否达到预设的激活次数,并据此向客户端发送激活信息或者拒绝激活信息。具体的,当客户端为首次激活时或者当客户端不处于工厂历史激活聚类中或者客户端尚未达到预设的激活次数,则该服务器向客户端发送激活信息,否则,该服务器向客户端发送的拒绝激活信息,从而能够防止软件的非正常激活。In the embodiment of the present invention, after receiving the activation request information carrying the unique code information sent by the client, the server determines whether the client is repeatedly activated, whether it is in the factory historical activation cluster, or not according to the unique code information. Whether the preset number of activations is reached, and send activation information or reject activation information to the client accordingly. Specifically, when the client is activated for the first time, or when the client is not in the factory historical activation cluster, or the client has not reached the preset number of activations, the server sends activation information to the client; otherwise, the server sends the activation information to the client. The refusal to activate the sent information can prevent abnormal activation of the software.
作为一种可选的实施方式,所述方法还包括:若所述客户端是重复激活,则向所述客户端发送激活信息。As an optional implementation manner, the method further includes: if the client is activated repeatedly, sending activation information to the client.
作为一种可选的实施方式,所述方法还包括:若所述客户端不处于工厂历史激活聚类中,则向所述客户端发送激活信息。As an optional implementation manner, the method further includes: if the client is not in the factory history activation cluster, sending activation information to the client.
作为本发明实施例的第四个方面,如图2所示,本发明实施例还提供了一种防止软件异常激活的装置,应用于客户端,包括:As a fourth aspect of the embodiment of the present invention, as shown in FIG. 2 , an embodiment of the present invention further provides a device for preventing abnormal activation of software, which is applied to a client and includes:
第一发送单元,用于向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;所述唯一码信息用于激活所述服务器判断所述客户端是否为重复激活;若所述客户端是重复激活,则激活所述服务器判断所述客户端是否处于工厂历史激活聚类中;若所述客户端处于工厂历史激活聚类中,则激活所述服务器判断所述客户端是否到达预设的激活次数;若所述客户端达到预设的激活次数,则激活所述服务器向所述客户端发送拒绝激活信息;a first sending unit, configured to send activation request information to a server, where the activation request information carries the unique code information of the client; the unique code information is used to activate the server to determine whether the client is repeatedly activated; if If the client is repeatedly activated, activate the server to determine whether the client is in the factory history activation cluster; if the client is in the factory history activation cluster, activate the server to determine the client Whether the preset number of activations is reached; if the client reaches the preset number of activations, activate the server to send activation rejection information to the client;
第一接收单元,用于接收所述拒绝激活信息。A first receiving unit, configured to receive the activation rejection information.
作为本发明实施例的第四个方面,如图3所示,本发明实施例还提供了一种防止软件异常激活的装置,应用于服务器,包括:As a fourth aspect of the embodiment of the present invention, as shown in FIG. 3 , an embodiment of the present invention further provides a device for preventing abnormal activation of software, which is applied to a server, including:
接收单元,用于接收客户端发送的激活请求信息,所述激活请求信息携带所述客户端的唯一码信息;a receiving unit, configured to receive activation request information sent by a client, where the activation request information carries the unique code information of the client;
第一判断单元,用于根据所述唯一码信息判断所述客户端是否为重复激活;a first judging unit, configured to judge whether the client is repeatedly activated according to the unique code information;
第二判断单元,用于在所述客户端是重复激活的情况下,判断所述客户端是否处于工厂历史激活聚类中;a second judging unit, configured to judge whether the client is in the factory history activation cluster when the client is repeatedly activated;
第三判断单元,用于在所述客户端处于工厂历史激活聚类的情况下,判断所述客户端是否到达预设的激活次数;a third judging unit, configured to judge whether the client has reached a preset number of activations when the client is in the factory historical activation cluster;
第二发送单元,用于在所述客户端到达预设的激活次数的情况下,向所述客户端发送拒绝激活信息。The second sending unit is configured to send activation rejection information to the client when the client reaches a preset number of activations.
作为本发明实施例的第四个方面,本发明实施例还提供了一种防止软件异常激活的系统,包括客户端和服务器,其中,所述客户端为前所述的客户端,所述服务器为前所述的服务器。As a fourth aspect of the embodiments of the present invention, the embodiments of the present invention further provide a system for preventing abnormal activation of software, including a client and a server, wherein the client is the aforementioned client, and the server for the aforementioned server.
实施例Example
1)如图4所示,客户端向服务器发送激活请求信息,所述激活请求信息携带所述客户端的唯一码信息、客户端的WIFI信息,IP信息,GPS信息等能够反映工厂历史激活聚类的信息;1) As shown in Figure 4, the client sends activation request information to the server, and the activation request information carries the unique code information of the client, the WIFI information of the client, IP information, GPS information, etc., which can reflect the historical activation clustering of the factory. information;
2)服务器收到激活请求信息后,检查该唯一码是否已经授权过;2) After the server receives the activation request information, it checks whether the unique code has been authorized;
(1)如果还从来没有授权过,服务器向客户端发送激活信息,以供客户端激活,激活成功后服务器记录该次激活的唯一码信息,WIFI信息,IP信息,GPS信息;(1) If it has never been authorized, the server sends activation information to the client for activation by the client. After the activation is successful, the server records the unique code information, WIFI information, IP information, and GPS information of the activation;
(2)如果曾经授权过,进行如下操作(2) If authorized, do the following
①获取该客户端的历史激活信息,包括①Get the historical activation information of the client, including
a)该客户端的历史激活次数;a) The number of historical activations of the client;
b)正常激活的客户端按激活时的wifi名字分类;b) Clients that are normally activated are classified according to the wifi name at the time of activation;
c)正常激活的客户端按激活时的GPS分类;c) Clients that are normally activated are classified according to the GPS at the time of activation;
d)正常激活的客户端按激活时的IP分类;d) Clients that are normally activated are classified according to the IP at the time of activation;
②判定流程:②Determination process:
(1)该厂商已激活客户端总量T1是否满足阈值,当总量小于阈值时,认为此时历史统计数据不可靠,直接转流程(3),否则转流程(2)(1) Whether the total number of activated clients T1 of the manufacturer meets the threshold, when the total amount is less than the threshold, it is considered that the historical statistical data is unreliable at this time, and the process (3) is directly transferred, otherwise it is transferred to the process (2)
(2)如果当前客户端的信息命中b、c、d中任何一条分类时,客户端处于工厂历史激活聚类中,即客户端还处于工厂状态,转流程(3),否则转流程(8);(2) If the current client's information hits any of the categories b, c, and d, the client is in the factory history activation cluster, that is, the client is still in the factory state, go to process (3), otherwise go to process (8) ;
(3)检查该客户端是否是特殊设备(例如开发或测试设备,需要预先在云端导入设备唯一码,限制次数一般很大或者不限制),如果是转(4),否则转(5)(3) Check whether the client is a special device (such as a development or test device, you need to import the unique code of the device in the cloud in advance, and the number of restrictions is generally very large or not limited), if it is to go to (4), otherwise go to (5)
(4)判定是否超过测试设备重复激活限定阈值,如果是转(6),否则转(7)(4) Determine whether the limit threshold of repeated activation of the test equipment is exceeded, if so, go to (6), otherwise go to (7)
(5)检查是否超过普通的客户端重复激活限定阈值,如果超过限制,转(6),否则转(7);(5) Check whether it exceeds the common client repeated activation limit threshold, if it exceeds the limit, go to (6), otherwise go to (7);
(6)拒绝激活;(6) Refuse to activate;
(7)激活,统计该次激活次数;(7) Activation, count the number of activations;
(8)激活,但不统计该次激活次数。(8) Activation, but the number of activations is not counted.
需要说明的是,除非另外定义,本说明书一个或多个实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本说明书一个或多个实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。It should be noted that, unless otherwise defined, the technical or scientific terms used in one or more embodiments of the present specification shall have the usual meanings understood by those with ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and similar terms used in one or more embodiments of this specification do not denote any order, quantity, or importance, but are merely used to distinguish the various components. "Comprising" or "comprising" and similar words mean that the elements or things appearing before the word encompass the elements or things recited after the word and their equivalents, but do not exclude other elements or things. Words like "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right", etc. are only used to indicate the relative positional relationship, and when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
可以理解,该方法可以通过任何具有计算、处理能力的装置、设备、平台、设备集群来执行。It can be understood that the method can be performed by any apparatus, device, platform, or device cluster with computing and processing capabilities.
需要说明的是,本说明书一个或多个实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本说明书一个或多个实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that, the methods of one or more embodiments of this specification may be executed by a single device, such as a computer or a server. The method in this embodiment can also be applied in a distributed scenario, and is completed by the cooperation of multiple devices. In the case of such a distributed scenario, one device among the multiple devices may only execute one or more steps in the method of one or more embodiments of the present specification, and the multiple devices may perform operations on each other. interact to complete the described method.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本说明书一个或多个实施例时可以把各模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various modules and described respectively. Of course, when implementing one or more embodiments of this specification, the functions of each module may be implemented in one or more software and/or hardware.
上述实施例的装置用于实现前述实施例中相应的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The apparatuses in the foregoing embodiments are used to implement the corresponding methods in the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本说明书一个或多个实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。It should be understood by those of ordinary skill in the art that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; under the spirit of the present disclosure, the above embodiments or Technical features in different embodiments may also be combined, steps may be carried out in any order, and there are many other variations of the different aspects of one or more embodiments of this specification as described above, which are not in detail for the sake of brevity supply.
另外,为简化说明和讨论,并且为了不会使本说明书一个或多个实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本说明书一个或多个实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本说明书一个或多个实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本公开的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本说明书一个或多个实施例。因此,这些描述应被认为是说明性的而不是限制性的。Additionally, in order to simplify illustration and discussion, and in order not to obscure one or more embodiments of this specification, the figures provided may or may not be shown in connection with integrated circuit (IC) chips and other components. Well known power/ground connections. Furthermore, devices may be shown in block diagram form in order to avoid obscuring one or more embodiments of this description, and this also takes into account the fact that details regarding the implementation of such block diagram devices are highly dependent on the implementation of the invention (ie, these details should be well within the understanding of those skilled in the art) of the platform describing one or more embodiments. Where specific details (eg, circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that these specific details may be used without or with variations One or more embodiments of this specification are implemented below. Accordingly, these descriptions are to be considered illustrative rather than restrictive.
本说明书一个或多个实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。The embodiment or embodiments of this specification are intended to cover all such alternatives, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included within the protection scope of the present disclosure.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010941658.8A CN112035802A (en) | 2020-09-09 | 2020-09-09 | Method, device and system for preventing software from being abnormally activated |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010941658.8A CN112035802A (en) | 2020-09-09 | 2020-09-09 | Method, device and system for preventing software from being abnormally activated |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112035802A true CN112035802A (en) | 2020-12-04 |
Family
ID=73583927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010941658.8A Pending CN112035802A (en) | 2020-09-09 | 2020-09-09 | Method, device and system for preventing software from being abnormally activated |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112035802A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112417382A (en) * | 2021-01-21 | 2021-02-26 | 深圳市千分一智能技术有限公司 | Activation number limiting method, system, device and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491098A (en) * | 2013-09-30 | 2014-01-01 | 华中师范大学 | Software authorization method based on public key cryptosystem |
CN108449368A (en) * | 2018-06-26 | 2018-08-24 | 北京云枢网络科技有限公司 | A kind of application layer attack detection method, device and electronic equipment |
-
2020
- 2020-09-09 CN CN202010941658.8A patent/CN112035802A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491098A (en) * | 2013-09-30 | 2014-01-01 | 华中师范大学 | Software authorization method based on public key cryptosystem |
CN108449368A (en) * | 2018-06-26 | 2018-08-24 | 北京云枢网络科技有限公司 | A kind of application layer attack detection method, device and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112417382A (en) * | 2021-01-21 | 2021-02-26 | 深圳市千分一智能技术有限公司 | Activation number limiting method, system, device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11036840B2 (en) | Fingerprint recognition method and apparatus, and touchscreen terminal | |
US8364952B2 (en) | Methods and system for a key recovery plan | |
CN111835689B (en) | Identity authentication method, terminal device and medium of digital key | |
CN101751524B (en) | Device, method and computer for management of computer external equipment | |
US9003496B2 (en) | Secure wireless communication apparatus | |
CN109947449B (en) | System upgrading method and device, storage medium and electronic equipment | |
CN104766206A (en) | NFC payment method and device based on mobile terminal | |
CN104969180A (en) | User authorization and presence detection in isolation from interference from and control by host central processing unit and operating system | |
US20150121510A1 (en) | Method, device and system for entering data | |
EP2377291A2 (en) | Portable mobile communication device and method of controlling near field communication | |
JP2019501461A (en) | Security verification method and device for smart card applications | |
CN106528158A (en) | Method and device for mounting memory card and mobile terminal | |
CN104424028A (en) | Terminal device and switching method thereof | |
US11190519B2 (en) | Dock administration using a token | |
CN107422838A (en) | A kind of Wearable, solution lock control system and solution lock control method | |
CN105592072A (en) | Method for obtaining login certification in intelligent terminal, intelligent terminal and operation system thereof | |
CN102624742A (en) | A method of enhancing communication security between mobile devices and home smart terminals | |
CN112035802A (en) | Method, device and system for preventing software from being abnormally activated | |
CN104796532B (en) | A kind of method and device for destroying mobile terminal | |
CN105574400A (en) | Information processing method and electronic device | |
CN106919812B (en) | Application process authority management method and device | |
CN107526955A (en) | Put out screen unlocks method and apparatus | |
CN107315610B (en) | Method, device and computer readable storage medium for realizing password function | |
KR101103189B1 (en) | Method and system for issuing a public certificate using universal subscriber identification module information and recording medium therefor | |
CN104052726A (en) | Access control method and mobile terminal which employs access control method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201204 |
|
RJ01 | Rejection of invention patent application after publication |