CN114500265A - Automatic dial-up networking method and device for private network - Google Patents

Automatic dial-up networking method and device for private network Download PDF

Info

Publication number
CN114500265A
CN114500265A CN202111498324.9A CN202111498324A CN114500265A CN 114500265 A CN114500265 A CN 114500265A CN 202111498324 A CN202111498324 A CN 202111498324A CN 114500265 A CN114500265 A CN 114500265A
Authority
CN
China
Prior art keywords
network
configuration
information
card
network card
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
CN202111498324.9A
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.)
Beijing LSSEC Technology Co Ltd
Original Assignee
Beijing LSSEC 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 Beijing LSSEC Technology Co Ltd filed Critical Beijing LSSEC Technology Co Ltd
Priority to CN202111498324.9A priority Critical patent/CN114500265A/en
Publication of CN114500265A publication Critical patent/CN114500265A/en
Pending legal-status Critical Current

Links

Images

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/0803Configuration setting
    • 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
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a private network automatic dialing network access method and a private network automatic dialing network access device, which are characterized in that account information of a network card and a network data packet capable of being received and transmitted are collected, a host address of a terminal device is obtained based on the network data packet, a configuration file is generated based on the host address and the account information, a dialing script is automatically generated based on the configuration file, a network channel is configured for the network card based on the dialing script, and automation and batch analysis of the host address of a server are realized, so that the complexity in the using process and the working complexity of debugging personnel are avoided, and the flexibility in the using process is increased.

Description

Automatic dial-up networking method and device for private network
Technical Field
The invention relates to the technical field of network communication, in particular to a private network automatic dialing networking method and a private network automatic dialing networking device.
Background
In private network dialing, because of the changeability of an account and a password, each device needs to set the account, the password and the APN for the card independently, time and labor are consumed in a large batch, and errors are easy to occur; and then, all the acquired network data packets are analyzed manually by virtue of personal experience, and network behaviors generated during the operation of the terminal equipment are analyzed and distinguished to determine the host address of the server of the terminal equipment, so that a large amount of manual operation is needed and the efficiency is low.
Disclosure of Invention
The invention discloses a private network automatic dialing network access method and a private network automatic dialing network access device, which are used for automatically generating a dialing script based on a configuration file generated based on host address and account information to establish network link according to the configuration file, thereby avoiding the complexity in the using process and the working complexity of debugging personnel and increasing the flexibility in the using process.
The invention provides a private network automatic dialing network access method, which comprises the following steps:
step 1, acquiring account information of a network card and a network data packet which can be received and transmitted, and acquiring a host address of a terminal device based on the network data packet;
step 2, generating a configuration file based on the host address and the account information, and automatically generating a dialing script based on the configuration file;
and 3, configuring a network channel for the network card based on the dialing script.
Preferably, the account information includes: the network card comprises an account number, a password and an APN of the network card, wherein the account number adopts a value + specific back pendant form capable of reading SIM information, and the readable SIM information comprises a mobile phone number and a specific digit number in an ICCID password intercepting account number.
Preferably, step 1, collecting the network data packet that can be transmitted and received, includes:
capturing network data of a network card to be analyzed in the operation process to obtain a network data packet, filtering the network data packet to obtain a segmented network data packet of a terminal device to which the network card belongs in a first operation stage, wherein the first operation stage comprises a stage from the start to the end of the start of the terminal device, and a stage from the start to the end of the login.
Preferably, after the segmented network data packet is obtained, the method further includes:
analyzing the segmented network data packet of the terminal equipment to which the network card belongs in the first operation stage to obtain HOST codes of the terminal equipment so as to obtain sub HOST codes of the terminal equipment in each sub-stage in the first operation stage, calculating the sub HOST codes of the terminal equipment based on a preset algorithm to obtain address information of the terminal equipment, and removing the address information of the terminal equipment based on a preset public server dictionary to obtain a HOST address of the terminal equipment.
Preferably, the obtaining of the segmented network data packet of the terminal device to which the network card belongs in the first operation phase includes:
determining the starting time and the starting ending time of the stage from the starting to the starting ending of the terminal equipment: defining a starting time point of a process of the terminal device as a starting start time; and defining the time point of the end equipment for acquiring the first Finish event as the starting end time, or defining the time point of keeping the screen picture unchanged for 3 seconds as the starting end time.
Preferably, step 2, a configuration file is generated based on the host address and the account information, and a dialing script is automatically generated based on the configuration file, wherein the dialing script comprises the configuration file;
the private network sends a first instruction to a network card, wherein the first instruction is used for inquiring first information, the first information comprises account information and model information of the network card, and first feedback information returned by the network card in response to the first instruction is received, and the first feedback information comprises the account information and the model information of the network card.
The private network sends a second instruction to a network card, wherein the second instruction is used for inquiring second information, the second information comprises operator information of the network card and receiving second feedback information returned by the network card in response to the second instruction, the second feedback information comprises an international mobile subscriber identity of the network card, and the operator information of the network card and the name of a corresponding chat script are determined based on the international mobile subscriber identity of the network card;
and generating a configuration file based on the account information and the model information of the network card, the operator information, the name of the corresponding chat script and the host address of the terminal equipment, and automatically generating a dialing script based on the configuration file to send dialing information to a private network.
Preferably, step 3, configuring a network channel for the network card based on the dialing script, including:
determining a communication protocol of the network card based on the dialing information and a preset network card operator interconnection protocol table, and generating a virtual terminal interface based on the communication protocol and a host address of the terminal equipment;
network configuration parameter synchronization is carried out on the private network equipment based on a preset network equipment configuration protocol so as to finish network port binding of the local wireless network equipment:
generating a first private network configuration based on the virtual terminal interface and the network equipment configuration protocol, synchronizing the configuration of the private network equipment based on the first private network configuration, and determining the synchronized private network configuration parameters:
when the corresponding current configuration situation reaches the preset configuration situation, determining a second network configuration parameter required by the current establishment of network connection in the corresponding private network configuration parameters, and backing up the second network configuration parameter;
generating a network configuration parameter set of the current configuration condition according to the backed-up second network configuration parameter, generating a security record file based on the network configuration parameter set, the current configuration condition and the host address of the terminal device, sending the security record file to a preset protection module, processing the security record file to obtain feedback information of the protection module aiming at the security record file, and determining the feedback confidence of a security server sending the feedback information based on the feedback information;
when the feedback confidence coefficient exceeds a preset confidence coefficient threshold value, adding the feedback information to the safety record file for updating to obtain an updated safety record file, and sending the updated safety record file to private network equipment;
and when the private network equipment receives the updated safety record file, the private network equipment is subjected to parameter configuration based on the network configuration parameter set.
Preferably, the backing up the second network configuration parameter includes:
acquiring a configuration condition corresponding to each sub-network configuration parameter in the second network configuration parameters and a parameter label in a preset database;
marking the parameter label based on the configuration condition corresponding to the sub-network configuration parameter to obtain a marked parameter label, and determining network connection information based on the marked parameter label so as to determine the current configuration condition of the current network configuration parameter of the private network equipment;
if the current configuration condition does not accord with the preset configuration condition, determining that the configuration parameters to be processed exist in the current network configuration parameters, thereby obtaining a configuration parameter set to be processed;
screening out configuration data required by establishing network connection in a to-be-processed configuration parameter set from current network configuration parameters;
screening network configuration parameters according to the configuration data and the marked parameter tags to obtain second network configuration parameters, and screening network connection operation information required by the to-be-processed configuration parameters for establishing network connection from the network connection information;
determining a network connection establishing operation type corresponding to the second sub-network configuration parameter according to the network connection operation information;
when the operation type of establishing the network connection is application operation, backing up second sub-network configuration parameters corresponding to the application operation to obtain backed-up sub-second network configuration parameters;
and when the operation type of establishing the network connection is a test operation, backing up the second sub-network configuration parameters corresponding to the test operation, and adding a test label to the backed-up second sub-network configuration parameters to obtain the backed-up sub-second network configuration parameters.
Preferably, step 3, based on the dialing script, configuring a network channel for the network card, further comprising:
determining a dialing level based on account information of the network card and a host address of the terminal equipment, and determining the networking priority of the network card based on the dialing level and a network configuration parameter set;
analyzing the network access priority of the network card to obtain the required bandwidth of the network card, evaluating the network card based on the required bandwidth of the network card and the network access priority to obtain the authority score of the network card;
the method comprises the steps of using a private network channel based on an authority scoring mark, obtaining a plurality of sub-usable private network channels, carrying out network speed detection on each sub-usable private network channel, obtaining the network speed corresponding to each sub-usable private network channel, and sending dialing information to the sub-usable private network channel with the maximum network speed.
The invention provides a special network automatic dialing network access device, comprising:
the acquisition module acquires account information of the network card and a network data packet which can be received and transmitted, and acquires a host address of the terminal equipment based on the network data packet;
the processing module is used for generating a configuration file based on the host address and the account information and automatically generating a dialing script based on the configuration file;
and the configuration module is used for configuring a network channel for the network card based on the dialing script.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flowchart of a method for multi-link data retransmission according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for multi-link data retransmission according to an embodiment of the present invention;
fig. 3 is a block diagram of a multi-link data retransmission system according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
The embodiment of the invention provides a private network automatic dialing network access method, as shown in figure 1, comprising the following steps:
step 1, acquiring account information of a network card and a network data packet which can be received and transmitted, and acquiring a host address of a terminal device based on the network data packet;
step 2, generating a configuration file based on the host address and the account information, and automatically generating a dialing script based on the configuration file;
and 3, configuring a network channel for the network card based on the dialing script.
In this embodiment, the account information is an account, a password, and an APN of a network card of the network card, and is used to form a configuration item in the configuration file.
In this embodiment, the network data packet is data information generated in a process of running a terminal device, and is used to determine a dialing level, so as to configure a network channel.
In this embodiment, the configuration file is account information and model information of the network card, operator information, a name of a corresponding chat script, and a protocol code corresponding to a host address of the terminal device, and the private network may be connected to the terminal device after being configured based on the protocol code.
In this embodiment, the dialing script is an automatic dialing program and sends a configuration file to the private network.
In this embodiment, the network channels are communication channels in the private network, and the channels are isolated from each other.
The beneficial effect of above-mentioned scheme does: the method has the advantages that the configuration file is generated through automatic analysis of the host address of the terminal equipment and acquisition of the account information of the network card, the dialing script is generated based on the configuration file, the network card is configured with the network channel based on the dialing script, automation and batch analysis of the host address of the server are realized, complexity in the using process and working complexity of debugging personnel are avoided, and flexibility in the using process is improved.
Example 2
Based on embodiment 1, the account information includes: the network card comprises an account number, a password and an APN of the network card, wherein the account number adopts a value + specific back pendant form capable of reading SIM information, and the readable SIM information comprises a mobile phone number and a specific digit number in an ICCID password intercepting account number.
The beneficial effect of above-mentioned scheme does: the account password and APN for private network dialing adopt a mode of SIM card readable information + fallback, and different APNs (special instructions) are led in advance through a configuration file. It is convenient for the program to recognize different requirements. Related account passwords do not need to be manually input, and other problems caused by mixed use of cards are solved.
Example 3
Based on embodiment 1, step 1, collecting a network data packet that can be transmitted and received, includes:
capturing network data of a network card to be analyzed in the operation process to obtain a network data packet, filtering the network data packet to obtain a segmented network data packet of a terminal device to which the network card belongs in a first operation stage, wherein the first operation stage comprises a stage from the start to the end of the start of the terminal device, and a stage from the start to the end of the login.
The beneficial effect of above-mentioned scheme does: the method comprises the steps of capturing network data of a network card to be analyzed in the running process, further filtering network data packets, obtaining sub data packets corresponding to a stage from the start to the end of the start of the terminal equipment and a stage from the start to the end of the login, and providing a data basis for judging the subsequent internet priority.
Example 4
Based on embodiment 3, as shown in fig. 2, after the segmented network packet is obtained, the method further includes:
analyzing the segmented network data packet of the terminal equipment to which the network card belongs in the first operation stage to obtain HOST codes of the terminal equipment so as to obtain sub HOST codes of the terminal equipment in each sub-stage in the first operation stage, calculating the sub HOST codes of the terminal equipment based on a preset algorithm to obtain address information of the terminal equipment, and removing the address information of the terminal equipment based on a preset public server dictionary to obtain a HOST address of the terminal equipment.
In this embodiment, the HOST code is an association database created by addresses and ip corresponding to the addresses.
In this embodiment, the public server dictionary is an information set composed of address information of the private network device.
The beneficial effect of above-mentioned scheme does: and analyzing the segmented network data packet of the terminal equipment to which the network card belongs at the first operation stage to obtain the HOST code of the terminal equipment, and removing the HOST code to obtain the HOST address of the terminal equipment, thereby providing a data basis for judging the subsequent internet priority.
Example 5
Based on embodiment 3, obtaining the segmented network data packet of the terminal device to which the network card belongs in the first operation stage includes:
determining the starting time and the starting ending time of the stage from the starting to the starting ending of the terminal equipment: defining a starting time point of a process of the terminal device as a starting start time; and defining the time point of the terminal device for acquiring the first Finish event as the starting end time, or defining the time point of the screen picture which is kept unchanged for 3 seconds as the starting end time.
In this embodiment, the Finish event is a process initial running event, and is used to define a start time and a start end time of the terminal device.
Example 6
Based on embodiment 3, step 2 is to generate a configuration file based on the host address and the account information, and to automatically generate a dialing script based on the configuration file, and includes:
the method comprises the steps that a private network sends a first instruction to a network card, the first instruction is used for inquiring first information, the first information comprises account information and model information of the network card, and first feedback information returned by the network card in response to the first instruction is received, and the first feedback information comprises the account information and the model information of the network card;
the private network sends a second instruction to a network card, wherein the second instruction is used for inquiring second information, the second information comprises operator information of the network card and receiving second feedback information returned by the network card in response to the second instruction, the second feedback information comprises an international mobile subscriber identity of the network card, and the operator information of the network card and the name of a corresponding chat script are determined based on the international mobile subscriber identity of the network card;
and generating a configuration file based on the account information and the model information of the network card, the operator information, the name of the corresponding chat script and the host address of the terminal equipment, and automatically generating a dialing script based on the configuration file to send dialing information to a private network.
In this embodiment, the international mobile subscriber identity is an identity corresponding to an operator of the network card, and is used to determine operator information of the network card and a name of a corresponding chat script, so as to generate a configuration file.
The beneficial effect of above-mentioned scheme does: the private network sends a first instruction and a second instruction to the network card to obtain first feedback information and second feedback information, generates a configuration file based on the first feedback information and the second feedback information and the host address of the terminal equipment, automatically generates a dialing script based on the configuration file to send the dialing information to the private network, and realizes automation and batch analysis of the host address of the server, thereby avoiding the complexity in the using process and the working complexity of debugging personnel, and increasing the flexibility in the using process.
Example 7
Based on embodiment 1, as shown in fig. 2, step 3 is to configure a network channel for the network card based on the dialing script, and includes:
step 3.1, determining a communication protocol of the network card based on the dialing information and a preset network card operator interconnection protocol table, and generating a virtual terminal interface based on the communication protocol and a host address of the terminal equipment;
step 3.2, network configuration parameter synchronization is carried out on the private network equipment based on a preset network equipment configuration protocol so as to finish the network port binding of the local wireless network equipment:
step 3.3, generating a first private network configuration based on the virtual terminal interface and the network equipment configuration protocol, synchronizing the configuration of the private network equipment based on the first private network configuration, and determining the synchronized private network configuration parameters;
step 3.4, when the corresponding current configuration situation reaches the preset configuration situation, determining a second network configuration parameter required by the current establishment of network connection in the corresponding private network configuration parameters, and backing up the second network configuration parameter;
step 3.5, generating a network configuration parameter set of the current configuration situation according to the backed-up second network configuration parameter, generating a safety record file based on the network configuration parameter set, the current configuration situation and the host address of the terminal device, sending the safety record file to a preset protection module, processing the safety record file to obtain feedback information of the protection module aiming at the safety record file, and determining the feedback confidence of a safety server sending the feedback information based on the feedback information;
step 3.6, when the feedback confidence coefficient exceeds a preset confidence coefficient threshold value, adding the feedback information to the safety record file for updating to obtain an updated safety record file, and sending the updated safety record file to private network equipment;
and 3.7, after the private network equipment receives the updated safety record file, performing parameter configuration on the private network equipment based on the network configuration parameter set.
In this embodiment, the network card operator interconnection protocol table is a communication protocol when different network cards are connected to a private network.
In this embodiment, the virtual-side interface is an analog interface, and includes dialing information and a host address of the terminal device.
In this embodiment, the first private network is configured to configure the baud rate between the network card and the private network, and the configuration synchronization of the remaining parameters is performed after the baud rate is configured.
In this embodiment, the second network configuration parameter is an in-station address and a gateway right between the network card and the private network.
In this embodiment, the network configuration parameter set is a set of parameters that need to be configured to communicate between the private network and the network card.
In this embodiment, the protection module is configured to check the security of the security record file, and perform parameter configuration on the private network device based on the network configuration parameter set if the security record file passes the detection.
The beneficial effect of above-mentioned scheme does: the communication protocol of the network card is determined based on the dialing information and a preset network card operator interconnection protocol table, the virtual end interface is generated based on the communication protocol and the host address of the terminal equipment, the private network is configured and synchronized based on the virtual end interface, the network card and the private network are communicated, automation and batch analysis of the host address of the server are achieved, complexity in the using process and working complexity of debugging personnel are avoided, and flexibility in the using process is improved.
Example 8
Based on embodiment 7, the backing up the second network configuration parameter includes:
acquiring a configuration condition corresponding to each sub-network configuration parameter in the second network configuration parameters and a parameter label in a preset database;
marking the parameter label based on the configuration condition corresponding to the sub-network configuration parameter to obtain a marked parameter label, and determining network connection information based on the marked parameter label so as to determine the current configuration condition of the current network configuration parameter of the private network equipment;
if the current configuration condition does not accord with the preset configuration condition, determining that the configuration parameters to be processed exist in the current network configuration parameters, thereby obtaining a configuration parameter set to be processed;
screening out configuration data required by establishing network connection in a to-be-processed configuration parameter set from current network configuration parameters;
screening network configuration parameters according to the configuration data and the marked parameter tags to obtain second network configuration parameters, and screening network connection operation information required by the to-be-processed configuration parameters for establishing network connection from the network connection information;
determining a network connection establishing operation type corresponding to the second sub-network configuration parameter according to the network connection operation information;
when the operation type of establishing the network connection is application operation, backing up second sub-network configuration parameters corresponding to the application operation to obtain backed-up sub-second network configuration parameters;
and when the operation type of establishing the network connection is a test operation, backing up the second sub-network configuration parameters corresponding to the test operation, and adding a test label to the backed-up second sub-network configuration parameters to obtain the backed-up sub-second network configuration parameters.
In this embodiment, the parameter tag is a parameter tag of the subnet configuration parameter in the preset database, for example, the parameter tag of the master station address is 0001, and the parameter tag of the baud rate is 0002.
In this embodiment, the preset configuration condition is that the network configuration parameters between the network card and the private network are all the same.
In this embodiment, the configuration parameters to be processed are different network configuration parameters between the network card and the private network.
In this embodiment, the network connection operation information is a step required for synchronizing network configuration parameters between the network card and the private network.
In this embodiment, the operation type of establishing the network connection is divided into an application operation and a test operation, and the operation type of establishing the network connection is determined according to the running process of the terminal device.
The beneficial effect of above-mentioned scheme does: and backing up the second network configuration parameters, so that the network card is communicated with the private network, and the automation and the batch analysis of the server host address are realized, thereby avoiding the complexity in the use process and the working complexity of debugging personnel and increasing the flexibility in the use process.
Example 9
Based on embodiment 1, determining whether the network connection established between the terminal device and the network card can normally transmit the communication signal, includes the steps of:
determining a transmission loss factor of communication data between the terminal equipment and the current private network according to the following formula:
Figure BDA0003401754330000121
wherein, H is a transmission loss factor of communication data in the process of transmission between the terminal device and the current private network, s is an actual connection distance between the terminal device and the current private network, s1 is an allowable maximum connection distance between the terminal device and the current private network, ylFor the antenna gain of the terminal device, yrK represents the actual transmission signal strength of the terminal equipment and a transmission channel corresponding to the current private network; k 1 represents the maximum allowed transmission signal strength of the terminal equipment and the corresponding transmission channel of the current private network, and
Figure BDA0003401754330000131
correcting the transmission loss factor according to the following formula to obtain a loss correction factor:
Hx=H+τH·μ2
wherein HxFor the transmission loss correction value of communication data, tau is the dielectric constant of air and takes a value of 1, mu is the standard deviation of the corresponding signal communication intensity of a transmission channel between the terminal equipment and the current private network in the historical transmission process, and the range of the value is [0, 0.3%];
Judging whether a private network matched with the terminal equipment needs to be replaced or not based on the obtained loss correction factor;
if the loss correction factor is larger than a preset threshold value, the private network is replaced, and the private network is connected with the terminal equipment based on the replaced private network;
otherwise, continuing to maintain the connection between the private network and the terminal equipment.
For example, if H is 3db, τ is 1, and μ is 0.2, thenHx=3.12,
If the preset threshold is 3.10, at this time, since 3.12 is greater than 3.10, the private network connected with the terminal device needs to be replaced.
The beneficial effect of above-mentioned scheme does: the transmission loss factor of the communication data is obtained through calculation, the transmission loss factor is corrected based on a formula, the effective value of the loss factor is guaranteed to be obtained, whether a private network needs to be replaced or not is judged, loss can be effectively reduced, effective transmission between signals is guaranteed, resources are saved for dial-up, complexity in the using process and the working complexity of debugging personnel are avoided, and flexibility in the using process is improved.
Example 10
Based on embodiment 1, step 3, based on the dialing script, configuring a network channel for the network card, further comprising:
determining a dialing level based on account information of the network card and a host address of the terminal equipment, and determining the networking priority of the network card based on the dialing level and a network configuration parameter set;
analyzing the network access priority of the network card to obtain the required bandwidth of the network card, evaluating the network card based on the required bandwidth of the network card and the network access priority to obtain the authority score of the network card;
the method comprises the steps of using a private network channel based on an authority scoring mark, obtaining a plurality of sub-usable private network channels, carrying out network speed detection on each sub-usable private network channel, obtaining the network speed corresponding to each sub-usable private network channel, and sending dialing information to the sub-usable private network channel with the maximum network speed.
In this embodiment, the internet priority is an internet importance order set by the terminal.
In this embodiment, the required bandwidth is the minimum transmission speed required by the network card.
In this embodiment, the authority score is an authority possessed by the network card, and a private network to which the network card can be connected is determined according to the authority.
The beneficial effect of above-mentioned scheme does: the network card-based authority scoring mark can use a private network channel, saturation detection is carried out on each private network channel, the network speed of a sub-channel corresponding to each private network channel is obtained, dialing information is sent to the sub-private network channel with the maximum network speed of the sub-channel, dialing automation is achieved, complexity in the using process and work complexity of debugging personnel are avoided, and flexibility in the using process is improved.
Example 11
The embodiment of the invention provides a private network automatic dialing network device, as shown in fig. 3, comprising:
the acquisition module is used for acquiring account information of the network card and a network data packet which can be received and transmitted, and acquiring a host address of the terminal equipment based on the network data packet;
the processing module is used for generating a configuration file based on the host address and the account information and automatically generating a dialing script based on the configuration file;
and the configuration module is used for configuring a network channel for the network card based on the dialing script.
The beneficial effects of the above scheme are already explained in example 1.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A private network automatic dialing network access method is characterized by comprising the following steps:
step 1, acquiring account information of a network card and a network data packet which can be received and transmitted, and acquiring a host address of a terminal device based on the network data packet;
step 2, generating a configuration file based on the host address and the account information, and automatically generating a dialing script based on the configuration file;
and 3, configuring a network channel for the network card based on the dialing script.
2. The private network automatic dial-up networking method according to claim 1, wherein the account information comprises: the network card comprises an account number, a password and an APN (access point name), wherein the account number adopts a value + specific back drop form capable of reading SIM information, the readable SIM information comprises a mobile phone number and an ICCID (identity card identifier), and the password intercepts specific digits in the account number.
3. The private network automatic dial-up networking method according to claim 1, wherein the step 1 of collecting the transceivable network data packet comprises:
capturing network data of a network card to be analyzed in the operation process to obtain a network data packet, filtering the network data packet to obtain a segmented network data packet of a terminal device to which the network card belongs in a first operation stage, wherein the first operation stage comprises a stage from the start to the end of the start of the terminal device, and a stage from the start to the end of the login.
4. The method as claimed in claim 3, further comprising, after obtaining the segmented network data packet:
analyzing the segmented network data packet of the terminal equipment to which the network card belongs in the first operation stage to obtain HOST codes of the terminal equipment so as to obtain sub HOST codes of the terminal equipment in each sub-stage in the first operation stage, calculating the sub HOST codes of the terminal equipment based on a preset algorithm to obtain address information of the terminal equipment, and removing the address information of the terminal equipment based on a preset public server dictionary to obtain a HOST address of the terminal equipment.
5. The method as claimed in claim 3, wherein obtaining the segmented network data packet of the first operation stage of the terminal device to which the network card belongs comprises:
determining the starting time and the starting end time from the starting start to the starting end of the terminal equipment: defining a starting time point of a process of the terminal device as a starting start time; and defining the time point of the end equipment for acquiring the first Finish event as the starting end time, or defining the time point of keeping the screen picture unchanged for 3 seconds as the starting end time.
6. The method according to claim 3, wherein step 2, a configuration file is generated based on the host address and the account information, and a dialing script is automatically generated based on the configuration file, including;
the method comprises the steps that a private network sends a first instruction to a network card, the first instruction is used for inquiring first information, the first information comprises account information and model information of the network card, and first feedback information returned by the network card in response to the first instruction is received, and the first feedback information comprises the account information and the model information of the network card;
the private network sends a second instruction to a network card, wherein the second instruction is used for inquiring second information, the second information comprises operator information of the network card and receiving second feedback information returned by the network card in response to the second instruction, the second feedback information comprises an international mobile subscriber identity of the network card, and the operator information of the network card and the name of a corresponding chat script are determined based on the international mobile subscriber identity of the network card;
and generating a configuration file based on the account information and the model information of the network card, the operator information, the name of the corresponding chat script and the host address of the terminal equipment, and automatically generating a dialing script based on the configuration file to send dialing information to a private network.
7. The method according to claim 1, wherein step 3, based on the dialing script, configures a network channel for the network card, including:
determining a communication protocol of the network card based on the dialing information and a preset network card operator interconnection protocol table, and generating a virtual terminal interface based on the communication protocol and a host address of the terminal equipment;
network configuration parameter synchronization is carried out on the private network equipment based on a preset network equipment configuration protocol so as to finish network port binding of the local wireless network equipment:
generating a first private network configuration based on the virtual terminal interface and the network equipment configuration protocol, synchronizing the configuration of the private network equipment based on the first private network configuration, and determining the synchronized private network configuration parameters:
when the corresponding current configuration situation reaches the preset configuration situation, determining a second network configuration parameter required by the current establishment of network connection in the corresponding private network configuration parameters, and backing up the second network configuration parameter;
generating a network configuration parameter set of the current configuration condition according to the backed-up second network configuration parameter, generating a security record file based on the network configuration parameter set, the current configuration condition and the host address of the terminal device, sending the security record file to a preset protection module, processing the security record file to obtain feedback information of the protection module aiming at the security record file, and determining the feedback confidence of a security server sending the feedback information based on the feedback information;
when the feedback confidence coefficient exceeds a preset confidence coefficient threshold value, adding the feedback information to the safety record file for updating to obtain an updated safety record file, and sending the updated safety record file to private network equipment;
and when the private network equipment receives the updated safety record file, the private network equipment is subjected to parameter configuration based on the network configuration parameter set.
8. The method as claimed in claim 7, wherein backing up the second network configuration parameters comprises:
acquiring a configuration condition corresponding to each sub-network configuration parameter in the second network configuration parameters and a parameter label in a preset database;
marking the parameter label based on the configuration condition corresponding to the sub-network configuration parameter to obtain a marked parameter label, and determining network connection information based on the marked parameter label so as to determine the current configuration condition of the current network configuration parameter of the private network equipment;
if the current configuration condition does not accord with the preset configuration condition, determining that the configuration parameters to be processed exist in the current network configuration parameters, thereby obtaining a configuration parameter set to be processed;
screening out configuration data required by establishing network connection in a to-be-processed configuration parameter set from current network configuration parameters;
screening network configuration parameters according to the configuration data and the marked parameter tags to obtain second network configuration parameters, and screening network connection operation information required by the to-be-processed configuration parameters for establishing network connection from the network connection information;
determining a network connection establishing operation type corresponding to the second sub-network configuration parameter according to the network connection operation information;
when the operation type of establishing the network connection is application operation, backing up second sub-network configuration parameters corresponding to the application operation to obtain backed-up sub-second network configuration parameters;
and when the operation type of establishing the network connection is a test operation, backing up the second sub-network configuration parameters corresponding to the test operation, and adding a test label to the backed-up second sub-network configuration parameters to obtain the backed-up sub-second network configuration parameters.
9. The method according to claim 7, wherein step 3 configures a network channel for the network card based on the dialing script, and further comprises:
determining a dialing level based on account information of the network card and a host address of the terminal equipment, and determining the networking priority of the network card based on the dialing level and a network configuration parameter set;
analyzing the internet priority of the network card to obtain the required bandwidth of the network card, and evaluating the network card based on the required bandwidth of the network card and the internet priority to obtain the authority score of the network card;
the method comprises the steps of using a private network channel based on an authority scoring mark, obtaining a plurality of sub-usable private network channels, carrying out network speed detection on each sub-usable private network channel, obtaining the network speed corresponding to each sub-usable private network channel, and sending dialing information to the sub-usable private network channel with the maximum network speed.
10. A kind of private network automatic dial-up surfing device, characterized by that, comprising:
the acquisition module acquires a network data packet and account information of the network card and acquires a host address of the terminal equipment based on the network data packet;
the processing module is used for generating a configuration file based on the host address and the account information and automatically generating a dialing script based on the configuration file;
and the configuration module is used for configuring a network channel for the network card based on the dialing script.
CN202111498324.9A 2021-12-09 2021-12-09 Automatic dial-up networking method and device for private network Pending CN114500265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111498324.9A CN114500265A (en) 2021-12-09 2021-12-09 Automatic dial-up networking method and device for private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111498324.9A CN114500265A (en) 2021-12-09 2021-12-09 Automatic dial-up networking method and device for private network

Publications (1)

Publication Number Publication Date
CN114500265A true CN114500265A (en) 2022-05-13

Family

ID=81492784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111498324.9A Pending CN114500265A (en) 2021-12-09 2021-12-09 Automatic dial-up networking method and device for private network

Country Status (1)

Country Link
CN (1) CN114500265A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140105199A1 (en) * 2011-07-13 2014-04-17 Huawei Technologies Co., Ltd. Method and apparatus for automatic dialing access points
CN104754287A (en) * 2013-12-25 2015-07-01 中国电信股份有限公司 Video monitoring equipment configuration parameter issuing method and system
CN105915511A (en) * 2016-04-13 2016-08-31 深圳市融钞科技有限公司 Wireless communication method based on VPDN private network
CN110944407A (en) * 2019-11-21 2020-03-31 北京连山时代科技有限公司 Dialing networking method and device
CN112688823A (en) * 2021-03-17 2021-04-20 深圳市乙辰科技股份有限公司 Blind-plugging network port binding adaptation method and device based on multiple network ports of wireless network equipment
CN113411222A (en) * 2021-08-02 2021-09-17 广州市刑事科学技术研究所 Memory, APP server host address analysis method, device and equipment
CN113709892A (en) * 2021-09-10 2021-11-26 深圳互联先锋科技有限公司 SD-WAN (secure digital-Wide area network) -based pseudo-two-layer transmission method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140105199A1 (en) * 2011-07-13 2014-04-17 Huawei Technologies Co., Ltd. Method and apparatus for automatic dialing access points
CN104754287A (en) * 2013-12-25 2015-07-01 中国电信股份有限公司 Video monitoring equipment configuration parameter issuing method and system
CN105915511A (en) * 2016-04-13 2016-08-31 深圳市融钞科技有限公司 Wireless communication method based on VPDN private network
CN110944407A (en) * 2019-11-21 2020-03-31 北京连山时代科技有限公司 Dialing networking method and device
CN112688823A (en) * 2021-03-17 2021-04-20 深圳市乙辰科技股份有限公司 Blind-plugging network port binding adaptation method and device based on multiple network ports of wireless network equipment
CN113411222A (en) * 2021-08-02 2021-09-17 广州市刑事科学技术研究所 Memory, APP server host address analysis method, device and equipment
CN113709892A (en) * 2021-09-10 2021-11-26 深圳互联先锋科技有限公司 SD-WAN (secure digital-Wide area network) -based pseudo-two-layer transmission method and system

Similar Documents

Publication Publication Date Title
CN111988828B (en) Method, device and equipment for acquiring routing strategy
CN106331189B (en) Log obtaining method and device and network management server
CN102932785B (en) Rapid authentication method, system and equipment of wireless local area network
US20190261299A1 (en) Dual card dual active communication method, terminal, network, and system
CN108093089B (en) Paging monitoring method, device, system and storage medium
CN106255177A (en) The transmission method of a kind of equipment state and device
CN110662234A (en) Method and system for zero APN configuration
CN111182611B (en) Communication method and device
CN112449342B (en) Internet of things equipment management method and system
CN112616171B (en) Communication method and device based on wireless local area network and computer readable storage medium
CN114500265A (en) Automatic dial-up networking method and device for private network
DE102014000763A1 (en) Communication system and communication method
CN1943256A (en) Method and system for providing presentation system with data through wireless local network
US7158533B2 (en) Self-configuring wireless mobile data base stations and configuration operations and computer program products for same
CN113824789B (en) Configuration method, device, equipment and storage medium of access descriptor
CN112469028B (en) Method for processing remote number changing by subscriber identification module
CN107172034A (en) The real name identification method and device of public WIFI connections
CN109673038B (en) Method for identifying brand and model of mobile terminal based on IFAT fingerprint
CN108833407B (en) Full-house routing automatic networking method and system
CN108111588B (en) Method for improving distribution network efficiency of Internet of things equipment based on WIFI
CN112751706A (en) Target data transmission method and device
CN111865790A (en) Method and device for collecting router information, Internet of things equipment and Internet of things system
CN111417115B (en) Secret-free authentication method and system based on data link
CN110620817A (en) Internet of things equipment quick connection method and system
CN110460464B (en) Control method and device for equipment communication and data converter

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