CN105592473B - Networking method based on wall socket and wall socket with first WIFI communication assembly - Google Patents

Networking method based on wall socket and wall socket with first WIFI communication assembly Download PDF

Info

Publication number
CN105592473B
CN105592473B CN201410568898.2A CN201410568898A CN105592473B CN 105592473 B CN105592473 B CN 105592473B CN 201410568898 A CN201410568898 A CN 201410568898A CN 105592473 B CN105592473 B CN 105592473B
Authority
CN
China
Prior art keywords
wifi
wifi communication
communication component
signal
transmitted
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
Application number
CN201410568898.2A
Other languages
Chinese (zh)
Other versions
CN105592473A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANTONG IT-SOFT Co.,Ltd.
Original Assignee
Kuang Chi Intelligent Photonic Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kuang Chi Intelligent Photonic Technology Ltd filed Critical Kuang Chi Intelligent Photonic Technology Ltd
Priority to CN201410568898.2A priority Critical patent/CN105592473B/en
Publication of CN105592473A publication Critical patent/CN105592473A/en
Application granted granted Critical
Publication of CN105592473B publication Critical patent/CN105592473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a networking method based on a wall socket and the wall socket with a first WIFI communication assembly. Wherein, the method comprises the following steps: detecting, by a first WIFI communication component in a first wall socket, a second WIFI signal transmitted by a second WIFI communication component in a second wall socket using configuration information; if the fact that a second WIFI signal transmitted by the second WIFI communication assembly meets a preset condition is detected, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly; the first WIFI communication assembly receives configuration information sent by the second WIFI communication assembly; the first WIFI communication component transmits a first WIFI signal using the configuration information, wherein a coverage area of the first WIFI signal overlaps a coverage area of the second WIFI signal. The method and the device solve the technical problem that in the prior art, the WIFI signal is weak in the area which cannot be covered by the WIFI signal of the wireless router or on the edge of the coverage area of the WIFI signal of the wireless router.

Description

Networking method based on wall socket and wall socket with first WIFI communication assembly
Technical Field
The invention relates to the field of electronic circuits, in particular to a networking method based on a wall socket and the wall socket with a first WIFI communication assembly.
Background
Currently, in order to connect networks using WIFI signals, most users will typically employ wireless routers. In the indoor environment, a user connects the wireless router to the network through a network cable, and generates WIFI signals through the antenna, so that an indoor terminal can access the network through the WIFI signals.
However, because the indoor space is large or a part of the indoor space is blocked by signals, it is difficult for the WIFI signal transmitted by the wireless router to cover the entire indoor area, so that the WIFI signal is weak in an area that the WIFI signal of the wireless router cannot cover or at the edge of the coverage area of the WIFI signal of the wireless router, and the terminals located in these areas have a low rate of accessing the network through the WIFI signal, or even cannot access the network.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a networking method based on a wall socket and the wall socket with a first WIFI communication assembly, which are used for at least solving the technical problem that in the prior art, WIFI signals on an area which cannot be covered by WIFI signals of a wireless router or on the edge of the coverage area of the WIFI signals of the wireless router are weak.
According to an aspect of an embodiment of the present invention, there is provided a method for networking based on wall plug, including: detecting, by a first WIFI communication component in a first wall socket, a second WIFI signal transmitted by a second WIFI communication component in a second wall socket using configuration information; if the fact that a second WIFI signal transmitted by the second WIFI communication assembly meets a preset condition is detected, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly; the first WIFI communication assembly receives the configuration information sent by the second WIFI communication assembly; the first WIFI communication assembly transmits a first WIFI signal by using the configuration information, wherein the coverage area of the first WIFI signal is overlapped with the coverage area of the second WIFI signal.
According to another aspect of the embodiments of the present invention, there is also provided a wall socket having a first WIFI communication component, where the first WIFI communication component includes: the detection unit is used for detecting a second WIFI signal transmitted by a second WIFI communication component in a second wall socket by using the configuration information; the sending unit is used for sending a networking request to the second WIFI communication assembly when the detection unit detects that the second WIFI signal transmitted by the second WIFI communication assembly meets a preset condition; the receiving unit is used for receiving the configuration information sent by the second WIFI communication component; and the transmitting unit is used for transmitting a first WIFI signal by using the configuration information, wherein the coverage area of the first WIFI signal is overlapped with the coverage area of the second WIFI signal.
In the embodiment of the invention, the first WIFI communication component in the first wall socket sends a networking request to the second WIFI communication component in the second wall socket which meets the detected preset condition (the strength of the wireless signal transmitted by the second WIFI communication component is detected to be greater than a first preset threshold), and the second WIFI communication component responds to the networking request to send configuration information to the first WIFI communication component, so that the first WIFI communication component can transmit the first WIFI signal by using the configuration information, the wireless WIFI network can be established based on the indoor wall socket, further, the indoor wall socket shares the configuration information of the WIFI communication component by sending the networking request, an indoor terminal can access the wireless WIFI network by using the WIFI signal transmitted by the WIFI communication component in the wall socket, and the effect of rapidly accessing the wireless WIFI network at different indoor positions is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a network diagram of an alternative wall plug-based networking method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alternative wall plug-based networking method according to an embodiment of the present invention;
FIG. 3 is a network diagram of an alternative wall plug-based networking method according to an embodiment of the invention;
FIG. 4 is a flow chart illustrating an alternative wall plug-based networking method according to an embodiment of the present invention;
FIG. 5 is a network diagram illustrating an alternative wall plug-based networking method according to an embodiment of the present invention
Fig. 6 is a schematic terminal connection diagram of an alternative wall plug-based networking method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal connection of another alternative wall plug-based networking method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a terminal connection of another alternative wall plug-based networking method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an alternative wall outlet with a first WIFI communication component in accordance with an embodiment of the present invention;
fig. 10 is a schematic diagram of another alternative wall outlet with a first WIFI communication component in accordance with an embodiment of the present invention; and
fig. 11 is a schematic structural diagram of an optional first WIFI communication component in accordance with an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the embodiment of the present invention, a wall plug-based networking method is provided, which can be applied, but not limited, to a multiple wall plug network environment set in an indoor area as shown in fig. 1, wherein a first wall plug 102-1, a second wall plug 102-2, a third wall plug 102-3 …, and a fifth wall plug 102-5 respectively include corresponding WIFI communication components, for example, the first wall plug 102-1 includes a first communication component 104-1, the second wall plug 102-2 includes a second WIFI communication component 104-2 …, and the fifth wall plug 102-5 includes a fifth WIFI communication component 104-5, since most users usually set multiple wall plugs at different positions in the indoor area, so that the users can conveniently provide power for multiple electrical appliances, and this embodiment is based on the feature of wall plug, the WIFI communication assemblies are arranged in the wall sockets, automatic networking of the WIFI communication assemblies in the wall sockets is achieved, configuration information configured by the first WIFI communication assembly in the first wall socket is shared, and therefore a user can be connected with a network at any indoor position to acquire network data. The above example is only an example, and the present embodiment is not limited to this.
Optionally, in various embodiments of the present application, the receiving terminal of the WIFI communication component (e.g., the terminal 106 shown in fig. 1) may include, but is not limited to, at least one of the following: cell-phone, panel computer, desktop computer, notebook computer.
Optionally, in this embodiment, a flowchart of the wall plug-based networking method is shown in fig. 2, and includes:
s202, a first WIFI communication assembly in a first wall socket detects a second WIFI signal transmitted by a second WIFI communication assembly in a second wall socket by using configuration information;
s204, if it is detected that a second WIFI signal transmitted by a second WIFI communication assembly meets a preset condition, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly;
s206, the first WIFI communication assembly receives configuration information sent by the second WIFI communication assembly;
and S208, the first WIFI communication component transmits a first WIFI signal by using the configuration information, wherein the coverage area of the first WIFI signal is overlapped with the coverage area of the second WIFI signal.
Optionally, in this embodiment, the wall plug-based networking method may be but is not limited to be applied to a plurality of wall plugs set indoors, and when the signal strength transmitted by the WIFI communication component in the wall plug for which the configuration information has been set satisfies a predetermined threshold, the configuration information may be sent to the WIFI communication components in other nearby wall plugs, so as to implement sharing of the configuration information, and thus, network connection may be implemented at any indoor position of a user.
Optionally, in this embodiment, the preset condition may include, but is not limited to, at least one of the following:
1) intensity of second WIFI signal transmitted by second WIFI communication component is greater than first preset threshold value
2) Whether the SSID value of the second WIFI communication assembly carried in the second WIFI signal is the same as the SSID value preset in the first WIFI communication assembly or not is judged;
3) whether the ID number of the second wall socket carried in the second WIFI signal is the same as the ID number of the wall socket preset in the first WIFI communication assembly or not is judged;
4) whether the encryption mode or the password of the second WIFI communication assembly carried in the second WIFI signal is the same as the encryption mode or the password preset in the first WIFI communication assembly or not.
In this embodiment, except that whether the signal strength of the second WIFI signal transmitted by the second WIFI communication component satisfies the predetermined threshold value or not, whether any kind of parameter carried in the second WIFI signal is the same as the preset parameter or not may be determined, so that the networking request is sent again to establish a network under the condition that the preset condition is satisfied, thereby realizing flexible control of networking by using the WIFI communication component.
Optionally, in this embodiment, before the first WIFI communication component in the first wall socket detects the second WIFI signal transmitted by the second WIFI communication component in the second wall socket using the configuration information, the method further includes:
and S1, setting configuration information for the second WIFI communication assembly in the second plug-in wall.
Optionally, in this embodiment, the configuration information may include, but is not limited to: network SSID account number and login password. For example, establish a connection between the wireless router and a second WIFI communication component in the second socket wall, and set configuration information for the second WIFI communication component in the second socket wall, for example: the network SSID is NET _502, and the password is: 502123.
optionally, in this embodiment, when the first WIFI communication component transmits the first WIFI signal, the number of terminals accessing the first WIFI signal may be, but is not limited to, less than or equal to the second predetermined threshold.
Optionally, in this embodiment, the sending, by the first WIFI communication component, the networking request to the second WIFI communication component includes:
s1, judging whether the current moment is within a preset time period set by the first WIFI communication assembly;
and S2, if the current moment is within the preset time period, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly.
In this embodiment, a time period for allowing networking of the WIFI communication components can be preset, so that time limit control of networking is achieved, and the number of the WIFI communication components in the networking process is controlled.
Optionally, in this embodiment, the manner in which the first WIFI communication component in the first wall plug detects the second WIFI signal transmitted by the second WIFI communication component in the second wall plug using the configuration information may include, but is not limited to: and detecting a second WIFI signal transmitted by the second WIFI communication component by using the configuration information at intervals of a preset period. Wherein, the second WIFI communication component may include but is not limited to: WIFI communication components in one or more wall inserts. Optionally, in this embodiment, when the intensities of the wireless signals transmitted by the plurality of second WIFI communication assemblies are all greater than a first predetermined threshold, the second WIFI communication assembly with the strongest signal is selected.
For example, as shown in fig. 3, taking one second WIFI communication component as an example, the first WIFI communication component 304 in the first wall socket 302 may detect the strength of the wireless signal transmitted by the second WIFI communication component 308 in the second wall socket 306 every predetermined period (e.g., three signal lines transmitted by the second WIFI communication component 308 shown in fig. 3), since the WIFI signal transmitted by the WIFI communication component in the wall socket may be attenuated to different degrees according to the distance, if the first communication component 304 in the first wall socket 302 detects that the strength of the wireless signal transmitted by the second WIFI communication component 308 in the second wall socket 306 is greater than a first predetermined threshold (e.g., two signal lines) at the position where the first wall socket 302 is located, the following steps are performed, as shown in fig. 4:
s402, the first WIFI communication component 304 sends a networking request to the second WIFI communication component 308;
s404, the second WIFI communication component 308 responds to the networking request, and sends configuration information to the first WIFI communication component 304 (for example, the network SSID is NET _502, and the password is 502123);
s406, the first WIFI communication component 304 sends a first WIFI signal (e.g., three signal lines transmitted by the first WIFI communication component 308 shown in fig. 3) using the configuration information.
Through the embodiment provided by the application, when a first WIFI component in a first wall socket detects a second WIFI signal transmitted by a second WIFI communication component in a second wall socket, the wireless signal intensity of which is greater than a first preset threshold value, a networking request is automatically transmitted to the second WIFI communication component, and after configuration information transmitted by the second WIFI communication component is received, the first WIFI signal is transmitted by using the configuration information, so that a WIFI network is established based on the WIFI communication component in the wall socket, even if a terminal moves, different configuration information does not need to be acquired for multiple times to log in different account numbers, the configuration information is shared in the network, the terminal can be ensured to be always in a networking state, and information can be acquired from the network conveniently.
As an optional solution, the detecting, by the first WIFI communication component in the first wall socket, the second WIFI signal transmitted by the second WIFI communication component in the second wall socket using the configuration information includes: a first WIFI communication assembly in the first wall socket detects a second WIFI signal transmitted by a second WIFI communication assembly in the second wall sockets by using the configuration information; the first WIFI communication assembly selects a second WIFI signal with the maximum wireless signal intensity from second WIFI signals transmitted by second WIFI communication assemblies in the plurality of second wall sockets by using the configuration information; the first WIFI communication component sends the networking request to the second WIFI communication component and comprises the following steps: and the first WIFI communication assembly sends a networking request to the selected second WIFI communication assembly.
Specifically, referring to the example shown in fig. 5, it is assumed that a first wall socket 502, a plurality of second wall sockets 504, a router 506 and a terminal 508 are installed indoors, where the plurality of second wall sockets 504 are a second wall socket 504-1, a second wall socket 504-2, a second wall socket 504-3 and a second wall socket 504-4, respectively. The plurality of second wall plug relationships may include, but are not limited to: the second wall plug 504-3 is connected with the router 506 to acquire configuration information and realize communication interaction with the router 506; the second wall plug 504-2 acquires the configuration information through a WIFI signal transmitted by a WIFI communication component in the second wall plug 504-3, and realizes communication interaction with the second wall plug 504-3; the distance between the second wall plug 504-4 and the second wall plug 504-1 and the distance between the second wall plug 504-2 and the second wall plug 504-2 are far, detected WIFI signals transmitted by the WIFI communication assembly in the second wall plug 504-2 are weak, the configuration information is acquired through the WIFI signals transmitted by the WIFI communication assembly in the second wall plug 504-2, and communication interaction with the second wall plug 504-2 is achieved. Further, assuming that the first predetermined threshold is a two-cell signal (i.e., two signal lines shown in fig. 5), when the terminal 508 is disposed between the second wall plugs 504-2 and 504-3, signal attenuation degrees of second WIFI signals emitted by WIFI communication components in the second wall plugs 504 are different at the positions of the terminal 508, where the wall plugs with the wireless signal strength greater than the first predetermined threshold include the second wall plugs 504-2 and 504-3, the WIFI communication components in the second wall plugs 504-2 are three-cell signals (i.e., three signal lines shown in fig. 5), the WIFI communication components in the second wall plugs 504-3 are four-cell signals (i.e., four signal lines shown in fig. 5), and the WIFI communication components in the second wall plugs 504-4 are two-cell signals (i.e., two signal lines shown in fig. 5); the WIFI communication component in the second wall plug 504-1 is a signal (i.e., a signal line shown in fig. 5). The WIFI communication component in the first wall socket 502 selects the WIFI communication component in the second wall socket 504-3 with a higher wireless signal strength to send a networking request, and transmits a first WIFI signal (e.g., three signal lines shown in fig. 5) after acquiring the configuration information. Further, after the first wall socket 502 successfully transmits the first WIFI signal, the first wall socket can also be used as a new wall socket to provide configuration information for other wall sockets that are not yet networked.
Through the embodiment provided by the application, the first WIFI communication assembly selects the second WIFI signal with the maximum strength of the wireless signal from the second WIFI signals transmitted by the second WIFI communication assemblies in the second wall plugs by using the configuration information to transmit the networking request, so that the wireless WIFI signal with the best signal is acquired from the second WIFI signals to form a network, and the network data can be rapidly acquired by networking for the receiving terminal in the network.
As an optional solution, after the first WIFI communication component transmits the first WIFI signal using the configuration information, the method includes:
s1, the first WIFI communication assembly receives a data transmission request sent by the terminal through a first WIFI signal, wherein the data transmission request carries data to be transmitted;
and S2, the first WIFI communication assembly sends the data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
Optionally, in this embodiment, the WIFI signals (e.g., the first WIFI signal and the second WIFI signal) transmitted by the WIFI communication component in the wall plug may be but are not limited to cover an area of a certain range, so as to form a WIFI network covering the area.
Optionally, in this embodiment, the connection relationship between the WIFI communication component located in the wall socket and the receiving terminal may include, but is not limited to, at least one of the following:
1) a WIFI communication component in the wall plug 602 receives a data transmission request sent by the terminal 610 through a WIFI network (such as the WIFI network 604 shown in fig. 6) provided by the router 606, wherein the wall plug 602 may be connected to the router 606 through the WIFI network 604, and the router 606 is connected to the terminal 610 through the WIFI network 604, so that connection is established between the wall plug 602 and the terminal 610, and data communication interaction is achieved. Alternatively, the router 606 may be coupled to the Internet 608, as shown in FIG. 6.
2) The WIFI communication component in the wall socket 702 receives the data transmission request sent by the terminal 710 through a WIFI network (e.g., a WIFI network 712 shown in fig. 7) provided by the WIFI communication component, wherein the WIFI communication component in the wall socket 702 is connected with the terminal 710 through the WIFI network 712, and the WIFI communication component in the wall socket 702 is connected with the router 706 through a WIFI network (e.g., a WIFI network 704 shown in fig. 7) provided by the router 706. Alternatively, the router 706 may be coupled to the Internet 708, as shown in FIG. 7.
3) The WIFI communication component in the wall plug 802 establishes a connection with the wall plug 812 through a WIFI network (e.g., the WIFI network 810 shown in fig. 8) provided by the WIFI communication component, the WIFI communication component in the wall plug 812 acquires configuration information obtained by the wall plug 802 through the WIFI network 810, provides a WIFI network (e.g., the WIFI network 814 shown in fig. 8) according to the configuration information, and receives a data transmission request sent by the terminal 816 through the WIFI network 814, wherein the WIFI network 810 provided by the WIFI communication component in the wall plug 802 overlaps with an area covered by the WIFI network 814 provided by the WIFI communication component in the wall plug 812, the WIFI communication component in the wall plug 812 is connected with the terminal 816 through the WIFI network 814, and the WIFI communication component in the wall plug 802 is connected with the router 806 through the WIFI network (e.g., the WIFI network 804 shown in fig. 8) provided by the router 806. Alternatively, the router 806 may be connected to the Internet 808, as shown in FIG. 8. According to the embodiment provided by the application, the first WIFI communication assembly receives the data transmission request sent by the terminal through the first WIFI signal, and then sends the data to be transmitted carried in the data transmission request to the second WIFI communication assembly in the second wall socket through the second WIFI signal, so that data can be transmitted in a network established based on the wall socket.
As an optional scheme, the sending, by the first WIFI communication assembly, the data to be transmitted to the second WIFI communication assembly through the second WIFI signal includes:
s1, the first WIFI communication assembly judges whether the number of the terminals which are currently accessed with the first WIFI signal reaches a second preset threshold value;
and S2, if the number of the terminals which have access to the first WIFI signal does not reach a second preset threshold value, the first WIFI communication assembly sends the data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
Optionally, in this embodiment, the number of terminals accessing the first WIFI signal transmitted by the first WIFI communication component in the first wall socket may be, but is not limited to, less than or equal to the second predetermined threshold. The first predetermined threshold and the second predetermined threshold in this embodiment may be, but are not limited to, the same value or different values according to different application scenarios.
Optionally, in this embodiment, the determining, by the first WIFI communication component, whether the number of terminals currently accessing the first WIFI signal reaches a second predetermined threshold includes but is not limited to: when the terminal to be accessed is accessed, whether the number of the terminals accessed into the WIFI network reaches a second preset threshold value is judged.
Specifically, the following example is used for explanation, and assuming that the second predetermined threshold is 20, in the indoor WIFI network built based on wall plug, at most 20 terminals (for example, mobile phones) are allowed to be accessed. If the terminal to be accessed, which is currently accessed with the first WIFI signal, is the 15 th terminal, the number of the terminals is judged not to reach the second preset threshold value of 20, and then the first WIFI assembly in the first wall socket can send the data to be transmitted, which is received from the terminal, to the second WIFI communication assembly in the second wall socket through the second WIFI signal.
Through the embodiment provided by the application, whether the number of the terminals accessing the first WIFI signal reaches the second preset threshold value or not is judged, the data to be transmitted is transmitted when the number of the terminals accessing the first WIFI signal does not reach the second preset threshold value, the number of the terminals accessing the first WIFI signal is limited, and therefore the terminals of the preset number can be quickly accessed to a network to realize data transmission under limited signal resources, and the problem that in the prior art, the rate of the terminals accessing the network through the WIFI signal is low due to the fact that the WIFI signal of the wireless router cannot cover the area or the WIFI signal on the edge of the coverage area of the WIFI signal of the wireless router is weak is solved.
As an optional scheme, after the first WIFI communication assembly determines whether the number of terminals currently accessing the first WIFI signal reaches a second predetermined threshold, the method further includes:
and S1, if the number of the terminals which have access to the first WIFI signal reaches a second preset threshold value, the first WIFI communication assembly returns a data transmission response to the terminal which sends the data to be transmitted, wherein the data transmission response carries an identifier for indicating data transmission failure.
Specifically, the following example is used for explanation, and assuming that the second predetermined threshold is 20, in the indoor WIFI network built based on wall plug, at most 20 terminals (for example, mobile phones) are allowed to be accessed. If the number of the terminals to be accessed, which are currently accessed with the first WIFI signal, is 21, that is, it is known during access that the number of the terminals in the wireless WIFI network has reached 20 second predetermined thresholds, the first WIFI communication component returns a response carrying an identifier for indicating data transmission failure to the 21 st terminal to be accessed, which sends data to be transmitted.
According to the embodiment provided by the application, whether the number of the terminals accessing the first WIFI signal reaches the second preset threshold value or not is judged, and when the number of the terminals currently accessing the first WIFI signal reaches the second preset threshold value, a failure response is timely returned to the terminals, so that the terminals can timely re-search for new WIFI signals and access the wireless WIFI network again to continue to transmit data to be transmitted.
As an optional solution, the detecting, by the first WIFI communication component in the first wall socket, the second WIFI signal transmitted by the second WIFI communication component in the second wall socket using the configuration information includes:
s1, the first WIFI communication assembly detects, at intervals of a predetermined period when the first WIFI signal is not transmitted, a second WIFI signal transmitted by the second WIFI communication assembly using the configuration information.
Optionally, in this embodiment, the detecting, by the first WIFI communication component, the second WIFI signal transmitted by the second WIFI communication component using the configuration information at intervals of a predetermined period when the first WIFI signal is not transmitted includes:
s11, the first WIFI communication assembly detects, at predetermined intervals after power-up, a second WIFI signal transmitted by the second WIFI communication assembly using the configuration information.
Specifically, with reference to the following example, after the first WIFI communication component is powered on, but the first WIFI signal is not yet transmitted, whether the second WIFI signal is transmitted by the second WIFI communication component using the configuration information is automatically detected every predetermined period (e.g., 5 minutes). And if the second WIFI signal transmitted by the second WIFI communication assembly is detected, transmitting the data to be transmitted, which is received by the first WIFI communication assembly from the terminal, to the second WIFI communication assembly.
Through the embodiment provided by the application, the second WIFI signal detection is carried out every other preset period, so that the first WIFI communication assembly can transmit data to be transmitted through the second WIFI signal transmitted by the second WIFI communication assembly in time.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to the embodiment of the present invention, there is provided a wall socket having a first WIFI communication component, which can be applied, but not limited to, a network environment with multiple wall sockets disposed in an indoor area as shown in fig. 1, wherein the first wall socket 102-1, the second wall socket 102-2, the third wall socket 102-3 … and the fifth wall socket 102-5 respectively include corresponding WIFI communication components, for example, the first wall socket 102-1 includes the first communication component 104-1, the second wall socket 102-2 includes the second WIFI communication component 104-2 … and the fifth wall socket 102-5 includes the fifth WIFI communication component 104-5, since most users typically dispose multiple wall sockets at different positions in the indoor area, so that the users can conveniently provide power to multiple electrical appliances, in the embodiment, based on the characteristic of wall socket, the WIFI communication components are arranged in the wall socket, the WIFI communication components in the wall sockets are automatically networked, and configuration information configured by the first WIFI communication component in the first wall socket is shared, so that a user can connect to a network at any indoor position to acquire network data. For example, an external view schematic diagram of the wall socket with the first WIFI communication component may be as shown in fig. 9, wherein the structure in the wall socket with the first WIFI communication component may be, but is not limited to, as shown in fig. 10, and includes a processor 1006 and a first WIFI communication component 1008 in addition to the jack 1002 and the power terminal 1004. In the present embodiment, the wall socket 1002 may be, but not limited to, a plug for connecting an electrical appliance, so that when the plug of the electrical appliance is inserted into the wall socket 1002, an electrical connection is formed between the plug of the electrical appliance and a power terminal 1004 in the wall socket, and the power terminal 1004 may be, but is not limited to, a metal connecting component for connecting a power supply (e.g., 220V commercial power). Optionally, in this embodiment, the power terminal 1004 may be, but is not limited to, connected to the processor 1006, and the processor 1006 is connected to the first WIFI communication component 1008, so as to implement power supply and control of the first WIFI communication component. The above example is only an example, and the present embodiment is not limited to this.
Optionally, in various embodiments of the present application, the receiving terminal of the WIFI communication component (e.g., the terminal 106 shown in fig. 1) may include, but is not limited to, at least one of the following: cell-phone, panel computer, desktop computer, notebook computer.
Optionally, in this embodiment, the schematic diagram of the wall socket with the first WIFI communication component is shown in fig. 11, where the first WIFI communication component includes:
1) a detection unit 1102, configured to detect a second WIFI signal transmitted by a second WIFI communication component in a second wall plug using the configuration information;
2) the sending unit 1104 is configured to send a networking request to the second WIFI communication assembly when the detecting unit detects that the second WIFI signal transmitted by the second WIFI communication assembly meets a preset condition;
3) a receiving unit 1106, configured to receive configuration information sent by the second WIFI communication component;
4) a transmitting unit 1108, configured to transmit a first WIFI signal using the configuration information, where a coverage area of the first WIFI signal overlaps with a coverage area of a second WIFI signal.
Optionally, in this embodiment, the wall socket having the first WIFI communication component may be, but not limited to, any one of a plurality of wall sockets set indoors, and when the signal strength transmitted by the WIFI communication component in the wall socket having the configuration information set therein meets a predetermined threshold, the configuration information may be sent to WIFI communication components in other nearby wall sockets, so as to implement sharing of the configuration information, and thus, a network connection may be implemented at any indoor position by a user.
Optionally, in this embodiment, the preset condition may include, but is not limited to, at least one of the following:
1) intensity of second WIFI signal transmitted by second WIFI communication component is greater than first preset threshold value
2) Whether the SSID value of the second WIFI communication assembly carried in the second WIFI signal is the same as the SSID value preset in the first WIFI communication assembly or not is judged;
3) whether the ID number of the second wall socket carried in the second WIFI signal is the same as the ID number of the wall socket preset in the first WIFI communication assembly or not is judged;
4) whether the encryption mode or the password of the second WIFI communication assembly carried in the second WIFI signal is the same as the encryption mode or the password preset in the first WIFI communication assembly or not.
In this embodiment, except that whether the signal strength of the second WIFI signal transmitted by the second WIFI communication component satisfies the predetermined threshold value or not, whether any kind of parameter carried in the second WIFI signal is the same as the preset parameter or not may be determined, so that the networking request is sent again to establish a network under the condition that the preset condition is satisfied, thereby realizing flexible control of networking by using the WIFI communication component.
Optionally, in this embodiment, before the first WIFI communication component in the first wall socket detects the second WIFI signal transmitted by the second WIFI communication component in the second wall socket using the configuration information, the method further includes:
and S1, setting configuration information for the second WIFI communication assembly in the second plug-in wall.
Optionally, in this embodiment, the configuration information may include, but is not limited to: network SSID account number and login password. For example, establish a connection between the wireless router and a second WIFI communication component in the second socket wall, and set configuration information for the second WIFI communication component in the second socket wall, for example: the network SSID is NET _502, and the password is: 502123.
optionally, in this embodiment, when the first WIFI communication component transmits the first WIFI signal, the number of terminals accessing the first WIFI signal may be, but is not limited to, less than or equal to the second predetermined threshold.
Optionally, in this embodiment, the sending, by the first WIFI communication component, the networking request to the second WIFI communication component includes:
s1, judging whether the current moment is within a preset time period set by the first WIFI communication assembly;
and S2, if the current moment is within the preset time period, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly.
In this embodiment, a time period for allowing networking of the WIFI communication components can be preset, so that time limit control of networking is achieved, and the number of the WIFI communication components in the networking process is controlled.
Optionally, in this embodiment, the manner in which the first WIFI communication component in the first wall plug detects the second WIFI signal transmitted by the second WIFI communication component in the second wall plug using the configuration information may include, but is not limited to: and detecting a second WIFI signal transmitted by the second WIFI communication component by using the configuration information at intervals of a preset period. Wherein, the second WIFI communication component may include but is not limited to: WIFI communication components in one or more wall inserts. Optionally, in this embodiment, when the intensities of the wireless signals transmitted by the plurality of second WIFI communication assemblies are all greater than a first predetermined threshold, the second WIFI communication assembly with the strongest signal is selected.
For example, as shown in fig. 3, taking one second WIFI communication component as an example, the first WIFI communication component 304 in the first wall socket 302 may detect the strength of the wireless signal transmitted by the second WIFI communication component 308 in the second wall socket 306 every predetermined period (e.g., three signal lines transmitted by the second WIFI communication component 308 shown in fig. 3), since the WIFI signal transmitted by the WIFI communication component in the wall socket may be attenuated to different degrees according to the distance, the strength of the wireless signal transmitted by the second WIFI communication component 308 in the second wall socket 306 detected by the first communication component 304 in the first wall socket 302 at the position where the first wall socket 302 is located is greater than a first predetermined threshold (e.g., two signal lines), then the following steps are performed, as shown in fig. 4:
s402, the first WIFI communication component 304 sends a networking request to the second WIFI communication component 308;
s404, the second WIFI communication component 308 responds to the networking request, and sends configuration information to the first WIFI communication component 304 (for example, the network SSID is NET _502, and the password is 502123);
s406, the first WIFI communication component 304 sends a first WIFI signal (e.g., three signal lines transmitted by the first WIFI communication component 308 shown in fig. 3) using the configuration information.
Through the embodiment provided by the application, when a first WIFI component in a first wall socket detects a second WIFI signal transmitted by a second WIFI communication component in a second wall socket, the wireless signal intensity of which is greater than a first preset threshold value, a networking request is automatically transmitted to the second WIFI communication component, and after configuration information transmitted by the second WIFI communication component is received, the first WIFI signal is transmitted by using the configuration information, so that a WIFI network is established based on the WIFI communication component in the wall socket, even if a terminal moves, different configuration information does not need to be acquired for multiple times to log in different account numbers, the configuration information is shared in the network, the terminal can be ensured to be always in a networking state, and information can be acquired from the network conveniently.
As an alternative to this, it is possible to,
the detection unit 1102 includes: 1) a detection module for detecting a second WIFI signal transmitted by a second WIFI communication component within a plurality of second wall jacks using the configuration information; 2) the selection module is used for selecting a second WIFI signal with the maximum wireless signal intensity from second WIFI signals transmitted by second WIFI communication assemblies in the second wall sockets by using the configuration information;
the transmission unit 1104 includes: 1) and the first sending module is used for sending a networking request to the selected second WIFI communication component.
Specifically, referring to the example shown in fig. 5, it is assumed that a first wall socket 502, a plurality of second wall sockets 504, a router 506 and a terminal 508 are installed indoors, where the plurality of second wall sockets 504 are a second wall socket 504-1, a second wall socket 504-2, a second wall socket 504-3 and a second wall socket 504-4, respectively. The plurality of second wall plug relationships may include, but are not limited to: the second wall plug 504-3 is connected with the router 506 to acquire configuration information and realize communication interaction with the router 506; the second wall plug 504-2 acquires the configuration information through a WIFI signal transmitted by a WIFI communication component in the second wall plug 504-3, and realizes communication interaction with the second wall plug 504-3; the distance between the second wall plug 504-4 and the second wall plug 504-1 and the distance between the second wall plug 504-2 and the second wall plug 504-2 are far, detected WIFI signals transmitted by the WIFI communication assembly in the second wall plug 504-2 are weak, the configuration information is acquired through the WIFI signals transmitted by the WIFI communication assembly in the second wall plug 504-2, and communication interaction with the second wall plug 504-2 is achieved. Further, assuming that the first predetermined threshold is a two-cell signal (i.e., two signal lines shown in fig. 5), when the terminal 508 is disposed between the second wall plugs 504-2 and 504-3, signal attenuation degrees of second WIFI signals emitted by WIFI communication components in the second wall plugs 504 are different at the positions of the terminal 508, where the wall plugs with the wireless signal strength greater than the first predetermined threshold include the second wall plugs 504-2 and 504-3, the WIFI communication components in the second wall plugs 504-2 are three-cell signals (i.e., three signal lines shown in fig. 5), the WIFI communication components in the second wall plugs 504-3 are four-cell signals (i.e., four signal lines shown in fig. 5), and the WIFI communication components in the second wall plugs 504-4 are two-cell signals (i.e., two signal lines shown in fig. 5); the WIFI communication component in the second wall plug 504-1 is a signal (i.e., a signal line shown in fig. 5). The WIFI communication component in the first wall socket 502 selects the WIFI communication component in the second wall socket 504-3 with a higher wireless signal strength to send a networking request, and transmits a first WIFI signal (e.g., three signal lines shown in fig. 5) after acquiring the configuration information. Further, after the first wall socket 502 successfully transmits the first WIFI signal, the first wall socket can also be used as a new wall socket to provide configuration information for other wall sockets that are not yet networked.
Through the embodiment provided by the application, the first WIFI communication assembly selects the second WIFI signal with the maximum strength of the wireless signal from the second WIFI signals transmitted by the second WIFI communication assemblies in the second wall plugs by using the configuration information to transmit the networking request, so that the wireless WIFI signal with the best signal is acquired from the second WIFI signals to form a network, and the network data can be rapidly acquired by networking for the receiving terminal in the network.
As an alternative, the wall socket includes:
1) the receiving unit 1106 is further configured to receive a data transmission request sent by the terminal through the first WIFI signal after the transmitting unit 1108 transmits the first WIFI signal using the configuration information, where the data transmission request carries data to be transmitted;
2) the sending unit 1104 is further configured to send data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
Optionally, in this embodiment, the WIFI signals (e.g., the first WIFI signal and the second WIFI signal) transmitted by the WIFI communication component in the wall plug may be but are not limited to cover an area of a certain range, so as to form a WIFI network covering the area.
Optionally, in this embodiment, the connection relationship between the WIFI communication component located in the wall socket and the receiving terminal may include, but is not limited to, at least one of the following manners:
1) the WIFI communication component in the wall plug 602 receives the data transmission request sent by the terminal 610 through a WIFI network (such as the WIFI network 604 shown in fig. 6) provided by the router 606, wherein the wall plug 602 may be connected to the router 606 through the WIFI network 604, and the router 606 is connected to the terminal 610 through the WIFI network 604, so that connection is established between the wall plug 602 and the terminal 610, and data communication interaction is achieved. Alternatively, the router 606 may be coupled to the Internet 608, as shown in FIG. 6.
2) The WIFI communication component in the wall socket 702 receives the data transmission request sent by the terminal 710 through a WIFI network (e.g., a WIFI network 712 shown in fig. 7) provided by the WIFI communication component, where the WIFI communication component in the wall socket 702 is connected to the terminal 710 through the WIFI network 712, and the WIFI communication component in the wall socket 702 is connected to the router 706 through a WIFI network (e.g., a WIFI network 704 shown in fig. 7) provided by the router 706. Alternatively, the router 706 may be coupled to the Internet 708, as shown in FIG. 7.
3) The WIFI communication component in the wall plug 802 establishes a connection with the wall plug 812 through a WIFI network (e.g., the WIFI network 810 shown in fig. 8) provided by the WIFI communication component, the WIFI communication component in the wall plug 812 acquires configuration information obtained by the wall plug 802 through the WIFI network 810, provides a WIFI network (e.g., the WIFI network 814 shown in fig. 8) according to the configuration information, and receives a data transmission request sent by the terminal 816 through the WIFI network 814, wherein the WIFI network 810 provided by the WIFI communication component in the wall plug 802 overlaps with an area covered by the WIFI network 814 provided by the WIFI communication component in the wall plug 812, the WIFI communication component in the wall plug 812 is connected with the terminal 816 through the WIFI network 814, and the WIFI communication component in the wall plug 802 is connected with the router 806 through the WIFI network (e.g., the WIFI network 804 shown in fig. 8) provided by the router 806. Alternatively, the router 806 may be connected to the Internet 808, as shown in FIG. 8.
According to the embodiment provided by the application, the first WIFI communication assembly receives the data transmission request sent by the terminal through the first WIFI signal, and then sends the data to be transmitted carried in the data transmission request to the second WIFI communication assembly in the second wall socket through the second WIFI signal, so that data can be transmitted in a network established based on the wall socket.
As an alternative, the sending unit 1104 includes:
1) the judging module is used for judging whether the number of the terminals which have access to the first WIFI signal currently reaches a second preset threshold value;
2) and the second sending module is used for sending the data to be transmitted to the second WIFI communication assembly through the second WIFI signal when the number of the terminals which have access to the first WIFI signal at present does not reach a second preset threshold value.
Optionally, in this embodiment, the number of terminals accessing the first WIFI signal transmitted by the first WIFI communication component in the first wall socket may be, but is not limited to, less than or equal to the second predetermined threshold. The first predetermined threshold and the second predetermined threshold in this embodiment may be, but are not limited to, the same value or different values according to different application scenarios.
Optionally, in this embodiment, the determining, by the first WIFI communication component, whether the number of terminals currently accessing the first WIFI signal reaches a second predetermined threshold includes but is not limited to: when the terminal to be accessed is accessed, whether the number of the terminals accessed into the WIFI network reaches a second preset threshold value is judged.
Specifically, the following example is used for explanation, and assuming that the second predetermined threshold is 20, in the indoor WIFI network built based on wall plug, at most 20 terminals (for example, mobile phones) are allowed to be accessed. If the terminal to be accessed, which is currently accessed with the first WIFI signal, is the 15 th terminal, the number of the terminals is judged not to reach the second preset threshold value of 20, and then the first WIFI assembly in the first wall socket can send the data to be transmitted, which is received from the terminal, to the second WIFI communication assembly in the second wall socket through the second WIFI signal.
Through the embodiment provided by the application, whether the number of the terminals accessing the first WIFI signal reaches the second preset threshold value or not is judged, the data to be transmitted is transmitted when the number of the terminals accessing the first WIFI signal does not reach the second preset threshold value, the number of the terminals accessing the first WIFI signal is limited, and therefore the terminals of the preset number can be quickly accessed to a network to realize data transmission under limited signal resources, and the problem that in the prior art, the rate of the terminals accessing the network through the WIFI signal is low due to the fact that the WIFI signal of the wireless router cannot cover the area or the WIFI signal on the edge of the coverage area of the WIFI signal of the wireless router is weak is solved.
As an optional scheme, the sending unit 1104 further includes:
1) and the third sending module is used for returning a data transmission response to the terminal sending the data to be transmitted when the number of the terminals currently accessed with the first WIFI signal reaches a second preset threshold value, wherein the data transmission response carries an identifier used for indicating data transmission failure.
Specifically, the following example is used for explanation, and assuming that the second predetermined threshold is 20, in the indoor WIFI network built based on wall plug, at most 20 terminals (for example, mobile phones) are allowed to be accessed. If the number of the terminals to be accessed, which are currently accessed with the first WIFI signal, is 21, that is, it is known during access that the number of the terminals in the wireless WIFI network has reached 20 second predetermined thresholds, the first WIFI communication component returns a response carrying an identifier for indicating data transmission failure to the 21 st terminal to be accessed, which sends data to be transmitted.
According to the embodiment provided by the application, whether the number of the terminals accessing the first WIFI signal reaches the second preset threshold value or not is judged, and when the number of the terminals currently accessing the first WIFI signal reaches the second preset threshold value, a failure response is timely returned to the terminals, so that the terminals can timely re-search for new WIFI signals and access the wireless WIFI network again to continue to transmit data to be transmitted.
As an alternative, the detecting unit 1102 is configured to detect a second WIFI signal transmitted by a second WIFI communication component in a second wall plug using the configuration information by: and detecting a second WIFI signal transmitted by the second WIFI communication component using the configuration information every a predetermined period when the first WIFI signal is not transmitted by the transmission unit.
Optionally, in this embodiment, the detecting unit 1102 is configured to detect, every predetermined period when the transmitting unit does not transmit the first WIFI signal, a second WIFI signal transmitted by the second WIFI communication component using the configuration information, by: detecting a second WIFI signal transmitted by a second WIFI communication component using the configuration information every predetermined period after the first WIFI communication component is powered on.
Specifically, with reference to the following example, after the first WIFI communication component is powered on, but the first WIFI signal is not yet transmitted, whether the second WIFI signal is transmitted by the second WIFI communication component using the configuration information is automatically detected every predetermined period (e.g., 5 minutes). And if the second WIFI signal transmitted by the second WIFI communication assembly is detected, transmitting the data to be transmitted, which is received by the first WIFI communication assembly from the terminal, to the second WIFI communication assembly.
Through the embodiment provided by the application, the second WIFI signal detection is carried out every other preset period, so that the first WIFI communication assembly can transmit data to be transmitted through the second WIFI signal transmitted by the second WIFI communication assembly in time.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (18)

1. A networking method based on wall plug is characterized by comprising the following steps:
detecting, by a first WIFI communication component in a first wall socket, a second WIFI signal transmitted by a second WIFI communication component in a second wall socket using configuration information;
if the second WIFI signal transmitted by the second WIFI communication assembly is detected to meet a preset condition, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly;
the first WIFI communication component receives the configuration information sent by the second WIFI communication component;
the first WIFI communication component transmits a first WIFI signal using the configuration information, wherein a coverage area of the first WIFI signal overlaps with a coverage area of the second WIFI signal;
the preset condition comprises at least one of the following conditions:
whether the SSID value of the second WIFI communication assembly carried in the second WIFI signal is the same as the SSID value preset in the first WIFI communication assembly or not is judged;
whether the ID number of the second wall socket carried in the second WIFI signal is the same as the wall socket ID preset in the first WIFI communication assembly or not is judged;
whether the encryption mode or the password of the second WIFI communication assembly carried in the second WIFI signal is the same as the encryption mode or the password preset in the first WIFI communication assembly or not.
2. The method of claim 1, wherein the preset condition comprises a strength of the second WIFI signal transmitted by the second WIFI communication component being greater than a first preset threshold.
3. The method of claim 2,
the first WIFI communication subassembly in the first wall inserts detects the second WIFI signal that is used configuration information transmission by the second WIFI communication subassembly in the second wall inserts includes: a first WIFI communication assembly in the first wall socket detects a second WIFI signal transmitted by a second WIFI communication assembly in a plurality of second wall sockets by using configuration information; the first WIFI communication assembly selects a second WIFI signal with the maximum intensity of the wireless signal from second WIFI signals transmitted by second WIFI communication assemblies in the plurality of second wall sockets by using the configuration information;
the first WIFI communication component sending a networking request to the second WIFI communication component comprises: and the first WIFI communication assembly sends a networking request to the selected second WIFI communication assembly.
4. The method of claim 1, wherein after the first WIFI communication component transmits a first WIFI signal using the configuration information, comprising:
the first WIFI communication assembly receives a data transmission request sent by a terminal through the first WIFI signal, wherein the data transmission request carries data to be transmitted;
and the first WIFI communication assembly sends the data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
5. The method of claim 4, wherein the first WIFI communication component sending the data to be transmitted to the second WIFI communication component via the second WIFI signal comprises:
the first WIFI communication assembly judges whether the number of terminals which have access to the first WIFI signal currently reaches a second preset threshold value;
and if the number of the terminals which have access to the first WIFI signal does not reach the second preset threshold value, the first WIFI communication assembly sends the data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
6. The method of claim 5, wherein after the first WIFI communication component determines whether the number of terminals currently accessing the first WIFI signal reaches a second predetermined threshold, the method further comprises:
and if the number of the terminals which have access to the first WIFI signal currently reaches the second preset threshold value, the first WIFI communication component returns a data transmission response to the terminal which sends the data to be transmitted, wherein the data transmission response carries an identifier for indicating data transmission failure.
7. The method of claim 1, wherein detecting, by a first WIFI communication component within the first wall plug, a second WIFI signal transmitted by a second WIFI communication component within a second wall plug using configuration information comprises:
the first WIFI communication component detects the second WIFI signal transmitted by the second WIFI communication component using the configuration information every predetermined period when the first WIFI signal is not transmitted.
8. The method of claim 7, wherein the first WIFI communication component detecting, every predetermined period when the first WIFI signal is not transmitted, the second WIFI signal transmitted by the second WIFI communication component using the configuration information comprises:
the first WIFI communication component detects the second WIFI signal transmitted by the second WIFI communication component using the configuration information every the predetermined period after power-on.
9. The method of claim 1, wherein sending, by the first WIFI communication component, a networking request to the second WIFI communication component comprises:
judging whether the current moment is within a preset time period set by the first WIFI communication assembly;
and if the current moment is within the preset time period, the first WIFI communication assembly sends a networking request to the second WIFI communication assembly.
10. The utility model provides a wall is inserted with first WIFI communication subassembly which characterized in that, first WIFI communication subassembly includes:
the detection unit is used for detecting a second WIFI signal transmitted by a second WIFI communication component in a second wall socket by using the configuration information;
the sending unit is used for sending a networking request to the second WIFI communication assembly when the detection unit detects that the second WIFI signal transmitted by the second WIFI communication assembly meets a preset condition;
the receiving unit is used for receiving the configuration information sent by the second WIFI communication component;
a transmitting unit, configured to transmit a first WIFI signal using the configuration information, wherein a coverage area of the first WIFI signal overlaps with a coverage area of the second WIFI signal;
the preset condition comprises at least one of the following conditions:
whether the SSID value of the second WIFI communication assembly carried in the second WIFI signal is the same as the SSID value preset in the first WIFI communication assembly or not is judged;
whether the ID number of the second wall socket carried in the second WIFI signal is the same as the wall socket ID preset in the first WIFI communication assembly or not is judged;
whether the encryption mode or the password of the second WIFI communication assembly carried in the second WIFI signal is the same as the encryption mode or the password preset in the first WIFI communication assembly or not.
11. The wall socket of claim 10, wherein the predetermined condition includes a strength of the second WIFI signal transmitted by the second WIFI communication component being greater than a first predetermined threshold.
12. A wall socket according to claim 11,
the detection unit includes: a detection module for detecting a second WIFI signal transmitted by a second WIFI communication component within a plurality of second wall jacks using the configuration information; the selecting module is used for selecting second WIFI signals meeting preset conditions from second WIFI signals transmitted by second WIFI communication components in the second wall plugs by using configuration information;
the transmission unit includes: and the first sending module is used for sending a networking request to the selected second WIFI communication component.
13. A wall socket according to claim 10, comprising:
the receiving unit is further configured to receive a data transmission request sent by a terminal through the first WIFI signal after the transmitting unit transmits the first WIFI signal by using the configuration information, where the data transmission request carries data to be transmitted;
the sending unit is further configured to send the data to be transmitted to the second WIFI communication assembly through the second WIFI signal.
14. A wall outlet according to claim 13, wherein the transmitting unit comprises:
the judging module is used for judging whether the number of the terminals which have access to the first WIFI signal currently reaches a second preset threshold value;
and the second sending module is used for sending the data to be transmitted to the second WIFI communication assembly through the second WIFI signal when the number of the terminals which have access to the first WIFI signal does not reach the second preset threshold value.
15. A wall outlet according to claim 14, wherein the transmitting unit further comprises:
and the third sending module is configured to return a data transmission response to the terminal that sends the data to be transmitted when the number of terminals that have currently accessed the first WIFI signal reaches the second predetermined threshold, where the data transmission response carries an identifier used for indicating a data transmission failure.
16. The wall outlet of claim 10, wherein the detection unit is configured to detect a second WIFI signal transmitted by a second WIFI communication component within a second wall outlet using the configuration information by: detecting the second WIFI signal transmitted by the second WIFI communication component using the configuration information every predetermined period when the first WIFI signal is not transmitted by the transmission unit.
17. The wall socket of claim 16, wherein the detection unit is configured to detect the second WIFI signal transmitted by the second WIFI communication component using the configuration information every predetermined period when the first WIFI signal is not transmitted by the transmission unit by: detecting the second WIFI signal transmitted by the second WIFI communication component using the configuration information every the predetermined period after the first WIFI communication component is powered on.
18. A wall outlet according to claim 10, wherein the transmitting unit comprises:
the judgment module is used for judging whether the current moment is within a preset time period set by the first WIFI communication assembly;
and the sending module is used for sending a networking request to the second WIFI communication assembly when the current moment is within the preset time period.
CN201410568898.2A 2014-10-22 2014-10-22 Networking method based on wall socket and wall socket with first WIFI communication assembly Active CN105592473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410568898.2A CN105592473B (en) 2014-10-22 2014-10-22 Networking method based on wall socket and wall socket with first WIFI communication assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410568898.2A CN105592473B (en) 2014-10-22 2014-10-22 Networking method based on wall socket and wall socket with first WIFI communication assembly

Publications (2)

Publication Number Publication Date
CN105592473A CN105592473A (en) 2016-05-18
CN105592473B true CN105592473B (en) 2020-02-11

Family

ID=55931601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410568898.2A Active CN105592473B (en) 2014-10-22 2014-10-22 Networking method based on wall socket and wall socket with first WIFI communication assembly

Country Status (1)

Country Link
CN (1) CN105592473B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256336A (en) * 2011-07-06 2011-11-23 华为终端有限公司 Method, device and system for combined use of wireless fidelity (WiFi) access points
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
CN103581979A (en) * 2013-11-18 2014-02-12 华为终端有限公司 WIFI network access method and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005022330A2 (en) * 2003-08-27 2005-03-10 Jambo Networks, Inc. A system and method for providing communication services to mobile device users

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256336A (en) * 2011-07-06 2011-11-23 华为终端有限公司 Method, device and system for combined use of wireless fidelity (WiFi) access points
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
CN103581979A (en) * 2013-11-18 2014-02-12 华为终端有限公司 WIFI network access method and terminal device

Also Published As

Publication number Publication date
CN105592473A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US20200337105A1 (en) Communications Method of Wearable Device, Communications System, and Related Device
EP2814276B1 (en) Access authentication method and device for wireless local area network hotspot
CN110692280B (en) Network access method, device and system
CN104333863B (en) Connection management method and device, electronic equipment
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
US20150351004A1 (en) Client-initiated tethering for electronic devices
US9949116B2 (en) Method and apparatus for establishing SSID-based connection between terminal device and gateway device
EP3490304B1 (en) Method for identifying access point and hotspot, and related products
CN108055339B (en) Household appliance interconnection method and device, storage medium and cloud platform server
CN107005443A (en) Relaying residential gateway between terminal installation and server
CN112804697B (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
CN107483262A (en) Fault handling method and equipment
CN112689316A (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN105790944B (en) A kind of method for network authorization and device based on wechat
CN104812019A (en) Wireless network access method, wireless access equipment and wireless control equipment
CN105592473B (en) Networking method based on wall socket and wall socket with first WIFI communication assembly
CN103442160A (en) Network switching method and intelligent television
US20130090060A1 (en) Wireless modem
CN106453586A (en) Message synchronizing method, device and system
CN109788435B (en) Wireless hotspot control method and device, electronic equipment and storage medium
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN113132332B (en) Networking login method, household electrical appliance system and storage medium
CN111836385A (en) Method and device for processing network beacon in wireless sensor network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201123

Address after: 5 / F, building 1, No. 388, Yongxing Avenue, Chongchuan District, Nantong City, Jiangsu Province 226003

Patentee after: NANTONG IT-SOFT Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District Shennan Road and CaiTian Road intersection East Xintiandi Plaza C block 2007-27

Patentee before: KUANG-CHI INTELLIGENT PHOTONIC TECHNOLOGY Ltd.

TR01 Transfer of patent right