Automatic user authorization method and system for product opening management
Through the automatic user authorization method, combined with product solution research and semantic permission feature extraction, efficient authorization of product functions is achieved, the problem of low authorization efficiency in the existing technology is solved, and the accuracy and efficiency of authorization are improved.
Patent Information
- Application Number
- CN202411316088.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-10
AI Technical Summary
The existing product function authorization method is triggered by user, resulting in large amounts of authorization work and low efficiency, which can easily lead to authorization debugging errors.
Through product solution research, semantic permission feature extraction, permission feature clustering, functional role division, product role mapping, user role mapping and opening buried triggering, automatic user authorization is achieved, authorization types and workload are reduced, and authorization efficiency is improved.
It improves the efficiency of product function authorization, realizes efficient management and unified authorization of product permissions, reduces the situation of users' separate authorization, and improves the accuracy and efficiency of authorization.
Smart Images

Figure CN119106411A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of identity authorization, and in particular to an automatic user authorization method and system for product activation management. Background Art
[0002] In industries such as telecommunications, finance, and software, some advanced business products that provide specific functions often need to be purchased or activated separately, and a business product often contains multiple functions. Therefore, it is necessary to authorize or activate the product functions for each user separately.
[0003] Most of the existing product function authorization methods are based on user-triggered authorization methods, that is, when a user needs to authorize, all business products subscribed by the user are queried, and the user is authorized according to the product functions corresponding to all business products. In actual applications, the authorization method based on user triggering requires multiple queries and separate authorization for each product function in each business product of each user, which makes the authorization workload large and easily leads to authorization debugging, which may lead to low efficiency in authorizing users for product functions. Summary of the invention
[0004] The present invention provides an automatic user authorization method and system for product activation management, the main purpose of which is to solve the problem of low efficiency in authorizing product functions to users.
[0005] To achieve the above object, the present invention provides an automatic user authorization method for product activation management, comprising:
[0006] Conduct product solution research and solution segmentation for the service product set to be launched to obtain a product solution set;
[0007] Performing semantic permission feature extraction and permission feature clustering operations on the product solution group set to obtain a permission feature class set;
[0008] Performing functional role division on the permission feature set to obtain a permission role set, and performing product role mapping on the business product set according to the permission role set to obtain a role-product mapping table;
[0009] According to the permission role set, the pre-acquired user requirements are subjected to requirement permission extraction and user role mapping to obtain a user role mapping table;
[0010] The service product set is activated and triggered to obtain a trigger activation event, and the service product set is role-triggered and authorized according to the role product mapping table, the user role mapping table and the trigger activation event.
[0011] Optionally, the product solution research and solution segmentation for the service product set to be activated to obtain a product solution set includes:
[0012] Selecting service products in the service product collection to be activated one by one as target service products, and sending the target service products to a preset service department;
[0013] Obtaining the target business plan fed back by the business department for the target business product;
[0014] Perform functional decomposition and scenario demand analysis on the target business solution to obtain a target product demand group;
[0015] Subdividing the target business solution according to the target product demand group to obtain a product solution group;
[0016] The product solution groups of all target business products in the business product set are aggregated into a product solution group set.
[0017] Optionally, performing functional decomposition and scenario requirement analysis on the target business solution to obtain a target product requirement group includes:
[0018] Performing text denoising and text segmentation on the target business solution to obtain a target product word sequence;
[0019] Performing function keyword matching on the target product word sequence to obtain a target product function phrase;
[0020] Splitting the target product word sequence into target function word sequence groups according to the target product function word groups;
[0021] Performing word feature extraction and position coding on the target function word sequence group to obtain a target word coding sequence group;
[0022] Performing self-attention encoding on the target word encoding sequence group to obtain a target product attention feature group;
[0023] The target product attention feature group is self-attention decoded to obtain a target product demand group.
[0024] Optionally, the extracting semantic permission features and clustering permission features of the product solution set to obtain a permission feature set includes:
[0025] Semantically encoding the product solution set to obtain a product solution feature sequence set;
[0026] Performing permission semantic decoding on the product solution feature sequence set to obtain a permission semantic feature set;
[0027] Performing dimensionality reduction feature mapping on the permission semantic feature set using a pre-trained dimensionality reduction mapping model to obtain a product permission feature set;
[0028] Iteratively clustering and updating the product permission feature group set to obtain a reduced-dimensional feature set;
[0029] The dimension reduction mapping model is used to reconstruct and increase the dimension of the reduced-dimensional feature cluster to obtain a permission feature cluster.
[0030] Optionally, before performing dimensionality reduction feature mapping on the permission semantic feature set using a pre-trained dimensionality reduction mapping model to obtain a product permission feature set, the method further includes:
[0031] Perform encoding analysis on the encoder of the preset reconstructed autoencoder model to obtain the encoder function and corresponding encoder parameters;
[0032] Decoding and parsing the decoder of the reconstructed autoencoder model to obtain a decoder function and corresponding decoder parameters;
[0033] Obtaining a training permission semantic feature set corresponding to the reconstructed autoencoder model;
[0034] The reconstruction error of the reconstructed autoencoder model is calculated according to the encoder function, the encoder parameters, the decoder function, the decoder parameters and the training authority semantic feature set using the following reconstruction loss algorithm:
[0035]
[0036] Where L is the reconstruction error, m is the total number of features in the training permission semantic feature set, i is the feature number, ‖‖ is the absolute value symbol, and x i is the ith training authority semantic feature in the training authority semantic feature set, g() is the decoder function, f() is the encoder function, θ1 is the encoder parameter, and θ2 is the decoder parameter;
[0037] The encoder parameters and decoder parameters of the reconstructed autoencoder model are iteratively updated according to the reconstruction error to obtain a dimensionality reduction mapping model.
[0038] Optionally, the iterative clustering update of the product permission feature set to obtain a reduced dimension feature set includes:
[0039] Performing feature center feature screening on each product permission feature group in the product permission feature group set to obtain a primary permission center feature set;
[0040] The permission feature distance between each product permission feature in the product permission feature set and each primary permission center feature in the primary permission center feature set is calculated using the following logarithmic feature distance algorithm:
[0041]
[0042] Where D is the permission feature distance, log2 is the logarithmic function with base 2, j is the feature element index, n is the feature dimension of the product permission feature, and A j is the jth characteristic element of the product permission feature, B j is the jth characteristic element of the primary authority center feature;
[0043] Redistribute each product permission feature to the product permission feature group corresponding to the nearest primary permission center feature according to all permission feature distances in a manner of nearest distribution, and obtain a secondary permission feature group set;
[0044] Performing feature center screening on each secondary authority feature group in the secondary authority feature group set to obtain a secondary authority center feature set;
[0045] Calculating the sum of the authority feature distances between the primary authority center feature set and the corresponding features in the secondary authority center feature set;
[0046] The secondary authority feature set is iteratively updated according to the authority feature distance to obtain a dimension reduction feature set.
[0047] Optionally, performing product role mapping on the business product set according to the permission role set to obtain a role-product mapping table includes:
[0048] Selecting business products in the business product set one by one as target business products, and aggregating the authority roles corresponding to the target business products in the authority role set into a target authority role group;
[0049] Performing role mapping on the target permission role group using the target business product to obtain a product mapping relationship;
[0050] The product mapping relationships of all target business products in the business product set are collected into a role product mapping table.
[0051] Optionally, performing requirement permission extraction and user role mapping on the pre-acquired user requirements according to the permission role set to obtain a user role mapping table includes:
[0052] Extracting user identities from pre-acquired user requirements to obtain a user identity set;
[0053] Demand splitting of the user demands according to the user identity set to obtain a single user demand set;
[0054] Extracting semantic permission features from the single-user requirement set to obtain a requirement permission feature set;
[0055] Selecting the required permission features in the required permission feature set one by one as target required features, collecting the permission roles corresponding to the target required features in the permission role set into a target user role group, and taking the user identities corresponding to the target required features in the user identity set as target user identities;
[0056] Performing role mapping on the target user role group using the target user identity to obtain a user mapping relationship;
[0057] The user mapping relationships of all target user identities in the user identity set are collected into a user role mapping table.
[0058] Optionally, performing role triggering authorization on the service product set according to the role-product mapping table, the user role mapping table and the triggering activation event includes:
[0059] Perform product analysis on the triggering activation event to obtain a triggered service product;
[0060] Perform role mapping on the trigger service product according to the role product mapping table to obtain a trigger role set;
[0061] Perform user mapping on the trigger role set according to the user role mapping table to obtain a trigger user set;
[0062] The triggering user set is authorized according to the triggering role set.
[0063] In order to solve the above problems, the present invention also provides an automatic user authorization system for product activation management, the system comprising:
[0064] The solution segmentation module is used to conduct product solution research and solution segmentation for the service product set to be opened, and obtain a product solution group set;
[0065] A feature clustering module, used to perform semantic permission feature extraction and permission feature clustering operations on the product solution set to obtain a permission feature set;
[0066] A product mapping module is used to divide the permission feature set into functional roles to obtain a permission role set, and to perform product role mapping on the business product set according to the permission role set to obtain a role-product mapping table;
[0067] A user mapping module is used to extract the required permissions and map the user roles of the pre-acquired user requirements according to the permission role set to obtain a user role mapping table;
[0068] The trigger authorization module is used to activate the service product set and trigger the activation point to obtain a trigger activation event, and perform role trigger authorization on the service product set according to the role product mapping table, the user role mapping table and the trigger activation event.
[0069] The embodiments of the present invention can implement functional authority analysis of various business products by conducting product solution research and solution segmentation, thereby facilitating subsequent authority clustering, reducing the types of authorizations, and improving authorization efficiency. By performing semantic authority feature extraction and authority feature clustering operations, it can combine the semantic analysis model to implement layer-by-layer segmentation of product permissions and clustering of similar features, thereby improving the accuracy of subsequent functional role division. By performing functional role division and product role mapping, a one-to-many mapping relationship between products and roles can be implemented, thereby achieving efficient management of product permissions and improving subsequent authorization efficiency.
[0070] By performing required authority extraction and user role mapping, a one-to-many mapping relationship between users and roles can be achieved, thereby achieving efficient management of required authority and improving subsequent authorization efficiency. By performing activation tracking and triggering tracking, the activation of various business products can be monitored in real time. By performing role-triggered authorization, the situation where users authorize separately for a single authority can be reduced, the authorization workload can be reduced, unified authorization can be achieved, and authorization efficiency can be improved. Therefore, the automatic user authorization method and system for product activation management proposed in the present invention can solve the problem of low efficiency in authorizing users for product functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A flowchart of an automatic user authorization method for product activation management provided by an embodiment of the present invention;
[0072] Figure 2 A schematic diagram of a process for generating a product solution set according to an embodiment of the present invention;
[0073] Figure 3 A schematic diagram of a process for generating a permission feature set according to an embodiment of the present invention;
[0074] Figure 4 A functional module diagram of an automatic user authorization system for product activation management provided by an embodiment of the present invention;
[0075] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0077] The embodiment of the present application provides an automatic user authorization method for product activation management. The execution subject of the automatic user authorization method for product activation management includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the automatic user authorization method for product activation management can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0078] Reference Figure 1 FIG. 1 is a flow chart of an automatic user authorization method for product activation management provided by an embodiment of the present invention. In this embodiment, the automatic user authorization method for product activation management includes:
[0079] S1. Conduct product solution research and solution segmentation on the business product set to be launched to obtain a product solution set.
[0080] In detail, each business product in the business product set refers to a business functional product. For example, in the financial field, the business product may be a functional product such as international transfer, loan service, and credit card service. In the telecommunications network field, the business product may be an international roaming, additional data package, and home network sharing service.
[0081] Specifically, each product solution group in the product solution group set corresponds to all product solutions of a business product in the business product set, and the product solution is a functional solution that needs to be implemented for a business product.
[0082] In the embodiment of the present invention, referring to Figure 2 As shown, the product solution research and solution segmentation are performed on the service product set to be opened to obtain a product solution group set, including:
[0083] S21, selecting one by one the service products in the service product collection to be activated as target service products, and sending the target service products to a preset business department;
[0084] S22, obtaining a target business plan fed back by the business department for the target business product;
[0085] S23, performing functional decomposition and scenario demand analysis on the target business solution to obtain a target product demand group;
[0086] S24, subdividing the target business solution according to the target product requirement group to obtain a product solution group;
[0087] S25. Gather the product solution groups of all target business products in the business product set into a product solution group set.
[0088] In detail, the business department is a department used to implement the development of various business products in the business product set, and the target business plan is a detailed introduction document for the functional modules, usage scenarios and target users provided by the target business products, wherein the functional modules refer to the functions that can be achieved by the target business plan, such as user asset management; the usage scenarios include user roles, operation steps and business processes; the target users refer to the user roles targeted by the target business plan.
[0089] Specifically, the target business solution is functionally split and scenario demand analysis is performed to obtain a target product demand group, including:
[0090] Performing text denoising and text segmentation on the target business solution to obtain a target product word sequence;
[0091] Performing function keyword matching on the target product word sequence to obtain a target product function phrase;
[0092] Splitting the target product word sequence into target function word sequence groups according to the target product function word groups;
[0093] Performing word feature extraction and position coding on the target function word sequence group to obtain a target word coding sequence group;
[0094] Performing self-attention encoding on the target word encoding sequence group to obtain a target product attention feature group;
[0095] The target product attention feature group is self-attention decoded to obtain a target product demand group.
[0096] In detail, the text denoising refers to deleting irrelevant punctuation or characters in the target business plan, the text segmentation method can be jieba segmentation, and the functional keyword matching refers to using regular expressions and other methods to match the function-related words in the target product word sequence as the target product functional vocabulary to integrate the target product functional phrases.
[0097] Specifically, the word feature extraction method may be TF-IDF, TextRank and other methods, the position encoding method may be the position encoding method of the BERT model, the self-attention encoding refers to encoding using an encoding module of a pre-trained Transformer model for analyzing product requirements, and the self-attention decoding refers to decoding using a decoding module of a pre-trained Transformer model for analyzing product requirements.
[0098] In detail, the subdividing the target business solution according to the target product requirement group refers to aggregating the solution texts in the target business solution corresponding to each product requirement in the target product requirement group as product solutions into a product solution group.
[0099] In the embodiment of the present invention, by conducting product solution research and solution segmentation, it is possible to implement functional authority analysis of each business product, thereby facilitating subsequent authority clustering, reducing the types of authorization, and improving the efficiency of authorization.
[0100] S2. Perform semantic permission feature extraction and permission feature clustering operations on the product solution set to obtain a permission feature class set.
[0101] In detail, each permission feature class in the permission feature class set is a feature class formed by collecting multiple similar permission features in the product solution group set.
[0102] In the embodiment of the present invention, referring to Figure 3 As shown, the semantic permission feature extraction and permission feature clustering operations are performed on the product solution set to obtain a permission feature set, including:
[0103] S31, semantically encoding the product solution set to obtain a product solution feature sequence set;
[0104] S32, performing permission semantic decoding on the product solution feature sequence set to obtain a permission semantic feature set;
[0105] S33, using a pre-trained dimensionality reduction mapping model to perform dimensionality reduction feature mapping on the permission semantic feature set to obtain a product permission feature set;
[0106] S34, performing iterative clustering update on the product permission feature set to obtain a reduced dimension feature set;
[0107] S35, using the dimensionality reduction mapping model to reconstruct and increase the dimensionality of the reduced-dimensional feature cluster to obtain a permission feature cluster.
[0108] Specifically, the semantic encoding method is the same as the text denoising, text segmentation, word feature extraction, position encoding and self-attention encoding methods in the above step S1, which will not be repeated here. The permission semantic decoding refers to decoding using the decoder of the Transformer model that has been trained with a large number of scheme text feature sequences annotated with permission semantics.
[0109] In detail, the dimensionality reduction feature mapping can map high-dimensional permission semantic features into low-dimensional product permission features, thereby facilitating subsequent clustering operations on low-dimensional features, reducing the complexity of feature clustering and role allocation, and improving authorization efficiency.
[0110] In detail, before performing dimensionality reduction feature mapping on the permission semantic feature set using the pre-trained dimensionality reduction mapping model to obtain the product permission feature set, the method further includes:
[0111] Perform encoding analysis on the encoder of the preset reconstructed autoencoder model to obtain the encoder function and corresponding encoder parameters;
[0112] Decoding and parsing the decoder of the reconstructed autoencoder model to obtain a decoder function and corresponding decoder parameters;
[0113] Obtaining a training permission semantic feature set corresponding to the reconstructed autoencoder model;
[0114] The reconstruction error of the reconstructed autoencoder model is calculated according to the encoder function, the encoder parameters, the decoder function, the decoder parameters and the training authority semantic feature set using the following reconstruction loss algorithm:
[0115]
[0116] Where L is the reconstruction error, m is the total number of features in the training permission semantic feature set, i is the feature number, ‖‖ is the absolute value symbol, and x i is the ith training authority semantic feature in the training authority semantic feature set, g() is the decoder function, f() is the encoder function, θ1 is the encoder parameter, and θ2 is the decoder parameter;
[0117] The encoder parameters and decoder parameters of the reconstructed autoencoder model are iteratively updated according to the reconstruction error to obtain a dimensionality reduction mapping model.
[0118] In detail, the reconstructed autoencoder model is an autoencoder model, which includes an encoder and a decoder, wherein the encoder is used to map high-dimensional features to a two-dimensional plane, and the decoder is used to remap the low-dimensional features after dimensionality reduction mapping back to high dimensions.
[0119] Specifically, the training permission semantic feature set is a training data set used to train the reconstruction autoencoder model. The training permission semantic feature set is composed of multiple permission semantic features. The reconstruction loss algorithm can calculate the difference between the permission semantic features before and after reconstruction, thereby improving the accuracy of the reconstruction autoencoder model in subsequent use. It can be iteratively updated using the stochastic gradient descent algorithm or the fast gradient descent algorithm.
[0120] Specifically, the iterative clustering update of the product permission feature set to obtain a reduced dimension feature set includes:
[0121] Performing feature center feature screening on each product permission feature group in the product permission feature group set to obtain a primary permission center feature set;
[0122] The permission feature distance between each product permission feature in the product permission feature set and each primary permission center feature in the primary permission center feature set is calculated using the following logarithmic feature distance algorithm:
[0123]
[0124] Where D is the permission feature distance, log2 is the logarithmic function with base 2, j is the feature element index, n is the feature dimension of the product permission feature, and A j is the jth characteristic element of the product permission feature, B j is the jth characteristic element of the primary authority center feature;
[0125] Redistribute each product permission feature to the product permission feature group corresponding to the nearest primary permission center feature according to all permission feature distances in a manner of nearest distribution, and obtain a secondary permission feature group set;
[0126] Performing feature center screening on each secondary authority feature group in the secondary authority feature group set to obtain a secondary authority center feature set;
[0127] Calculating the sum of the authority feature distances between the primary authority center feature set and the corresponding features in the secondary authority center feature set;
[0128] The secondary authority feature set is iteratively updated according to the authority feature distance to obtain a dimension reduction feature set.
[0129] In detail, the feature center feature screening refers to screening out the features close to the mean features in the product authority feature group as primary authority center features or secondary authority center features. The logarithmic feature distance algorithm can expand the distance between small similarity values and compress the numerical range, reduce the impact of outliers, and has stronger adaptability.
[0130] Specifically, the authority feature distance sum is the sum of the authority feature distances between all corresponding features in the primary authority center feature set and the secondary authority center feature set, and the iterative update method may be a stochastic gradient descent algorithm or a fast gradient descent algorithm.
[0131] In the embodiment of the present invention, by performing semantic permission feature extraction and permission feature clustering operations, the semantic analysis model can be combined to achieve layer-by-layer subdivision of product permissions and clustering of similar features, thereby improving the accuracy of subsequent functional role division.
[0132] S3. Divide the permission feature set into functional roles to obtain a permission role set, and perform product role mapping on the business product set according to the permission role set to obtain a role-product mapping table.
[0133] In detail, each permission role in the permission role set is a collection of multiple permissions of the same type, and the permission role corresponds to the permissions contained in each permission feature class in the permission feature class set. The role product mapping table contains a one-to-many mapping relationship between each business product in the business product set and each permission role in the permission role set.
[0134] Specifically, the functional role division of the permission feature class set to obtain the permission role set includes selecting permission feature classes in the permission feature class set one by one as target permission feature classes, performing text mapping on the target permission feature classes to obtain a target permission text class set, performing functional role analysis on the target permission text class set to obtain a target permission role, and aggregating the target permission roles of all target permission feature classes in the permission feature class set into a permission role set, wherein the text mapping refers to remapping the feature coding back to text.
[0135] In the embodiment of the present invention, the product role mapping is performed on the business product set according to the permission role set to obtain a role-product mapping table, including:
[0136] Selecting business products in the business product set one by one as target business products, and aggregating the authority roles corresponding to the target business products in the authority role set into a target authority role group;
[0137] Performing role mapping on the target permission role group using the target business product to obtain a product mapping relationship;
[0138] The product mapping relationships of all target business products in the business product set are collected into a role product mapping table.
[0139] In detail, a table may be used for role mapping, that is, to store the mapping relationship between each business product and the corresponding multiple permission roles.
[0140] In the embodiment of the present invention, by performing functional role division and product role mapping, a one-to-many mapping relationship between products and roles can be achieved, thereby achieving efficient management of product permissions and improving subsequent authorization efficiency.
[0141] S4. Extracting the required permissions and mapping the user roles to the pre-acquired user requirements according to the permission role set to obtain a user role mapping table.
[0142] In detail, the user role mapping table includes a one-to-many mapping relationship between each user in the user requirement and each permission role in the permission role set. The user requirement is a document including the functional permission requirements of multiple users.
[0143] In the embodiment of the present invention, the user requirements acquired in advance are extracted from the requirements and user roles are mapped according to the permission role set to obtain a user role mapping table, including:
[0144] Extracting user identities from pre-acquired user requirements to obtain a user identity set;
[0145] Demand splitting of the user demands according to the user identity set to obtain a single user demand set;
[0146] Extracting semantic permission features from the single-user requirement set to obtain a requirement permission feature set;
[0147] Selecting the required permission features in the required permission feature set one by one as target required features, collecting the permission roles corresponding to the target required features in the permission role set into a target user role group, and taking the user identities corresponding to the target required features in the user identity set as target user identities;
[0148] Performing role mapping on the target user role group using the target user identity to obtain a user mapping relationship;
[0149] The user mapping relationships of all target user identities in the user identity set are collected into a user role mapping table.
[0150] In detail, the demand splitting refers to splitting the user demand according to user ID, the single user demand in the single user demand set corresponds to a partial document of an independent user in the user demand, and the method of extracting the user identity can be a keyword matching method.
[0151] Specifically, the method for extracting semantic authority features is the same as that in the above step S2, and the method for role mapping is the same as that in the above step S3.
[0152] In the embodiment of the present invention, by performing required authority extraction and user role mapping, a one-to-many mapping relationship between users and roles can be achieved, thereby achieving efficient management of required authority and improving subsequent authorization efficiency.
[0153] S5. Perform activation tracking and triggering of the service product set to obtain a trigger activation event, and perform role trigger authorization on the service product set according to the role product mapping table, the user role mapping table and the trigger activation event.
[0154] In detail, the triggered activation product refers to a service product that is triggered for real-time product activation, and the subscribers of each service product have different menu permissions, so the user corresponding to the triggered activation product needs to be authorized accordingly.
[0155] In an embodiment of the present invention, the activation tracking and tracking triggering of the service product set to obtain a trigger activation event include: initializing the activation event of the service product set to obtain a product event set, using the product event set to track the service product set, feeding back the tracked service product set to the user, and obtaining the user's trigger activation event for the service product set.
[0156] Specifically, the activation tracking point refers to the tracking point of the event of product activation in the business product set. Each product event in the product event set corresponds to the activation event and behavior of a business product in the business product set. The triggered activation event is an event for business product information triggered when the corresponding business product is activated.
[0157] In detail, performing role triggering authorization on the service product set according to the role product mapping table, the user role mapping table and the triggering activation event includes:
[0158] Perform product analysis on the triggering activation event to obtain a triggered service product;
[0159] Perform role mapping on the trigger service product according to the role product mapping table to obtain a trigger role set;
[0160] Perform user mapping on the trigger role set according to the user role mapping table to obtain a trigger user set;
[0161] The triggering user set is authorized according to the triggering role set.
[0162] In detail, the product analysis refers to extracting the information of the business product corresponding to the trigger activation event, and using the corresponding business product as the trigger business product. The role mapping refers to aggregating multiple permission roles corresponding to the trigger business product in the role-product mapping table into a trigger role set as trigger roles.
[0163] Specifically, the user mapping refers to aggregating the user identities corresponding to the trigger role set in the user role mapping table as trigger users into a trigger user set, and the user authorization refers to selecting the trigger users in the trigger user set one by one as target trigger users, and binding the target trigger user with permissions by using the trigger role corresponding to the target trigger user in the trigger role set.
[0164] In the embodiment of the present invention, by performing activation tracking and tracking triggering, the activation status of various business products can be monitored in real time. By performing role-triggered authorization, the situation where users authorize separately for a single permission can be reduced, the authorization workload can be reduced, unified authorization can be achieved, and authorization efficiency can be improved.
[0165] The embodiments of the present invention can implement functional authority analysis of various business products by conducting product solution research and solution segmentation, thereby facilitating subsequent authority clustering, reducing the types of authorizations, and improving authorization efficiency. By performing semantic authority feature extraction and authority feature clustering operations, it can combine the semantic analysis model to implement layer-by-layer segmentation of product permissions and clustering of similar features, thereby improving the accuracy of subsequent functional role division. By performing functional role division and product role mapping, a one-to-many mapping relationship between products and roles can be implemented, thereby achieving efficient management of product permissions and improving subsequent authorization efficiency.
[0166] By performing required authority extraction and user role mapping, a one-to-many mapping relationship between users and roles can be achieved, thereby achieving efficient management of required authority and improving subsequent authorization efficiency. By performing activation tracking and triggering tracking, the activation of various business products can be monitored in real time. By performing role-triggered authorization, the situation where users authorize separately for a single authority can be reduced, the authorization workload can be reduced, unified authorization can be achieved, and authorization efficiency can be improved. Therefore, the automatic user authorization method for product activation management proposed in the present invention can solve the problem of low efficiency in authorizing users for product functions.
[0167] like Figure 4, which is a functional module diagram of an automatic user authorization system for product activation management provided by an embodiment of the present invention.
[0168] The automatic user authorization system 100 for product activation management of the present invention can be installed in an electronic device. According to the functions implemented, the automatic user authorization system 100 for product activation management can include a solution subdivision module 101, a feature clustering module 102, a product mapping module 103, a user mapping module 104 and a trigger authorization module 105. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0169] In this embodiment, the functions of each module / unit are as follows:
[0170] The solution segmentation module 101 is used to conduct product solution research and solution segmentation on the service product set to be opened to obtain a product solution group set;
[0171] The feature clustering module 102 is used to perform semantic permission feature extraction and permission feature clustering operations on the product solution set to obtain a permission feature set;
[0172] The product mapping module 103 is used to divide the permission feature set into functional roles to obtain a permission role set, and perform product role mapping on the business product set according to the permission role set to obtain a role-product mapping table;
[0173] The user mapping module 104 is used to extract the required permissions and map the user roles of the pre-acquired user requirements according to the permission role set to obtain a user role mapping table;
[0174] The trigger authorization module 105 is used to activate and trigger the service product set, obtain a trigger activation event, and perform role trigger authorization on the service product set according to the role product mapping table, the user role mapping table and the trigger activation event.
[0175] In detail, each module described in the automatic user authorization system 100 for product activation management described in the embodiment of the present invention is used in the same manner as described above. Figures 1 to 3 The automatic user authorization method for product activation management described in the present invention is the same as the technical means and can produce the same technical effects, so it will not be repeated here.
[0176] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0177] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0178] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0179] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0180] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0181] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or systems stated in the system embodiment can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.
[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. An automatic user authorization method for product provisioning management, It is characterized in that The method comprises: Conduct product solution research and solution segmentation for the service product set to be launched to obtain a product solution set; Performing semantic permission feature extraction and permission feature clustering operations on the product solution group set to obtain a permission feature class set; Performing functional role division on the permission feature set to obtain a permission role set, and performing product role mapping on the business product set according to the permission role set to obtain a role-product mapping table; According to the permission role set, the pre-acquired user requirements are subjected to requirement permission extraction and user role mapping to obtain a user role mapping table; The service product set is activated and triggered to obtain a trigger activation event, and the service product set is role-triggered and authorized according to the role product mapping table, the user role mapping table and the trigger activation event.
2. The automatic user authorization method for product activation management according to claim 1, It is characterized in that The product solution research and solution segmentation of the service product set to be opened are performed to obtain a product solution set, including: Selecting service products in the service product collection to be activated one by one as target service products, and sending the target service products to a preset service department; Obtaining the target business plan fed back by the business department for the target business product; Perform functional decomposition and scenario demand analysis on the target business solution to obtain a target product demand group; Subdividing the target business solution according to the target product demand group to obtain a product solution group; The product solution groups of all target business products in the business product set are aggregated into a product solution group set.
3. The automatic user authorization method for product activation management according to claim 2, It is characterized in that The target business solution is functionally split and scenario demand analysis is performed to obtain a target product demand group, including: Performing text denoising and text segmentation on the target business solution to obtain a target product word sequence; Performing function keyword matching on the target product word sequence to obtain a target product function phrase; Splitting the target product word sequence into target function word sequence groups according to the target product function word groups; Performing word feature extraction and position coding on the target function word sequence group to obtain a target word coding sequence group; Performing self-attention encoding on the target word encoding sequence group to obtain a target product attention feature group; The target product attention feature group is self-attention decoded to obtain a target product demand group.
4. The automatic user authorization method for product activation management according to claim 1, It is characterized in that The semantic permission feature extraction and permission feature clustering operations are performed on the product solution set to obtain a permission feature set, including: Semantically encoding the product solution set to obtain a product solution feature sequence set; Performing permission semantic decoding on the product solution feature sequence set to obtain a permission semantic feature set; Performing dimensionality reduction feature mapping on the permission semantic feature set using a pre-trained dimensionality reduction mapping model to obtain a product permission feature set; Iteratively clustering and updating the product permission feature group set to obtain a reduced-dimensional feature set; The dimension reduction mapping model is used to reconstruct and increase the dimension of the reduced-dimensional feature cluster to obtain a permission feature cluster.
5. The automatic user authorization method for product activation management according to claim 4, It is characterized in that Before performing dimensionality reduction feature mapping on the permission semantic feature set using the pre-trained dimensionality reduction mapping model to obtain the product permission feature set, the method further includes: Perform encoding analysis on the encoder of the preset reconstructed autoencoder model to obtain the encoder function and corresponding encoder parameters; Decoding and parsing the decoder of the reconstructed autoencoder model to obtain a decoder function and corresponding decoder parameters; Obtaining a training permission semantic feature set corresponding to the reconstructed autoencoder model; The reconstruction error of the reconstructed autoencoder model is calculated according to the encoder function, the encoder parameters, the decoder function, the decoder parameters and the training authority semantic feature set using the following reconstruction loss algorithm: Where L is the reconstruction error, m is the total number of features in the training permission semantic feature set, i is the feature number, ‖‖ is the absolute value symbol, and x i is the i-th training authority semantic feature in the training authority semantic feature set, g() is the decoder function, f() is the encoder function, θ 1 is the encoder parameter, θ 2 are the decoder parameters; The encoder parameters and decoder parameters of the reconstructed autoencoder model are iteratively updated according to the reconstruction error to obtain a dimensionality reduction mapping model.
6. The automatic user authorization method for product activation management according to claim 4, It is characterized in that The iterative clustering update of the product permission feature set to obtain a reduced dimension feature set includes: Performing feature center feature screening on each product permission feature group in the product permission feature group set to obtain a primary permission center feature set; The permission feature distance between each product permission feature in the product permission feature set and each primary permission center feature in the primary permission center feature set is calculated using the following logarithmic feature distance algorithm: Where D refers to the authority feature distance, log 2 is a logarithmic function with base 2, j is the feature element index, n is the feature dimension of the product permission feature, A j is the jth characteristic element of the product permission feature, B j is the jth characteristic element of the primary authority center feature; Redistribute each product permission feature to the product permission feature group corresponding to the nearest primary permission center feature according to all permission feature distances in a manner of nearest distribution, and obtain a secondary permission feature group set; Performing feature center screening on each secondary authority feature group in the secondary authority feature group set to obtain a secondary authority center feature set; Calculating the sum of the authority feature distances between the primary authority center feature set and the corresponding features in the secondary authority center feature set; The secondary authority feature set is iteratively updated according to the authority feature distance to obtain a dimension reduction feature set.
7. The automatic user authorization method for product activation management according to claim 1, It is characterized in that The performing product role mapping on the business product set according to the permission role set to obtain a role-product mapping table includes: Selecting business products in the business product set one by one as target business products, and aggregating the authority roles corresponding to the target business products in the authority role set into a target authority role group; Performing role mapping on the target permission role group using the target business product to obtain a product mapping relationship; The product mapping relationships of all target business products in the business product set are collected into a role product mapping table.
8. The automatic user authorization method for product activation management according to claim 1, It is characterized in that The step of extracting the required permissions and mapping the user roles to the pre-acquired user requirements according to the permission role set to obtain a user role mapping table includes: Extracting user identities from pre-acquired user requirements to obtain a user identity set; Demand splitting of the user demands according to the user identity set to obtain a single user demand set; Extracting semantic permission features from the single-user requirement set to obtain a requirement permission feature set; Selecting the required permission features in the required permission feature set one by one as target required features, collecting the permission roles corresponding to the target required features in the permission role set into a target user role group, and taking the user identities corresponding to the target required features in the user identity set as target user identities; Performing role mapping on the target user role group using the target user identity to obtain a user mapping relationship; The user mapping relationships of all target user identities in the user identity set are collected into a user role mapping table.
9. The automatic user authorization method for product activation management according to claim 1, It is characterized in that The performing role triggering authorization on the service product set according to the role product mapping table, the user role mapping table and the triggering activation event includes: Perform product analysis on the triggering activation event to obtain a triggered service product; Perform role mapping on the trigger service product according to the role product mapping table to obtain a trigger role set; Perform user mapping on the trigger role set according to the user role mapping table to obtain a trigger user set; The triggering user set is authorized according to the triggering role set.
10. An automatic user authorization system for product launch management, It is characterized in that The system comprises: The solution segmentation module is used to conduct product solution research and solution segmentation for the service product set to be opened, and obtain a product solution group set; A feature clustering module, used to perform semantic permission feature extraction and permission feature clustering operations on the product solution set to obtain a permission feature set; A product mapping module is used to divide the permission feature set into functional roles to obtain a permission role set, and to perform product role mapping on the business product set according to the permission role set to obtain a role-product mapping table; A user mapping module is used to extract the required permissions and map the user roles of the pre-acquired user requirements according to the permission role set to obtain a user role mapping table; The trigger authorization module is used to activate the service product set and trigger the activation point to obtain a trigger activation event, and perform role trigger authorization on the service product set according to the role product mapping table, the user role mapping table and the trigger activation event.
