CN109587582A - A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium - Google Patents
A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium Download PDFInfo
- Publication number
- CN109587582A CN109587582A CN201811540979.6A CN201811540979A CN109587582A CN 109587582 A CN109587582 A CN 109587582A CN 201811540979 A CN201811540979 A CN 201811540979A CN 109587582 A CN109587582 A CN 109587582A
- Authority
- CN
- China
- Prior art keywords
- usb interface
- interface
- data
- double nip
- communication
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q1/00—Details of selecting apparatus or arrangements
- H04Q1/02—Constructional details
- H04Q1/028—Subscriber network interface devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention discloses a kind of Single NIC double nip device for intelligently switching, the micro-base station includes main control module and communication module, described device includes analog switch, the main control module has the first communication interface and USB interface, first communication interface of the main control module is connect with the communication module, and the USB interface of the main control module is connect by connecting analog switch with the communication module.Invention additionally discloses a kind of Single NIC double nip intelligent switch method, equipment and storage mediums.The present invention relates to mobile communication technology fields.A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium, main control module can be carried out data transmission by the first communications reception, or analog switch selection is controlled by main control module and is carried out data transmission by USB interface, realization selects different interfaces to carry out data transmission according to actual needs, compared with prior art, the flexibility for improving interface selection reduces online power consumption while the network transmission speed of raising.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of Single NIC double nip device for intelligently switching, method,
Equipment and storage medium.
Background technique
McWiLL:Multi-Carrier Wireless Information Local Loop, multi-carrier-wave wireless information sheet
Ground loop is a kind of wireless access wide band technology.
SPI, full name Serial Peripheral Interface, Serial Peripheral Interface (SPI).
UART, full name Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmission
Device.
AP is the abbreviation of Access Point, i.e. (wireless) access points.
In the prior art, for communication equipment, the data interaction between main control module and communication module generally uses SPI
Or the transmission of UART interface agreement, rate are slower.It is transmitted according to USB interface, rate can increase, if but being connect by USB
Mouth carries out data transmission, and there are problems that two: first, and communication equipment will increase by communication module online power consumption, and second, logical
It crosses during communication module online, communication module occupies always the USB port of main control module.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to provide a kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium.
The technical scheme adopted by the invention is that: a kind of Single NIC double nip device for intelligently switching, the micro-base station include
Main control module and communication module, described device include analog switch, and there is the main control module the first communication interface and USB to connect
Mouthful, the first communication interface of the main control module is connect with the communication module, and the USB interface of the main control module passes through connection
Analog switch is connect with the communication module.
As a further improvement of the foregoing solution, the communication module is McWiLL communication module.
As a further improvement of the foregoing solution, first communication interface is SPI/UART interface.
As a further improvement of the foregoing solution, the analog switch is SGM7228 analog switch chip.
A kind of Single NIC double nip intelligent switch method, comprising:
First communication interface starts to receive data, and by received data record to the first memory space;
When data receipt time is equal to the first preset time value, judge that the data packet number of the first memory space storage is
It is no to be lower than first threshold, if so, still data are received with the first communication interface, if it is not, then judging whether USB interface is occupied
State switches USB interface and receives data if USB interface is unoccupied state, if USB interface is occupied state, still
Data are received with the first communication interface.
As a further improvement of the foregoing solution, the method also includes:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to the
When two preset time values, judge whether the data packet number of the second memory space storage is lower than second threshold, if so, switching the
One communication interface receives data, if it is not, then still receiving data with USB interface.
As a further improvement of the foregoing solution, the method also includes:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to the
When two preset time values, judge whether the data packet number of the second memory space storage is lower than second threshold, if so, switching the
One communication interface receives data, if it is not, then judging whether USB interface is in occupied state, if USB interface is in occupied shape
State then switches the first communication interface and receives data, if USB interface is in unoccupied state, still receives number with USB interface
According to.
A kind of Single NIC double nip intelligence switching equipment, comprising:
At least one processor;And the memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out such as above-mentioned Single NIC double nip intelligent switch method.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer executable instructions,
The computer executable instructions are for making computer execute such as above-mentioned Single NIC double nip intelligent switch method.
The beneficial effects of the present invention are:
The USB interface of a kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium, main control module is logical
It crosses connection analog switch to connect with communication module, main control module can carry out data transmission by the first communications reception, or pass through
Main control module control analog switch selection is carried out data transmission by USB interface, and realization selects different connect according to actual needs
Mouth carries out data transmission, and compared with prior art, the flexibility of interface selection is improved, while the network transmission speed of raising
Reduce online power consumption.
Detailed description of the invention
Specific embodiments of the present invention will be further explained with reference to the accompanying drawing:
Fig. 1 is a kind of Single NIC double nip device for intelligently switching module frame chart of the present invention;
Fig. 2 is a kind of Single NIC double nip device for intelligently switching circuit diagram of the present invention;
Fig. 3 is a kind of Single NIC double nip intelligent switch method flow diagram of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
Embodiment one
Fig. 1 is a kind of Single NIC double nip device for intelligently switching module frame chart of the present invention, and referring to Fig.1, a kind of Single NIC is double
There is the first communication to connect for interface device for intelligently switching, including main control module, McWiLL communication module and analog switch, main control module
Mouth and USB interface, the first communication interface of main control module are connect with McWiLL communication module, and the USB interface of main control module passes through
Connection analog switch is connect with McWiLL communication module.In the present embodiment, the first communication interface is SPI/UART interface.Master control mould
Block can both be carried out data transmission by SPI/UART interface and McWiLL communication module, can also be beaten by controlling analog switch
It opens, and then is carried out data transmission by USB interface and McWiLL communication module.
Embodiment two
Fig. 2 is a kind of Single NIC double nip device for intelligently switching circuit diagram of the present invention, and referring to Fig. 2, a kind of Single NIC is double to be connect
Mouth device for intelligently switching, including master control AP module, McWiLL communication module and analog switch U1, master control AP module use
MSM8905 chip, McWiLL communication module use XWBP02C chip, and analog switch U1 uses SGM7228 analog switch.Master control
The SPI/UART interface of AP module is connect with McWiLL communication module, and the USB interface of master control AP module passes through connection analog switch
U1 is connect with McWiLL communication module.Master control AP module has GPIO interface, and the GPIO65 pin of master control AP module is opened with simulation
Close U1 the S connection of selection end, the USB_HS_D_P pin and USB_HS_D_M pin of the USB interface of master control AP module respectively with mould
The end D+ of quasi- switch U1 is connected with the end D-, the MCWILL_USB_DP pin and MCWILL_ of the USB interface of McWiLL communication module
USB_DM pin is connect with the end HSD2+ of analog switch U1 and the end HSD2- respectively.Master control AP module is controlled by GPIO interface and is selected
It selects analog switch U1 to be switched on or off, is connected to the USB interface of master control AP module and the USB interface of McWiLL communication module, into
And select the USB interface of master control AP module as data transmission interface.
Embodiment three
A kind of Single NIC double nip intelligent switch method, comprising:
First communication interface starts to receive data, and by received data record to the first memory space;
When data receipt time is equal to the first preset time value, judge that the data packet number of the first memory space storage is
It is no to be lower than first threshold, if so, still data are received with the first communication interface, if it is not, then judging whether USB interface is occupied
State switches USB interface and receives data if USB interface is unoccupied state, if USB interface is occupied state, still
Data are received with the first communication interface.
In the present embodiment, the first communication interface starts to receive data, and by received data record to the first memory space
Specifically: the main control module of communication equipment uses the first communication interface receiving network data, and by received data record to facing
When the first memory space.
In a particular embodiment, this method further include:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to the
When two preset time values, judge whether the data packet number of the second memory space storage is lower than second threshold, if so, switching the
One communication interface receives data, if it is not, then still receiving data with USB interface.
In a particular embodiment, this method further include:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to the
When two preset time values, judge whether the data packet number of the second memory space storage is lower than second threshold, if so, switching the
One communication interface receives data, if it is not, then judging whether USB interface is in occupied state, if USB interface is in occupied shape
State then switches the first communication interface and receives data, if USB interface is in unoccupied state, still receives number with USB interface
According to.
Example IV
Fig. 3 is a kind of Single NIC double nip intelligent switch method flow diagram of the present invention, referring to Fig. 3, a kind of Single NIC
Double nip intelligent switch method, comprising:
Communication equipment booting;
McWiLL communication module initializes and opens data switch;
First memory space A of master control AP module, which is initialized, to reset, opening timing device T0;
SPI/UART interface network data is opened, and each received data are stored to the first memory space A;
Judging that the timer T0 time arrives, does is the data packet number of the first memory space A storage lower than threshold value?
If the data packet number of the first memory space A storage is lower than threshold value, further judge whether data transmission terminates,
If the data transfer ends, terminate data transmission, if data transmission is not finished, returns to the first memory space of master control AP module
A initialization is reset, opening timing device T0 step;
If the data packet number of the first memory space A storage is not below threshold value, further judge whether USB interface is occupied
With?
If USB interface is occupied, further judge whether data transmission terminates, if the data transfer ends, terminates to count
According to transmission, if data transmission is not finished, the first memory space A initialization for returning to master control AP module is reset, opening timing device
T0 step;
If USB interface is unoccupied, the second memory space B of master control AP module, which is initialized, to be reset, opening timing device T1;
Do you judge that the timer T1 time arrives, and the data packet number of the second memory space B storage is lower than threshold value?
If the data packet number of the second memory space B storage is lower than threshold value, the first storage for returning to master control AP module is empty
Between A initialization reset, opening timing device T0 step;
If the data packet number of the second memory space B storage is not less than threshold value, further judge whether USB interface is occupied
With?
If USB interface is occupied, the first memory space A initialization for returning to master control AP module is reset, opening timing device
T0 step;
If USB interface is unoccupied, further judge whether data transmission terminates, if the data transfer ends, terminates
Data transmission, if data transmission is not finished, the second memory space B initialization for returning to master control AP module is reset, opening timing
Device T1 step.
Embodiment five
In the present embodiment, the present invention also provides a kind of Single NIC double nip intelligence switching equipments, comprising:
At least one processor;And the memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out such as above-mentioned Single NIC double nip intelligent switch method.
Embodiment six
In the present embodiment, the present invention also provides a kind of computer readable storage medium, the computer-readable storage medium
Matter is stored with computer executable instructions, and the computer executable instructions are for executing computer as above-mentioned Single NIC is double
Interface intelligent switch method.
The USB interface of a kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium, main control module is logical
It crosses connection analog switch to connect with communication module, main control module can carry out data transmission by the first communications reception, or pass through
Main control module control analog switch selection is carried out data transmission by USB interface, and realization selects different connect according to actual needs
Mouth carries out data transmission, and compared with prior art, the flexibility of interface selection is improved, while the network transmission speed of raising
Reduce online power consumption.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.
Claims (9)
1. a kind of Single NIC double nip device for intelligently switching, the micro-base station include main control module and communication module, feature exists
In described device includes analog switch, and the main control module has the first communication interface and USB interface, the main control module
First communication interface is connect with the communication module, and the USB interface of the main control module is led to by connection analog switch with described
Interrogate module connection.
2. a kind of Single NIC double nip device for intelligently switching according to claim 1, which is characterized in that the communication module
For McWiLL communication module.
3. a kind of Single NIC double nip device for intelligently switching according to claim 1 or 2, which is characterized in that described first
Communication interface is SPI/UART interface.
4. a kind of Single NIC double nip device for intelligently switching according to claim 3, which is characterized in that the analog switch
For SGM7228 analog switch chip.
5. a kind of Single NIC double nip intelligent switch method, characterized in that it comprises:
First communication interface starts to receive data, and by received data record to the first memory space;
When data receipt time is equal to the first preset time value, judge whether the data packet number of the first memory space storage is low
In first threshold, if so, still data are received with the first communication interface, if it is not, then judging whether USB interface is occupied shape
State switches USB interface and receives data, if USB interface is occupied state, still use if USB interface is unoccupied state
First communication interface receives data.
6. a kind of Single NIC double nip intelligent switch method according to claim 5, which is characterized in that the method is also wrapped
It includes:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to second in advance
If when time value, judging whether the data packet number of the second memory space storage is lower than second threshold, if so, switching first is logical
Interface data are believed, if it is not, then still receiving data with USB interface.
7. a kind of Single NIC double nip intelligent switch method according to claim 6, which is characterized in that the method is also wrapped
It includes:
USB interface receives data, and by received data record to the second memory space, when data receipt time is equal to second in advance
If when time value, judging whether the data packet number of the second memory space storage is lower than second threshold, if so, switching first is logical
Believe interface data, if it is not, then judge whether USB interface is in occupied state, if USB interface is in occupied state,
Then switch the first communication interface and receive data, if USB interface is in unoccupied state, still receives data with USB interface.
8. a kind of Single NIC double nip intelligence switching equipment, characterized in that it comprises:
At least one processor;And the memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by least one described processor
It executes, so that at least one described processor is able to carry out such as the described in any item Single NIC double nip intelligence of claim 5 to 7
Switching method.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer can
It executes instruction, the computer executable instructions are for making computer execute such as the described in any item Single NICs of claim 5 to 7
Double nip intelligent switch method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540979.6A CN109587582A (en) | 2018-12-17 | 2018-12-17 | A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium |
PCT/CN2019/080330 WO2020124850A1 (en) | 2018-12-17 | 2019-03-29 | Single-network card double-interface intelligent switching apparatus, method, and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540979.6A CN109587582A (en) | 2018-12-17 | 2018-12-17 | A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109587582A true CN109587582A (en) | 2019-04-05 |
Family
ID=65929741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811540979.6A Pending CN109587582A (en) | 2018-12-17 | 2018-12-17 | A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109587582A (en) |
WO (1) | WO2020124850A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945571A (en) * | 2014-04-04 | 2014-07-23 | 南京理工大学 | Wireless gateway equipment |
WO2016167382A1 (en) * | 2015-04-14 | 2016-10-20 | 가온미디어 주식회사 | Access point device of port mirroring-based low-power control scheme, and low-power control method therefor |
CN108632859A (en) * | 2018-03-27 | 2018-10-09 | 深圳酷泰丰科技有限公司 | The control method and system that the double physical interfaces of Single NIC compatibility carry out data transmission |
-
2018
- 2018-12-17 CN CN201811540979.6A patent/CN109587582A/en active Pending
-
2019
- 2019-03-29 WO PCT/CN2019/080330 patent/WO2020124850A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945571A (en) * | 2014-04-04 | 2014-07-23 | 南京理工大学 | Wireless gateway equipment |
WO2016167382A1 (en) * | 2015-04-14 | 2016-10-20 | 가온미디어 주식회사 | Access point device of port mirroring-based low-power control scheme, and low-power control method therefor |
CN108632859A (en) * | 2018-03-27 | 2018-10-09 | 深圳酷泰丰科技有限公司 | The control method and system that the double physical interfaces of Single NIC compatibility carry out data transmission |
Also Published As
Publication number | Publication date |
---|---|
WO2020124850A1 (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108494414B (en) | Ultra-low power consumption multimode wireless module of internet of things | |
CN104378729B (en) | Mobile communications network service implementation method and mobile terminal system | |
CN108370338A (en) | Optimal stand-by period packetizer finite state machine for information receiving and input/output passing interface | |
CN103064815B (en) | A kind of single spi bus controls the control method of many CAN interface | |
CN108292990A (en) | Communication system and communication means | |
CN204836712U (en) | Intelligence lamp system | |
CN107079393B (en) | The power consumption control method and wearable device of wearable device | |
CN102611545A (en) | Hardware-based RS485 (radio sensing 485) automatic transceiving control method and circuit | |
CN110457244A (en) | A kind of communication mode conversion method, system and the processor of serial ports | |
CN109327386A (en) | A kind of link aggregation method, device, equipment and readable storage medium storing program for executing | |
CN104798010A (en) | Serial storage protocol compatible frame conversion, at least in part | |
CN106686528A (en) | Data transmission method and system as well as master device and slave device | |
CN103392315B (en) | Stand, target device and starting device | |
CN102739290A (en) | Interactive terminal with power line carrier communication access function | |
CN201699992U (en) | System sharing base station bandwidth by wireless access point | |
CN110417520A (en) | Communication means and equipment | |
CN109587582A (en) | A kind of Single NIC double nip device for intelligently switching, method, equipment and storage medium | |
CN101785251B (en) | Coexistance device communication | |
CN209488732U (en) | A kind of Single NIC double nip device for intelligently switching | |
CN110113209A (en) | Communication between devices method and apparatus topological structure based on MIPI agreement | |
CN105406891B (en) | The carrier aggregation mode establishing method and communication terminal of a kind of communication terminal | |
CN109392032A (en) | Frequency handover processing method, the network equipment, terminal and computer storage medium | |
CN203416258U (en) | Cell-phone data storage system | |
CN202872774U (en) | Interactive terminal with power line carrier communication access function | |
CN101778493A (en) | Terminal equipment supporting various network access modes, system and realization method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |
|
RJ01 | Rejection of invention patent application after publication |