CN112632480A - Product license updating method and device, electronic equipment and storage medium - Google Patents

Product license updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112632480A
CN112632480A CN202110003448.9A CN202110003448A CN112632480A CN 112632480 A CN112632480 A CN 112632480A CN 202110003448 A CN202110003448 A CN 202110003448A CN 112632480 A CN112632480 A CN 112632480A
Authority
CN
China
Prior art keywords
product
target user
historical
data
product license
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110003448.9A
Other languages
Chinese (zh)
Inventor
龚铭
廖凌浩
彭红艳
霍力军
李发科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202110003448.9A priority Critical patent/CN112632480A/en
Publication of CN112632480A publication Critical patent/CN112632480A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • Multimedia (AREA)
  • Development Economics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a product license updating method, a product license updating device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring historical product permission data and product permission application data of a target user; judging whether the historical product permission data contains product permission data corresponding to the target user or not; and when the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user. The product license application method updates the product license data corresponding to the target user based on the product license application data, determines the product license data of the target user, changes the product use license in time to maintain the labor value of a product provider, and ensures the normal use rights and interests of a purchasing user; an effective and flexible license updating mode is provided, and the real-time performance and the stability of the license changing processing process are improved.

Description

Product license updating method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a product license updating method and device, electronic equipment and a storage medium.
Background
In order to guarantee the legitimate interest of the enterprise producing the software products, a license is generated for each product sold and for the usage rights of each product. The license is used for preventing the user from illegally using the product, and the loss of the enterprise benefit is avoided. In the prior art, when permission is changed, an enterprise needs to design a set of authorization logic for products corresponding to the permission change and different use authorities of the same product, the authorization mode not only consumes long time, but also has large repeated workload, can cause waste of manpower and material resources, and further can not ensure the efficiency of permission and update of the product.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for updating product license, an electronic device, and a storage medium, which solve the problem of low product license updating efficiency in the prior art.
According to a first aspect, an embodiment of the present invention provides a product license updating method, including:
acquiring historical product permission data and product permission application data of a target user;
judging whether the historical product permission data contains product permission data corresponding to the target user or not;
and when the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user.
The product license updating method provided by the embodiment of the invention determines whether to update corresponding historical product license data by judging whether the product license application data of the target user exists in the historical product license data, updates the product license data corresponding to the target user based on the product license application data, determines the product license data of the target user, timely changes the product use license so as to maintain the labor value of a product provider, and ensures the normal use rights and interests of a purchasing user; an effective and flexible license updating mode is provided, and the real-time performance and the stability of the license changing processing process are improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user includes:
extracting the transaction behavior type in the product license application data;
and updating the product license data corresponding to the target user based on the transaction behavior type, and determining the product license data of the target user.
According to the product license updating method provided by the embodiment of the invention, the product license data corresponding to the target user is updated according to the transaction behavior types in different product license application data, and the product license data of the target user is determined; the high efficiency of product license updating is effectively guaranteed, and the instantaneity and the stability of the license change processing process are improved.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the determining the product license data of the target user by updating the product license data corresponding to the target user based on the transaction behavior type includes:
extracting historical authorization carrier information in product license data corresponding to a target user;
determining the purchase type according to the behavior identifier of the purchase behavior;
and updating the product license data corresponding to the target user based on the purchase type and the historical authorized carrier information, and determining the product license data of the target user.
In the product license updating method provided by the embodiment, historical authorization carrier information in product license data corresponding to a target user is extracted; and then determining different purchase types, updating product license data corresponding to the target user according to the implementation of different types and correspondence, and determining the product license data of the target user.
With reference to the second embodiment of the first aspect, in a third embodiment of the first aspect, the type of upscaling comprises: the step of purchasing a product, in which the product license data corresponding to the target user is updated based on the purchase type and the historical authorized carrier information, and the determining of the product license data of the target user includes:
adding association of product information in the product license application data and the historical authorization carrier information;
and correlating historical product information in the product license data corresponding to the target user with the product information to determine the product license data of the target user.
According to the product license updating method provided by the embodiment of the invention, for the identifier of the purchased product, the association between the product information in the product license application data and the historical authorization carrier information is added, the historical product information in the product license data corresponding to the target user and the product information are associated, and the final product license data of the target user is determined.
With reference to the second embodiment of the first aspect, in a fourth embodiment of the first aspect, the type of make-up comprises: the step of determining product license data of the target user by updating the product license data corresponding to the target user based on the purchase type and the historical authorized carrier information includes:
extracting historical product information in historical product license data containing the historical authorization carrier information, wherein the historical product information corresponds to the product information in the product license application data;
and adding the association between the product use limitation information in the product license application data and the historical product information, and determining the product license data of the target user.
According to the product license updating method provided by the embodiment of the invention, for the use permission of the purchased product, historical product information in historical product license data containing the historical authorization carrier information is extracted, the association between the product use limit information in the product license application data and the historical product information is added, and the product license data of a target user is determined; and adding a new use permission to the corresponding product to avoid repeated operation.
With reference to the first implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the determining the product license data of the target user by updating the product license data corresponding to the target user based on the transaction behavior type includes:
extracting historical authorization carrier information in product license data corresponding to a target user;
determining a type of the returned purchase according to the behavior identifier of the returned purchase behavior;
and updating the product permission data corresponding to the target user based on the purchase returning type and the historical authorized carrier information, and determining the product permission data of the target user.
According to the product license updating method provided by the embodiment of the invention, the type of the returned purchase is determined through the identifier of the returned purchase behavior, and then different returned purchase operations are carried out on the corresponding product according to different returned purchase types, so that the accuracy of the result is ensured.
With reference to the fifth embodiment of the first aspect, in the sixth embodiment of the first aspect, the decommissioning type comprises: all and part of the returned purchases, wherein the updating of the product permission data corresponding to the target user based on the returned purchase type and the historical authorized carrier information to determine the product permission data of the target user comprises:
when the purchase quitting type is all purchase quitting, deleting all the historical authorized carrier information and the historical product information related to the historical authorized carrier information, and determining product permission data of the target user;
when the debarkation type is partial debarkation, extracting historical product information in historical product license data containing the historical authorized carrier information, wherein the historical product information corresponds to the product information in the product license application data;
and deleting historical product information associated with the historical authorization carrier information, and determining product license data of the target user.
According to the product license updating method provided by the embodiment of the invention, corresponding purchase retreating operations are carried out by distinguishing all purchase retreats from part purchase retreats, different operations of different behavior types are realized, and the accuracy and the high efficiency of the product license data of the target user are ensured.
With reference to the first embodiment of the first aspect, in a seventh embodiment of the first aspect, the transaction behavior type includes a new purchase behavior,
when the product license data corresponding to the target user does not exist in the historical product license data, determining that the transaction behavior is a new purchase behavior;
and establishing user information corresponding to the target user, associating the user information with the product information, the authorized carrier information and the product use limiting information in the product license application data, and determining the product license data of the target user.
According to the product license updating method provided by the embodiment of the invention, after the transaction behavior is determined to belong to the new purchasing behavior, the corresponding target user and the corresponding operation behavior are directly established, and the operation is simple and convenient.
With reference to the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the determining the product license data of the target user by updating the product license data corresponding to the target user based on the transaction behavior type includes:
determining a permutation type according to the behavior identification of the permutation behavior, wherein the permutation type comprises: a transfer purchase transaction and a change purchase transaction;
when the replacement type is a transfer purchase transaction, splitting the transfer purchase transaction into a purchase returning behavior of a target user and a new purchase behavior of a corresponding user in the product license application data;
and when the replacement type is the exchange purchase transaction, splitting the exchange purchase transaction into a purchase quitting behavior and a new purchase behavior of the target user.
According to the product license updating method provided by the embodiment of the invention, the transaction behaviors are divided into the transfer transaction and the change transaction through the replacement type, the transaction is split, the complex operation is simplified, and the high efficiency of updating is ensured.
With reference to the first aspect, in a ninth implementation manner of the first aspect, the obtaining product license application data of the target user includes:
acquiring request information of a target user, converting the request information and generating a permission application message;
and analyzing the permission application message, and determining product permission application data corresponding to different permission application messages.
The product license updating method provided by the embodiment of the invention uniformly converts different requests, namely, product license application data corresponding to different license application messages can be determined by using a uniform analysis mode; the validity and adaptability of the product license renewal are ensured.
With reference to the first aspect, in a tenth implementation manner of the first aspect, the updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user includes:
acquiring a historical permission updating result corresponding to the target user, wherein the historical permission updating result represents an updating result of product permission data corresponding to the target user;
judging whether a failure result exists in the historical permission updating result;
when a failure result exists in the historical license updating result, marking the updating result of the product license data corresponding to the target user as failure;
and when the historical license updating result does not have a failure result, updating the product license data corresponding to the target user based on the product license application data, and marking the corresponding updating result as success.
The product license updating method provided by the embodiment of the invention is convenient for filtering and identifying the users with the failed information, and ensures the sequence and the accuracy of the updating process.
According to a second aspect, an embodiment of the present invention provides a product license updating apparatus, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring historical product permission data and product permission application data of a target user;
the first processing module is used for judging whether the historical product permission data contains product permission data corresponding to the target user;
and the second processing module is used for updating the product license data corresponding to the target user based on the product license application data and determining the product license data of the target user when the product license data corresponding to the target user exists in the historical product license data.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, and the processor executing the computer instructions to perform the product license renewal method of the first aspect or any one of the implementation manners of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the product license updating method described in the first aspect or any one of the implementation manners of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow diagram of a product license update method according to an embodiment of the invention;
FIG. 2 is a flowchart for obtaining product license application data for a target user in accordance with a preferred embodiment of the present invention;
FIG. 3 is a flowchart for determining product license data for a target user in accordance with a preferred embodiment of the present invention;
FIG. 4 is another flow diagram for determining product license data for a target user in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of a product license update apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a product license update system provided by an embodiment of the invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In accordance with an embodiment of the present invention, there is provided a product license update method embodiment, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
With the continuous maturity of networks, software can be downloaded on the internet at will. Due to the special product property, the user purchases software and actually purchases corresponding licenses, when the user returns or replaces the product, the licenses held by the user are actually updated, so that the license change requirements caused by three actions of buying, replacing and returning in market transaction can be quickly and effectively adapted, and the license change requirements are fully met in the application scene that various modes such as locks, encrypted files, cloud account numbers and the like are used as authorization carriers.
In the embodiment, a product license updating method is provided, which can be used for electronic devices, such as computers, mobile phones, tablet computers, and the like. Fig. 1 is a flowchart of a product license updating method according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
s11, obtaining historical product license data and product license application data of the target user.
The historical product permission data can be acquired by the electronic equipment directly from the outside or acquired by an image acquisition device in the electronic equipment, and the mode of acquiring the historical product permission data by the electronic equipment is not limited at all, and only the electronic equipment is required to acquire the historical product permission data. Further, the product license application data related to the target user may be data information directly sent to the electronic device by the third party, or may be data information obtained by analyzing an instruction sent by the third party, which is not limited in this embodiment.
S12, it is determined whether or not there is product license data corresponding to the target user in the historical product license data.
Judging whether the historical product permission data contains product permission data corresponding to the target user or not; that is, after the target user information is obtained, it is first determined whether the target user exists in the historical product license data, and after finding the corresponding target user, the corresponding product license data can be extracted.
And S13, when the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user.
When the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user by using the product license application data, and determining the product license data of the target user; and the support to the common transaction behaviors in the transaction process is realized, and the product use permission is changed in time to maintain the labor value of the product provider and ensure the normal use rights and interests of the purchasing users.
Details about this step will be described later.
In the product license updating method provided by this embodiment, whether product license application data of a target user exists in historical product license data is judged, whether corresponding update of the historical product license data is performed is determined, the product license data corresponding to the target user is updated based on the product license application data, the product license data of the target user is determined, product use licenses are changed in time to maintain the labor value of a product provider, and the normal use rights and interests of a purchasing user are ensured; an effective and flexible license updating mode is provided, and the real-time performance and the stability of the license changing processing process are improved.
In the present embodiment, a product license updating method is provided, and fig. 2 is a flowchart of a product license updating method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
s21, obtaining historical product license data and product license application data of the target user.
As an optional implementation manner of this embodiment, the step S21 may include the following steps:
s211, obtaining the request information of the target user, converting the request information and generating the permission application message.
The method comprises the steps of firstly obtaining request information of a target user, and converting the request information to obtain a uniform permission application message as formats and compositions of the request information provided by different systems are possibly different. The user's transaction is completed in the sales system by placing different types of orders, i.e. the permission update can be considered to be triggered on the basis of the placed order, and all entity information involved in the description of the order is used in the transaction activity, i.e. the content of the order can be considered to be a complete information package for the transaction activity. The license application message includes the following contents:
(1) customer information
Purchasing customers of software products on the market fall into two categories:
the user of the product is the customer who buys the product with personal identity;
a user purchasing a product in a business identity. The product user is an employee of the enterprise and needs to designate an administrator for distributing the product to the enterprise employees.
Based on the situation, the client information constructed in the order message of the invention comprises the following steps: name, contact, customer type (person/business), business of belonging, shipping address, administrator name, administrator contact, third party customer number (to identify the customer accessing the external sales system of the system).
(2) Transaction behavior information
Buying, changing and returning are three basic transaction behaviors. Software products, by their very nature, are actually sold with a license to use the product. Therefore, the sale of software products can derive more transaction modes based on the three actions, such as: transferring product rights to others, refunding some of the product rights purchased, converting some of the product rights to other product rights, and so forth.
(3) Authorization carrier information
Assets refer to various authorized carriers of software products, and currently there are authorized carriers on the market: locks, encrypted files, cloud account numbers and codes are classified into four categories, and each category is subdivided into subclasses.
Based on the situation, the authorization carrier information constructed in the order message by the invention comprises the following subdivision types, as shown in table 1.
(4) Product information
During the transaction, some products must be packaged and sold to form a product package along with other products. The product package may be sold in combination with other products or product packages, thus forming a hierarchical inclusion relationship between the products.
Based on the situation, the product information constructed in the order message of the invention comprises: product identification, product name, product type, and parent product package identification.
TABLE 1
Figure BDA0002882659480000101
(5) Product usage restriction information
The right constraint information (product use restriction information) of the product generally includes: the starting and ending time of the use of the product, the machine identification, the account identification and the number of concurrent nodes. In addition to this, some special rights restrictions exist for certain types of products, such as: the number of points of the point products is limited, the size of the space of the network disk products and the size of the uploaded files are limited, the number of group members of the group products is limited, and the like.
The authority constraint information constructed in the order message comprises the following basic constraint information: the system comprises a product, a special permission constraint information module, a product information module and a product information module, wherein the product comprises a set of product characteristic group constraint information and is used for describing the special permission constraint information in addition to the use starting and ending time, the machine identifier, the account identifier and the number of concurrent nodes of the product.
S212, the license application message is analyzed, and product license application data corresponding to different license application messages are determined.
Analyzing the permission application message, and determining product permission application data corresponding to different permission application messages, wherein the client information in the permission application messages is determined: name, contact, customer type (person/business), business of which, shipping address, administrator name, administrator contact; transaction behavior information: newly purchasing, adding purchasing, transferring purchasing, changing purchasing and returning purchasing; of the asset information: asset number and asset subdivision type; product information: product identification, product name, product type, product feature set and father product package identification; permission constraint information: the product comprises the use starting and ending time, the machine identification, the account identification, the number of concurrent nodes and product feature group constraint information. Meanwhile, establishing the relation among various information obtained by analysis, including: the relationship between the customer and the administrator, the relationship between the customer and the asset, the relationship between the asset and the product, the relationship between the product and the product package, and the relationship between the product and the rights constraint.
S22, it is determined whether or not there is product license data corresponding to the target user in the historical product license data.
Please refer to S12 in fig. 1, which is not described herein again.
And S23, when the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user.
Please refer to S13 in fig. 1, which is not described herein again.
In the product license updating method provided by this embodiment, whether product license application data of a target user exists in historical product license data is judged, whether corresponding update of the historical product license data is performed is determined, the product license data corresponding to the target user is updated based on the product license application data, the product license data of the target user is determined, product use licenses are changed in time to maintain the labor value of a product provider, and the normal use rights and interests of a purchasing user are ensured; an effective and flexible license updating mode is provided, and the real-time performance and the stability of the license changing processing process are improved.
In the present embodiment, a product license updating method is provided, and fig. 3 is a flowchart of a product license updating method according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
s31, obtaining historical product license data and product license application data of the target user.
Please refer to S11 in fig. 1, which is not described herein again.
S32, it is determined whether or not there is product license data corresponding to the target user in the historical product license data.
Please refer to S12 in the embodiment shown in fig. 1 or S22 in the embodiment shown in fig. 2, which is not described herein again.
S33, based on the product license application data, the product license data corresponding to the target user is updated, and the product license data of the target user is determined.
As an optional implementation manner of this embodiment, the step S33 may include the following steps:
and S331, extracting the transaction behavior type in the product license application data.
When the product license application data of the target user includes the transaction behavior type corresponding to the application request, various combination scenes of three basic transaction behaviors of buying, changing and returning can occur in the selling process of the software product, and the specific steps can be as follows: the method comprises the following steps of a new purchasing behavior, an adding purchasing behavior, a quitting purchasing behavior and a replacing behavior, wherein the new purchasing behavior is consistent with the existing method, and whether the behaviors are allowed to be executed or not is judged according to a purchaser user (namely a target user). And the product license application data also includes product information, authorization carrier information and product use restriction information.
S332, updating the product license data corresponding to the target user based on the transaction behavior type, and determining the product license data of the target user.
Wherein the essence of the license is: given that certain functions of a certain product are allowed to be used by a certain person under certain conditions, any sales system must contain the following information when selling a software product: user information identifying the purchaser; authorization carrier information identifying credentials for authorization verification when the product is in use; product information identifying a product for sale; permission constraint information for identifying the use condition of the product; the authorization process is as follows: when the product is used, the authorization carrier is taken as a starting point, whether the current product belongs to the current authorization carrier is verified, if not, the use is refused, if so, the use environment of the current product is continuously verified whether accords with the authority constraint information, if not, the use is refused, and if so, the use is allowed.
As described above, the execution process of the authorization permission determination follows that there is an affiliation between the "authorized carrier-product-right constraint", and according to this relationship, the authorized carrier is used as a starting point to sequentially query the relevant information for determination. Meanwhile, the authorization carrier, the product and the authority constraint all belong to the resources possessed by the buyer user. As above, the four information have sequential dependencies, and the four information and their dependencies are recorded in a data structure, where the information contained in the data structure is a permission, and the permission update is an add-delete operation on the four data information in the data structure.
Specifically, when the transaction behavior type is a new purchase behavior, S332 includes the following steps:
(1) and when the product license data corresponding to the target user does not exist in the historical product license data, determining that the transaction behavior is a new purchase behavior.
When the product license data corresponding to the target user does not exist in the historical product license data, determining that the transaction behavior is a new purchase behavior, namely when the target user does not exist in the historical data, determining that the transaction behavior representing the target user is the new purchase behavior.
(2) And establishing user information corresponding to the target user, associating the user information with the product information, the authorized carrier information and the product use limit information in the product license application data, and determining the product license data of the target user.
And after the shopping behavior is determined to be a new shopping behavior, establishing user information corresponding to the target user, associating the user information with the product information, the authorized carrier information and the product use limiting information in the product permission application data, and determining the product permission data of the target user.
Specifically, when the transaction behavior type is the purchase adding behavior, S332 includes the following steps:
and S011, extracting historical authorization carrier information in the product license data corresponding to the target user.
The corresponding client (target user) and the historical authorization carrier information of the client are inquired from the system, and the historical authorization carrier information is extracted.
And S012, determining the purchase type according to the behavior identifier of the purchase behavior.
The behavior identification exists in the purchase behavior information and is used for distinguishing purchase types so as to update the product license data corresponding to different operations according to different purchase types.
And S013, updating the product license data corresponding to the target user based on the purchase type and the historical authorization carrier information, and determining the product license data of the target user.
Specifically, the above S013 may include the following steps:
(1) and when the purchase type is a purchase product, adding the association between the product information in the product license application data and the historical authorization carrier information.
And if the purchasing type is determined to be a purchasing product according to the behavior identifier of the purchasing behavior, the association between the product information in the product license application data and the historical authorization carrier information is added, the limit and extension information of each product is established, then the order is identified as an asset and a product to establish a label, and the established label is mainly used for uniquely distinguishing the order corresponding to each behavior, so that the rapid positioning and searching in the subsequent updating process are facilitated.
(2) And correlating historical product information and product information in the product license data corresponding to the target user to determine the product license data of the target user.
After the historical product information and the data related to the product information in the product license data corresponding to the target user are obtained, the product license data of the target user can be determined, and then the license data of the purchase adding behavior is updated.
(3) And when the purchase type is the purchase product use right, extracting historical product information in the historical product permission data containing the historical authorization carrier information, wherein the historical product information corresponds to the product information in the product permission application data.
And when the purchase type is the purchase product use right, extracting historical product information in the historical product license data containing the historical authorization carrier information, wherein the product information in the product license application data is consistent with the historical product information.
(4) And adding the association between the product use limitation information and the historical product information in the product license application data, and determining the product license data of the target user.
And adding the association between the product use limit information in the product license application data and the historical product information, determining the product license data of the target user, adding the limit and extension information of the product to the specified product under the product information, and establishing a label for the asset and the product by taking the order as the identifier.
Specifically, when the transaction behavior type is a back-purchase behavior, S332 includes the following steps:
and S021, extracting historical authorization carrier information in the product license data corresponding to the target user.
And extracting historical authorization carrier information in the product license data corresponding to the current target user to determine an operation object.
And S022, determining the type of the returned purchase according to the behavior identification of the returned purchase behavior.
The behavior identification of behavior of utilizing returning the purchase, only sign returning the purchase type, wherein the type of returning the purchase includes: full and partial repurchase.
S023, updating the product license data corresponding to the target user based on the purchase quitting type and the historical authorized carrier information, and determining the product license data of the target user.
Specifically, S023 may include the following steps:
(1) and when the type of the back purchase is all back purchases, deleting all the historical authorized carrier information and the historical product information associated with the historical authorized carrier information, and determining the product permission data of the target user.
If the type of the back purchase belongs to the total back purchase, all products of the assets (historical authorized carrier information) and the assets are deleted, and the product permission data of the final target user is determined.
(2) And when the type of the returned purchase is partial returned purchase, extracting historical product information in the historical product permission data containing the historical authorized carrier information, wherein the historical product information corresponds to the product information in the product permission application data.
If the type of the back-order belongs to a partial back-order product or is a function point of a certain product, a partial product associated with the asset (historical authorized carrier information) is acquired.
(3) And deleting the historical product information associated with the historical authorization carrier information, and determining the product license data of the target user.
Deleting the historical product information associated with the historical authorization carrier information, and determining the product license data of the target user
Specifically, when the transaction behavior type is a replacement behavior, S332 includes the following steps:
s031, determining a permutation type according to the behavior identifier of the permutation behavior, where the permutation type includes: a transfer purchase transaction and a change purchase transaction.
Each transaction behavior has a corresponding behavior identifier, wherein the behavior identifier of the permutation behavior determines a permutation type, and each permutation type comprises: a transfer purchase transaction and a change purchase transaction.
And S032, when the replacement type is a transfer purchase transaction, splitting the transfer purchase transaction into a purchase quitting behavior of the target user and a new purchase behavior of the corresponding user in the product permission application data.
And when the replacement type is the transfer purchase transaction, splitting the transfer purchase transaction into the purchase quitting behavior of the target user and the new purchase behavior of the corresponding user in the product permission application data. Namely, the transaction is divided into the transaction of returning purchase of the old customer and the transaction of new purchase of the new customer, the transaction processing of returning purchase of the old customer is executed as the transaction process of returning purchase, and the transaction of new purchase of the new customer is executed as the transaction process of new purchase.
And step 033, when the replacement type is a trade-in transaction, splitting the trade-in transaction into a trade-off behavior and a new-buying behavior of the target user.
When the replacement type is the exchange purchase transaction, the exchange purchase transaction is divided into the purchase quitting behavior and the new purchase behavior of the target user. Splitting the transaction into: the original customer's repurchase transaction and the original customer's new purchase transaction, the original customer's repurchase transaction processing is executed as the above-mentioned repurchase transaction process, and the original customer's new purchase transaction is executed as the above-mentioned new purchase transaction process.
In the present embodiment, a product license updating method is provided, and fig. 4 is a flowchart of a product license updating method according to an embodiment of the present invention, as shown in fig. 4, the flowchart includes the following steps:
s41, obtaining historical product license data and product license application data of the target user.
Please refer to S11 in fig. 1, which is not described herein again.
S42, it is determined whether or not there is product license data corresponding to the target user in the historical product license data.
Please refer to S12 in fig. 1, which is not described herein again.
S43, based on the product license application data, the product license data corresponding to the target user is updated, and the product license data of the target user is determined.
As an optional implementation manner of this embodiment, the step S43 may include the following steps:
and S431, acquiring a historical permission updating result corresponding to the target user.
And acquiring a historical license updating result corresponding to the target user, wherein the historical license updating result represents an updating result of the product license data corresponding to the target user. The various updates may be classified according to the update results.
S432, judging whether the history permission updating result has a failure result.
And judging whether a failure result exists in all historical permission updating results. If the results of successful updating and the results of failed updating are stored in a classified mode, whether the target user exists can be searched in the list of the results of failed updating, and efficiency is improved.
And S433, when a failure result exists in the historical license updating result, marking the updating result of the product license data corresponding to the target user as failure.
And when a failure result exists in the historical license updating result, marking the updating result of the product license data corresponding to the target user as failure. Namely, as long as the current target user has failure updating, the target user is not operated any more, the user is reminded to process the failure order, the order of the flow is ensured, and the accuracy is improved.
S434, when there is no failure result in the historical license update result, updating the product license data corresponding to the target user based on the product license application data, and marking the corresponding update result as success.
In the product license updating method provided by this embodiment, whether product license application data of a target user exists in historical product license data is judged, whether corresponding update of the historical product license data is performed is determined, the product license data corresponding to the target user is updated based on the product license application data, the product license data of the target user is determined, product use licenses are changed in time to maintain the labor value of a product provider, and the normal use rights and interests of a purchasing user are ensured; the method and the device are convenient for filtering and identifying the users with the failed information, ensure the sequence and accuracy of the updating process, provide an effective and flexible license updating mode, and improve the instantaneity and stability of the license change processing process.
In this embodiment, a product license updating apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides a product license updating apparatus, as shown in fig. 5, including: the system comprises a first acquisition module 1, a first storage module and a second acquisition module, wherein the first acquisition module is used for acquiring historical product permission data and product permission application data of a target user; the first processing module 2 is used for judging whether the historical product permission data contains product permission data corresponding to the target user; and the second processing module 3 is configured to, when product license data corresponding to the target user exists in the historical product license data, update the product license data corresponding to the target user based on the product license application data, and determine the product license data of the target user.
As shown in fig. 6, the present embodiment provides a product license updating system, wherein the production module: corresponding to the generation method of the permission application message, a certain visual method is adopted to fill in data and generate the permission application message constructed by the invention.
A conversion module: the conversion method corresponding to the product license application data is used for converting order data of various existing software sales systems in the market into corresponding unified product license application data.
A ordering module: corresponding to each step of the product license updating method, the method is used for analyzing the license application message (order message), storing each order message in the order queue according to the time sequence, and executing the corresponding order placing action to complete the updating of the license. It includes a plurality of sub-transaction modules: the purchase transaction processing module is used for processing orders corresponding to the transaction types.
The product license renewal means in this embodiment is presented in the form of functional units, where a unit refers to an ASIC circuit, a processor and memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functionality.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides an electronic device, which has the product license updating apparatus shown in fig. 5.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 7, the electronic device may include: at least one processor 601, such as a CPU (Central Processing Unit), at least one communication interface 603, memory 604, and at least one communication bus 602. Wherein a communication bus 602 is used to enable the connection communication between these components. The communication interface 603 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 603 may also include a standard wired interface and a standard wireless interface. The Memory 604 may be a high-speed RAM (Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 604 may optionally be at least one storage device located remotely from the processor 601. Wherein the processor 601 may be in connection with the apparatus described in fig. 5, an application program is stored in the memory 604, and the processor 601 calls the program code stored in the memory 604 for performing any of the above-mentioned method steps.
The communication bus 602 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 602 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The memory 604 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 604 may also comprise a combination of the above types of memory.
The processor 601 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 601 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 604 is also used for storing program instructions. Processor 601 may invoke program instructions to implement the product license update method as shown in the embodiments of fig. 1, 2, 3 and 4 of the present application.
Embodiments of the present invention further provide a non-transitory computer storage medium, where a computer-executable instruction is stored in the computer storage medium, and the computer-executable instruction may execute the product license updating method in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
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 invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (14)

1. A product license updating method, comprising:
acquiring historical product permission data and product permission application data of a target user;
judging whether the historical product permission data contains product permission data corresponding to the target user or not;
and when the product license data corresponding to the target user exists in the historical product license data, updating the product license data corresponding to the target user based on the product license application data, and determining the product license data of the target user.
2. The method according to claim 1, wherein the updating the product license data corresponding to the target user based on the product license application data to determine the product license data of the target user comprises:
extracting the transaction behavior type in the product license application data;
and updating the product license data corresponding to the target user based on the transaction behavior type, and determining the product license data of the target user.
3. The method according to claim 2, wherein the transaction behavior type includes a purchase adding behavior, and the updating the product license data corresponding to the target user based on the transaction behavior type to determine the product license data of the target user includes:
extracting historical authorization carrier information in product license data corresponding to a target user;
determining the purchase type according to the behavior identifier of the purchase behavior;
and updating the product license data corresponding to the target user based on the purchase type and the historical authorized carrier information, and determining the product license data of the target user.
4. The method of claim 3, wherein the type of subscription comprises: the step of purchasing a product, in which the product license data corresponding to the target user is updated based on the purchase type and the historical authorized carrier information, and the determining of the product license data of the target user includes:
adding association of product information in the product license application data and the historical authorization carrier information;
and correlating historical product information in the product license data corresponding to the target user with the product information to determine the product license data of the target user.
5. The method of claim 3, wherein the type of subscription comprises: the step of determining product license data of the target user by updating the product license data corresponding to the target user based on the purchase type and the historical authorized carrier information includes:
extracting historical product information in historical product license data containing the historical authorization carrier information, wherein the historical product information corresponds to the product information in the product license application data;
and adding the association between the product use limitation information in the product license application data and the historical product information, and determining the product license data of the target user.
6. The method according to claim 2, wherein the transaction behavior type includes a repurchase behavior, and the updating the product license data corresponding to the target user based on the transaction behavior type to determine the product license data of the target user includes:
extracting historical authorization carrier information in product license data corresponding to a target user;
determining a type of the returned purchase according to the behavior identifier of the returned purchase behavior;
and updating the product permission data corresponding to the target user based on the purchase returning type and the historical authorized carrier information, and determining the product permission data of the target user.
7. The method of claim 6, wherein the type of repurchase comprises: all and part of the returned purchases, wherein the updating of the product permission data corresponding to the target user based on the returned purchase type and the historical authorized carrier information to determine the product permission data of the target user comprises:
when the purchase quitting type is all purchase quitting, deleting all the historical authorized carrier information and the historical product information related to the historical authorized carrier information, and determining product permission data of the target user;
when the debarkation type is partial debarkation, extracting historical product information in historical product license data containing the historical authorized carrier information, wherein the historical product information corresponds to the product information in the product license application data;
and deleting historical product information associated with the historical authorization carrier information, and determining product license data of the target user.
8. The method of claim 2, wherein the type of transaction behavior includes a new purchase behavior,
when the product license data corresponding to the target user does not exist in the historical product license data, determining that the transaction behavior is a new purchase behavior;
and establishing user information corresponding to the target user, associating the user information with the product information, the authorized carrier information and the product use limiting information in the product license application data, and determining the product license data of the target user.
9. The method of claim 8, wherein the transaction behavior type comprises a replacement behavior, and wherein updating the product license data corresponding to the target user based on the transaction behavior type to determine the product license data of the target user comprises:
determining a permutation type according to the behavior identification of the permutation behavior, wherein the permutation type comprises: a transfer purchase transaction and a change purchase transaction;
when the replacement type is a transfer purchase transaction, splitting the transfer purchase transaction into a purchase returning behavior of a target user and a new purchase behavior of a corresponding user in the product license application data;
and when the replacement type is the exchange purchase transaction, splitting the exchange purchase transaction into a purchase quitting behavior and a new purchase behavior of the target user.
10. The method of claim 1, wherein the obtaining product license application data of the target user comprises:
acquiring request information of a target user, converting the request information and generating a permission application message;
and analyzing the permission application message, and determining product permission application data corresponding to different permission application messages.
11. The method according to claim 1, wherein the updating the product license data corresponding to the target user based on the product license application data to determine the product license data of the target user comprises:
acquiring a historical permission updating result corresponding to the target user, wherein the historical permission updating result represents an updating result of product permission data corresponding to the target user;
judging whether a failure result exists in the historical permission updating result;
when a failure result exists in the historical license updating result, marking the updating result of the product license data corresponding to the target user as failure;
and when the historical license updating result does not have a failure result, updating the product license data corresponding to the target user based on the product license application data, and marking the corresponding updating result as success.
12. A product license updating apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring historical product permission data and product permission application data of a target user;
the first processing module is used for judging whether the historical product permission data contains product permission data corresponding to the target user;
and the second processing module is used for updating the product license data corresponding to the target user based on the product license application data and determining the product license data of the target user when the product license data corresponding to the target user exists in the historical product license data.
13. A non-transitory computer readable storage medium storing computer instructions that, when executed by a processor, implement the method of any one of claims 1-11.
14. An electronic device, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 1-11.
CN202110003448.9A 2021-01-04 2021-01-04 Product license updating method and device, electronic equipment and storage medium Pending CN112632480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110003448.9A CN112632480A (en) 2021-01-04 2021-01-04 Product license updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110003448.9A CN112632480A (en) 2021-01-04 2021-01-04 Product license updating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112632480A true CN112632480A (en) 2021-04-09

Family

ID=75291327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110003448.9A Pending CN112632480A (en) 2021-01-04 2021-01-04 Product license updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112632480A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112753015A (en) * 2021-03-10 2021-05-04 华为技术有限公司 Method, device, storage medium and chip system for obtaining permission information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757043A (en) * 2003-03-05 2006-04-05 松下电器产业株式会社 Digital content delivery system
CN102422300A (en) * 2009-05-12 2012-04-18 微软公司 Enhanced product functionality based on user identification
US20130144633A1 (en) * 2011-12-01 2013-06-06 Microsoft Corporation Enforcement and assignment of usage rights
CN103186725A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Software authorization method and device
CN103810405A (en) * 2012-11-09 2014-05-21 国际商业机器公司 Methods and apparatus for software license management
CN106991297A (en) * 2017-04-10 2017-07-28 北京深思数盾科技股份有限公司 The management method and system and creation method and system of software license

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757043A (en) * 2003-03-05 2006-04-05 松下电器产业株式会社 Digital content delivery system
CN102422300A (en) * 2009-05-12 2012-04-18 微软公司 Enhanced product functionality based on user identification
US20130144633A1 (en) * 2011-12-01 2013-06-06 Microsoft Corporation Enforcement and assignment of usage rights
CN103186725A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Software authorization method and device
CN103810405A (en) * 2012-11-09 2014-05-21 国际商业机器公司 Methods and apparatus for software license management
CN106991297A (en) * 2017-04-10 2017-07-28 北京深思数盾科技股份有限公司 The management method and system and creation method and system of software license

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭伟;刘坤;肖振久;: "基于动态许可证的无第三方数字版权安全协议", 计算机工程与科学, no. 11, 15 November 2011 (2011-11-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112753015A (en) * 2021-03-10 2021-05-04 华为技术有限公司 Method, device, storage medium and chip system for obtaining permission information
CN112753015B (en) * 2021-03-10 2022-07-29 华为技术有限公司 Method, device, storage medium and chip system for obtaining license information

Similar Documents

Publication Publication Date Title
US9641342B2 (en) Tracking unitization occurring in a supply chain
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
US20160164884A1 (en) Cryptographic verification of provenance in a supply chain
CN111274045B (en) Multi-platform docking method and device, computer equipment and readable storage medium
US11238402B2 (en) Information operation
CN108509806A (en) A kind of big data precision marketing system and equipment with secret protection
CN111651746A (en) Login data processing method, device, equipment and system
CN106776973B (en) Blacklist data generation method and apparatus
CN108428187A (en) Address matching method, apparatus and storage medium
CN112581201A (en) Mobile open platform for industrial interconnection manufacturing and implementation method
CN109345159A (en) A kind of method for writing data and device, equipment, storage medium
CN105187399A (en) Resource processing method and device
CN113205193B (en) Block chain-based waste treatment method, system, equipment and storage medium
CN112632480A (en) Product license updating method and device, electronic equipment and storage medium
CN114049089A (en) Method and system for constructing government affair big data platform
CN106487799A (en) Facility information storage system based on cloud platform
CN107181801B (en) Electronic accessory storage method and terminal
US11195179B2 (en) Detecting cashback and other related reimbursement frauds using blockchain technology
CN111488343A (en) E-commerce data uplink method and device based on business data block chain
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN111212153A (en) IP address checking method, device, terminal equipment and storage medium
CN117009683A (en) Codeword data processing method and device, electronic equipment and storage medium
CN115065682A (en) Product tracing full life cycle management system based on industrial internet identification analysis
CN112000743A (en) Block chain-based renting and selling information recording method, system, server and medium
CN111767322A (en) Method and device for managing offshore oilfield service equipment

Legal Events

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