CN118055064A - Route information synchronization method, device, computing equipment and storage medium - Google Patents

Route information synchronization method, device, computing equipment and storage medium Download PDF

Info

Publication number
CN118055064A
CN118055064A CN202410288470.6A CN202410288470A CN118055064A CN 118055064 A CN118055064 A CN 118055064A CN 202410288470 A CN202410288470 A CN 202410288470A CN 118055064 A CN118055064 A CN 118055064A
Authority
CN
China
Prior art keywords
network interface
information
static route
kernel
static
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410288470.6A
Other languages
Chinese (zh)
Inventor
史秀国
李进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202410288470.6A priority Critical patent/CN118055064A/en
Publication of CN118055064A publication Critical patent/CN118055064A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a route information synchronization method, a device, a computing device and a storage medium, which relate to the technical field of computers, wherein the method is executed in the computing device and comprises the following steps: invoking a network data interface of a kernel to acquire network interface information from the kernel; determining whether abnormal network interface information exists in the network interface information; if abnormal network interface information exists, reading a static route configuration file; based on the abnormal network interface information, acquiring static route information of an abnormal network interface from the static route configuration file; and carrying out static route configuration on the abnormal network interface according to the static route information of the abnormal network interface. According to the technical scheme of the invention, the instantaneity of acquiring the network interface information is improved, the cost of kernel interruption is reduced, the instant synchronous routing information of the abnormal network interface is realized, and the routing information is ensured to be always unchanged when the state of the network interface is changed.

Description

Route information synchronization method, device, computing equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a routing information synchronization method, a routing information synchronization device, a computing device, and a storage medium.
Background
In an actual network environment, routing information is lost whenever a network cable is plugged in or other network interface state changes, and a user wishes to maintain the routing information unchanged. This requires timely synchronization of routing information for the network interface where the state occurs.
In the prior art, the method for acquiring the network interface state includes the following two methods: one method is to query network interface information in real time in a user mode, and the method has poor real-time performance; the other method is that a signal is sent to a user state through a kernel, a request_irq interrupt is required to be applied first, and after the signal is received by the user state, a static route is configured.
For this reason, a route information synchronization method is needed to solve the problems in the above technical solutions.
Disclosure of Invention
Therefore, the present invention provides a routing information synchronization method and a routing information synchronization device, so as to solve or at least alleviate the above problems.
According to one aspect of the present invention, there is provided a routing information synchronization method executed in a computing device having an operating system running therein, the operating system including a kernel, the method comprising: invoking a network data interface of the kernel to obtain network interface information from the kernel; determining whether abnormal network interface information exists in the network interface information; if abnormal network interface information exists, reading a static route configuration file; based on the abnormal network interface information, acquiring static route information of an abnormal network interface from the static route configuration file; and carrying out static route configuration on the abnormal network interface according to the static route information of the abnormal network interface.
Optionally, in the routing information synchronization method according to the present invention, invoking the network data interface of the kernel to obtain network interface information from the kernel includes: polling invokes a network data interface of a kernel to obtain network interface information from the kernel in real time.
Optionally, in the routing information synchronization method according to the present invention, the network data interface is a ebpf network data interface.
Optionally, in the routing information synchronization method according to the present invention, determining whether abnormal network interface information exists in the network interface information includes: and searching the network interface information to search whether abnormal network interface information exists in the network interface information.
Optionally, in the route information synchronization method according to the present invention, the computing device includes a reading module and a static route configuration module; reading a static routing configuration file, comprising: the reading module reads the static route configuration file and sends the static route configuration file to the static route configuration module; based on the abnormal network interface information, acquiring static route information of the abnormal network interface from the static route configuration file, wherein the static route information comprises: and the static route configuration module acquires the static route information of the abnormal network interface from the static route configuration file based on the abnormal network interface information.
Optionally, in the routing information synchronization method according to the present invention, the method further includes: acquiring input route information, and generating a static route configuration file according to the input route information; the static route configuration file comprises static route information corresponding to one or more network interfaces.
Optionally, in the route information synchronization method according to the present invention, generating a static route configuration file according to the input route information includes: analyzing the input routing information and requesting to set the routing information to the kernel; and if the setting is successful, generating a static route configuration file based on the route information.
According to one aspect of the present invention, there is provided a routing information synchronization apparatus, residing in a computing device, the computing device having an operating system running therein, the operating system including a kernel, the apparatus comprising: the retrieval module is suitable for calling a network data interface of the kernel to acquire network interface information from the kernel; the reading module is suitable for reading the static route configuration file if abnormal network interface information exists; the static route configuration module is suitable for acquiring the static route information of the abnormal network interface from the static route configuration file based on the abnormal network interface information, and is suitable for carrying out static route configuration on the abnormal network interface according to the static route information of the abnormal network interface.
According to one aspect of the invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the routing information synchronization method as described above.
According to one aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the routing information synchronization method as described above.
According to the technical scheme of the invention, a route information synchronization method is provided, wherein network interface information is acquired from a kernel by calling a network data interface of the kernel, and whether abnormal network interface information exists in the network interface information is determined. If the abnormal network interface information exists, static route information configured for the abnormal network interface in advance is acquired from the static route configuration file based on the abnormal network interface information, and then the static route configuration is carried out on the abnormal network interface according to the static route information of the abnormal network interface. Thus, according to the technical scheme of the invention, the network data interface is called to acquire the network interface information from the kernel, so that the instantaneity of acquiring the network interface information can be improved, and the cost of kernel interrupt is reduced. In addition, static route configuration is carried out on the abnormal network interface by reading static route information configured for the abnormal network interface in advance from the configuration file, so that the instant synchronous route information of the abnormal network interface is realized, and the route information is ensured to be always unchanged when the state of the network interface is changed.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of a computing device 100 according to one embodiment of the invention;
fig. 2 shows a flow diagram of a routing information synchronization method 200 according to one embodiment of the invention;
fig. 3 shows a schematic diagram of a routing information synchronization apparatus 300 residing in a computing device 100, according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a computing device 100 according to one embodiment of the invention. As shown in FIG. 1, in a basic configuration, computing device 100 includes at least one processing unit 102 and a system memory 104. According to one aspect, the processing unit 102 may be implemented as a processor, depending on the configuration and type of computing device. The system memory 104 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read only memory), flash memory, or any combination of such memories. According to one aspect, an operating system 105 is included in system memory 104.
According to one aspect, operating system 105 is suitable, for example, for controlling the operation of computing device 100. Further, examples are practiced in connection with a graphics library, other operating systems, or any other application program and are not limited to any particular application or system. This basic configuration is illustrated in fig. 1 by those components within the dashed line. According to one aspect, computing device 100 has additional features or functionality. For example, according to one aspect, computing device 100 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in fig. 1 by removable storage device 109 and non-removable storage device 110.
As set forth hereinabove, according to one aspect, the program module 103 is stored in the system memory 104. According to one aspect, program modules 103 may include one or more applications, the invention is not limited in the type of application, for example, the application may include: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser applications, etc.
According to one aspect, the program module 103 may comprise a routing information synchronization apparatus 300, the routing information synchronization apparatus 300 comprising a plurality of program instructions adapted to perform the routing information synchronization method 200 of the present invention.
According to one aspect, the examples may be practiced in a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, examples may be practiced via a system on a chip (SOC) in which each or many of the components shown in fig. 1 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via dedicated logic integrated with other components of computing device 100 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other techniques capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum techniques. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
According to one aspect, the computing device 100 may also have one or more input devices 112, such as a keyboard, mouse, pen, voice input device, touch input device, and the like. Output device(s) 114 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 100 may include one or more communication connections 116 that allow communication with other computing devices 118. Examples of suitable communication connections 116 include, but are not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel and/or serial ports.
The term computer readable media as used herein includes computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information (e.g., computer readable instructions, data structures, or program modules 103). System memory 104, removable storage 109, and non-removable storage 110 are all examples of computer storage media (i.e., memory storage). Computer storage media may include Random Access Memory (RAM), read Only Memory (ROM), electrically erasable read only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture that can be used to store information and that can be accessed by computing device 100. According to one aspect, any such computer storage media may be part of computing device 100. Computer storage media does not include a carrier wave or other propagated data signal.
According to one aspect, communication media is embodied by computer readable instructions, data structures, program modules 103, or other data in a modulated data signal (e.g., carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
In an embodiment according to the invention, the computing device 100 is configured to perform the routing information synchronization method 200 according to the invention. The computing device 100 includes one or more processors and one or more readable storage media storing program instructions that, when configured to be executed by the one or more processors, cause the computing device to perform the routing information synchronization method 200 in an embodiment of the present invention.
According to one embodiment of the invention, a routing information synchronization apparatus 300 is deployed in a computing device 100, the routing information synchronization apparatus 300 being configured to perform the routing information synchronization method 200 according to the invention. The routing information synchronization apparatus 300 includes a plurality of program instructions for executing the routing information synchronization method 200 of the present invention, where the program instructions may instruct a processor to execute the routing information synchronization method 200 according to the present invention.
Fig. 2 shows a flow diagram of a routing information synchronization method 200 according to one embodiment of the invention. The method 200 is adapted to be executed in a routing information synchronization apparatus 300 of a computing device (the aforementioned computing device 100). The computing device 100 has an operating system running therein that includes a kernel that may be responsible for managing one or more network interfaces.
As shown in fig. 2, method 200 includes steps 210-250.
First, in step 210, a network data interface provided by the kernel is invoked to obtain network interface information from the kernel through the network data interface.
It should be noted that the kernel of the operating system provides the application layer with a network data interface. In one embodiment, the routing information synchronization apparatus 300 may use a polling manner to call the network data interface of the kernel, and may implement real-time acquisition of the network interface information from the kernel by polling to call the network data interface of the kernel.
In one embodiment, the network data interface may be implemented as ebpf network data interfaces.
Subsequently, in step 220, it is determined whether abnormal network interface information exists in the network interface information.
Specifically, after the network interface information is obtained from the kernel, information retrieval may be performed on the network interface information to retrieve whether abnormal network interface information exists in the network interface information.
If there is abnormal network interface information in the network interface information, the following steps 230 to 250 are performed.
In step 230, the static routing configuration file is read. Here, static routing information may be included in the static routing profile that is pre-configured for one or more network interfaces.
Subsequently, in step 240, static routing information for the abnormal network interface is obtained from the static routing configuration file based on the abnormal network interface information.
It should be noted that, the static routing configuration file is pre-generated and stored in the computing device 100. When the abnormal network interface information exists in the network interface information, a static route configuration file generated in advance can be read, and then the static route information of the corresponding abnormal network interface is obtained from the static route configuration file based on the abnormal network interface information.
Finally, in step 250, the abnormal network interface may be statically route configured according to the static route information of the abnormal network interface. In this way, the static route configuration is performed on the abnormal network interface based on the fixed static route information configured in advance for the abnormal network interface, and it is possible to ensure that the route information remains unchanged all the time when the network interface is abnormal (state changes).
Specifically, the kernel includes a network interface configuration module, where the network interface configuration module in the kernel may be called according to static routing information of the abnormal network interface, so as to perform static routing configuration on the abnormal network interface through the network interface configuration module.
According to one embodiment of the present invention, before step 210 is performed, route information input by the user is obtained in advance, and a static route profile is generated according to the route information input by the user. Here, the routing information input by the user may include fixed static routing information configured by the user for one or more network interfaces. In this way, static route configuration files are generated according to route information input by a user, and the static route configuration files can correspondingly comprise static route information corresponding to one or more network interfaces.
Specifically, when generating a static route configuration file according to route information input by a user, firstly analyzing the route information input by the user, and then requesting to set the route information to the kernel according to the route information obtained by analysis. If the setting is successful, a static route profile is generated based on the route information. I.e. the routing information is saved to a static routing configuration file. In addition, if the setting fails, the flow is ended. It should be noted that, the route information input by the user includes static network information configured by the user for one or more network interfaces, so that the generated static route configuration file includes static route information corresponding to one or more network interfaces.
Fig. 3 shows a schematic diagram of a routing information synchronization apparatus 300 residing in a computing device 100, according to one embodiment of the invention.
As shown in fig. 3, the computing device 100 has an operating system 105 running therein, and the operating system 105 includes an application layer, and the application layer is deployed with a routing information synchronization apparatus 300. The network interface configuration module 153 is included in the kernel of the operating system 105, and the kernel may provide the network data interface 151 to the application layer.
In one embodiment, as shown in fig. 3, the route information synchronization device 300 of the computing device 100 includes a retrieving module 310, a static route configuration module 330, and a reading module 320 that are sequentially connected in communication. Specifically, the retrieval module 310 is communicatively coupled to a static route configuration module 330, and the static route configuration module 330 is communicatively coupled to the reading module 320.
Wherein the retrieving module 310 is configured to perform steps 210-220, the reading module 320 is configured to perform step 230, and the static route configuration module 330 is configured to perform steps 240-250.
Specifically, the retrieval module 310 may invoke a network data interface provided by the kernel, obtain network interface information from the kernel through the network data interface, and then the retrieval module 310 determines whether abnormal network interface information exists in the network interface information. In one embodiment, the retrieval module 310 may poll the network data interface 151 of the calling kernel to obtain network interface information from the kernel in real time. And, the retrieving module 310 determines whether abnormal network interface information exists in the network interface information by retrieving the network interface information. If abnormal network interface information exists, the retrieval module 310 may send the abnormal network interface information to the static route configuration module 330.
The reading module 320 is adapted to read the static routing configuration file if there is abnormal network interface information in the network interface information.
The static route configuration module 330 may obtain the static route information of the abnormal network interface from the static route configuration file based on the abnormal network interface information, and may perform static route configuration on the abnormal network interface according to the static route information of the abnormal network interface. Specifically, the static route configuration module 330 may invoke the network interface configuration module 153 in the kernel to perform static route configuration on the abnormal network interface according to the static route information of the abnormal network interface.
That is, in step 230, the static routing configuration file is specifically read by the reading module 320, and the read static routing configuration file is sent to the static routing configuration module 330. In step 240, static route information of the abnormal network interface may be obtained from the static route configuration file based on the abnormal network interface information through the static route configuration module 330. Subsequently, in step 250, the static route configuration module 330 may perform static route configuration on the abnormal network interface (invoking the network interface configuration module 153 in the kernel) according to the static route information of the abnormal network interface.
It should be noted that, the specific execution logic of the retrieving module 310, the static route configuration module 330, and the reading module 320 may refer to the descriptions of the steps 210 to 250 in the foregoing method 200, and will not be repeated here.
According to the routing information synchronization method 200 of the present invention, network interface information is acquired from a core by calling a network data interface of the core, and it is determined whether abnormal network interface information exists in the network interface information. If the abnormal network interface information exists, static route information configured for the abnormal network interface in advance is acquired from the static route configuration file based on the abnormal network interface information, and then the static route configuration is carried out on the abnormal network interface according to the static route information of the abnormal network interface. Thus, according to the technical scheme of the invention, the network data interface is called to acquire the network interface information from the kernel, so that the instantaneity of acquiring the network interface information can be improved, and the cost of kernel interrupt is reduced. In addition, static route configuration is carried out on the abnormal network interface by reading static route information configured for the abnormal network interface in advance from the configuration file, so that the instant synchronous route information of the abnormal network interface is realized, and the route information is ensured to be always unchanged when the state of the network interface is changed.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the routing information synchronization method of the present invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.

Claims (10)

1. A method of route information synchronization executing in a computing device having an operating system running therein, the operating system including a kernel, the method comprising:
invoking a network data interface of the kernel to obtain network interface information from the kernel;
determining whether abnormal network interface information exists in the network interface information;
If abnormal network interface information exists, reading a static route configuration file;
Based on the abnormal network interface information, acquiring static route information of an abnormal network interface from the static route configuration file;
And carrying out static route configuration on the abnormal network interface according to the static route information of the abnormal network interface.
2. The method of claim 1, wherein invoking the network data interface of the kernel to obtain network interface information from the kernel comprises:
polling invokes a network data interface of a kernel to obtain network interface information from the kernel in real time.
3. The method according to claim 1 or 2, wherein,
The network data interface is ebpf network data interfaces.
4. The method of any of claims 1-3, wherein determining whether abnormal network interface information exists in the network interface information comprises:
And searching the network interface information to search whether abnormal network interface information exists in the network interface information.
5. The method of any of claims 1-4, wherein the computing device includes therein a read module, a static route configuration module; reading a static routing configuration file, comprising:
the reading module reads the static route configuration file and sends the static route configuration file to the static route configuration module;
based on the abnormal network interface information, acquiring static route information of the abnormal network interface from the static route configuration file, wherein the static route information comprises:
and the static route configuration module acquires the static route information of the abnormal network interface from the static route configuration file based on the abnormal network interface information.
6. The method of any one of claims 1-5, further comprising:
acquiring input route information, and generating a static route configuration file according to the input route information;
The static route configuration file comprises static route information corresponding to one or more network interfaces.
7. The method of claim 6, wherein generating a static routing profile from the entered routing information comprises:
Analyzing the input routing information and requesting to set the routing information to the kernel;
and if the setting is successful, generating a static route configuration file based on the route information.
8. A routing information synchronization apparatus residing in a computing device having an operating system running therein, the operating system including a kernel, the apparatus comprising:
The retrieval module is suitable for calling a network data interface of the kernel to acquire network interface information from the kernel;
The reading module is suitable for reading the static route configuration file if abnormal network interface information exists;
The static route configuration module is suitable for acquiring the static route information of the abnormal network interface from the static route configuration file based on the abnormal network interface information, and is suitable for carrying out static route configuration on the abnormal network interface according to the static route information of the abnormal network interface.
9. A computing device, comprising:
at least one processor; and
A memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-7.
10. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-7.
CN202410288470.6A 2024-03-13 2024-03-13 Route information synchronization method, device, computing equipment and storage medium Pending CN118055064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410288470.6A CN118055064A (en) 2024-03-13 2024-03-13 Route information synchronization method, device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410288470.6A CN118055064A (en) 2024-03-13 2024-03-13 Route information synchronization method, device, computing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118055064A true CN118055064A (en) 2024-05-17

Family

ID=91051633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410288470.6A Pending CN118055064A (en) 2024-03-13 2024-03-13 Route information synchronization method, device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118055064A (en)

Similar Documents

Publication Publication Date Title
CN104866383A (en) Interface calling method and device and terminal
CN107832099A (en) A kind of client release compatible method, apparatus and storage medium
CN113885936A (en) Solution method for software package dependence in customized mirror image
CN114880289A (en) File grouping display method and computing device
CN111694992A (en) Data processing method and device
CN114816772B (en) Debugging method, debugging system and computing device for application running based on compatible layer
CN116560748A (en) Page loading method, device, computing equipment and storage medium
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN115150392B (en) Remote file copying method, system, computing equipment and storage medium
CN111581098A (en) Interface data transfer storage method, device, server and storage medium
CN111782474A (en) Log processing method and device, electronic equipment and medium
CN115080114B (en) Application program transplanting processing method, device and medium
CN116225618A (en) Method for starting virtual machine based on container mirror image and virtual machine starting device
CN118055064A (en) Route information synchronization method, device, computing equipment and storage medium
CN111414162B (en) Data processing method, device and equipment thereof
CN117008972B (en) Instruction analysis method, device, computing equipment and storage medium
CN112131550B (en) Windows system unlocking method and device, electronic equipment and computer readable medium
CN112214220B (en) Method, apparatus and device for integrated system
CN107436918A (en) Database implementation method, device and equipment
CN117724714A (en) Workflow creation method, workflow creation device, electronic device and computer readable storage medium
CN116257181A (en) Cache data cleaning method and device, computing equipment and storage medium
CN116225328A (en) Data storage method, device, computing equipment and readable storage medium
CN116167103A (en) Storage device write control method and device, computing device and storage medium
CN115658075A (en) Software package compiling method and device, computing equipment and storage medium
CN114840312A (en) Virtual machine management method and device and computing equipment

Legal Events

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