Automatic updating method and device for special line resource ledger and readable storage medium

By obtaining device logs and configuration information, detecting port status and determining update strategies, the problem of difficulty in updating Internet dedicated resource ledgers is solved, real-time and accuracy of ledgers are achieved, and fault handling and automatic business activation is supported.

CN119484322AActive Publication Date: 2025-02-18CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411521167.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-18
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

In the prior art, it is difficult to achieve real-time and accuracy in the update of the Internet dedicated resource ledger, resulting in problems such as fault handling and automatic business activation.

Method used

By obtaining the log and configuration information of the corresponding devices of the dedicated resource, detecting the up/down records of the physical port, determining the port configuration verification strategy, and determining the ledger update strategy based on the verification results, realizing automatic update of the dedicated resource ledger.

Benefits of technology

It realizes automatic update of ledgers without manual intervention, ensures the real-time and accuracy of resource ledger records, and effectively supports the automatic activation of fault handling and Internet dedicated line services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484322A_ABST
    Figure CN119484322A_ABST
Patent Text Reader

Abstract

The invention provides a special line resource ledger automatic updating method and device and a readable storage medium. The method comprises the steps that log records and configuration information of equipment corresponding to special line resources are acquired; detecting whether an up / down record of the physical port exists in the log record or not to obtain a first detection result; determining a port configuration checking strategy based on the first detection result, and performing port configuration checking according to the checking strategy to obtain a second detection result; and determining a standing book updating strategy of the private line resource according to the second detection result. The invention provides an automatic updating method for a private line resource ledger, which can realize automatic updating of the ledger, does not need manual intervention, ensures the real-time performance of resource ledger recording, greatly improves the accuracy rate, and effectively supports fault processing and automatic opening of Internet private line business.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method, device and readable storage medium for automatically updating a dedicated line resource ledger. Background Art

[0002] The Internet dedicated line resource ledger is a detailed list that records and manages Internet dedicated line resources. It is essential to ensure the effective management, optimization and monitoring of network resources. By establishing and maintaining such a ledger, resource usage can be better tracked and the quality and efficiency of network services can be improved.

[0003] At present, the operator's basic network is divided into transmission network, IP data network, voice switching network, etc. These networks have a resource ledger to record the device name, port name, IP address, customer name and resource ledger and other resource corresponding records. The accuracy of this resource ledger is required to be very high. If the accuracy of the resource ledger is not high, it will lead to a series of more serious problems such as the inability to handle subsequent faults and the inability to automatically activate services.

[0004] Therefore, how to ensure the real-time and accuracy of resource ledgers becomes a problem that needs to be solved. Summary of the invention

[0005] The technical problem to be solved by the present application is to provide a dedicated line resource ledger automatic update method, device and readable storage medium to solve the problems existing in the prior art in view of the above-mentioned deficiencies in the prior art.

[0006] In the first aspect, the present application provides a method for automatically updating a dedicated line resource ledger.

[0007] The methods include:

[0008] S1. Obtain the log records and configuration information of the device corresponding to the dedicated line resource;

[0009] S2. Check whether there is an up / down record of the physical port in the log record, and obtain a first detection result;

[0010] S3. Determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result;

[0011] S4. Determine a dedicated line resource ledger update strategy based on the second detection result.

[0012] In some embodiments, in S3, determining a port configuration verification strategy based on the first detection result includes:

[0013] If the first detection result is that there is an up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the physical port of the device is consistent with the historical configuration.

[0014] In some embodiments, S4 includes:

[0015] If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the physical port of the device.

[0016] In some embodiments, S4 includes:

[0017] If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is consistent, then the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

[0018] In some embodiments, in S3, determining a port configuration verification strategy based on the first detection result includes:

[0019] If the first detection result is that there is no up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration.

[0020] In some embodiments, S4 includes:

[0021] If the second detection result obtained by checking whether the current configuration information of the logical port vlan interface is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the logical port vlan interface.

[0022] In some embodiments, S4 includes:

[0023] If the second detection result obtained by checking whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration is consistent, the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

[0024] In the second aspect, the present application provides a dedicated line resource account automatic update device,

[0025] The device comprises:

[0026] An information acquisition module, which is configured to obtain log records and configuration information of devices corresponding to dedicated line resources;

[0027] A first detection module is configured to detect whether there is an up / down record of the physical port in the log record, and obtain a first detection result;

[0028] A second detection module, which is configured to determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result;

[0029] A ledger update module is configured to determine a ledger update strategy for dedicated line resources according to the second detection result.

[0030] In a third aspect, the present application provides a dedicated line resource ledger automatic update device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the dedicated line resource ledger automatic update method described in the first aspect above.

[0031] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for automatically updating the dedicated line resource ledger described in the first aspect above is implemented.

[0032] The present application provides a method, device and readable storage medium for automatically updating the dedicated line resource ledger, the method comprising: obtaining the log record and configuration information of the device corresponding to the dedicated line resource; detecting whether the log record contains up / down records of the physical port, and obtaining a first detection result; determining the port configuration verification strategy based on the first detection result, and performing port configuration verification according to the verification strategy to obtain a second detection result; determining the dedicated line resource ledger update strategy according to the second detection result. The present application provides a method for automatically updating the dedicated line resource ledger, which can realize automatic update of the ledger without manual intervention, ensure the real-time nature of the resource ledger record, and greatly improve the accuracy, effectively supporting fault handling and automatic activation of Internet dedicated line services. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0034] Figure 1 This is a typical diagram of Internet dedicated line access;

[0035] Figure 2 A flowchart of a dedicated line resource ledger automatic update method provided in an embodiment of the present application;

[0036] Figure 3 A flowchart of another method for automatically updating a dedicated line resource ledger provided in an embodiment of the present application;

[0037] Figure 4 A schematic diagram of a specific scenario example 1 of how to automatically update a ledger when a resource changes, provided in an embodiment of the present application;

[0038] Figure 5 A schematic diagram of a second specific scenario example of how to automatically update a ledger when a resource changes, provided in an embodiment of the present application;

[0039] Figure 6 A schematic diagram of the structure of a dedicated line resource ledger automatic update device provided in an embodiment of the present application;

[0040] Figure 7 A structural diagram of another dedicated line resource ledger automatic updating device provided in an embodiment of the present application.

[0041] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solution of the present application, the implementation mode of the present application will be further described in detail below with reference to the accompanying drawings.

[0043] It should be understood that the specific embodiments and drawings described herein are only used to explain the present application, rather than to limit the present application.

[0044] It can be understood that, in the absence of conflict, the various embodiments in the present application and the various features in the embodiments can be combined with each other.

[0045] It can be understood that, for the convenience of description, the drawings of the present application only show the parts related to the present application, while the parts unrelated to the present application are not shown in the drawings.

[0046] It can be understood that each unit and module involved in the embodiments of the present application may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0047] It can be understood that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0048] It is understandable that, in the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the present application may occur in an order different from that marked in the drawings.

[0049] It is understood that the flowcharts and block diagrams of the present application illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present application. Among them, each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or by a combination of hardware and computer instructions.

[0050] It can be understood that the units and modules involved in the embodiments of the present application can be implemented by software or hardware, for example, the units and modules can be located in a processor.

[0051] Internet dedicated line resource ledgers are widely used in many fields, such as:

[0052] (1) Telemedicine network construction: According to the notice issued by the General Office of the Ministry of Industry and Information Technology and the General Office of the National Health Commission, in order to strengthen the capacity building of telemedicine networks, it is required to establish a broadband access ledger for medical and health institutions at all levels. This includes list-based management of medical and health institutions that do not have broadband access to increase network access rates and ensure that more than 98% of primary medical and health institutions have access to the Internet.

[0053] (2) Management of e-government extranets: The "Wuwei City e-government extranet construction and management specifications (2021 edition)" issued by the Wuwei City Data Resources Management Bureau mentioned that the construction and management of government extranets need to follow certain specifications. This includes network construction principles, network support services, etc., to ensure the effective operation and management of government extranets.

[0054] (3) IPv6 deployment and application: In deepening the work of IPv6 deployment and application, basic telecommunications companies are required to establish information records to investigate the deployment and application of NAT44 equipment and formulate a work plan and timetable for network de-NAT. This will help promote the popularization and application of IPv6 and improve the quality and efficiency of network services.

[0055] A typical Internet dedicated line resource account may include the following:

[0056] a. Network equipment list: including the models, configurations, and deployment locations of routers, switches, servers, and other equipment.

[0057] b. Bandwidth and IP address allocation: record the bandwidth size and IP address range allocated to each user or department.

[0058] c. Service level and performance indicators: including performance parameters such as network speed, latency, and reliability.

[0059] d. Maintenance and upgrade records: record the maintenance, upgrade and troubleshooting of equipment.

[0060] At present, the operator's data Internet will connect to a large number of customers. These customers generally need to be able to browse the Internet, send and receive emails, publish applications, etc. In order to meet customers' needs for Internet access, operators provide customers with Internet dedicated line services. Dedicated line services need to provide customers with transmission and data Internet resources. Users access the IDC data center through the operator's transmission network and data Internet to achieve the purpose of accessing the Internet.

[0061] Figure 1 A typical Internet dedicated line access diagram is shown in Figure 1. Figure 1 As shown, when a user accesses the Internet, the operator will record the user's transmission and data Internet resources. This record is called the Internet user access resource ledger. The most commonly used solution for IP data network ledgers is to use Excel or WPS tables to manually record resources. When the service is activated, the resources used by the customer are manually recorded; when the equipment or transmission resources used by the customer change, the table ledger is manually updated. The establishment and update of the ledger are completed manually on the table. The following is the style of the table ledger manually recorded in the IP data network:

[0062]

[0063] Corresponding to the data Internet device, the device configuration is as follows:

[0064] r1-s-gdgz-xx#

[0065] interface GigabitEtherne5 / 0

[0066] description A company,DIA,100M,GDLT2405219

[0067] switchport

[0068] switchport trunk encapsulation dot1q

[0069] switchport trunk allowed vlan 1622

[0070] switchport mode trunk

[0071] load-interval 30

[0072] no snmp trap link-status

[0073] end

[0074] interface Vlan1622

[0075] description A company,DIA,100M,GDLT2405219

[0076] IP address 210.21.128.0 255.255.255.248

[0077] no ip redirects

[0078] load-interval 30

[0079] no snmp trap link-status

[0080] vrrp 330ip 210.21.128.1

[0081] vrrp 330priority 200

[0082] VRRP 330preempt

[0083] end

[0084] In addition to the fields in the above table, there are also transmission routes, customer managers, service activation time and customer addresses. When the customer reports a problem, this ledger is used to query the device resources corresponding to the user in order to accurately handle the customer's network failure.

[0085] However, the existing manual record table has great shortcomings, mainly in the following aspects:

[0086] 1. When a failure occurs, it is difficult to update the ledger. The resources on the equipment have changed, and the table ledger needs to be updated manually. However, the ledger manager may easily forget or fill in the information incorrectly, resulting in inaccurate ledgers.

[0087] For example, if a port of a device belonging to a business fails, in order to quickly handle the fault, the on-site handling personnel replace the faulty port with a normal port, and the configuration under the faulty port must be copied to the normal port. For example, if the original port GigabitEthernet5 / 0 of Company A fails, it must be replaced with GigabitEthernet6 / 0. The ledger record of Company A needs to be manually updated in the table. The ledger updater and the fault handler are often not the same person, resulting in the ledger not being updated.

[0088] 2. When the network is cut over, it is difficult to update the ledger. Due to the hidden danger of equipment failure, the customer business access equipment must be replaced, and the table ledger needs to be updated manually. However, the ledger manager can easily forget or make mistakes, resulting in inaccurate ledgers.

[0089] For example, the device and port that Company A originally connected to were r1-s-gdgz-xsk and GigabitEtherne5 / 0. After the cutover, the device ports that connected to Company A were r2-s-gdgz-xsk and GigabitEtherne6 / 0. It was necessary to manually update Company A's ledger records, and it was difficult for the network cutover personnel and the ledger record personnel to update them synchronously.

[0090] Inaccurate records can lead to major problems such as subsequent user troubleshooting and automatic service activation.

[0091] Examples of troubleshooting issues:

[0092] User A reported a fault, saying that he could not access the Internet. After receiving the report, the network administrator checked the ledger and found that user A's access port was GigabitEthernet5 / 0. In fact, due to the last port failure, it had been replaced with GigabitEthernet6 / 0, resulting in the failure being unable to be handled quickly, thus prolonging the failure time.

[0093] Examples of service activation issues:

[0094] Due to a device port failure last time, user A's service access port has been changed to GigabitEthernet6 / 0, but it has not been updated in the ledger. Now user B's service is activated, and the system is synchronized with the ledger. The system records GigabitEthernet6 / 0 as an idle port, so GigabitEthernet6 / 0 is allocated to user B. However, the port has actually been given to user A, resulting in the inability to automatically activate the service.

[0095] In view of the difficulty in updating ledgers in the existing technology, which affects fault handling and business activation, this application aims to solve the problem of difficult ledger updating. The ledger system matches the equipment every day and automatically updates the ledger without manual intervention, thereby realizing automatic update of data network resource ledgers.

[0096] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0097] The present application provides a method for automatically updating a dedicated line resource ledger. The working process of the method can be implemented by electronic devices, such as computers, handheld smart terminals, etc. For the convenience of explanation, the embodiments of the present application are described with the method execution subject being a computer.

[0098] It can be understood that the technical solution of the present application can be implemented by a software system in a computer, such as an accounting IT system.

[0099] Figure 2 A schematic diagram of a dedicated line resource ledger automatic update method provided in an embodiment of the present application, Figure 3 Another schematic diagram of the automatic update method of the dedicated line resource ledger provided in the embodiment of the present application is as follows Figure 2 as well as Figure 3 As shown, the present application provides a method for automatically updating a dedicated line resource ledger, the method comprising S1-S4, which are specifically as follows:

[0100] S1. Obtain the log records and configuration information of the device corresponding to the dedicated line resource;

[0101] The dedicated line resource corresponding device refers to the data Internet device on the user side, and the data Internet resources occupied by the data Internet device are the dedicated line resources of the device. Log recording of the dedicated line resource corresponding device is an important function in computer network and system management. It involves recording events, state changes, error information and other related information that occur during the operation of the dedicated line resource corresponding device. Configuration information can include hardware configuration and software configuration.

[0102] In this step, the log records and configuration information of the device corresponding to the dedicated line resource may be obtained at a preset interval, for example, the device may be logged in at midnight every day to obtain the log records and configuration information.

[0103] S2. Check whether there is an up / down record of the physical port in the log record, and obtain a first detection result;

[0104] Among them, the port up / down recording function means that in a network device, when the status of a port changes, the system can automatically record these changes. Specifically, when the port changes from the "down" state to the "up" state, or from the "up" state to the "down" state, the system will generate corresponding log records, which can help network administrators quickly understand the changes in the operating status of the port and take corresponding measures in time. This function is particularly useful in scenarios where a large number of specific interfaces are repeatedly up / down, especially when the APs connected to the network are online and offline normally, causing the interfaces to go up / down normally. By disabling the logging function of the up / down status changes of these interfaces, unnecessary log output can be reduced and the management process can be simplified.

[0105] In this step, firstly, it is detected whether there is an up / down record of the physical port in the log record, and the first detection result is divided into two types, namely, there is an up / down record of the physical port and there is no up / down record of the physical port.

[0106] S3. Determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result;

[0107] In this step, based on the first detection result obtained in step S2, a corresponding type of verification strategy is selected, and then a configuration verification is performed based on the strategy.

[0108] In some embodiments, in S3, determining a port configuration verification strategy based on the first detection result includes:

[0109] If the first detection result is that there is an up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the physical port of the device is consistent with the historical configuration.

[0110] The historical configuration may be configuration information within a previously preset time period.

[0111] For example, if the device log records port up / down records, query the configuration of each physical port and check whether the port configuration is consistent with the configuration of the previous day.

[0112] In some embodiments, in S3, determining a port configuration verification strategy based on the first detection result includes:

[0113] If the first detection result is that there is no up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration.

[0114] The historical configuration may be configuration information within a previously preset time period.

[0115] For example, if the device log does not contain any physical port up / down records, check whether the configuration of the logical port VLAN interface is consistent with that of the previous day.

[0116] S4. Determine the ledger update strategy for dedicated line resources based on the second detection result

[0117] In some embodiments, if the first detection result is that there is an up / down record, S4 includes:

[0118] If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the physical port of the device.

[0119] Specifically, if the check finds that there is an inconsistency in the port configuration, the resource ledger is updated according to the configuration under the port.

[0120] In some embodiments, if the first detection result is that there is an up / down record, S4 further includes:

[0121] If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is consistent, then the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

[0122] Specifically, if the check port configuration is consistent, the ledger will not be updated and will remain as it is.

[0123] In some embodiments, if the first detection result is that there is no up / down record, S4 includes:

[0124] If the second detection result obtained by checking whether the current configuration information of the logical port vlan interface is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the logical port vlan interface.

[0125] Specifically, if it is found that there is a modification record in the configuration under the vlan interface, the ledger is updated according to the modification record.

[0126] In some embodiments, if the first detection result is that there is no up / down record, S4 further includes:

[0127] If the second detection result obtained by checking whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration is consistent, the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

[0128] To facilitate understanding of this solution, the following is a specific scenario example of how to automatically update the ledger when resources change:

[0129] Scenario 1:

[0130] Figure 4 A schematic diagram of a specific scenario example 1 of how to automatically update the ledger when a resource changes provided in an embodiment of the present application, such as Figure 4 As shown:

[0131] A company's Internet service access operator equipment r1-s-gdgz-xsk, port GigabitEtherne5 / 0. The resource change record is as follows:

[0132] ① The ledger system logs in to the device at zero o'clock (you can use the telnet command to log in and save the device configuration to the system);

[0133] ② The system checks the log records of device r1-s-gdgz-xsk and finds that port GigabitEtherne5 / 0 has a down record. A few minutes later, GigabitEtherne6 / 0 has an UP log record.

[0134] ③ Check the configuration of GigabitEtherne6 / 0 port and find that it is different from the previous day;

[0135] ④ Modify the access operator account record of Company A and automatically change the original port GigabitEtherne5 / 0 to GigabitEtherne6 / 0.

[0136] Scenario 2:

[0137] Figure 5 A schematic diagram of a specific scenario example 2 of how to automatically update the ledger when a resource changes provided in the embodiment of the present application, such as Figure 5 As shown:

[0138] During use, Company A found that the IP addresses were insufficient, so it applied to the operator for an IP address expansion from the previous 8 IP addresses to 16, that is, IP address 210.21.128.0 / 29, mask 29 bits, to 210.21.128.0 / 28, mask 28 bits. Device configuration:

[0139] interface Vlan1622

[0140] description A company,DIA,100M,GDLT2405219

[0141] IP address 210.21.128.0 255.255.255.240

[0142] At this time, the network resources used by the user have changed. Traditionally, the ledger is updated manually. This patent uses an automated resource ledger update system, which is divided into logical resource changes and physical resource changes.

[0143] 1. Logical resource changes:

[0144] ① The IT system of the ledger logs in to the device at midnight every day (you can use the telnet command to log in) and saves the device configuration to the system.

[0145] ② Check the device log records, there is no record of the port being down;

[0146] ③The system matches the saved configuration with the configuration of the previous day one by one and finds that the configuration of the vlan1622 interface has changed.

[0147] ④The system updates the ledger, and the IP address resources used by Company A are automatically changed from the previous 210.21.128.0 / 29 to 210.21.128.0 / 28.

[0148] The present application provides a method for automatically updating a dedicated line resource ledger, which can realize automatic updating of the ledger without human intervention, ensure the real-time nature of resource ledger records, and greatly improve the accuracy, effectively supporting fault handling and automatic activation of Internet dedicated line services.

[0149] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0150] Figure 6 A schematic diagram of a dedicated line resource ledger automatic updating device provided in an embodiment of the present application, such as Figure 6 As shown, the present application provides a dedicated line resource ledger automatic update device, the device comprising:

[0151] An information acquisition module 11 is configured to acquire log records and configuration information of devices corresponding to dedicated line resources;

[0152] A first detection module 12 is configured to detect whether there is an up / down record of a physical port in the log record, and obtain a first detection result;

[0153] A second detection module 13, which is configured to determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result;

[0154] The ledger updating module 14 is configured to determine a ledger updating strategy for dedicated line resources according to the second detection result.

[0155] Regarding the limitation on the dedicated line resource ledger automatic updating device, reference may be made to the limitation on the dedicated line resource ledger automatic updating method in the above-mentioned embodiments of the present application, which will not be elaborated in this embodiment.

[0156] Figure 7 Another schematic diagram of the dedicated line resource account automatic update device provided in the embodiment of the present application is as follows Figure 7 As shown, in some embodiments, the present application provides a dedicated line resource ledger automatic update device, including a memory 22 and a processor 21, the memory stores a computer program, and the processor is configured to run the computer program to execute the dedicated line resource ledger automatic update method in the above-mentioned embodiments of the present application.

[0157] The memory is connected to the processor, the memory may be a flash memory or a read-only memory or other memory, and the processor may be a central processing unit or a single-chip microcomputer.

[0158] In some embodiments, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the dedicated line resource ledger automatic update method in the above-mentioned embodiments of the present application is implemented.

[0159] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0160] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.

Claims

1. A method for automatically updating a dedicated line resource account, characterized in that: The method comprises: S1. Obtain the log records and configuration information of the device corresponding to the dedicated line resource; S2. Check whether there is an up / down record of the physical port in the log record, and obtain a first detection result; S3. Determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result; S4. Determine a dedicated line resource ledger update strategy based on the second detection result.

2. The method for automatically updating the dedicated line resource account according to claim 1, characterized in that: In S3, determining a port configuration verification strategy based on the first detection result includes: If the first detection result is that there is an up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the physical port of the device is consistent with the historical configuration.

3. The method for automatically updating the dedicated line resource account according to claim 2, characterized in that: S4, including: If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the physical port of the device.

4. The method for automatically updating the dedicated line resource account according to claim 2, characterized in that: S4, including: If the second detection result obtained by checking whether the current configuration information of the physical port of the device is consistent with the historical configuration is consistent, then the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

5. The method for automatically updating the dedicated line resource account according to claim 1, characterized in that: In S3, determining a port configuration verification strategy based on the first detection result includes: If the first detection result is that there is no up / down record, the port configuration verification strategy is determined as: verifying whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration.

6. The method for automatically updating the dedicated line resource account according to claim 5, characterized in that: S4, including: If the second detection result obtained by checking whether the current configuration information of the logical port vlan interface is consistent with the historical configuration is inconsistent, the dedicated line resource ledger update strategy is determined as: updating the dedicated line resource ledger according to the current configuration information of the logical port vlan interface.

7. The method for automatically updating the dedicated line resource account according to claim 5, characterized in that: S4, including: If the second detection result obtained by checking whether the current configuration information of the logical port VLAN interface is consistent with the historical configuration is consistent, the dedicated line resource ledger update policy is determined as: do not update the dedicated line resource ledger.

8. A dedicated line resource account automatic update device, characterized in that: The device comprises: An information acquisition module, which is configured to obtain log records and configuration information of devices corresponding to dedicated line resources; A first detection module is configured to detect whether there is an up / down record of the physical port in the log record, and obtain a first detection result; A second detection module, which is configured to determine a port configuration verification strategy based on the first detection result, and perform port configuration verification according to the verification strategy to obtain a second detection result; A ledger update module is configured to determine a ledger update strategy for dedicated line resources according to the second detection result.

9. A dedicated line resource account automatic update device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the automatic updating method of the dedicated line resource ledger according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for automatically updating the dedicated line resource ledger according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for automatically triggering user to be online, server and storage medium

    CN110768876A

  • Internet of Things service ledger processing method and device

    CN112887350A

  • Port connection detection method and device and storage medium

    CN116094957A

  • Interrupt virtualization

    US20200167176A1