CN113037737A - External network card technology for various user terminal devices - Google Patents

External network card technology for various user terminal devices Download PDF

Info

Publication number
CN113037737A
CN113037737A CN202110232009.5A CN202110232009A CN113037737A CN 113037737 A CN113037737 A CN 113037737A CN 202110232009 A CN202110232009 A CN 202110232009A CN 113037737 A CN113037737 A CN 113037737A
Authority
CN
China
Prior art keywords
network card
network
data
node
user terminal
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.)
Granted
Application number
CN202110232009.5A
Other languages
Chinese (zh)
Other versions
CN113037737B (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.)
Sichuan Subao Network Technology Co ltd
Original Assignee
Sichuan Subao Network 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 Sichuan Subao Network Technology Co ltd filed Critical Sichuan Subao Network Technology Co ltd
Priority to CN202110232009.5A priority Critical patent/CN113037737B/en
Publication of CN113037737A publication Critical patent/CN113037737A/en
Application granted granted Critical
Publication of CN113037737B publication Critical patent/CN113037737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • 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
    • 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 an external network card technology for various user terminal devices, which comprises a wireless AP, an external network card and a terminal device; the external network card is used for receiving wireless signals sent by the wireless AP; the terminal equipment is used for receiving and transmitting data of the external network card and comprises a built-in preset APP, a driving module and a USB interface; the invention aims to provide an external network card technology which is high in efficiency, flexible, convenient and low in cost.

Description

External network card technology for various user terminal devices
Technical Field
The invention relates to the technical field of external network cards, in particular to an external network card technology for various user terminal devices.
Background
At present, with the rapid improvement of network infrastructure, a wide implementation space is provided for the application of user terminals based on a network environment, meanwhile, under some specific scenes, the network quality of the user does not meet the requirements of the user, or the application requirements of the terminal are not met, and based on the situations, through a large amount of network fault situation statistics and analysis, how the user terminal is accessed, the network access mode is a key bottleneck, under general conditions, common users often access the internet through wifi in families or public places, generally speaking, wireless APs in the market basically support multi-channel access, but also some mobile phones provide technologies supporting wifi MIMO (multiple input multiple output), however, a great number of mobile phones only support single-channel access to wifi networks, and therefore, a technology capable of supporting a user to flexibly extend a network channel is very needed in the market.
Disclosure of Invention
The invention provides an external network card technology for various user terminal devices, which expands a data channel of a terminal by providing an external network card, thereby greatly improving the network bandwidth of a user, meeting more applications with higher requirements on the network and solving the problems.
The invention provides an external network card technology for various user terminal devices, which comprises a wireless AP, an external network card and a terminal device; wherein the content of the first and second substances,
the external network card is used for receiving wireless signals sent by the wireless AP;
the terminal equipment is used for receiving and transmitting data of the external network card and comprises a built-in preset APP, a driving module and a USB interface; wherein the content of the first and second substances,
the driving module is used for detecting the connection condition of the external network card and the USB interface based on preset driving software and determining a connection mode.
Preferably, the detecting the connection condition between the external network card and the USB interface includes the following steps:
step 1: when an insertion response is generated on a user terminal device, a reading instruction is automatically generated on the terminal device:
step 2: reading the hardware type of the wireless network card through driving software preset in the user terminal equipment according to the reading instruction, and judging whether the hardware type of the wireless network card is matched with the type of a prestored external network card;
and step 3: when the hardware type of the wireless network card is not matched with the type of the pre-stored external network card, directly quitting the operation step;
and 4, step 4: and when the hardware type of the wireless network card is matched with the type of the pre-stored external network card, initializing an application software layer of the user terminal equipment, judging the connection condition of the external network card, and determining a judgment result.
Preferably, the driving module includes a single-network card connecting unit and a dual-network card connecting unit, the single-network card connecting unit is configured to execute a single-network card connecting mode, and the dual-network card connecting unit is configured to execute a dual-network card connecting mode.
Preferably, the single network card connecting unit includes:
the single network card insertion identification subunit is used for automatically detecting the hardware type of the single network card through preset driving software when the single network card is inserted into the user terminal;
the single network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the single network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the single network card comprises computer information, concentrator information, network interface card information, wireless access point information and modem information;
the single-network card data transceiver subunit is used for providing a socket interface for the initialized software layer through driving software according to the network equipment information of the single-network card, and establishing basic network connection for communication according to the socket interface; wherein the content of the first and second substances,
the base network connection comprises a TCP connection and a UDP connection;
the single network card removing subunit is used for automatically deleting the network equipment information of the single network card by the driving software when the driving software detects that the user removes the single network card from the equipment;
the dual net card connecting unit includes:
the dual-network card insertion identification subunit is used for identifying whether the dual-network card is inserted or not based on the driving software and respectively identifying the hardware type of the dual-network card;
the dual-network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the dual-network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the double network cards comprises switch information, network bridge information, router information and gateway information;
the double-network-card data receiving and transmitting subunit is used for creating a virtual network card according to the network equipment information of the double network card, providing a socket interface for the initialized software layer according to the virtual network card, and establishing basic network connection for data communication;
and the dual-network-card removing subunit is used for automatically deleting the network equipment information of the dual-network card by the driving software when the driving software detects that the user removes the dual-network card from the equipment.
Preferably, the establishing of the basic network connection for data communication by the dual-network card data transceiver subunit includes:
providing a special API to the application software layer according to the network equipment information of the double network cards, and binding the double network cards;
when the upper application software layer calls the interface, creating a virtual network card according to the network equipment information of the double network cards;
acquiring a data message of a user, and determining uniform hash data of the data message according to the data message;
driving the hash data to two physical network cards of an internal network card and an external network card through driving software according to the virtual network card;
meanwhile, a socket interface is provided for upper-layer application based on the virtual network card, and a basic network connection is established for data communication according to the socket interface.
Preferably, the dual-network card connecting unit further comprises a sink node unit and a node transceiver unit; wherein the content of the first and second substances,
the sink node unit is used for acquiring a network node, determining a sink node according to the network node, and merging traffic according to the sink node;
the node receiving and sending unit is used for respectively establishing sockets through an internal network card and an external network card based on preset driving software, and acquiring a plurality of data channels of a network layer through the sockets to realize data communication.
Preferably, the sink node unit includes:
deploying a sink node subunit: the system comprises a network node acquisition module, a network node deployment module and a sink node deployment module, wherein the network node acquisition module is used for acquiring a network node based on a terminal device and a wireless sensor network and deploying the sink node according to the network node; wherein the content of the first and second substances,
the sink node is easy to cooperate to sense, acquire and process specific information in a network coverage area;
communication data subunit: the sink node is used for establishing data communication with an external network card and an internal network card of a user respectively according to the sink node and determining communication data;
a flow merging subunit: and the sink node is used for carrying out flow combination on the communication data according to the sink node.
Preferably, the node transceiver unit includes:
establishing a socket subunit: the system is used for respectively establishing sockets for the external network card and the internal network card based on the driving software; wherein the content of the first and second substances,
the socket comprises a first socket and a second socket;
the abstract API determines the subunits: the method comprises the steps of obtaining an application program interface, packaging the first socket and the second socket in the application program interface, and determining an abstract API;
the node data receiving and sending subunit: the system comprises an application software layer, an abstract API and a node data receiving and sending module, wherein the application software layer is used for calling the abstract API and receiving node data according to the abstract API; wherein the content of the first and second substances,
and the node data receiving and sending are used for respectively communicating with the aggregation node through two sockets.
Preferably, the deployment aggregation node subunit deploys the aggregation node, and includes:
acquiring a basis aggregation demand, and determining data source characteristics according to the basis aggregation demand;
determining data characteristics according to the data source characteristics, and describing a convergence structure; wherein the content of the first and second substances,
the convergence structure comprises a network topology structure, a network transmission characteristic structure and a data convergence destination structure;
and acquiring a network node of the wireless sensor network according to the aggregation structure, and sensing a data object of the terminal equipment according to the network node to determine the aggregation node.
Preferably, the invoking of the abstract API by the node data transceiving subunit, and the transceiving of the node data according to the abstract API, includes:
step A1: acquiring connection data generated when the dual-network card is connected with a user terminal, and performing Fourier transform on the connection data to determine discrete connection data;
Figure BDA0002958832090000061
wherein F (U (T, X), V (T, X)) represents discrete connection data, U (T, X) represents initial data of an application layer of the user terminal when the dual network card is not connected to the user terminal, (T, X) represents initial data X at time T, T represents time of the initial data, X represents the initial data, V (T, X) represents connection data generated by the application layer of the user terminal when the dual network card is connected to the user terminal, (T, X) represents connection data X at time T, X represents connection data generated when the dual network card is connected to the user terminal, T represents time when the dual network card is connected to the user terminal, and j represents diret's condition;
step A2: through an application software layer, storing the discrete connection data into a network equipment feature database, and extracting feature data of the double network cards:
Figure BDA0002958832090000062
wherein the content of the first and second substances,
Figure BDA0002958832090000063
representing a training set of discrete connection data when the dual network card is connected with the user terminal, N representing the number of discrete connection data in the training set, and a vector theta representing the training set of discrete connection dataParameter, | θ | | luminancepAnd representing the P-norm of the vector theta as the constraint scale of the discrete connected data training set, wherein gamma represents a loss factor, and omega represents a dynamic factor of the vector theta.
Step A3: and encapsulating the characteristic data vector in a preset API interface, determining an abstract API, and receiving and transmitting node data according to the abstract API.
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 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 technical block diagram of an external network card for various user terminal devices according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for an external network card for various user terminal devices according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for an external network card for various user terminal devices 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.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Example 1:
as shown in fig. 1, the present invention provides an external network card technology for various user terminal devices, including a wireless AP, an external network card, and a terminal device; wherein the content of the first and second substances,
the external network card is used for receiving wireless signals sent by the wireless AP;
the terminal equipment is used for receiving and transmitting data of the external network card and comprises a built-in preset APP, a driving module and a USB interface; wherein the content of the first and second substances,
the driving module is used for detecting the connection condition of the external network card and the USB interface based on preset driving software and determining a connection mode.
The working principle of the technical scheme is as follows:
the external network card technology comprises a wireless AP, an external network card and terminal equipment, wherein the external network card is used for data exchange between a local computer and the Internet or intercommunication and interconnection between the local computer and other computers of a local area network to perform data exchange and local area network cooperation; the method comprises the steps that an external network card is supported to establish a common network interface for other applications, and an APP application program end in the terminal equipment is used for reading and writing connection data of a driving module;
the beneficial effects of the above technical scheme are: .
The invention realizes a wireless network card based on a Type-C, Micro-USB interface by an external network card technology, and can be inserted into a common user terminal; realizing application layer software which supports the data read-write function of the external network card; the method supports the establishment of a common network interface by using the external network card for other applications, thereby realizing the communication of multiple network cards and multiple applications without mutual interference, binding the external network card and the internal network card, providing a uniform logic interface for other applications, and providing the uniform logic interface for other applications, thereby realizing the purpose of expanding a data channel.
Example 2:
as shown in fig. 2, the present invention provides an invention, wherein the detecting of the connection between the external network card and the USB interface includes the following steps:
step 1: when an insertion response is generated on a user terminal device, a reading instruction is automatically generated on the terminal device:
step 2: reading the hardware type of the wireless network card through driving software preset in the user terminal equipment according to the reading instruction, and judging whether the hardware type of the wireless network card is matched with the type of a prestored external network card;
and step 3: when the hardware type of the wireless network card is not matched with the type of the pre-stored external network card, directly quitting the operation step;
and 4, step 4: and when the hardware type of the wireless network card is matched with the type of the pre-stored external network card, initializing an application software layer of the user terminal equipment, judging the connection condition of the external network card, and determining a judgment result.
The working principle of the technical scheme is as follows:
according to the technical scheme, a preset driving program is utilized, whether the wireless network card is inserted into the user terminal equipment is obtained through monitoring between the external network card and a USB interface, the user terminal equipment can comprise network equipment such as a personal computer, a printer or other router gateways, the type of the inserted network card is read after the driving software monitors that the wireless network card is inserted, the type of the wireless network card is mainly divided into a wireless network card with built-in integration, the wireless network card is integrated inside a notebook, a smart phone and the like, and the external wireless network card is also integrated inside the notebook, the common USB wireless network card, a PCI wireless network card and the like.
The beneficial effects of the above technical scheme are:
according to the technical scheme, the detection area is preset in the driving software to acquire the condition whether the wireless network card is inserted, when the hardware type of the wireless network card is not matched with the type of the pre-stored external network card, the operation step is directly quitted, redundant operation steps are avoided, the dual-network card technology is relatively simple, communication is reliable, and the dual-network card has the advantages of flexibility, high throughput and quick installation.
Example 3:
the invention provides a driving module which comprises a single-network card connecting unit and a double-network card connecting unit, wherein the single-network card connecting unit is used for executing a single-network card connecting mode, and the double-network card connecting unit is used for executing a double-network card connecting mode.
The working principle of the technical scheme is as follows:
the single network card of the invention generally has double IP addresses and is used for data communication, after a user inserts the single network card, the hardware type of the single network card is identified through the single network card insertion identification unit, and the hardware type of the single network card when the single network card is connected with a user terminal is automatically detected through preset driving software; different network cards have different types, when the types of the external network cards prestored in the hardware type are matched, the software layer of the user terminal equipment, namely the application layer of a user, is initialized, and the network equipment information of a single network card is created; the network equipment information is effective information extracted by reading the hardware type of the network card, and comprises computer information, concentrator information, network interface card information, wireless access point information, modem information and the like, then establishing basic network connection for communication according to a single network card data receiving and transmitting unit, reading the single network card network equipment information, providing a socket interface to an initialized software layer through driving software, wherein the socket interface provides effective and reliable byte streams, using an external data transmission mechanism, simultaneously establishing the basic network connection for communication based on using a TCP/UDP protocol according to the socket interface, the basic network connection comprises a TCP connection and a UDP connection, finally deleting the retained information when the user removes the single network card from the equipment through a single network card removing unit, and firstly detecting whether the user removes the single network card from the equipment by using the driving software, and the network equipment information of the single network card is automatically deleted by using the driving software.
The beneficial effects of the above technical scheme are:
the invention provides an automatic identification capability, identifies whether an external network card is a single network card or a double network card when the external network card is inserted into a user terminal, and respectively provides different data receiving and sending methods, automatically detects and identifies whether the external network card is the single network card by using driving software, automatically deletes the network equipment information of the single network card by using the driving software when the user terminal is disconnected with the single network card, and provides a flexible and intelligent reading connection mode.
Example 4:
the invention provides an invention, the single network card connecting unit includes:
the single network card insertion identification subunit is used for automatically detecting the hardware type of the single network card through preset driving software when the single network card is inserted into the user terminal;
the single network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the single network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the single network card comprises computer information, concentrator information, network interface card information, wireless access point information and modem information;
the single-network card data transceiver subunit is used for providing a socket interface for the initialized software layer through driving software according to the network equipment information of the single-network card, and establishing basic network connection for communication according to the socket interface; wherein the content of the first and second substances,
the base network connection comprises a TCP connection and a UDP connection;
the single network card removing subunit is used for automatically deleting the network equipment information of the single network card by the driving software when the driving software detects that the user removes the single network card from the equipment;
the dual net card connecting unit includes:
the dual-network card insertion identification subunit is used for identifying whether the dual-network card is inserted or not based on the driving software and respectively identifying the hardware type of the dual-network card;
the dual-network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the dual-network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the double network cards comprises switch information, network bridge information, router information and gateway information;
the double-network-card data receiving and transmitting subunit is used for creating a virtual network card according to the network equipment information of the double network card, providing a socket interface for the initialized software layer according to the virtual network card, and establishing basic network connection for data communication;
and the dual-network-card removing subunit is used for automatically deleting the network equipment information of the dual-network card by the driving software when the driving software detects that the user removes the dual-network card from the equipment.
The working principle of the technical scheme is as follows:
the invention uses the double network card inserting identification unit, the double network card establishing unit, the double network card data receiving and sending unit and the double network card removing unit to cooperate together, and based on the driving software, identifies whether the double network card is connected with the user terminal, after identifying the double network card, it identifies the hardware type of the two network cards of the double network card, then when the hardware type matches with the pre-stored type of the external network card, the application layer of the user terminal is initialized, and based on the external network card technology, the network device information of the double network card is established, including the exchanger information, the network bridge information, the router information and the gateway information, etc., the double network card data receiving and sending unit establishes the virtual network card according to the network device information of the double network card, establishes the local area network of the pre-selected client, and provides the socket interface to the initialized software layer according to the virtual network card, the method is mainly used for distributing a description word of a socket and resources used by the description word according to a specified address family, a data type and a protocol to establish basic network connection so as to carry out data communication, and finally, automatically deleting the network equipment information of the double network card by using a double network card removing unit.
The beneficial effects of the above technical scheme are:
according to the technical scheme, the information of the external network card is automatically deleted, the reserved trace of the external network card is eliminated, the information of the external network card is protected, and the confidentiality of the whole process is guaranteed.
Example 5:
as shown in fig. 2, the present invention provides an invention, wherein the establishing of the basic network connection by the dual-network card data transceiver subunit for data communication includes:
providing a special API to the application software layer according to the network equipment information of the double network cards, and binding the double network cards;
when the upper application software layer calls the interface, creating a virtual network card according to the network equipment information of the double network cards;
acquiring a data message of a user, and determining uniform hash data of the data message according to the data message;
driving the hash data to two physical network cards of an internal network card and an external network card through driving software according to the virtual network card;
meanwhile, a socket interface is provided for upper-layer application based on the virtual network card, and a basic network connection is established for data communication according to the socket interface.
The working principle of the technical scheme is as follows:
the technical proposal is that a virtual network card is created according to the network equipment information of the double network card, a special API is provided for the application software layer according to the network equipment information of the double network card, the API is a predefined function interface or HTTP interface or appointments for different components of a software system, an access interface of an application program and a developer based on certain software or hardware is provided, meanwhile, the virtual network card is bound with double network cards, when the upper application software layer calls the socket interface, creating a virtual network card according to the network equipment information of the double network cards, acquiring the data message of the user, i.e. the data units exchanged and transmitted in the network, the data blocks to be sent by the station at one time, and simultaneously calculates the uniform hash data of the data message, and driving the hash data to two physical network cards of the internal network card and the external network card through driving software, and establishing basic network connection for data communication through a socket interface.
The beneficial effects of the above technical scheme are:
according to the technical scheme, the special API is provided, source codes do not need to be accessed, and the internal mechanism of work does not need to be understood, so that the system has the characteristics of greater autonomy and individuation, and the economic, stable and practical internet access configuration is provided through the arrangement of the double network cards.
Example 6:
the invention provides an invention, the double-network card connecting unit also comprises a sink node unit and a node receiving and sending unit; wherein the content of the first and second substances,
the sink node unit is used for acquiring a network node, determining a sink node according to the network node, and merging traffic according to the sink node;
the node receiving and sending unit is used for respectively establishing sockets through an internal network card and an external network card based on preset driving software, and acquiring a plurality of data channels of a network layer through the sockets to realize data communication.
The working principle and the working beneficial effect of the technical scheme are as follows:
the technical scheme is used for deployment of a second scheme under the condition of double-network card connection, network nodes on a network are firstly obtained through a sink node unit and a node receiving and sending unit so as to be deployed, thereby obtaining sink nodes, the sink nodes have strong data collection capacity, can analyze and sum up and preprocess data collected by adjacent nodes, can send the collected data to a remote control center, and carry out flow combination according to the sink nodes, wherein the node receiving and sending unit respectively establishes a socket through an internal network card and an external network card based on preset driving software, obtains a plurality of data channels of a network layer, realizes data communication, and sends the collected data to the remote control center.
Example 7:
the invention provides an invention, the sink node unit includes:
deploying a sink node subunit: the system comprises a network node acquisition module, a network node deployment module and a sink node deployment module, wherein the network node acquisition module is used for acquiring a network node based on a terminal device and a wireless sensor network and deploying the sink node according to the network node; wherein the content of the first and second substances,
the sink node is easy to cooperate to sense, acquire and process specific information in a network coverage area;
communication data subunit: the sink node is used for establishing data communication with an external network card and an internal network card of a user respectively according to the sink node and determining communication data;
a flow merging subunit: and the sink node is used for carrying out flow combination on the communication data according to the sink node.
The working principle of the technical scheme is as follows:
in the steps of the technical scheme, the network nodes are obtained, the sink nodes are determined, flow merging is carried out, the network nodes are obtained mainly based on a terminal device and a wireless sensor network, the sink nodes are screened and deployed on the network nodes, the sink nodes sense, acquire and process specific information in a network coverage area in an easily cooperative mode, meanwhile, data communication is respectively established with an external network card and an internal network card of a user, and communication data can be transmitted when the two network cards are connected; and at this time, the sink node is utilized to carry out flow merging on the communication data, analyze and sum preprocessing on the data collected by the adjacent nodes, and can send the collected data to a remote control center.
The beneficial effects of the above technical scheme are that:
the technical scheme provides a technical scheme with convenient preventive maintenance and low cost through the deployment of the sink nodes.
Example 8:
the present invention provides an invention, wherein the node transceiver unit includes:
establishing a socket subunit: the system is used for respectively establishing sockets for the external network card and the internal network card based on the driving software; wherein the content of the first and second substances,
the socket comprises a first socket and a second socket;
the abstract API determines the subunits: the method comprises the steps of obtaining an application program interface, packaging the first socket and the second socket in the application program interface, and determining an abstract API;
the node data receiving and sending subunit: the system comprises an application software layer, an abstract API and a node data receiving and sending module, wherein the application software layer is used for calling the abstract API and receiving node data according to the abstract API; wherein the content of the first and second substances,
and the node data receiving and sending are used for respectively communicating with the aggregation node through two sockets.
The working principle of the technical scheme is as follows:
the technical scheme is based on a terminal device and a wireless sensor network, a sink node is obtained and deployed, data source characteristics are determined according to sink requirements, the data source characteristics to be collected are determined, the data characteristics are calculated, a sink structure is described, the sink structure mainly comprises a network topology structure, a network transmission characteristic structure and a data sink target structure, high-speed network exchange is carried out by utilizing a core layer based on three-layer network architecture design, connection based on a strategy is provided through the sink layer, a working port and a user port are accessed into a network according to an access layer, and the sink node is determined by sensing a data object of the terminal device through the structure, so that the premise that data information is collected is determined and deployed.
The beneficial effects of the above technical scheme are:
according to the technical scheme, the external network card technology which is relatively simple, reliable in communication, flexible, high in throughput and rapid in installation is provided through arrangement of the terminal equipment and the wireless sensor.
Example 9:
the invention provides an invention, the deployment aggregation node subunit deploys the aggregation node, which comprises:
acquiring a basis aggregation demand, and determining data source characteristics according to the basis aggregation demand;
determining data characteristics according to the data source characteristics, and describing a convergence structure; wherein the content of the first and second substances,
the convergence structure comprises a network topology structure, a network transmission characteristic structure and a data convergence destination structure;
and acquiring a network node of the wireless sensor network according to the aggregation structure, and sensing a data object of the terminal equipment according to the network node to determine the aggregation node.
The working principle of the technical scheme is as follows:
the technical scheme is based on preset driving software, socket interfaces are respectively established through an internal network card and an external network card, a plurality of data channels of a network layer are obtained through the socket interfaces, data communication is achieved, the socket interfaces are respectively established for the external network card and the internal network card, a first socket is a socket of the external network card, a second socket is a socket of the internal network card, application program interfaces are obtained according to the two socket sockets, the first socket and the second socket are packaged in the application program interfaces, abstract APIs (application programming interfaces) are determined, the abstract APIs are called in the application software layer, node data receiving and sending are carried out, and operation pads are provided for data flow statistics.
Example 10:
the invention provides an invention, the node data receiving and transmitting subunit calls an abstract API, and according to the abstract API, the node data receiving and transmitting comprises:
step A1: acquiring connection data generated when the dual-network card is connected with a user terminal, and performing Fourier transform on the connection data to determine discrete connection data;
Figure BDA0002958832090000171
wherein F (U (T, X), V (T, X)) represents discrete connection data, U (T, X) represents initial data of an application layer of the user terminal when the dual network card is not connected to the user terminal, (T, X) represents initial data X at time T, T represents time of the initial data, X represents the initial data, V (T, X) represents connection data generated by the application layer of the user terminal when the dual network card is connected to the user terminal, (T, X) represents connection data X at time T, X represents connection data generated when the dual network card is connected to the user terminal, T represents time when the dual network card is connected to the user terminal, and j represents diret's condition;
step A2: through an application software layer, storing the discrete connection data into a network equipment feature database, and extracting feature data of the double network cards:
Figure BDA0002958832090000181
wherein the content of the first and second substances,
Figure BDA0002958832090000182
representing a discrete connection data training set when the double network card is connected with the user terminal, N representing the number of discrete connection data in the training set, a vector theta representing the parameter of the discrete connection data training set, | theta | | survival ratepAnd representing the P-norm of the vector theta as the constraint scale of the discrete connected data training set, wherein gamma represents a loss factor, and omega represents a dynamic factor of the vector theta.
Step A3: and encapsulating the characteristic data vector in a preset API interface, determining an abstract API, and receiving and transmitting node data according to the abstract API.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the method, the connection data F (U (T, X), V (T, X)) generated when the double network card is connected with the user terminal is obtained, Fourier transform is carried out on the connection data, so that discrete connection data are determined, the discrete connection data are stored in a network equipment feature database through an application software layer, a feature data vector delta (theta) of the double network card is extracted, the data are converted into electric signals in the middle, the feature data vector is packaged in a preset API interface, an abstract API is determined, the abstract API can be free of accessing source codes and working mechanism principles, and therefore node data receiving and sending are conveniently and simply and directly carried out.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart 1 flow or flows and/or block 1 block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows of FIG. 1 and/or block diagram block or blocks of FIG. 1.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart 1 flow or flows and/or block 1 block or blocks.
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. An external network card technology for various user terminal devices comprises a wireless AP, an external network card and a terminal device; wherein the content of the first and second substances,
the external network card is used for receiving wireless signals sent by the wireless AP;
the terminal equipment is used for receiving and transmitting data of the external network card and comprises a built-in preset APP, a driving module and a USB interface; wherein the content of the first and second substances,
the driving module is used for detecting the connection condition of the external network card and the USB interface based on preset driving software and determining a connection mode.
2. The external network card technology for various types of user terminal devices as claimed in claim 1, wherein said detecting the connection between the external network card and the USB interface comprises the following steps:
step 1: when an insertion response is generated on a user terminal device, a reading instruction is automatically generated on the terminal device:
step 2: reading the hardware type of the wireless network card through driving software preset in the user terminal equipment according to the reading instruction, and judging whether the hardware type of the wireless network card is matched with the type of a prestored external network card;
and step 3: when the hardware type of the wireless network card is not matched with the type of the pre-stored external network card, directly quitting the operation step;
and 4, step 4: and when the hardware type of the wireless network card is matched with the type of the pre-stored external network card, initializing an application software layer of the user terminal equipment, judging the connection condition of the external network card, and determining a judgment result.
3. The external network card technology for various types of user terminal devices as claimed in claim 1, wherein the driving module comprises a single network card connecting unit and a dual network card connecting unit, the single network card connecting unit is configured to perform the single network card connecting mode, and the dual network card connecting unit is configured to perform the dual network card connecting mode.
4. The external network card technology for various types of user terminal devices as claimed in claim 3,
the single network card connecting unit includes:
the single network card insertion identification subunit is used for automatically detecting the hardware type of the single network card through preset driving software when the single network card is inserted into the user terminal;
the single network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the single network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the single network card comprises computer information, concentrator information, network interface card information, wireless access point information and modem information;
the single-network card data transceiver subunit is used for providing a socket interface for the initialized software layer through driving software according to the network equipment information of the single-network card, and establishing basic network connection for communication according to the socket interface; wherein the content of the first and second substances,
the base network connection comprises a TCP connection and a UDP connection;
the single network card removing subunit is used for automatically deleting the network equipment information of the single network card by the driving software when the driving software detects that the user removes the single network card from the equipment;
the dual net card connecting unit includes:
the dual-network card insertion identification subunit is used for identifying whether the dual-network card is inserted or not based on the driving software and respectively identifying the hardware type of the dual-network card;
the dual-network card creating subunit is used for initializing the software layer of the user terminal equipment and creating network equipment information of the dual-network card when the types of the external network cards prestored in the hardware type are matched; wherein the content of the first and second substances,
the network equipment information of the double network cards comprises switch information, network bridge information, router information and gateway information;
the double-network-card data receiving and transmitting subunit is used for creating a virtual network card according to the network equipment information of the double network card, providing a socket interface for the initialized software layer according to the virtual network card, and establishing basic network connection for data communication;
and the dual-network-card removing subunit is used for automatically deleting the network equipment information of the dual-network card by the driving software when the driving software detects that the user removes the dual-network card from the equipment.
5. The external network card technology for various types of user terminal devices as claimed in claim 4, wherein the establishing of the basic network connection for data communication by the dual-network card data transceiver subunit comprises:
providing a special API to the application software layer according to the network equipment information of the double network cards, and binding the double network cards;
when the upper application software layer calls the interface, creating a virtual network card according to the network equipment information of the double network cards;
acquiring a data message of a user, and determining uniform hash data of the data message according to the data message;
driving the hash data to two physical network cards of an internal network card and an external network card through driving software according to the virtual network card;
meanwhile, a socket interface is provided for upper-layer application based on the virtual network card, and a basic network connection is established for data communication according to the socket interface.
6. The external network card technology for various types of user terminal devices as claimed in claim 1, wherein the dual-network card connecting unit further comprises a sink node unit and a node transceiver unit; wherein the content of the first and second substances,
the sink node unit is used for acquiring a network node, determining a sink node according to the network node, and merging traffic according to the sink node;
the node receiving and sending unit is used for respectively establishing sockets through an internal network card and an external network card based on preset driving software, and acquiring a plurality of data channels of a network layer through the sockets to realize data communication.
7. The external network card technology for various types of user terminal devices as claimed in claim 6, wherein the sink node unit includes:
deploying a sink node subunit: the system comprises a network node acquisition module, a network node deployment module and a sink node deployment module, wherein the network node acquisition module is used for acquiring a network node based on a terminal device and a wireless sensor network and deploying the sink node according to the network node; wherein the content of the first and second substances,
the sink node is easy to cooperate to sense, acquire and process specific information in a network coverage area;
communication data subunit: the sink node is used for establishing data communication with an external network card and an internal network card of a user respectively according to the sink node and determining communication data;
a flow merging subunit: and the sink node is used for carrying out flow combination on the communication data according to the sink node.
8. The external network card technology for various types of user terminal devices as claimed in claim 7, wherein the node transceiver unit includes:
establishing a socket subunit: the system is used for respectively establishing sockets for the external network card and the internal network card based on the driving software; wherein the content of the first and second substances,
the socket comprises a first socket and a second socket;
the abstract API determines the subunits: the method comprises the steps of obtaining an application program interface, packaging the first socket and the second socket in the application program interface, and determining an abstract API;
the node data receiving and sending subunit: the system comprises an application software layer, an abstract API and a node data receiving and sending module, wherein the application software layer is used for calling the abstract API and receiving node data according to the abstract API; wherein the content of the first and second substances,
and the node data receiving and sending are used for respectively communicating with the aggregation node through two sockets.
9. The external network card technology for various types of user terminal devices as claimed in claim 7, wherein said deployment sink node subunit deploys sink nodes, comprising:
acquiring a basis aggregation demand, and determining data source characteristics according to the basis aggregation demand;
determining data characteristics according to the data source characteristics, and describing a convergence structure; wherein the content of the first and second substances,
the convergence structure comprises a network topology structure, a network transmission characteristic structure and a data convergence destination structure;
and acquiring a network node of the wireless sensor network according to the aggregation structure, and sensing a data object of the terminal equipment according to the network node to determine the aggregation node.
10. The external network card technology for various types of user terminal devices as claimed in claim 7, wherein the node data transceiving subunit invokes an abstract API, and performs node data transceiving according to the abstract API, comprising:
step A1: acquiring connection data generated when the dual-network card is connected with a user terminal, and performing Fourier transform on the connection data to determine discrete connection data;
Figure FDA0002958832080000051
wherein F (U (T, X), V (T, X)) represents discrete connection data, U (T, X) represents initial data of an application layer of the user terminal when the dual network card is not connected to the user terminal, (T, X) represents initial data X at time T, T represents time of the initial data, X represents the initial data, V (T, X) represents connection data generated by the application layer of the user terminal when the dual network card is connected to the user terminal, (T, X) represents connection data X at time T, X represents connection data generated when the dual network card is connected to the user terminal, T represents time when the dual network card is connected to the user terminal, and j represents diret's condition;
step A2: through an application software layer, storing the discrete connection data into a network equipment feature database, and extracting feature data of the double network cards:
Figure FDA0002958832080000061
wherein the content of the first and second substances,
Figure FDA0002958832080000062
representing a discrete connection data training set when the double network card is connected with the user terminal, N representing the number of discrete connection data in the training set, a vector theta representing the parameter of the discrete connection data training set, | theta | | survival ratepRepresenting the P-norm of the vector theta as the constraint scale of a discrete connection data training set, wherein gamma represents a loss factor, and omega represents a dynamic factor of the vector theta;
step A3: and encapsulating the characteristic data vector in a preset API interface, determining an abstract API, and receiving and transmitting node data according to the abstract API.
CN202110232009.5A 2021-03-02 2021-03-02 Method for external network card application of user terminal equipment Active CN113037737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110232009.5A CN113037737B (en) 2021-03-02 2021-03-02 Method for external network card application of user terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110232009.5A CN113037737B (en) 2021-03-02 2021-03-02 Method for external network card application of user terminal equipment

Publications (2)

Publication Number Publication Date
CN113037737A true CN113037737A (en) 2021-06-25
CN113037737B CN113037737B (en) 2023-07-04

Family

ID=76465948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110232009.5A Active CN113037737B (en) 2021-03-02 2021-03-02 Method for external network card application of user terminal equipment

Country Status (1)

Country Link
CN (1) CN113037737B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835783A (en) * 2021-09-24 2021-12-24 青岛海信移动通信技术股份有限公司 Method and device for controlling start of Wi-Fi network card and terminal equipment
CN115001522A (en) * 2022-05-19 2022-09-02 北京华信傲天网络技术有限公司 Equipment with built-in fifth generation mobile communication system
WO2023274243A1 (en) * 2021-06-28 2023-01-05 锐迪科创微电子(北京)有限公司 Wireless access point connection method and apparatus, wireless access point configuration method and apparatus, and medium and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010057380A1 (en) * 2008-11-20 2010-05-27 华为终端有限公司 A method, device and data card for recovering from the abnormity of the data card
CN103019780A (en) * 2012-12-04 2013-04-03 中国联合网络通信集团有限公司 Webpage access method, equipment and system based on USB (Universal Serial Bus) network card
CN104216728A (en) * 2013-06-03 2014-12-17 中兴通讯股份有限公司 Method for connecting USB network card, USB network card and PC
CN111130930A (en) * 2019-12-16 2020-05-08 杭州迪普科技股份有限公司 Dual-network card detection method and device
CN112055363A (en) * 2020-09-14 2020-12-08 深圳市信锐网科技术有限公司 Radio frequency extension method, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010057380A1 (en) * 2008-11-20 2010-05-27 华为终端有限公司 A method, device and data card for recovering from the abnormity of the data card
CN103019780A (en) * 2012-12-04 2013-04-03 中国联合网络通信集团有限公司 Webpage access method, equipment and system based on USB (Universal Serial Bus) network card
CN104216728A (en) * 2013-06-03 2014-12-17 中兴通讯股份有限公司 Method for connecting USB network card, USB network card and PC
CN111130930A (en) * 2019-12-16 2020-05-08 杭州迪普科技股份有限公司 Dual-network card detection method and device
CN112055363A (en) * 2020-09-14 2020-12-08 深圳市信锐网科技术有限公司 Radio frequency extension method, device, equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A.ZARGARI: "Construction, interfacing, and application of an 8255-based programmable peripheral interface card", 《PROCEEDINGS: ELECTRICAL INSULATION CONFERENCE AND ELECTRICAL MANUFACTURING AND COIL WINDING CONFERENCE (CAT. NO.01CH37264)》 *
刘锡祥等: "VxWorks环境下网卡驱动与双网卡冗余设计", 《工业控制计算机》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023274243A1 (en) * 2021-06-28 2023-01-05 锐迪科创微电子(北京)有限公司 Wireless access point connection method and apparatus, wireless access point configuration method and apparatus, and medium and device
CN113835783A (en) * 2021-09-24 2021-12-24 青岛海信移动通信技术股份有限公司 Method and device for controlling start of Wi-Fi network card and terminal equipment
CN115001522A (en) * 2022-05-19 2022-09-02 北京华信傲天网络技术有限公司 Equipment with built-in fifth generation mobile communication system
CN115001522B (en) * 2022-05-19 2024-01-23 北京华信傲天网络技术有限公司 Equipment with built-in fifth generation mobile communication system

Also Published As

Publication number Publication date
CN113037737B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
CN113037737A (en) External network card technology for various user terminal devices
TWI244295B (en) Method and system for simulating multiple independent client devices in a wired or wireless network
CN108111523B (en) Data transmission method and device
CN106789526B (en) method and device for connecting multiple system networks
US20210377930A1 (en) Data transmission method and apparatus
CN108600376A (en) Data transmission method, device, LoRa gateways, system based on LoRa and storage medium
CN104144149A (en) Transmission processing method and system for data of sensing Internet of Things and gateway
CN111901387B (en) Connection method and device of cloud special line
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN101510793A (en) Method for implementing a plurality of Bluetooth device networking through Bluetooth server, software program and server
CN111464419A (en) Data transmission control method based on bus network communication
CN101867572A (en) Implementation method and system for wireless U disk
CN102665257A (en) Bandwidth-superposed wireless internet access system and bandwidth-superposed wireless internet access method
CN105592559A (en) Method and device based on base station scheduling service data
CN114900496B (en) Communication method and related equipment
CN103581138A (en) Data transmission method and device
CN106412296B (en) Terminal equipment control method and device
CN103796191A (en) Method, device and terminal for sending data to user terminal
CN104539752B (en) Access method and system between multilevel field platform
TWI454116B (en) Data transmitting method and mobile device using the same
CN101582884B (en) System and method for 3G data packet reorganization based on FPGA
KR101264951B1 (en) Device for intercepting and analyzing traffic for a terminal
CN103874230A (en) Processing method and device for data transmission
CN107659966A (en) Data transmission method, the network equipment, user terminal, gateway device
CN102857574A (en) Information processing method and apparatus for Internet of Things

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