CN115051921B - Self-adaptive heterogeneous network attribute information collection method - Google Patents

Self-adaptive heterogeneous network attribute information collection method Download PDF

Info

Publication number
CN115051921B
CN115051921B CN202210586555.3A CN202210586555A CN115051921B CN 115051921 B CN115051921 B CN 115051921B CN 202210586555 A CN202210586555 A CN 202210586555A CN 115051921 B CN115051921 B CN 115051921B
Authority
CN
China
Prior art keywords
equipment
smr
nmc
attribute information
information
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.)
Active
Application number
CN202210586555.3A
Other languages
Chinese (zh)
Other versions
CN115051921A (en
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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
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 Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN202210586555.3A priority Critical patent/CN115051921B/en
Publication of CN115051921A publication Critical patent/CN115051921A/en
Application granted granted Critical
Publication of CN115051921B publication Critical patent/CN115051921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a self-adaptive heterogeneous network attribute information collection method. The method comprises the following steps: the network management controller NMC sends a detection packet to each device in the heterogeneous network, and collects attribute information of each device according to a message packet returned by each device; the intelligent mobile router SMR actively transmits attribute information of the intelligent mobile router to the NMC; and respectively deploying attribute updating strategies on the NMC and the SMR, adaptively updating the attribute of the SMR according to the heterogeneous network state, and performing attribute synchronization operation of the SMR between the NMC and the SMR according to the attribute updating strategies. The present invention can collect the usage and analysis for the whole network by making the device attribute information in the heterogeneous network multilink transmission system not exist in the generating device itself alone. The invention ensures that attribute information is utilized with maximum efficiency according to the running condition of network main service when heterogeneous network multilink transmission is carried out, and the running of the existing service is not influenced while the network service capability is improved.

Description

Self-adaptive heterogeneous network attribute information collection method
Technical Field
The invention relates to the technical field of mobile communication, in particular to a self-adaptive heterogeneous network attribute information collection method.
Background
Traffic technologies such as high-speed rail and the like are rapidly developed, and communication requirements in a mobile environment are more and more strong. However, a single wireless network cannot meet the internet surfing requirements of people, and thus attempts have been made to implement multilink parallel communication using multiple heterogeneous wireless and wired networks. Multilink parallel communication provides great help for the development of intelligent Internet of vehicles. Along with the increasing scale, mobile vehicles keep a large amount of data information in the intelligent Internet of vehicles, and can be used for analyzing network performance, providing various services and the like. However, in the current intelligent internet of vehicles, data interaction and resource sharing are performed by utilizing wireless communication means such as Wi-Fi, bluetooth and cellular, and information transmission with an internet of vehicles service platform is realized through wireless communication technologies such as satellite wireless communication or mobile cellular. The instability of the wireless link causes a certain limit to the interaction of mobile equipment information in the Internet of vehicles. Particularly, in a high-speed mobile environment, the link quality is severely fluctuated, and how to collect network attribute information while the car networking camping service is running normally is a complex matter.
Aiming at improving the network information transmission efficiency, in a wireless sensor network state information collection scheme in the prior art, a hierarchical clustering data collection mechanism (QTBDC) is provided. The network nodes are hierarchically divided by utilizing the idea of the area quadtree, the dividing process is finished locally, one-layer active node or the combination of the nearest data is finished through node coding and cluster preference, and the network state information is collected to a higher level.
The disadvantage of a wireless sensor network status information collection scheme in the prior art is that: the scheme is based on a transmission strategy of the sensor network under a bandwidth limited scene, data are combined and collected by using a quadtree and cluster structure, but the bandwidth of a heterogeneous network multilink transmission client has a large variation amplitude, and when the bandwidth is sufficient, the mode causes information waste. Therefore, the application of the scheme has great limitation, and the scheme cannot be applied to attribute information collection in a heterogeneous network multi-link transmission system. The aggregation and divergence mechanism of the multilink transmission increases network complexity, so that the scheme is not suitable for the goal of collecting and displaying attribute information by communicating with each node through one server in a heterogeneous network multilink transmission system.
Another network state information collection scheme in the prior art includes: in order to know the state of the network, network management personnel performs whole network observation data, and designs and develops a set of marine observation monitoring data transmission and operation monitoring system. The design file decoding subsystem decodes the input ocean observation data file and stores the decoded ocean observation data file in a warehouse, and displays the statistical result and the monitoring state information in the form of numbers or charts and the like to the monitoring information service subsystem for each user to inquire.
Another network status information collection scheme in the above prior art has the following drawbacks:
according to the method, ocean observation data is transmitted to an information center in a file form, information is decoded and extracted for display, information is required to be actively transmitted depending on each observation site, and the information format is fixed in the file form. Therefore, the application of the scheme has great limitation and cannot be used as the only way for collecting the attribute information in the heterogeneous network.
The operation monitoring system in the scheme sets a file format aiming at marine system data, and the monitoring state information is the main work which needs to be completed by the system, and all files are uniformly transmitted by a site. When the information such as communication video in the network is the main service, the continuous transmission of the monitoring information can influence the overall network condition of the heterogeneous network camping service.
Disclosure of Invention
The embodiment of the invention provides a self-adaptive heterogeneous network attribute information collection method, which is used for realizing that NMC effectively collects attribute information of heterogeneous network equipment.
In order to achieve the above purpose, the present invention adopts the following technical scheme.
An adaptive heterogeneous network attribute information collection method, comprising:
step A: the network management controller NMC sends a detection packet to each device in the heterogeneous network, and collects attribute information of each device according to a message packet returned by each device;
and (B) step (B): the intelligent mobile router SMR actively transmits attribute information of the intelligent mobile router to the NMC;
step C: and respectively deploying attribute updating strategies on the NMC and the SMR, adaptively updating the attribute of the SMR according to the heterogeneous network state, and performing attribute synchronization operation of the SMR between the NMC and the SMR according to the attribute updating strategies.
Preferably, the network management controller NMC in the step a sends a probe packet to each device in the heterogeneous network, and collects attribute information of each device according to a message packet returned by each device, including:
step A1: the NMC collects the online attribute information of the heterogeneous network equipment through threads, acquires an initial monitored equipment list, and establishes a real-time state data table of the monitored equipment in a database, wherein the real-time state data table is initialized to be empty;
step A2: the NMC sends detection packets to each monitored device through an icmp protocol, and collects and updates attribute information of each monitored device according to message packets returned by each monitored device:
step A3: NMC collects the configuration information of the on-line heterogeneous network device;
step A4: the NMC updates the latest monitored equipment list and maintains the corresponding relation between the equipment names and the equipment IP.
Preferably, the NMC in step A2 sends a probe packet to each monitored device through an icmp protocol, and collects and updates attribute information of each monitored device according to a message packet returned by each monitored device, including:
a2-1 NMC sends detection packets to each monitored device through an icmp protocol, and acquires information packets returned by each monitored device;
a2-2, judging the online state of the equipment according to the information packet returned by the monitored equipment, and comparing the online state with the previous online state of the equipment to perform different operations;
a2-2-1: if the current equipment is offline and the last state of the equipment is online, the fact that the equipment is just offline is indicated, the real-time state of the updated equipment is offline, the current time is obtained, and the update of the offline time of the latest entry of the equipment in the real-time state data table of the monitored equipment is completed through the equipment name and the online time of the equipment recorded by the program;
a2-2-2: the method comprises the steps that current equipment is online, the last state of the equipment is offline, the real-time state of the equipment is offline, whether an entry with the offline time of the equipment being empty exists in a real-time state data table of monitored equipment is searched, and if the entry with the offline time of the equipment being empty exists, the current time is updated;
a2-2-3: if the current equipment is online and the last state of the equipment is online, the real-time state of the equipment is ensured to be updated to be online, and no change of history information is made;
a2-2-4: if the current equipment is online and the state of the equipment is offline, the equipment is indicated to be online, the real-time state of the equipment is online, whether the history record of the equipment with the offline time being empty exists is inquired, if yes, the server is considered to be powered off or the program is restarted in the online process of the equipment, and the history record is not updated; if not, recording the current time as the equipment online time, and adding an entry in an equipment history online record table;
a2-3: and updating the online state variable value of the equipment in the program.
Preferably, in the step B, the smart mobile router SMR actively sends its attribute information to the NMC, including:
step B1: the NMC server side respectively starts threads for monitoring the designated ports, monitors the equipment operation configuration, the equipment operation state, the network operation state and the collection request of the designated file attribute information, continuously monitors all ports, and triggers the attribute information collection flow when any port has a request;
step B2: the SMR sends information collection request information carrying own attribute information to the NMC according to a set strategy, and the NMC completes the attribute information receiving of the SMR by adopting different collection modes according to the received information collection request information;
step B3: and the NMC server side stores the received attribute information of each SMR in a database according to the appointed requirement, and completes the active collection and maintenance of the attribute information of the SMR.
Preferably, the SMR in step B2 sends an information collection request message carrying its attribute information to the NMC according to a predetermined policy, and the NMC completes the attribute information reception of the SMR by adopting different collection modes according to the received information collection request message, including:
b2-1: the NMC authenticates through the equipment name and the equipment IP mapping table which are collected and maintained by the online information, so that the correctness of equipment for connection establishment request is ensured;
b2-2: the NMC receives information collection request messages carrying attribute information sent by different SMRs through different port numbers;
b2-2-1: the configuration attribute information used for heterogeneous network equipment operation finishes information receiving through a zone bit, an IP address and a protocol data format according to different table items and items of the equipment, wherein the zone bit points to the category of the attribute information, the IP address points to the identifier of the SMR equipment, and the protocol data format points to specific attribute information filling;
b2-2-2: and the attribute information of the equipment program and the hardware state is characterized, the attribute information is obtained by calling a system command through an SMR, and the receiving of the object is completed in a program serialization mode.
B2-2-3: the network state collected by the SMR equipment in the heterogeneous network has a specific knowledge base at the client, and knowledge base information is serialized through the object to finish sending and receiving.
B2-2-4: designating file attribute information under the folder, and realizing the collection of the part of information by breakpoint reading and file transmission mode of file name matching;
b2-3: the NMC stores the received attribute information of the SMR in a real-time state data table of the monitored equipment in a database through variables.
Preferably, in the step C, attribute update policies are deployed on the NMC and the SMR, and the SMR adaptively performs attribute update according to the heterogeneous network state, and performs an attribute synchronization operation of the SMR between the NMC and the SMR according to the attribute update policies, including:
step C1: respectively deploying attribute updating strategies on the NMC and the SMR, and reporting attribute information to the NMC server side by the SMR according to the attribute updating strategies:
step C2: the SMR analyzes the states of the network and the equipment in real time through a specified thread, and the parameter information of the thread is reported through the attribute information modification algorithm;
step C3: the SMR optimizes resource scheduling by combining the related information of the NMC end state analysis thread, the NMC end collects the throughput condition of the network port and the equipment load information, and when the NMC load is too high, a designated message is sent to all online equipment to inform the closing of the quantitative thread; when NMC load is normal, if overload information is sent, a reply command is sent to the online equipment again;
step C4: the SMR deployment program ranks the log and log file processing program, and maintains the recording and running capability of the equipment; the SMR log establishes abnormality, warning, debugging and running four log levels, and configures user permission for checking and modifying the log, and the SMR processes scripts through the log based on the level log, and backups, compression and deletion of log files are completed with different periods and scales.
Preferably, in the step C1, attribute update policies are deployed on NMC and SMR, and the SMR reports attribute information to the NMC server according to the attribute update policies, including:
c1-1: SMR reads the appointed configuration file and obtains the initial reporting strategies of different attributes of the oriented NMC;
c1-2: if no configuration file or file is set as a default value, a default strategy is followed;
c1-2-1: the configuration attribute information program is sent once when started, the request is repeatedly sent with the frequency of 2 minutes when the transmission is unsuccessful, and the transmission is not carried out after the transmission is successful;
c1-2-2: the device hardware state, the program running state and the network state attribute information collected by the SMR send the latest state with 3s as frequency, and whether the device is successfully sent or not is not considered;
c1-2-3: designating file information of a folder, and transmitting according to a file default transmission strategy;
c1-2-3-1: when the file transmission request is established and the authentication is the allowed SMR equipment, the SMR scans all files of the designated folder;
c1-2-3-2: acquiring file creation time and size, and sorting according to the size or the creation time, wherein specific rules can be determined by configuration files or default from large to small;
c1-2-3-3: according to the file transmission queue, each file is transmitted through a JAVA interface, and duplicate removal and continuous transmission are realized through the interaction of the current size information of the file and the file naming rule;
c1-2-3-4: in the transmission process, the file size allowed to be transmitted is calculated and limited through network parameters, and the C1-2-3-3 process is repeated.
Preferably, the SMR in step C2 performs analysis on the network and device states in real time through a specified thread, and changes parameter information of the attribute information reporting thread through an algorithm, including:
c2-1: the NMC acquires the CPU utilization rate L (CPU), the memory utilization rate L (Mem), the network delay L (Bandw) and the connection number L (Conn) of the device, wherein the connection number is obtained by calling an online state attribute information interface of NMC monitoring equipment, and is normalized and defined as the ratio of the connection number of the ith NMC to the average connection number of all NMCs;
c2-2: by L (S) i )=k 1 *L(CPU)+k 2 *L(Mem)+k 3 *L(Bandw)+k 4 * L (Conn) calculation of NMC load value L (S) i );
C2-3: SMR obtains CPU utilization rate L (CPU), memory utilization rate L (Mem), network delay L (Bandw) and NMC load value L (S) i ) And SMR device data packet disorder degree;
c2-4: calculating a current SMR load value through a formula (2);
L(M i )=k 5 *L(CPU)+k 6 *L(Mem)+k 7 *L(Bandw)+k 8 *L(S)+k 9 *L(Unorder) (2)
c2-5: according to L (M i ) Analyzing the current SMR device available total bandwidth value and the current throughput;
c2-6: determining a current network estimated available bandwidth value;
c2-7: and B, changing parameters such as state information transmission frequency in the step B according to the quality level of the residual bandwidth, closing part of threads, waiting for load recovery according to the threshold value setting of the residual bandwidth, and restarting the related threads.
As can be seen from the technical solutions provided by the embodiments of the present invention, the embodiments of the present invention can collect the device attribute information for use and analysis of the entire network by making the device attribute information in the heterogeneous network multi-link transmission system no longer exist in the generating device itself alone. The invention ensures that attribute information is utilized with maximum efficiency according to the running condition of network main service when heterogeneous network multilink transmission is carried out, and the running of the existing service is not influenced while the network service capability is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic topology diagram of an adaptive heterogeneous network according to an embodiment of the present invention;
FIG. 2 is a flow chart of a passive information collection process according to an embodiment of the present invention;
FIG. 3 is a flow chart of an active information collection process according to an embodiment of the present invention;
FIG. 4 is a flowchart of a process for collecting and scheduling resources for attribute information according to an embodiment of the present invention;
fig. 5 is a process flow diagram of an NMC for online information collection and update of relevant information for each device through an icmp protocol according to an embodiment of the present invention;
fig. 6 is a flowchart of an NMC actively receiving attribute information according to an embodiment of the present invention;
FIG. 7 is a flowchart of an SMR initial default reporting method according to an embodiment of the present invention;
FIG. 8 is a policy logic diagram of an SMR modification scheduling resource according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or coupled. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
For the purpose of facilitating an understanding of the embodiments of the invention, reference will now be made to the drawings of several specific embodiments illustrated in the drawings and in no way should be taken to limit the embodiments of the invention.
The topology diagram of the adaptive heterogeneous network provided by the embodiment of the invention is shown in fig. 1, and comprises: client devices, server devices, SMR (Smart Mobile Router ), SAR (Sequential Assignment Routing, access router) and NMC (Network Management Center, network management controller).
And communication is carried out between any plurality of client devices and any plurality of server devices through an SMR-SAR multipath transmission architecture, and the adaptive heterogeneous network attribute information collection mechanisms are respectively deployed on the SMR and the NMC.
The implementation flow of the self-adaptive heterogeneous network attribute information collection mechanism provided by the embodiment of the invention is as follows:
step A: passive information gathering process. The NMC discovers the security characteristics such as the activity of equipment in the network, the state of the equipment and the like by sending a detection packet, remotely calling and the like;
and (B) step (B): active information gathering process. That is, the SMR transmits information to the NMC according to a predetermined policy by classifying the attribute information.
Step C: and collecting and scheduling resource process by attribute information. The policies are deployed respectively on the NMC and the SMR, the process of collecting attribute information to the NMC is completed by completing the self-adaptive network state of the SMR equipment information, and meanwhile, the maintenance capability of normal operation of a collection mechanism program is ensured through the log specification of the whole process.
Specifically, the flow chart of the passive information collection process in the step a is shown in fig. 2:
step A1: the NMC collects the online attribute information of the heterogeneous network equipment through threads, and firstly, the information acquisition of the initial monitoring equipment is carried out. And when the program is initialized, a real-time state data table of the heterogeneous network device is established in the database, and the real-time state data table is initialized to be empty. The real-time status data table can be modified by the user.
Step A2: fig. 5 is a process flow of NMC for online information collection and update of relevant information by sending a probe packet by an icmp protocol to each device, including the following processing steps:
a2-1 NMC sends detection packets to each monitored device through an icmp protocol to acquire information reply;
a2-2, according to the current information reply, judging the online state of the equipment, comparing with the previous online state of the equipment, and performing different operations;
a2-2-1: if the current device is offline and the last state of the device is online, the device is indicated to be just offline. On one hand, the real-time state of the updating device is offline, the current time is obtained at the same time, and the updating of the offline time of the latest entry of the device in the data table is completed through the device name and the online time of the device recorded by the program.
A2-2-2: the current device is online, and the last state of the device is offline, and the device is normally considered to be not online. However, considering that the server is shut down or the program is restarted when the device is not off-line after the device is on-line, on the one hand, the real-time state of the device is updated to be off-line, and meanwhile, by searching whether an entry with the off-line time of the device being empty exists in the data table, if so, the real-time state of the device is updated to be the current time.
A2-2-3: if the current device is online and the last state of the device is online, the normal use of the device is indicated. Only the real-time state is ensured to be updated on line, and no change of history information is made.
A2-2-4: if the current device is online and the device on-line state is offline, the device on-line is indicated. On the one hand, updating the real-time state of the equipment to be online, on the other hand, firstly inquiring whether the equipment history record with the empty offline time exists, if so, considering that the server is powered off or the program is restarted in the online process of the equipment, and if not, recording the current time as the online time of the equipment, and adding an entry in an equipment history online record list.
A2-3 updating the on-line state variable value of the equipment in the program;
step A3: collecting a part of most important configuration information of the online equipment;
step A4: updating the latest monitored equipment list, maintaining the corresponding relation between equipment names and equipment IP,
a4-1, re-acquiring the equipment names and the equipment IPs in the manually modifiable equipment table, and determining the equipment names and the equipment IPs as a mapping table N, wherein the old equipment names and the equipment IPs are mapped into O;
a4-2, deleting the equipment which is not in the new mapping table N and is in the mapping table O from the monitored list, and adding the equipment which is not in the new mapping table N and is in the mapping table O into the monitored list;
returning to the step A2;
the flow chart of the active information collection process in the step B provided by the embodiment of the invention is shown in fig. 3:
step B1: the NMC server side respectively starts threads for monitoring the appointed ports, and monitors collection requests of attribute information such as equipment operation configuration, equipment operation state, network operation state, appointed files and the like. The NMC monitors all ports continuously, and any port triggers an attribute information collection flow when a request arrives;
step B2: the SMR sends information collection request information carrying attribute information such as classification of the SMR to the NMC according to a set strategy, and the NMC completes the attribute information receiving of the SMR by adopting different collection modes according to the received information collection request information.
Fig. 6 is a flowchart of an NMC actively receiving attribute information according to an embodiment of the present invention, including the following processing procedures:
b2-1: firstly, NMC authenticates through the equipment name and the equipment IP mapping table maintained by online information collection, ensures the correctness of equipment for connection establishment request, and avoids problems of program breakdown and the like caused by error request and attack.
B2-2: and matching the equipment attribute knowledge base according to the port number to finish receiving different attribute information.
B2-2-1: the configuration attribute information used for heterogeneous network equipment operation finishes information receiving through a zone bit, an IP address and a protocol data format according to different table items and items of the equipment, wherein the zone bit points to the category of the attribute information, the IP address points to the identifier of the SMR equipment, and the protocol data format points to specific attribute information filling;
b2-2-2: and the attribute information of the equipment program and the hardware state is characterized, the attribute information is obtained by calling a system command through an SMR, and the receiving of the object is completed in a program serialization mode.
B2-2-3: the network state collected by the SMR equipment in the heterogeneous network has a specific knowledge base at the client, and knowledge base information is serialized through the object to finish sending and receiving.
B2-2-4: and designating file attribute information under the folder, realizing the collection of the part of information by a file transmission mode of breakpoint reading and file name matching, and reducing the manual consumption of moving the file through a hard disk. And scale control is performed through the steps C1-2-3.
B2-3: and storing the received information in a variable, and closing the receiving of the attribute information.
Step B3: the NMC server side stores the received attribute information of each SMR in a database according to the appointed requirement, and completes the active collection and maintenance of the attribute information of the SMR;
the flow chart of the process of collecting and scheduling the resource by the attribute information in the step C provided by the embodiment of the invention is shown in fig. 4:
step C1: and reporting attribute information to the NMC server by the SMR according to a default strategy or a designated configuration file. An initial default reporting flowchart of an SMR provided by the embodiment of the present invention is shown in fig. 7, and includes the following processing procedures:
c1-1: the SMR reads the appointed configuration file and acquires the initial reporting strategies with different attributes.
C1-2: if no configuration file or files are set to default values, the default policy is followed.
C1-2-1: the configuration attribute information program is sent once when being started, the request is repeatedly sent by taking 2 minutes as the frequency after the transmission is unsuccessful, and the transmission is not carried out after the transmission is successful.
C1-2-2: the device hardware state, the program running state and the network state attribute information collected by the SMR send the latest state with 3s as frequency, and whether the latest state is successfully sent or not is not considered.
C1-2-3: the file information of the designated folder is sent according to a default file sending strategy.
C1-2-3-1: when the file transfer request is established and the authentication is an allowed SMR device, the SMR scans all files in a designated folder.
C1-2-3-2: the file creation time and size are obtained, ordered by size or creation time, and specific rules may be determined by the configuration file, or default from large to small.
C1-2-3-3: according to the file transmission queue, each file is transmitted through a JAVA interface, and the duplication removal and continuous transmission are realized through the interaction of the current size information of the file and the file naming rule.
C1-2-3-4: in the transmission process, the file size allowed to be transmitted is calculated and limited through network parameters, and the C1-2-3-3 process is repeated.
Step C2: the SMR analyzes the network and device states in real time through a specified thread, and reports information such as parameters of the thread through algorithm modification attribute information, and the policy logic of the SMR modification scheduling resource provided by the embodiment of the present invention is shown in fig. 8, and includes the following processing procedures:
c2-1: the NMC obtains the CPU utilization rate L (CPU), the memory utilization rate L (Mem), the network delay L (Bandw) and the connection number L (Conn) of the device, wherein the connection number is obtained by calling the online state attribute information interface of the NMC monitoring device, and the normalization definition is the ratio of the connection number of the ith NMC to the average connection number of all NMCs.
C2-2: by L (S) i )=k 1 *L(CPU)+k 2 *L(Mem)+k 3 *L(Bandw)+k 4 * L (Conn) calculation of NMC load value L (S) i )。k 1 ,k 2 ,k 3 And k 4 Respectively represent L (CPU), L (Mem), L (Bandw), L (Conn) and several performance parameters of L (S) i ) Is used to determine the impact weight value.
C2-3: SMR obtains CPU utilization rate L (CPU), memory utilization rate L (Mem), network delay L (Bandw) and NMC load value L (S) i ) And the disorder degree of the data packets of the SMR equipment, wherein the disorder degree reflects the network quality to a great extent.
C2-4: the current SMR load value is calculated through the formula (2), and the load value is limited to common parameters such as CPU memory bandwidth and the like, and also includes parameter indexes for reflecting heterogeneous network performance.
L(M i )=k 5 *L(CPU)+k 6 *L(Mem)+k 7 *L(Bandw)+k 8 *L(S)+k 9 *L(Unorder)--(2)
k 5 ,k 6 ,k 7 And k 8 And k 9 Respectively represent L (CPU), L (Mem), L (Bandw), L (S), L (Unorder) several performance parameter pairs L (M) i ) Is used to determine the impact weight value.
C2-5: according to L (M i ) The current SMR device available total bandwidth value and the current throughput are analyzed.
C2-6: and determining the predicted available bandwidth value of the current network, wherein the available bandwidth value is the residual bandwidth and the service quality level which can ensure the normal operation of the network.
C2-7: and B, changing parameters such as state information transmission frequency in the step B according to the quality level of the residual bandwidth, closing part of threads, waiting for load recovery according to the threshold value setting of the residual bandwidth, and restarting the related threads.
Step C3: the SMR is combined with the related information of the NMC end state analysis thread to further optimize resource scheduling;
c3-1: the NMC terminal collects the throughput condition of the network port and the equipment load information.
C3-2: when the NMC load is too high, a specified message is sent to all online devices, informing that the quantitative thread is closed.
C3-3: when the NMC load is normal, if the overload message is sent, a reply command is sent to the online equipment again.
Step C4: deploying program hierarchical logs and log file processing programs, and maintaining equipment recording and running capabilities;
c4-1: the SMR log sets up exceptions, alerts, debugs, runs four levels, and configures user permissions for viewing and modifying the log.
C4-2: the SMR is based on the hierarchical log, and backups and compression deletion of log files are completed by using different periods and scales through log processing scripts, and the backups are mainly backed up to the NMC server after being compressed when the system bandwidth resources are sufficient.
In summary, the embodiment of the present invention can collect the usage and analysis for the whole network by making the device attribute information in the heterogeneous network multi-link transmission system no longer exist in the generating device itself.
The invention ensures that different types of attribute information of the equipment can achieve certain network certainty by adopting different transmission modes, time points and frequencies based on transmission strategies when the heterogeneous network is transmitted in a multilink way.
The invention ensures that attribute information is utilized with maximum efficiency according to the running condition of network main service when heterogeneous network multilink transmission is carried out, and the running of the existing service is not influenced while the network service capability is improved.
The active information collection mode of the embodiment of the invention collects attribute information by adopting different collection modes through the SMR and then sends the attribute information to the NMC for storage, on one hand, the design made by serving management information as a heterogeneous network additional service and not influencing the specific operation scene of the main business is not influenced, and on the other hand, the design is selected according to the reasonable design of the heterogeneous network attribute type and the data scale, so the method is not an easy-to-think conventional means.
Those of ordinary skill in the art will appreciate that: the drawing is a schematic diagram of one embodiment and the modules or flows in the drawing are not necessarily required to practice the invention.
From the above description of embodiments, it will be apparent to those skilled in the art that the present invention may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, with reference to the description of method embodiments in part. The apparatus and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (5)

1. An adaptive heterogeneous network attribute information collection method, which is characterized by comprising the following steps:
step A: the network management controller NMC sends a detection packet to each device in the heterogeneous network, and collects attribute information of each device according to a message packet returned by each device;
and (B) step (B): the intelligent mobile router SMR actively transmits attribute information of the intelligent mobile router to the NMC;
step C: respectively deploying attribute updating strategies on the NMC and the SMR, adaptively updating the attribute of the SMR according to the heterogeneous network state, and performing attribute synchronization operation of the SMR between the NMC and the SMR according to the attribute updating strategies;
the network management controller NMC in the step a sends a probe packet to each device in the heterogeneous network, and collects attribute information of each device according to a message packet returned by each device, including:
step A1: the NMC collects the online attribute information of the heterogeneous network equipment through threads, acquires an initial monitored equipment list, and establishes a real-time state data table of the monitored equipment in a database, wherein the real-time state data table is initialized to be empty;
step A2: the NMC sends detection packets to each monitored device through an icmp protocol, and collects and updates attribute information of each monitored device according to message packets returned by each monitored device;
step A3: NMC collects the configuration information of the on-line heterogeneous network device;
step A4: NMC updates the latest monitored equipment list, and maintains the corresponding relation between equipment names and equipment IP;
in the step B, the smart mobile router SMR actively sends its attribute information to the NMC, including:
step B1: the NMC server side respectively starts threads for monitoring the designated ports, monitors the equipment operation configuration, the equipment operation state, the network operation state and the collection request of the designated file attribute information, continuously monitors all ports, and triggers the attribute information collection flow when any port has a request;
step B2: the SMR sends information collection request information carrying own attribute information to the NMC according to a set strategy, and the NMC completes the attribute information receiving of the SMR by adopting different collection modes according to the received information collection request information;
step B3: the NMC server side stores the received attribute information of each SMR in a database according to the appointed requirement, and completes the active collection and maintenance of the attribute information of the SMR;
in the step C, attribute update policies are deployed on the NMC and the SMR, and the SMR adaptively performs attribute update according to the heterogeneous network state, and performs an attribute synchronization operation of the SMR between the NMC and the SMR according to the attribute update policies, including:
step C1: respectively deploying attribute updating strategies on the NMC and the SMR, and reporting attribute information to the NMC server side by the SMR according to the attribute updating strategies;
step C2: the SMR analyzes the states of the network and the equipment in real time through a specified thread, and the parameter information of the thread is reported through the attribute information modification algorithm;
step C3: the SMR optimizes resource scheduling by combining the related information of the NMC end state analysis thread, the NMC end collects the throughput condition of the network port and the equipment load information, and when the NMC load is too high, a designated message is sent to all online equipment to inform the closing of the quantitative thread; when NMC load is normal, if overload information is sent, a reply command is sent to the online equipment again;
step C4: the SMR deployment program ranks the log and log file processing program, and maintains the recording and running capability of the equipment; the SMR log establishes abnormality, warning, debugging and running four log levels, and configures user permission for checking and modifying the log, and the SMR processes scripts through the log based on the level log, and backups, compression and deletion of log files are completed with different periods and scales.
2. The method as set forth in claim 1, wherein the NMC in step A2 sends a probe packet to each monitored device through an icmp protocol, and the collecting and updating the attribute information of each monitored device according to the message packet returned by each monitored device includes:
a2-1: the NMC sends detection packets to each monitored device through an icmp protocol, and acquires message packets returned by each monitored device;
a2-2: judging the online state of the equipment according to the message packet returned by the monitored equipment, comparing the online state with the previous online state of the equipment, and performing different operations;
a2-2-1: if the current equipment is offline and the last state of the equipment is online, the fact that the equipment is just offline is indicated, the real-time state of the updated equipment is offline, the current time is obtained, and the update of the offline time of the latest entry of the equipment in the real-time state data table of the monitored equipment is completed through the equipment name and the online time of the equipment recorded by the program;
a2-2-2: the method comprises the steps that current equipment is online, the last state of the equipment is offline, the real-time state of the equipment is offline, whether an entry with the offline time of the equipment being empty exists in a real-time state data table of monitored equipment is searched, and if the entry with the offline time of the equipment being empty exists, the current time is updated;
a2-2-3: if the current equipment is online and the last state of the equipment is online, the real-time state of the equipment is ensured to be updated to be online, and no change of history information is made;
a2-2-4: if the current equipment is online and the state of the equipment is offline, the equipment is indicated to be online, the real-time state of the equipment is online, whether the history record of the equipment with the offline time being empty exists is inquired, if yes, the server is considered to be powered off or the program is restarted in the online process of the equipment, and the history record is not updated; if not, recording the current time as the equipment online time, and adding an entry in an equipment history online record table;
a2-3: and updating the online state variable value of the equipment in the program.
3. The method of claim 1 wherein the SMR in step B2 sends an information collection request message carrying its own attribute information to the NMC according to a predetermined policy, and the NMC completes the receiving of the attribute information of the SMR by adopting different collection modes according to the received information collection request message, including:
b2-1: the NMC authenticates through the equipment name and the equipment IP mapping table which are collected and maintained by the online information, so that the correctness of equipment for connection establishment request is ensured;
b2-2: the NMC receives information collection request messages carrying attribute information sent by different SMRs through different port numbers;
b2-2-1: the configuration attribute information used for heterogeneous network equipment operation finishes information receiving through a zone bit, an IP address and a protocol data format according to different table items and items of the equipment, wherein the zone bit points to the category of the attribute information, the IP address points to the identifier of the SMR equipment, and the protocol data format points to specific attribute information filling;
b2-2-2: attribute information representing equipment programs and hardware states is obtained through SMR calling system commands, and receiving of objects is completed in a program serialization mode;
b2-2-3: the network state collected by SMR equipment in the heterogeneous network has a specific knowledge base at the client, and knowledge base information is serialized through objects to finish sending and receiving;
b2-2-4: designating file attribute information under the folder, and realizing the information collection by breakpoint reading and file transmission mode of file name matching;
b2-3: the NMC stores the received attribute information of the SMR in a real-time state data table of the monitored equipment in a database through variables.
4. The method of claim 1, wherein the deploying the attribute update policies on the NMC and the SMR in the step C1, and reporting the attribute information to the NMC server by the SMR according to the attribute update policies, includes:
c1-1: SMR reads the appointed configuration file and obtains the initial reporting strategies of different attributes of the oriented NMC;
c1-2: if no configuration file or file is set as a default value, a default strategy is followed;
c1-2-1: the configuration attribute information program is sent once when started, the request is repeatedly sent with the frequency of 2 minutes when the transmission is unsuccessful, and the transmission is not carried out after the transmission is successful;
c1-2-2: the device hardware state, the program running state and the network state attribute information collected by the SMR send the latest state with 3s as frequency, and whether the device is successfully sent or not is not considered;
c1-2-3: designating file information of a folder, and transmitting according to a file default transmission strategy;
c1-2-3-1: when the file transmission request is established and the authentication is the allowed SMR equipment, the SMR scans all files of the designated folder;
c1-2-3-2: acquiring file creation time and size, and sorting according to the size or the creation time, wherein specific rules can be determined by configuration files or default from large to small;
c1-2-3-3: according to the file transmission queue, each file is transmitted through a JAVA interface, and duplicate removal and continuous transmission are realized through the interaction of the current size information of the file and the file naming rule;
c1-2-3-4: in the transmission process, the file size allowed to be transmitted is calculated and limited through network parameters, and the C1-2-3-3 process is repeated.
5. The method of claim 4, wherein the SMR in step C2 performs analysis of network and device states in real time by a specified thread, and changes parameter information of an attribute information reporting thread by an algorithm, including:
c2-1: the NMC acquires the CPU utilization rate L (CPU), the memory utilization rate L (Mem), the network delay L (Bandw) and the connection number L (Conn) of the device, wherein the connection number is obtained by calling an online state attribute information interface of NMC monitoring equipment, and is normalized and defined as the ratio of the connection number of the ith NMC to the average connection number of all NMCs;
c2-2: by L (S) i )=k 1 *L(CPU)+k 2 *L(Mem)+k 3 *L(Bandw)+k 4 * L (Conn) calculation of NMC load value L (S) i );
C2-3: SMR obtains CPU utilization rate L (CPU), memory utilization rate L (Mem), network delay L (Bandw) and NMC load value L (S) i ) And SMR device data packet disorder degree;
c2-4: by L (M) i )=k 5 *L(CPU)+k 6 *L(Mem)+k 7 *L(Bandw)+k 8 *L(S i )+k 9 * L (Unorder) calculates the current SMR load value;
c2-5: according to L (M i ) Analyzing the current SMR device available total bandwidth value and the current throughput;
c2-6: determining a current network estimated available bandwidth value;
c2-7: and B, changing the state information transmission frequency parameter in the step B according to the quality level of the residual bandwidth, closing part of threads, waiting for load recovery according to the threshold value setting of the residual bandwidth, and restarting the related threads.
CN202210586555.3A 2022-05-27 2022-05-27 Self-adaptive heterogeneous network attribute information collection method Active CN115051921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586555.3A CN115051921B (en) 2022-05-27 2022-05-27 Self-adaptive heterogeneous network attribute information collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586555.3A CN115051921B (en) 2022-05-27 2022-05-27 Self-adaptive heterogeneous network attribute information collection method

Publications (2)

Publication Number Publication Date
CN115051921A CN115051921A (en) 2022-09-13
CN115051921B true CN115051921B (en) 2023-11-07

Family

ID=83160298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586555.3A Active CN115051921B (en) 2022-05-27 2022-05-27 Self-adaptive heterogeneous network attribute information collection method

Country Status (1)

Country Link
CN (1) CN115051921B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2509261A1 (en) * 2011-04-08 2012-10-10 Alcatel Lucent Monitoring of a network element in a packet-switched network
EP2661014A1 (en) * 2010-12-28 2013-11-06 ZTE Corporation Polling sub-system and polling method for communication network system and communication apparatus
CN113472811A (en) * 2021-08-23 2021-10-01 北京交通大学 Heterogeneous service function chain forwarding protocol and method in intelligent fusion identification network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2512502B (en) * 2014-02-25 2015-03-11 Cambridge Silicon Radio Ltd Device authentication
US20180123935A1 (en) * 2016-10-31 2018-05-03 Servicenow, Inc. Network Configuration Management System
US10666513B2 (en) * 2017-05-03 2020-05-26 International Business Machines Corporation Filesystem share auto-detect

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2661014A1 (en) * 2010-12-28 2013-11-06 ZTE Corporation Polling sub-system and polling method for communication network system and communication apparatus
EP2509261A1 (en) * 2011-04-08 2012-10-10 Alcatel Lucent Monitoring of a network element in a packet-switched network
CN113472811A (en) * 2021-08-23 2021-10-01 北京交通大学 Heterogeneous service function chain forwarding protocol and method in intelligent fusion identification network

Also Published As

Publication number Publication date
CN115051921A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
Chen et al. Task replication for vehicular cloud: Contextual combinatorial bandit with delayed feedback
CN110830289B (en) Container abnormity monitoring method and monitoring system
US7934257B1 (en) On-box active reconnaissance
KR100714157B1 (en) Adaptive problem determination and recovery in a computer system
WO2021138299A1 (en) Method and system for prioritizing and remediating security vulnerabilities based on adaptive scoring
US8191068B2 (en) Resource management system, resource information providing method and program
CN109768875B (en) Network slice policy management method, device, equipment and system
EP3847781A1 (en) Application of machine learning for building predictive models enabling smart fail over between different network media types
DK2544406T3 (en) Procedure and event notification correlation handling agent
CN109769261A (en) A kind of network failure processing method and device
US20130212257A1 (en) Computer program and monitoring apparatus
JP2021530067A (en) Data Center Hardware Instance Network Training
CN109344014A (en) A kind of main/standby switching method, device and communication equipment
CN111200526B (en) Monitoring system and method of network equipment
EP3981111B1 (en) Allocating cloud resources in accordance with predicted deployment growth
CN111611129A (en) Performance monitoring method and device of PaaS cloud platform
Appleby et al. Yemanja-a layered event correlation engine for multi-domain server farms
CN115051921B (en) Self-adaptive heterogeneous network attribute information collection method
CN116760655B (en) POP point method for providing CPE optimal access in SD-WAN application
Appleby et al. Yemanja—A layered fault localization system for multi-domain computing utilities
US20220014446A1 (en) Network device association with network management system
CN113542373A (en) Routing service discovery device and method for PAAS platform
CN111563069A (en) Probe configuration method and system of industrial control equipment
Zehnder et al. Using virtual events for edge-based data stream reduction in distributed publish/subscribe systems
CN117478582A (en) Oil field production equipment state monitoring and optimizing method based on intelligent link management system

Legal Events

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