CN109525976A - With network method, system and readable storage medium storing program for executing - Google Patents

With network method, system and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109525976A
CN109525976A CN201811483444.XA CN201811483444A CN109525976A CN 109525976 A CN109525976 A CN 109525976A CN 201811483444 A CN201811483444 A CN 201811483444A CN 109525976 A CN109525976 A CN 109525976A
Authority
CN
China
Prior art keywords
distribution
distribution process
bluetooth
mobile terminal
net equipment
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
Application number
CN201811483444.XA
Other languages
Chinese (zh)
Inventor
曹黎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811483444.XA priority Critical patent/CN109525976A/en
Publication of CN109525976A publication Critical patent/CN109525976A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses one kind to match network method, system and readable storage medium storing program for executing, wherein with network method includes: the first distribution process transmission prompt information to mobile terminal when the network information of the first distribution process detection in distribution net equipment to non-distribution;Mobile terminal opens the second distribution process in mobile terminal based on prompt information;When the scanning of the second distribution process is to the first bluetooth, the second distribution process initiates Bluetooth pairing request to the first bluetooth;When determining the first bluetooth and the success of the second Bluetooth pairing, the first distribution process and the second distribution process carry out agreement connection;First distribution process opens the wifi to distribution net equipment and connects router.As long as the present invention supports wifi bluetooth to distribution net equipment, the distribution of mobile terminal can be realized, simplify with net operation, improves efficiency, also, be suitable for the chip of lower cost solution.

Description

With network method, system and readable storage medium storing program for executing
Technical field
The present invention relates to smart machine distribution technical fields, more particularly to match network method, system and readable storage medium storing program for executing.
Background technique
Current many smart machines, as Story machine, intelligent robot cause to want all without interface display and input equipment It is extremely difficult when to these equipment distributions.
In the prior art, above equipment distribution is usually given by AirKiss, AirKiss technology is a kind of innovative Information transmission technique.By the technology can easily to one with the external world without establish it is any substantive connect (including Wired, wireless, bluetooth, NFC etc.) equipment transmit information, can be the information such as the ssid of Wifi, password in environment.
By taking intelligent socket as an example, intelligent socket belongs to Internet of Things intelligent control class equipment, it can be used for household electrical appliances, such as electricity The intelligent switch of lamp, water heater etc. controls.The characteristics of intelligent socket is miniaturization and low-power consumption.Therefore, the equipment and discomfort The configuration input peripherals such as screen and keyboard are closed, in this case, the biography of its SSID and password can be solved perfectly in AirKiss technology Defeated and offering question.
For the hardware of AirKiss technology application device almost without additional requirement, when configuration, needs equipment to be able to enter AirKiss mode.
The defect of the prior art is main are as follows: it is required that wifi chip or wifi module hardware must support AirKiss agreement, But still there is significant fraction wifi chip and module is not support AirKiss agreement, especially lower cost solution at present Chip, not supporting on hardware result in not being available this function.
Summary of the invention
The main purpose of the present invention is to provide one kind to match network method, system and readable storage medium storing program for executing, it is intended to solve existing Most of wifi chip and module do not support AirKiss agreement and cause the technical problem of distribution difficulty in technology.
To achieve the above object, the present invention provides a kind of with network method, it is described match network method the following steps are included:
When the network information of the distribution net equipment in the first distribution process detection wherein to non-distribution, match by described first Net process sends prompt information to mobile terminal, and controls first bluetooth to distribution net equipment and be in visible state;
The mobile terminal opens the second distribution process in the mobile terminal based on the prompt information;
When the second bluetooth for determining the mobile terminal is opened, the mobile terminal is opened by the second distribution process Open bluetooth scanning mode;
When the second distribution process scanning is to first bluetooth, the mobile terminal by second distribution into Journey initiates Bluetooth pairing request to first bluetooth;
It is described to pass through first distribution to distribution net equipment when determining first bluetooth and the success of the second Bluetooth pairing Process and the second distribution process of the mobile terminal carry out agreement connection;
The mobile terminal opens the wifi to distribution net equipment by the first distribution process and connects router.
Optionally, the first distribution process includes: with the step of the second distribution process progress agreement connection
The second distribution process exports dialog box, wherein the dialog box includes the SSID for user's input router And password;
After the dialog box receives the SSID and password, the second distribution process leads to the SSID and password Cross agreement be sent to it is described to distribution net equipment.
Optionally, the first distribution process opens the wifi to distribution net equipment and includes: the step of connecting router
The first distribution process receives the SSID and password;
The first distribution process opens the wifi to distribution net equipment, and the routing is connected with password by the SSID Device.
Optionally, described to match network method also after described the step of connecting the router with password by the SSID Include:
The first distribution process judges whether the wifi connection succeeds;
If so, the first distribution process saves the SSID and password to the buffer to distribution net equipment, And the successful first information of distribution is sent to the mobile terminal;
If it is not, then the first distribution process by agreement send distribution failure the second information to second distribution into Journey, and execute the second distribution process output dialog box step.
Optionally, the step of being in visible state to the first bluetooth of distribution net equipment described in the control include:
The first distribution process judges whether first bluetooth opens;
If so, the title of the first bluetooth described in the first distribution Process flowchart is in visible state;
If it is not, then the first distribution process opens first bluetooth.
Optionally, the step of second bluetooth for determining the mobile terminal is opened include:
The second distribution process judges whether second bluetooth opens;
If so, the second distribution process opens bluetooth scanning mode;
If it is not, then the second distribution process opens second bluetooth.
Optionally, the step for determining that first bluetooth is successful with the second Bluetooth pairing includes:
The first distribution process verifies Bluetooth pairing request;
If being verified, first bluetooth and the success of the second Bluetooth pairing are determined.
Optionally, the first distribution process includes: with the step of the second distribution process progress agreement connection
The second distribution process is to the connection request for establishing Bluetooth protocol to distribution net equipment transmission;
The first distribution process receives the connection request, complete the first distribution process and the second distribution process it Between agreement connection.
In addition, to achieve the above object, the present invention also provides a kind of system, the system comprises: memory, processor and It is stored in the distribution program that can be run on the memory and on the processor, the distribution program is held by the processor Described in any item the step of matching network method among the above are realized when row.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Distribution program is contained, described in any item the step of matching network method among the above are realized when the distribution program is executed by processor.
In the present invention, by the way that the first distribution process, the first bluetooth are arranged in distribution net equipment, it is arranged in the terminal Second distribution process, the second bluetooth cooperate router, realize and match network process;In the net of the first distribution process detection to non-distribution When network information, the first distribution process prompts the mobile terminal of user that should be in distribution net equipment not with net state, opens in user After second distribution process, judge whether the second bluetooth opens, if so, bluetooth scanning mode is opened, described second When the scanning of distribution process is to first bluetooth, Bluetooth pairing request is initiated;Also, after Bluetooth pairing success, carry out agreement Connection, so that the first distribution process opens the wifi to distribution net equipment and connects router, also, in wifi connection When success, distribution success.As long as the present invention supports wifi bluetooth to distribution net equipment, the distribution of mobile terminal can be realized, be not required to AirKiss function is supported to the chip of distribution net equipment, mobile terminal directly opens second to distribution net equipment without barcode scanning The application of distribution process, the first distribution process of realization are connect with the agreement of the second distribution process, such as input SSID and password, It simplifies with net operation, improves efficiency, also, be suitable for the chip of lower cost solution, effectively wifi chip is avoided not support AirKiss agreement and the technical problem for causing distribution difficulty.
Detailed description of the invention
Fig. 1 is the system hardware structure schematic diagram that the embodiment of the present invention is related to;
Fig. 2 is the block diagram that the present invention matches network method first embodiment;
Fig. 3 is the flow diagram that the present invention matches network method first embodiment;
Fig. 4 is the flow diagram that the present invention matches network method second embodiment;
Fig. 5 is the flow diagram that the present invention matches network method 3rd embodiment;
Fig. 6 is the flow diagram that the present invention matches network method fourth embodiment;
Fig. 7 is the flow diagram that the present invention matches the 5th embodiment of network method.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the system structure diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the system may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, system can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Certainly, system can also configure gyroscope, barometer, hygrometer, thermometer, infrared sensor etc. Other sensors, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired systems of system structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, user interface section and distribution program.
In the system shown in figure 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the distribution program stored in memory 1005, and execute following operation:
When the network information of the distribution net equipment in the first distribution process detection wherein to non-distribution, match by described first Net process sends prompt information to mobile terminal, and controls first bluetooth to distribution net equipment and be in visible state;
The mobile terminal opens the second distribution process in the mobile terminal based on the prompt information;
When the second bluetooth for determining the mobile terminal is opened, the mobile terminal is opened by the second distribution process Open bluetooth scanning mode;
When the second distribution process scanning is to first bluetooth, the mobile terminal by second distribution into Journey initiates Bluetooth pairing request to first bluetooth;
It is described to pass through first distribution to distribution net equipment when determining first bluetooth and the success of the second Bluetooth pairing Process and the second distribution process of the mobile terminal carry out agreement connection;
The mobile terminal opens the wifi to distribution net equipment by the first distribution process and connects router.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The second distribution process exports dialog box, wherein the dialog box includes the SSID for user's input router And password;
After the dialog box receives the SSID and password, the second distribution process leads to the SSID and password Cross agreement be sent to it is described to distribution net equipment.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The first distribution process receives the SSID and password;
The first distribution process opens the wifi to distribution net equipment, and the routing is connected with password by the SSID Device.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The first distribution process judges whether the wifi connection succeeds;
If so, the first distribution process saves the SSID and password to the buffer to distribution net equipment, And the successful first information of distribution is sent to the mobile terminal;
If it is not, then the first distribution process by agreement send distribution failure the second information to second distribution into Journey, and execute the second distribution process output dialog box step.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The first distribution process judges whether first bluetooth opens;
If so, the title of the first bluetooth described in the first distribution Process flowchart is in visible state;
If it is not, then the first distribution process opens first bluetooth.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The second distribution process judges whether second bluetooth opens;
If so, the second distribution process opens bluetooth scanning mode;
If it is not, then the second distribution process opens second bluetooth.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The first distribution process verifies Bluetooth pairing request;
If being verified, first bluetooth and the success of the second Bluetooth pairing are determined.
Further, processor 1001 can call the distribution program stored in memory 1005, also execute following operation:
The second distribution process is to the connection request for establishing Bluetooth protocol to distribution net equipment transmission;
The first distribution process receives the connection request, complete the first distribution process and the second distribution process it Between agreement connection.
It is the block diagram of distribution network systems of the present invention referring to Fig. 2.
Distribution network systems of the invention include router, to distribution net equipment, mobile terminal, are equipped with first to distribution net equipment and match Net process and the first bluetooth, mobile terminal be equipped with the second distribution process and the second bluetooth, the first distribution process can be application or Person's service, always to distribution net equipment end running background.First distribution process is then to be mounted on mobile terminal as application, mobile Terminal can be mobile phone terminal.Also, to the operating system of distribution net equipment and mobile terminal without limitation, can be linux, Android, ios etc..It is connected between first distribution process and the first bluetooth by bluetooth protocol repertory, the second distribution process and second It is connected between bluetooth by bluetooth protocol repertory, and is connected between the first bluetooth and the second bluetooth by agreement.
It is the flow diagram that the present invention matches network method first embodiment, in the first embodiment, distribution referring to Fig. 3, Fig. 3 Method includes:
Step S10 passes through institute when the network information of the distribution net equipment in the first distribution process detection wherein to non-distribution It states the first distribution process and sends prompt information to mobile terminal, and control first bluetooth to distribution net equipment and be in and can see this State.
In the present embodiment, this system includes being equipped with first to distribution net equipment to distribution net equipment, mobile terminal and router Distribution process and the first bluetooth, mobile terminal are equipped with the second distribution process and the second bluetooth, and the first distribution process can be application Or service, always to distribution net equipment end running background.First distribution process is then to be mounted on mobile terminal as application, is moved Dynamic terminal can be mobile phone terminal.Also, to the operating system of distribution net equipment and mobile terminal without limitation, can be linux, Android, ios etc..
Bluetooth, Bluetooth are a kind of wireless technology standards, it can be achieved that fixed equipment, mobile device and building people domain Short-range data exchange between net, uses the UHF radio wave of the ISM band of 2.4-2.485GHz.
After distribution net equipment starting up, the buffer that the first distribution process detection treats distribution net equipment is read out, The network information that whether there is distribution is checked in buffer, and the network information includes the successful SSID of distribution and password, if not depositing , then explanation is in distribution net equipment does not match net state, at this time, it may be necessary to tell user that should not complete distribution to distribution net equipment, because This, the first distribution process transmission prompt information to mobile terminal opens the second distribution process with the user of prompting mobile terminal, and Control first bluetooth to distribution net equipment is in visible state.
SSID is the abbreviation of Service Set Identifier, means that service set.SSID technology can incite somebody to action One WLAN is divided into several sub-networks for needing different identity to verify, each sub-network requires independent identity and tests Card only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks.
The prompt information that first distribution process is sent can be buzzing perhaps indicator light flashing or interface prompt etc., As long as can prompt user that should be in the prompting mode of state of non-distribution to distribution net equipment.
It controls and is in visible state to the first bluetooth of distribution net equipment, be to make the second distribution process open the second indigo plant It can be scanned after tooth to the first bluetooth, be convenient for Bluetooth pairing.
Step S20, the mobile terminal open the second distribution process in the mobile terminal based on the prompt information.
In the present embodiment, user opens the of mobile terminal after the prompt information for receiving the first distribution process manually The application program of two distribution processes.For example, user is hearing the buzzing sound issued to distribution net equipment, or see to distribution The non-distribution indicator light of equipment is flashing, or the interface of a non-distribution of prompt is exported to distribution net equipment, and user is according to certainly Body demand picks up mobile terminal, opens the second distribution process.
Step S30, when the second bluetooth for determining the mobile terminal is opened, the mobile terminal is matched by described second Net process opens bluetooth scanning mode.
In the present embodiment, the second distribution process of mobile terminal is opened manually by user, at this point, the second distribution process is examined Survey whether the second bluetooth opens, if having turned on, the second distribution process starts to carry out bluetooth scanning.
In general, mobile terminal can all have Bluetooth chip, when opening Bluetooth function, the prompting interface above screen also will appear Bluetooth icon, the second distribution process are to be installed on an application program of mobile terminal, and whether the bluetooth of detectable mobile terminal It opens, if not opening, the second distribution process can directly control the second bluetooth opening.
Step S40, when the second distribution process scanning is to first bluetooth, the mobile terminal passes through described the Two distribution processes initiate Bluetooth pairing request to first bluetooth.
In the present embodiment, since the first bluetooth is in visible state, the first bluetooth is opened in the second distribution process Afterwards, as long as the first bluetooth is in the distance between second bluetooth in pre-determined distance, the second distribution process is to be easy to sweep It retouches to the first bluetooth, in general, user can be named according to title of the self-demand to the first bluetooth and the second bluetooth, such as the The entitled NEED-NET-DEVICE of one bluetooth, in the bluetooth of the second distribution process scanning to entitled NEED-NET-DEVICE When, it is believed that the second distribution process scanning to the first bluetooth is matched at this point, the second distribution process initiates bluetooth to first bluetooth To request, if successful matching, can be realized to the pairing between distribution net equipment and mobile terminal.
Step S50, when determining first bluetooth and the success of the second Bluetooth pairing, it is described pass through to distribution net equipment it is described First distribution process and the second distribution process of the mobile terminal carry out agreement connection.
In the present embodiment, the first distribution process judge the first bluetooth and the second Bluetooth pairing success when, the first distribution into Journey and the second distribution process carry out agreement connection.
Agreement connection, can be SPP agreement, SPP, Standara Parallel Port, standard parallel interface.It can be with 50K Bits/ seconds typical transmission speed is provided, highest transmission speed was up to 150K Bits/ seconds.It can carry out 9Bits's Parallel input, present onboard parallel interface generally support the transmitted in both directions of data port therefore the maximum input up to 17Bits, and The parallel output of 12Bits.The mode of usually optional Nibble (4bits) or Byte (8bits) carry out input data, also A kind of transmitted in both directions mode of Bi-directional, this mode need hardware supported.SPP hardware is 4 by 8 data lines Control line and 5 bar state lines are formed, they respectively correspond three different registers to carry out the read-write operation of data.
Bluetooth Serial Port is based on SPP agreement (Serial Port Profile), and serial ports can be created between bluetooth equipment Carry out data transmission.Between first distribution process and the second distribution process SPP agreement connection, really by the first bluetooth with SPP agreement between second bluetooth is attached.Specifically:
Second distribution process exports a dialog box, defeated manually in user for the SSID and password of user's input router After the SSID and password that enter router, the SSID that user inputs and password are sent to first by agreement and matched by the second distribution process Net process, the first distribution process opens wifi after receiving SSID and password, and goes to connect with the SSID and password received Router illustrates distribution success if successful connection.
Certainly, the agreement of this case connects other than agreement, can also be other agreements, and such as OPP agreement, i.e. object is handed over Change agreement, File Transfer Protocol.
Step S60, the mobile terminal open the wifi to distribution net equipment and company by the first distribution process Connect router.
In the present embodiment, after the first distribution process is connect with the second distribution process completion agreement, the first distribution process is connect Receive the SSID and password that send from the second distribution process, and open wifi, with the SSID and password that receive go link road by Device illustrates distribution success if successful connection.
In the present invention, by the way that the first distribution process, the first bluetooth are arranged in distribution net equipment, it is arranged in the terminal Second distribution process, the second bluetooth cooperate router, realize and match network process;In the net of the first distribution process detection to non-distribution When network information, the first distribution process prompts the mobile terminal of user that should be in distribution net equipment not with net state, opens in user After second distribution process, judge whether the second bluetooth opens, if so, bluetooth scanning mode is opened, described second When the scanning of distribution process is to first bluetooth, Bluetooth pairing request is initiated;Also, after Bluetooth pairing success, carry out agreement Connection, so that the first distribution process opens the wifi to distribution net equipment and connects router, also, in wifi connection When success, distribution success.As long as the present invention supports wifi bluetooth to distribution net equipment, the distribution of mobile terminal can be realized, be not required to AirKiss function is supported to the chip of distribution net equipment, mobile terminal directly opens second to distribution net equipment without barcode scanning The application of distribution process, the first distribution process of realization are connect with the agreement of the second distribution process, such as input SSID and password, It simplifies with net operation, improves efficiency, also, be suitable for the chip of lower cost solution, effectively wifi chip is avoided not support AirKiss agreement and the technical problem for causing distribution difficulty.
Based on first embodiment, the present invention also proposes the second embodiment with network method, as shown in figure 4, step S50 packet It includes:
Step S500, the second distribution process export dialog box, wherein the dialog box includes to input to route for user The SSID and password of device;
Step S501, after the dialog box receives the SSID and password, the second distribution process will be described SSID and password are sent to described to distribution net equipment by agreement.
In the present embodiment, the second distribution process exports dialog box, for the SSID and password of user's input router; For user in dialog box after the SSID and password of input router, the dialog box receives the SSID and password, and described Two distribution processes the SSID and password are sent to by agreement it is described to distribution net equipment, in order to the first distribution process opening Router is carried out with password with the SSID received when wifi to connect.
SSID is the abbreviation of Service Set Identifier, means that service set.SSID technology can be by one A WLAN is divided into several sub-networks for needing different identity to verify, each sub-network requires independent identity and tests Card only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks. In this case, router is for managing to which in the WLAN where distribution net equipment and mobile terminal, SSID is the router One service set can enter specific son to distribution net equipment and mobile terminal if the SSID and password of input are correct Network.
Based on second embodiment, the present invention also proposes the 3rd embodiment with network method, as shown in figure 5, step S60 is also wrapped It includes:
Step S601, the first distribution process receive the SSID and password;
Step S602, the first distribution process opens the wifi to distribution net equipment, and is connected by the SSID and password Connect the router.
In the present embodiment, the first distribution process opens wifi and link road to distribution net equipment by implement body are as follows: first When distribution process receives the SSID and password of user's input, the first distribution process opens the wifi to distribution net equipment, and uses The SSID of user's input connects router with password.
It is further, described to match network method as shown in figure 5, after step S602 further include:
Step S603, the first distribution process judge whether the wifi connection succeeds;
Step S604, if so, the first distribution process saves the SSID and password to described to distribution net equipment Buffer, and the successful first information of distribution is sent to the mobile terminal;
Step S605, if it is not, then the first distribution process by agreement sends the second information of distribution failure to described Second distribution process, and execute the second distribution process output dialog box step.
In the present embodiment, after the first distribution process connects the router with password by the SSID, described first Distribution process judges whether the wifi connection succeeds;If so, the first distribution process saves the SSID and password Buffer described in distribution net equipment, and the successful first information of distribution is sent to the mobile terminal;If it is not, then described First distribution process sends the second information of distribution failure to the second distribution process by agreement, and executes described second and match Net process exports dialog box step.
If it is determined that wifi successful connection, then save SSID and password to buffer, checked temporarily convenient for first network process Storage is either with or without the network information that there is distribution, when SSID and password are saved to buffer, illustrate this to distribution net equipment at In having matched net state, distribution again is not all needed before the router more renewed to be used, meanwhile, successful first letter of distribution Breath is sent to mobile terminal, informs that user should be to distribution net equipment distribution success;Certainly, if wifi connection is unsuccessful, first matches Net process sends the second information to the second distribution process of distribution failure by agreement, pops up dialog box again to mobile terminal, So that user re-enters SSID and password, until correctly could distribution success.
Further, it is based on first embodiment, proposes that the present invention matches the fourth embodiment of network method, as shown in fig. 6, step S10 includes:
Step S101, the first distribution process judge whether first bluetooth opens;
Step S102, if so, the title of the first bluetooth described in the first distribution Process flowchart is in visible state;
Step S103, if it is not, then the first distribution process opens first bluetooth.
In the present embodiment, the first distribution Process flowchart waits for that the first bluetooth of distribution net equipment is in visible state, specifically: the One distribution process judges whether the first bluetooth opens, if so, the title of the first bluetooth of control is in visible state, if it is not, then Open the first bluetooth.The title of first bluetooth can customize name, such as be named as NEED-NET-DEVICE, control the first bluetooth Title be in visible state, exactly control NEED-NET-DEVICE and be in the state that can be scanned.If the first distribution into Journey determines that the first bluetooth is not opened, then first the first bluetooth of distribution Process flowchart is opened, in order to which the second distribution process can be swept Retouch the title to the first bluetooth.
Certainly, the first distribution process gives the bluetooth title being arranged to distribution net equipment not necessarily non-NEED_NET_DEVICE is not Can, can also be with self-defining, it might even be possible to as two dimensional code exist, allow mobile terminal can scan the two-dimensional code and then get to The title of distribution net equipment, then goes bluetooth to scan according to this title and the mode matched is not limited to.
Further, similarly, step S30 includes:
The second distribution process judges whether second bluetooth opens;
If so, the second distribution process opens bluetooth scanning mode;
If it is not, then the second distribution process opens second bluetooth.
In the present embodiment, the second distribution process judges whether the second bluetooth opens, if so, the second distribution process is opened Open bluetooth scanning mode;If it is not, then the second distribution process opens second bluetooth.Since this case is using two bluetooth cores Agreement connection between piece, therefore, it is necessary first to which two bluetooths are matched, before pairing, therefore, to assure that two bluetooths are equal Pairing can be just scanned when two bluetooths are open state for open state.
Further, step S50 includes: that the first distribution process verifies Bluetooth pairing request;
If being verified, first bluetooth and the success of the second Bluetooth pairing are determined.
Judge whether Bluetooth pairing succeeds, can be the first distribution process and Bluetooth pairing request is verified, if verifying Pass through, then determines the first bluetooth and the success of the second Bluetooth pairing.The process of verifying may is that the first distribution process to the second distribution Process sends a specific instruction, when the second distribution process replys a correctly instruction according to specific instruction, then determines indigo plant Tooth pairing request is verified, if the instruction that the second distribution process is replied is incorrect, decision verification does not pass through, at this point, determining First bluetooth and the second Bluetooth pairing fail.
Bluetooth pairing is technology more mature in the prior art, as long as this field is able to achieve the successful mode of Bluetooth pairing ?.
Based on first embodiment, the present invention also proposes the 5th embodiment with network method, as shown in fig. 7, step S50 packet It includes:
Step S502, the second distribution process is to the connection request for establishing Bluetooth protocol to distribution net equipment transmission;
Step S503, the first distribution process receive the connection request, complete the first distribution process and second Agreement connection between distribution process.
In the present embodiment, when determining first bluetooth and the success of the second Bluetooth pairing, the first distribution process and second Distribution process carries out agreement connection, mainly are as follows: the second distribution process gives the connection for establishing Bluetooth protocol to distribution net equipment transmission to ask It asks, when the first distribution process receives connection request, the agreement completed between the first distribution process and the second distribution process is connected.
Specific advantage of the invention is:
As long as can be realized to distribution net equipment hardware supported wifi bluetooth, does not need chip and support AirKiss function, mobile phone End inputs SSID and password, simplifies with net operation, improve without barcode scanning, directly opening mobile phone terminal application to distribution network Efficiency.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, distribution is stored on the readable storage medium storing program for executing Program realizes the step of matching network method as described above when the distribution program is executed by processor.
The specific embodiment of readable storage medium storing program for executing of the present invention and above-mentioned each embodiment with network method are essentially identical, herein It does not repeat them here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that appliance arrangement (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. one kind match network method, which is characterized in that it is described match network method the following steps are included:
When the network information of the distribution net equipment in the first distribution process detection wherein to non-distribution, by first distribution into Journey sends prompt information to mobile terminal, and controls first bluetooth to distribution net equipment and be in visible state;
The mobile terminal opens the second distribution process in the mobile terminal based on the prompt information;
When the second bluetooth for determining the mobile terminal is opened, the mobile terminal is opened blue by the second distribution process Tooth scanning mode;
When the second distribution process scanning is to first bluetooth, the mobile terminal passes through the second distribution process pair First bluetooth initiates Bluetooth pairing request;
It is described to pass through the first distribution process to distribution net equipment when determining first bluetooth and the success of the second Bluetooth pairing Agreement connection is carried out with the second distribution process of the mobile terminal;
The mobile terminal opens the wifi to distribution net equipment by the first distribution process and connects router.
2. matching network method as described in claim 1, which is characterized in that the first distribution process and the second distribution process carry out Agreement connect the step of include:
The second distribution process exports dialog box, wherein the dialog box includes for the SSID of user's input router and close Code;
After the dialog box receives the SSID and password, the SSID and password are passed through association by the second distribution process View is sent to described to distribution net equipment.
3. matching network method as claimed in claim 2, which is characterized in that the first distribution process is opened to distribution net equipment Wifi and the step of connecting router includes:
The first distribution process receives the SSID and password;
The first distribution process opens the wifi to distribution net equipment, and the router is connected with password by the SSID.
4. matching network method as claimed in claim 3, which is characterized in that described to connect the routing with password by the SSID It is described to match network method after the step of device further include:
The first distribution process judges whether the wifi connection succeeds;
If so, the first distribution process saves the SSID and password to the buffer to distribution net equipment, and will The successful first information of distribution is sent to the mobile terminal;
If it is not, then the first distribution process by agreement sends the second information of distribution failure to the second distribution process, And execute the second distribution process output dialog box step.
5. as described in claim 1 match network method, which is characterized in that described in the control to the first bluetooth of distribution net equipment at Include: in the step of visible state
The first distribution process judges whether first bluetooth opens;
If so, the title of the first bluetooth described in the first distribution Process flowchart is in visible state;
If it is not, then the first distribution process opens first bluetooth.
6. matching network method as described in claim 1, which is characterized in that second bluetooth for determining the mobile terminal is opened The step of include:
The second distribution process judges whether second bluetooth opens;
If so, the second distribution process opens bluetooth scanning mode;
If it is not, then the second distribution process opens second bluetooth.
7. matching network method as described in claim 1, which is characterized in that described to determine first bluetooth and the second Bluetooth pairing Successful step includes:
The first distribution process verifies Bluetooth pairing request;
If being verified, first bluetooth and the success of the second Bluetooth pairing are determined.
8. matching network method as described in claim 1, which is characterized in that the first distribution process and the second distribution process carry out The step of agreement connects further include:
The second distribution process is to the connection request for establishing Bluetooth protocol to distribution net equipment transmission;
The first distribution process receives the connection request, completes between the first distribution process and the second distribution process Agreement connection.
9. a kind of system, which is characterized in that the system comprises: it memory, processor and is stored on the memory and can The distribution program run on the processor realizes such as claim 1 to 8 when the distribution program is executed by the processor Any one of described in match network method the step of.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with distribution program, the distribution on the readable storage medium storing program for executing It is realized when program is executed by processor such as the step of matching network method described in any item of the claim 1 to 8.
CN201811483444.XA 2018-12-05 2018-12-05 With network method, system and readable storage medium storing program for executing Pending CN109525976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811483444.XA CN109525976A (en) 2018-12-05 2018-12-05 With network method, system and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811483444.XA CN109525976A (en) 2018-12-05 2018-12-05 With network method, system and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109525976A true CN109525976A (en) 2019-03-26

Family

ID=65794158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811483444.XA Pending CN109525976A (en) 2018-12-05 2018-12-05 With network method, system and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109525976A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110635957A (en) * 2019-10-28 2019-12-31 青岛海尔科技有限公司 Method and device for network distribution of Internet of things equipment and mobile terminal
CN110658731A (en) * 2019-10-21 2020-01-07 珠海格力电器股份有限公司 Intelligent household appliance network distribution method, storage medium and intelligent terminal
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium
CN110972233A (en) * 2019-10-22 2020-04-07 珠海格力电器股份有限公司 Distribution network state display method and device for intelligent equipment
CN111447624A (en) * 2020-03-04 2020-07-24 浙江大华技术股份有限公司 WiFi equipment, network distribution method thereof and device with storage function
CN111510898A (en) * 2020-04-16 2020-08-07 深圳创维数字技术有限公司 Miracast-based mirror image connection method, electronic product and storage medium
CN111656808A (en) * 2019-04-30 2020-09-11 深圳市大疆创新科技有限公司 Wireless connection method, wireless connection system, control terminal and mobile device
CN111757422A (en) * 2020-06-11 2020-10-09 重庆辉烨通讯技术有限公司 Equipment activation method and device, user terminal, equipment to be activated and storage medium
CN112533183A (en) * 2019-09-17 2021-03-19 深圳Tcl数字技术有限公司 Method for distributing network for electronic device, storage medium and terminal equipment
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN114071651A (en) * 2021-09-26 2022-02-18 深圳市酷开网络科技股份有限公司 Bluetooth-based network distribution method and device, computer equipment and readable storage medium
CN114158020A (en) * 2021-11-30 2022-03-08 四川虹美智能科技有限公司 Network distribution method of intelligent household appliance, mobile terminal, intelligent household appliance and system
CN114567870A (en) * 2022-02-28 2022-05-31 海信视像科技股份有限公司 GATT-based distribution network account allocation method, control terminal and display device
CN115334496A (en) * 2020-02-21 2022-11-11 华为技术有限公司 Method for discovering and distributing network, electronic equipment and system
WO2022242324A1 (en) * 2021-05-17 2022-11-24 深圳Tcl新技术有限公司 Network distribution method, apparatus and device, and computer-readable storage medium
CN114567870B (en) * 2022-02-28 2024-04-16 海信视像科技股份有限公司 GATT-based network and account number distribution method, control terminal and display device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120314705A1 (en) * 2011-06-09 2012-12-13 Time Warner Cable Inc. Techniques for assigning internet protocol version six network blocks in unknown networks
CN204887029U (en) * 2015-08-31 2015-12-16 新余学院 Novel configuration system of router is connected to WIFI chip
CN105245695A (en) * 2015-09-11 2016-01-13 惠州Tcl移动通信有限公司 Method and system for improving WeChat AirKiss compatibility
CN105376696A (en) * 2015-10-09 2016-03-02 惠州Tcl移动通信有限公司 Data transmission method and intelligent terminal
CN105785786A (en) * 2016-04-22 2016-07-20 广东格兰仕集团有限公司 NFC control-based intelligent household appliance and distribution network method thereof
CN105933904A (en) * 2016-05-17 2016-09-07 腾讯科技(深圳)有限公司 Network connection method and device
CN106028261A (en) * 2016-04-29 2016-10-12 高翔 Wireless connection method, device and system
CN106161154A (en) * 2016-06-30 2016-11-23 无锡小天鹅股份有限公司 The distribution method of household electrical appliance, system and distribution module
CN206181382U (en) * 2016-10-13 2017-05-17 深圳市领芯者科技有限公司 System and network equipment based on bluetooth BLE makes WIFI equipment network fast
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
CN107426725A (en) * 2017-04-12 2017-12-01 深圳市友悦机器人科技有限公司 Radio network configuration device, intelligent terminal and internet of things equipment
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN108650666A (en) * 2018-05-11 2018-10-12 深圳市沃特沃德股份有限公司 The method and its device of bluetooth bi-directional transfer of data

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120314705A1 (en) * 2011-06-09 2012-12-13 Time Warner Cable Inc. Techniques for assigning internet protocol version six network blocks in unknown networks
CN204887029U (en) * 2015-08-31 2015-12-16 新余学院 Novel configuration system of router is connected to WIFI chip
CN105245695A (en) * 2015-09-11 2016-01-13 惠州Tcl移动通信有限公司 Method and system for improving WeChat AirKiss compatibility
CN105376696A (en) * 2015-10-09 2016-03-02 惠州Tcl移动通信有限公司 Data transmission method and intelligent terminal
CN105785786A (en) * 2016-04-22 2016-07-20 广东格兰仕集团有限公司 NFC control-based intelligent household appliance and distribution network method thereof
CN106028261A (en) * 2016-04-29 2016-10-12 高翔 Wireless connection method, device and system
CN105933904A (en) * 2016-05-17 2016-09-07 腾讯科技(深圳)有限公司 Network connection method and device
US20180332041A1 (en) * 2016-05-17 2018-11-15 Tencent Technology (Shenzhen) Company Limited Network connection method, apparatus, storage medium and terminal
CN106161154A (en) * 2016-06-30 2016-11-23 无锡小天鹅股份有限公司 The distribution method of household electrical appliance, system and distribution module
CN206181382U (en) * 2016-10-13 2017-05-17 深圳市领芯者科技有限公司 System and network equipment based on bluetooth BLE makes WIFI equipment network fast
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN107426725A (en) * 2017-04-12 2017-12-01 深圳市友悦机器人科技有限公司 Radio network configuration device, intelligent terminal and internet of things equipment
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
CN108650666A (en) * 2018-05-11 2018-10-12 深圳市沃特沃德股份有限公司 The method and its device of bluetooth bi-directional transfer of data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
九霄的爸爸: "AirKiss原理分析", 《HTTPS://BLOG.CSDN.NET/LB5761311/ARTICLE/DETAILS/77945848》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111656808A (en) * 2019-04-30 2020-09-11 深圳市大疆创新科技有限公司 Wireless connection method, wireless connection system, control terminal and mobile device
CN112533183A (en) * 2019-09-17 2021-03-19 深圳Tcl数字技术有限公司 Method for distributing network for electronic device, storage medium and terminal equipment
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium
CN110658731A (en) * 2019-10-21 2020-01-07 珠海格力电器股份有限公司 Intelligent household appliance network distribution method, storage medium and intelligent terminal
CN110658731B (en) * 2019-10-21 2020-07-03 珠海格力电器股份有限公司 Intelligent household appliance network distribution method, storage medium and intelligent terminal
CN110972233A (en) * 2019-10-22 2020-04-07 珠海格力电器股份有限公司 Distribution network state display method and device for intelligent equipment
CN110972233B (en) * 2019-10-22 2021-07-20 珠海格力电器股份有限公司 Distribution network state display method and device for intelligent equipment
CN110635957B (en) * 2019-10-28 2022-10-25 青岛海尔科技有限公司 Method and device for network distribution of Internet of things equipment and mobile terminal
CN110635957A (en) * 2019-10-28 2019-12-31 青岛海尔科技有限公司 Method and device for network distribution of Internet of things equipment and mobile terminal
CN115334496A (en) * 2020-02-21 2022-11-11 华为技术有限公司 Method for discovering and distributing network, electronic equipment and system
CN111447624A (en) * 2020-03-04 2020-07-24 浙江大华技术股份有限公司 WiFi equipment, network distribution method thereof and device with storage function
CN111447624B (en) * 2020-03-04 2023-12-15 浙江大华技术股份有限公司 WiFi equipment, network distribution method thereof and device with storage function
CN111510898A (en) * 2020-04-16 2020-08-07 深圳创维数字技术有限公司 Miracast-based mirror image connection method, electronic product and storage medium
CN111510898B (en) * 2020-04-16 2023-08-29 深圳创维数字技术有限公司 Mirror image connection method based on Miracast, electronic product and storage medium
CN111757422A (en) * 2020-06-11 2020-10-09 重庆辉烨通讯技术有限公司 Equipment activation method and device, user terminal, equipment to be activated and storage medium
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN112866065B (en) * 2021-01-07 2021-12-24 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
WO2022242324A1 (en) * 2021-05-17 2022-11-24 深圳Tcl新技术有限公司 Network distribution method, apparatus and device, and computer-readable storage medium
CN114071651A (en) * 2021-09-26 2022-02-18 深圳市酷开网络科技股份有限公司 Bluetooth-based network distribution method and device, computer equipment and readable storage medium
CN114158020A (en) * 2021-11-30 2022-03-08 四川虹美智能科技有限公司 Network distribution method of intelligent household appliance, mobile terminal, intelligent household appliance and system
CN114567870A (en) * 2022-02-28 2022-05-31 海信视像科技股份有限公司 GATT-based distribution network account allocation method, control terminal and display device
CN114567870B (en) * 2022-02-28 2024-04-16 海信视像科技股份有限公司 GATT-based network and account number distribution method, control terminal and display device

Similar Documents

Publication Publication Date Title
CN109525976A (en) With network method, system and readable storage medium storing program for executing
CN105282731B (en) Processing configures the method for profile and the electronic device for supporting this method
WO2018076711A1 (en) Profile download method and device
CN104378145B (en) The matching method and system of bluetooth equipment
CN106211205B (en) Configuration method and system, household electrical appliance, mobile terminal and server
CN106165341B (en) Household appliance, network connection system of household appliance and network connection method of household appliance
EP1976325B1 (en) Wireless network system and wireless device included in the system
CN101668290B (en) Method and device for configuring wireless local area network (WLAN)
CN100438670C (en) Test system for checking transmission processes in a mobile radio network, and method for authenticating a mobile telephone using one such test system
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN109495358A (en) Household electrical appliance match network method and distribution network systems
CN110505616A (en) The method and apparatus of wireless device are registered in a wireless communication system
KR20010096543A (en) System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program
CN105263175A (en) Networking method for intelligent equipment, intelligent equipment and mobile terminal
US9094099B2 (en) Baseband module, mobile device including the baseband module, and method of signal transmission in a mobile device
CN107211474A (en) The configuration of wireless device
CN101527630A (en) Method, server and system for manufacturing certificate remotely
CN108198298A (en) Unlocking method, terminal and the computer readable storage medium of shared household electrical appliances
CN111556500A (en) Technology for distributing network and authenticating WiFi (wireless fidelity) of equipment through WeChat applet
CN110808942B (en) Subscription information configuration method, network equipment and terminal equipment
CN108696847A (en) Communication equipment, non-transitory computer readable recording medium and the method executed by communication equipment
CN105530589A (en) Bluetooth beacon device, wireless LAN terminal authentication access system and wireless LAN terminal authentication access method
CN104702660B (en) Field instrument devices and the method to be communicated for field instrument devices with apparatus for evaluating
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
CN104754495A (en) Smart household device connecting method and smart terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190326