CN109362121B - Sharing method and device of wireless local area network, storage medium and terminal - Google Patents
Sharing method and device of wireless local area network, storage medium and terminal Download PDFInfo
- Publication number
- CN109362121B CN109362121B CN201811386444.8A CN201811386444A CN109362121B CN 109362121 B CN109362121 B CN 109362121B CN 201811386444 A CN201811386444 A CN 201811386444A CN 109362121 B CN109362121 B CN 109362121B
- Authority
- CN
- China
- Prior art keywords
- sharing
- information
- network
- link
- wireless
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/0413—MIMO systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
- H04W76/16—Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a sharing method, a sharing device, a storage medium and a terminal of a wireless local area network, wherein the method comprises the following steps: firstly, acquiring electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information; then, determining a sharing mode of a wireless network according to the electric quantity information or the network access information; and finally, sharing the wireless network according to the sharing mode. And a proper sharing mode can be selected according to the electric quantity information and/or the network access information, so that the sharing efficiency and the resource utilization rate of the wireless local area network are improved.
Description
Technical Field
The embodiment of the application relates to the technical field of mobile terminals, in particular to a sharing method and device of a wireless local area network, a storage medium and a terminal.
Background
As mobile terminals are continuously developed, more diversified network connection schemes, especially wireless local area network sharing schemes, are required for the mobile terminals. The current wireless local area network scheme adopts a time division mechanism, and the sharing efficiency of the wireless local area network is low in such a way. How to improve the sharing efficiency of the wlan becomes an urgent problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a sharing method and apparatus for a wireless local area network, a storage medium, and a terminal, which can improve the sharing efficiency of the wireless local area network.
In a first aspect, an embodiment of the present application provides a sharing method for a wireless local area network, including:
acquiring electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information;
determining a sharing mode of a wireless network according to the electric quantity information or the network access information;
and sharing the wireless network according to the sharing mode.
In a second aspect, an embodiment of the present application provides a sharing apparatus for a wireless local area network, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring electric quantity information or network access information of a terminal, and the network access information comprises access quantity information or flow demand information;
the determining module is used for determining a sharing mode of a wireless network according to the electric quantity information or the network access information acquired by the acquiring module;
and the sharing module is used for sharing the wireless network according to the sharing mode determined by the determining module.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the sharing method of the wireless local area network as shown in the first aspect.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the sharing method of the wireless local area network according to the first aspect.
According to the sharing scheme of the wireless local area network, firstly, electric quantity information or network access information of a terminal is obtained, wherein the network access information comprises access quantity information or flow demand information; then, determining a sharing mode of a wireless network according to the electric quantity information or the network access information; and finally, sharing the wireless network according to the sharing mode. And a proper sharing mode can be selected according to the electric quantity information and/or the network access information, so that the sharing efficiency and the resource utilization rate of the wireless local area network are improved.
Drawings
Fig. 1 is a flowchart illustrating a sharing method of a wireless local area network according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating another sharing method for a wireless local area network according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another sharing method for a wireless local area network according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another sharing method for a wireless local area network according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another sharing method for a wireless local area network according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another sharing method for a wireless local area network according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a sharing device of a wireless local area network according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
As mobile terminals are continuously developed, more diversified network connection schemes, especially wireless local area network sharing schemes, are required for the mobile terminals. Currently, mobile terminal Networks share existing multiple modes, such as a bluetooth sharing network, a Wireless Local Area Network (WLAN) sharing network, and a USB sharing network, where the shared network may be a WLAN network or a mobile data network. Bluetooth has a low rate and therefore has few users. The USB shared network is mainly used for devices lacking a wireless network card, such as desktop computers. WLAN-based shared networks are widely used because of their high speed, widespread light, and no cable constraints. WLAN networks are shared over WLANs and have gradually begun to spread in mobile terminals because they are not traffic constrained. The current WLAN sharing WLAN network adopts a time division mechanism, that is, the sharing terminal prestores information sent from a wireless Access Point (AP) terminal first, and then forwards the information to the access terminal. The time division working mode inevitably brings efficiency reduction, so that the network speed of the sharers or the access persons is reduced, and the internet surfing experience is influenced.
Based on this, the embodiment of the present application provides a sharing method for a wireless local area network, which can select a suitable sharing mode according to electric quantity information and/or network access information, improve sharing efficiency and resource utilization rate of the wireless local area network, and achieve compromise in performance, efficiency, and power consumption. The specific scheme is as follows:
fig. 1 is a flowchart illustrating a sharing method for a wireless local area network according to an embodiment of the present application, where the method is used in a case where a terminal performs WLAN sharing in a wireless local area network, where the case may include a sharing terminal and one or more access terminals of the sharing network, and the access terminals perform internet access through the wireless local area network shared by the sharing terminal. The method can be executed by a sharing terminal with a wireless local area network signal transceiving function, the mobile terminal can be a smart phone, a tablet computer, wearable equipment, a notebook computer and the like, and the method specifically comprises the following steps:
The terminal power information is the current remaining power, and the power information may be the percentage of the current remaining power to the total power. The access number information may be the number of terminals that have accessed the shared wireless local area network, including shared terminals providing the shared service and access terminals enjoying the shared network. The access number information may also be the number of access terminals that access the shared network through the current shared terminal. The traffic demand information may include traffic values that the access terminal is expected to need to use, or traffic values that the shared terminal allows the access terminal to use. The electric quantity information can be acquired through a local system of the sharing terminal. The network access information may be obtained through the AP or the access terminal.
And step 120, determining a sharing mode of the wireless network according to the electric quantity information or the network access information.
And when the electric quantity information is higher, the sharing mode is further determined through network access information. If the network access information has larger requirements, a first sharing mode is used; if the requirement in the network access information is less, the second sharing mode is used. When the power information is low, it is not suitable for a large amount of wireless network sharing, so the third sharing mode is used. The power consumption of the first sharing mode, the second sharing mode and the third sharing mode is reduced, and the quality of the provided wireless local area network is reduced in sequence.
The current wireless local area network cannot determine a corresponding sharing mode according to the electric quantity information or the network access information, and can only use a fixed SISO mode to carry out wireless network sharing of a time division mechanism, so that the utilization rate of system resources is low, and the sharing efficiency is low.
And step 130, sharing the wireless network according to the sharing mode.
And after the sharing mode is determined, sharing the wireless network by using a sharing mechanism corresponding to the sharing mode.
The sharing method of the wireless local area network provided by the embodiment of the application comprises the steps of firstly obtaining electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information; then, determining a sharing mode of the wireless network according to the electric quantity information or the network access information; and finally, sharing the wireless network according to the sharing mode. Compared with the current wireless local area network, the wireless local area network cannot determine a corresponding sharing mode according to the electric quantity information or the network access information, and only can use a fixed SISO mode to carry out wireless network sharing of a time division mechanism, so that the utilization rate of system resources is low, and the sharing efficiency is low. In addition, in the SISO-based time division wireless network sharing mechanism, the sharing terminal needs to receive and forward the information issued by the AP, so that the access terminal cannot quickly acquire the information issued by the AP. According to the sharing method of the wireless local area network, a proper sharing mode can be selected according to the electric quantity information and/or the network access information, three different sharing modes can adapt to the use conditions of the electric quantity of different terminals and the network access information, then the wireless network sharing is carried out on more reasonable local resources, and the sharing efficiency and the resource utilization rate of the wireless local area network are improved.
Fig. 2 is a flowchart of a sharing method of a wireless local area network according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
And step 220, if the electric quantity information is greater than the preset electric quantity threshold value and the network access information is greater than the preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link.
The preset charge threshold may be set by the user, for example, to 50%, 60%, or 80%. And further, the setting can be carried out according to the individual refinement of the user, and the individuation and the usability are improved.
The preset electric quantity threshold value can be obtained through deep learning, the preset electric quantity threshold value which is most suitable for the current terminal configuration and the load is determined by inputting the preset electric quantity threshold values set by a plurality of users (such as thousands of users or more), and then the preset electric quantity threshold value is positioned more accurately.
The network access information may also be set by the user himself, and the user may set the number of access terminals himself, such as 2 or 10. And further, the setting can be carried out according to the individual refinement of the user, and the individuation and the usability are improved.
The preset electric quantity threshold value can also be obtained through deep learning, and the preset access threshold value which is most suitable for the current terminal configuration, the current network environment and the load is determined by inputting the preset access threshold values set by a plurality of users (such as thousands of users or more), so that the preset access threshold value is positioned more accurately.
The first link is connected with the first AP and the second link is connected with the second AP. And the first link and the second link respectively carry out network sharing of a time division mechanism, so that sharing of the wireless local area networks corresponding to the connected APs is realized.
It should be noted that the present application may use 2 × 2 MIMO technology, and may also use 3 × 3 or even higher count MIMO technology. And correspondingly configuring a link for each antenna to realize the shared channel of the corresponding wireless local area network.
According to the sharing method of the wireless local area networks, synchronous sharing of the two wireless local area networks can be achieved through the first link and the second link, and compared with the situation that one terminal only can share one wireless local area network in the related art, synchronous sharing of at least two wireless local area networks can be achieved through the first link and the second link, and sharing efficiency is improved.
Fig. 3 is a flowchart of a sharing method of a wireless local area network according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
And step 320, if the electric quantity information is greater than the preset electric quantity threshold value and the network access information is greater than the preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link. Step 330 is performed.
And 340, if the electric quantity information is greater than a preset electric quantity threshold value and the network access information is less than a preset access threshold value, acquiring flow data, wherein the flow data comprises flow demand data or network speed information.
And 350, if the flow data is larger than the preset flow data threshold, connecting the third wireless access point through the first link, and sharing the wireless local area network through the second link.
And step 360, the first link receives downlink data sent by the third wireless access point, and the second link sends the downlink data to the shared network in real time.
According to the sharing method of the wireless local area network, the first link is connected with the AP, data issued by the AP can be received in real time, meanwhile, the second link can share the data issued by the AP through the first link in real time, the defect that downlink and sharing in a time division mechanism need to be carried out in a time-sharing mode is overcome, real-time linkage of downlink and wireless sharing of the AP is achieved, and the sharing efficiency of the wireless local area network is further improved.
Fig. 4 is a flowchart of a sharing method of a wireless local area network according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
and step 410, acquiring power information or network access information of the terminal, wherein the network access information comprises access quantity information or flow demand information.
And step 420, if the electric quantity information is greater than the preset electric quantity threshold value and the network access information is greater than the preset access threshold value, connecting with the first wireless access point through the first link and connecting with the second wireless access point through the second link.
And step 430, the first link and the second link carry out wireless local area network sharing of a time division mechanism.
And step 450, if the flow data is larger than the preset flow data threshold, connecting the third wireless access point through the first link, and sharing the wireless local area network through the second link.
The sharing method of the wireless local area network provided by the embodiment of the application can be connected with the AP through the MIMO mechanism when the electric quantity is low or the network access requirement is low, so that a small amount of sharing is provided while the power consumption of the terminal is reduced, further, the phenomenon that the sharing consumes too much electric quantity is avoided, and the endurance time of the terminal is prolonged.
Fig. 5 is a flowchart of a sharing method of a wireless local area network according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
and step 510, acquiring electric quantity information or network access information of the terminal, wherein the network access information comprises access quantity information or flow demand information.
And step 520, determining a sharing mode of the wireless network according to the electric quantity information or the network access information.
And 540, selecting a non-overlapping channel from the plurality of channels corresponding to the target link as a shared channel of a plurality of shared networks for network sharing.
Further, selecting a non-overlapping channel as a shared channel of multiple shared networks for network sharing may be implemented as: acquiring the use frequency of each non-overlapping channel; and determining a target shared channel according to the use frequency of the non-overlapping channels, and performing network sharing through the target shared channel.
The sharing method of the wireless local area network provided by the embodiment of the application can select the non-overlapping channel as the shared channel of a plurality of shared networks, thereby avoiding co-frequency or adjacent frequency interference and improving the sharing stability of the wireless local area network.
Fig. 6 is a flowchart of a sharing method of a wireless local area network according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
And step 630, determining a sharing mode of the wireless network according to the electric quantity information or the network access information.
And step 640, sharing the wireless network according to the sharing mode.
According to the sharing method of the wireless local area network, the user can select the wireless network MIMO sharing mode through the first instruction, and usability is improved.
The above embodiments provide three sharing modes of the wireless local area network, which are respectively:
1. the method is in a double-link (Chain) and double-hotspot network sharing mode, namely two chains of Chain are respectively connected to two AP (access point) ends, and then the network is shared in a traditional time division mode. In order to avoid co-frequency or adjacent-frequency interference, two completely non-overlapping channels can be optimally selected by the two hot spots according to the utilization rate of each channel to serve as network shared channels, such as 2.4G channels 1, 6 and 11, 5G channels, and 2.4G and 5G channels.
2. The method is characterized in that a dual-link (Chain) single-hotspot network sharing mode is adopted, namely one path of Chain is connected to an AP (access point) end, the other path of Chain shares a WLAN (wireless local area network), and a channel optimal selection strategy is also used for determining a hotspot sharing channel.
3. The single link (Chain) single hotspot network sharing mode is that only one Chain of Chain is opened during network sharing, which is somewhat similar to the traditional SISO mode, and the network is shared in a time division mode. But, the sharing terminal and the AP adopt MIMO communication (if the AP also supports MIMO communication).
The three network sharing modes have advantages and disadvantages, and are shown in a summary table 1. The first double-link double-hotspot network sharing mode is suitable for a scene of multi-user access hotspots, is used for network distribution, and ensures that the internet access rate of an access user is maximized. But the disadvantage is that the power consumption of two links working simultaneously is large (when the link is used as a hot spot, the transmission time is increased, so the power consumption is much larger than that when the hot spot is closed). The second double-link single-hotspot network sharing mode is suitable for scenes with fewer access devices, and because only one link participates in hotspot sharing, the power consumption is lower than that of the first mode, and the efficiency and the network speed are the highest among the three modes. The disadvantage is that the number of access devices is smaller than in the first. The third mode is similar to the conventional SISO network sharing mode, but because MIMO is still used for communication with the AP, the efficiency and network speed are slightly better than those of the conventional SISO network sharing mode, which is equivalent to the first mode but inferior to the second mode.
TABLE 1
By integrating the three WLAN network sharing modes, efficiency, performance, and power consumption are balanced, and the following working mechanism is proposed in the embodiment of the present application. The user can set the threshold N of the number of the access devices, the threshold M of the total flow demand and the threshold X% of the remaining electric quantity by himself. When the electric quantity allowance is larger than X%, if the number of the access devices is larger than N, a first network sharing mode is adopted; and if the total flow demand is less than N and greater than M, adopting a second network sharing mode, otherwise, adopting a third network sharing mode. And when the electric quantity margin is less than or equal to X%, the highest priority is adopted, and a third network sharing mode is adopted forcibly. The operation of the mechanism is summarized in table 2.
TABLE 2
Fig. 7 is a schematic structural diagram of a sharing device of a wireless local area network according to an embodiment of the present disclosure. As shown in fig. 7, the apparatus includes: an acquisition module 710, a determination module 720, and a sharing module 730.
An obtaining module 710, configured to obtain power information or network access information of a terminal, where the network access information includes access quantity information or traffic demand information;
a determining module 720, configured to determine a sharing mode of a wireless network according to the power information or the network access information acquired by the acquiring module 710;
a sharing module 730, configured to share the wireless network according to the sharing manner determined by the determining module 720.
Further, the determining module 720 is configured to:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is larger than a preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link;
accordingly, the sharing module 730 is configured to: the first link and the second link are shared by wireless local area networks of a time division mechanism.
Further, the determining module 720 is configured to: if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, acquiring flow data, wherein the flow data comprises flow demand data or network speed information;
if the flow data is larger than a preset flow data threshold value, the first link is connected with a third wireless access point, and wireless local area network sharing is carried out through a second link;
accordingly, the sharing module 730 is configured to: and the first link receives downlink data sent by the third wireless access point, and the second link sends the downlink data to a shared network in real time.
Further, the determining module 720 is configured to: if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, or if the electric quantity information is smaller than the preset electric quantity threshold value, connecting a fourth wireless access point in a multi-input multi-output mode through a first link;
accordingly, the sharing module 730 is configured to: the first link is shared by wireless local area networks of a time division mechanism.
Further, the sharing module 730 is configured to: determining a target link according to a sharing mode;
and selecting a non-overlapped channel from a plurality of channels corresponding to the target link as a shared channel of a plurality of shared networks for network sharing.
Further, the sharing module 730 is configured to select a non-overlapping channel as a shared channel of multiple shared networks for network sharing, and includes:
acquiring the use frequency of each non-overlapping channel;
and determining a target shared channel according to the use frequency of the non-overlapped channel, and performing network sharing through the target shared channel.
Further, the obtaining module 710 is further configured to configure a first instruction triggering module on the wireless network sharing setting interface, where the first instruction is used to start wireless network sharing based on multiple inputs and multiple outputs;
and when a first instruction triggered by a user is detected, acquiring the electric quantity information or the network access information of the terminal.
In the sharing device of the wireless local area network provided in the embodiment of the present application, first, the obtaining module 710 obtains the power information or the network access information of the terminal, where the network access information includes access quantity information or traffic demand information; then, the determining module 720 determines a sharing mode of the wireless network according to the power information or the network access information; finally, the sharing module 730 shares the wireless network according to the sharing manner. Compared with the time division wireless network sharing mechanism based on SISO, the sharing terminal needs to receive and forward the information issued by the AP, so that the access terminal cannot rapidly acquire the information issued by the AP. According to the sharing method of the wireless local area network, a proper sharing mode can be selected according to the electric quantity information and/or the network access information, three different sharing modes can adapt to the use conditions of the electric quantity of different terminals and the network access information, then the wireless network sharing is carried out on more reasonable local resources, and the sharing efficiency and the resource utilization rate of the wireless local area network are improved.
The device can execute the methods provided by all the embodiments of the application, and has corresponding functional modules and beneficial effects for executing the methods. For details of the technology not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present application.
Fig. 8 is a schematic structural diagram of another terminal device provided in an embodiment of the present application. As shown in fig. 8, the terminal may include: a housing (not shown), a memory 801, a Central Processing Unit (CPU) 802 (also called a processor, hereinafter referred to as CPU), a computer program stored in the memory 801 and operable on the processor 802, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU802 and the memory 801 are provided on a circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; a memory 801 for storing executable program code; the CPU802 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 801.
The terminal further includes: peripheral interface 803, RF (Radio Frequency) circuitry 805, audio circuitry 806, speakers 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/control devices 810, and external port 804, which communicate over one or more communication buses or signal lines 807.
It should be understood that the illustrated terminal device 800 is merely one example of a terminal, and that the terminal device 800 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device provided in this embodiment, where the terminal device is a smart phone as an example.
Peripheral interface 803, peripheral interface 803 may connect input and output peripherals of the device to CPU802 and memory 801.
I/O subsystems 809, I/O subsystems 809 can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 may include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Where one or more input controllers 8092 receive electrical signals from or transmit electrical signals to other input/control devices 810, other input/control devices 810 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 8092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
The touch screen 812 may be a resistive type, a capacitive type, an infrared type, or a surface acoustic wave type, according to the operating principle of the touch screen and the classification of media for transmitting information. The touch screen 812 may be classified by installation method: external hanging, internal or integral. Classified according to technical principles, the touch screen 812 may be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen, or a surface acoustic wave technology touch screen.
The display controller 8091 in the I/O subsystem 809 receives electrical signals from the touch screen 812 or sends electrical signals to the touch screen 812. The touch screen 812 detects a contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 812, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 812 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 805 is mainly used to establish communication between the smart speaker and a wireless network (i.e., a network side), and implement data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.
The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electric signal, and transmit the electric signal to the speaker 811.
And the power management chip 808 is used for supplying power and managing power to the hardware connected with the CPU802, the I/O subsystem and the peripheral interface.
In this embodiment, the cpu802 is configured to:
acquiring electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information;
determining a sharing mode of a wireless network according to the electric quantity information or the network access information;
and sharing the wireless network according to the sharing mode.
Further, the determining a sharing mode of the wireless network according to the electric quantity information or the network access information includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is larger than a preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
the first link and the second link are shared by wireless local area networks of a time division mechanism.
Further, the determining a sharing mode of the wireless network according to the power information or the network access information further includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, acquiring flow data, wherein the flow data comprises flow demand data or network speed information;
if the flow data is larger than a preset flow data threshold value, the first link is connected with a third wireless access point, and wireless local area network sharing is carried out through a second link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
and the first link receives downlink data sent by the third wireless access point, and the second link sends the downlink data to a shared network in real time.
Further, the determining a sharing mode of the wireless network according to the power information or the network access information further includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, or if the electric quantity information is smaller than the preset electric quantity threshold value, connecting a fourth wireless access point in a multi-input multi-output mode through a first link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
the first link is shared by wireless local area networks of a time division mechanism.
Further, the sharing the wireless network according to the sharing manner includes:
determining a target link according to a sharing mode;
and selecting a non-overlapped channel from a plurality of channels corresponding to the target link as a shared channel of a plurality of shared networks for network sharing.
Further, the selecting a non-overlapping channel as a shared channel of a plurality of shared networks for network sharing includes:
acquiring the use frequency of each non-overlapping channel;
and determining a target shared channel according to the use frequency of the non-overlapped channel, and performing network sharing through the target shared channel.
Further, before obtaining the power information or the network access information of the terminal, the method includes:
configuring a first instruction triggering module on a wireless network sharing setting interface, wherein the first instruction is used for starting wireless network sharing based on multiple input multiple output;
correspondingly, the acquiring the power information or the network access information of the terminal includes:
and when a first instruction triggered by a user is detected, acquiring the electric quantity information or the network access information of the terminal.
The present application further provides a storage medium containing terminal device executable instructions, which when executed by a terminal device processor, are configured to perform a sharing method for a wireless local area network, where the method includes:
acquiring electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information;
determining a sharing mode of a wireless network according to the electric quantity information or the network access information;
and sharing the wireless network according to the sharing mode.
Further, the determining a sharing mode of the wireless network according to the electric quantity information or the network access information includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is larger than a preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
the first link and the second link are shared by wireless local area networks of a time division mechanism.
Further, the determining a sharing mode of the wireless network according to the power information or the network access information further includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, acquiring flow data, wherein the flow data comprises flow demand data or network speed information;
if the flow data is larger than a preset flow data threshold value, the first link is connected with a third wireless access point, and wireless local area network sharing is carried out through a second link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
and the first link receives downlink data sent by the third wireless access point, and the second link sends the downlink data to a shared network in real time.
Further, the determining a sharing mode of the wireless network according to the power information or the network access information further includes:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, or if the electric quantity information is smaller than the preset electric quantity threshold value, connecting a fourth wireless access point in a multi-input multi-output mode through a first link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
the first link is shared by wireless local area networks of a time division mechanism.
Further, the sharing the wireless network according to the sharing manner includes:
determining a target link according to a sharing mode;
and selecting a non-overlapped channel from a plurality of channels corresponding to the target link as a shared channel of a plurality of shared networks for network sharing.
Further, the selecting a non-overlapping channel as a shared channel of a plurality of shared networks for network sharing includes:
acquiring the use frequency of each non-overlapping channel;
and determining a target shared channel according to the use frequency of the non-overlapped channel, and performing network sharing through the target shared channel.
Further, before obtaining the power information or the network access information of the terminal, the method includes:
configuring a first instruction triggering module on a wireless network sharing setting interface, wherein the first instruction is used for starting wireless network sharing based on multiple input multiple output;
correspondingly, the acquiring the power information or the network access information of the terminal includes:
and when a first instruction triggered by a user is detected, acquiring the electric quantity information or the network access information of the terminal.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the sharing operation of the wireless local area network described above, and may also perform related operations in the application recommendation method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (6)
1. A sharing method for a wireless local area network, comprising:
acquiring electric quantity information or network access information of a terminal, wherein the network access information comprises access quantity information or flow demand information;
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is larger than a preset access threshold value, connecting the first wireless access point through a first link and connecting the second wireless access point through a second link; the first link and the second link are shared by wireless local area networks of a time division mechanism;
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, acquiring flow data, wherein the flow data comprises flow demand data or network speed information; if the flow data is larger than a preset flow data threshold value, the first link is connected with a third wireless access point, and wireless local area network sharing is carried out through a second link; and the first link receives downlink data sent by the third wireless access point, and the second link sends the downlink data to a shared network in real time.
2. The sharing method of the wireless local area network according to claim 1, wherein the determining the sharing mode of the wireless network according to the power information or the network access information further comprises:
if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is smaller than a preset access threshold value, or if the electric quantity information is smaller than the preset electric quantity threshold value, connecting a fourth wireless access point in a multi-input multi-output mode through a first link;
correspondingly, the sharing the wireless network according to the sharing mode includes:
the first link is shared by wireless local area networks of a time division mechanism.
3. The sharing method of the wireless local area network according to claim 1 or 2, wherein before acquiring the power information or the network access information of the terminal, the method comprises:
configuring a first instruction triggering module on a wireless network sharing setting interface, wherein the first instruction is used for starting wireless network sharing based on multiple input multiple output;
correspondingly, the acquiring the power information or the network access information of the terminal includes:
and when a first instruction triggered by a user is detected, acquiring the electric quantity information or the network access information of the terminal.
4. An apparatus for sharing a wireless local area network, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring electric quantity information or network access information of a terminal, and the network access information comprises access quantity information or flow demand information;
the determining module is used for connecting with a first wireless access point through a first link and connecting with a second wireless access point through a second link if the electric quantity information is larger than a preset electric quantity threshold value and the network access information is larger than a preset access threshold value; a sharing module, configured to perform wireless local area network sharing of a time division mechanism on the first link and the second link;
the determining module is further configured to acquire traffic data if the electric quantity information is greater than a preset electric quantity threshold and the network access information is less than a preset access threshold, where the traffic data includes traffic demand data or network speed information; if the flow data is larger than a preset flow data threshold value, the first link is connected with a third wireless access point, and wireless local area network sharing is carried out through a second link; and the sharing module is further configured to receive, by the first link, downlink data sent by the third wireless access point, and send, by the second link, the downlink data to a sharing network in real time.
5. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a sharing method of a wireless local area network according to any one of claims 1 to 3.
6. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the sharing method of the wireless local area network according to any one of claims 1 to 3 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386444.8A CN109362121B (en) | 2018-11-20 | 2018-11-20 | Sharing method and device of wireless local area network, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386444.8A CN109362121B (en) | 2018-11-20 | 2018-11-20 | Sharing method and device of wireless local area network, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109362121A CN109362121A (en) | 2019-02-19 |
CN109362121B true CN109362121B (en) | 2021-02-26 |
Family
ID=65332405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811386444.8A Active CN109362121B (en) | 2018-11-20 | 2018-11-20 | Sharing method and device of wireless local area network, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109362121B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291833B (en) * | 2019-07-23 | 2023-01-13 | 华为技术有限公司 | Equipment control method, system and related device |
CN111629354A (en) * | 2019-11-29 | 2020-09-04 | 国铁吉讯科技有限公司 | Wireless communication method and device |
CN111371896B (en) * | 2020-03-13 | 2023-04-18 | Oppo广东移动通信有限公司 | Network acceleration method, terminal and storage medium |
CN111918246B (en) * | 2020-05-07 | 2023-02-28 | 宁波大学 | Method for providing sharing service of wireless local area network |
CN113453270A (en) * | 2021-05-25 | 2021-09-28 | 新华三技术有限公司成都分公司 | Wireless access point AP |
CN115884444A (en) * | 2022-10-27 | 2023-03-31 | 张春帅 | Method for establishing instant wireless communication interaction network by multiple intelligent devices |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101772139A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Methods and equipment for determining terminal working policy and switching between terminal working policies and communication system |
CN104902568A (en) * | 2014-03-03 | 2015-09-09 | 联想(北京)有限公司 | Wireless network resource sharing method and electronic equipment |
CN105898809A (en) * | 2016-05-25 | 2016-08-24 | 努比亚技术有限公司 | WiFi connection management device and method, and mobile terminal |
CN108377157A (en) * | 2018-01-31 | 2018-08-07 | 维沃移动通信有限公司 | A kind of control method and device of Wi-Fi antennas |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072670B (en) * | 2015-08-03 | 2020-07-10 | 惠州Tcl移动通信有限公司 | WiFi hotspot sharing method and electronic equipment |
-
2018
- 2018-11-20 CN CN201811386444.8A patent/CN109362121B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101772139A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Methods and equipment for determining terminal working policy and switching between terminal working policies and communication system |
CN104902568A (en) * | 2014-03-03 | 2015-09-09 | 联想(北京)有限公司 | Wireless network resource sharing method and electronic equipment |
CN105898809A (en) * | 2016-05-25 | 2016-08-24 | 努比亚技术有限公司 | WiFi connection management device and method, and mobile terminal |
CN108377157A (en) * | 2018-01-31 | 2018-08-07 | 维沃移动通信有限公司 | A kind of control method and device of Wi-Fi antennas |
Also Published As
Publication number | Publication date |
---|---|
CN109362121A (en) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109362121B (en) | Sharing method and device of wireless local area network, storage medium and terminal | |
CN108430101B (en) | Antenna closing method and device, storage medium and electronic equipment | |
CN107835033B (en) | Antenna tuning switch control method and device, terminal equipment and storage medium | |
CN108990110B (en) | Network traffic management method, device, storage medium and terminal | |
CN106230492B (en) | Terminal antenna switching method and device and mobile terminal | |
CN102165717B (en) | Method and system for performing tasks on collaborating wireless devices | |
US10474507B2 (en) | Terminal application process management method and apparatus | |
WO2020147645A1 (en) | Link aggregation realization method and related product | |
WO2017032080A1 (en) | Method and device for address book control and mobile terminal | |
US11349976B2 (en) | Information processing method, file transmission method, electronic apparatus, and computing apparatus | |
CN106126377B (en) | The method and device of system starting | |
WO2019015429A1 (en) | Data transmission method, device, terminal and computer-readable storage medium | |
CN110688051B (en) | Screen recording operation method and device, computer readable storage medium and terminal | |
CN105704106B (en) | A kind of visualization IVR implementation method and mobile terminal | |
KR101649203B1 (en) | Peer setup of predefined modulation transmission | |
CN110677456A (en) | Resource allocation method and equipment | |
CN107484236A (en) | Wi-Fi hotspot scan control method, mobile terminal and storage medium | |
WO2022088388A1 (en) | Frequency domain resource allocation method, apparatus, and storage medium | |
CN105722142A (en) | Mobile terminal and multilink-based data streaming method | |
CN117768926A (en) | Multi-device networking method and device, storage medium and electronic device | |
CN115209393A (en) | Data transmission method, system, electronic device and storage medium | |
US20180132171A1 (en) | Location-based determination of channel for initiating peer-to-peer session | |
CN111432304A (en) | Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium | |
CN108337718B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
WO2022028138A1 (en) | Uplink channel transmission method, terminal, base station, 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 |