CN112866419B - Activation control method, system and computing device - Google Patents

Activation control method, system and computing device Download PDF

Info

Publication number
CN112866419B
CN112866419B CN202110267815.6A CN202110267815A CN112866419B CN 112866419 B CN112866419 B CN 112866419B CN 202110267815 A CN202110267815 A CN 202110267815A CN 112866419 B CN112866419 B CN 112866419B
Authority
CN
China
Prior art keywords
activation
client
information
server
offline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110267815.6A
Other languages
Chinese (zh)
Other versions
CN112866419A (en
Inventor
苟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110267815.6A priority Critical patent/CN112866419B/en
Publication of CN112866419A publication Critical patent/CN112866419A/en
Application granted granted Critical
Publication of CN112866419B publication Critical patent/CN112866419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The invention discloses an activation control method, which is executed in an activation server and comprises the following steps: receiving an online activation request of a client, wherein the online activation request comprises hardware information and verification information of the client; verifying the verification information, and judging whether the activation information corresponding to the verification information is valid or not after the verification is passed; if the hardware information is effective, generating an identity of the client based on the hardware information, and sending the activation information to the client based on the identity so that the client can be activated based on the activation information; receiving activation information returned by a client, and establishing an association relation between the activation information and the client; and monitoring the connection state of the client, and canceling the association relation between the activation information and the client when the client is disconnected from the activation server. The invention also discloses a corresponding system and computing equipment. According to the technical scheme of the invention, the use efficiency of the activation code can be improved.

Description

Activation control method, system and computing device
Technical Field
The present invention relates to the field of operating system activation technologies, and in particular, to an activation control method, an activation control system, and a computing device.
Background
Currently, a server applied to the internet or an intranet generally adopts an online activation code distribution manner to control activation of a client operating system. In the prior art, the state of the operating system after activation is not generally controlled, that is, the client is always in an activated state and is not controlled by the server after the activation code is acquired to activate the operating system, specifically, the activation code is input into the operating system, the operating system performs self-verification, if the verification is passed, the activation is successful, then the server does not control the activated state of the client, and the activation code is also in a state occupied by the client for a long time. Thus, the activation code can only be used by fixed clients, and the operation time of each client is limited, so that the use efficiency of the activation code is low. And if the client is not used for a long time, the activation code is in a long-term idle state, and the waste of activation code resources is probably caused.
For this reason, an activation control method and system are needed to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides an activation control method, an activation control system, and a computing device to solve or at least alleviate the above-mentioned problems.
According to an aspect of the present invention, there is provided an activation control method, which is executed in an activation server, including the steps of: receiving an online activation request of a client, wherein the online activation request comprises hardware information and verification information of the client; verifying the verification information, and judging whether the activation information corresponding to the verification information is valid or not after the verification is passed; if the hardware information is effective, generating an identity of the client based on the hardware information, and sending the activation information to the client based on the identity so that the client can be activated based on the activation information; receiving activation information returned by a client, and establishing an association relation between the activation information and the client; and monitoring the connection state of the client, and canceling the association relation between the activation information and the client when the client is determined to be disconnected with the activation server.
Optionally, in the activation control method according to the present invention, after the client performs activation based on the activation information, the method further includes the steps of: receiving an offline activation request of a client; and returning an offline activation message to the client, wherein the offline activation message comprises activation information and offline use time, so that the client can use the activation information in a state of being disconnected with the activation server in the offline use time.
Optionally, in the activation control method according to the present invention, the offline activation request includes user information, and after receiving the offline activation request of the client, the method includes the steps of: judging whether the client has offline activation authority according to the user information, and if so, returning an offline activation message to the client; if not, a message is returned to the client that offline activation is not allowed.
Optionally, in the activation control method according to the present invention, the activation server is connected to the data storage device, wherein before judging whether the activation information corresponding to the authentication information is valid, the method includes the steps of: acquiring activation information corresponding to the verification information from the data storage device; after establishing the association relation between the activation information and the client, the method comprises the following steps: and storing the association relation between the activation information and the client in a data storage device.
Optionally, in the activation control method according to the present invention, one or more of the activation servers are connected to the client through a load balancing server, where the load activation server is adapted to receive an activation request sent by the client, determine a most idle activation server of the one or more activation servers as a target activation server, and forward the activation request of the client to the target activation server.
Optionally, in the activation control method according to the present invention, the hardware information includes one or more of a motherboard identification number, a CPU identification number, a hard disk identification number, and a MAC address.
According to one aspect of the present invention, there is provided an activation control system including: one or more activation servers adapted to perform the activation control method as described above; the system comprises one or more clients, a server and a server, wherein the one or more clients are suitable for sending online activation requests, the online activation requests comprise hardware information and verification information of the clients, and are suitable for acquiring activation information sent by the activation server, activating the client based on the activation information and returning the activation information to the activation server; and the load balancing server is respectively connected with the one or more activating servers and one or more clients, is suitable for receiving the activating request sent by the clients, determines the most idle activating server in the one or more activating servers as a target activating server, and forwards the activating request of the clients to the target activating server.
Optionally, in the activation control system according to the present invention, the client is further adapted to send an offline activation request after activation based on the activation information, and to receive an offline activation message returned by the activation server, where the offline activation message includes the activation information and an offline use time, so that the activation information can be used in a case of disconnection from the activation server during the offline use time.
Optionally, in the activation control system according to the present invention, further comprising: a data storage device, connected to one or more activation servers, adapted to store activation information; the activation server is suitable for acquiring activation information from the data storage device and sending the activation information to the client, and is suitable for storing the association relation between the activation information and the client in the data storage device.
According to one aspect of the invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the activation control method as described above.
According to one aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the activation control method as described above.
According to the technical scheme, the invention provides an activation control method and system, an activation server can distribute an activation code of an operating system to one or more clients on line, and the clients use the activation code on line after activating the operating system. And when the activation server monitors that the client is in an offline state disconnected with the activation server, the activation codes of the offline client are recovered, so that the use permission of the activation codes is allocated to other clients for use. Therefore, the method and the device not only can protect the property rights of the operating system, but also can maximally utilize the activation code by offline recovery of the activation code, thereby being beneficial to saving the activation code resource, saving the cost and improving the use efficiency of the activation code.
Further, according to the activation control scheme of the invention, the client can apply offline activation to the activation server when offline use demands exist, so as to acquire the authority of offline activation use. In this way, the client can use the operating system activated based on the activation information offline in the offline use time of the application. Therefore, the activation control scheme of the invention can meet various use requirements of users under the condition of protecting the property rights of the operating system.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of an activation control system 100, according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200 according to one embodiment of the invention; and
fig. 3 shows a flow chart of an activation control method 300 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of an activation control system 100, according to one embodiment of the invention. The activation control system 100 is used to control the activation of the client based on the activation code.
As shown in fig. 1, the activation control system 100 includes one or more clients 110, a load balancing server 150, and one or more activation servers 200. Wherein the load balancing server 150 is communicatively coupled to one or more activation servers 200, respectively, and one or more clients 110 may establish a communication connection with the load balancing server 150, such as by a wired or wireless network connection. Here, the present invention is not limited to a specific connection manner between the load balancing server 150 and the activation server 200 and the client 110.
The client 110, i.e. a terminal device used by a user and provided with an operating system and requiring activation of the operating system, may specifically be a personal computer such as a desktop computer or a notebook computer, or may be a mobile phone, a tablet computer, a multimedia device, an intelligent wearable device, or the like, but is not limited thereto.
The activation server 200 is used for controlling activation of the operating system by one or more clients 110, and controlling activation states of the operating system in the clients 110. The system can be realized as a computing device such as a desktop computer, a notebook computer, a processor chip, a mobile phone, a tablet computer and the like, and can also be realized as a system consisting of a plurality of computing devices.
In one embodiment, the client 110 may obtain local hardware information, and send an activation request based on the hardware information, where the activation request is, for example, a request for activating an operating system in the client, but is not limited to this, and may also be a request for activating an application program residing in the client. The activation request includes, in addition to the hardware information of the client 110, authentication information that needs to authenticate the client at the time of activation.
In the following embodiments of the present invention, the activation control scheme of the present invention will be described only by taking activation control of an operating system in the client 110 as an example. However, the present invention is not limited to activation control of an operating system, and in some embodiments, the activation control scheme of the present invention may also be used to control activation of applications residing in client 110.
The load balancing server 200 may receive an activation request from the client 110 for the operating system and distribute the activation request to the appropriate target activation server to process the activation request. When the load balancing server 200 receives the online activation request of the client 110, it determines the most idle activation server 200 according to the load balancing algorithm, uses the activation server 200 as a target activation server corresponding to the client 110, and forwards the online activation request to the target activation server 200, so that the target activation server 200 processes the online activation request of the client 110, and controls activation of the operating system in the client 110. It should be noted that the load balancing algorithm adopted by the load balancing server 200 is not particularly limited, so long as the algorithm of determining the most idle active server from the plurality of active servers according to the current load of each active server is realized, and the algorithm is within the protection scope of the present invention.
In one embodiment, the online activation request includes hardware information of the client 110 including, but not limited to, one or more of a motherboard identification number, a CPU identification number, a hard disk identification number, a MAC address, and authentication information, for example.
When processing an online activation request of the client 110, the target activation server 200 firstly verifies the verification information of the client 110, acquires activation information corresponding to the verification information after the verification is passed, and returns the activation information to the client 110, so that the client 110 activates an operating system based on the activation information and uses the activated operating system online. Here, the activation information is, for example, an activation code.
In one embodiment, as shown in fig. 1, the system 100 further includes a data storage device 130, where the data storage device 130 may be a local database residing in the activation server 200, or may be a distributed database, such as HBase, disposed at a plurality of geographic locations, and in summary, the data storage device 130 is used to store data, and the specific deployment and configuration of the data storage device 130 is not limited by the present invention. Each activation server 200 may be connected to the data storage device 130 and retrieve data stored in the data storage device 130. For example, the activation server 200 may directly read the data in the data storage device 130 (when the data storage device 130 is a local database of the activation server 200), or may access the internet through a wired or wireless manner, and obtain the data in the data storage device 130 through a data interface.
The data storage device 130 stores therein the activation information, and the activation server 200 may acquire the activation information corresponding to the authentication information from the data storage device 130 and transmit the activation information to the client 110 after the authentication information of the client passes.
It should be noted that, in an embodiment of the present invention, one or more clients 110 may share one activation information to activate the operating system. In other words, each activation information may be associated with one or more clients 110, and the activation information may be used by those associated clients 110. And, each client 110 associated with the activation information has a number limitation, the number of clients associated with each activation information cannot exceed a threshold, and when the number of clients 110 associated with one activation information reaches the threshold, the activation information is in an occupied state with a to-be-used name of zero, and cannot be used by other clients 110. In addition, each activation information also has a corresponding validity period, and the client 110 associated with the activation information can only use the activation information during the validity period.
In one embodiment, after acquiring the activation information, the client 110 also returns the acquired activation information to the target activation server 200 via the load balancing server 150. After receiving the activation information returned by the client, the target activation server 200 may establish an association relationship between the activation information and the client, and may store the activation information and the association relationship between the activation information and the client 110 in the data storage device 130. Here, after the target activation server 200 establishes an association relationship between the activation information and the client 110, the activation information is in a state of being used by the client 110, and the client 110 occupies a usage name of the activation information.
It should be noted that after the load balancing server 150 determines the target activation server 200 corresponding to the client 110, the client 110 establishes a long connection with the target activation server 200 through the load balancing server 150, and performs data transmission with the target activation server 200 based on the load balancing server 150.
In one embodiment, the target activation server 200 monitors the connection state of the client 110 in real time, and when determining that the client is disconnected from the activation server, if the client 110 does not request offline activation, the target activation server retrieves the activation information of the client 110 and cancels the association relationship between the activation information and the client 110.
In one embodiment, after the client 110 performs online activation on its operating system based on the activation information, the client 110 may send an offline activation request to request acquisition of offline activation rights when there is an offline use demand, so that the operating system activated based on the activation information can be continuously used in an offline state disconnected from the activation server 200. Specifically, the load balancing server 150 receives the offline activation request sent by the client 110, and forwards the offline activation request to the target activation server 200 determined previously, that is, the offline activation request of the client 110 is also sent to the target activation server 200, and the offline activation request of the client 110 is processed by the target activation server 200.
The target activation server 200 returns an offline activation message to the client 110 upon determining that the client 110 has offline activation rights. Here, the offline activation message includes activation information, offline use time, offline use expiration time point, and the like. Based on the acquired offline activation message, the client 110 can use the activation information in an offline state disconnected from the activation server during offline use time, that is, offline use the activated operating system.
In one embodiment, the activation server 200 of the present invention is adapted to execute an activation control method 300 to process activation requests of the client 110, controlling activation of an operating system in the client 110. The activation control method 300 of the present invention will be described in detail below.
In one embodiment, the activation server 200 of the present invention may be implemented as a computing device such that the activation control method of the present invention may be executed in the computing device.
FIG. 2 illustrates a block diagram of a computing device 200 according to one embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing including, but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. Processor 204 may include one or more levels of cache, such as a first level cache 210 and a second level cache 212, a processor core 214, and registers 216. The example processor core 214 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations, the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 106 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is in effect a plurality of program instructions for instructing the processor 204 to perform a corresponding operation. In some implementations, the application 222 can be arranged to cause the processor 204 to operate with the program data 224 on an operating system.
Computing device 200 also includes storage device 232, storage device 232 including removable storage 236 and non-removable storage 238.
Computing device 200 may also include a storage interface bus 234. Storage interface bus 234 enables communication from storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to base configuration 202 via bus/interface controller 230. At least a portion of the operating system 220, applications 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238 and loaded into the system memory 206 via the storage interface bus 234 and executed by the one or more processors 204 when the computing device 200 is powered up or the application 222 is to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to basic configuration 202 via bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. The example peripheral interface 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication via one or more I/O ports 258 and external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.). The example communication device 246 may include a network controller 260 that may be arranged to facilitate communication with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (I R) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In computing device 200 according to the present invention, application 222 includes a plurality of program instructions that execute activation control method 300, which may instruct processor 204 to execute activation control method 300 of the present invention, such that computing device 200 controls activation of the operating system in client 110 by executing activation control method 300 of the present invention.
Fig. 3 shows a flow chart of an activation control method 300 according to one embodiment of the invention. The method 300 is adapted to be executed in an activation server 200 (e.g., the aforementioned computing device 200).
As shown in fig. 3, the method 300 begins at step S310.
In step S310, an online activation request of the client 110 is received, where the online activation request includes hardware information and authentication information of the client 110. When sending the online activation request, the client 110 first obtains local hardware information, where the hardware information includes, for example, one or more of a motherboard identification number, a CPU identification number, a hard disk identification number, and a MAC address, but is not limited thereto.
Subsequently, in step S320, the authentication information of the client is authenticated, and after the authentication is passed, the activation information corresponding to the authentication information is acquired from the data storage device, and it is determined whether the activation information corresponding to the authentication information is valid. The activation information is for example an activation code. Here, if the verification of the verification information is not passed, a message of verification failure is returned to the client 110, ending the present activation event.
It should be noted that one or more clients 110 may share one activation information to activate the operating system. In other words, each activation information may be associated with one or more clients 110, and the activation information may be used by those associated clients 110. And, each client 110 associated with the activation information has a number limitation, the number of clients associated with each activation information cannot exceed a threshold, and when the number of clients 110 associated with one activation information reaches the threshold, the activation information is in an occupied state with a to-be-used name of zero, and cannot be used by other clients 110. In addition, each activation information also has a corresponding validity period, and the client 110 associated with the activation information can only use the activation information during the validity period.
Based on the above, when judging whether the activation information corresponding to the verification information is valid, specifically, judging whether the activation information is already in an occupied state, and if so, judging that the activation information is invalid; in addition, whether the activation information is still in the valid period is also judged, and if the activation information is not in the valid period, the activation information is judged to be invalid. Accordingly, if the activation information is not in the occupied state and the activation information is within the validity period, it is determined that the activation information is valid.
In step S330, if it is determined that the activation information is valid, an identification for uniquely identifying the identity of the client is generated based on the hardware information of the client 110, and the activation information is transmitted to the client 110 corresponding to the identification based on the identity of the client. The client 110 may then activate its operating system online based on the activation information, using the activated operating system online. And, the client 110 returns the acquired activation information to the activation server 200.
Subsequently, in step S340, the activation server 200 receives the activation information returned by the client 110, establishes an association relationship between the activation information and the client, and stores the activation information, the association relationship between the activation information and the client in the data storage device 130. Here, when the activation server 200 establishes an association relationship between the activation information and the client 110, the activation information is in a state of being used by the client 110, and the client 110 occupies a usage name of the activation information.
It should be further noted that, according to an embodiment of the present invention, the client 110 can use the operating system in the active state after online activation of the operating system based on the activation information in a case where a communication connection (long connection) is established with the activation server 200. After the client 110 activates the operating system online based on the activation information, if the client 110 is disconnected from the activation server 200, i.e., is in an offline state, the activation server 200 will retrieve the activation information acquired by the client 110. That is, the client 110 cannot continue to use the activation information and the active operating system in the offline state.
Based on this, after the client 110 activates its operating system based on the activation information, the activation server 200 also monitors the connection state of the client 110 in real time, and determines whether the client 110 is disconnected from the activation server 200, that is, determines whether the client 110 is currently in an offline state.
Finally, in step S350, the connection state of the client 110 is monitored in real time, and when it is determined that the disconnection of the client from the activation server 200 is in an offline state, the activation server 200 retrieves the activation information previously used for activation by the client 110. The activation server 200 recovers the activation information of the client 110 by canceling the association relationship between the activation information and the client 110 to a state not used by the client 110, so as to recover the activation information of the client 110, and provide the usage name of the client 110 to other clients 110, so that the other clients 110 use the activation information. Therefore, the use permission of the activation information can be fully utilized, and the use efficiency of the activation information is improved.
According to one embodiment, after step S330, that is, after the client 110 performs online activation on its operating system based on the activation information, when the client 110 has an offline use requirement, an offline activation request may also be sent to the activation server 200 to request to obtain offline activation rights, so that the operating system activated based on the activation information can be continuously used in an offline state disconnected from the activation server 200.
According to one embodiment, the offline activation request includes user information for client 110. After receiving the offline activation request of the client 110, the activation server 200 first determines whether to allow the client 110 to be activated offline according to the user information, in other words, determines whether the client 110 has offline activation authority according to the user information. If it is determined that the client 110 has offline activation rights, an offline activation message is returned to the client 110. Here, the offline activation message includes activation information, offline use time, offline use expiration time point, and the like. Based on the acquired offline activation message, the client 110 can use the activation information in an offline state disconnected from the activation server during offline use time, that is, offline use of the operating system activated based on the activation information.
It should be understood that, after the client 110 acquires the offline activation authority, even if the client 110 is disconnected from the activation server 200 and is in an offline state, the activation server 200 will not recover the activation information acquired when the client 110 is activated online, and continues to maintain the association state of the activation information and the client 110.
According to one embodiment, one or more activation servers 200 are coupled to a client 110 via a load balancing server 150, and an activation request sent by the client 110 is forwarded to the activation server 200 via the load balancing server 150. Specifically, when the client 110 transmits an online activation request, the load balancing server 150 receives the online activation request transmitted by the client 110, then determines a most idle activation server from one or more activation servers 200 connected thereto according to a load balancing algorithm, takes the most idle activation server as a target activation server, forwards the online activation request of the client 110 to the target activation server, and processes the online activation request of the client 110 by the target activation server to control activation of the operating system by the client 110. It should be noted that the load balancing algorithm adopted by the load balancing server 200 is not particularly limited, so long as the algorithm of determining the most idle active server from the plurality of active servers according to the current load of each active server is realized, and the algorithm is within the protection scope of the present invention.
After determining the target activation server 200, the client 110 establishes a long connection with the target activation server 200 through the load balancing server 150, and performs data transmission with the target activation server 200 based on the load balancing server 150. The target activation server monitors the connection state of the client 110 in real time, and when determining that the client is disconnected from the activation server, if the client 110 does not request offline activation, the target activation server obtains the activation information of the client 110 and cancels the association relationship between the activation information and the client 110.
When the client 110 sends the offline activation request, the load balancing server 150 receives the offline activation request and forwards the offline activation request to the target activation server determined previously, so that the offline activation request of the client 110 is also sent to the target activation server, and the target activation server processes the offline activation request of the client 110.
That is, in the above steps, the activation server receives the online activation request and the offline activation request of the client 110, and in fact, the target activation server receives the activation request of the client to the operating system forwarded by the load balancing server 150, that is, obtains the activation request of the client 110 allocated by the load balancing server 150.
According to the activation control method, the activation server can distribute the activation code of the operating system to one or more clients online, and the clients use the activation code on the basis of the activation code online after activating the operating system. And when the activation server monitors that the client is in an offline state disconnected with the activation server, the activation codes of the offline client are recovered, so that the use permission of the activation codes is allocated to other clients for use. Therefore, the method and the device not only can protect the property rights of the operating system, but also can maximally utilize the activation code by offline recovery of the activation code, thereby being beneficial to saving the activation code resource, saving the cost and improving the use efficiency of the activation code.
Further, according to the activation control scheme of the invention, the client can apply offline activation to the activation server when offline use demands exist, so as to acquire the authority of offline activation use. In this way, the client can use the operating system activated based on the activation information offline in the offline use time of the application. Therefore, the activation control scheme of the invention can meet various use requirements of users under the condition of protecting the property rights of the operating system.
The system of A9, A7 or A8, further comprising: a data storage device, connected to one or more activation servers, adapted to store activation information; the activation server is suitable for acquiring activation information from the data storage device and sending the activation information to the client, and is suitable for storing the association relation between the activation information and the client in the data storage device.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the activation control method of the present invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.

Claims (7)

1. The activation control method is executed in an activation server, a plurality of the activation servers are connected with a client through a load balancing server, the load activation server is suitable for receiving an activation request sent by the client, determining the most idle activation server in the plurality of activation servers as a target activation server, and forwarding the activation request of the client to the target activation server; the method comprises the steps of:
receiving an online activation request of a client forwarded by the load activation server, wherein the online activation request comprises hardware information and verification information of the client;
verifying the verification information, and judging whether the activation information corresponding to the verification information is valid or not after the verification is passed;
if the hardware information is effective, generating an identity of the client based on the hardware information, and sending the activation information to the client based on the identity so that the client activates an operating system based on the activation information;
receiving activation information returned by a client, and establishing an association relation between the activation information and the client;
monitoring the connection state of the client, and canceling the association relation between the activation information and the client when the client is determined to be disconnected with the activation server;
receiving an offline activation request of a client, wherein the offline activation request comprises user information;
judging whether the client has offline activation authority according to the user information, if so, returning an offline activation message to the client, wherein the offline activation message comprises activation information and offline use time, so that the client can use the activation information in a state of being disconnected with an activation server in the offline use time;
if not, a message is returned to the client that offline activation is not allowed.
2. The method of claim 1, wherein the activation server is connected to the data storage device, and wherein before determining whether the activation information corresponding to the authentication information is valid, comprising the steps of:
acquiring activation information corresponding to the verification information from the data storage device;
after establishing the association relation between the activation information and the client, the method comprises the following steps:
and storing the association relation between the activation information and the client in a data storage device.
3. The method of claim 1 or 2, wherein the hardware information includes one or more of a motherboard identification number, a CPU identification number, a hard disk identification number, a MAC address.
4. An activation control system, comprising:
a plurality of activation servers adapted to perform the activation control method of any one of claims 1-3;
the system comprises one or more clients and a server, wherein the one or more clients are suitable for sending an online activation request, the online activation request comprises hardware information and verification information of the clients, the online activation request is suitable for acquiring activation information sent by the activation server, activating an operating system based on the activation information, and returning the activation information to the activation server; the client is further adapted to send an offline activation request after activating the operating system based on the activation information, and to receive an offline activation message returned by the activation server, wherein the offline activation message includes the activation information and offline use time, so that the activation information can be used in a condition of disconnecting from the activation server in the offline use time; and
the load balancing server is connected with the plurality of activation servers respectively and one or more clients, and is suitable for receiving the activation request sent by the clients, determining the most idle activation server in the plurality of activation servers as a target activation server, and forwarding the activation request of the clients to the target activation server.
5. The system of claim 4, further comprising:
the data storage device is connected with the plurality of activation servers and is suitable for storing activation information;
the activation server is suitable for acquiring activation information from the data storage device and sending the activation information to the client, and is suitable for storing the association relation between the activation information and the client in the data storage device.
6. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-3.
7. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-3.
CN202110267815.6A 2021-03-11 2021-03-11 Activation control method, system and computing device Active CN112866419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267815.6A CN112866419B (en) 2021-03-11 2021-03-11 Activation control method, system and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267815.6A CN112866419B (en) 2021-03-11 2021-03-11 Activation control method, system and computing device

Publications (2)

Publication Number Publication Date
CN112866419A CN112866419A (en) 2021-05-28
CN112866419B true CN112866419B (en) 2023-05-02

Family

ID=75994149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267815.6A Active CN112866419B (en) 2021-03-11 2021-03-11 Activation control method, system and computing device

Country Status (1)

Country Link
CN (1) CN112866419B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689237A (en) * 2007-06-25 2010-03-31 微软公司 Activation system architecture
WO2018217224A1 (en) * 2017-05-22 2018-11-29 Macpaw, Inc. System and method for software activation and license tracking
CN109271757A (en) * 2018-08-10 2019-01-25 神州网信技术有限公司 A kind of offline Activiation method and system of software
CN111447178A (en) * 2020-03-03 2020-07-24 北京皮尔布莱尼软件有限公司 Access control method, system and computing device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356709B2 (en) * 2003-01-31 2008-04-08 Microsoft Corporation Systems and methods for deterring software piracy in a volume license environment
CN102137399A (en) * 2011-03-07 2011-07-27 宇龙计算机通信科技(深圳)有限公司 Certificate management method and certificate management system
US8997249B1 (en) * 2014-06-18 2015-03-31 Storagecraft Technology Corporation Software activation and revalidation
US10706130B2 (en) * 2015-02-06 2020-07-07 Macpaw Inc. System and method for software activation and license tracking
US9659155B2 (en) * 2015-02-06 2017-05-23 Macpaw Inc System and method for software activation and license tracking
JP6476402B2 (en) * 2016-05-20 2019-03-06 システムメトリックス株式会社 Authentication system
CN106971095B (en) * 2017-03-24 2019-09-10 北京深思数盾科技股份有限公司 Software digital license management method and system
CN112182550A (en) * 2020-11-30 2021-01-05 统信软件技术有限公司 Authorization method, authorization system, activation device and computing equipment for application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689237A (en) * 2007-06-25 2010-03-31 微软公司 Activation system architecture
WO2018217224A1 (en) * 2017-05-22 2018-11-29 Macpaw, Inc. System and method for software activation and license tracking
CN109271757A (en) * 2018-08-10 2019-01-25 神州网信技术有限公司 A kind of offline Activiation method and system of software
CN111447178A (en) * 2020-03-03 2020-07-24 北京皮尔布莱尼软件有限公司 Access control method, system and computing device

Also Published As

Publication number Publication date
CN112866419A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US11128621B2 (en) Method and apparatus for accessing website
US10097530B2 (en) Security authentication method and bidirectional forwarding detection BFD device
CN112995131B (en) Page login method, system and computing device
CN107832329B (en) Page resource obtaining method and terminal equipment
CN107666470B (en) Verification information processing method and device
US10187386B2 (en) Native enrollment of mobile devices
US9589122B2 (en) Operation processing method and device
KR20130141939A (en) Security method for single use of device interlocking mobile terminal, and mobile host and device apparatus using the same
CN113329069B (en) Instant messaging method, system and computing device
CN110730171A (en) Service request processing method, device and system, electronic equipment and storage medium
CN112202750B (en) Control method for policy execution, policy execution system and computing device
CN110445615B (en) Network request security verification method, device, medium and electronic equipment
KR20100013207A (en) The method for authenticating device and service and the system thereof
CN113259429B (en) Session maintenance management and control method, device, computer equipment and medium
CN112866419B (en) Activation control method, system and computing device
CN111447178B (en) Access control method, system and computing device
TWI546688B (en) Method for processing url and associated server and non-transitory computer readable storage medium
CN111835523B (en) Data request method, system and computing device
US20190141152A1 (en) Web push notifications in the background
CN108494805B (en) CC attack processing method and device
CN113986578A (en) Message checking method and first equipment
CN113239396A (en) Data access system, method, device, computer equipment and medium
CN112260997A (en) Data access method and device, computer equipment and storage medium
CN111416852A (en) Method for session synchronization among multiple load balancers and load balancer
US11616854B1 (en) System and method of secured interface to a blockchain based network

Legal Events

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