A business reconciliation method, device and electronic equipment
By breaking down pending business into network element level and data modeling level, and performing digest matching at each level, the blocking and resource consumption problems in the reconciliation process between the SDN controller and network element devices are solved, and efficient and consistent reconciliation is achieved.
Patent Information
- Application Number
- CN202310004655.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2043-01-03
AI Technical Summary
In existing technologies, the reconciliation process of configuration data between SDN controllers and network element devices leads to service blockage and excessive resource consumption, resulting in low reconciliation efficiency.
The pending business is broken down into network element-level and data modeling-level business. The reconciliation results are determined by hierarchical summary matching, which optimizes resource utilization and reconciliation cycle and avoids blockage.
It improves the efficiency of business consistency reconciliation processing, reduces resource consumption and blocking probability, and enhances the resource utilization of the SDN controller.
Smart Images

Figure CN118301083B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a service reconciliation method and device and electronic equipment. BACKGROUND
[0002] With the development of communication technology, a network structure diagram of a software defined network (English: Software Defined Network, abbreviated as SDN) is as shown in Figure 1 In the Figure 1 , the SDN controller interacts with the application plane through a northbound interface, and interacts with the data plane through a southbound interface, and the data plane includes a plurality of network element devices, which can be routers, switches, wireless access points (English: Access Point, abbreviated as AP), other terminals with systems, etc. The network element device stores configuration data written by the SDN controller, the SDN controller can retrieve data in the network element device, and the network element device has a plurality of configuration entryways, such as a command line interface (English: Command Line Interface, abbreviated as CLI), a management information base interface (English: Management Information Base, abbreviated as MIB), and a network configuration protocol interface (English: Network Configuration Protocol, abbreviated as NETCONF). The network element device includes a network administrator logging in to the network element device to modify the configuration data, or a management control tool connected to the network element device to modify the configuration data, or the network element device modifying the configuration data based on service requirements. Therefore, the SDN network needs to reconcile the consistency of the configuration data of the network element device to ensure the normal operation of the pending service.
[0003] Currently, in order to ensure the consistency of the pending service, the SDN controller establishes a NETCONF channel with the network element device, reads the configuration data in the network element device for reconciliation, and when there is inconsistent configuration data, the inconsistent configuration data is repaired.
[0004] Based on the above description, when the NETCONF channel is occupied by the reconciliation service, other types of services issued by the SDN controller to the network element device need to be queued and waited. When the number of other types of services is too large, it will cause service blocking. In the reconciliation process, each pending service involves a plurality of network element devices, and each network element device requires a plurality of configuration data. When the number of pending services is too large, processing each pending service will consume a large amount of hardware resources of the SDN controller and the network element device, making the reconciliation time-consuming, resulting in extremely low efficiency of the reconciliation process of the pending service. SUMMARY
[0005] The present application provides a business reconciliation method, device and electronic equipment to solve the low efficiency of the reconciliation of the pending business in the prior art.
[0006] In a first aspect, the present application provides a business reconciliation method, comprising:
[0007] obtaining at least one first business and at least one second business after grading the pending business, wherein the first business comprises a network element level business, and the second business comprises a data modeling level business;
[0008] determining a first abstract corresponding to each of the at least one first business, and a second abstract corresponding to each of the at least one second business;
[0009] in response to the respective first abstracts not matching the preset first abstracts, determining a second matching result corresponding to each of the second businesses;
[0010] taking the second matching result as the reconciliation result of the pending business.
[0011] According to the above method, the pending business is divided into the first business and the second business, and when the first abstracts do not match the preset first abstracts, the second matching result of the second business is determined, so as to obtain the reconciliation result corresponding to the pending business. The first business and the second business are matched in the order of the first business first and the second business second, thereby avoiding the problem of the blocking of the pending business and improving the processing efficiency of the consistent reconciliation business of the pending business.
[0012] In a possible design, the determination of the first abstract corresponding to each of the at least one first business, and the second abstract corresponding to each of the at least one second business comprises:
[0013] determining whether the pending business enters a preset reconciliation period;
[0014] in response to the pending business entering the preset reconciliation period, determining the first abstract corresponding to each of the at least one first business, and the second abstract corresponding to each of the at least one second business.
[0015] According to the above method, when the pending business enters the preset reconciliation period, the business consistency reconciliation processing is performed on the pending business, so that the pending business in the network element device can be reconciled according to the preset reconciliation period, thereby reducing the blocking probability of the pending business.
[0016] In a possible design, the determining of the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service comprises:
[0017] The resource proportion of the network element device associated with the to-be-processed service is determined, where the resource proportion comprises at least one of a CPU proportion, a memory proportion, and a connection bandwidth proportion between the network element device and the SDN controller.
[0018] When the resource proportion is lower than a preset resource proportion, the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service are determined.
[0019] By the foregoing method, when the resource proportion is lower than the preset resource proportion, the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service are determined, ensuring that each first digest and second digest can be successfully obtained in the network element device.
[0020] In a possible design, the determining of the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service comprises:
[0021] In response to the resource proportion being lower than a preset resource proportion, a service detection interval time of the to-be-processed service is determined, where the service detection interval time is a time from a last consistency reconciliation processing of the to-be-processed service.
[0022] When the service detection interval time reaches a preset interval time, the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service are determined.
[0023] By the foregoing method, when the resource proportion is lower than the preset resource proportion and the service detection interval time reaches the preset interval time, a consistency reconciliation process of the to-be-processed service is triggered, reducing resource consumption caused when a preset reconciliation period triggers the consistency reconciliation, thereby improving resource utilization of the SDN controller and availability of the SDN controller.
[0024] In a possible design, the determining of the first digest corresponding to each of the at least one first service comprises:
[0025] The identification information corresponding to each first service is extracted, where the identification information comprises a first configuration version number or a first configuration code.
[0026] The identification information is taken as the first digest of the corresponding first service.
[0027] By the method, the first abstract of each first service is determined, so that the first service in the to-be-processed service can be accurately located.
[0028] In a possible design, the determining of the second abstract corresponding to each of the at least one second service includes:
[0029] The network element device identifier and the service name corresponding to each second service are extracted, where the service name includes a second configuration version number or a second configuration code, and the service name is used to identify the second service.
[0030] The network element device identifier and the service name are used as the second abstract of the corresponding second service.
[0031] By the method, the second abstract of each second service is determined, so that the second service in the to-be-processed service can be accurately located.
[0032] In a possible design, the determining of the second matching result corresponding to each second service includes:
[0033] When the second abstract matches the preset second abstract, it is determined that the to-be-processed service is consistent in account, and the consistency in account is used as the second matching result; or
[0034] When the second abstract does not match the preset second abstract, it is determined that the to-be-processed service is inconsistent in account, and the inconsistency in account is used as the second matching result.
[0035] By the method, the second matching result of the to-be-processed service is determined, so that the service consistency account result of the to-be-processed service is obtained.
[0036] In a second aspect, the present application provides a service account device, the device includes:
[0037] The obtaining module is configured to obtain at least one first service and at least one second service after hierarchical processing of to-be-processed service, where the first service includes a network element level service, and the second service includes a data modeling level service.
[0038] The determining module is configured to determine a first abstract corresponding to each of the at least one first service, and a second abstract corresponding to each of the at least one second service.
[0039] The responding module is configured to, in response to the first abstracts not matching preset first abstracts, determine a second matching result corresponding to each second service.
[0040] The account module is configured to use the second matching result as an account result of the to-be-processed service.
[0041] In a possible design, the determining module is specifically configured to determine whether the to-be-processed service enters a preset reconciliation period, and in response to the to-be-processed service entering the preset reconciliation period, determine the first abstract corresponding to each of the at least one first service and the second abstract corresponding to each of the at least one second service.
[0042] In a possible design, the determining module is further configured to determine a resource occupation ratio of the network element device associated with the to-be-processed service, and in response to the resource occupation ratio being lower than a preset resource occupation ratio, determine the first abstract corresponding to each of the at least one first service and the second abstract corresponding to each of the at least one second service.
[0043] In a possible design, the determining module is further configured to, in response to the resource occupation ratio being lower than the preset resource occupation ratio, determine a service detection interval time of the to-be-processed service, and in response to the service detection interval time reaching a preset interval time, determine the first abstract corresponding to each of the at least one first service and the second abstract corresponding to each of the at least one second service.
[0044] In a possible design, the determining module is further configured to extract the identification information corresponding to each of the first services respectively, and take the identification information as the first abstract of the first service corresponding to the identification information.
[0045] In a possible design, the determining module is further configured to extract the network element device identification and the service name corresponding to each of the second services respectively, and take the network element device identification and the service name as the second abstract of the second service corresponding to the network element device identification and the service name.
[0046] In a possible design, the responding module is specifically configured to, when the second abstract is consistent with the preset second abstract, determine that the to-be-processed service is reconciled, take the reconciliation as a second matching result, or when the second abstract is inconsistent with the preset second abstract, determine that the to-be-processed service is not reconciled, take the non-reconciliation as the second matching result.
[0047] In a third aspect, the present application provides an electronic device, comprising:
[0048] a memory configured to store a computer program;
[0049] a processor configured to execute the computer program stored in the memory, and implement the business reconciliation method.
[0050] In a fourth aspect, a computer readable storage medium, in which a computer program is stored, is provided. The computer program, when executed by a processor, implements the business reconciliation method of the above aspect.
[0051] The above-mentioned aspects and the technical effects that can be achieved by the aspects are described above in detail with respect to the first aspect or the possible solutions of the first aspect. Therefore, the description will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0052] Figure 1 An SDN network structure diagram is provided for the present application.
[0053] Figure 2 A flowchart of a business reconciliation method is provided for the present application.
[0054] Figure 3 A structure diagram of a business reconciliation device is provided for the present application.
[0055] Figure 4 A structure diagram of an electronic device is provided for the present application. DETAILED DESCRIPTION
[0056] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be described in further detail below with reference to the accompanying drawings. The specific operation methods in the method embodiments can also be applied to the device embodiments or the system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". The association relationship between the associated objects is described, which means that there can be three relationships, for example, A and / or B, which means that there are three cases: A exists alone, A and B exist together, and B exists alone. A is connected to B, which means that A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, "first", "second", etc. are used only for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating or implying order.
[0057] In the related art, in order to ensure the consistency of the to-be-processed service, the SDN controller needs to establish a NETCONF channel with the network element device, the SDN controller reads the configuration data in the network element device through the NETCONF channel to perform reconciliation, when there is inconsistent configuration data, the SDN controller repairs the inconsistent configuration data, but when the NETCONF channel is occupied by the reconciliation service, other types of services issued by the SDN controller to the network element device need to be queued, when the number of other types of services is too large, service blocking will be caused, and in the reconciliation process, each to-be-processed service involves multiple network element devices, and each network element device needs multiple configuration data, when the number of to-be-processed services is too large, processing each to-be-processed service will consume a large amount of hardware resources of the SDN controller and the network element device, so that the reconciliation time is too long, resulting in extremely low efficiency of the reconciliation process of the to-be-processed service.
[0058] In order to solve the problems described above, the embodiments of the present application provide a service reconciliation method for improving the efficiency of service reconciliation. Wherein the method and device of the embodiments of the present application are based on the same technical concept, since the principles of the problems solved by the method and the device are similar, the embodiments of the device and the method can be mutually referred to, and the repeated parts will not be described again.
[0059] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0060] Reference Figure 2 The present application provides a service reconciliation method, which can improve the processing efficiency of service reconciliation, and the implementation process of the method is as follows:
[0061] Step S21: obtaining at least one first service and at least one second service after classifying the to-be-processed service.
[0062] The embodiments of the present application are to improve the service consistency reconciliation efficiency of the to-be-processed service in the network element device through the SDN controller, first, the to-be-processed service needs to be obtained, in the process of performing consistency reconciliation processing on the to-be-processed service, since the service consistency reconciliation needs to cross multiple data modeling (Yet Another Next Generation, abbreviated as: YANG) level services and multiple network element level services, the YANG level service is used to store the backup of the to-be-processed service, and synchronize the to-be-processed service on the network element device, one to-be-processed service can be divided into multiple network element level services, and one network element level service can be divided into multiple YANG level services, the to-be-processed service can be configuration data in the network element device, therefore, at least one first service and at least one second service after classifying the to-be-processed service need to be obtained.
[0063] It should be noted that the first service in the embodiments of the present application can be a network element level service, and the second service can be a YANG level service.
[0064] By the above method, the to-be-processed service is divided into at least one first service and at least one second service, and the to-be-processed service is split into a network element level and a YANG level, so that the step-by-step reconciliation of the to-be-processed service can be realized.
[0065] Step S22: Determine the first digest corresponding to each of the at least one first service, and the second digest corresponding to each of the at least one second service.
[0066] After determining the at least one first service and the at least one second service corresponding to the to-be-processed service respectively, in order to realize the step-by-step reconciliation of the to-be-processed service, the first digest corresponding to each first service and the second digest corresponding to each second service are determined, and the specific determination process is as follows:
[0067] In order to realize concurrent execution of the reconciliation process and realize step-by-step advancement of the reconciliation process, it is determined whether the to-be-processed service has entered a preset reconciliation period, and whether the resource occupation ratio of the network element device associated with the to-be-processed service is lower than a preset resource occupation ratio. The resource occupation ratio includes: CPU occupation ratio of the network element device, memory occupation ratio, and connection bandwidth occupation ratio between the network element device and the SDN controller. When the resource occupation ratio is compared with the preset resource occupation ratio, the resource occupation ratio can be at least one of the CPU occupation ratio of the network element device, the memory occupation ratio, and the connection bandwidth occupation ratio between the network element device and the SDN controller. For example: when the resource occupation ratio is the CPU occupation ratio, the preset resource occupation ratio is the preset CPU occupation ratio.
[0068] When the to-be-processed service enters the preset reconciliation period, or the resource occupation ratio of the network element device associated with the to-be-processed service is lower than the resource occupation ratio, the first digest corresponding to each first service and the second digest corresponding to each second service are determined.
[0069] In addition, when the resource occupation ratio is lower than the preset resource occupation ratio, in order to improve the resource utilization rate of the network element device, it is also necessary to determine the service detection interval time of the to-be-processed service, which is the time from the last consistency reconciliation processing of the to-be-processed service. When the service detection interval time reaches the preset interval time, the first digest of each first service and the second digest of each second service are obtained, preventing multiple service consistency reconciliation processing flows within the preset interval time.
[0070] When the to-be-processed service meets the conditions described above, the first digest of each first service and the second digest of each second service are extracted in the following way, as follows:
[0071] When the to-be-processed service is not processed, the SDN controller generates a first mapping relationship between the to-be-processed service and a preset network element relationship and a second mapping relationship between the to-be-processed service and a preset YANG relationship. The first mapping relationship and the second mapping relationship can be embodied in a list form or a table form, and can be adjusted according to actual conditions, which will not be described in detail here. Thus, at least one second service involved in the first service can be known, and consistency checking of the to-be-processed service can be realized based on the first mapping relationship and the second mapping relationship.
[0072] In order to realize consistency checking of the to-be-processed service, the identification information corresponding to each first service is extracted, the identification information includes a first configuration version number or a first configuration code, and the identification information is used as a first digest of the first service. The network element device identifier and the service name corresponding to each second service are extracted, the service name is used to identify the second service, and the service name includes a YANG-level second configuration version number or a second configuration code. Each network element device identifier and each service name are used as a second digest of the corresponding second service.
[0073] For example, the first digest of the first service is A. When the preset first digest is A, it means that the first digest matches the preset first digest, and the service checking is consistent. When the preset first digest is B, it means that the first digest does not match the preset first digest, and the service checking is inconsistent.
[0074] In addition, when the second digest of the second service is a, when the preset second digest is a, it means that the second digest matches the preset second digest, and the service checking is consistent. When the preset second digest is c, it means that the second digest does not match the preset second digest, and the service checking is inconsistent.
[0075] Through the above method, the first digest and the second digest corresponding to the first service and the second service are determined. Through periodic consistency checking of the to-be-processed service, and triggering the consistency checking process of the to-be-processed service when the resource occupation ratio of the network element device of the network element device is lower than the preset resource occupation ratio, the problem of blocking of the to-be-processed service is avoided, the resource utilization rate of the network element device is improved, and the consistency checking efficiency of the to-be-processed service is improved.
[0076] Step S23: In response to the fact that each first digest does not match the preset first digest, a second matching result corresponding to each second service is determined.
[0077] Since the first mapping relationship and the second mapping relationship corresponding to the to-be-processed service have been determined, the first mapping relationship is taken as a preset first digest, and the second mapping relationship is taken as a preset second digest, the preset first digest contains a preset network element relationship, the preset network element relationship contains a preset first configuration version number or a first configuration encoding, the preset second digest contains a preset YANG relationship, and the preset YANG contains a second configuration version number or a second configuration encoding. Therefore, when the first digest at the network element level does not match the preset first digest, it is compared whether the second digest at the YANG level matches the preset second digest, to obtain a second matching result that the second service matches the preset second digest or a second matching result that the second service does not match the preset second digest.
[0078] It needs to be noted that, after it is determined that the first digest at the network element level matches the preset first digest, it is also compared whether the second digest at the YANG level matches the preset second digest, to obtain a second matching result that the second service matches the preset second digest or a second matching result that the second service does not match the preset second digest; when the first digest does not match the preset first digest, the first digest can be used to quickly locate the first service and the second service included in the first service, so that the second digest of the second service included in the first service can be matched with the preset second digest in a targeted manner, and the efficiency of obtaining service consistency accounting is improved.
[0079] Through the above method, after the to-be-processed service is split into the first service at the network element level and the second service at the YANG level, the first service at the network element level and the second service at the YANG level are sequentially subjected to level-by-level accounting, thereby improving the efficiency of service consistency accounting of the to-be-processed service.
[0080] Step S24: taking the second matching result as an accounting result of the to-be-processed service.
[0081] The second matching result of the second service at the YANG level has been determined, when the second matching result is consistent, it represents that the consistency accounting of the to-be-processed service is completed, and the to-be-processed service is consistent in accounting; when the second matching result is inconsistent, it represents that there is a first service and / or a second service that is inconsistent in accounting in the to-be-processed service, the first digest and / or the second digest can be used to quickly locate the service that is inconsistent in accounting, and the service that is inconsistent in accounting is stored, and a prompt information that the service is inconsistent in accounting is sent based on the service.
[0082] After the prompt information that the service is inconsistent is determined in the embodiment of the application, the preset digest corresponding to the digest in the SDN controller can also be determined based on the digest that is inconsistent, the preset digest is replaced with the digest, and the service that is inconsistent in accounting is repaired.
[0083] Based on the above description, the to-be-processed service is split into at least one first service at a network element level, and the first service at the network element level is split into at least one second service at a YANG level. In an account period of the to-be-processed service, or when a resource proportion of a network element device is lower than a preset resource proportion, the first service and the second service are respectively matched in a sequence from the network element level to the YANG level, so as to avoid the problem of to-be-processed service blocking, and improve the processing efficiency of consistent account services of the to-be-processed service.
[0084] Based on the same inventive concept, the embodiment of the present application further provides a service account device for implementing the function of the service account method. Referring to Figure 3 , the device comprises:
[0085] The obtaining module 301 is configured to obtain at least one first service and at least one second service after hierarchical processing of a to-be-processed service, wherein the first service comprises a network element level service, and the second service comprises a data modeling level service.
[0086] The determining module 302 is configured to determine a first digest corresponding to each of the at least one first service, and a second digest corresponding to each of the at least one second service.
[0087] The response module 303 is configured to determine a second matching result corresponding to each second service in response to the fact that each first digest does not match a preset first digest.
[0088] The account module 304 is configured to take the second matching result as an account result of the to-be-processed service.
[0089] In a possible design, the determining module 302 is specifically configured to determine whether the to-be-processed service enters a preset account period, and determine the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service in response to the fact that the to-be-processed service enters the preset account period.
[0090] In a possible design, the determining module 302 is further configured to determine a resource proportion of a network element device associated with the to-be-processed service, and determine the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service in response to the fact that the resource proportion is lower than a preset resource proportion.
[0091] In a possible design, the determining module 302 is further configured to determine a service detection interval time of the to-be-processed service in response to the resource proportion being lower than the preset resource proportion, and determine the first abstract corresponding to each of the at least one first service and the second abstract corresponding to each of the at least one second service when the service detection interval time reaches a preset interval time.
[0092] In a possible design, the determining module 302 is further configured to extract the identification information corresponding to each of the first services as the first abstract of the first service.
[0093] In a possible design, the determining module 302 is further configured to extract the identification information corresponding to each of the first services as the first abstract of the first service.
[0094] In a possible design, the response module 303 is specifically configured to determine that the to-be-processed service is consistent in account when the second abstract is consistent with the preset second abstract, and determine that the to-be-processed service is inconsistent in account when the second abstract is inconsistent with the preset second abstract.
[0095] Based on the same inventive concept, the embodiments of the present application further provide an electronic device, which can implement the functions of the foregoing business account checking apparatus, and refer to Figure 4 , the electronic device comprises:
[0096] at least one processor 401 and a memory 402 connected with the at least one processor 401, and the embodiments of the present application do not limit the specific connection medium between the processor 401 and the memory 402, Figure 4 In the foregoing embodiment, the connection between the processor 401 and the memory 402 is taken as an example through the bus 400. The bus 400 is taken as a thick line in Figure 4 , and the connection modes between other components are only schematically illustrated, and are not limited. The bus 400 can be divided into an address bus, a data bus, a control bus and the like, and for the convenience of representation, Figure 4 In the foregoing embodiment, only one thick line is used to represent the bus 400, but it does not mean that there is only one bus or only one type of bus. Alternatively, the processor 401 can also be referred to as a controller, and the name is not limited.
[0097] In the embodiments of the present application, the memory 402 stores instructions executable by the at least one processor 401, and the at least one processor 401 can execute the business reconciliation method discussed above by executing the instructions stored in the memory 402. The processor 401 can implement Figure 2 the functions of various modules of the apparatus shown.
[0098] The processor 401 is the control center of the apparatus, and can connect various parts of the control device through various interfaces and lines. The processor 401 can monitor the entire apparatus by running or executing instructions stored in the memory 402 and calling data stored in the memory 402, thereby processing data and performing various functions of the apparatus.
[0099] In a possible design, the processor 401 can include one or more processing units. The processor 401 can integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication. It can be understood that the modem processor can also not be integrated into the processor 401. In some embodiments, the processor 401 and the memory 402 can be implemented on the same chip, and in some embodiments, they can also be implemented on separate chips respectively.
[0100] The processor 401 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a discrete gate or transistor logic component, a discrete hardware component, and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the business reconciliation method disclosed in the embodiments of the present application can be directly embodied as execution of the hardware processor, or execution of a combination of hardware and software modules in the processor.
[0101] The memory 402, as a non-volatile computer readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 402 can include at least one type of storage medium, for example, can include flash memory, hard disk, multimedia card, card type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. The memory 402 is any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but is not limited to this. The memory 402 in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, used to store program instructions and / or data.
[0102] By designing and programming the processor 401, the code corresponding to the business reconciliation method introduced in the foregoing embodiments can be fixed in the chip, so that the chip can execute the business reconciliation step of the embodiment shown in the running time. Figure 2 How to design and program the processor 401 is a technology known to those skilled in the art, and will not be described here.
[0103] Based on the same inventive concept, the embodiments of the present application also provide a storage medium storing computer instructions, when the computer instructions run on a computer, the computer instructions make the computer execute the business reconciliation method discussed above.
[0104] In some possible implementations, various aspects of the business reconciliation method provided by the present application can also be implemented in the form of a program product, which includes program code, when the program product runs on a device, the program code is used to make the control device execute the steps in the business reconciliation method according to various exemplary embodiments of the present application described above in the specification.
[0105] Those skilled in the art will appreciate that embodiments of the present application can be devised for a variety of other systems which are currently developed or later developed. Therefore, the present application is intended to cover all such modifications and variations of this application that are within the scope of the appended claims and their equivalents. It is intended that each element of claim 1 and 2 is independent of one another. No element of claim 1 and 2, or any other claim, is implied to depend on any other element or limitation of claim 1 and 2 or any other claim except where expressly recited in that claim.
[0106] The present application is described in reference to the flowchart and / or block diagrams of the method, apparatus (system) and computer program product according to this application. It will be understood that each block of the flowchart and / or block diagrams, and combinations of blocks in the flowchart and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks.
[0107] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more functions specified in the flowchart and / or block diagram block or blocks.
[0109] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A business reconciliation method, characterized in that, include: Obtain at least one first service and at least one second service after the service to be processed is classified, wherein the first service includes network element-level services and the second service includes data modeling-level services; Determine the first digest corresponding to each of the at least one first service, and the second digest corresponding to each of the at least one second service; In response to the fact that each of the first digests does not match the preset first digest, the second matching result corresponding to each second service is determined; The second matching result is used as the reconciliation result for the pending business.
2. The method as described in claim 1, characterized in that, Determining the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service includes: Determine whether the pending business has entered the preset reconciliation cycle; In response to the pending business entering a preset reconciliation period, a first summary corresponding to each of the at least one first business and a second summary corresponding to each of the at least one second business are determined.
3. The method as described in claim 1, characterized in that, Determining the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service includes: The resource proportion of the network element device associated with the service to be processed is determined, wherein the resource proportion includes at least one of the CPU proportion, memory proportion and connection bandwidth proportion between the network element device and the SDN controller. When the resource ratio is lower than the preset resource ratio, a first summary corresponding to each of the at least one first service and a second summary corresponding to each of the at least one second service are determined.
4. The method as described in claim 3, characterized in that, Determining the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service includes: In response to the resource ratio being lower than the preset resource ratio, a business detection interval time for the pending business is determined, wherein the business detection interval time is the time since the last consistency reconciliation process for the pending business. When the service detection interval reaches a preset interval, the first summary corresponding to each of the at least one first service and the second summary corresponding to each of the at least one second service are determined.
5. The method as described in claim 1, characterized in that, Determining the first digest corresponding to each of the at least one first service includes: Extract the identification information corresponding to each first service, wherein the identification information includes: first configuration version number or first configuration code; Each of the identification information is used as the first summary of its corresponding first service.
6. The method as described in claim 1, characterized in that, Determining the second digest corresponding to each of the at least one second service includes: Extract the network element device identifier and service name corresponding to each second service, wherein the service name includes the second configuration version number or the second configuration code, and the service name is used to identify the second service; Each network element device identifier and each service name are used as the second summary of their respective second services.
7. The method as described in claim 1, characterized in that, The second matching results corresponding to each second business are determined, including: When the second summary matches the preset second summary, it is determined that the pending business reconciliation is consistent, and the reconciliation consistency is taken as the second matching result; or When the second summary does not match the preset second summary, it is determined that the reconciliation of the pending business is inconsistent, and the reconciliation inconsistency is taken as the second matching result.
8. A business reconciliation device, characterized in that, The device includes: The acquisition module is used to acquire at least one first service and at least one second service after the service to be processed is classified, wherein the first service includes network element-level services and the second service includes data modeling-level services. The determining module is used to determine the first digest corresponding to each of the at least one first service and the second digest corresponding to each of the at least one second service; The response module is used to determine the second matching result corresponding to each second service in response to the mismatch between each first digest and the preset first digest; The reconciliation module is used to use the second matching result as the reconciliation result of the pending business.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a computer program stored in the memory, implements the steps of the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-7.
Citation Information
Patent Citations
Method and apparatus for generating service document voucher
CN101388087A
Load information transmission method, load information transmission system and network element
CN104955128A