Software serial number management method and device, equipment and storage medium
By introducing software version identifiers and activation code recycling mechanisms into software serial number management, the problem of too strict or loose management is solved, flexible authorization and node management of enterprise management platform software are realized, and user experience and copyright protection are improved.
Patent Information
- Application Number
- CN202410544793.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, in the management of software serial numbers, too strict management leads to a complicated purchase process and poor user experience; too loose management leads to too low software copyright protection, which cannot meet the flexibility and diversity needs of enterprises for licensing.
By defining the software version identifier, activation conditions and activation code recycling mechanism, a management process for serial number generation, activation, verification and recycling is formed to realize full-process management of the enterprise management platform software, simplify ordering rules, and adapt to the functional expansion of enterprise customers. demand, and reduce node waste through serial number recycling.
It realizes flexible authorization management of enterprise management platform software, reduces customers' understanding costs, avoids node waste, improves the flexibility and convenience of software use, and meets the functional expansion needs from low version to high version.
Smart Images

Figure CN118606908A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software development, and in particular to a method, device, equipment and storage medium for serial number management. Background Art
[0002] With the rapid development of technology in the field of software development, software version protection and authorization licenses are increasingly valued by enterprises. Software users need to pay to purchase serial numbers. If the management of serial numbers is too strict, the purchase process for software users will be complicated and the user experience will be poor; if the management of serial numbers is too loose, the protection of software copyrights will be too weak. Currently, higher requirements are put forward for software serial number management. Summary of the invention
[0003] In view of this, the present invention provides a method, apparatus, device and storage medium for serial number management to solve the problems of overly strict serial number management, resulting in complicated purchasing process for software users, poor user experience, overly loose serial number management and too low software copyright protection.
[0004] In a first aspect, the present invention provides a method for software serial number management, comprising: obtaining a software serial number of a target software based on software usage requirements, wherein the software serial number comprises: a software version identifier; activating some or all nodes under the software serial number to obtain an activation code corresponding to the node, wherein the activation code comprises machine code information of a software usage device, and after the node is activated, it has a corresponding relationship with the machine code of the software usage device; if an existing serial number of the target software exists in the software usage device, verifying whether the software usage device meets the activation conditions based on the existing serial number and the software serial number, and judging whether to recycle the activation code based on the verification result; and updating the number of available nodes under the software serial number based on the judgment result.
[0005] By defining software version identifiers, software version activation conditions and activation code recovery, a management process for serial number generation, activation, verification and recovery is formed, which can achieve full-process management of enterprise management platform software; the ordering rules provided to corporate customers are not complicated, reducing customers' understanding costs; at the same time, taking into account the situation of switching installation servers or idle activation codes, serial number recovery can also achieve the recovery of nodes under the serial number, making it more flexible and convenient for corporate customers to use.
[0006] In an optional embodiment, before obtaining the software serial number, it also includes: determining different software version types of the target software, the software version type including: the software version identifier and the software function level; each of the software function levels includes at least one software version identifier; the software function level includes multiple layers, the priority of the first software function level is lower than the priority of other software function levels, and the priority of the second software function level is higher than the priority of the first software function level.
[0007] By setting the software function level, the foundation is laid for the logical judgment of software serial number management. It can be applied to complex scenarios of enterprise management platform software function expansion, avoiding the complexity of ordering rules and saving time and money.
[0008] In an optional embodiment, whether the software usage device meets the activation condition is verified based on the existing serial number and the software serial number, including: if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the software usage device meets the activation condition; if the software version identifier in the software serial number is different from the software version identifier in the existing serial number, whether the software usage device meets the activation condition is verified based on the software function level.
[0009] In an optional embodiment, checking whether the software usage device meets the activation condition based on the software function level includes: if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the software usage device meets the activation condition; if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation condition; if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation condition.
[0010] It can meet the needs of enterprise customers for software function expansion from low versions to high versions.
[0011] In an optional implementation, determining whether to recycle the activation code based on the verification result includes: if the software usage device meets the activation conditions, activating the target software based on the activation code; if the software usage device does not meet the activation conditions, reclaiming the activation code.
[0012] In an optional implementation, based on the existing serial number and the software serial number, verifying whether the software usage device meets the activation condition, and judging whether to recycle the activation code based on the verification result, and updating the number of available nodes under the software serial number based on the judgment result, including: if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; the activation code is recycled, and the number of available nodes under the software serial number increases.
[0013] In an optional implementation, some or all of the nodes under the software serial number are activated to obtain activation codes corresponding to the nodes, including: based on the software serial number, obtaining the number of remaining available nodes under the software serial number; if the number of activated nodes is less than or equal to the number of remaining available nodes, obtaining an activation code corresponding to the machine code of the device currently using the software.
[0014] In a second aspect, the present invention provides a device for software serial number management, comprising: a serial number generation module, used to obtain the software serial number of the target software based on the software usage requirements, wherein the software serial number includes: a software version identifier; a serial number activation module, used to activate some or all nodes under the software serial number, and obtain an activation code corresponding to the node, the activation code includes the machine code information of the software usage device, and the node has a corresponding relationship with the machine code of the software usage device after being activated; a serial number verification module, used to verify whether the software usage device meets the activation conditions based on the existing serial number and the software serial number if there is an existing serial number of the target software in the software usage device, and judge whether to recycle the activation code based on the verification result; a serial number update module, used to update the number of available nodes under the software serial number based on the judgment result.
[0015] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for software serial number management of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for software serial number management of the first aspect or any corresponding embodiment thereof.
[0017] By defining software version identifiers, software version activation conditions and activation code recovery, a management process for serial number generation, activation, verification and recovery is formed, which can achieve full-process management of enterprise management platform software; the ordering rules provided to corporate customers are not complicated, reducing customers' understanding costs; at the same time, taking into account the situation of switching installation servers or idle activation codes, serial number recovery can also achieve the recovery of nodes under the serial number, making it more flexible and convenient for corporate customers to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flowchart of the software serial number management method according to the present embodiment is shown;
[0020] Figure 2 A schematic diagram showing the process of activating the software using the device of this embodiment;
[0021] Figure 3 A schematic diagram showing the logic of determining the activation conditions of the software using the device in this embodiment is shown;
[0022] Figure 4 The following is a schematic diagram of the process of activation code recovery in this embodiment;
[0023] Figure 5 An exemplary description of software usage device activation in this embodiment is shown;
[0024] Figure 6 A schematic diagram of the process of generating an activation code in this embodiment is shown;
[0025] Figure 7 A schematic diagram of the structure of a device for software serial number management in this embodiment is shown;
[0026] Figure 8 Another schematic diagram showing the structure of the device for software serial number management in this embodiment;
[0027] Fig. 9 A schematic diagram of the hardware structure of the computer device of this embodiment is shown. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0029] In the current field of software development technology, especially for the development of management platform software that provides services to enterprises, the multi-scenario application needs of enterprise users require that the software licensing method be flexible and diverse. The software licensing scheme for enterprise management platform software applied to the field of enterprise finance, or the field of enterprise business, such as enterprise procurement, enterprise marketing, or enterprise investment, includes: functional module authorization and management object quantity authorization. Functional module authorization enables enterprise users to use part or all of the platform's functions after activating the enterprise management platform software. Management object quantity authorization or node quantity authorization, based on the functional module authorization, allows the enterprise management platform software to add or manage the maximum number of nodes.
[0030] Different enterprise user application scenarios require enterprise management platform software to have different functions, and correspondingly require functional module authorization and node quantity authorization of enterprise management platform software; in addition, some enterprise user business scenarios change, requiring enterprise management platform software to expand from partial function authorization to full function authorization. In related technologies, most serial number management uses simple and crude version replacement and quantity replacement, which easily leads to the invalidation or waste of serial numbers during the validity period of enterprise user software.
[0031] The methods or technologies for serial number management in the related art include: digital signature and authentication, dongle, online activation or cloud serial number management, etc. For cloud serial number management in the related art, the customer sales purchases and obtains the corresponding serial number management according to business requirements, and then enters the serial number for online registration after the software is installed to obtain the available functional modules and number of nodes of the software. This method can flexibly manage serial numbers, but in the face of changes in the business scenarios of corporate customers, when more functional modules or more nodes need to be expanded, this management method can only achieve functional upgrades on the basis of the original business, and cannot achieve the accumulation of the number of nodes, which is easy to cause the customer's original serial number to be wasted during the validity period, and add additional costs to the customer.
[0032] For online activation in related technologies, the customer sales places an order based on the business situation, and the manufacturer generates a unique activation code based on the order information and server information provided by the customer and provides it to the user. The user then verifies the activation code online after the software is installed. This method can meet the user's multiple application scenarios without wasting the number of nodes, and can achieve the accumulation of the number of nodes during function expansion or iteration. However, this requires the user to choose a scenario that matches the actual on-site situation when placing an order, and the user's order rules are too high, that is, providing order rules for each version switch, which will cause additional management burden on the user.
[0033] According to an embodiment of the present disclosure, a method embodiment for software serial number management is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] In this embodiment, a method for managing software serial numbers is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers or computer processors, etc. Figure 1 FIG. 4 shows a flowchart of a method for managing software serial numbers according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0035] Step S101, based on software usage requirements, obtaining a software serial number of a target software, wherein the software serial number includes: a software version identifier.
[0036] In this embodiment, the serial number (License) is the unique identification of the software, which consists of numbers or letters. The serial number is set by the software developer in order to manage and distinguish products, and each serial number is unique. For the enterprise management platform software, its complete functional modules include: a first module, a second module and a third module, wherein the first module, the second module and the third module can be oriented to different application scenarios. The disclosed embodiment only takes the example that the complete functional module of the enterprise management platform software includes three parts to illustrate this method. In the actual application scenario, the enterprise management platform software may include a multi-functional module. According to the application scenario, the enterprise management platform software, i.e., the target software, can be divided into the first version, the second version, the third version, the fourth version, the fifth version, the sixth version, and the seventh version. The first version includes the first module; the second version includes the second module; the third version includes the third module; the fourth version includes the first module and the second module, which can realize the functions of the first module and the second module; the fifth version includes the first module and the third module, which can realize the functions of the first module and the third module; the sixth version includes the second module and the third module, which can realize the functions of the second module and the third module; the seventh version includes the first module, the second module, and the third module, which can realize the functions of the first module and the second module, and can also realize the functions of the third module. The first software function level of the target software includes: the first version, the second version, and the third version; the second software function level includes: the fourth version, the fifth version, and the sixth version; the third software function level includes: the seventh version.
[0037] In this way, by distinguishing software versions according to application scenarios and adding software version information in the enterprise management platform software user ordering system, users can flexibly choose software versions to place orders according to business requirements.
[0038] Step S103, activate some or all nodes under the software serial number, and obtain activation codes corresponding to the nodes. The activation codes include machine code information of the software use device. After the nodes are activated, they have a corresponding relationship with the machine code of the software use device.
[0039] In this embodiment, the activation code is a set of character sequences used to activate the software. For multiple nodes purchased by an enterprise user in one order, they can be allocated and used in multiple projects. A software serial number includes multiple nodes. After the enterprise user obtains the software serial number, he can select the number of nodes to be activated according to business needs and obtain the activation code corresponding to the node. The same serial number can be activated and used multiple times according to actual needs. The activation code is bound to the machine code of the device that uses the software using the activation code.
[0040] Step S105: if the software usage device has an existing serial number of the target software, verify whether the software usage device meets the activation condition based on the existing serial number and the software serial number, and determine whether to recycle the activation code based on the verification result.
[0041] If the enterprise management platform software has been activated in the software usage device, the software usage device will have an existing serial number of the target software. It is necessary to determine whether the current software usage device meets the activation conditions based on the existing serial number and the software serial number. If the activation conditions are met, the target software is upgraded and activated in the software usage device; if the activation conditions are not met, the activation failure and the reason for the failure will be prompted, and the enterprise user will be prompted to recycle the activation code.
[0042] Step S107: updating the number of available nodes under the software serial number based on the determination result.
[0043] If the software usage device meets the activation conditions, after the target software is activated in the software usage device, it is determined that the activation code will not be recycled, and the number of nodes under the software serial number will decrease; if the software usage device does not meet the activation conditions and the enterprise user chooses to recycle the activation code, then after the activation code is recycled, the number of nodes under the software serial number will increase.
[0044] The method for software serial number management provided in this embodiment forms a management process of serial number generation, activation, verification and recovery by defining software version identifiers, software version activation conditions and activation code recovery, and can realize the full process management of enterprise management platform software; the target software is divided into different versions based on the user's software usage requirements, and the user selects the corresponding software version based on the usage requirements during the ordering process, and there is no need to provide order rules for each version switch. The order rules provided to enterprise customers are simple, reducing the customer's understanding cost; at the same time, the activation nodes under the serial number correspond to the target software usage devices one by one. In the case of switching the installation server or the software usage device being idle, the occupied nodes under the serial number can also be released through serial number recovery, which not only realizes the dynamic management of the target software serial number, but also makes the use of enterprise customers more flexible and convenient.
[0045] In some optional embodiments, before obtaining the software serial number, it also includes: determining different software version types of the target software, the software version type includes: a software version identifier and a software function level; each software function level includes at least one software version identifier; the software function level includes multiple layers, the priority of the first software function level is lower than the priority of other software function levels, and the priority of the second software function level is higher than the priority of the first software function level.
[0046] In this embodiment, combined with the content in step S101, the software version identifiers included in the first software function level are: the first version, the second version and the third version; the software version identifiers included in the second software function level are: the fourth version, the fifth version and the sixth version; the software version identifiers included in the third software function level are: the seventh version. The priority of the first software function level is lower than the priority of the second software function level, the priority of the first software function level is lower than the priority of the third software function level, the priority of the second software function level is lower than the priority of the third software function level, the priority of the third software function level is higher than the priority of the first software function level, and the priority of the third software function level is higher than the priority of the second software function level, that is, the priority of the current software function level is lower than the priorities of all subsequent software function levels.
[0047] The target software user selects information such as software version type, number of nodes and maintenance years in the ordering system according to business requirements, generates an order number based on the aforementioned information, and obtains the software serial number based on the order number. After the target software user completes the order payment, the aforementioned software serial number can be obtained.
[0048] By setting the software function level, the foundation is laid for the logical judgment of software serial number management. It can be applied to complex scenarios of enterprise management platform software function expansion, avoiding the complexity of ordering rules and saving time and money.
[0049] In some optional implementations, whether the software usage device meets the activation conditions is checked based on the existing serial number and the software serial number, including: if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the software usage device meets the activation conditions; if the software version identifier in the software serial number is different from the software version identifier in the existing serial number, whether the software usage device meets the activation conditions is checked based on the software function level.
[0050] Figure 2 FIG. 2 shows a schematic diagram of the process of activating the software using the device of this embodiment. Figure 2As shown, in this embodiment, after obtaining the activation code corresponding to the node, it is necessary to determine the validity of the software serial number. If the software serial number is valid, determine whether there is an existing serial number. If there is an existing serial number, verify whether the software usage device meets the activation conditions based on the existing serial number and the software serial number. If the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the number of nodes belonging to the same version increases. The software usage device meets the activation conditions, the enterprise management platform software is upgraded and activated on the software usage device, the number of enterprise management platform software usage is superimposed, and the activation is successful. The activation code and the software usage device node corresponding to the activation code are marked as used. The software usage device does not meet the activation conditions, and it is prompted that it cannot be activated. The reason for the inactivation is: version incompatibility.
[0051] In some optional embodiments, checking whether a software usage device meets activation conditions based on the software function level includes: if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the software usage device meets the activation conditions; if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation conditions; if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation conditions.
[0052] Figure 3 FIG. 2 shows a schematic diagram of the judgment logic of the software usage device activation condition in this embodiment. Figure 3 As shown, the first version and the second version at the same software function level cannot be upgraded but can be directly replaced, and the number of nodes under the software serial number cannot be accumulated; the software function level with a higher priority cannot be downgraded to the software function level with a lower priority; the first version of the target software at the first software function level can be upgraded to the fourth version at the second software function level, and the first version of the target software at the first software function level can also be upgraded to the seventh version at the third software function level; similarly, the second version of the target software can also be upgraded to the fourth version or the seventh version.
[0053] In this embodiment, if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number. For example, the software version identifier in the software serial number is the fourth version, and the software version identifier in the existing serial number is the first version, the fourth version belongs to the second software function level, the first version belongs to the first software function level, and the software function level of the fourth version is higher than the software function level of the first version, the software use device can be expanded from the first version to the fourth version. In this way, the needs of enterprise customers for software function expansion from low versions to high versions can be met.
[0054] If the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number. For example, the software version identifier in the software serial number is the first version, and the software version identifier in the existing serial number is the second version, and both the first version and the second version belong to the first software function level, the software usage device does not meet the activation condition.
[0055] If the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number. For example, the software version identifier in the software serial number is the first version, and the software version identifier in the existing serial number is the fifth version, the first version belongs to the first software function level, and the fifth version belongs to the second software function level. The software function level of the first version is lower than the software function level of the fifth version, and the software usage device does not meet the activation conditions. In this way, upgrades between different versions of the target software can be achieved.
[0056] In some optional implementations, determining whether to recycle the activation code based on the verification result includes: if the software usage device meets the activation conditions, activating the target software based on the activation code; if the software usage device does not meet the activation conditions, reclaiming the activation code.
[0057] In an optional implementation, after the activation code is recycled and the number of available nodes under the software serial number increases, it also includes: recycling the activation code, unbinding the machine code of the software usage device corresponding to the activation code from the target node under the software serial number, and when the target node is activated again, obtaining the current activation code corresponding to the target node, the current activation code includes the machine code information of the current software usage device, and the current activation code is different from the activation code before the target node is activated again. In this way, by reusing the recycled activation code, the enterprise management platform software can be installed and uninstalled on different software usage devices, which not only provides convenience for users, reduces the waste of software serial numbers, but also realizes strict management of software serial numbers.
[0058] Figure 4 FIG. 2 shows a schematic diagram of the process of activation code recovery in this embodiment. Figure 4 As shown, in this embodiment, based on the serial number, it is determined whether the serial number is correct and within the validity period, and whether the activation code has been used. If the activation code has been used, the enterprise customer is prompted that the activation code has been used. If recycling will cause the enterprise management platform software to be unusable, whether to confirm the recycling. If the customer chooses to continue recycling, the activation code will be forcibly recycled, and the activation code will be unbound from the machine code of the device using the activation code. The node corresponding to the software serial number is "available", and the activation code is equivalent to being expired; if the activation code has not been used, the enterprise customer is prompted to confirm the recycling. If the recycling is confirmed, the activation code will be unbound from the machine code of the device using the activation code, and the activation code will be invalid.
[0059] In some optional implementations, whether the software usage device meets the activation conditions is verified based on the existing serial number and the software serial number, and whether to recycle the activation code is determined based on the verification result, and the number of available nodes under the software serial number is updated based on the determination result, including: if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; the activation code is recycled, and the number of available nodes under the software serial number increases.
[0060] In this embodiment, if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced. For example, if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, both are the first version, the number of nodes belonging to the same version increases. In this way, in the face of changes in the business scenarios of enterprise customers, when more nodes need to be expanded, the number of nodes can be accumulated.
[0061] If the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced. For example, if the software version identifier in the software serial number is the seventh version and the software version identifier in the existing serial number is the first version, the software version in the software using device can be upgraded to the seventh version, realizing software function expansion.
[0062] If the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged. For example, if the software version identifier in the software serial number is the first version and the software version identifier in the existing serial number is the second version, the first version and the second version belong to the same software function level, the first version and the second version cannot be upgraded and can only be directly replaced, and the number of nodes cannot be accumulated.
[0063] If the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged. For example, if the software version identifier in the software serial number is the first version and the software version identifier in the existing serial number is the seventh version, it cannot be downgraded from a software function level with a higher priority to a software function level with a lower priority, and the number of nodes cannot be accumulated. If downgrade processing is required, the target software needs to be reinstalled. In actual application, the seventh version includes the functions of the first version of the target software and does not require downgrade processing.
[0064] Recycling the activation code will increase the number of available nodes under the software serial number. After the activation code is recycled, the number of remaining nodes of the software serial number will increase by the number of nodes corresponding to the activation code. In this way, if the enterprise management platform software needs to be deployed on a new device, or the new activation code cannot adapt to the function expansion of the original version, the activation code can be recycled to avoid wasting the number of nodes under the software serial number.
[0065] Figure 5 FIG. 2 shows an exemplary description of software usage device activation in this embodiment. Figure 5 As shown, in the first case, under the existing serial number, the number of original nodes is a, and the software version identifier is the first version or the second version; under the software serial number, the number of newly added nodes is b, and the software version identifier is the fourth version, then the software uses the device, the software version identifier is the fourth version, and the number of target software nodes is a+b. In the second case, under the existing serial number, the number of original nodes is a+b, and the software version identifier is the fourth version; under the software serial number, the number of newly added nodes is c, and the software version identifier is the first version or the second version, then the software uses the device, the software version identifier is the fourth version, and the number of target software nodes is c, and activation upgrade is not supported. In the third case, under the existing serial number, the number of original nodes is a+b, and the software version identifier is the fourth version; under the software serial number, the number of newly added nodes is c, and the software version identifier is the fourth version, then the software uses the device, the software version identifier is the fourth version, and the number of target software nodes is a+b+c.
[0066] In some optional implementations, some or all nodes under the software serial number are activated to obtain activation codes corresponding to the nodes, including: based on the software serial number, obtaining the remaining number of available nodes under the software serial number; if the number of activated nodes is less than or equal to the remaining number of available nodes, obtaining the activation code corresponding to the machine code of the device currently using the software.
[0067] Figure 6 FIG. 2 shows a flow chart of the method for generating an activation code in this embodiment. Figure 6 As shown, in this embodiment, the software serial number is within the validity period, and the remaining number of available nodes under the software serial number is obtained based on the software serial number; it is determined whether the remaining number of available nodes is greater than the number of nodes that need to be activated. When the remaining number of available nodes is greater than the number of nodes that need to be activated, an activation code bound to the machine code of the device using the software is automatically generated; when the remaining number of available nodes is less than or equal to the number of nodes that need to be activated, the activation code cannot be generated, indicating that the number of available nodes is insufficient.
[0068] In the present embodiment, a device for software serial number management is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0069] Figure 7 The structure diagram of the device for managing software serial numbers in this embodiment is shown in FIG. This embodiment provides a device for managing software serial numbers, such as Figure 7 As shown, including:
[0070] The serial number generation module 501 is used to obtain the software serial number of the target software based on the software usage requirement, wherein the software serial number includes: a software version identifier.
[0071] The serial number activation module 502 is used to activate some or all nodes under the software serial number and obtain the activation code corresponding to the node. The activation code includes the machine code information of the software use device. After the node is activated, it has a corresponding relationship with the machine code of the software use device.
[0072] The serial number verification module 503 is used to verify whether the software usage device meets the activation conditions based on the existing serial number and the software serial number if the software usage device has an existing serial number of the target software, and determine whether to recycle the activation code based on the verification result.
[0073] The serial number updating module 504 is used to update the number of available nodes under the software serial number based on the determination result.
[0074] In this embodiment, Figure 8 Another schematic diagram of the device structure for software serial number management in this embodiment is shown. Figure 8 The target software user places an order and generates an order number; a serial number generation system generates a serial number; a serial number activation system generates an activation code; a serial number verification system; and a serial number recovery system. The specific functional description is the same as the corresponding embodiment above, and will not be repeated here.
[0075] In some optional embodiments, the aforementioned device for serial number management further includes: a software version division module 500, used to determine different software version types of the target software, the software version type including: a software version identifier and a software function level; each software function level includes at least one software version identifier; the software function level includes multiple layers, the priority of the first software function level is lower than the priority of other software function levels, and the priority of the second software function level is higher than the priority of the first software function level.
[0076] In some optional implementations, the serial number verification module 503 includes: a first verification unit, configured to verify that the software usage device meets the activation condition if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number. A second verification unit, configured to verify whether the software usage device meets the activation condition based on the software function level if the software version identifier in the software serial number is different from the software version identifier in the existing serial number.
[0077] In some optional embodiments, the second verification unit includes: a second verification first subunit, used to verify that the software usage device meets the activation condition if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number.
[0078] The second verification second subunit is used to determine that if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the software use device does not meet the activation condition.
[0079] The second verification third subunit is used to determine that the software usage device does not meet the activation condition if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number.
[0080] In some optional implementations, the serial number verification module 503 further includes: a third verification unit, configured to activate the target software based on the activation code if the software usage device meets the activation conditions; and to recycle the activation code if the software usage device does not meet the activation conditions.
[0081] In some optional embodiments, the serial number update module 504 includes: a first update unit, which is used to reduce the number of available nodes under the software serial number if the software version identifier in the software serial number is the same as the software version identifier in the existing serial number. A second update unit, which is used to reduce the number of available nodes under the software serial number if the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number. A third update unit, which is used to keep the number of available nodes under the software serial number unchanged if the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number. A fourth update unit, which is used to keep the number of available nodes under the software serial number unchanged if the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number. A fifth update unit, which is used to recover the activation code and increase the number of available nodes under the software serial number.
[0082] In some optional implementations, the serial number activation module 502 includes: based on the software serial number, obtaining the number of remaining available nodes under the software serial number; if the number of activated nodes is less than or equal to the number of remaining available nodes, obtaining an activation code corresponding to the machine code of the device currently using the software.
[0083] By defining software version identifiers, software version activation conditions and activation code recovery, a management process for serial number generation, activation, verification and recovery is formed, which can achieve full-process management of enterprise management platform software; the ordering rules provided to corporate customers are not complicated, reducing customers' understanding costs; at the same time, taking into account the situation of switching installation servers or idle activation codes, serial number recovery can also achieve the recovery of nodes under the serial number, making it more flexible and convenient for corporate customers to use.
[0084] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0085] The device for software serial number management in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0086] The embodiment of the present invention also provides a computer device having the above Figure 7 The device shown is used for software serial number management.
[0087] See also Fig. 9 , Fig. 9FIG. 1 is a schematic diagram showing the structure of a computer device provided by this optional embodiment. Fig. 9 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.
[0088] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0089] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0090] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0091] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0092] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0093] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0094] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0095] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0096] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for software serial number management, characterized in that: The method comprises: Based on the software usage requirements, obtaining a software serial number of the target software, wherein the software serial number includes: a software version identifier; Activate some or all nodes under the software serial number to obtain activation codes corresponding to the nodes, the activation codes include machine code information of the software usage device, and after the nodes are activated, they have a corresponding relationship with the machine code of the software usage device; If the software usage device has an existing serial number of the target software, verifying whether the software usage device meets the activation condition based on the existing serial number and the software serial number, and determining whether to recycle the activation code based on the verification result; The number of available nodes under the software serial number is updated based on the determination result.
2. The method according to claim 1, characterized in that Before obtaining the software serial number, the following steps are also included: Determining different software version types of the target software, the software version type comprising: the software version identifier and the software function level; Each of the software functional levels includes at least one software version identifier; The software function level includes multiple levels, the priority of the first software function level is lower than the priorities of other software function levels, and the priority of the second software function level is higher than the priority of the first software function level.
3. The method according to claim 2, characterized in that Verifying whether the software usage device meets the activation condition based on the existing serial number and the software serial number includes: If the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the software usage device meets the activation condition; If the software version identifier in the software serial number is different from the software version identifier in the existing serial number, it is checked whether the software usage device meets the activation condition based on the software function level.
4. The method according to claim 3, verifying whether the software usage device meets the activation condition based on the software function level comprises: If the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the software usage device meets the activation condition; If the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation condition; If the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the software usage device does not meet the activation condition.
5. The method according to any one of claims 1 or 2 or 3 or 4, characterized in that: Determining whether to recycle the activation code based on the verification result includes: If the software usage device meets the activation condition, the target software is activated based on the activation code; If the software usage device does not meet the activation conditions, the activation code is recovered.
6. The method according to claim 4, characterized in that Verifying whether the software usage device meets the activation condition based on the existing serial number and the software serial number, and judging whether to recycle the activation code based on the verification result, and updating the number of available nodes under the software serial number based on the judgment result, including: If the software version identifier in the software serial number is the same as the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; If the software function level represented by the software version identifier in the software serial number is higher than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number is reduced; If the software function level represented by the software version identifier in the software serial number is the same as the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; If the software function level represented by the software version identifier in the software serial number is lower than the software function level represented by the software version identifier in the existing serial number, the number of available nodes under the software serial number remains unchanged; The activation code is recycled, and the number of available nodes under the software serial number increases.
7. The method according to claim 1, characterized in that Activate some or all nodes under the software serial number to obtain activation codes corresponding to the nodes, including: Based on the software serial number, obtain the number of remaining available nodes under the software serial number; If the number of activated nodes is less than or equal to the number of remaining available nodes, an activation code corresponding to the machine code of the device currently using the software is obtained.
8. A device for software serial number management, characterized in that: The device comprises: A serial number generation module is used to obtain a software serial number of a target software based on software usage requirements, wherein the software serial number includes: a software version identifier; A serial number activation module, used to activate some or all nodes under the software serial number, and obtain an activation code corresponding to the node, wherein the activation code includes machine code information of a software use device, and after the node is activated, it has a corresponding relationship with the machine code of the software use device; A serial number verification module is used to verify whether the software usage device meets the activation condition based on the existing serial number and the software serial number if there is an existing serial number of the target software in the software usage device, and determine whether to recycle the activation code based on the verification result; The serial number updating module is used to update the number of available nodes under the software serial number based on the judgment result.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for software serial number management according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for software serial number management according to any one of claims 1 to 7.
