Method and apparatus for activating configuration data, electronic device, and storage medium
Patent Information
- Application Number
- MYPI2025000170
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-20
- Filing Date
- 2023-02-21
- Publication Date
- 2024-01-20
AI Technical Summary
The incremental configuration data activation efficiency in traditional license management and control solutions is low, resulting in complex business point management and control, and a large amount of calculations. Modification of a single network element requires counting the total license amount of multiple network elements, and the amount of authentication calculations is large.
After the configuration of a single network element is modified, the incremental license authentication management and control of the incremental configuration is obtained, the modified configuration data of the target network element is obtained, the set of license control items associated with the target network element is determined, and the incremental license is calculated and authenticated Control items. If all the permission control items to be authenticated are successfully authenticated, the configuration data of the target network element is successfully activated.
It simplifies the configuration data calculation and authentication operation of a single network element, reduces the amount of license calculation, greatly improves the authentication efficiency and configuration data activation efficiency, and solves the problem of low activation efficiency of incremental configuration data.
Smart Images

Figure PI2025000170_DRAWING_001 
Figure PI2025000170_DRAWING_002 
Figure PI2025000170_DRAWING_003
Abstract
Description
Configuration data activation method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to Chinese patent application CN202210859889.3, entitled “Configuration data activation method, device, electronic device and storage medium,” filed on July 20, 2022, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0003] The present disclosure relates to the field of communications, and in particular to a configuration data activation method, device, electronic device, and storage medium. Background Art
[0004] Software license management, also known as permission management, allows users to obtain corresponding network functions and performance resources based on the license files they apply for. Permission management provides corresponding network functions and capacity through software control. Operators can purchase the appropriate number of licenses based on the growth and development of network traffic to achieve network expansion and upgrades. However, traditional permission management solutions suffer from the technical problem of inefficient activation of incremental configuration data.
[0005] Summary of the Invention
[0006] In view of this, in order to solve the above technical problems or part of the technical problems, the present disclosure provides a configuration data activation method, device, electronic device and storage medium.
[0007] In a first aspect, the present disclosure provides a configuration data activation method, the method comprising: obtaining configuration data modified by a target network element; determining a set of permission control items associated with the target network element based on the configuration data, wherein the permission control item set includes one or more permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; determining a permission control item incremental set corresponding to the target network element based on the permission control item information; authenticating each permission control item to be authenticated in the permission control item incremental set; if each permission control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated.
[0008] In a second aspect, the present disclosure provides a configuration data activation device, comprising: a license usage statistics module, a license adaptation module, and a license center authentication module. The license usage statistics module is configured to obtain the configuration data modified by the target network element; determine the license control item set associated with the target network element based on the configuration data, wherein the license control item set includes one or more license control items to be authenticated and license control item information corresponding to each license control item to be authenticated; the license adaptation module is configured to determine the license control item incremental set corresponding to the target network element based on the license control item information; the license center authentication module authenticates each license control item to be authenticated in the license control item incremental set; if each license control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG1 is a flow chart of a configuration data activation method provided in accordance with the present disclosure;
[0010] FIG2 is a flow chart of a method for activating network element configuration data provided by the present disclosure;
[0011] FIG3 is a structural block diagram of a configuration data activation device provided according to the present disclosure;
[0012] FIG4 is a schematic structural diagram of an electronic device provided according to the present disclosure. DETAILED DESCRIPTION
[0013] To make the objectives, technical solutions, and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present disclosure.
[0014] To facilitate understanding of the present disclosure, the present disclosure will be further explained below with reference to specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation to the present disclosure.
[0015] Software license management, also known as licensing management, allows users to obtain corresponding network functions and performance resources based on the license files they apply for. License management provides corresponding network functions and capacity through software control. Operators can purchase the appropriate number of licenses based on network traffic growth and development to achieve network expansion and upgrades.
[0016] Traditional licensing control methods: When a network element performs a license-controlled service, the service module calculates the total number of licenses required for the service across all network elements or within the same subnet, then sends an authentication request to the license authentication module. The authentication module compares the requested total with the authorized quantity for the license, and then returns the authentication result to the service module. If authentication succeeds, the service for that network element takes effect; if authentication fails, the service for that network element is interrupted. Traditional service point control is complex to implement. Modifying a single network element requires calculating the total number of licenses for multiple network elements, resulting in a high computational load for each authentication.
[0017] The present disclosure achieves the purpose of service control by controlling the incremental permission authentication of incremental configuration after the single network element configuration is modified. FIG1 is a flowchart of the configuration data activation method provided by the present disclosure, as shown in FIG1 , which mainly includes the following steps S102 to S110.
[0018] Step S102: Acquire the modified configuration data of the target network element.
[0019] In this embodiment, the target network element may be a single network element or multiple network elements, so that the configuration data activation operation of multiple network elements can be performed simultaneously.
[0020] Among them, the license control item authorizes a specific quantity of the control item. When the usage is less than or equal to the authorized quantity, the business is normal; when the usage is greater than the authorized quantity, the part exceeding the authorized quantity cannot be run.
[0021] Step S104: determining an admission control item set associated with the target network element according to the configuration data, wherein the admission control item set includes one or more admission control items to be authenticated and admission control item information corresponding to each admission control item to be authenticated.
[0022] In this embodiment, after a network element modifies its configuration data, a license usage statistics model calculates the modified configuration data and outputs a set of all license control items involved in the configuration change. This set contains information about one or more license control items to be authenticated, each of which includes a target usage and an authorized amount. Only the license control items relevant to the network element are calculated, enabling incremental authentication of a single network element and reducing the network administrator's workload on license calculations.
[0023] Step S106: Determine the incremental set of admission control items corresponding to the target network element according to the admission control item information.
[0024] In an exemplary embodiment, the license adaptation module calculates the incremental value required for each license control item to be authenticated based on the target usage of the license control item and the number of authorizations already obtained, thereby obtaining a license control item incremental set. The incremental application value for the license control item = the target usage - the number of authorizations already obtained. The incremental application value for the license control item can be positive, zero, or negative.
[0025] Step S108: Authenticate each of the to-be-authenticated permission control items in the permission control item increment set.
[0026] In an exemplary embodiment, the licensing center authentication module performs incremental authentication on the incremental set of network element licensing control items.
[0027] Step S110: If each authorization control item to be authenticated is authenticated successfully, the configuration data of the target network element is activated successfully.
[0028] If the incremental authentication is successful, a single authentication result indicating successful authentication is returned, and the configuration data is activated successfully.
[0029] In an optional embodiment of the present case, FIG2 is a flowchart of a network element configuration data activation method provided by the present disclosure. As shown in FIG2 , the method mainly includes the following steps S202 to S206 .
[0030] Step S202: The network element configuration data is modified and activated, and the license calculation model calculates the set of license control items involved based on the configuration increment data. Each license control item in the set includes a target usage amount and an obtained authorization amount.
[0031] Step S204: The network management license center authentication module performs incremental authentication on the incremental data set of the network element license. The network management license adaptation module combines the incremental data of the network element that failed authentication with other network elements that failed incremental authentication at the same time and re-authenticates.
[0032] Step S206: The network element receives the authentication result. If the authentication is successful, the configuration data is activated successfully; otherwise, the configuration activation fails.
[0033] The present disclosure provides a configuration data activation method, which first obtains the configuration data modified by the target network element; secondly, determines the permission control item set associated with the target network element based on the configuration data, the set including one or more permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; then, determines the permission control item incremental set corresponding to the target network element based on the permission control item information; authenticates each permission control item to be authenticated in the permission control item incremental set; if each permission control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated. In this embodiment, the configuration data of a single network element is calculated and authenticated, and there is no need to calculate the network elements of the entire network or the network elements under the same subnet. Compared with the traditional service point control method, the present disclosure is simple to operate and has a small amount of calculation, which greatly improves the authentication efficiency and the configuration data activation efficiency, and solves the technical problem of low efficiency in incremental configuration data activation in traditional permission control schemes.
[0034] In an optional embodiment of the present case, the license control item information corresponding to the license control item to be authenticated includes the target usage of the license control item to be authenticated and the authorized amount obtained, and the license control item incremental set includes one or more incremental application values corresponding to the license control item to be authenticated, and the incremental application value of each license control item to be authenticated is obtained by taking the difference between the target usage and the authorized amount of the license control item to be authenticated.
[0035] In this embodiment, the license usage calculation module receives the incremental configuration data modified by the network element; then, it identifies the license control item set involved in the incremental configuration data (the license control item set includes one or more license control items to be authenticated), and calculates the target usage and the obtained authorization amount for each license control item to be authenticated in the license control item set.
[0036] Among them, the target usage of the license control item is the license usage calculated based on the superposition of the incremental configuration data to be activated and the effective configuration data; the authorized amount obtained by the license control item is the license usage calculated based on the effective configuration data.
[0037] In an optional embodiment of the present case, the above-mentioned step S108 includes: determining the current target license control item set of the license center authentication module, which target license control item set includes one or more target license control items and the current authorization quantity and current usage quantity of each target license control item; and authenticating each license control item to be authenticated in the license control item incremental set one by one according to the current authorization quantity and current usage quantity of the target license control item.
[0038] In this embodiment, the current target license control item set in the license center authentication module is used to authenticate the license control item to be authenticated, and whether the license control item to be authenticated is successfully authenticated is verified based on the current usage and authorization amounts in the license center authentication module.
[0039] In one embodiment, after receiving the incremental application value set of the license control items calculated by the network management license adaptation module, the license center authentication module performs incremental authentication on them one by one.
[0040] In an exemplary embodiment, each to-be-authenticated license control item in the incremental set of license control items is used as a target to-be-authenticated license control item, and it is determined whether the target to-be-authenticated license control item is authorized in the authentication module of the licensing center.
[0041] In this embodiment, if the license control item to be authenticated is not authorized in the license center authentication module, the single authentication result status is UNDEFINED (no definition found). It can be understood that there is no control item identical to the license control item to be authenticated in the target license control item set, that is, the license control item to be authenticated is not defined in the license center authentication module, then the authentication of the license control item to be authenticated fails, which in turn leads to the problem of failure to activate the configuration data of the network element.
[0042] In an exemplary embodiment, if the target permission control item to be authenticated is not authorized in the authorization module of the licensing center, the single authentication result of the target permission control item to be authenticated indicates that the target permission control item to be authenticated is not defined in the target permission control item set;
[0043] In an exemplary embodiment, if the target license control item to be authenticated is authorized in the authentication module of the licensing center, determining whether the sum of the incremental application value of the target license control item to be authenticated and the usage amount of the target license control item to be authenticated in the authentication module of the licensing center is less than the authorization amount of the target license control item to be authenticated in the authentication module of the licensing center;
[0044] If it is less than, the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is permitted; if it is not less than, the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is rejected.
[0045] It can be understood that if the license control item to be authenticated is authenticated, but the incremental application value is only less than or equal to the usage value of the control item in the licensing center, the single authentication result status of the license control item to be authenticated is AGREED (authorized); otherwise, the single authentication result status of the license control item to be authenticated is REJECTED (rejected).
[0046] According to the above embodiment, the incremental authentication is considered successful only if the individual authentication result status of all license control items to be authenticated is AGREED; otherwise, the incremental authentication is considered unsuccessful. In one exemplary embodiment, when the license center authentication module determines that the incremental authentication request is successful, it updates the locally stored usage of each license control item in the request (usage = original usage + current incremental request value) and returns the incremental authentication request result to the network management license adaptation module.
[0047] In an exemplary embodiment, after receiving the authentication result fed back by the licensing center authentication module, the network management license adaptation module performs different processing on different authentication results.
[0048] In specific implementation, if each admission control item to be authenticated in the admission control item increment set is successfully authenticated, if the authentication result is successful, the result is immediately returned to the network element.
[0049] If the target authorization control item to be authenticated is not defined in the target authorization control item set, authentication of the target authorization control item to be authenticated fails, and activation of the configuration data of the target network element fails. Authentication failure information is fed back to the target network element. In this embodiment, if the authentication result fails and the status of a single authentication result indicates UNDEFINED (undefined), the authentication result is returned to the network element, and activation of the network element configuration data fails.
[0050] If the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is rejected, the authentication of the target permission control item to be authenticated fails; the target permission control item set updated by the authorization module of the licensing center is used to re-authenticate the failed permission control item incremental set.
[0051] If the status of a single authentication result is AGREED or REJECTED, the network element and the incremental set data of the permission control item are placed in the retry pool of the network management permission adaptation module for re-authentication.
[0052] During specific implementation, the failed incremental set of license control items is placed into a retry pool, and the failed incremental set of license control items is merged with other incremental sets of license control items in the retry pool that failed at the same time to obtain a merged incremental set of license control items; the merged incremental set of license control items is authenticated; if the authentication is successful, the configuration data of the target network element is successfully activated; if the authentication fails, the failed incremental set of license control items is repeatedly placed into the retry pool, and the authentication is repeated until the number of repeated authentications within the preset time reaches a preset value. If the authentication is still not successful, the authentication operation is terminated.
[0053] In this embodiment, if the incremental authentication fails, the permission adaptation module will put the network element and the set of network element permission control item incremental values into a retry pool for retry.
[0054] The license adaptation module's retry pool merges the incremental values of license control items for failed NEs in the same time period. The incremental values for the same license control items are added together to create a new set of incremental values for all failed NEs. This merged data is then sent to the licensing center for incremental authentication. If incremental authentication still fails, the individual NE will retry N times within a total duration T1. If incremental authentication succeeds during the retry period, the retry ends.
[0055] In one example, the retry pool of the license adaptation module continuously receives authentication result data during its life cycle; then, a timer T1 is set, and periodically within the duration T1, the incremental set of license control items of all network elements in the pool is merged (merging rule: based on the same license control item, the incremental value of the control item is added), and the merged incremental set of license control items is sent to the license center for incremental authentication, that is, the authentication is repeated. If the license center returns an authentication success result, the authentication success is returned to the network element participating in the data merge and it is removed from the retry pool. In the retry pool, a single network element is subject to two restrictions: the maximum number of retries N times and the maximum retry duration T2. If the authentication fails after exceeding N times and reaching the duration T2, the retry ends, and the authentication failure is returned to the network element and it is removed from the retry pool.
[0056] The present disclosure is further described below with reference to a specific embodiment.
[0057] Scenario 1:
[0058] The licensing center has control items NR_F001 (30M cell) and NR_F002 (60M cell), and the authorized and used quantities are as follows:
[0059] At this time, three network elements N1 to N3 modify their configuration data and activate the configuration data at the same time.
[0060] Network element N1 adds one 30M cell; network element N2 adds three 150M cells; and network element N3 converts three of its five existing 60M cells into 30M cells. Configuration data for all three network elements is activated simultaneously. The license usage calculation module outputs the following based on the configuration changes:
[0061] Network element N1:
[0062] The network management license adaptation module calculates the requests received from the three network elements, calculates the incremental value set of the license control items for each network element, and initiates an incremental authentication request to the license center. The incremental value set of the license control items for each network element is as follows:
[0063] Network element N1:
[0064] The licensing center authenticates the incremental authentication requests of the three network elements. The authentication results are as follows:
[0065] Network element N1 authentication passed;
[0066] Authentication of network element N2 fails, and the single authentication status of NR_F004 is UNDEFINED;
[0067] Authentication of network element N3 fails. The single-item authentication status of NR_F001 is REJECTED, and the single-item authentication status of NR_F002 is AGREED.
[0068] At this point, the control items of the licensing center are as follows:
[0069] The network management permission adaptation module returns the authentication result to network elements N1 and N2. Network element N1 is activated successfully, while network element N2 fails to be activated.
[0070] The network management license adapter module places network element N3, its license control items, and the incremental request value set into the retry pool. After waiting for T1, the retry pool now contains only network element N3. The retry pool aggregates N3's license control item incremental values and initiates an incremental authentication request to the licensing center, but this still fails. The waiting period T1 continues.
[0071] During this time period T1, the network element N4 changes the current four 30M cells into 60M cells, adds another 60M cell, and activates the configuration data.
[0072] The usage calculation module outputs the following according to the configuration modification:
[0073] Network element N4:
[0074] The network management license adaptation module calculates the requests received from the network element, calculates the incremental value set of the network element's license control items, and initiates an incremental authentication request to the license center. The incremental value set of the network element's license control items is as follows:
[0075] The licensing center authenticates the incremental authentication request. The authentication result is as follows:
[0076] Authentication failed. The single-item authentication status of NR_F001 is AGREED, and the single-item authentication status of NR_F002 is REJECTED.
[0077] The NMS license adapter module places NE N4, its license control items, and its incremental request value set into the retry pool. At this point, the retry pool already contains NE N3. After waiting for T1, the retry pool merges the data from NEs N3 and N4 to obtain a new incremental license control item value set and initiates an incremental authentication request to the licensing center.
[0078] The licensing center authenticates the incremental authentication request for this request. The authentication results are as follows:
[0079] Authentication is successful. The single-item authentication status of NR_F001 is AGREED, and the single-item authentication status of NR_F002 is AGREED.
[0080] At this point, the control items of the licensing center are as follows:
[0081] The network management permission adaptation module immediately removes N3 and N4 from the retry pool and returns the authentication success result to network elements N3 and N4. The configuration data of network elements N3 and N4 are activated successfully.
[0082] Scenario 2:
[0083] The licensing center has control item NR_F003 (100M cell), and the authorized amount and usage amount are as follows:
[0084] At this time, one network element N5 has three new 100M cells for data activation. The license usage calculation module outputs the following according to the configuration modification:
[0085] Network element N5:
[0086] The network management license adaptation module calculates the request received from this network element, calculates the incremental value set of the license control items and initiates an incremental authentication request to the license center. The incremental value set of the network element's license control items is as follows:
[0087] Network element N5:
[0088] The licensing center authenticates the incremental authentication request. The authentication result is as follows:
[0089] Authentication failed, and the single authentication status of NR_F003 is REJECTED.
[0090] The network management license adapter module places network element N5, its license control items, and its incremental application value set into the retry pool. After waiting for T1, when only network element N5 remains in the retry pool, the retry pool aggregates N5's license control item incremental values and initiates an incremental authentication request to the licensing center, which still fails. After N consecutive authentication failures, the network management license adapter module immediately returns the authentication failure result to network element N5 and removes N5 and its data from the retry pool.
[0091] The present disclosure provides an incremental control method for network element access permission control. In 5G network management, the number of connected network elements is getting larger and larger. For example, a single network management currently known has access to 50,000 network elements, each of which has 10,000 configuration parameters, affecting 800 permission algorithms; when a user modifies certain parameters for activation, the permission algorithm rules are triggered, and the permission algorithm rules only calculate the permission control items involved in the configuration data modified this time, and output the permission control item entries and quantities that the network element needs to authenticate. When the configuration data of each network element is activated, only the permission control item details within the network element are counted, and the permission calculations of other network elements are not involved, which greatly reduces the amount of calculation required for permission statistics and authentication. Moreover, in the authentication process, a retry mechanism is introduced. For network elements that fail authentication, the authentication success rate is improved by merging authentication with other network elements and retrying multiple times, thereby improving the success rate of configuration data activation.
[0092] Based on the configuration data activation methods provided in the above embodiments, and based on the same inventive concept, a configuration data activation device is also provided in this embodiment. The device is used to implement the above embodiments and preferred implementations, and the details that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0093] FIG3 is a structural block diagram of a configuration data activation device provided according to the present disclosure. The device includes a license usage statistics module 30 , a license adaptation module 32 , and a license center authentication module 34 .
[0094] The license usage statistics module 30 is configured to obtain the configuration data modified by the target network element; determine the license control item set associated with the target network element based on the configuration data, wherein the license control item set includes one or more license control items to be authenticated and license control item information corresponding to each license control item to be authenticated; the license adaptation module 32 is configured to determine the license control item incremental set corresponding to the target network element based on the license control item information; the license center authentication module 34 authenticates each license control item to be authenticated in the license control item incremental set; if each license control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated.
[0095] In an exemplary embodiment, the license control item information corresponding to the license control item to be authenticated includes the target usage and the obtained authorization amount of the license control item to be authenticated, and the license control item incremental set includes one or more incremental application values corresponding to the license control item to be authenticated. The incremental application value of each license control item to be authenticated is obtained by the license adaptation module 32 by taking the difference between the target usage and the authorization amount of the license control item to be authenticated.
[0096] In an exemplary embodiment, the license center authentication module 34 includes: a determination unit; and an authentication unit. The determination unit is configured to determine a current target license control item set of the license center authentication module 34, wherein the target license control item set includes one or more target license control items and a current authorized quantity and a current usage quantity of each target license control item; and the authentication unit is configured to authenticate each to-be-authenticated license control item in the incremental license control item set one by one based on the current authorized quantity and the current usage quantity of the target license control item.
[0097] In an exemplary embodiment, the authentication unit includes: a first determination subunit, configured to take each to-be-authenticated permission control item in the incremental set of permission control items as a target to-be-authenticated permission control item, and determine whether the target to-be-authenticated permission control item is authorized in the permission center authentication module; a second determination subunit, configured to, when the target to-be-authenticated permission control item is not authorized in the permission center authentication module, determine a single authentication result of the target to-be-authenticated permission control item to indicate that the target to-be-authenticated permission control item is not defined in the target permission control item set; a third determination subunit, configured to, when the target to-be-authenticated permission control item is authorized in the permission center authentication module, determine whether the sum of the incremental application value of the target to-be-authenticated permission control item and the usage amount of the target to-be-authenticated permission control item in the permission center authentication module is less than the authorization amount of the target to-be-authenticated permission control item in the permission center authentication module; if so, the single authentication result of the target to-be-authenticated permission control item indicates that the target to-be-authenticated permission control item is authenticated; otherwise, the single authentication result of the target to-be-authenticated permission control item indicates that the target to-be-authenticated permission control item is authenticated.
[0098] In an exemplary embodiment, the licensing center authentication module 34 is configured to, when the target licensing control item to be authenticated is not defined in the target licensing control item set, fail to authenticate the target licensing control item and fail to activate the configuration data of the target network element; and feed back authentication failure information to the target network element.
[0099] In an exemplary embodiment, the licensing center authentication module 34 is configured to, when a single authentication result of the target licensing control item to be authenticated indicates that the authentication of the target licensing control item to be authenticated is rejected, the authentication of the target licensing control item to be authenticated fails; and to re-authenticate the failed incremental set of licensing control items using the updated target licensing control item set in the licensing center authentication module 34.
[0100] In an exemplary embodiment, the license center authentication module 34 is also used to: place the failed license control item incremental set into a retry pool, and merge the failed license control item incremental set with other license control item incremental sets that failed in the retry pool at the same time to obtain a merged license control item incremental set; authenticate the merged license control item incremental set; if the authentication is successful, the configuration data of the target network element is successfully activated; otherwise, repeatedly place the failed license control item incremental set into the retry pool, and repeat the authentication until the number of repeated authentications within the preset time reaches a preset value. If the authentication is still not successful, the authentication operation is terminated.
[0101] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are respectively located in multiple processors.
[0102] An embodiment of the present disclosure further provides a storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0103] In an exemplary embodiment, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the following steps.
[0104] S1. Obtain the modified configuration data of the target network element; S2. Determine the permission control item set associated with the target network element based on the configuration data, wherein the permission control item set includes one or more permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; S3. Determine the permission control item incremental set corresponding to the target network element based on the permission control item information; S4. Authenticate each permission control item to be authenticated in the permission control item incremental set; S5. If each permission control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated.
[0105] In an exemplary embodiment, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0106] Based on the embodiments of the method shown in Figure 1 and the device shown in Figure 3, in order to achieve the above-mentioned purpose, the present disclosure also provides an electronic device, as shown in Figure 4, including a memory 52 and a processor 51, wherein the memory 52 and the processor 51 are both arranged on a bus 53. The memory 52 stores a computer program, and when the processor 51 executes the computer program, the configuration data activation method shown in Figure 1 is implemented.
[0107] Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a memory (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each implementation scenario of the present disclosure.
[0108] In an exemplary embodiment, the device may also be connected to a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and may optionally include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a Wi-Fi interface), etc.
[0109] Those skilled in the art will understand that the structure of an electronic device provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0110] In an exemplary embodiment, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0111] The present disclosure provides a configuration data activation method, which first obtains the configuration data modified by the target network element; secondly, determines the permission control item set associated with the target network element based on the configuration data, the set including one or more permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; then, determines the permission control item incremental set corresponding to the target network element based on the permission control item information; authenticates each permission control item to be authenticated in the permission control item incremental set; if each permission control item to be authenticated is successfully authenticated, the configuration data of the target network element is successfully activated. In this embodiment, the configuration data of a single network element is calculated and authenticated, and there is no need to calculate the network elements of the entire network or the network elements under the same subnet. Compared with the traditional service point control method, the present disclosure is simple to operate and has a small amount of calculation, which greatly improves the authentication efficiency and the configuration data activation efficiency, and solves the technical problem of low efficiency in incremental configuration data activation in traditional permission control schemes.
[0112] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. In an exemplary embodiment, they can be implemented using program code executable by the computing device, so that they can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any specific combination of hardware and software.
[0113] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A configuration data activation method, comprising: Obtain the modified configuration data of the target network element; Determining, according to the configuration data, a permission control item set associated with the target network element, wherein the permission control item set includes one or more permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; Determining an incremental set of admission control items corresponding to the target network element according to the admission control item information; authenticating each to-be-authenticated license control item in the incremental set of license control items; If each authorization control item to be authenticated is successfully authenticated, the configuration data of the target network element is activated successfully.
2. The method according to claim 1, wherein The license control item information corresponding to the license control item to be authenticated includes the target usage and the obtained authorization amount of the license control item to be authenticated, and the license control item incremental set includes the incremental application values corresponding to one or more license control items to be authenticated. The incremental application value of each license control item to be authenticated is obtained by taking the difference between the target usage and the authorization amount of the license control item to be authenticated.
3. The method according to claim 1, wherein Authenticating each to-be-authenticated license control item in the incremental set of license control items includes: Determine a current target license control item set of the license center authentication module, wherein the target license control item set includes one or more target license control items and a current authorization amount and a current usage amount of each target license control item; Each to-be-authenticated license control item in the license control item increment set is authenticated one by one according to the current authorized amount and the current usage amount of the target license control item.
4. The method according to claim 3, wherein: Authenticating each to-be-authenticated license control item in the incremental set of license control items one by one based on the current authorized amount and the current usage amount of the target license control item includes: taking each to-be-authenticated license control item in the incremental set of license control items as a target to-be-authenticated license control item, and determining whether the target to-be-authenticated license control item is authorized in an authentication module of a licensing center; If the target permission control item to be authenticated is not authorized by the authorization module of the licensing center, the single authentication result of the target permission control item to be authenticated indicates that the target permission control item to be authenticated is not defined in the target permission control item set; If the target license control item to be authenticated is authorized in the authentication module of the licensing center, determining whether the sum of the incremental application value of the target license control item to be authenticated and the usage amount of the target license control item to be authenticated in the authentication module of the licensing center is less than the authorization amount of the target license control item to be authenticated in the authentication module of the licensing center; If it is less than, the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is permitted; if it is not less than, the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is rejected.
5. The method according to claim 4, wherein The method further comprises: If the target permission control item to be authenticated is not defined in the target permission control item set, the authentication of the target permission control item to be authenticated fails, and the activation of the configuration data of the target network element fails; Feedback authentication failure information to the target network element.
6. The method according to claim 4, wherein: The method further comprises: If the single authentication result of the target permission control item to be authenticated indicates that the authentication of the target permission control item to be authenticated is rejected, the authentication of the target permission control item to be authenticated fails; The target license control item set updated by the license center authentication module is used to re-authenticate the failed license control item incremental set.
7. The method according to claim 6, wherein: The re-authenticating the failed incremental set of license control items by using the target license control item set updated by the license center authentication module includes: placing the failed incremental set of license control items into a retry pool, and merging the failed incremental set of license control items with other incremental sets of license control items in the retry pool that failed at the same time to obtain a merged incremental set of license control items; Authenticating the merged incremental set of license control items; If the authentication is successful, the configuration data of the target network element is activated successfully; if the authentication fails, the incremental set of failed license control items is repeatedly placed into the retry pool, and the authentication is repeated until the number of repeated authentications within the preset time reaches the preset value. If the authentication is still not successful, the authentication operation is terminated.
8. A configuration data activation device, comprising: a license usage statistics module configured to obtain configuration data modified by a target network element; Determine a set of permission control items associated with the target network element according to the configuration data, wherein the set of permission control items includes a or multiple permission control items to be authenticated and permission control item information corresponding to each permission control item to be authenticated; A license adaptation module configured to determine an incremental set of license control items corresponding to the target network element according to the license control item information; The licensing center authentication module authenticates each of the to-be-authenticated licensing control items in the licensing control item increment set; if each of the to-be-authenticated licensing control items is authenticated successfully, the configuration data of the target network element is activated successfully.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps according to any one of claims 1 to 7 are implemented.
