CN106455132B - More WIFI module control methods, device and terminal device - Google Patents
More WIFI module control methods, device and terminal device Download PDFInfo
- Publication number
- CN106455132B CN106455132B CN201610861146.4A CN201610861146A CN106455132B CN 106455132 B CN106455132 B CN 106455132B CN 201610861146 A CN201610861146 A CN 201610861146A CN 106455132 B CN106455132 B CN 106455132B
- Authority
- CN
- China
- Prior art keywords
- wifi
- connection state
- data transmission
- terminal
- data packet
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000005540 biological transmission Effects 0.000 claims abstract description 54
- 238000004891 communication Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000005266 casting Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/23—Manipulation of direct-mode connections
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application proposes a kind of more WIFI module control methods, device and terminal device, wherein this method comprises: determining the connection status of at least two WIFI modules in terminal device;According to the connection status of at least two WIFI module, the aerial signal of the feeding point access of N number of antenna in the terminal device is adjusted, wherein N is the integer more than or equal to 2.More WIFI module control methods, device and the terminal device provided through the invention, realizing terminal can carry out data transmission and surf the Internet using Wi-Fi simultaneously, improve the performance of terminal, improve user experience.
Description
Technical Field
The application relates to the technical field of antennas, in particular to a multi-WIFI module control method and device and terminal equipment.
Background
With the rapid development of internet technology, Wireless security (WIFI for short) gradually becomes a common network connection mode in people's daily life and work.
When the mobile terminal is located in the coverage area of the WIFI, a user can access the mobile terminal into a corresponding wireless network through a preset identity authentication mode (for example, inputting a preset password) so as to perform data transmission or web surfing through wireless connection.
However, when data transmission is performed by using wireless connection, two terminals need to be connected through the WIFI module, and at this time, a user cannot surf the internet by using a wireless network, which greatly affects the performance of the terminal and the use of the user.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present application is to provide a multi-WIFI module control method, which enables a terminal to simultaneously utilize a wireless network for data transmission and internet access, improves the performance of the terminal, and improves user experience.
A second objective of the present application is to provide a multi-WIFI module control device.
A third object of the present application is to provide a terminal device.
In order to achieve the above object, an embodiment of a first aspect of the present application provides a multi-WIFI module control method, including: determining the connection state of at least two WIFI modules in the terminal equipment; and adjusting antenna signals accessed by feed points of N antennas in the terminal equipment according to the connection state of the at least two WIFI modules, wherein N is an integer greater than or equal to 2.
The method for controlling multiple WIFI modules, where determining the connection status of at least two WIFI modules in the terminal device, includes:
intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
judging whether a first destination address in the first data packet meets a preset condition or not;
and if so, determining that the first WIFI module corresponding to the first source address is in a data transmission state.
In the above multi-WIFI module control method, the determining whether the destination address in the first data packet meets a preset condition includes:
judging whether a destination terminal corresponding to a first destination address in the first data packet is in the same local area network with the terminal equipment or not; or,
and judging whether the identification of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
The method for controlling multiple WIFI modules, where determining the connection status of at least two WIFI modules in the terminal device, includes:
intercepting a second data packet received by a wireless port of the terminal equipment, wherein the first data packet comprises a second source address and a second destination address;
judging whether a second source address in the second data packet meets a preset condition or not;
and if so, determining that the second WIFI module corresponding to the second destination address is in a data transmission state.
According to the multi-WIFI module control method, the adjusting the antenna signals accessed by the feed points of the N antennas in the terminal device according to the connection state of the at least two WIFI modules includes:
and if only a second WIFI module in the at least two WIFI modules is in a network connection state, controlling the feed points of the N antennas to be respectively connected with the antenna signals of the second WIFI module.
According to the multi-WIFI module control method, antenna signals accessed by feed points of N antennas in the terminal are adjusted according to the connection state of at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
In order to achieve the above object, an embodiment of a second aspect of the present application provides a multi-WIFI module control apparatus, including: the determining module is used for determining the connection state of at least two WIFI modules in the terminal equipment; and the adjusting module is used for adjusting antenna signals accessed by feed points of N antennas in the terminal equipment according to the connection state of the at least two WIFI modules, wherein N is an integer greater than or equal to 2.
The multi-WIFI module control apparatus as described above, the determining module includes:
the first intercepting unit is used for intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
the first judging unit is used for judging whether a first destination address in the first data packet meets a preset condition or not;
the first determining unit is configured to determine that the first WIFI module corresponding to the first source address is in a data transmission state if the first destination address in the first data packet meets a preset condition.
As above, the first determining unit is specifically configured to:
judging whether a destination terminal corresponding to a first destination address in the first data packet is in the same local area network with the terminal equipment or not; or,
and judging whether the identification of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
The multi-WIFI module control apparatus as described above, the determining module includes:
the second interception unit is used for intercepting a second data packet received by a wireless port of the terminal equipment, wherein the first data packet comprises a second source address and a second destination address;
the second judging unit is used for judging whether a second source address in the second data packet meets a preset condition or not;
and the second determining unit is configured to determine that the second WIFI module corresponding to the second destination address is in a data transmission state if the second source address in the second data packet meets a preset condition.
As above, the adjusting module of the multi-WIFI module control apparatus is specifically configured to:
and if only a second WIFI module in the at least two WIFI modules is in a network connection state, controlling the feed points of the N antennas to be respectively connected with the antenna signals of the second WIFI module.
The multi-WIFI-module control device provided by the embodiment of the application adjusts the antenna signals accessed by the feed points of the N antennas in the terminal according to the connection state of at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
To achieve the above object, a third aspect of the present application provides a terminal device, including one or more of the following components: the WIFI wireless communication device comprises a circuit board, a shell, a processor, a memory, a power circuit, at least two WIFI modules, N antennas and wireless ports; wherein the circuit board is arranged inside a space enclosed by the shell, and the processor, the memory and the at least two WIFI modules are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
determining the connection state of at least two WIFI modules in the terminal equipment;
adjusting antenna signals accessed by feed points of N antennas in the terminal equipment according to the connection state of the at least two WIFI modules, wherein N is an integer greater than or equal to 2
According to the terminal equipment, the antenna signals of the feed points of the N antennas in the terminal are adjusted according to the connection state of the at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a multi-WIFI module control method according to an embodiment of the present application;
fig. 2a is a schematic connection diagram of a multi-WIFI module and a WIFI antenna according to an embodiment of the present application;
fig. 2b is a schematic connection diagram of a multi-WIFI module and a WIFI antenna according to another embodiment of the present application;
fig. 2c is a schematic connection diagram of a multi-WIFI module and a WIFI antenna according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a multi-WIFI module control device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The multi-WIFI module control method, apparatus and terminal device according to the embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a multi-WIFI module control method according to an embodiment of the present application.
As shown in fig. 1, the multi-WIFI module control method includes:
step 101, determining connection states of at least two WIFI modules in the terminal equipment.
Specifically, the multi-WIFI module control method provided in this embodiment is specifically described by way of example when configured in a terminal device having multiple WIFI modules. It should be noted that the types of the terminal devices are many and can be selected according to application requirements, for example: cell-phone, IPAD, computer, wear equipment etc..
Specifically, in the embodiments of the present application, mainly for the prior art, when a terminal has only one WIFI module (chip), if data transmission is performed through WIFI connection, for example, when a mobile phone and a television in a local area network play videos in a screen-casting manner, it is necessary for the WIFI module in the mobile phone and the WIFI module in the television to establish point-to-point connection, at this time, a user cannot use the mobile phone to surf the internet, for example, browse news, and the like, which affects the user's use.
The connection state of the WIFI module means whether the wiififi module is in a data transmission connection state or an internet connection state. It can be understood that the internet connection state in the embodiment of the present application refers to that the WIFI module performs data transmission with a network or an application server, so that a user performs activities such as internet surfing, chatting, or gaming; and the data transmission connection state means that the connection is established between the terminals through WIFI so as to transmit data.
Specifically, the multi-WIFI module control device may determine the connection state of the WIFI module in the terminal device in the following various manners.
Example 1
Intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
judging whether a first destination address in the first data packet meets a preset condition or not;
and if so, determining that the first WIFI module corresponding to the first source address is in a data transmission state.
Specifically, since the data packets sent or received by the terminal device through the wireless network all pass through the wireless port of the terminal device, in this embodiment, the connection state of the WIFI module may be determined by monitoring the first destination address included in the first data packet sent by the terminal device through the wireless port.
Generally, a first destination address included in a first data packet sent by a WIFI module in a network connection state is a network server address, an application server address, and the like, while a first destination address included in a first data packet sent by the WIFI module in a data connection state is other terminal devices, such as a television, a mobile phone, and the like. Therefore, in this embodiment, it may be determined whether the first destination address included in the first data packet is an address of a device such as a television or a mobile phone, so as to determine whether the WIFI module that sends the first data packet is in a data transmission state.
Specifically, because two terminals capable of performing data transmission need to be located in the same local area network, when determining whether the first destination address in the first data packet is the device address, the following method may be implemented:
and judging whether a destination terminal corresponding to the destination address in the first data packet is in the same local area network with the terminal equipment.
For example, if the local area network address connected to the WIFI module in the terminal device is xxx.xxx, and the local area network address connected to the terminal corresponding to the first destination address included in the intercepted first data packet is also xxx.xxx, it may be determined that the destination terminal and the source terminal are located in the same local area network, and the two terminals establish a wireless connection.
Or, judging whether the identifier of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
Specifically, in the multi-WIFI module control device, the identifiers of other terminals that can establish wireless connection with the terminal device may be stored, so that after the first data packet is intercepted, it can be determined whether the identifier of the destination terminal corresponding to the first destination address in the first data packet is in the preset list.
It can be understood that if the first destination address of the first data packet does not meet the preset condition, it may be determined that the first WIFI module corresponding to the first source address is in an internet access connection state.
It should be noted that the first data packet may be one data packet or may be a plurality of data packets. Therefore, the multi-WIFI module control device can determine the connection state of each WIFI module in the terminal equipment according to the at least two data packets.
Example two
Intercepting a second data packet received by a wireless port of the terminal equipment, wherein the first data packet comprises a second source address and a second destination address;
judging whether a second source address in the second data packet meets a preset condition or not;
and if so, determining that the second WIFI module corresponding to the second destination address is in a data transmission state.
Specifically, the multi-WIFI module control device may further determine, according to a second source address included in a second received data packet, a connection state of the second WIFI module corresponding to the second destination address through the second data packet received by the wireless interface of the monitoring terminal device.
It can be understood that at least two WIFI modules in the terminal device may respectively operate in different connection states, and may also operate in the same connection state, which is not limited in this embodiment.
And step 102, adjusting antenna signals accessed by feed points of N antennas in the terminal equipment according to the connection state of the at least two WIFI modules, wherein N is an integer greater than or equal to 2.
Specifically, in order to meet the requirement that a plurality of WIFI modules in the terminal device work simultaneously, a plurality of WIFI antennas can be arranged in the terminal device, so that the feed points of the antennas are controlled to access different WIFI modules according to the connection state of the WIFI modules.
The multi-WIFI module control method provided by the application is further explained below by taking the terminal device including two WIFI antennas as an example.
Fig. 2a to fig. 2c are schematic diagrams illustrating connection between multiple WIFI modules and WIFI antennas provided in an embodiment of the present application. As shown in fig. 2, if the terminal device includes 2 WIFI modules and 3 WIFI antennas, the multiple WIFI module control device may set a connection form between a feed point of an antenna and an antenna signal in a form shown in fig. 2a or fig. 2b when it is determined that the WIFI module 1 is in a data transmission state and the WIFI module 2 is in an internet access connection state; if it is determined that only the WIFI module 1 is in a data connection or internet connection state, then the feed points of all antennas may be set to be in signal connection with the antennas of the WIFI module 1 in the form shown in fig. 2 c. Therefore, the terminal can simultaneously transmit data and surf the internet.
According to the multi-WIFI module control method, antenna signals accessed by feed points of N antennas in the terminal are adjusted according to the connection state of at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
In order to realize the above embodiment, the present application further provides a multi-WIFI module control device.
Fig. 3 is a schematic structural diagram of a multi-WIFI module control device according to an embodiment of the present application.
As shown in fig. 3, the multi-WIFI module control apparatus includes:
the determining module 31 is configured to determine connection states of at least two WIFI modules in the terminal device;
and the adjusting module 32 is configured to adjust antenna signals accessed by feed points of N antennas in the terminal device according to a connection state of the at least two WIFI modules, where N is an integer greater than or equal to 2.
Specifically, the multi-WIFI module control apparatus provided in this embodiment may be configured to execute the multi-WIFI module control method provided in the foregoing embodiment, and may be configured in a terminal device having a plurality of WIFI modules.
It should be noted that the types of the terminal devices are many and can be selected according to application requirements, for example: cell-phone, IPAD, wear equipment, computer etc..
Specifically, the determining module 31 may determine the connection state of each WIFI module in the terminal device in a plurality of manners. Accordingly, the determining module 31 may include:
the first intercepting unit is used for intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
the first judging unit is used for judging whether a first destination address in the first data packet meets a preset condition or not;
the first determining unit is configured to determine that the first WIFI module corresponding to the first source address is in a data transmission state if the first destination address in the first data packet meets a preset condition.
The first judging unit is specifically configured to:
judging whether a destination terminal corresponding to a first destination address in the first data packet is in the same local area network with the terminal equipment or not; or,
and judging whether the identification of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
Alternatively, the determining module 31 may further include:
the second interception unit is used for intercepting a second data packet received by a wireless port of the terminal equipment, wherein the first data packet comprises a second source address and a second destination address;
the second judging unit is used for judging whether a second source address in the second data packet meets a preset condition or not;
and the second determining unit is configured to determine that the second WIFI module corresponding to the second destination address is in a data transmission state if the second source address in the second data packet meets a preset condition.
The specific determination process of the second determination unit is similar to that of the first determination unit, and is not described herein again.
Further, the adjusting module 32 is specifically configured to:
and if only a second WIFI module in the at least two WIFI modules is in a network connection state, controlling the feed points of the N antennas to be respectively connected with the antenna signals of the second WIFI module.
It should be noted that the foregoing explanation on the embodiment of the multi-WIFI module control method is also applicable to the multi-WIFI module control apparatus of this embodiment, and details are not repeated here.
According to the multi-WIFI module control method, antenna signals accessed by feed points of N antennas in the terminal are adjusted according to the connection state of at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For example, the terminal device 400 may be a mobile phone or the like.
Referring to fig. 4, terminal device 400 may include one or more of the following components: the wireless communication device comprises a circuit board 401, a shell 402, a processor 403, a memory 404, a power circuit 405, at least two WIFI modules 406, N antennas 407 and a wireless port 408; wherein the circuit board 401 is disposed inside a space enclosed by the housing 402, and the processor 403, the memory 404 and the at least two WIFI modules 406 are disposed on the circuit board 401; the power supply circuit 405 for
Supplying power to each circuit or device of the mobile terminal; the memory 404 is used for storing executable program code;
the processor 403 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 404, for performing the following steps:
determining the connection state of at least two WIFI modules in the terminal equipment;
and adjusting antenna signals accessed by feed points of N antennas in the terminal equipment according to the connection state of the at least two WIFI modules, wherein N is an integer greater than or equal to 2.
It should be noted that the foregoing explanation of the embodiment of the multi-WIFI module control method is also applicable to the terminal device of this embodiment, and the implementation principle is similar, and is not described herein again.
According to the terminal equipment, the antenna signals of the feed points of the N antennas in the terminal are adjusted according to the connection state of the at least two WIFI modules in the terminal. Therefore, the terminal can simultaneously utilize the wireless network to carry out data transmission and internet surfing, the performance of the terminal is improved, and the user experience is improved.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (9)
1. A multi-WIFI module control method is characterized by comprising the following steps:
determining whether two WIFI modules in the terminal equipment are in a data transmission connection state or an internet connection state according to at least two data packets sent or received by the terminal equipment, wherein the internet connection state refers to that the WIFI modules perform data transmission with a network or an application server, and the data transmission connection state refers to that the terminal and the terminal establish connection through WIFI for data transmission;
if the two WIFI modules are in a data transmission connection state or an internet connection state, connecting the feed points of two antennas in the 3 WIFI antennas with the antenna signal of one WIFI module, connecting the feed points of the antennas which are not connected in the 3 WIFI antennas with the antenna signal of the other WIFI module,
if only one of the two WIFI modules is in a data transmission connection state or an internet connection state, and the other WIFI module is not in the data transmission connection state or the internet connection state, the feed points of the 3 WIFI antennas are connected with the antenna signals of the WIFI modules in the data transmission connection state or the internet connection state.
2. The method of claim 1, wherein the determining whether two WIFI modules in a terminal device are in a data transmission connection comprises:
intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
judging whether a first destination address in the first data packet meets a preset condition or not;
and if so, determining that the first WIFI module corresponding to the first source address is in a data transmission state.
3. The method as claimed in claim 2, wherein said determining whether the destination address in the first packet satisfies a predetermined condition comprises:
judging whether a destination terminal corresponding to a first destination address in the first data packet is in the same local area network with the terminal equipment or not; or,
and judging whether the identification of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
4. The method of claim 1, wherein the determining whether two WIFI modules in the terminal device are in an internet connection state comprises:
intercepting a second data packet received by a wireless port of the terminal equipment, wherein the second data packet comprises a second source address and a second destination address;
judging whether a second source address in the second data packet meets a preset condition or not;
and if so, determining that the second WIFI module corresponding to the second destination address is in a data transmission state.
5. The utility model provides a many WIFI module controlling means which characterized in that includes:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining whether two WIFI modules in the terminal equipment are in a data transmission connection state or an internet connection state according to at least two data packets sent or received by the terminal equipment, the internet connection state refers to that the WIFI modules perform data transmission with a network or an application server, and the data transmission connection state refers to that the terminal and the terminal establish connection through WIFI so as to perform data transmission;
an adjusting module, which is used for connecting the feeding points of two antennas in the 3 WIFI antennas with the antenna signal of one WIFI module and connecting the feeding points of the unconnected antennas in the 3 WIFI antennas with the antenna signal of the other WIFI module if the two WIFI modules are both in a data transmission connection state or an internet connection state,
if only one of the two WIFI modules is in a data transmission connection state or an internet connection state, and the other WIFI module is not in the data transmission connection state or the internet connection state, the feed points of the 3 WIFI antennas are connected with the antenna signals of the WIFI modules in the data transmission connection state or the internet connection state.
6. The apparatus of claim 5, wherein the determining module comprises:
the first intercepting unit is used for intercepting a first data packet sent by a wireless port of the terminal equipment, wherein the first data packet comprises a first source address and a first destination address;
the first judging unit is used for judging whether a first destination address in the first data packet meets a preset condition or not;
the first determining unit is configured to determine that the first WIFI module corresponding to the first source address is in a data transmission state if the first destination address in the first data packet meets a preset condition.
7. The apparatus of claim 6, wherein the first determining unit is specifically configured to:
judging whether a destination terminal corresponding to a first destination address in the first data packet is in the same local area network with the terminal equipment or not; or,
and judging whether the identification of the destination terminal corresponding to the first destination address in the first data packet is in a preset list.
8. The apparatus of claim 5, wherein the determining module comprises:
the second intercepting unit is used for intercepting a second data packet received by a wireless port of the terminal equipment, wherein the second data packet comprises a second source address and a second destination address;
the second judging unit is used for judging whether a second source address in the second data packet meets a preset condition or not;
and the second determining unit is configured to determine that the second WIFI module corresponding to the second destination address is in a data transmission state if the second source address in the second data packet meets a preset condition.
9. A terminal device, comprising one or more of the following components: the wireless communication device comprises a circuit board, a shell, a processor, a memory, a power circuit, two WIFI modules, 3 antennas and wireless ports; wherein the circuit board is arranged in a space enclosed by the shell, and the processor, the memory and the two WIFI modules are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
determining whether two WIFI modules in the terminal equipment are in a data transmission connection state or an internet connection state according to at least two data packets sent or received by the terminal equipment, wherein the internet connection state refers to that the WIFI modules perform data transmission with a network or an application server, and the data transmission connection state refers to that the terminal and the terminal establish connection through WIFI for data transmission;
if the two WIFI modules are in a data transmission connection state or an internet connection state, connecting the feed points of two antennas in the 3 WIFI antennas with the antenna signal of one WIFI module, connecting the feed points of the antennas which are not connected in the 3 WIFI antennas with the antenna signal of the other WIFI module,
if only one of the two WIFI modules is in a data transmission connection state or an internet connection state, and the other WIFI module is not in the data transmission connection state or the internet connection state, the feed points of the 3 WIFI antennas are connected with the antenna signals of the WIFI modules in the data transmission connection state or the internet connection state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610861146.4A CN106455132B (en) | 2016-09-28 | 2016-09-28 | More WIFI module control methods, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610861146.4A CN106455132B (en) | 2016-09-28 | 2016-09-28 | More WIFI module control methods, device and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106455132A CN106455132A (en) | 2017-02-22 |
CN106455132B true CN106455132B (en) | 2019-10-18 |
Family
ID=58169986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610861146.4A Expired - Fee Related CN106455132B (en) | 2016-09-28 | 2016-09-28 | More WIFI module control methods, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106455132B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107040810A (en) * | 2017-04-25 | 2017-08-11 | 宇龙计算机通信科技(深圳)有限公司 | Multimedia projection method, terminal and display device |
CN108112052B (en) * | 2017-12-13 | 2021-09-10 | 广东美的制冷设备有限公司 | Terminal network sharing method and device, air conditioner and storage medium |
CN109947469B (en) * | 2019-03-08 | 2021-09-17 | 广州安加互联科技有限公司 | Address division method, device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954040A (en) * | 2015-06-10 | 2015-09-30 | 联想(北京)有限公司 | Method for determining antenna use and electronic equipment |
CN105450676A (en) * | 2014-05-30 | 2016-03-30 | 展讯通信(上海)有限公司 | Network sharing method and device, and network sharing system |
CN205142536U (en) * | 2015-08-28 | 2016-04-06 | 深圳市信锐网科技术有限公司 | Wireless access apparatus |
CN105744648A (en) * | 2016-01-30 | 2016-07-06 | 努比亚技术有限公司 | Mobile terminal and communication method |
CN105759937A (en) * | 2016-02-03 | 2016-07-13 | 努比亚技术有限公司 | Method for lowering terminal power consumption and terminal |
-
2016
- 2016-09-28 CN CN201610861146.4A patent/CN106455132B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105450676A (en) * | 2014-05-30 | 2016-03-30 | 展讯通信(上海)有限公司 | Network sharing method and device, and network sharing system |
CN104954040A (en) * | 2015-06-10 | 2015-09-30 | 联想(北京)有限公司 | Method for determining antenna use and electronic equipment |
CN205142536U (en) * | 2015-08-28 | 2016-04-06 | 深圳市信锐网科技术有限公司 | Wireless access apparatus |
CN105744648A (en) * | 2016-01-30 | 2016-07-06 | 努比亚技术有限公司 | Mobile terminal and communication method |
CN105759937A (en) * | 2016-02-03 | 2016-07-13 | 努比亚技术有限公司 | Method for lowering terminal power consumption and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106455132A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10165613B2 (en) | Control method for bluetooth communication and bluetooth low energy communication | |
EP3668204B1 (en) | Network registration method of internet of things device, and device therefor | |
US11910418B2 (en) | Electronic device and method for determining uplink operation in wireless communication system | |
CN109672708B (en) | Communication method, device and system | |
US20190238613A1 (en) | Self-Organizing Network Communication | |
JP6865213B2 (en) | How to Test a Low Power Radio Frequency (RF) Data Package Signal Transmitter / Receiver | |
CN108243192B (en) | Method and system for identifying application access network | |
CN112449418B (en) | Communication method and device | |
US12081294B2 (en) | NR MIMO operation enhancement | |
US11903062B2 (en) | Method for operating application requiring communication with external device, and electronic device therefor | |
CN106455132B (en) | More WIFI module control methods, device and terminal device | |
CN104219734A (en) | Internet access method and device for internet device | |
WO2016093847A1 (en) | Discovery mechanism for service server connection | |
CN104270188A (en) | Beidou satellite communication equipment | |
CN105981416B (en) | The method for managing several profiles in safety element | |
US20190043286A1 (en) | User identification card control method, terminal, and computer storage medium | |
EP3048858B1 (en) | Wireless customer premise equipment and accessing method therefor | |
JP2023546564A (en) | Electronic devices that support multiple sims and how they operate | |
CN115883043A (en) | Communication indication method, terminal and network side equipment | |
CN115643625A (en) | Multi-path data sending method, device and equipment | |
CN105760770A (en) | Information processing method and electronic device | |
WO2018086304A1 (en) | Wireless network access method, and terminal device | |
US20240259786A1 (en) | Capability Change Method, Terminal, and Network Side Device | |
US11523450B2 (en) | Method and electronic device for information processing | |
US11464018B2 (en) | Electronic device and method for setting transmission path in electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191018 |