CN109257795A - A kind of method and apparatus carrying out distribution - Google Patents
A kind of method and apparatus carrying out distribution Download PDFInfo
- Publication number
- CN109257795A CN109257795A CN201810942863.9A CN201810942863A CN109257795A CN 109257795 A CN109257795 A CN 109257795A CN 201810942863 A CN201810942863 A CN 201810942863A CN 109257795 A CN109257795 A CN 109257795A
- Authority
- CN
- China
- Prior art keywords
- terminal
- distribution
- network
- wireless network
- 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.)
- Pending
Links
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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- 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/04—Terminal devices adapted for relaying to or from another terminal or user
Abstract
The present invention provides a kind of method and apparatus for carrying out distribution, and to solve the problems, such as to exist in the prior art, terminal distribution operating efficiency is low and process is cumbersome.The first terminal of success distribution meeting opening network hot spot function after receiving auxiliary distribution instruction in the embodiment of the present invention, second terminal is after receiving distribution instruction, the wireless network by being emerged after the first terminal opening network hot spot of success distribution is accessed according to preset wireless messages, user is when carrying out distribution to second terminal, it does not need to add wireless network name manually, password etc. matches net operation, the successful first terminal of distribution can send distribution information with opening network hot spot function and from the second terminal that trend is successfully connected to the wireless network of the first terminal, second terminal can carry out matching net operation according to the distribution information received automatically, to simplify the entire process for matching net operation, improve the efficiency with net operation.
Description
Technical field
The present invention relates to internet of things field, in particular to a kind of method and apparatus for carrying out distribution.
Background technique
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch.
And intelligent household terminal is then an important direction of Internet of Things development, people are not concerned only with home safety and a home from home,
It more embraces low-carbon and yearns for the convenient life of scientific and technological bring, intelligent household terminal has also entered into huge numbers of families.
Technology of Internet of things by various information sensing devices, any required monitoring of acquisition in real time, connection, interaction object or
The information of the various needs such as process, the huge network formed in conjunction with internet, realizes object and object, object and people, owns
Article and network connection, facilitate daily management, monitor and control.
Currently, needed by the account of wireless network and Password Input into terminal when user is intelligent household terminal distribution,
Intelligent household terminal is connected to wireless network, as distribution success.After distribution success, user can be by application to being connected to this
The intelligent household terminal of user network is remotely monitored and controlled.
But if there is the intelligent household terminal of multiple new networkings, user needs for the progress of each intelligent household terminal
Distribution, and it is also different with network method, distribution operating efficiency is relatively low, and process is comparatively laborious.
In conclusion the distribution operating efficiency of intelligent household terminal is low at present and process is cumbersome.
Summary of the invention
The present invention provides a kind of method and apparatus for carrying out distribution, to solve to exist in the prior art terminal with net operation
Low efficiency and the cumbersome problem of process.
The method of the present invention includes:
In a first aspect, a kind of method for carrying out distribution, this method comprises:
The first terminal of success distribution is after receiving auxiliary distribution instruction, opening network hot spot function and to being successfully connected
Second terminal to the wireless network of the first terminal sends distribution information.
The above method, user do not need to add wireless network name, password etc. manually when carrying out distribution to second terminal
With net operation, the successful first terminal of distribution can be successfully connected to the first terminal with opening network hot spot function and from trend
The second terminal of wireless network send distribution information, second terminal can carry out distribution behaviour according to the distribution information received automatically
Make, to simplify the entire process for matching net operation, improves the efficiency with net operation.
In a kind of optional embodiment, it is described success distribution first terminal receive auxiliary distribution instruction after,
Pass through preset wireless messages opening network hot spot function.
The first terminal of the above method, the success distribution is emerged by preset wireless messages opening network hot spot function
Wireless network can access multiple second terminals simultaneously, realize multiple terminals distribution simultaneously, improve distribution efficiency.
Second aspect, a method of distribution is carried out, this method comprises:
Second terminal is after receiving distribution instruction, according to the access of preset wireless messages by the first terminal of success distribution
The wireless network emerged after opening network hot spot receives the distribution information that the first terminal is sent by the wireless network of access
And corresponding wireless network is connected to according to the distribution information.
The above method, user do not need to add wireless network name, password etc. manually when carrying out distribution to second terminal
With net operation, the successful first terminal of distribution can be successfully connected to the first terminal with opening network hot spot function and from trend
The second terminal of wireless network send distribution information, second terminal can carry out distribution behaviour according to the distribution information received automatically
Make, to simplify the entire process for matching net operation, improves the efficiency with net operation.
In a kind of optional embodiment, the second terminal receive distribution instruction after, if search it is multiple with
The matched wireless network of network name in preset wireless messages, then according to the network cipher in the preset wireless messages
Be sequentially ingressed into the preset matched wireless network of wireless messages, until be successfully accessed by success distribution first terminal open
Open the wireless network formed after network hotspot.
The above method, the second terminal is after receiving distribution instruction, if searching multiple and described and preset nothing
The matched wireless network of network name in line information, the second terminal can be automatically by network ciphers in preset wireless messages
Be sequentially ingressed into in the preset matched wireless network of wireless messages, only with the network cipher in preset wireless messages
The wireless network emerged after the first terminal opening network hot spot of identical success distribution, avoids the interference of other wireless networks.
In a kind of optional embodiment, the second terminal is connected to corresponding wireless network according to the distribution information
After network, when reconnecting wireless network, if the wireless network of multiple successful connections before is searched, according to the distribution
Information is connected to corresponding wireless network.
The above method, second terminal successful for distribution after restart, need again the wireless network of accessing user, if
The wireless network for searching multiple successful connections before in the reboot process still can be connected to corresponding according to the distribution information
Wireless network, do not need user and the wireless network that second terminal connects be switched to the wireless network of user manually.
The third aspect, the embodiment of the invention also provides the first terminals for carrying out distribution, which includes: at least one
A processing unit and at least one storage unit, wherein the storage unit is stored with program code, works as said program code
When being executed by the processing unit, so that the processing unit executes following process:
After success distribution, after receiving auxiliary distribution instruction, opening network hot spot function;To being successfully connected to described
The second terminal of the wireless network of one terminal sends distribution information.
In one possible implementation, the processing unit is specifically used for:
After receiving auxiliary distribution instruction, pass through preset wireless messages opening network hot spot function.
Fourth aspect, the embodiment of the present invention also provide a kind of first terminal for carrying out distribution, which includes:
Distribution module: after being used for successfully distribution, auxiliary distribution instruction and opening network hot spot function are received;
Sending module: for sending distribution letter to the second terminal for the wireless network for being successfully connected to the first terminal
Breath.
5th aspect, the embodiment of the invention also provides it is a kind of carry out distribution second terminal, the second terminal include: to
A few processing unit and at least one storage unit, wherein the storage unit is stored with program code, works as described program
When code is executed by the processing unit, so that the processing unit executes following process:
After receiving distribution instruction, according to the access of preset wireless messages by the first terminal opening network of success distribution
The wireless network emerged after hot spot;The distribution information that the first terminal is sent is received by the wireless network of access;According to institute
It states distribution information and is connected to corresponding wireless network.
In one possible implementation, the processing unit is specifically used for:
After receiving distribution instruction, if searching multiple matched wireless with network names in preset wireless messages
Network is then sequentially ingressed into and the preset matched nothing of wireless messages according to the network cipher in the preset wireless messages
Gauze network, the wireless network emerged after being successfully accessed by the first terminal opening network hot spot of success distribution.
In one possible implementation, the processing unit is also used to:
After being connected to corresponding wireless network according to the distribution information, when reconnecting wireless network, if search
To the wireless network of multiple successful connections before, then corresponding wireless network is connected to according to the distribution information.
6th aspect, the embodiment of the present invention also provide a kind of second terminal for carrying out distribution, which includes:
Link block: for after receiving distribution instruction, according to the access of preset wireless messages by the of success distribution
The wireless network emerged after one terminal opening network hot spot;
Receiving module: the distribution information that the first terminal is sent is received for the wireless network by accessing;
Processing module: for being connected to corresponding wireless network according to the distribution information.
7th aspect, the application also provide a kind of computer storage medium, are stored thereon with computer program, the program quilt
The step of first aspect the method is realized when processing unit executes.
In addition, third aspect technical effect brought by any implementation into the 7th aspect can be found in first party
Technical effect brought by different implementations in face, details are not described herein again.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of system structure diagram for carrying out distribution of the embodiment of the present invention;
Fig. 2 is the device structure schematic diagram of the first first terminal entity of the embodiment of the present invention;
Fig. 3 is the device structure schematic diagram of second of first terminal entity of the embodiment of the present invention;
Fig. 4 is the device structure schematic diagram of the first second terminal of the embodiment of the present invention;
Fig. 5 is the device structure schematic diagram of second of second terminal of the embodiment of the present invention;
Fig. 6 is method flow schematic diagram of the embodiment of the present invention to first terminal side in the method for carrying out distribution;
Fig. 7 is method flow schematic diagram of the embodiment of the present invention to second terminal side in the method for carrying out distribution;
Fig. 8 is the embodiment of the present invention to the complete method flow diagram for carrying out distribution.
Specific embodiment
The some words occurred in text are explained below:
(1) " terminal " of meaning of the embodiment of the present invention refers to the intelligent terminal for being able to carry out wireless connection, such as intelligent family
Electrical appliance, office equipment etc..
(2) " hotspot " of meaning of the embodiment of the present invention refers to provides WLAN (WLAN) access in public places
The place of Internet service.
(3) " distribution " of meaning of the embodiment of the present invention refers to and is arranged in such a way that wired or wireless network connects for terminal
Network connection.
(4) " wireless network of user " of meaning of the embodiment of the present invention refers to that user passes through the broadband connections equipment such as router
The network hotspot of unlatching, i.e., the wireless network that the described second terminal is connected according to the distribution information.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
As shown in Figure 1, the system that the embodiment of the present invention carries out distribution includes: first terminal 10 and second terminal 20.
First terminal 10, for after success distribution, if receiving auxiliary distribution instruction, opening network hot spot function to be simultaneously
Distribution information is sent to the second terminal for the wireless network for being successfully connected to the first terminal.
Second terminal 20, for being accessed according to preset wireless messages by success distribution after receiving distribution instruction
The wireless network emerged after first terminal opening network hot spot receives what the first terminal was sent by the wireless network of access
Distribution information is simultaneously connected to corresponding wireless network according to the distribution information.
Through the above scheme, user does not need to add manually when carrying out distribution to second terminal in the embodiment of the present invention
Wireless network name, password etc. match net operation, the successful first terminal of distribution can with opening network hot spot function and from trend at
The second terminal that function is connected to the wireless network of the first terminal sends distribution information, and second terminal can match according to what is received
Net information is carried out automatically with net operation, to simplify the entire process for matching net operation, improves the efficiency with net operation, and
First terminal can be connect with multiple second terminals simultaneously, realize multiple terminals distribution simultaneously.
User needs to carry out the first terminal of non-distribution to be used with net operation according to first terminal in the embodiment of the present invention
Content in explanation about distribution setting, the wireless network name for including by the distribution information of user radio network, password are manual
It is added in first terminal, can be attached with user radio network.
The successful first terminal of distribution is after receiving auxiliary distribution instruction, opening network hot spot function.Wherein, to first
Terminal is sent there are many modes of instruction, is exemplified below:
Mode one: instruction is sent by the remote controler with infrared function.
Specifically, additionally increase an auxiliary distribution button on infrared function remote controller, user is by remote controler pair
The successful first terminal of quasi- distribution, presses the auxiliary distribution button on remote controler, matches to first terminal transmission
Net instruction.
Correspondingly, the first terminal is after receiving the auxiliary distribution instruction of remote controler transmission, by preset wireless
Information opening network hot spot function.
Mode two: instruction is sent by the button that terminal is arranged.
Additionally increase an auxiliary distribution button on the first terminal.User presses distribution successful described first
After the auxiliary distribution button of terminal, triggering distribution instruction;
The first terminal passes through preset wireless messages opening network hot spot function after receiving auxiliary distribution instruction
Energy.
The preset wireless messages of first terminal are before factory, and manufacturer is pre-set in first terminal, including
Wireless network name and password.Manufacturer's preset wireless messages in first terminal are desirably integrated into the two dimensional code of terminal.
User can scan the two dimensional code of first terminal by terminal, obtain the preset wireless messages, and be added to
In the wireless network connection list of terminal.
In embodiments of the present invention, second terminal receive distribution instruction after, according to preset wireless messages access by
The wireless network emerged after the first terminal opening network hot spot of success distribution.
The first terminal and the second terminal preset wireless messages having the same, therefore, the second terminal
The wireless network by being emerged after the first terminal opening network hot spot of success distribution can be accessed according to preset wireless messages.
In order to prevent the preset wireless messages difference of first terminal and second terminal cause can not automatic distribution the case where hair
It is raw, two dimensional code can be generated according to the preset wireless messages of first terminal.In an implementation, which can be pasted first
The body of terminal can also be placed in the modes such as the specification of first terminal so that user is available to the two dimensional code.
For example the second terminal and the first terminal are the different series product of same manufacturer or the production of different vendor
Product, then the preset wireless messages of the first terminal and the preset wireless messages of the second terminal may be different, if described the
The preset wireless messages of two terminals are different from the preset wireless messages of the first terminal, then second terminal can be according in scanning
It states two dimensional code and obtains the preset wireless messages of first terminal.
For example, user possess A manufacturer production A equipment and B manufacturer production B device, A equipment with user radio net
Network distribution success, B device do not carry out distribution also, then B device it is preset can to obtain A equipment by the two dimensional code of scanning A equipment
Wireless messages, B device after receiving distribution instruction, B device may be coupled to after A opening of device network hotspot formed it is wireless
Network.
Wherein, there are many modes that instruction is sent to second terminal, is exemplified below:
Mode one: instruction is sent by the remote controler with infrared function.
Specifically, additionally increase a distribution button on infrared function remote controller, user by remote controler alignment with
The second terminal of non-distribution presses the distribution button on remote controler, sends distribution instruction to the second terminal.
Correspondingly, the second terminal receive remote controler transmission distribution instruction after, according to preset wireless messages
Access the wireless network by being emerged after the first terminal opening network hot spot of success distribution.
Mode two: instruction is sent by the button that terminal is arranged.
Additionally increase a distribution button in the second terminal, user presses the distribution of the second terminal of non-distribution
After button, triggering distribution instruction;
The second terminal is after receiving distribution instruction, according to the access of preset wireless messages by the first of success distribution
The wireless network emerged after terminal opening network hot spot.
Wherein, auxiliary distribution button and distribution button can also be set simultaneously on a remote control as needed.In addition, distant
It controls in device and terminal there are many modes of setting button, for example, different instructions is sent using existing button, for example:
Mode one sends different instructions by the time of long-pressing power on button, long-pressing power on button 3 seconds, then sends auxiliary
It helps distribution to instruct, long-pressing power on button 6 seconds, then sends distribution instruction.
Mode two is sent different instructions by way of button combination, while pinning power on button and menu button, then
Auxiliary distribution instruction is sent, while pinning power-off button and menu button, then sends distribution instruction.
It should be noted that above are only for example, any hardware setting that can send instruction is suitable for this hair
It is bright.
Optionally, in embodiments of the present invention, the second terminal receive distribution instruction after, if search it is multiple with
The matched wireless network of network name in preset wireless messages, then according to the network cipher in the preset wireless messages
Be sequentially ingressed into the preset matched wireless network of wireless messages, until be successfully accessed by success distribution first terminal open
Open the wireless network formed after network hotspot.
Wherein, the second terminal according to the network cipher in the preset wireless messages be sequentially ingressed into it is described pre-
If the access sequence of the matched wireless network of wireless messages can be there are many mode.Such as: it is strong according to the signal of wireless network
Weak ordering is attached or randomly chooses a wireless network and is attached.
According to above-mentioned access sequence, by the network cipher in the preset wireless messages be sequentially ingressed into it is described preset
The matched wireless network of wireless messages, the nothing emerged after being successfully accessed by the first terminal opening network hot spot of success distribution
Gauze network.For example:
It is assumed that the first terminal, according to the entitled AAA of network hotspot that preset wireless messages are opened, network cipher is
111, the preset wireless messages of second terminal are identical as the first terminal.
The second terminal may search after receiving distribution instruction in the wireless network that search can connect
The wireless network of multiple entitled AAA, then the second terminal can be suitable according to the power of the wireless network signal of entitled AAA
Network cipher is input in the referred to as wireless network of AAA by sequence, is 111 until being successfully accessed network cipher, by described first
The wireless network formed after the network hotspot that terminal is opened.
In this programme embodiment, it is linked into the second terminal by the first terminal opening network hot spot of success distribution
After the wireless network formed afterwards, the first terminal is sent out to the second terminal for the wireless network for being successfully connected to the first terminal
Delivery net information.
Wherein, the distribution information includes the account name of the wireless network for the user that the successful first terminal of distribution is connected
Title and password.
In the embodiment of the present invention, receive what the first terminal was sent by the wireless network accessed in the second terminal
After distribution information, correspondence can be connected to according to the account title and password of the wireless network for the user for including in the distribution information
Wireless network.
After the second terminal is connected to the corresponding wireless network of user, as distribution success.
It should be noted that the successful second terminal of distribution also executes the function of the successful first terminal of distribution.
Optionally, the successful second terminal of distribution in use, may will do it reboot operation, need to reconnect
The wireless network of user, if searching the wireless network of multiple successful connections before, in the process in order to guarantee described second
Terminal exist in the reboot process it is a variety of connect wireless network in the case where be still connectable to the wireless network of user, institute
Second terminal is stated after receiving the distribution information that the first terminal is sent, sets the corresponding wireless network of distribution information to
Default connection network.
Such as: if second terminal is controlling intelligent household appliances, need to carry out shutdown behaviour after the completion of controlling intelligent household appliances use
Make, in the next use before, need be switched on restart, controlling intelligent household appliances also need to re-establish company with user radio network at this time
Connect, can be searched during searching for network-connectable it is a variety of connect wireless network, for example, the first terminal is in distribution
When according to preset wireless messages open network hotspot, according to first terminal send the distribution information be connected to it is corresponding
User radio network.At this point, controlling intelligent household appliances can establish connection with user radio network first according to default connection network.
Further, more intuitive with network process in order to make, user is able to know that the stage locating for distribution, and the present invention is implemented
A kind of optional mode is provided in example, the first terminal and the second terminal can all have corresponding state during distribution
Prompt, the condition prompting include some or all of in following:
Image identification, sound, text.
Such as: when distribution success first terminal opening network hot spot, the image identification of display network hotspot unlatching;
The first terminal sends distribution information to the second terminal for the wireless network for being successfully connected to the first terminal
When, display data send mark;Correspondingly, showing data when the second terminal receives the distribution information that first terminal is sent
Receive mark;
The second terminal is connected to corresponding wireless network according to the distribution information, shows distribution success flag.
In embodiments of the present invention, user can also be by APP (Application, using) to the successful terminal of distribution
It is monitored.User can check all terminals being connected under user radio network at the APP, if there is terminal access to use
When the wireless network at family, such as: when the second terminal is connected to corresponding user radio network according to the distribution information, institute
The information of second terminal of connection can be shown by stating APP, and concurrent outbound message prompting sound reminds user to have new equipment connection.
As shown in Fig. 2, the embodiment of the present invention provides a kind of first terminal for carrying out distribution, which includes: at least
One processing unit 200 and at least one storage unit 201, wherein the storage unit 201 is stored with program code, when
When said program code is executed by the processing unit 200, so that the processing unit 200 executes following process:
After success distribution, after receiving auxiliary distribution instruction, opening network hot spot function;To being successfully connected to described
The second terminal of the wireless network of one terminal sends distribution information.
Optionally, the processing unit 200 is specifically used for:
After receiving auxiliary distribution instruction, pass through preset wireless messages opening network hot spot function.
As shown in figure 3, another first terminal for carrying out distribution provided in an embodiment of the present invention, the first terminal include:
Distribution module 300: after being used for successfully distribution, auxiliary distribution instruction and opening network hot spot function are received;
Sending module 301: for sending distribution to the second terminal for the wireless network for being successfully connected to the first terminal
Information.
Optionally, the distribution module 300 is specifically used for:
After receiving auxiliary distribution instruction, pass through preset wireless messages opening network hot spot function.
As shown in figure 4, the embodiment of the present invention provides a kind of second terminal for carrying out distribution, which includes: at least
One processing unit 400 and at least one storage unit 401, wherein the storage unit 401 is stored with program code, when
When said program code is executed by the processing unit 400, so that the processing unit 400 executes following process:
After receiving distribution instruction, according to the access of preset wireless messages by the first terminal opening network of success distribution
The wireless network emerged after hot spot;The distribution information that the first terminal is sent is received by the wireless network of access;According to institute
It states distribution information and is connected to corresponding wireless network.
Optionally, the processing unit 400 is specifically used for:
After receiving distribution instruction, if searching multiple matched wireless with network names in preset wireless messages
Network is then sequentially ingressed into and the preset matched nothing of wireless messages according to the network cipher in the preset wireless messages
Gauze network, the wireless network emerged after being successfully accessed by the first terminal opening network hot spot of success distribution.
Optionally, the processing unit 400 is also used to:
After being connected to corresponding wireless network according to the distribution information, when reconnecting wireless network, if search
To the wireless network of multiple successful connections before, then corresponding wireless network is connected to according to the distribution information.
As shown in figure 5, another second terminal for carrying out distribution provided in an embodiment of the present invention, the second terminal include:
Link block 500: for being accessed according to preset wireless messages by success distribution after receiving distribution instruction
The wireless network emerged after first terminal opening network hot spot;
Receiving module 501: the distribution information that the first terminal is sent is received for the wireless network by accessing;
Processing module 502: for being connected to corresponding wireless network according to the distribution information.
The embodiment of the present invention also provides a kind of computer-readable non-volatile memory medium, including program code, when described
When program code is run on the computing device, said program code is for making the calculating equipment execute system of the embodiment of the present invention
The step of middle method for carrying out distribution.
Based on the same inventive concept, a kind of method for carrying out distribution is additionally provided in the embodiment of the present invention, due to this method
Corresponding equipment is that the embodiment of the present invention carries out terminal corresponding method in the system of distribution, and this method solves the problems, such as
Principle is similar to the terminal, therefore the implementation of this method may refer to carry out the implementation of the system of distribution, and it is no longer superfluous to repeat place
It states.
As shown in fig. 6, the embodiment of the present invention provides a kind of method for carrying out distribution, this method comprises:
Step 600, the first terminal of success distribution is after receiving auxiliary distribution instruction, opening network hot spot function;
Step 601, the first terminal is sent to the second terminal for the wireless network for being successfully connected to the first terminal
Distribution information.
Optionally, the first terminal of the success distribution is after receiving auxiliary distribution instruction, opening network hot spot function,
Include:
The first terminal passes through preset wireless messages opening network hot spot function after receiving auxiliary distribution instruction
Energy.
As shown in fig. 7, the embodiment of the present invention provides a kind of method for carrying out distribution, this method comprises:
Step 700, second terminal is after receiving distribution instruction, according to the access of preset wireless messages by success distribution
The wireless network emerged after first terminal opening network hot spot;
Step 701, the second terminal receives the distribution information that the first terminal is sent by the wireless network accessed;
Step 702, the second terminal is connected to corresponding wireless network according to the distribution information.
Optionally, the second terminal is accessed according to preset wireless messages by successfully matching after receiving distribution instruction
The wireless network emerged after the first terminal opening network hot spot of net, comprising:
The second terminal is after receiving distribution instruction, if searching multiple network names with preset wireless messages
Claim matched wireless network, then according to the network cipher in the preset wireless messages be sequentially ingressed into it is described preset wireless
The wireless network of information matches, the wireless network emerged after being successfully accessed by the first terminal opening network hot spot of success distribution
Network.
Optionally, the second terminal is connected to after corresponding wireless network according to the distribution information, further includes:
The second terminal is when reconnecting wireless network, if searching the wireless network of multiple successful connections before,
Corresponding wireless network is then connected to according to the distribution information.
As shown in figure 8, the embodiment of the present invention is to the complete method flow diagram for carrying out distribution.
Step 800, the first terminal of success distribution is after receiving auxiliary distribution instruction, opening network hot spot function;
Step 801, the first terminal is sent to the second terminal for the wireless network for being successfully connected to the first terminal
Distribution information;
Step 802, second terminal is after receiving distribution instruction, according to the access of preset wireless messages by success distribution
The wireless network emerged after first terminal opening network hot spot;
Step 803, the second terminal receives the distribution information that the first terminal is sent by the wireless network accessed;
Step 804, the second terminal is connected to corresponding wireless network according to the distribution information.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product
Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions
The combination of the block of a block and block diagram and or flow chart diagram for figure.These computer program instructions can be supplied to logical
With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine, so that via meter
The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block
In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More
Further, the application can take computer usable or the shape of the computer program product on computer readable storage medium
Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system
It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with
It is arbitrary medium, may include, stores, communicates, transmits or transmit program, is made by instruction execution system, device or equipment
With, or instruction execution system, device or equipment is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of method for carrying out distribution, which is characterized in that this method comprises:
The first terminal of success distribution is after receiving auxiliary distribution instruction, opening network hot spot function;
The first terminal sends distribution information to the second terminal for the wireless network for being successfully connected to the first terminal.
2. the method as described in claim 1, which is characterized in that the first terminal of the success distribution is receiving auxiliary distribution
After instruction, opening network hot spot function, comprising:
The first terminal passes through preset wireless messages opening network hot spot function after receiving auxiliary distribution instruction.
3. a kind of method for carrying out distribution, which is characterized in that this method comprises:
Second terminal is opened after receiving distribution instruction, according to the access of preset wireless messages by the first terminal of success distribution
The wireless network formed after network hotspot;
The second terminal receives the distribution information that the first terminal is sent by the wireless network accessed;
The second terminal is connected to corresponding wireless network according to the distribution information.
4. method as claimed in claim 3, which is characterized in that the second terminal is after receiving distribution instruction, according to pre-
If wireless messages access by the wireless network that is emerged after the first terminal opening network hot spot of success distribution, comprising:
The second terminal is after receiving distribution instruction, if searching multiple network names with preset wireless messages
The wireless network matched then is sequentially ingressed into and the preset wireless messages according to the network cipher in the preset wireless messages
Matched wireless network, the wireless network emerged after being successfully accessed by the first terminal opening network hot spot of success distribution.
5. method as claimed in claim 3, which is characterized in that the second terminal is connected to correspondence according to the distribution information
Wireless network after, further includes:
The second terminal is when reconnecting wireless network, if searching the wireless network of multiple successful connections before, root
Corresponding wireless network is connected to according to the distribution information.
6. a kind of first terminal for carrying out distribution, which is characterized in that the first terminal includes: at least one processing unit and extremely
A few storage unit, wherein the storage unit is stored with program code, when said program code is held by the processing unit
When row, so that the processing unit executes following process:
After success distribution, after receiving auxiliary distribution instruction, opening network hot spot function;It is whole to being successfully connected to described first
The second terminal of the wireless network at end sends distribution information.
7. first terminal as claimed in claim 6, which is characterized in that the processing unit is specifically used for:
After receiving auxiliary distribution instruction, pass through preset wireless messages opening network hot spot function.
8. a kind of second terminal for carrying out distribution, which is characterized in that the second terminal includes: at least one processing unit and extremely
A few storage unit, wherein the storage unit is stored with program code, when said program code is held by the processing unit
When row, so that the processing unit executes following process:
After receiving distribution instruction, according to the access of preset wireless messages by the first terminal opening network hot spot of success distribution
The wireless network formed afterwards;The distribution information that the first terminal is sent is received by the wireless network of access;Matched according to described
Net information is connected to corresponding wireless network.
9. second terminal as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
After receiving distribution instruction, if searching multiple matched wireless networks of network name with preset wireless messages
Network is then sequentially ingressed into according to the network cipher in the preset wireless messages matched wireless with the preset wireless messages
Network, the wireless network emerged after being successfully accessed by the first terminal opening network hot spot of success distribution.
10. second terminal as claimed in claim 8, which is characterized in that the processing unit is also used to:
After being connected to corresponding wireless network according to the distribution information, when reconnecting wireless network, if searching more
The wireless network of successful connection, then be connected to corresponding wireless network according to the distribution information before a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810942863.9A CN109257795A (en) | 2018-08-17 | 2018-08-17 | A kind of method and apparatus carrying out distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810942863.9A CN109257795A (en) | 2018-08-17 | 2018-08-17 | A kind of method and apparatus carrying out distribution |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109257795A true CN109257795A (en) | 2019-01-22 |
Family
ID=65049363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810942863.9A Pending CN109257795A (en) | 2018-08-17 | 2018-08-17 | A kind of method and apparatus carrying out distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257795A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714742A (en) * | 2019-02-19 | 2019-05-03 | 深圳市和盈互联科技有限公司 | A kind of Internet of Things Wi-Fi module network self-adapting switching method |
CN109890029A (en) * | 2019-01-29 | 2019-06-14 | 珠海迈科智能科技股份有限公司 | A kind of intelligent wireless device matches network method automatically |
CN110461025A (en) * | 2019-06-25 | 2019-11-15 | 深圳安吉尔饮水产业集团有限公司 | With network method, network distribution device, mobile terminal and smart machine |
CN110636147A (en) * | 2019-09-12 | 2019-12-31 | 公牛集团股份有限公司 | Network distribution method and device of double-control switch, switch and intelligent switch system |
CN110650516A (en) * | 2019-09-23 | 2020-01-03 | 芯海科技(深圳)股份有限公司 | Network distribution method and device, Internet of things equipment, terminal equipment and storage medium |
CN112543492A (en) * | 2020-11-30 | 2021-03-23 | 青岛海信智慧家居系统股份有限公司 | Method and device for re-distribution network and storage medium |
CN113395741A (en) * | 2021-05-24 | 2021-09-14 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735814A (en) * | 2015-04-10 | 2015-06-24 | 三星电子(中国)研发中心 | Access method, system and related device for automatically getting access to WiFi network |
CN105636041A (en) * | 2015-12-29 | 2016-06-01 | 广东欧珀移动通信有限公司 | Networking method and apparatus for intelligent device |
CN105792316A (en) * | 2016-04-19 | 2016-07-20 | 欧普照明股份有限公司 | Network configuration method and network configuration device for intelligent equipment |
CN106358264A (en) * | 2016-11-08 | 2017-01-25 | 珠海市魅族科技有限公司 | Network sharing method and terminal |
CN106454827A (en) * | 2016-09-30 | 2017-02-22 | 上海斐讯数据通信技术有限公司 | Intelligent equipment networking method and intelligent equipment networking system |
CN107241679A (en) * | 2016-03-29 | 2017-10-10 | 阿里巴巴集团控股有限公司 | One kind connection method for building up, method for sending information, message method and device |
CN107466055A (en) * | 2016-06-06 | 2017-12-12 | 美的集团股份有限公司 | Household electrical appliance match somebody with somebody network method, mobile terminal and household electrical appliance |
CN107466086A (en) * | 2017-08-07 | 2017-12-12 | 珠海格力电器股份有限公司 | A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances |
CN107682393A (en) * | 2017-08-16 | 2018-02-09 | 珠海格力电器股份有限公司 | A kind of Internet of Things distribution method and device, storage medium, electrical equipment and terminal |
CN108307479A (en) * | 2017-12-15 | 2018-07-20 | 珠海格力电器股份有限公司 | Communication module and its distribution method, apparatus, storage medium, equipment and terminal |
-
2018
- 2018-08-17 CN CN201810942863.9A patent/CN109257795A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735814A (en) * | 2015-04-10 | 2015-06-24 | 三星电子(中国)研发中心 | Access method, system and related device for automatically getting access to WiFi network |
CN105636041A (en) * | 2015-12-29 | 2016-06-01 | 广东欧珀移动通信有限公司 | Networking method and apparatus for intelligent device |
CN107241679A (en) * | 2016-03-29 | 2017-10-10 | 阿里巴巴集团控股有限公司 | One kind connection method for building up, method for sending information, message method and device |
CN105792316A (en) * | 2016-04-19 | 2016-07-20 | 欧普照明股份有限公司 | Network configuration method and network configuration device for intelligent equipment |
CN107466055A (en) * | 2016-06-06 | 2017-12-12 | 美的集团股份有限公司 | Household electrical appliance match somebody with somebody network method, mobile terminal and household electrical appliance |
CN106454827A (en) * | 2016-09-30 | 2017-02-22 | 上海斐讯数据通信技术有限公司 | Intelligent equipment networking method and intelligent equipment networking system |
CN106358264A (en) * | 2016-11-08 | 2017-01-25 | 珠海市魅族科技有限公司 | Network sharing method and terminal |
CN107466086A (en) * | 2017-08-07 | 2017-12-12 | 珠海格力电器股份有限公司 | A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances |
CN107682393A (en) * | 2017-08-16 | 2018-02-09 | 珠海格力电器股份有限公司 | A kind of Internet of Things distribution method and device, storage medium, electrical equipment and terminal |
CN108307479A (en) * | 2017-12-15 | 2018-07-20 | 珠海格力电器股份有限公司 | Communication module and its distribution method, apparatus, storage medium, equipment and terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109890029A (en) * | 2019-01-29 | 2019-06-14 | 珠海迈科智能科技股份有限公司 | A kind of intelligent wireless device matches network method automatically |
CN109890029B (en) * | 2019-01-29 | 2022-06-03 | 珠海迈科智能科技股份有限公司 | Automatic network distribution method of intelligent wireless equipment |
CN109714742A (en) * | 2019-02-19 | 2019-05-03 | 深圳市和盈互联科技有限公司 | A kind of Internet of Things Wi-Fi module network self-adapting switching method |
CN110461025A (en) * | 2019-06-25 | 2019-11-15 | 深圳安吉尔饮水产业集团有限公司 | With network method, network distribution device, mobile terminal and smart machine |
CN110461025B (en) * | 2019-06-25 | 2021-08-27 | 深圳安吉尔饮水产业集团有限公司 | Network distribution method, network distribution device, mobile terminal and intelligent equipment |
CN110636147A (en) * | 2019-09-12 | 2019-12-31 | 公牛集团股份有限公司 | Network distribution method and device of double-control switch, switch and intelligent switch system |
CN110650516A (en) * | 2019-09-23 | 2020-01-03 | 芯海科技(深圳)股份有限公司 | Network distribution method and device, Internet of things equipment, terminal equipment and storage medium |
CN110650516B (en) * | 2019-09-23 | 2021-10-08 | 芯海科技(深圳)股份有限公司 | Network distribution method and device, Internet of things equipment, terminal equipment and storage medium |
CN112543492A (en) * | 2020-11-30 | 2021-03-23 | 青岛海信智慧家居系统股份有限公司 | Method and device for re-distribution network and storage medium |
CN113395741A (en) * | 2021-05-24 | 2021-09-14 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257795A (en) | A kind of method and apparatus carrying out distribution | |
CN103458399B (en) | Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network | |
CN104660714B (en) | Long-range control method, the apparatus and system of terminal device | |
CN103188824B (en) | The network system and its network setting method of household electrical appliance | |
CN107465584A (en) | Method for network access and device, the intelligent appliance of intelligent appliance | |
CN105100010B (en) | A kind of method for accessing network and each relevant device | |
CN106211205A (en) | Collocation method and system, household electrical appliance, mobile terminal and server | |
CN105208583A (en) | Intelligent household electrical appliance networking method and apparatus, and intelligent equipment | |
CN105262652A (en) | Network configuration method for network household appliance | |
CN103078904A (en) | Household appliance control method, and household appliance and server adopting same | |
CN104200644B (en) | Equipment remote-control method, function terminal and intelligent terminal | |
CN103268077B (en) | Control method of remote control device based on Android mobile phones | |
CN105163371A (en) | WIFI setting system and method based on Bluetooth | |
CN104635543B (en) | It is managed the method and apparatus of operation | |
CN106413037A (en) | Network access method and device for interment-of-things equipment, equipment and mobile terminal | |
CN103810832A (en) | Method and device for controlling equipment by utilizing Bluetooth | |
CN104202832A (en) | Wireless accessing method and device of WIFI terminal | |
CN204215241U (en) | A kind of soymilk machine | |
CN104618201A (en) | Internet of things appliance control system, control method and appliance gateway | |
CN105100279A (en) | Control method and device for household appliance | |
CN112566113B (en) | Key generation and terminal network distribution method, device and equipment | |
CN104980215A (en) | System and method for achieving WiFi configuration of intelligent equipment based on optical signal transmission | |
CN206431442U (en) | Extension facility and intelligent central control system are controlled in intelligence | |
CN104640231A (en) | Wireless network setting method and wireless network setting system of intelligent household electrical appliance | |
CN109842668A (en) | Remote supervision system and transferring device for it |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190122 |
|
RJ01 | Rejection of invention patent application after publication |