CN112261147B - Method, device, terminal and storage medium for realizing high-rate coexistence network mode - Google Patents
Method, device, terminal and storage medium for realizing high-rate coexistence network mode Download PDFInfo
- Publication number
- CN112261147B CN112261147B CN202011166746.1A CN202011166746A CN112261147B CN 112261147 B CN112261147 B CN 112261147B CN 202011166746 A CN202011166746 A CN 202011166746A CN 112261147 B CN112261147 B CN 112261147B
- Authority
- CN
- China
- Prior art keywords
- mode
- network
- interface
- chip
- network mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000006870 function Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 239000000523 sample Substances 0.000 description 5
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- 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)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method, equipment, a terminal and a storage medium for realizing a high-rate coexistence network mode, wherein the method comprises the following steps: the first chip independently drives a first type network mode and establishes a first network interface; the second chip independently drives the second type network mode to establish a second network interface. According to the invention, two chips are used for loading different types of network modes respectively, so that the different network modes are not mutually influenced under the coexistence condition of the network modes, the wifi performance of the independent network mode is ensured, and the wifi transmission efficiency is improved.
Description
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a method, equipment, a terminal and a storage medium for realizing a high-speed coexistence network mode.
Background
At present, a single Wi-Fi module is mostly adopted on an intelligent terminal to support a wireless network function, wherein a wifi coexistence mode supported by the Wi-Fi module comprises a station mode and a p2p mode, but the wifi performance of the single Wi-Fi module is greatly lost in the coexistence mode. For example, when the station mode and the p2p mode coexist, the wifi transmission rate is seriously reduced when the p2p mode is used for background operation, and the video playing has a clamping phenomenon; or the intelligent terminal is connected with the 5G frequency band wifi in the station mode, and when the wifi is connected with the 2.4G frequency band in the p2p mode, the p2p screen throwing can have serious blocking and the like.
Therefore, in the prior art, the Wi-Fi module has mutual influence between two modes in a wifi coexistence mode, so that the performance of the Wi-Fi module is influenced, and the wifi transmission efficiency is low.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, a method, equipment, a terminal and a storage medium for realizing a high-rate coexistence network mode are provided, and aims to solve the problems that in the prior art, wifi functions are damaged and wifi transmission efficiency is low in the network coexistence mode.
The technical scheme adopted for solving the technical problems is as follows:
the method for realizing the high-rate coexistence network mode comprises the following steps:
the first chip independently drives a first type network mode and establishes a first network interface;
the second chip independently drives the second type network mode to establish a second network interface.
Further, an independent P2P WIFI module is added to the first chip, wherein the first type network mode is a P2P mode, and the first network interface is a P2P0 interface.
Further, an independent P2P WIFI module is added to the first chip, where the first type network mode is a P2P mode, and the first network interface is a P2P0 interface, and then includes:
enabling a WIFI function;
and identifying the USB equipment under the WIFI, inquiring the corresponding first chip according to the USB equipment node, and loading the first chip by taking p2p0 as an interface.
Further, after the WIFI function is started, the method includes:
receiving a network mode selection instruction;
and loading the first chip driver when the received network mode selection instruction corresponds to the first type of network mode.
Further, the first chip independently drives a first type network mode, establishes a first network interface, and then comprises:
wpa-supplicant starts up and mounts the p2p0 interface.
Further, after the Wpa-supplicant is started and the p2p0 interface is mounted, the method comprises the following steps:
monitoring nearby P2P devices;
scanning and matching the monitored p2p equipment;
and establishing p2p connection with the matched p2p device.
Further, the system where the first chip and the second chip are located is an Android system.
The invention also discloses intelligent electronic equipment, which comprises: an independent P2P WIFI module is additionally arranged, and an interface of the module is set to be P2P0.
The invention also discloses an intelligent terminal, which comprises a processor and a memory connected with the processor, wherein the memory stores a configuration program of the high-rate coexistence network mode implementation method, and the configuration program of the high-rate coexistence network mode implementation method is used for realizing the high-rate coexistence network mode implementation method when being executed by the processor.
Further, the intelligent terminal is a television.
The present invention also discloses a storage medium storing a computer program executable for implementing the high-rate coexistence network mode implementing method as described above.
The invention provides a method, equipment, a terminal and a storage medium for realizing a high-rate coexistence network mode, wherein the method comprises the following steps: the first chip independently drives a first type network mode and establishes a first network interface; the second chip independently drives the second type network mode to establish a second network interface. According to the invention, two chips are used for loading different types of network modes respectively, so that the different network modes are not mutually influenced under the coexistence condition of the network modes, the wifi performance of the independent network mode is ensured, and the wifi transmission efficiency is improved.
Drawings
Fig. 1 is a flow chart of a preferred embodiment of the method for implementing a high rate co-existence network mode in the present invention.
Fig. 2 is a flow chart of a preferred embodiment of the present invention for establishing a P2P connection.
Fig. 3 is a functional block diagram of a preferred embodiment of the intelligent terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Coexistence mode of wifi among the prior art includes following several:
station mode+station mode
station mode+ap mode
station mode+p2p mode
p2p mode+ap mode
currently, android starts to support the coexistence of station+p2p since JB version. The wifi driving in the market mainly supports the first three coexistence modes, and the fourth coexistence mode does not appear at present. The present invention is exemplified by the station mode+p2p mode coexistence mode to illustrate the problems existing in the prior art, and the technical solution proposed by the present invention to solve the problems existing in the prior art, and it should be understood that the method of the present invention is only limited to examples and is not limited to the present invention.
The STA is a client in the wireless local area network (WLAN, wirelessLocalAreaNetworks), may be a computer with a wireless network card, may be a smart phone with a WiFi module, and may be mobile or fixed.
Peer to Peer (p 2p for short) may be defined simply as sharing computer resources and services through direct exchange, while the network formed by the Peer to Peer computing model application layer is commonly referred to as a Peer to Peer network. In a P2P network environment, thousands of computers connected to each other are in a peer-to-peer position, and the entire network generally does not rely on dedicated centralized servers. Each computer in the network can serve as a requester of network services and provide resources and services in response to requests from other computers. Typically these resources and services include: information sharing and exchange, computing resources (e.g., CPU sharing), storage sharing (e.g., use of cache and disk space), network sharing, printer sharing, etc.
However, in the prior art, when the station mode+p2p mode is combined to a single Wi-Fi module, the WIFI function is limited, so that the WIFI transmission efficiency is low. Furthermore, even some low-end WIFI modules do not support station mode+p2p mode coexistence.
Therefore, the P2P interface and the STA interface respectively and independently use two WIFI modules by improving the WIFI modules in the terminal equipment, and further, the respective network connection is realized through the two independent WIFI modules, so that networks of the P2P interface and the STA interface are not mutually restricted, and the network transmission rate is further ensured. It can be understood that the terminal mentioned in the scheme of the present invention may be any terminal using an Android system, and in order to better understand the technical scheme of the present invention, a television is used for illustration herein to explain the scheme of the present invention in detail.
Specifically, the television adopts an Android system, and Android is an operating system based on a Linux kernel, wherein Linux is used as an open source project, a plurality of network cards can be supported, and each network card is distributed with different interfaces.
According to the invention, an independent P2P WIFI module is added on television hardware, a corresponding P2P WIFI module driver is loaded, a network interface loaded by the P2P WIFI module driver is set to be P2P0, and then P2P connection is carried out through the P2P0 interface.
In a specific embodiment, as shown in fig. 1, the present invention provides a method for implementing a high-rate coexistence network mode, where the method, when executed, implements the following steps:
s100, the first chip independently drives a first type network mode to establish a first network interface.
S200, the second chip independently drives a second type network mode to establish a second network interface.
The television is provided with two chips, namely a first chip and a second chip, the network mode of the first chip is set as a first type network mode, the network mode of the second chip is set as a second type network mode, and certainly, the first type network mode and the second type network mode are not limited too much, the first type network mode and the second type network mode can be replaced arbitrarily, the first type network mode or the second type network mode can be any one of a P2P mode and an STA mode, and it is required to explain that when the first type network mode is the P2P mode, the corresponding network interface is a P2P0 interface, when the second type network mode is the STA mode, the corresponding network interface is a wlan interface, and in the following embodiments, the first type network mode is set as the P2P mode, and correspondingly, the first network interface is the P2P0 interface for explaining the scheme of the invention in detail.
Further, before step S100, the method includes:
s10, an independent P2P WIFI module is added to be arranged in a first chip, wherein the first type network mode is a P2P mode, and the first network interface is a P2P0 interface.
Specifically, when the television is improved to realize the independent P2P WIFI module, the method is realized through the following steps:
two different types of chips are used as WIFI modules, and the WIFI modules are set to be a P2P mode and an STA mode respectively. For example, an MT7638WIFI module and an RTL8822BU WIFI module are used, wherein the MT7638WIFI module is enabled in P2P mode and the RTL8822BU WIFI module is enabled in STA mode.
Because the P2P devices using the P2P mode are all located on the same node, two WIFI modules can be distinguished through the device node on the WIFI module, when the WIFI module is loaded for driving, a Linux system correspondingly generates a network interface, wherein a P2P0 interface is generated in the P2P mode, a wlan interface is generated in the STA mode, for example, an interface of an RTL8822BU network card is a P2P0 interface. Wherein the p2p0 interface and the wlan interface are both virtual, and are used herein only by name for distinction.
In one embodiment, step S10 includes:
s11, enabling a WIFI function.
S12, identifying the USB equipment under the WIFI, inquiring the corresponding first chip according to the USB equipment node, and loading the first chip by taking p2p0 as an interface.
Specifically, when the WIFI on the television is started, nearby USB equipment is automatically identified, and the P2P WIFI module which is independently arranged is inquired according to the USB equipment node. The USB device is specifically a P2P device.
In another specific embodiment, the step S12 further includes:
s13, receiving a network mode selection instruction.
S14, when the received network mode selection instruction corresponds to the first type of network mode, loading a first chip driver.
Specifically, if the P2P connection needs to be established under the condition that WIFI on the television is turned on, the P2P mode needs to be selected from the P2P mode and the STA mode on the television, and further the P2P connection can be established.
In the above embodiment, after the P2P mode and the STA mode are distinguished by hardware, the WIFI upper layer structure is correspondingly improved, so that the application slave program framework layer (Android framework) is modified, the code corresponding to the P2P WIFI module on the system is modified, and the P2P related operation content is modified to the P2P WIFI module.
After modification, the P2P WIFI module may independently implement a P2P connection, where, as shown in fig. 2, the process of establishing the P2P connection includes the following steps:
s300, wpa-supplicant is started and a p2p0 interface is mounted.
S400, monitoring nearby P2P devices.
S500, scanning and matching the monitored p2p device.
S600, establishing p2p connection with the matched p2p device.
Specifically, the manner of establishing the P2P connection is:
listening for nearby P2P devices. After the P2P WIFI function is started, the television sends a Probe Request frame outwards, and all surrounding equipment or network information is collected;
scanning for nearby P2P devices. The television monitors on the associated frequency band, and sends a Probe res after receiving a response matched with the sent Probe Request frame;
the selected P2P device is connected. Searching a relevant frequency band, and transmitting probe req information in the relevant frequency band, wherein the probe req information comprises the type of the device to be connected and the device ID (the device to be connected is described in detail by taking a scanner as an example here);
the television carries out GO negotiation with the scanner, and is connected after finding the other party.
The invention also discloses intelligent electronic equipment, which comprises: an independent P2P WIFI module is additionally arranged, and an interface of the module is set to be P2P0.
The invention also discloses an intelligent terminal, as shown in fig. 3, which comprises a processor 10 and a memory 20 connected with the processor 10, wherein the memory 20 stores a configuration program of a high-rate coexistence network mode implementation method, and the configuration program of the high-rate coexistence network mode implementation method is used for implementing the high-rate coexistence network mode implementation method when being executed by the processor 10.
Further, the intelligent terminal is a television.
The present invention also discloses a storage medium storing a computer program executable for implementing the high-rate coexistence network mode implementing method as described above.
In summary, the method, the device, the terminal and the storage medium for implementing the high-rate coexistence network mode disclosed by the invention, wherein the method comprises the following steps: the first chip independently drives a first type network mode and establishes a first network interface; the second chip independently drives the second type network mode to establish a second network interface. According to the invention, two chips are used for loading different types of network modes respectively, so that the different network modes are not mutually influenced under the coexistence condition of the network modes, the wifi performance of the independent network mode is ensured, and the wifi transmission efficiency is improved.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (4)
1. The method for realizing the high-rate coexistence network mode is characterized by comprising the following steps:
the first chip independently drives a first type network mode and establishes a first network interface;
the second chip independently drives a second type network mode to establish a second network interface;
the first chip independently drives a first type network mode, and before the step of establishing a first network interface, the first chip comprises the following steps:
adding an independent P2P WIFI module into a first chip, wherein the first type network mode is a P2P mode, and the first network interface is a P2P0 interface;
the adding an independent P2P WIFI module is arranged in the first chip, wherein the first type network mode is a P2P mode, the first network interface is a P2P0 interface, and then the method includes:
enabling a WIFI function;
identifying USB equipment under WIFI, inquiring a corresponding first chip according to the USB equipment, and loading the first chip by taking p2p0 as an interface;
after the WIFI function is started, the method comprises the following steps:
receiving a network mode selection instruction;
when the received network mode selection instruction corresponds to the first type of network mode, loading a first chip driver;
when the WIFI module driver is loaded, a corresponding network interface is generated according to the USB equipment; the USB device in the P2P mode generates a P2P0 interface, and the USB device in the STA mode generates a wlan interface;
the first chip independently drives a first type network mode, establishes a first network interface, and then comprises the following steps:
wpa-supplicant starts and mounts a p2p0 interface;
the Wpa-supplicant is started, and after the p2p0 interface is mounted, the method comprises the following steps:
monitoring nearby P2P devices;
scanning and matching the monitored p2p equipment;
establishing p2p connection with the matched p2p device;
when the network mode is the P2P mode, the corresponding network interface is the P2P0 interface, and when the network mode is the STA mode, the corresponding network interface is the wlan interface.
2. The method for implementing the high-rate coexistence network mode according to claim 1, wherein the system where the first chip and the second chip are located is an Android system.
3. An intelligent terminal, comprising a processor, and a memory connected to the processor, wherein the memory stores a configuration program of a high-rate coexistence network mode implementation method, and the configuration program of the high-rate coexistence network mode implementation method is used for implementing the high-rate coexistence network mode implementation method according to any one of claims 1-2 when executed by the processor.
4. A storage medium storing a computer program executable for implementing the high rate co-existence network mode implementation method according to any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011166746.1A CN112261147B (en) | 2020-10-27 | 2020-10-27 | Method, device, terminal and storage medium for realizing high-rate coexistence network mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011166746.1A CN112261147B (en) | 2020-10-27 | 2020-10-27 | Method, device, terminal and storage medium for realizing high-rate coexistence network mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112261147A CN112261147A (en) | 2021-01-22 |
CN112261147B true CN112261147B (en) | 2023-10-31 |
Family
ID=74262522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011166746.1A Active CN112261147B (en) | 2020-10-27 | 2020-10-27 | Method, device, terminal and storage medium for realizing high-rate coexistence network mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112261147B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969081B (en) * | 2021-02-10 | 2023-05-30 | 深圳创维-Rgb电子有限公司 | Television split screen projection method and system and intelligent television |
CN114116032A (en) * | 2021-11-22 | 2022-03-01 | 康佳集团股份有限公司 | WiFi module hybrid adaptive processing method, device, terminal and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519865A (en) * | 2019-08-20 | 2019-11-29 | Oppo广东移动通信有限公司 | Network interface processing method and relevant device |
CN111182614A (en) * | 2020-01-08 | 2020-05-19 | 华为技术有限公司 | Method and device for establishing network connection and electronic equipment |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
-
2020
- 2020-10-27 CN CN202011166746.1A patent/CN112261147B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519865A (en) * | 2019-08-20 | 2019-11-29 | Oppo广东移动通信有限公司 | Network interface processing method and relevant device |
CN111182614A (en) * | 2020-01-08 | 2020-05-19 | 华为技术有限公司 | Method and device for establishing network connection and electronic equipment |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112261147A (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8862127B2 (en) | Protocol processing method and apparatus for multi-SIM terminal | |
US20060073847A1 (en) | Scheme and algorithm to form direct links | |
CN112261147B (en) | Method, device, terminal and storage medium for realizing high-rate coexistence network mode | |
US8077684B2 (en) | Personal area network implementation within an infrastructure network | |
CN105993185A (en) | Methods and apparatus for neighborhood area network detection | |
CN111586717B (en) | Network terminal equipment, multi-card mobile terminal and network configuration method and system thereof | |
CN111586797B (en) | Communication method and access network equipment | |
CN111565435A (en) | Communication method and access network equipment | |
CN111953714B (en) | File sharing method, communication device and storage medium | |
CN113055907A (en) | Networking method, networking device and network equipment | |
KR20160007259A (en) | Apparatus and method for selecting channel in wireless communication system | |
CN112867069B (en) | Interference processing method and device, storage medium and electronic equipment | |
CN112788160B (en) | Switching method and switching device of address information | |
CN111586795B (en) | Communication method and access network equipment | |
CN111565437B (en) | Communication method and access network equipment | |
CN112383617B (en) | Method, device, terminal equipment and medium for performing long connection | |
CN111586798B (en) | Communication method and access network equipment | |
CN111565432B (en) | Communication method and access network equipment | |
CN111565436B (en) | Communication method and access network equipment | |
CN109890016B (en) | Method and device for supporting multiple applications to access Bluetooth equipment | |
US20220272737A1 (en) | Method and apparatus for determining frequency domain resource | |
CN108370598B (en) | Method, device and base station for realizing wireless backhaul | |
KR20030047042A (en) | System and method for transmitting and receiving data using plural mobile stations | |
WO2022099516A1 (en) | Communication method, apparatus and system | |
WO2024145777A1 (en) | Communication method, electronic device and storage medium |
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 |