CN103929797A - Method for enabling terminal to establish wireless connection automatically and terminal - Google Patents

Method for enabling terminal to establish wireless connection automatically and terminal Download PDF

Info

Publication number
CN103929797A
CN103929797A CN201310016140.3A CN201310016140A CN103929797A CN 103929797 A CN103929797 A CN 103929797A CN 201310016140 A CN201310016140 A CN 201310016140A CN 103929797 A CN103929797 A CN 103929797A
Authority
CN
China
Prior art keywords
access point
wireless access
wap
wireless
module
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.)
Granted
Application number
CN201310016140.3A
Other languages
Chinese (zh)
Other versions
CN103929797B (en
Inventor
汤绍坚
傅启洪
张振宇
张弛
何文丰
朱渊
范勇
邓晨
杨杰
朱游龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310016140.3A priority Critical patent/CN103929797B/en
Priority claimed from CN201310016140.3A external-priority patent/CN103929797B/en
Priority to PCT/CN2013/080307 priority patent/WO2013185705A1/en
Publication of CN103929797A publication Critical patent/CN103929797A/en
Application granted granted Critical
Publication of CN103929797B publication Critical patent/CN103929797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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 provides a method for enabling a terminal to establish wireless connection automatically and the terminal. The method comprises the steps that a wireless access point is searched for automatically, and if the wireless access point is searched out, the terminal establishes connection with the wireless access point; if no wireless access point is searched out, a wireless access point function of the terminal itself is started and wireless access requests of other terminals are received. The method realizes automatic wireless connection establishment of the terminal.

Description

A kind of terminal is set up method and the terminal of wireless connections automatically
Technical field
The present invention relates to wireless connections and set up field, relate in particular to method and terminal that a kind of terminal is set up wireless connections automatically.
Background technology
Provide the website of wireless access (as WIFI) function to be called as WAP (wireless access point) (Access Point, AP), be also referred to as hotspot (as, WIFI Hotspot).Current many terminal equipments for example smart mobile phone have possessed wireless access function, can be used as Access Point and connect other wireless devices, jointly form WLAN (wireless local area network).
Yet set up this type of WLAN (wireless local area network), need user to possess basic technological know-how, need between user to coordinate and clear and definite who as AP, who is as common wireless access terminal, the popularization to this type of application has brought obstacle thus.
Summary of the invention
The invention provides a kind of terminal and automatically set up method and the terminal of wireless connections, to solve technical problem how to avoid user's participation terminal to set up wireless connections flow process.
For solving the problems of the technologies described above, a kind of terminal of the present invention is set up the method for wireless connections automatically, and described method comprises:
Active searching WAP (wireless access point), if search WAP (wireless access point), connects with this WAP (wireless access point); If do not search WAP (wireless access point), open self WAP (wireless access point) function, receive the wireless access request of other-end.
Further:
Active searching WAP (wireless access point), comprising:
In preset range, obtain random number r1;
In r1 active searching WAP (wireless access point) in the time.
Further:
Open self WAP (wireless access point) function, receive the wireless access request of other-end, comprising:
In preset range, obtain random number r2;
Open after self WAP (wireless access point) function, at r2, in the time, receive the wireless access request of other-end.
Further, described method also comprises:
Maximum cycle L is set, L >=1, and current cycle time;
If do not receive the wireless access request of other-end in the time at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, continue active searching hotspot; If current cycle time is more than or equal to L, stop wireless connections.
For solving the problems of the technologies described above, the present invention also provides a kind of terminal of automatically setting up wireless connections, and described terminal comprises: wireless search module and radio access point module, wherein,
Described search module, for active searching WAP (wireless access point), if search WAP (wireless access point), connects with this WAP (wireless access point); If do not search WAP (wireless access point), trigger radio access point module;
Described radio access point module, for open wireless access point function, receives the wireless access request of other-end.
Further,
Described search module, for active searching WAP (wireless access point), comprising:
Described search module, for obtain random number r1 in preset range, in r1 active searching WAP (wireless access point) in the time.
Further,
Described radio access point module, for open wireless access point function, receives the wireless access request of other-end, comprising:
Described radio access point module, for obtaining random number r2 in preset range; Open after self WAP (wireless access point) function, at r2, in the time, receive the wireless access request of other-end.
Further, described terminal also comprises wireless connection control module,
Described wireless connection control module, for maximum cycle L is set, L >=1, and current cycle time is set; And knowing that radio access point module does not receive in the time after the wireless access request of other-end at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, trigger described search module work; If current cycle time is more than or equal to L, close described search module and radio access point module;
Described search module, for accepting the control of described wireless connection control module;
Described radio access point module, for accepting the control of described wireless connection control module, and the wireless access result of other-end described in notice wireless connection control module.
Technique scheme can realize terminal and automatically set up wireless connections.
Accompanying drawing explanation
Fig. 1 is that the terminal of the present embodiment is set up the method flow diagram of wireless connections automatically;
Fig. 2 is that the terminal of automatically setting up wireless connections of the present embodiment forms module map.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
Fig. 1 is that the terminal of the present embodiment is set up the method flow diagram of wireless connections automatically.
S101 active searching WAP (wireless access point);
For fear of terminal room, synchronously search for WAP (wireless access point), cause and cannot mutually find, can in preset range, obtain random number r1; In r1 active searching WAP (wireless access point) in the time; Due to the time random distribution of each terminal searching WAP (wireless access point), can reduce the possibility of the synchronous search of terminal room;
S102 judges whether to search WAP (wireless access point), if search WAP (wireless access point), performs step S103; Otherwise, execution step S104;
S103 and this WAP (wireless access point) connect, execution step S105;
S104 opens self WAP (wireless access point) function, receives the wireless access request of other-end;
With step S101, it is a random value that terminal also can be provided the set of time of WAP (wireless access point) function, as obtained random number r2 in preset range; Open after self WAP (wireless access point) function, at r2, in the time, receive the wireless access request of other-end; Do like this, especially for the situation of terminal room while open wireless access point, can avoid the situation of endless request access to occur;
For guaranteeing that terminal realizes wireless connections as much as possible, also maximum cycle L can be set, L >=1 and current cycle time; If do not receive the wireless access request of other-end in the time at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, continue active searching hotspot; If current cycle time is more than or equal to L, illustrate and really there is no at present around the wireless terminal that can match, can stop wireless connections;
S105 flow process finishes.
Terminal, when carrying out wireless connections, determines that without user it is as access point or request incoming end, can be voluntarily by technique scheme, realize and the wireless connections of other-end.
Fig. 2 is that the terminal of automatically setting up wireless connections of the present embodiment forms module map.
This terminal comprises wireless search module and radio access point module, wherein,
Described search module, for active searching WAP (wireless access point), if search WAP (wireless access point), connects with this WAP (wireless access point); If do not search WAP (wireless access point), trigger radio access point module;
This wireless search module can be obtained random number r1 in preset range, in r1 active searching WAP (wireless access point) in the time; Due to the time random distribution of each terminal searching WAP (wireless access point), can reduce the possibility of the synchronous search of terminal room;
Described radio access point module, for open wireless access point function, receives the wireless access request of other-end;
This radio access point module can be obtained random number r2 in preset range, and after opening self WAP (wireless access point) function, at r2, receives the wireless access request of other-end in the time; Do like this, especially for the situation of terminal room while open wireless access point, can avoid the situation of endless request access to occur;
Above-mentioned terminal also can comprise wireless connection control module, for maximum cycle L is set, and L >=1, and current cycle time is set; And knowing that radio access point module does not receive in the time after the wireless access request of other-end at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, trigger described search module work; If current cycle time is more than or equal to L, close described search module and radio access point module; Now, above-mentioned search module, for accepting the control of described wireless connection control module; Above-mentioned radio access point module, for accepting the control of described wireless connection control module, and the wireless access result of other-end described in notice wireless connection control module.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits, and correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
It should be noted that; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (8)

1. terminal is set up a method for wireless connections automatically, it is characterized in that, described method comprises:
Active searching WAP (wireless access point), if search WAP (wireless access point), connects with this WAP (wireless access point); If do not search WAP (wireless access point), open self WAP (wireless access point) function, receive the wireless access request of other-end.
2. the method for claim 1, is characterized in that:
Active searching WAP (wireless access point), comprising:
In preset range, obtain random number r1;
In r1 active searching WAP (wireless access point) in the time.
3. method as claimed in claim 1 or 2, is characterized in that:
Open self WAP (wireless access point) function, receive the wireless access request of other-end, comprising:
In preset range, obtain random number r2;
Open after self WAP (wireless access point) function, at r2, in the time, receive the wireless access request of other-end.
4. method as claimed in claim 3, is characterized in that, described method also comprises:
Maximum cycle L is set, L >=1, and current cycle time;
If do not receive the wireless access request of other-end in the time at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, continue active searching hotspot; If current cycle time is more than or equal to L, stop wireless connections.
5. automatically set up a terminal for wireless connections, it is characterized in that, described terminal comprises: wireless search module and radio access point module, wherein,
Described search module, for active searching WAP (wireless access point), if search WAP (wireless access point), connects with this WAP (wireless access point); If do not search WAP (wireless access point), trigger radio access point module;
Described radio access point module, for open wireless access point function, receives the wireless access request of other-end.
6. terminal as claimed in claim 5, is characterized in that,
Described search module, for active searching WAP (wireless access point), comprising:
Described search module, for obtain random number r1 in preset range, in r1 active searching WAP (wireless access point) in the time.
7. the terminal as described in claim 5 or 6, is characterized in that,
Described radio access point module, for open wireless access point function, receives the wireless access request of other-end, comprising:
Described radio access point module, for obtaining random number r2 in preset range; Open after self WAP (wireless access point) function, at r2, in the time, receive the wireless access request of other-end.
8. terminal as claimed in claim 7, is characterized in that, described terminal also comprises wireless connection control module,
Described wireless connection control module, for maximum cycle L is set, L >=1, and current cycle time is set; And knowing that radio access point module does not receive in the time after the wireless access request of other-end at r2, current cycle time is added to 1, judge whether current cycle time is less than L; If current cycle time is less than L, trigger described search module work; If current cycle time is more than or equal to L, close described search module and radio access point module;
Described search module, for accepting the control of described wireless connection control module;
Described radio access point module, for accepting the control of described wireless connection control module, and the wireless access result of other-end described in notice wireless connection control module.
CN201310016140.3A 2013-01-16 2013-01-16 A kind of terminal establishes the method and terminal of wireless connection automatically Active CN103929797B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310016140.3A CN103929797B (en) 2013-01-16 A kind of terminal establishes the method and terminal of wireless connection automatically
PCT/CN2013/080307 WO2013185705A1 (en) 2013-01-16 2013-07-29 Method for terminal to automatically establish wireless connection and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310016140.3A CN103929797B (en) 2013-01-16 A kind of terminal establishes the method and terminal of wireless connection automatically

Publications (2)

Publication Number Publication Date
CN103929797A true CN103929797A (en) 2014-07-16
CN103929797B CN103929797B (en) 2018-08-31

Family

ID=

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822151A (en) * 2015-04-08 2015-08-05 苏州三星电子电脑有限公司 Wireless network expansion method
CN105187900A (en) * 2015-07-30 2015-12-23 广东欧珀移动通信有限公司 Wireless connection control method for playing system and playing equipment
WO2017181752A1 (en) * 2016-04-22 2017-10-26 中兴通讯股份有限公司 Method, device, and terminal for establishing wireless local area network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777169A (en) * 2004-11-18 2006-05-24 三星电子株式会社 Terminal for automatically changing operating mode and wireless network system having the same, and method thereof
US20070060128A1 (en) * 2005-08-19 2007-03-15 Tae-Young Kil Apparatus and method for detecting data transmission mode of access point in wireless terminal
JP2008060742A (en) * 2006-08-29 2008-03-13 Matsushita Electric Ind Co Ltd Radio communication apparatus and access control method
CN101272305A (en) * 2008-04-29 2008-09-24 华为技术有限公司 Access point/user set network entry method, access point and network management device
CN102111907A (en) * 2009-12-25 2011-06-29 康佳集团股份有限公司 Mobile terminal and method adopting same as wireless access point
CN102316600A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Method, system and terminal for randomly accessing terminal
WO2012011264A1 (en) * 2010-07-21 2012-01-26 日本電気株式会社 Wireless lan communication terminal in wireless lan system, and communication control method for wireless lan communication terminal
CN102694814A (en) * 2012-06-07 2012-09-26 乐视网信息技术(北京)股份有限公司 High-definition video player with wireless networking function and wireless access point function simultaneously
CN102802071A (en) * 2012-08-24 2012-11-28 上海广电电子科技有限公司 Intelligent television, mobile terminal, multi-screen interaction system and wireless communication method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777169A (en) * 2004-11-18 2006-05-24 三星电子株式会社 Terminal for automatically changing operating mode and wireless network system having the same, and method thereof
US20070060128A1 (en) * 2005-08-19 2007-03-15 Tae-Young Kil Apparatus and method for detecting data transmission mode of access point in wireless terminal
JP2008060742A (en) * 2006-08-29 2008-03-13 Matsushita Electric Ind Co Ltd Radio communication apparatus and access control method
CN101272305A (en) * 2008-04-29 2008-09-24 华为技术有限公司 Access point/user set network entry method, access point and network management device
CN102111907A (en) * 2009-12-25 2011-06-29 康佳集团股份有限公司 Mobile terminal and method adopting same as wireless access point
CN102316600A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Method, system and terminal for randomly accessing terminal
WO2012011264A1 (en) * 2010-07-21 2012-01-26 日本電気株式会社 Wireless lan communication terminal in wireless lan system, and communication control method for wireless lan communication terminal
CN102694814A (en) * 2012-06-07 2012-09-26 乐视网信息技术(北京)股份有限公司 High-definition video player with wireless networking function and wireless access point function simultaneously
CN102802071A (en) * 2012-08-24 2012-11-28 上海广电电子科技有限公司 Intelligent television, mobile terminal, multi-screen interaction system and wireless communication method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822151A (en) * 2015-04-08 2015-08-05 苏州三星电子电脑有限公司 Wireless network expansion method
CN105187900A (en) * 2015-07-30 2015-12-23 广东欧珀移动通信有限公司 Wireless connection control method for playing system and playing equipment
WO2017181752A1 (en) * 2016-04-22 2017-10-26 中兴通讯股份有限公司 Method, device, and terminal for establishing wireless local area network
CN107306439A (en) * 2016-04-22 2017-10-31 中兴通讯股份有限公司 A kind of method for setting up WLAN, device and terminal
CN107306439B (en) * 2016-04-22 2021-06-01 中兴通讯股份有限公司 Method, device and terminal for establishing wireless local area network

Also Published As

Publication number Publication date
WO2013185705A1 (en) 2013-12-19

Similar Documents

Publication Publication Date Title
US20220150994A1 (en) Session Management Method and System, and Terminal for Locating a User Plane Function (UPF) Entity when a Session is an Inactive State
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
WO2016173376A1 (en) Network access method and mobile communications terminal
US9992760B2 (en) Method for updating RPLMN information and user equipment
CN103298074B (en) For method for switching network and the network-termination device of network-termination device
CN103491653A (en) WiFi and 3G coexisting method based on Android intelligent terminal
CN104363588A (en) Mobile terminal internet access control method and mobile terminal
WO2018000560A1 (en) Method, apparatus and communication terminal for implementing network access service
CN103945564A (en) Wireless network connecting method and system and wireless access point equipment
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
WO2016173369A1 (en) Network access method and mobile communication terminal
EP2963988A2 (en) Method, device and terminal for mobile terminals to exchange user information
CN104981027A (en) Application synchronization method and system for mobile terminals
EP2672758B1 (en) Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point
JP2018506761A (en) Implicit file generation in APDU script
CN105025529A (en) Method for switching access point and wireless loudspeaker box
CN103209418A (en) Mobile terminal and wireless fidelity (WIFI) hot spot information updating method thereof
CN105282830A (en) Network access method and mobile terminal
CN103813439A (en) Method for terminal register and terminal
CN107666696A (en) The switching method and terminal of a kind of wireless network
WO2016197543A1 (en) Network resource optimization method and device
CN109429302B (en) Recovery method and device after off-line of multi-card terminal
US20160316499A1 (en) Identification of a broadband connection
US20180083690A1 (en) Antenna Allocation Method and Terminal
CN107370621B (en) Hotspot sharing method, readable storage medium and hotspot sharing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180523

Address after: 210012 No. 68, Bauhinia Road, Ningnan street, Yuhuatai District, Nanjing, Jiangsu

Applicant after: Nanjing Zhongxing Software Co., Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Shenzhen, Guangdong, Ministry of justice, Zhongxing Road, South China road.

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191108

Address after: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Patentee after: ZTE Communications Co., Ltd.

Address before: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee before: Nanjing Zhongxing Software Co., Ltd.