CN109660571A - The connecting method of wireless system - Google Patents

The connecting method of wireless system Download PDF

Info

Publication number
CN109660571A
CN109660571A CN201710934031.8A CN201710934031A CN109660571A CN 109660571 A CN109660571 A CN 109660571A CN 201710934031 A CN201710934031 A CN 201710934031A CN 109660571 A CN109660571 A CN 109660571A
Authority
CN
China
Prior art keywords
address
online
equipment
intermediate equipment
base station
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
CN201710934031.8A
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.)
Grand Mate Co Ltd
Original Assignee
Grand Mate 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 Grand Mate Co Ltd filed Critical Grand Mate Co Ltd
Priority to CN201710934031.8A priority Critical patent/CN109660571A/en
Publication of CN109660571A publication Critical patent/CN109660571A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

A kind of connecting method of wireless system, wireless system includes a radio base station, an electronic device, an intermediate equipment and an equipment, electronic device is online with radio base station respectively with intermediate equipment, and intermediate equipment signal connects the equipment, and intermediate equipment is for sending control instruction to equipment;Connecting method includes: electronic device transmits an at least online request by radio base station and instructs to a default ip address;Judge whether default ip address returns a corresponding online successful information: if so, establishing online between intermediate equipment;If it is not, then sending at least one online request instructs the different at least IP address into same local area network;When receiving the online successful information that an at least address is returned, establish online between intermediate equipment.Whereby, the chance of electronic device and intermediate equipment lost contact is reduced.

Description

The connecting method of wireless system
Technical field
The present invention relates to wireless system more particularly to a kind of connecting methods of wireless system.
Background technique
Currently, general remote-controlled equipment is equipped with remote controler, user is allowed to be not necessarily to the installation site in equipment Controlling equipment has augmented many conveniences for life.And the quantity of the equipment possessed with user is more and more, will so that Remote controler quantity is also the more.The quantity of remote controler increases not only not easy-to-collection, in some cases, such as same type of equipment, Its remote controler appearance is similar, so that user is difficult to differentiate the pairing relationship of remote controler and equipment.
For this purpose, this field related personnel releases a kind of intermediate equipment, a radio base station can be connected to, user is allowed to use One electronic device (such as computer and mobile phone) is online by radio base station and the intermediate equipment.User is by the electronics Control instruction is executed on device and after being sent to the intermediate equipment, be converted into the received control instruction of institute pair by the intermediate equipment The control signal answered simultaneously is sent to specific equipment, in this way, different device actions can be controlled on the same electronic device, Effectively solve the excessive defect of remote controler quantity.
After intermediate equipment and radio base station are online, radio base station can distribute an IP address to intermediate equipment.Electronics After device is set, by the IP address and intermediate device communication, with transfer control instruction to intermediate equipment.However, when centre When being again coupled to after the attention interruption between equipment and radio base station, the IP address that radio base station distributes to intermediate equipment can Variation can be had, in this way, electronic device will be caused online with intermediate equipment according to the setting IP address of script, electronics is caused to fill Set and with intermediate equipment lost contact.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of connecting method of wireless system, can reduce electronic device without Method and the online probability of intermediate equipment.
In order to achieve the above objectives, the present invention provides a kind of connecting methods of wireless system, wherein the wireless system packet Containing a radio base station, an electronic device, an intermediate equipment and an at least equipment, the electronic device and the intermediate equipment are distinguished Online with the radio base station, which connects the equipment, and the intermediate equipment is for sending control instruction to the equipment; The connecting method includes the following steps: A. is at least transmitted by the electronic device by the radio base station one online at least once Request instruction is to a default ip address;B. judge whether the default ip address returns a corresponding online successful information: if so, building It is vertical online between the intermediate equipment;If it is not, then by the radio base station send at least one online request instruct to A different at least IP address in same local area network;And in the online successful information for receiving an at least IP address and being returned When, it establishes online between the intermediate equipment.
Effect of the invention is that even if the electronic device does not know the IP of intermediate equipment before online with intermediate equipment Address, as long as intermediate equipment has online with radio base station, electronic device can be established online with intermediate equipment, can reduce electronics Device can not be online with intermediate equipment chance.
Detailed description of the invention
Fig. 1 is the architecture diagram of a preferred embodiment of the present invention wireless system.
Fig. 2 is the connecting method flow chart of the above-mentioned preferred embodiment of the present invention.
[symbol description]
10 equipment
10a air-conditioning system 10b fireplace 10c CO Detector
20 intermediate equipments
30 radio base stations
40 electronic devices
The internet I
S201, S202, S202a step
Specific embodiment
For that can be illustrated more clearly that the present invention, now enumerates a preferred embodiment and cooperate attached drawing detailed description is as follows.It please join Fig. 1 is read, wireless system is a preferred embodiment of the present invention, includes an at least equipment 10, an intermediate equipment 20, a wireless base Platform (Access Point) 30 and an electronic device 40.Wherein:
The quantity of an at least equipment 10 be in the present embodiment it is multiple, those equipment 10 are located at client, including can be controlled Equipment and detection equipment, in the present embodiment can controlled plant by taking air-conditioning system 10a and fireplace 10b as an example, detection equipment is with one For carbonoxide detector 10c.Respectively the equipment 10 is connected by RF (Radio frequency) signal and 20 signal of intermediate equipment It connects, but not limited to this, can also be connected by Wi-Fi, Zigbee, bluetooth with signals such as infrared rays.It can controlled plant reception control System instruction and carry out corresponding movement, such as: open, close and adjustment temperature etc., and can controlled plant also by the state of itself Information is sent after being compiled into RF signal, and the status information can open or close state, current temperature for current equipment 10 The information such as degree and exception information.Detection equipment is sent after equally status information being compiled into RF signal, the status information It can be the physical quantity detected, such as: carbonomonoxide concentration.
The intermediate equipment 20 is located at client and is connect by Wi-Fi signal with 30 signal of radio base station, with online To the local area network of client, and internet I can be online to by the radio base station 30.Intermediate equipment 20 is for receiving RF letter Number and send after being converted into Wi-Fi signal, and receive Wi-Fi signal and sent after being converted into RF signal.The intermediate equipment 20 The RF signal with status information transmitted for receiving those equipment 10 obtains status information and is stored in memory after interpretation In (not shown).After the intermediate equipment 20 and the radio base station 30 are online, radio base station, which gives one IP address of distribution, to be somebody's turn to do Intermediate equipment 20.
The electronic device 40 is tablet computer in the present embodiment, can be online with radio base station 30 or by because of spy Net I is online to radio base station 30.An application program (Application) is had in the electronic device 40 is available for users to input Control the control instruction (such as opening, close and adjust temperature) of equipment 10.User can pass through the application journey of the electronic device 40 Sequence is specified to think device to be controlled 10, in the state that the electronic device 40 is connected directly to internet I, then user institute is defeated The one or more control instructions entered are transmitted to radio base station by internet I and are given to intermediate equipment 20 again, wherein the electronics The control instruction that device 40 is transmitted include the IP address of the intermediate equipment 20, identifier, at least one want setting for control Standby 10 code and script (such as open, close, adjustment temperature has corresponding script), thus specified intermediate equipment 20 and Thought device to be controlled 10.Record has a default ip address in the electronic device 40, for intermediate equipment 20 is online makes with this With the default ip address can be fixed the IP address of IP address or the previous online used intermediate equipment 20.
By above-mentioned framework, the connecting method of the present embodiment can be carried out, this method includes following step shown in Fig. 2 Suddenly, in which:
Step S201, user manipulate the application program of the electronic device 40 to connect to the radio base station, by the electronics Device at least transmits an online request at least once by the radio base station and instructs to the default ip address;
Step S202, the electronic device 40 judge whether the default ip address returns a corresponding online successful information:
If the electronic device 40 receives the online successful information of default ip address passback, the intermediate equipment 20 has been represented really Recognize and receive online request instruction, then establishes online between the electronic device 40 and the intermediate equipment 20.Whereby, electronics is allowed Device 40 can transmit control instruction to intermediate equipment 20, and intermediate equipment 20 can also be with posting status information.
If the electronic device 40 does not receive the online successful information of passback yet after a period of time, intermediate equipment is represented 20 IP address is different from the default ip address or intermediate equipment 20 is not online with radio base station 30, then carries out step S202a.
In step S202a, multiple online requests are sent by the radio base station 30 by the electronic device 40 and are instructed To multiple and different IP address in same local area network;
Whether electronic device 40 has the online successful information for receiving any IP address passback:
When receiving the online successful information that any IP address is returned, the connection between the intermediate equipment 20 is established Machine.
When not receiving the online successful information, then the application program is in a display (not shown) of the electronic device 40 Upper display reminding information, to prompt the intermediate equipment not online.
In the present embodiment, those connection are sent according to a predetermined order by the radio base station 30 respectively by the electronic device 40 Those IP address of machine request instruction into same local area network.The IP address of the intermediate equipment 20, the default ip address and same Those IP address in one local area network use the agreement of IPv4, be made of four number of segment values (such as 192.168.0.X, wherein X be Integer between 0~255), first three number of segment value of those IP address is identical as first three number of segment value of default ip address, and difference is most The numerical value of latter end.Therefore, the electronic device 40 send request instruction to most end number of segment value between 0 to 255 IP address, to find out Whether have one of IP address that can return online successful information, receive that any IP address returned this online successfully believe When breath, stop sending those online requests instruction not yet sent.
Predetermined order above-mentioned can be incremented by by 0 or successively decrease by 255, and in the present embodiment, predetermined order is It is to be changed based on the numerical value of the most latter end of the default ip address, to accelerate the speed of scanning IP address.For example, The numerical value of the most latter end of the default ip address is N, and electronic device 40 first sends online request and instructs to most end in those IP address The range of the numerical value of section is between the IP address of N-p to N+q, and wherein p is an integer between 1~20, q be between 1~ An integer between 20, the sequence of transmission can be incremented to the IP of N+q, or the IP address by N+q by the IP address of N-p Start the IP address for being decremented to N-p.If IP address of the range of the numerical value of most latter end between N-p to N+q among those IP address The online successful information is not all returned, then transmits online request again and instruct other IP address to those IP address.
Other than in the above way scanning IP address, in another embodiment, can also based on first embodiment, Store a default ip address in the electronic device 40 in step S201, for the online use of intermediate equipment 20.By in this Between equipment 20 transmit the default ip address or transmission differ with the default ip address numerical value at least one times of IP address extremely this Radio base station 30, to require the radio base station 30 to distribute the IP address that the intermediate equipment 20 is transmitted to the intermediate equipment 20.For example, which is 192.168.0.100, which is 5, and the radio base station 30 is first with default IP Address and intermediate equipment 20 are mutually online, if default ip address is first occupied by other devices, which transmits again and be somebody's turn to do Default ip address differs the IP address (192.168.0.105) of at least one times of the numerical value to the radio base station 30, if address It is again occupied, then the IP address (192.168.0.110) of two times of the numerical value is transmitted again, and so on.And in step S202, When not receiving the online successful information, by the electronic device 40 by the radio base station 30 send at least one this online ask It asks and instructs at least one IP address different into same local area network, wherein at least one IP address is with default IP Location differ the numerical value at least one times of IP address (i.e. at least one IP address be 192.168.0.105,192.168.0.110, 192.168.0.115...... and so on);When receiving the online successful information that at least one IP address is returned, It establishes online between the intermediate equipment 20.
It can be seen from the above, the connecting method of wireless system of the invention, multiple online ask is sent by the electronic device 40 It asks and instructs multiple IP address into local area network, even if during the electronic device 40 do not know before online with intermediate equipment 20 Between equipment 20 IP address, as long as intermediate equipment 20 has online with radio base station, electronic device 40 can be with intermediate equipment 20 It establishes online, the chance that electronic device 40 can not be online with intermediate equipment 20 can be reduced, to increase online convenience.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects It describes in detail bright, it should be understood that the above is only a specific embodiment of the present invention, is not intended to restrict the invention, it is all Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in guarantor of the invention Within the scope of shield.

Claims (6)

1. a kind of connecting method of wireless system, wherein the wireless system includes a radio base station, an electronic device, in one Between equipment and an at least equipment, the electronic device is online with the radio base station respectively with the intermediate equipment, the intermediate equipment letter Number the equipment is connected, the intermediate equipment is for sending control instruction to the equipment;The connecting method includes the following steps:
A. an online request at least once is at least transmitted by the radio base station by the electronic device to instruct to a default IP Location;
B. judge whether the default ip address returns a corresponding online successful information:
If so, establishing online between the intermediate equipment;
If it is not, then by the radio base station send at least one online request instruct it is different into same local area network An at least IP address;And when receiving the online successful information that an at least IP address is returned, establish and the intermediate equipment Between it is online.
2. the connecting method of wireless system as described in claim 1 is not wherein receiving the online successful information in step B When, by the electronic device multiple online requests are sent according to a predetermined order by the radio base station respectively and instructed to same office Multiple IP address in the network of domain stop sending not yet when receiving the online successful information that any IP address is returned Those online requests instruction sent.
3. the connecting method of wireless system as claimed in claim 2, wherein the default ip address is made of four number of segment values;Step Those IP address of the instruction of those online requests transmitted by the electronic device are distinctly made of four number of segment values in B, those IP address First three number of segment value is identical as first three number of segment value of the default ip address, and the range of the numerical value of most latter end is between 0 to 255.
4. the connecting method of wireless system as claimed in claim 3, wherein most latter end in four number of segment values of the default ip address Numerical value be N;Those online requests are first sent in step B instructs the range of the numerical value of most latter end into those IP address between N- The IP address of p to N+q, wherein p is an integer between 1~20, and q is an integer between 1~20;If should The range of the numerical value of most latter end does not all return the online successful information between the IP address of N-p to N+q among a little IP address, then again It transmits those online requests and instructs other IP address to those IP address.
5. the connecting method of wireless system as claimed in claim 2 returns if not receiving any IP address in step B wherein When the online successful information passed, in showing a prompt information on a display of the electronic device, to prompt the intermediate equipment It is not online.
6. the connecting method of wireless system as described in claim 1, wherein step A includes that the intermediate equipment stores default IP Address, and at least one times that the default ip address or transmit differs with the default ip address numerical value is transmitted by the intermediate equipment IP address is to the radio base station, to require the radio base station to distribute the IP address that the intermediate equipment is transmitted among this Equipment;At least IP address of this in step B is that at least one times of IP address of the numerical value is differed with the default ip address.
CN201710934031.8A 2017-10-10 2017-10-10 The connecting method of wireless system Pending CN109660571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710934031.8A CN109660571A (en) 2017-10-10 2017-10-10 The connecting method of wireless system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710934031.8A CN109660571A (en) 2017-10-10 2017-10-10 The connecting method of wireless system

Publications (1)

Publication Number Publication Date
CN109660571A true CN109660571A (en) 2019-04-19

Family

ID=66108314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710934031.8A Pending CN109660571A (en) 2017-10-10 2017-10-10 The connecting method of wireless system

Country Status (1)

Country Link
CN (1) CN109660571A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577785A (en) * 2008-05-09 2009-11-11 鸿富锦精密工业(深圳)有限公司 Set-top box and set-top box parameter setting method
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN104426734A (en) * 2013-08-27 2015-03-18 鸿富锦精密工业(深圳)有限公司 System and method for network on-line control
CN106878135A (en) * 2016-12-21 2017-06-20 新华三技术有限公司 A kind of connection method and device
CN106953805A (en) * 2017-03-17 2017-07-14 广州爱九游信息技术有限公司 Network line control method, device and service terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577785A (en) * 2008-05-09 2009-11-11 鸿富锦精密工业(深圳)有限公司 Set-top box and set-top box parameter setting method
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN104426734A (en) * 2013-08-27 2015-03-18 鸿富锦精密工业(深圳)有限公司 System and method for network on-line control
CN106878135A (en) * 2016-12-21 2017-06-20 新华三技术有限公司 A kind of connection method and device
CN106953805A (en) * 2017-03-17 2017-07-14 广州爱九游信息技术有限公司 Network line control method, device and service terminal

Similar Documents

Publication Publication Date Title
KR102478098B1 (en) Method and apparatus for controlling visitor calling in home network system
US8537753B2 (en) In-house location based services
CN108391298B (en) System and electronic equipment for automatically switching networks
US20030125014A1 (en) Control system and method for a wireless communications terminal
CN1832591B (en) Method for transmitting messages in mobile communications system and mobile communications terminal
JP2006109094A (en) Remote controller, remote control system, and remote control method
CN103618670A (en) Intelligent gateway and intelligent home system
CN1774020B (en) Mobile telephone and method for communicating with computer communication network thereof
CN103685733A (en) Remote control method and terminal
KR20030011859A (en) Method and apparatus for providing communication service
EP1940124A2 (en) Mobile communication terminal, and communication method for communication of location based message content
CN104200644A (en) Equipment remote-control method, functional terminal and intelligent terminal
CN106507298A (en) A kind of shared method and system of wifi
CN103544752A (en) Wireless video access control system and control method thereof based on IGRS (Intelligent Grouping and Resource Sharing) protocol
CN106792032A (en) A kind of method of wifi RTV remote televisions
CN103546794A (en) Remote control device and smart television
US7848267B2 (en) System and method for performing remote calling
CN109660571A (en) The connecting method of wireless system
JP2016220119A (en) Remote control system repeating device and control method
CN109660572A (en) The connecting method of wireless system
KR101049339B1 (en) Home network control method using various user terminals
US10531517B2 (en) Connection method for wireless system
KR101666687B1 (en) Location based service providing system, control method for the system, mobile terminal belonged to the system, and control method for the terminal
KR100559043B1 (en) Mobile home network system
KR100391503B1 (en) system and method for communicating between a inernet device and a mobile device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190419