CN112261147A - Method, device, terminal and storage medium for implementing high-rate coexisting network mode - Google Patents

Method, device, terminal and storage medium for implementing high-rate coexisting network mode Download PDF

Info

Publication number
CN112261147A
CN112261147A CN202011166746.1A CN202011166746A CN112261147A CN 112261147 A CN112261147 A CN 112261147A CN 202011166746 A CN202011166746 A CN 202011166746A CN 112261147 A CN112261147 A CN 112261147A
Authority
CN
China
Prior art keywords
mode
network
network mode
interface
chip
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
CN202011166746.1A
Other languages
Chinese (zh)
Other versions
CN112261147B (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.)
Shenzhen Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Konka Electronic 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 Shenzhen Konka Electronic Technology Co Ltd filed Critical Shenzhen Konka Electronic Technology Co Ltd
Priority to CN202011166746.1A priority Critical patent/CN112261147B/en
Publication of CN112261147A publication Critical patent/CN112261147A/en
Application granted granted Critical
Publication of CN112261147B publication Critical patent/CN112261147B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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

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 coexisting network mode, wherein the method comprises the following steps: the first chip drives the first type network mode independently and establishes a first network interface; the second chip drives the second type network mode independently to establish a second network interface. According to the invention, the two chips are used for respectively loading different types of network modes, so that different network modes are not influenced mutually under the condition of coexistence of the network modes, and the wifi performance of an independent network mode is ensured, thereby improving the wifi transmission efficiency.

Description

Method, device, terminal and storage medium for implementing high-rate coexisting network mode
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-rate coexisting 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 + p2p mode, but the wifi performance of the single Wi-Fi module in the coexistence mode has a large loss. For example, in the case of coexistence of the station mode + p2p mode, when the p2p mode is used for background operation, wifi transmission rate is seriously reduced, and a pause phenomenon exists in playing video; or the intelligent terminal is connected with the 5G frequency band wifi in a station mode, and when the wifi is connected with the p2p mode in a 2.4G frequency band, severe blockage can exist in the p2p screen projection process.
Therefore, in the prior art, when the Wi-Fi module is in a wifi coexistence mode, the two modes can be influenced with each other, and further the performance of the Wi-Fi module is influenced, so that the wifi transmission efficiency is low.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a device, a terminal and a storage medium for implementing a high-speed coexistence network mode, aiming at solving the problems of wifi function damage and wifi transmission efficiency low in a network coexistence mode in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
the method for realizing the high-rate coexisting network mode comprises the following steps:
the first chip drives the first type network mode independently and establishes a first network interface;
the second chip drives the second type network mode independently 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, 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;
and identifying the USB equipment under WIFI, inquiring a corresponding first chip according to the USB equipment node, and loading the first chip by taking p2p0 as an interface.
Further, the enabling of the WIFI function includes:
receiving a network mode selection instruction;
when the received network mode selection command corresponds to the first type network mode, the first chip driver is loaded.
Further, the first chip drives the first type network mode separately, establishes the first network interface, and then includes:
wpa-supplicant starts and mounts the p2p0 interface.
Further, the Wpa-supplicant starting and mounting the p2p0 interface comprises the following steps:
listening for nearby P2P devices;
scanning and matching the monitored p2p devices;
and establishing p2p connection with the matched p2p equipment.
Further, the system where the first chip and the second chip are located is an Android system.
The invention also discloses an intelligent electronic device, which comprises: an independent P2P WIFI module is added, and the interface of the WIFI module is set to be P2P 0.
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 coexisting network mode realizing method, and the configuration program of the high-rate coexisting network mode realizing method is used for realizing the high-rate coexisting network mode realizing method when being executed by the processor.
Furthermore, the intelligent terminal is a television.
The present invention also discloses a storage medium, wherein the storage medium stores 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 coexisting network mode, wherein the method comprises the following steps: the first chip drives the first type network mode independently and establishes a first network interface; the second chip drives the second type network mode independently to establish a second network interface. According to the invention, the two chips are used for respectively loading different types of network modes, so that different network modes are not influenced mutually under the condition of coexistence of the network modes, and the wifi performance of an independent network mode is ensured, thereby improving the wifi transmission efficiency.
Drawings
Fig. 1 is a flow chart of a preferred embodiment of a method for implementing a high rate coexistence 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 clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The coexistence mode of wifi in the prior art includes the following:
station mode+station mode
station mode+ap mode
station mode+p2p mode
p2p mode+ap mode
currently android starts to support coexistence of station + p2p since JB version. Wifi driving in the market at present mainly supports the first three coexistence modes, and the fourth coexistence mode at present is not available. The invention is exemplified by a station mode + p2p mode coexistence mode to illustrate the problems in the prior art and the technical solutions proposed in the present invention to solve the problems in the prior art, and it should be understood that the method of the present invention is only exemplary and not limiting.
The STA and the Station are generally clients in a Wireless Local Area Network (WLAN), and may be a computer equipped with a wireless network card, or a smart phone with a WiFi module, and may be mobile or fixed.
Peer-to-Peer computing (p 2p for short) can be defined simply as sharing computer resources and services through direct exchange, while the network formed by the application layer of the Peer-to-Peer computing model is commonly referred to as a Peer-to-Peer network. In a P2P network environment, where thousands of computers are connected to one another in a peer-to-peer fashion, the entire network typically does not rely on dedicated, centralized servers. Each computer in the network can both act as a requester of network services and provide resources and services in response to requests from other computers. Typically these resources and services include: sharing and exchange of information, sharing of computing resources (e.g., sharing of CPUs), sharing of storage (e.g., use of cache and disk space), sharing of networks, sharing of printers, and the like.
However, in the prior art, when the station mode + p2p mode is combined with a single Wi-Fi module, WIFI function is limited, and WIFI transmission efficiency is low. Furthermore, even some low-end WIFI modules do not support station mode + p2p mode coexistence.
Therefore, the WIFI module in the terminal equipment is improved, so that the P2P interface and the STA interface respectively and independently use the two WIFI modules, the respective network connection is realized through the two independent WIFI modules, the networks of the two WIFI modules are not mutually restricted, and the network transmission rate is further ensured. It can be understood that the terminal mentioned in the solution of the present invention may be any terminal using an Android system, and in order to better understand the technical solution of the present invention, a television is exemplified herein to explain the solution of the present invention in detail.
Specifically, the television adopts an Android system, and the Android is an operating system based on a Linux kernel, wherein Linux is used as an open source item and can support a plurality of network cards, and each network card is allocated with a different interface.
According to the invention, an independent P2P WIFI module is added on the television hardware, and a corresponding P2P WIFI module driver is loaded, so that a network interface loaded by the P2P WIFI module driver is set as P2P0, and further P2P connection is carried out through a 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 implements the following steps when executed:
s100, the first chip drives the first type network mode independently and establishes a first network interface.
S200, the second chip drives the second type network mode independently to establish a second network interface.
The television is provided with two chips, which are divided into 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 a second type network mode, of course, the first type network mode and the second type network mode are not limited too much here, and both 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, it is to be noted that, when the first type network mode is a P2P0 interface, and when the first type network mode is an STA mode, the corresponding network interface is a wlan interface, in the following embodiments, the first type network mode is set as a P2P mode, and correspondingly, the first network interface is a P2P0 interface for example, which is used to explain the scheme of the present invention in detail.
Further, before step S100, the method includes:
s10, adding an independent P2P WIFI module 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 an independent P2P WIFI module, the method is realized by the following steps:
two chips with different models are used as WIFI modules and are set to be in a P2P mode and an STA mode respectively. For example, MT7638WIFI module and RTL8822BU WIFI module are used, where MT7638WIFI module is enabled to be P2P mode and RTL8822BU WIFI module is enabled to be 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 nodes on the WIFI modules, and when the WIFI module driver is loaded, the Linux system generates a network interface correspondingly, wherein a P2P0 interface is generated in the P2P mode, and a wlan interface is generated in the STA mode, for example, an interface of an RTL8822BU network card is a P2P0 interface. The p2p0 interface and the wlan interface are both virtualized and are distinguished by name only.
In one embodiment, step S10 is followed by:
and S11, enabling a WIFI function.
S12, identifying the USB equipment under 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 turned on, the nearby USB devices are automatically identified, and the independently set P2P WIFI module is inquired according to the USB device nodes. The USB device is specifically a P2P device.
In another specific embodiment, after the step S12, the method further includes:
and S13, receiving a network mode selection instruction.
And S14, loading the first chip driver when the received network mode selection instruction corresponds to the first type network mode.
Specifically, in the case of WIFI on the tv being turned on, if a P2P connection needs to be established, a P2P mode needs to be selected from a P2P mode and an STA mode on the tv, and further a 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 modified correspondingly, so that the application slave program framework layer (Android frame) is modified, a 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 the modification, the P2P WIFI module can independently implement P2P connection, wherein, as shown in fig. 2, the process of establishing P2P connection includes the following steps:
s300, Wpa-supplicant starts and mounts the p2p0 interface.
S400, monitoring nearby P2P equipment.
And S500, scanning and matching the monitored p2p equipment.
And S600, establishing p2p connection with the matched p2p equipment.
Specifically, the way of establishing the P2P connection is as follows:
listening for nearby P2P devices. After the P2P WIFI function is started, the television sends a Probe Request frame to the outside, and collects all surrounding equipment or network information;
scanning for nearby P2P devices. The television monitors on the social frequency band, and sends a Probe res after receiving a response matched with the sent Probe Request frame;
connecting the selected P2P device. Searching a social frequency band, and sending probe req information in the social frequency band, wherein the probe req information comprises a device type and a device ID to be connected (the device to be connected is described in detail by taking a scanner as an example);
and the television and the scanner carry out GO negotiation, and connection is carried out after the other party is found.
The invention also discloses an intelligent electronic device, which comprises: an independent P2P WIFI module is added, and the interface of the WIFI module is set to be P2P 0.
The present invention also discloses an intelligent terminal, as shown in fig. 3, wherein the intelligent terminal comprises a processor 10 and a memory 20 connected to the processor 10, the memory 20 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 implementing the high-rate coexistence network mode implementation method when executed by the processor 10.
Furthermore, the intelligent terminal is a television.
The present invention also discloses a storage medium, wherein the storage medium stores a computer program executable for implementing the high rate coexistence network mode implementing method as described above.
In summary, the present invention discloses a method, a device, a terminal and a storage medium for implementing a high-rate coexistence network mode, wherein the method includes: the first chip drives the first type network mode independently and establishes a first network interface; the second chip drives the second type network mode independently to establish a second network interface. According to the invention, the two chips are used for respectively loading different types of network modes, so that different network modes are not influenced mutually under the condition of coexistence of the network modes, and the wifi performance of an independent network mode is ensured, thereby improving the wifi transmission efficiency.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. The method for implementing the high-rate coexisting network mode is characterized by comprising the following steps of:
the first chip drives the first type network mode independently and establishes a first network interface;
the second chip drives the second type network mode independently to establish a second network interface.
2. The method of claim 1, wherein the first chip drives the first type network mode independently, and the step of establishing the first network interface comprises:
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.
3. The method as claimed in claim 2, wherein the adding of a separate P2P WIFI module is provided in a first chip, wherein the first type network mode is a P2P mode, the first network interface is a P2P0 interface, and then the method comprises:
enabling a WIFI function;
and identifying the USB equipment under WIFI, inquiring a corresponding first chip according to the USB equipment node, and loading the first chip by taking p2p0 as an interface.
4. The method of claim 3, wherein the enabling of the WIFI function comprises:
receiving a network mode selection instruction;
when the received network mode selection command corresponds to the first type network mode, the first chip driver is loaded.
5. The method as claimed in claim 2, wherein the first chip drives the first type network mode separately, establishes the first network interface, and thereafter comprises:
wpa-supplicant starts and mounts the p2p0 interface.
6. The method for implementing high-rate coexisting network mode as claimed in claim 5, wherein said Wpa-supplicant activating and mounting p2p0 interface comprises:
listening for nearby P2P devices;
scanning and matching the monitored p2p devices;
and establishing p2p connection with the matched p2p equipment.
7. The method according to claim 1, wherein the system in which the first chip and the second chip are located is an Android system.
8. An intelligent electronic device, comprising: an independent P2P WIFI module is added, and the interface of the WIFI module is set to be P2P 0.
9. 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 executed by the processor to implement the high-rate coexistence network mode implementation method according to any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium stores a computer program executable for implementing the high rate coexistence network mode implementing method according to any one of claims 1 to 7.
CN202011166746.1A 2020-10-27 2020-10-27 Method, device, terminal and storage medium for realizing high-rate coexistence network mode Active CN112261147B (en)

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 true CN112261147A (en) 2021-01-22
CN112261147B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969081A (en) * 2021-02-10 2021-06-15 深圳创维-Rgb电子有限公司 Television split-screen projection method and system and smart television
CN114116032A (en) * 2021-11-22 2022-03-01 康佳集团股份有限公司 WiFi module hybrid adaptive processing method, device, terminal and medium

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969081A (en) * 2021-02-10 2021-06-15 深圳创维-Rgb电子有限公司 Television split-screen projection method and system and smart television
CN114116032A (en) * 2021-11-22 2022-03-01 康佳集团股份有限公司 WiFi module hybrid adaptive processing method, device, terminal and medium

Also Published As

Publication number Publication date
CN112261147B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
US20060073847A1 (en) Scheme and algorithm to form direct links
KR102441236B1 (en) Software update management method, server, terminal, device, and storage medium
CN112261147B (en) Method, device, terminal and storage medium for realizing high-rate coexistence network mode
US20220264675A1 (en) System and method for processing data
WO2021016755A1 (en) Data transmission method and apparatus
US11687332B2 (en) Communication apparatus for wirelessly communicating with another apparatus, information processing method, and program
US20230262143A1 (en) Relocation of application context to edge data network
US11259336B2 (en) Communications method, apparatus, and system
CN111565442A (en) Screen projection method, equipment and system
WO2021159251A1 (en) Devices, methods, apparatus and computer readable storage media for service management in a communication system
CN111953714B (en) File sharing method, communication device and storage medium
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
US10467981B1 (en) Method and apparatus for providing interface between dedicated discrete graphics processing unit and head mounted display using type-C universal standard bus
WO2021057503A1 (en) Method and apparatus for downloading data packet
WO2022228190A1 (en) Wifi connection method and device
KR20160007259A (en) Apparatus and method for selecting channel in wireless communication system
CN114995732B (en) Screen projection method, electronic equipment and storage medium
CN112383617B (en) Method, device, terminal equipment and medium for performing long connection
CN117121560A (en) Dynamic network slice management
CN113114670A (en) Multi-protocol connection method, equipment and storage medium of block chain network
US20220272737A1 (en) Method and apparatus for determining frequency domain resource
CN110798512A (en) Centralized data pushing method, intelligent terminal and storage medium
CN114786244B (en) Soft access device control method, apparatus, device, storage medium and program product
CN116489645B (en) Data transmission method and electronic equipment
KR20030047042A (en) System and method for transmitting and receiving data using plural mobile stations

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