CN115499488A - Algorithm for fast adapting computer and network equipment - Google Patents

Algorithm for fast adapting computer and network equipment Download PDF

Info

Publication number
CN115499488A
CN115499488A CN202211119930.XA CN202211119930A CN115499488A CN 115499488 A CN115499488 A CN 115499488A CN 202211119930 A CN202211119930 A CN 202211119930A CN 115499488 A CN115499488 A CN 115499488A
Authority
CN
China
Prior art keywords
data
network equipment
computer
network
matching
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
CN202211119930.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202211119930.XA priority Critical patent/CN115499488A/en
Publication of CN115499488A publication Critical patent/CN115499488A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an algorithm for quickly adapting a computer and network equipment, which comprises the following steps: matching with computer and network equipment, reading data in full quantity, classifying, inducing, storing and configuring. According to the method, the computer and the network equipment are matched according to the configuration file, if the computer and the network equipment cannot be matched, all data of the computer and the network equipment are read in a full amount, classification and induction are carried out according to all the read data, a required configuration path is obtained and stored in the configuration, and subsequent configuration reading can be carried out according to the obtained path without adjusting the configuration data every time.

Description

Algorithm for quickly adapting to computer and network equipment
Technical Field
The invention belongs to the technical field of adaptation of computers and network equipment, and particularly relates to an algorithm for quickly adapting the computers and the network equipment.
Background
The computer is commonly called computer, and is a modern electronic computing machine for high-speed computation, which can perform numerical computation, logic computation and memory function. The intelligent electronic device is a modern intelligent electronic device which can run according to a program and automatically process mass data at a high speed;
reading parameters of a computer and network equipment in an adaptive manner, in the past, data are read according to configuration paths of different models, so that the computer and the network equipment are required to be finely adjusted each time the computer and the network equipment are adapted, and configuration is required to be frequently modified.
Disclosure of Invention
The invention aims to provide an algorithm for quickly adapting a computer and network equipment, so as to solve the problems that in the prior art, the computer and the network equipment are required to be finely adjusted each time, and the configuration is required to be frequently modified.
In order to achieve the purpose, the invention adopts the following technical scheme: an algorithm for fast adaptation of computers and network devices, comprising the steps of:
s1, matching a computer and network equipment, firstly, connecting and matching the computer and the network equipment, realizing connection if matching is successful, and carrying out S2 after matching is failed;
s2, performing full reading on the data, performing full reading on all data in the computer and the network equipment, and storing the data in a database;
s3, carrying out classification induction, wherein the database acquires configuration paths from the data, then classifies the data according to the size, and induces the data according to the type under each classification;
and S4, storing the configuration, storing the acquired configuration path in the configuration of the computer and the network equipment after finishing the data classification and induction, and reading the subsequent configuration according to the acquired configuration path.
Preferably, in S1, a computer matching instruction is sent to the network device, where the matching instruction includes protocol identification information and network address information of the network device, and the matching instruction is used to instruct the network device to query, according to the protocol identification information, the network address information meeting a standard of the matching instruction.
Preferably, the network device in S1 is directly connected to the computer according to the network address information meeting the matching instruction standard.
Preferably, before the matching instruction is sent to the network device according to a preset format, the matching instruction needs to be subjected to optical modulation to obtain a modulated directional optical signal.
Preferably, the database in S3 obtains all the data to be processed of the computer and the network device, determines a target field corresponding to a preset offset in the data to be processed, and determines whether the target field is equal to a preset identification field, if so, checks the data to be processed according to a preset check mode to obtain a check result, and then stores the data in the database.
Preferably, the data type of the data to be processed is determined according to the check result, the data type includes correct data or error data, and if the check is not passed, the data to be processed is determined to be error data.
Preferably, in S4, for any network device, if the device type of at least one peer device of the network device is a terminal device, it is determined that the layered role of the network device is an access layer device.
Compared with the prior art, the algorithm for quickly adapting the computer and the network equipment has the following advantages:
according to the invention, the computer and the network equipment are matched according to the configuration file, if the computer and the network equipment cannot be matched, all data of the computer and the network equipment are read in a full amount, classification and induction are carried out according to all the read data, a required configuration path is obtained and stored in the configuration, and subsequent configuration reading can be carried out according to the obtained path without adjusting the configuration data every time.
Drawings
FIG. 1 is a flow chart of the algorithm of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The specific embodiments described herein are merely illustrative of the invention and do not delimit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The invention provides an algorithm for quickly adapting a computer and a network device as shown in fig. 1, comprising the following steps:
s1, matching a computer and network equipment, namely firstly connecting and matching the computer and the network equipment, realizing connection if matching is successful, and S2 after matching is failed, sending a computer matching instruction to the network equipment, wherein the matching instruction comprises protocol identification information and network address information of the network equipment, the matching instruction is used for instructing the network equipment to inquire the network address information meeting the standard of the matching instruction according to the protocol identification information, the network equipment is directly connected to the computer according to the network address information meeting the standard of the matching instruction, and the matching instruction needs to be subjected to optical modulation before being sent to the network equipment according to a preset format to obtain a modulated directional optical signal;
s2, performing full reading on the data, performing full reading on all data in the computer and the network equipment, and storing the data in a database;
s3, carrying out classification induction, wherein the database acquires configuration paths from the data, classifies the data according to size, induces the data according to type under each classification, acquires all data to be processed of a computer and network equipment, determines a target field corresponding to a preset offset in the data to be processed, determines whether the target field is equal to a preset identification field, checks the data to be processed according to a preset checking mode if the target field is equal to the preset identification field to obtain a checking result, stores the data in the database, determines the data type of the data to be processed according to the checking result, wherein the data type comprises correct data or error data, and determines the data to be processed as error data if the data does not pass the checking;
and S4, storing the configuration, storing the acquired configuration path in the configuration of the computer and the network equipment after finishing the data classification induction, reading the configuration path according to the acquired configuration path during subsequent configuration reading, and determining that the layered role of the network equipment is the access layer equipment if the equipment type of at least one opposite terminal equipment of the network equipment is terminal equipment aiming at any network equipment.
According to the invention, the computer and the network equipment are matched according to the configuration file, if the computer and the network equipment cannot be matched, all data of the computer and the network equipment are read in a full amount, classification and induction are carried out according to all the read data, a required configuration path is obtained and stored in the configuration, and subsequent configuration reading can be carried out according to the obtained path without adjusting the configuration data every time.
Example 2
An algorithm for fast adaptation of computers and network devices, comprising the steps of:
s1, matching a computer and network equipment, namely firstly connecting and matching the computer and the network equipment, realizing connection if matching is successful, and S2 after matching is failed, sending a computer matching instruction to the network equipment, wherein the matching instruction comprises protocol identification information and network address information of the network equipment, the matching instruction is used for indicating the network equipment to inquire the network address information meeting the standard of the matching instruction according to the protocol identification information, the network equipment is directly connected to the computer according to the network address information meeting the standard of the matching instruction, and the matching instruction needs to be subjected to radio frequency modulation before being sent to the network equipment according to a preset format, so that a modulated radio frequency signal is obtained;
s2, performing full reading on the data, performing full reading on all data in the computer and the network equipment, and storing the data in a database;
s3, classifying and summarizing, wherein the database can acquire configuration paths from the data, then classifies the data according to size, and summarizes the data according to type under each classification, the database acquires all data to be processed of a computer and network equipment, determines a target field corresponding to a preset offset in the data to be processed, determines whether the target field is equal to a preset identification field, if so, checks the data to be processed according to a preset checking mode, and determines the data type of the data to be processed according to a checking result, and the method comprises the following steps:
if the verification is passed, receiving a data verification simulation script;
carrying out simulation verification on the data to be processed according to the data verification simulation script to obtain a simulation verification result;
if the data pass the simulation verification, determining that the data to be processed is correct data;
if the data do not pass the simulation verification, determining that the data to be processed are error data;
and S4, storing the configuration, storing the acquired configuration path in the configuration of the computer and the network equipment after finishing the data classification induction, reading the configuration path according to the acquired configuration path during subsequent configuration reading, and determining that the layered role of the network equipment is the access layer equipment if the equipment type of at least one opposite terminal equipment of the network equipment is terminal equipment aiming at any network equipment.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still make modifications to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some technical features, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. An algorithm for fast adaptation of computers and network devices, characterized by: the method comprises the following steps:
s1, matching a computer and network equipment, firstly, connecting and matching the computer and the network equipment, realizing connection if matching is successful, and carrying out S2 after matching is failed;
s2, performing full reading on the data, performing full reading on all data in the computer and the network equipment, and storing the data in a database;
s3, carrying out classification induction, wherein the database acquires configuration paths from the data, then classifies the data according to the size, and induces the data according to the type under each classification;
and S4, storing the configuration, storing the acquired configuration path in the configuration of the computer and the network equipment after finishing the data classification and induction, and reading the subsequent configuration according to the acquired configuration path.
2. The algorithm for fast adaptation of computers and network devices according to claim 1, wherein: and S1, sending a computer matching instruction to the network equipment, wherein the matching instruction comprises protocol identification information and network address information of the network equipment, and the matching instruction is used for instructing the network equipment to inquire the network address information meeting the matching instruction standard according to the protocol identification information.
3. The algorithm for fast adaptation of computers and network devices according to claim 1, wherein: and the network equipment in the S1 is directly connected to the computer according to the network address information meeting the matching instruction standard.
4. An algorithm for fast adaptation of computers and network devices according to claim 2, characterized in that: before the matching instruction is sent to the network equipment according to the preset format, the matching instruction needs to be subjected to optical modulation to obtain a modulated directional optical signal.
5. The algorithm for fast adaptation of computers and network devices according to claim 1, wherein: and the database in the S3 acquires all data to be processed of the computer and the network equipment, determines a target field corresponding to a preset offset in the data to be processed, determines whether the target field is equal to a preset identification field, checks the data to be processed according to a preset checking mode if the target field is equal to the preset identification field to obtain a checking result, and then stores the data in the database.
6. The algorithm for fast adaptation of computers and network devices according to claim 3, wherein: and determining the data type of the data to be processed according to the verification result, wherein the data type comprises correct data or error data, and if the data to be processed does not pass the verification, determining that the data to be processed is the error data.
7. The algorithm for fast adaptation of computers and network devices according to claim 1, wherein: and in the step 4, for any network device, if the device type of at least one opposite terminal device of the network device is a terminal device, determining that the layered role of the network device is an access layer device.
CN202211119930.XA 2022-09-15 2022-09-15 Algorithm for fast adapting computer and network equipment Pending CN115499488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211119930.XA CN115499488A (en) 2022-09-15 2022-09-15 Algorithm for fast adapting computer and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211119930.XA CN115499488A (en) 2022-09-15 2022-09-15 Algorithm for fast adapting computer and network equipment

Publications (1)

Publication Number Publication Date
CN115499488A true CN115499488A (en) 2022-12-20

Family

ID=84468156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211119930.XA Pending CN115499488A (en) 2022-09-15 2022-09-15 Algorithm for fast adapting computer and network equipment

Country Status (1)

Country Link
CN (1) CN115499488A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483650A (en) * 2009-02-25 2009-07-15 南京邮电大学 File fast transmission method based on data grid under campus network circumstance
CN108566296A (en) * 2018-03-26 2018-09-21 新华三技术有限公司 Network equipment layered approach, network management device and computer readable storage medium
CN111131407A (en) * 2019-12-09 2020-05-08 深圳市盛铂科技有限公司 Network equipment connection method and network equipment
CN112436972A (en) * 2019-08-26 2021-03-02 丰鸟航空科技有限公司 Data processing method, device, network equipment and computer readable storage medium
CN112463256A (en) * 2020-12-11 2021-03-09 微医云(杭州)控股有限公司 Method, system, electronic device and storage medium for determining configuration file
CN114285719A (en) * 2021-12-23 2022-04-05 天翼视讯传媒有限公司 Strategy method and system for centrally identifying heterogeneous network devices in multi-IDC environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483650A (en) * 2009-02-25 2009-07-15 南京邮电大学 File fast transmission method based on data grid under campus network circumstance
CN108566296A (en) * 2018-03-26 2018-09-21 新华三技术有限公司 Network equipment layered approach, network management device and computer readable storage medium
CN112436972A (en) * 2019-08-26 2021-03-02 丰鸟航空科技有限公司 Data processing method, device, network equipment and computer readable storage medium
CN111131407A (en) * 2019-12-09 2020-05-08 深圳市盛铂科技有限公司 Network equipment connection method and network equipment
CN112463256A (en) * 2020-12-11 2021-03-09 微医云(杭州)控股有限公司 Method, system, electronic device and storage medium for determining configuration file
CN114285719A (en) * 2021-12-23 2022-04-05 天翼视讯传媒有限公司 Strategy method and system for centrally identifying heterogeneous network devices in multi-IDC environment

Similar Documents

Publication Publication Date Title
CN109474578A (en) Message method of calibration, device, computer equipment and storage medium
US9921569B2 (en) Field device commissioning system and method
US11507038B2 (en) Quality control method and computing device utilizing method
CN110046146A (en) The monitoring method and device of industrial equipment based on mobile edge calculations
US20230150317A1 (en) Tire Pressure Monitoring System Learning Method, Device, Sensor, System and Medium
CN111782660A (en) Data compression method and system based on key value storage
CN109766678A (en) Towards mobile terminal device-fingerprint identification authentication method, system, medium and equipment
CN112529697A (en) Bank pipelining processing method and device combining RPA and AI
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
US11985029B2 (en) Pico-base station configuration method and apparatus, storage medium and electronic apparatus
CN113806816A (en) Electronic file management method and device based on block chain and electronic equipment
CN117391099B (en) Data downloading and checking method and system for smart card and storage medium
EP3972199B1 (en) Open interface management method, electronic device, and storage medium
CN115499488A (en) Algorithm for fast adapting computer and network equipment
CN110806979B (en) Interface return value checking method, device, equipment and storage medium
CN112600904A (en) Smart city Internet of things equipment control method and device and control center
CN110928484B (en) Hybrid cloud storage method based on software defined storage
CN115827543A (en) Method, system, device and medium for realizing eSIP communication based on FPGA
CN115408298A (en) Test method, device and system
CN115544548A (en) Internet financial wind control incoming system interface field checking and managing system and method
CN110309124B (en) Data management method and system
CN102270126B (en) Method and equipment for quickly determining interface code and test script parameter value
CN108712290A (en) network card driving method, device and storage medium
CN111488226A (en) Data processing method of mobile terminal and computer
CN113535578A (en) CTS (clear to send) testing method, device and testing equipment

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