Operating system activation code management method and related equipment
By receiving and responding to the activation request of the user terminal in the operating system activation code management system and matching the corresponding management method according to the activation code type, the problem that the activation code cannot be recycled after use is solved, and the effective management of the activation code and resources are realized. Efficient use.
Patent Information
- Application Number
- CN202411185540.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, the operating system activation code cannot be effectively recycled after use, resulting in waste of resources and insufficient number of activation codes.
By receiving the system activation request from the user terminal, responding to the activation request and taking out the activation code from the number pool, matching the corresponding activation code management method according to the activation code type (binding the activation code or reusing the activation code), including direct recycling and to Recycling periodically to realize the effective management and recycling of activation codes.
It realizes more rational use of activation code, reduces resource waste, and improves the efficiency and reliability of activation code usage.
Smart Images

Figure CN119475276A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of system activation, and in particular to a management method for operating system activation codes and related equipment. Background Art
[0002] In recent years, the country has vigorously developed domestic alternative systems, and many domestic systems have also developed rapidly, such as Hongmeng, Yuanxin, Kirin, etc. With the development of domestic substitution, more and more devices are now using domestic systems. For their own development, some companies that develop domestic systems will use an activation code to activate the domestic system. The unactivated domestic system will have an unactivated sign, and some functions will also be restricted. This leads to many people who want to use domestic systems to purchase activation codes.
[0003] The activation codes of some domestic systems are one-time, that is, the activation code cannot be used after one activation. This may be relatively cheap, while the activation codes of some domestic systems are reusable, for example, they can be reactivated after reinstalling the system. This is relatively expensive. After these activation codes are generated by the domestic system company and issued to users for use, no matter they are one-time activation codes or reused, no matter they have expired or not, these activation codes will not be processed by anyone, which is equivalent to one less activation code after one is used. Therefore, the prior art requires a method for managing and recycling activation codes to save system company resources.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The present invention provides a management method for an operating system activation code and related equipment. The main purpose of the present invention is to solve the technical problems mentioned in the background technology of the prior art.
[0006] A first aspect of the present invention provides a method for managing an operating system activation code, comprising:
[0007] Receiving a system activation request from a user terminal;
[0008] In response to the system activation request, taking out activation codes of various types from a number pool and feeding back the codes to the user terminal;
[0009] receiving activation feedback from the user terminal, and obtaining a target activation code used by the user terminal from the activation feedback;
[0010] Determine the type of the target activation code, the type including a binding activation code and a reusable activation code;
[0011] Matching the activation code management method for the type, the activation code management method including direct recycling and expiration recycling;
[0012] The target activation code is managed based on the matched activation code management mode.
[0013] In an optional implementation of the first aspect of the present invention, in response to the system activation request, taking out activation codes of various types from a number pool and feeding them back to the user terminal includes:
[0014] Acquire an activation type supported by the system from the system activation request;
[0015] Based on the activation types supported by the system, the activation codes corresponding to the types are retrieved from the number pool;
[0016] Feedback the activation code of each type to the user terminal, so that the activation code of the corresponding type is respectively placed in the activation code input box of each activation type supported by the user terminal system.
[0017] In an optional implementation manner of the first aspect of the present invention, the receiving activation feedback from the user terminal and obtaining a target activation code used by the user terminal from the activation feedback includes:
[0018] receiving activation feedback from the user terminal, and determining whether the activation feedback carries a payment identifier;
[0019] If the activation feedback carries the payment identifier, a target activation code used by the user terminal is further obtained from the activation feedback.
[0020] In an optional implementation of the first aspect of the present invention, the matching of the types by activation code management method includes:
[0021] If the type is binding to use the activation code, then the activation code management method for expiration and recycling is matched;
[0022] If the type is a reused activation code, the activation code management method of direct recycling is matched.
[0023] In an optional implementation of the first aspect of the present invention, managing the target activation code in the activation code management method based on matching includes:
[0024] If the activation code management method is expiration recovery, further obtaining the sales information, device binding information and time limit information of the target activation code from the activation feedback;
[0025] The target activation code, the sales information of the target activation code, the device binding information and the time limit information are bound together for filing, and a renewal notification management of the target activation code is generated.
[0026] In an optional implementation of the first aspect of the present invention, the target activation code, the sales information of the target activation code, the device binding information and the time limit information are bound together for filing, and a renewal notification management of the target activation code is generated, including:
[0027] When the target activation code enters the renewal period, a renewal notification is pushed to the user terminal;
[0028] Determining whether the target activation code receives an activation request from the user terminal during the last usage period;
[0029] If the target activation code does not receive an activation request from the user terminal during the last use period, the record information of the target activation code is cleared, and the target activation code is stored back in the number pool for next use.
[0030] In an optional implementation manner of the first aspect of the present invention, managing the target activation code in the activation code management manner based on matching further includes:
[0031] If the activation code management method is direct recycling, the target activation code is directly stored back into the number pool for next use.
[0032] A second aspect of the present invention provides a device for managing an operating system activation code, the device for managing an operating system activation code comprising:
[0033] A request receiving module, used for receiving a system activation request from a user terminal;
[0034] A request response module, configured to respond to the system activation request, retrieve activation codes of various types from the number pool and feed them back to the user terminal;
[0035] A feedback receiving module, configured to receive activation feedback from the user terminal, and obtain a target activation code used by the user terminal from the activation feedback;
[0036] An activation type determination module, used to determine the type of the target activation code, the type including a binding use activation code and a reused activation code;
[0037] A management mode matching module, used for matching the activation code management mode for the type, wherein the activation code management mode includes direct recycling and expiration recycling;
[0038] The recycling management module is used to manage the target activation code based on the matched activation code management mode.
[0039] A third aspect of the present invention provides an operating system activation code management device, the operating system activation code management device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a line;
[0040] The at least one processor calls the instruction in the memory to enable the operating system activation code management device to execute the operating system activation code management method as described in any one of the first aspects above.
[0041] A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for managing an operating system activation code as described in any one of the first aspects above is implemented.
[0042] Beneficial effects: The present invention provides an operating system activation code management method and related equipment, the method comprising receiving a system activation request from a user terminal; in response to the system activation request, taking out various types of activation codes from a number pool and feeding back to the user terminal; receiving activation feedback from the user terminal, and obtaining a target activation code used by the user terminal from the activation feedback; determining the type of the target activation code, the type comprising a binding activation code and a reuse activation code; matching the type with an activation code management method, the activation code management method comprising direct recycling and expiration recycling; and managing the target activation code based on the matched activation code management method. In the activation code management method of the present invention, different activation code types have different recycling management methods, thereby achieving more reasonable use of activation codes. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of an embodiment of a method for managing an operating system activation code of the present invention;
[0044] Figure 2 A schematic diagram of the module composition of an operating system activation code management device of the present invention;
[0045] Figure 3 A schematic diagram of an embodiment of an operating system activation code management device of the present invention. DETAILED DESCRIPTION
[0046] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0047] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 In a first aspect, the present invention provides a method for managing an operating system activation code, which is mainly used for an activation code management device (such as a cloud server). The method for managing an operating system activation code includes:
[0048] S100, receiving a system activation request from a user terminal; in one scenario of this step, for example, the user terminal enters a system activation interface, the user clicks a request activation button on the system activation interface, and the user terminal sends a system activation request to the activation code management device.
[0049] S200. In response to the system activation request, various types of activation codes are taken out from the number pool and fed back to the user terminal. In the invention, the system manufacturer needs to classify all the operating system activation codes in advance and store them in the number pool for the user terminal to retrieve from the number pool when activating the number pool. The function of the number pool is to store the activation codes to be used. When the user needs the activation code, the activation code management device will randomly select the activation code from the number pool. The sources of the activation codes in the number pool include the newly generated activation code (which is generated only when the activation code is insufficient), the reusable activation code that will not be bound to the device will be stored in the number pool after use, and the activation code that will be bound to the device but expires and is not renewed after use will also be stored in the number pool.
[0050] In an optional implementation of the first aspect of the present invention, in response to the system activation request, taking out various types of activation codes from the number pool and feeding them back to the user terminal includes: obtaining the activation type supported by the system from the system activation request; taking out corresponding activation codes of each type from the number pool based on the activation type supported by the system; feeding back the activation codes of each type to the user terminal, so as to respectively place the activation codes of the corresponding types in the activation code input boxes of each activation type supported by the system of the user terminal.
[0051] In the present invention, system activation supports multiple types, for example, one-time permanent activation and time-limited activation. In the present invention, different activation methods correspond to different activation code types. In terms of activation code differences, different types of activation codes may carry different header identifiers or have differences in the length of the activation code. In a more specific example of the present invention, the activation code also carries encrypted characters related to the activation code validity period. Different activation methods are displayed on the user terminal interface, for example, each activation method may have an activation box, and the corresponding activation method is introduced in the activation box. An input box for filling in the activation code is configured at the bottom of the activation box. The activation code filled in the input box is not directly displayed to the user, and may be partially hidden or completely hidden. The method of hiding the activation code characters may be to display the activation code characters as *.
[0052] S300, receiving activation feedback from the user terminal, and obtaining a target activation code used by the user terminal from the activation feedback; in the present invention, the user selects an activation box of the desired activation method on the user terminal, and the user terminal will feed back the activation code corresponding to the activation box selected by the user to the activation code management device. In some non-permanent activation methods, a time limit selection option may also be provided in the activation box.
[0053] In an optional implementation of the first aspect of the present invention, the receiving of activation feedback from the user terminal and obtaining the target activation code used by the user terminal from the activation feedback include: receiving activation feedback from the user terminal and determining whether the activation feedback carries a payment identifier; if the activation feedback carries the payment identifier, further obtaining the target activation code used by the user terminal from the activation feedback. It should be noted that in the present invention, the activation feedback is triggered in such a way that the user terminal sends activation feedback to the activation code management device only after the user terminal selects the activation method and makes a payment. The activation feedback carries the target activation code, the user account logged in by the user terminal, the sales information of the target activation code, the device binding information and the time limit information, etc. In the permanent activation mode, the activation code will be written into the motherboard memory of the user terminal so that it can be directly retrieved locally when the user needs to activate it later.
[0054] S400. Determine the type of the target activation code, which includes a binding activation code and a reused activation code. In the present invention, a reused activation code is a permanent activation code. A reused activation code is not one number per machine. After a device is permanently activated by a reused activation code, it will be recycled into a number pool bag and allocated to other user terminals for use. A binding activation code is a non-permanent activation code. After a binding activation code is used on a device, it will not be reallocated to other terminals for use before it expires. This activation code classification and reallocation method of the present invention aims to solve the technical problem that the number of activation codes is easily insufficient (storage cost limitation) and it is difficult to meet the user's system activation needs.
[0055] S500, matching the activation code management mode for the type, the activation code management mode includes direct recycling and expiration recycling; in the present invention, as the name implies, direct recycling of activation code means that the activation code will be directly returned to the number pool, and expiration recycling means that the activation code will not be returned to the number pool until the expiration date. In the present invention, the activation code management mode matching for the type includes: if the type is a binding activation code, then matching the activation code management mode of expiration recycling; if the type is a repeated use activation code, then matching the activation code management mode of direct recycling. In the present invention, binding activation code is for the activation user terminal of short-term payment. For the user terminal activated for a short period of time, the expiration recycling mode can be more convenient for tracking user activation. For the permanently activated user, since there is no need to track the activation code flow information, the same activation code is used for different terminals, which can greatly reduce the number of activation codes in the number pool. In addition, the present invention needs to explain that the activation code stored in the user terminal motherboard memory is encrypted and verified. Only when the activation code management device performs permanent user verification and obtains the decryption key can it be read from the user terminal motherboard memory.
[0056] S600: Manage the target activation code based on the matched activation code management method. In the present invention, after obtaining the target activation code management method, the activation code management device manages the target activation code according to the rules defined by the activation code management method.
[0057] In the present invention, the activation code management method based on matching manages the target activation code, including:
[0058] If the activation code management method is expiration recovery, the sales information, device binding information and time limit information of the target activation code are further obtained from the activation feedback; the target activation code, the sales information, the device binding information and the time limit information of the target activation code are bound and filed together, and a renewal notification management for the target activation code is generated; more specifically, after the target activation code, the sales information, the device binding information and the time limit information of the target activation code are bound and filed together, and the renewal notification management for the target activation code is generated, it includes: when the target activation code enters the renewal period, pushing a renewal notification to the user terminal; judging whether the target activation code has received an activation request from the user terminal during the last use period; if the target activation code has not received an activation request from the user terminal during the last use period, clearing the filing information of the target activation code, and storing the target activation code back into the number pool for next use.
[0059] If the activation code management method is direct recycling, the target activation code is directly stored back in the number pool for next use. In this step of the present invention, of course, the account number logged in when the user terminal is activated and related information such as purchase (i.e., sales information) and the user terminal information need to be filed in the activation code management device, so that after the user reinstalls the system, the user can verify the reading method of the activation code in the user terminal motherboard memory.
[0060] In short, the technology of the present invention is mainly applied to the activation code recovery of the current operating system. By establishing a management system to manage the activation codes, the reused activation codes and the expired bound activation codes are placed in a number pool for reuse, so as to achieve the effect of recycling the activation codes. The specific process is: when the user needs a system activation code, the management device will first select the activation code from the number pool, and record the activation code to be used, and report it to the management module. The management module will register the activation code type and activation code time limit, and then file these data in the management module. When the activation code is used, the activated system will send a notification to the management module, and report the used activation code and activation device to the management platform.
[0061] There will be two situations at this time: 1. If the activation code is reused, only the user and device information after activation will be recorded after use, and the activation code will enter the new number pool. 2. If it is a bound activation code that can be recycled upon expiration, the management module records the activation code, activated device, and usage period. At this time, the activation code is bound to the device and the usage period. If the usage period of an activation code is about to expire, the management module will send a message to the notification module, and the notification module will send a notification to the corresponding system device. The device will pop up a message to notify the user whether to continue to extend the usage period. If the period is not extended, the device system will enter an unactivated state after the expiration, and the corresponding activation code will enter the number pool to be used.
[0062] See also Figure 2 According to a second aspect of the present invention, there is provided a device for managing an operating system activation code, the device for managing an operating system activation code comprising:
[0063] A request receiving module 10, configured to receive a system activation request from a user terminal;
[0064] A request response module 20, configured to respond to the system activation request, retrieve activation codes of various types from the number pool and feed them back to the user terminal;
[0065] A feedback receiving module 30, configured to receive activation feedback from the user terminal, and obtain a target activation code used by the user terminal from the activation feedback;
[0066] An activation type determination module 40 is used to determine the type of the target activation code, wherein the type includes a binding activation code and a reusable activation code;
[0067] A management mode matching module 50 is used to match the activation code management mode for the type, and the activation code management mode includes direct recycling and expiration recycling;
[0068] The recycling management module 60 is used to manage the target activation code based on the matched activation code management mode.
[0069] In an optional implementation of the second aspect of the present invention, the request response module includes:
[0070] A supported activation type acquisition unit, used to acquire the activation type supported by the system from the system activation request;
[0071] An activation code acquisition unit, used to retrieve activation codes corresponding to various types from a number pool based on the activation types supported by the system;
[0072] The activation code feedback unit is used to feed back the activation code of each type to the user terminal, so as to respectively place the activation code of the corresponding type in the activation code input box of each activation type supported by the user terminal system.
[0073] In an optional implementation of the second aspect of the present invention, the feedback receiving module includes:
[0074] a payment identification unit, configured to receive activation feedback from the user terminal and determine whether the activation feedback carries a payment identifier;
[0075] The feedback activation code acquisition unit is used to further acquire a target activation code used by the user terminal from the activation feedback if the activation feedback carries the payment identifier.
[0076] In an optional implementation of the second aspect of the present invention, the management mode matching module includes:
[0077] A first matching unit, configured to match an activation code management method for expiration and recycling if the type is a binding activation code;
[0078] The second matching unit is used to match the activation code management mode of direct recycling if the type is a reused activation code.
[0079] In an optional implementation of the second aspect of the present invention, the recycling management module includes:
[0080] An expiration recovery management unit is used to further obtain the sales information, device binding information and time limit information of the target activation code from the activation feedback if the activation code management method is expiration recovery; and to bind and record the target activation code, the sales information, the device binding information and the time limit information of the target activation code together, and generate a renewal notification management for the target activation code.
[0081] In an optional implementation of the second aspect of the present invention, the expiration recovery management unit is also used to, when the target activation code enters the renewal period, push a renewal notification to the user terminal; determine whether the target activation code has received an activation request from the user terminal during the last usage period; if the target activation code has not received an activation request from the user terminal during the last usage period, clear the filing information of the target activation code, and store the target activation code back into the number pool for next use.
[0082] In an optional implementation of the second aspect of the present invention, the recycling management module further includes:
[0083] The direct recovery management unit is used to directly store the target activation code back into the number pool for next use if the activation code management mode is direct recovery.
[0084] Figure 3 1 is a schematic diagram of the structure of an operating system activation code management device provided by an embodiment of the present invention. The operating system activation code management device may have relatively large differences due to different configurations or performances, and may include one or more processors 70 (central processing units, CPU) (for example, one or more processors) and a memory 80, and one or more storage media 90 (for example, one or more mass storage devices) for storing application programs or data. Among them, the memory and the storage medium may be temporary storage or permanent storage. The program stored in the storage medium may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the operating system activation code management device. Furthermore, the processor may be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the operating system activation code management device.
[0085] The operating system activation code management device of the present invention may also include one or more power supplies 100, one or more wired or wireless network interfaces 110, one or more input and output interfaces 120, and / or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The illustrated structure of the operating system activation code management device does not constitute a limitation on the operating system activation code management device, and may include more or fewer components than illustrated, or combine certain components, or arrange the components differently.
[0086] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for managing operating system activation codes.
[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system or system or unit described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0089] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for managing an operating system activation code, characterized in that: include: Receiving a system activation request from a user terminal; In response to the system activation request, taking out activation codes of various types from a number pool and feeding back the codes to the user terminal; receiving activation feedback from the user terminal, and obtaining a target activation code used by the user terminal from the activation feedback; Determine the type of the target activation code, the type including a binding activation code and a reusable activation code; Matching the activation code management mode for the type, the activation code management mode including direct recycling and expiration recycling; The target activation code is managed based on the matched activation code management mode.
2. The method for managing operating system activation codes according to claim 1, characterized in that: In response to the system activation request, taking out activation codes of various types from a number pool and feeding back the activation codes to the user terminal comprises: Acquire an activation type supported by the system from the system activation request; Based on the activation types supported by the system, the activation codes corresponding to the types are retrieved from the number pool; Feedback the activation code of each type to the user terminal, so that the activation code of the corresponding type is respectively placed in the activation code input box of each activation type supported by the user terminal system.
3. The method for managing operating system activation codes according to claim 2, characterized in that: The receiving activation feedback from the user terminal and obtaining a target activation code used by the user terminal from the activation feedback includes: receiving activation feedback from the user terminal, and determining whether the activation feedback carries a payment identifier; If the activation feedback carries the payment identifier, a target activation code used by the user terminal is further obtained from the activation feedback.
4. The method for managing operating system activation codes according to claim 3, characterized in that: The matching of the activation code management mode for the type includes: If the type is binding to use the activation code, then match the activation code management method for expiration and recycling; If the type is a reused activation code, the activation code management method of direct recycling is matched.
5. The method for managing operating system activation codes according to claim 4, characterized in that: The management of the target activation code in the activation code management method based on matching includes: If the activation code management method is expiration recovery, further obtaining the sales information, device binding information and time limit information of the target activation code from the activation feedback; The target activation code, the sales information of the target activation code, the device binding information and the time limit information are bound together for filing, and a renewal notification management of the target activation code is generated.
6. The method for managing operating system activation codes according to claim 5, characterized in that: The target activation code, the sales information of the target activation code, the device binding information and the time limit information are bound together for filing, and a renewal notification management of the target activation code is generated, which includes: When the target activation code enters the renewal period, a renewal notification is pushed to the user terminal; Determining whether the target activation code receives an activation request from the user terminal during the last usage period; If the target activation code does not receive an activation request from the user terminal during the last use period, the record information of the target activation code is cleared, and the target activation code is stored back in the number pool for next use.
7. The method for managing operating system activation codes according to claim 6, characterized in that: The managing the target activation code in the activation code management method based on matching further includes: If the activation code management method is direct recycling, the target activation code is directly stored back into the number pool for next use.
8. A management device for operating system activation codes, characterized in that: The operating system activation code management device includes: A request receiving module, used for receiving a system activation request from a user terminal; A request response module, configured to respond to the system activation request, retrieve activation codes of various types from the number pool and feed them back to the user terminal; A feedback receiving module, configured to receive activation feedback from the user terminal, and obtain a target activation code used by the user terminal from the activation feedback; An activation type determination module, used to determine the type of the target activation code, the type including a binding use activation code and a reused activation code; A management mode matching module, used for matching the activation code management mode for the type, wherein the activation code management mode includes direct recycling and expiration recycling; The recycling management module is used to manage the target activation code based on the matched activation code management mode.
9. A management device for operating system activation codes, characterized in that: The operating system activation code management device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the operating system activation code management device to execute the operating system activation code management method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for managing an operating system activation code according to any one of claims 1 to 7 is implemented.