CN108207018A - Wireless connection method and device - Google Patents

Wireless connection method and device Download PDF

Info

Publication number
CN108207018A
CN108207018A CN201611170794.1A CN201611170794A CN108207018A CN 108207018 A CN108207018 A CN 108207018A CN 201611170794 A CN201611170794 A CN 201611170794A CN 108207018 A CN108207018 A CN 108207018A
Authority
CN
China
Prior art keywords
terminal
wireless network
presumptive area
area
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611170794.1A
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.)
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 CN201611170794.1A priority Critical patent/CN108207018A/en
Priority to PCT/CN2017/112897 priority patent/WO2018107952A1/en
Publication of CN108207018A publication Critical patent/CN108207018A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of wireless connection method and device, this method includes:It detects that terminal enters presumptive area, available wireless network is pushed to terminal;Terminal is received for asking the access request into wireless network;The access information of wireless network is obtained, terminal is connected to wireless network.It by the present invention, solves the access information for directly pasting wireless network in the relevant technologies, the access information of wireless network is caused directly to be leaked cruelly to proprietary problem.

Description

Wireless connection method and device
Technical field
The present invention relates to the communications field, in particular to a kind of wireless connection method and device.
Background technology
With the fast development of internet and smart mobile phone, people’s lives increasingly be unable to do without network, and younger generation are more It is to become race of bowing, at every moment machine is not from hand.Market, restaurant, public place of entertainment, hotel, that conference centre is certain about business opportunity is numerous and confused Free Wireless Fidelity (Wireless-Fidelity, referred to as WiFi) is released to attract clients.How fast and safely by oneself Radio resource is shared with effective client in hand, improves customer experience to greatest extent, and it is that numerous businessmans are of interest to facilitate management 's.
Wireless network access information (for example, WiFi SSID and Key) is generally posted in the eye-catching wall of StoreFront by businessman at present Wall, window, client's manual search service set (Service Set Identifier, referred to as SSID) and input Key or Person's mobile phone scans the two-dimensional code acquisition WiFi access informations and logs in shared wireless network.
It is above-mentioned at present for shared wireless network sharing method, have a disadvantage that:
1) wireless network access information (for example, WiFi SSID/Key) is directly puted up and made with the notable position of StoreFront, Key Owner is directly exposed to for network cipher, having no safety can say.Also easily cause loiter network, increase inactive users on foot, influence to have Effectiveness family is accessed and network speed experience.
2) encryption to wireless network access information can be realized, but need by wireless network access information being prefabricated into Quick Response Code It wants specialized application that scanning parsing is gone to obtain access information, then is manually entered in the wireless network setting of access terminal.The method was both The process that administrator makes Quick Response Code is increased, also increases the operation of customer scans and input.
3) access information of generally shared wireless network is easily decoded by the application such as skeleton key, then causes loiter network and black Visitor's invasion.
4) wireless network access information needs to print and put up in advance, and update is inconvenient, and time-consuming and laborious expensive.
5) for the larger StoreFront wireless network for either having multiple and different business subregions in place may have multigroup SSID or Multiple wireless routers are experienced with providing different network services, as VIP areas, normal client area correspond to different network speeds respectively. Corresponding wireless network access information or Quick Response Code are puted up in region to existing scheme needs one by one, and heavy workload is easily revealed, less Convenient more new management.
Invention content
An embodiment of the present invention provides a kind of wireless connection method and device, at least to solve directly to paste in the relevant technologies The problem of going out the access information of wireless network, the access information of wireless network caused directly to be leaked cruelly to institute's employment.
According to one embodiment of present invention, a kind of wireless connection method is provided, including:It is predetermined to detect that terminal enters Region pushes available wireless network to the terminal;Receive the terminal for ask entrance the wireless network access Request;The access information of the wireless network is obtained, the terminal is connected to the wireless network.
Optionally, it after the terminal is connected to the wireless network, further includes:Detect that the terminal leaves institute After stating the presumptive area predetermined time, connection of the terminal to the wireless network is disconnected;Alternatively, detect the access information Usage time be more than preset duration, disconnect connection of the terminal to the wireless network.
Optionally, detect that terminal enters presumptive area, pushing available wireless network to the terminal includes:Determine institute The broadcasting area of presumptive area is stated, wherein, the broadcasting area undertakes the wireless of radio function less than or equal to the presumptive area The coverage area of router;Detect that the terminal enters the broadcasting area, it can to terminal push by broadcast message Wireless network.
Optionally it is determined that the broadcasting area of the presumptive area includes:Determining that the presumptive area is corresponding must agree IBeacon modules;The broadcasting area of the presumptive area is determined by the IBeacon modules.
Optionally, it before the broadcasting area for determining the presumptive area, further includes:It sets in the presumptive area and undertakes The access information of the wireless router of radio function.
Optionally, after the terminal is connected to the wireless network, including:Periodically update the wireless network Access information.
According to another embodiment of the invention, a kind of wireless connection device is provided, including:Detection module, for examining It measures terminal and enters presumptive area, available wireless network is pushed to the terminal;Receiving module is used for receiving the terminal Enter the access request of the wireless network in request;Link block, for obtaining the access information of the wireless network, by institute It states terminal and is connected to the wireless network.
Optionally, above device further includes:First disconnects module, for detecting that the terminal leaves the presumptive area After predetermined time, connection of the terminal to the wireless network is disconnected;Alternatively, second disconnects module, it is described for detecting The usage time of access information is more than preset duration, disconnects connection of the terminal to the wireless network.
Optionally, the detection module is additionally operable to determine the broadcasting area of the presumptive area, wherein, the broadcast model Enclose the coverage area for the wireless router that radio function is undertaken less than or equal to the presumptive area;And detect the terminal into Enter the broadcasting area, available wireless network is pushed to the terminal by broadcast message.
Optionally, the detection module is additionally operable to determine that the presumptive area is corresponding must agree IBeacon modules;And The broadcasting area of the presumptive area is determined by the IBeacon modules
Optionally, above device further includes:Setup module, for the presumptive area to be set to undertake the wireless of radio function The access information of router.
Optionally, above device further includes:Update module, for periodically updating the access information of the wireless network.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is set as storage and uses In the program code for performing following steps:It detects that terminal enters presumptive area, available wireless network is pushed to the terminal; Receive the terminal for ask entrance the wireless network access request;The access information of the wireless network is obtained, it will The terminal is connected to the wireless network.
Optionally, storage medium is also configured to store the program code for performing following steps:Connect by the terminal It is connected to after the wireless network, further includes:After detecting that the terminal leaves the presumptive area predetermined time, described in disconnection Terminal is to the connection of the wireless network;Alternatively, the usage time for detecting the access information is more than preset duration, institute is disconnected State connection of the terminal to the wireless network.
Optionally, storage medium is also configured to store the program code for performing following steps:Detect that terminal enters Presumptive area pushes available wireless network to the terminal and includes:Determine the broadcasting area of the presumptive area, wherein, institute State the coverage area that broadcasting area undertakes the wireless router of radio function less than or equal to the presumptive area;Detect the end End enters the broadcasting area, and available wireless network is pushed to the terminal by broadcast message.
Optionally, storage medium is also configured to store the program code for performing following steps:Determine the fate The broadcasting area in domain includes:IBeacon modules must be agreed by determining that the presumptive area is corresponding;It is true by the IBeacon modules The broadcasting area of the fixed presumptive area.
Optionally, storage medium is also configured to store the program code for performing following steps:Determining described make a reservation for Before the broadcasting area in region, further include:The access for the wireless router for undertaking radio function in the presumptive area is set to believe Breath.
Optionally, storage medium is also configured to store the program code for performing following steps:Connect by the terminal It is connected to after the wireless network, including:Periodically update the access information of the wireless network.
It by the present invention, detects that terminal enters presumptive area, available wireless network is pushed to terminal;Terminal is received to use Enter the access request of wireless network in request;The access information of wireless network is obtained, terminal is connected to wireless network.Due to According to terminal access request, the access information of wireless network is got from book server, according to the access information by terminal It is linked into wireless network so that the access information of shared network does not need to be disclosed, and avoids the straight of wireless network access information Exposure is connect, network share specific aim is stronger, safer.Therefore, it can solve directly to paste wireless network in the relevant technologies Access information causes the access information of wireless network directly to be leaked cruelly to proprietary problem.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of wireless connection method of the embodiment of the present invention;
Fig. 2 is the flow chart of wireless connection method according to embodiments of the present invention;
Fig. 3 is subregion schematic diagram according to embodiments of the present invention;
Fig. 4 is wireless connection method preferred flow schematic diagram according to embodiments of the present invention;
Fig. 5 is wireless network setup module flow chart according to embodiments of the present invention;
Fig. 6 is that wireless router according to embodiments of the present invention is associated with flow chart with IBeacon groups;
Fig. 7 is that multiple wireless routers according to embodiments of the present invention are associated with flow chart with IBeacon groups;
Fig. 8 is incoming end APP according to embodiments of the present invention and IBeacon server interaction flow functional flow diagrams;
Fig. 9 is the structure diagram of wireless connection device according to embodiments of the present invention;
Figure 10 is the preferred structure block diagram one of wireless connection device according to embodiments of the present invention;
Figure 11 is the preferred structure block diagram two of wireless connection device according to embodiments of the present invention;
Figure 12 is the preferred structure block diagram three of wireless connection device according to embodiments of the present invention.
Specific embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can mobile terminal apply, terminal application or It is performed in similar arithmetic unit application.To operate in mobile terminal using for upper, Fig. 1 is a kind of nothing of the embodiment of the present invention The hardware block diagram of the mobile terminal of line connection method.As shown in Figure 1, mobile terminal 10 can include one or more (figures In only show one) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device to processor 102 The processing unit of FPGA etc.), the memory 104 for storing data and the transmitting device 106 for communication function.Ability Domain those of ordinary skill is appreciated that structure shown in FIG. 1 is only to illustrate, and the structure of above-mentioned electronic device is not caused to limit It is fixed.For example, mobile terminal 10 may also include than shown in Fig. 1 more either less components or with different from shown in Fig. 1 Configuration.
Memory 104 can be used for the software program and module of storage application software, as wireless in the embodiment of the present invention Corresponding program instruction/the module of connection method, processor 102 by operation be stored in software program in memory 104 and Module so as to perform various functions application and data processing, that is, realizes above-mentioned method.Memory 104 may include at a high speed with Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 104 can further comprise depositing relative to processor 102 is remotely located Reservoir, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is including but not limited to mutual Networking, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to receive via a network or transmission data.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, use In wirelessly being communicated with internet.
The nothing that one kind runs on above-mentioned mobile terminal application (for example, incoming end application APP) is provided in the present embodiment Line access method, Fig. 2 are the flow charts of wireless connection method according to embodiments of the present invention, as shown in Fig. 2, the flow is included such as Lower step:
Step S202 detects that terminal enters presumptive area, and available wireless network is pushed to terminal;
Step S204 receives terminal for asking the access request into wireless network;
Step S206 obtains the access information of wireless network from reservation service, terminal is connected to wireless network.
By above-mentioned steps, since according to terminal access request, the access of wireless network is got from book server Terminal is linked into wireless network by information according to the access information so that the access information of shared network does not need to be disclosed, and keeps away The direct exposure of wireless network access information is exempted from, network share specific aim is stronger, safer.Therefore, related skill can be solved It directly pastes the access information of wireless network in art, the access information of wireless network is caused directly to be leaked cruelly and is asked to proprietary Topic.
For example, can introduce IBeacon technologies, terminal enters IBeacon modules overlay area, and IBeacon modules are wide Broadcasting triggering incoming end APP prompt terminals has available wireless network, and user clicks access wireless network, incoming end APP by terminal The request of the access wireless network of terminal transmission is received, Connection Service device obtains access information, and user or APP settings access are eventually WiFi access informations are held, connect shared wireless network.Wherein, IBeacon technologies Apple Inc. proposes, is Apple Inc.'s Internet of Things The key equipment of strategy.And under the lasting promotion of Apple Inc., start in the commercialization of the occasions such as some markets, parking lot.At present, Prevailing scenario is that wechat is shaken, shop is navigated, the limited scene such as vehicle is looked in garage.Access terminal based on IBeacon scenes needs Corresponding APP, and the intelligent terminal to support Bluetooth technology are installed.At this point, what above-described embodiment method can be related to: IBeacon servers, IBeacon modules, incoming end APP, and above device is the Internet of Things IBeacon of Apple Inc.'s publication Therefore the comprising modules of technology, will not additionally increase hardware cost.
Optionally, it after terminal is connected to wireless network, further includes:Detect that terminal leaves the pre- timing of presumptive area Between after, the connection of disconnected end to wireless network;Alternatively, the usage time for detecting access information is more than preset duration, disconnect Terminal is to the connection of wireless network.By above-mentioned steps, periodic cleaning accessing user can be reached, improve sharing efficiency.It improves The safety of shared wireless network, makes connector obtain more excellent more easily free bandwidth service, ensures wireless network administrator Obtain maximum interests.
Optionally, detect that terminal enters presumptive area, pushing available wireless network to the terminal includes:Determine institute The broadcasting area of presumptive area is stated, wherein, the broadcasting area undertakes the wireless of radio function less than or equal to the presumptive area The coverage area of router;Detect that the terminal enters the broadcasting area, it can to terminal push by broadcast message Wireless network.
Optionally it is determined that the broadcasting area of the presumptive area includes:Determining that the presumptive area is corresponding must agree IBeacon modules;The broadcasting area of the presumptive area is determined by the IBeacon modules.
For example, before available wireless network is pushed to terminal, can include:Determine the range of wireless network covering; Demand is shared according to wireless network, range is divided into several presumptive areas.It can determine each in several presumptive areas Presumptive area is corresponding must to agree IBeacon modules;Establish undertaken in IBeacon modules and wireless network radio function without circuit By the correspondence of device, wherein, each IBeacon modules broadcasting area undertakes less than or equal to the corresponding region of IBeacon modules The coverage area of the wireless router of radio function;It is corresponding to detect that terminal enters IBeacon modules by IBeacon modules Presumptive area pushes available wireless network according to the broadcast message of IBeacon modules to terminal.For example, pass through 5 Wireless network is divided into 3 different regions by IBeacon modules, as shown in figure 3, will be each by server Intelligent management module IBeacon modules are associated with the wireless range that specific wireless router/SSID undertakes.Ensure each IBeacon modules broadcast Range is less than or equal to wireless router/SSID coverage areas that the region undertakes radio function.By above-mentioned steps, due to IBeacon module coverage areas are more much smaller than wireless network, and there are many specification coverage area it is controllable, the nothing based on IBeacon Line network partition is more accurate, and the particularly more SSID scene effects of multizone are notable.Optionally, when two of which presumptive area covers Region when having coincidence, the available network that two presumptive areas are provided to user terminal can be randomly choosed.
Optionally, it before the broadcasting area for determining the presumptive area, further includes:It sets in the presumptive area and undertakes The access information of the wireless router of radio function.It is alternatively possible to close the service set SSID broadcast of wireless router Function.For example, the SSID and Key of each wireless router WiFi/SSID is set by Intelligent management module.Wireless router SSID Broadcast capability may be selected to close.It is any with the wireless network can not be searched out per family due to closing SSID broadcast by above-mentioned steps Network by the access automatic Searching I Beacon information of APP, can prevent loiter network to greatest extent.
Optionally, after terminal is connected to wireless network, including:Periodically update the access information of wireless network. For example, setting shared renewal time in wireless network access information period and mode by Intelligent management module, access information is realized It periodically updates.
In order to facilitate above-described embodiment is understood, the present embodiment is based on above-mentioned IBeacon technologies, provides a kind of how quick Safety the method for sharing wireless network, this method be related to wireless router, bluetooth IBeacon modules, IBeacon servers, Associated Intelligent management module, access terminal APP are serviced with IBeacon.Wherein server and Intelligent management module are responsible for wirelessly Router WiFi access information management.It specifically includes:Each wireless router WiFi access informations management, access information period are more Newly, wireless router/SSID is associated with IBeacon module subregions, incoming end APP information updates.First in Intelligent management module The upper shared wireless network access information of setting, such as SSID and Key;It, will further according to the regional extent and subregion of wireless network covering Universal unique identifier (Universally unique identifier, the abbreviation of all IBeacon modules in specified region For UUID) it is associated with management module;When accessing user enters IBeacon distributed areas, access terminal APP can receive specified The broadcast message of UUID, then access terminal APP will have freely shared radio network information be pushed to client;Client clicks access Wireless network, access terminal APP obtain WiFi access informations, are linked to shared wireless network.When client leaves IBeacon coverings Range certain time or the specified term of validity expire, and WiFi access informations cancel automatically.The method does not need to open shared network Access information, avoid network access information directly expose, network share specific aim is stronger, safer;Pass through intelligent management mould Block periodically automates more new wireless network access information, further reaches periodic cleaning accessing user, improves sharing efficiency.It improves The safety of shared wireless network, makes connector obtain more excellent more easily free bandwidth service, ensures wireless network administrator Obtain maximum interests.
Above-described embodiment is received and is set WiFi to access by incoming end APP, and wireless network access information transmits overall process It is automatically performed by management module and access APP, does not show that SSID/Key to client, can also close SSID broadcast, any user The wireless network can not be searched out, by the access automatic Searching I Beacon information of APP, loiter network can be prevented to greatest extent.Intelligence pipe Reason module, which can automate, periodically updates access information, and updating maintenance is convenient, cost free.This method can control more routings simultaneously Device or more SSID are more notable for big regional extent overlapping arrangement wireless sharing network effect.
Optionally, the above method is mentioned and can be connected between Intelligent management module and wireless router by cable, also may be used To realize wireless connection by administrator SSID and Key.And IBeacon mentioned above is closed with router or SSID coverings Terminal APP administrator modes also can be used in connection, and administrator's carried terminal is needing associated wireless network coverage area to walk about, The IBeacon information received according to administrator terminal is associated with automatically with formulating router or SSID.If multi-router or SSID overlay areas overlap, and specified IBeacon power can be adjusted on administrator terminal APP, and artificial optimization realizes IBeacon moulds The region of block coincide with wireless network given coverage region.The Intelligent management module that the method is mentioned can also be in the intelligence of administrator It is realized in the form of APP in terminal, administrator is realized by intelligent terminal and wireless router wireless connection and managed, and performance period Property update.It can also be with Quick Response Code, plain code that the incoming end APP mentioned in the above method, which obtains wireless network access SSID/Key, Or cipher mode transmission.
The side fast and safely shared based on above-mentioned IBeacon technology wireless networks in examples detailed above is discussed in detail below Method.
Fig. 4 is wireless connection method preferred flow schematic diagram according to embodiments of the present invention, as shown in figure 4, including as follows Step:
Step S401:The SSID and Key of each wireless router WiFi is set by Intelligent management module;
Step S402:Regional demand is shared according to wireless network, plans the distributed areas of IBeacon modules;Pass through intelligence Management module is associated with specific wireless router by each IBeacon modules;
Step S403:Client terminal enters IBeacon overlay areas, the broadcast triggering incoming end APP promptings of IBeacon modules Client has available wireless network;
Step S404:User clicks access wireless network, incoming end APP Connection Services device obtains access information, and sets Access terminal WiFi access parameters;
Step S405:Access terminal is completed to connect with wireless router, enjoys a trip to internet;
Concrete implementation step is described as follows by function module:
(1) wireless network setting function, Fig. 5 is wireless network setup module flow chart according to embodiments of the present invention, such as Shown in Fig. 5, include the following steps:
Step S501:Some wireless router or SSID are selected in server Intelligent management module;
Step S502:Some SSID/Key of the SSID/Key or more SSID of the wireless router is set;
Step S503:It may be selected to close SSID broadcast.Closing SSID broadcast is any can not to search per capita less than the wireless network, Incoming end APP acquisitions are only relied on, loiter network can be prevented to greatest extent;
Step S504:Selection setting periodically updates wireless network access information function, and setting update cycle and update are advised Then;
Step S505:Time update cycle arrives, and Intelligent management module resets the wireless router or the SSID/ of SSID automatically Key;Update cycle has not timed out, and SSID/Key is remained unchanged;
Step S506:SSID/Key is set to complete wireless network access setting to specified wireless router WiFi module.
If there is multiple wireless routers or more SSID, set gradually by flow above.
(2) association wireless router and IBeacon module groups, Fig. 6 be wireless router according to embodiments of the present invention with IBeacon groups are associated with flow chart, as shown in fig. 6, including the following steps:
Step S601:It is associated in Intelligent management module setting wireless router with IBeacon groups;
Step S602:Selection needs the wireless router or SSID that set;
Step S603:Selection and the wireless router or matched 1 modules of IBeacon of SSID;
Step S604:Select the wireless router or the matched IBeacon modules of SSID successively by S603, until IBeacon n modules, complete the association of IBeacon modules in all overlay areas;
If there is multiple wireless routers or more SSID, association is set gradually by flow above, as described in Figure 7.
(3) incoming end APP and IBeacon server interaction flow functions, Fig. 8 is incoming end according to embodiments of the present invention APP and IBeacon server interaction flow functional flow diagrams, as shown in figure 8, including the following steps:
Step S801:Client carries intelligent terminal and enters StoreFront;
Step S802:Client intelligent terminal enters IBeacon coverage areas, receives the broadcast frame of some IBeacon module;
Step S803:Incoming end APP obtains the IBeacon modules UUID for receiving broadcast frame;
Step S804:Terminal WiFi Mac addresses, IBeacon modules UUID are reported to IBeacon clothes by incoming end APP Business device;
Step S805:UUID is fed back to Intelligent management module by IBeacon servers;
Step S806:Intelligent management module inquires the associated affiliated wireless routers of the UUID or whether SSID is effective.Such as Fruit is effective, and access terminal user can obtain wireless sharing network insertion qualification;If invalid, access terminal user is illegal visitor Family can not obtain the wireless sharing network information;
Step S807:Intelligent management module inquiry obtains the wireless router or the SSID/Key information of SSID.Manage mould Block is combined by SSID/Key information, suspension timer period, access terminal WiFi Mac addresses, forms encryption data packet.It should Key has been changed to encrypted random code in data packet;
Step S808:Incoming end APP obtains access encryption data packet, obtains SSID/Key and suspension timing cycle.Such as Fruit SSID/Key changes, and client need to be reminded to share network again and changed;
Step S809:Incoming end APP is reminded or setting client intelligent terminal WiFi parameters;
Step S810:Client terminal realizes networking;
Step S811:Incoming end APP starts suspension timer;
Step S812:Judge whether suspension timer expires, not yet due networking is kept;
Step S813:The suspension timer incoming end APP that expires judges whether to receive IBeacon broadcast;
Step S814:WiFi Mac addresses, the IBeacon UUID received are reported server by incoming end APP again, New access encryption data packet is obtained from server.When server judges that access terminal WiFi Mac addresses and UUID do not change When, Key is remained unchanged, again assignment suspension timer period, and S810 networkings are kept;If UUID changes, illustrate user location It changes, redirects S803~S806 and judge whether new UUID is illegal again.If new UUID belongs to same with original UUID SSID or router overlay area, SSID/Key are remained unchanged;If new UUID and original UUID belong to different SSID or Router overlay area, server is according to the new SSID/Key of new UUID assignment;
Step S815:Suspension timer expires, incoming end APP can not receive IBeacon broadcast, illustrate access terminal from IBeacon distributed areas are opened, incoming end APP stops sending IBeacon information to server.Suspension timer expires server receipts not The Key after a certain period of time, generated at random failures are asked in new IBeacon updates to access terminal;
Step S816:After Key failures, WiFi access informations failure, incoming end disconnects networking.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
A kind of wireless connection device is additionally provided in the present embodiment, which is used to implement above-described embodiment and preferred reality Mode is applied, had carried out repeating no more for explanation.As used below, term " module " can realize the soft of predetermined function The combination of part and/or hardware.Although following embodiment described device is preferably realized with software, hardware or The realization of the combination of software and hardware is also what may and be contemplated.
Fig. 9 is the structure diagram of wireless connection device according to embodiments of the present invention, as shown in figure 9, the device includes:
For detecting that terminal enters presumptive area, available wireless network is pushed to terminal for detection module 92;
Receiving module 94 is connected to above-mentioned detection module 92, for receive terminal for ask enter wireless network and connecing Enter request;
Link block 96 is connected to above-mentioned receiving module 94, for obtaining the access information of wireless network, terminal is connected To wireless network.
Figure 10 is the preferred structure block diagram one of wireless connection device according to embodiments of the present invention, as shown in Figure 10, the dress It puts in addition to including all modules shown in Fig. 9, further includes:
First disconnects module 102, after detecting that terminal leaves the presumptive area predetermined time, disconnected end to wireless network The connection of network;Alternatively,
Second disconnects module 104, is connected to above-mentioned first and disconnects module 102, during for detecting the use of access information Between be more than preset duration, the connection of disconnected end to wireless network.
Optionally, the detection module 92 is additionally operable to determine the broadcasting area of the presumptive area, wherein, the broadcast Range is less than or equal to the coverage area that the presumptive area undertakes the wireless router of radio function;And detect the terminal Into the broadcasting area, available wireless network is pushed to the terminal by broadcast message.
Optionally, the detection module is additionally operable to determine that the presumptive area is corresponding must agree IBeacon modules;And The broadcasting area of the presumptive area is determined by the IBeacon modules.
Figure 11 is the preferred structure block diagram two of wireless connection device according to embodiments of the present invention, as shown in figure 11, the dress It puts in addition to including all modules shown in Fig. 10, further includes:
Setup module 112, for set presumptive area undertake radio function wireless router access information.
Figure 12 is the preferred structure block diagram three of wireless connection device according to embodiments of the present invention, as shown in figure 12, is also wrapped It includes:
Update module 122, for periodically updating the access information of wireless network.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors respectively.
Embodiment 3
The embodiment of the present invention additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for performing following steps:
S1 detects that terminal enters presumptive area, and available wireless network is pushed to terminal;
S2 receives terminal for asking the access request into wireless network;
S3 obtains the access information of wireless network from reservation service, terminal is connected to wireless network.
Optionally, storage medium is also configured to store the program code for performing following steps:It is connected by terminal To after wireless network, further include:
S1, after detecting that terminal leaves the presumptive area predetermined time, the connection of disconnected end to wireless network;
S2 detects the usage time of access information more than preset duration, the connection of disconnected end to wireless network.
Optionally, storage medium is also configured to store the program code for performing following steps:Detect terminal into Enter presumptive area, pushing available wireless network to the terminal includes:
S1 determines the broadcasting area of the presumptive area, wherein, the broadcasting area is held less than or equal to the presumptive area Carry on a shoulder pole the coverage area of the wireless router of radio function;
S2 detects that the terminal enters the broadcasting area, and available nothing is pushed to the terminal by broadcast message Gauze network.
Optionally, storage medium is also configured to store the program code for performing following steps:It determines described predetermined The broadcasting area in region includes:
S1, IBeacon modules must be agreed by determining that the presumptive area is corresponding;
S2 determines the broadcasting area of the presumptive area by the IBeacon modules.
Optionally, storage medium is also configured to store the program code for performing following steps:Determine it is described pre- Before the broadcasting area for determining region, further include:
S1, setting presumptive area undertake the access information of the wireless router of radio function.
Optionally, storage medium is also configured to store the program code for performing following steps:It is connected by terminal To after wireless network, including:
S1 periodically updates the access information of wireless network.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:Detect end End enters presumptive area, and available wireless network is pushed to terminal;Terminal is received for asking the access into wireless network please It asks;The access information of wireless network is obtained from reservation service, terminal is connected to wireless network.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:By terminal It is connected to after wireless network, further includes:After detecting that terminal leaves the presumptive area predetermined time, disconnected end to wireless network Connection;Alternatively, the usage time for detecting access information is more than preset duration, the connection of disconnected end to wireless network.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:Detect end End enters presumptive area, and pushing available wireless network to the terminal includes:Determine the broadcasting area of the presumptive area, In, the broadcasting area is less than or equal to the coverage area that the presumptive area undertakes the wireless router of radio function;It detects The terminal enters the broadcasting area, and available wireless network is pushed to the terminal by broadcast message.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:It determines described The broadcasting area of presumptive area includes:IBeacon modules must be agreed by determining that the presumptive area is corresponding;Pass through the IBeacon Module determines the broadcasting area of the presumptive area.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:Determining Before the broadcasting area for stating presumptive area, further include:Setting presumptive area undertakes the access letter of the wireless router of radio function Breath, and close the service set SSID broadcast capabilities of wireless router.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:By terminal It is connected to after wireless network, including:Periodically update the access information of wireless network.
Optionally, the specific example in the present embodiment can be referred to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed in the storage device by computing device, and in some cases, it can be to be different from shown in sequence herein performs The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of wireless connection method, which is characterized in that including:
It detects that terminal enters presumptive area, available wireless network is pushed to the terminal;
Receive the terminal for ask entrance the wireless network access request;
The access information of the wireless network is obtained, the terminal is connected to the wireless network.
2. according to the method described in claim 1, it is characterized in that, after the terminal is connected to the wireless network, It further includes:
After detecting that the terminal leaves the presumptive area predetermined time, the terminal is disconnected to the company of the wireless network It connects;Alternatively,
The usage time for detecting the access information is more than preset duration, disconnects the terminal to the company of the wireless network It connects.
3. according to the method described in claim 2, it is characterized in that, detect that terminal enters presumptive area, pushed away to the terminal Available wireless network is sent to include:
Determine the broadcasting area of the presumptive area, wherein, the broadcasting area undertakes wirelessly less than or equal to the presumptive area The coverage area of the wireless router of function;
It detects that the terminal enters the broadcasting area, available wireless network is pushed to the terminal by broadcast message.
4. according to the method described in claim 3, it is characterized in that, determine that the broadcasting area of the presumptive area includes:
IBeacon modules must be agreed by determining that the presumptive area is corresponding;
The broadcasting area of the presumptive area is determined by the IBeacon modules.
5. according to the method described in claim 3, it is characterized in that, before the broadcasting area for determining the presumptive area, go back Including:
The access information for the wireless router that radio function is undertaken in the presumptive area is set.
6. the method according to any one of claims 1 to 5, it is characterized in that, the terminal is connected to the nothing After gauze network, including:
Periodically update the access information of the wireless network.
7. a kind of wireless connection device, which is characterized in that including:
For detecting that terminal enters presumptive area, available wireless network is pushed to the terminal for detection module;
Receiving module, for receive the terminal for ask entrance the wireless network access request;
The terminal for obtaining the access information of the wireless network, is connected to the wireless network by link block.
8. device according to claim 7, which is characterized in that further include:
First disconnects module, after detecting that the terminal leaves the presumptive area predetermined time, disconnects the terminal and arrives The connection of the wireless network;Alternatively,
Second disconnects module, for detecting that the usage time of the access information is more than preset duration, disconnects the terminal and arrives The connection of the wireless network.
9. device according to claim 8, which is characterized in that the detection module is additionally operable to determine the presumptive area Broadcasting area, wherein, the broadcasting area is less than or equal to the presumptive area and undertakes the wireless router of radio function to cover Lid range;And detect that the terminal enters the broadcasting area, available nothing is pushed to the terminal by broadcast message Gauze network.
10. device according to claim 9, which is characterized in that the detection module is additionally operable to determine the presumptive area It is corresponding to agree IBeacon modules;And the broadcasting area of the presumptive area is determined by the IBeacon modules.
11. device according to claim 9, which is characterized in that further include:
Setup module, for set the presumptive area undertake radio function wireless router access information.
12. the device according to any one of claim 7 to 12, further includes:
Update module, for periodically updating the access information of the wireless network.
CN201611170794.1A 2016-12-16 2016-12-16 Wireless connection method and device Pending CN108207018A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611170794.1A CN108207018A (en) 2016-12-16 2016-12-16 Wireless connection method and device
PCT/CN2017/112897 WO2018107952A1 (en) 2016-12-16 2017-11-24 Method and device for wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611170794.1A CN108207018A (en) 2016-12-16 2016-12-16 Wireless connection method and device

Publications (1)

Publication Number Publication Date
CN108207018A true CN108207018A (en) 2018-06-26

Family

ID=62557855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611170794.1A Pending CN108207018A (en) 2016-12-16 2016-12-16 Wireless connection method and device

Country Status (2)

Country Link
CN (1) CN108207018A (en)
WO (1) WO2018107952A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601062A (en) * 2018-06-29 2018-09-28 努比亚技术有限公司 WiFi connections sharing method, terminal and computer storage media
CN110769483A (en) * 2019-12-30 2020-02-07 深圳市通恒伟创科技有限公司 Internet-of-things-based shared internet surfing method and system
CN115334128A (en) * 2019-03-14 2022-11-11 西安艾润物联网技术服务有限责任公司 Vehicle control method based on vehicle-mounted terminal and terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818137B (en) * 2020-06-24 2023-09-08 南京智鹤电子科技有限公司 Binding method and device
CN112188593B (en) * 2020-09-30 2023-06-16 海尔优家智能科技(北京)有限公司 Wireless configuration method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572836A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Method for accessing wireless network, portable mobile terminal and wireless network system
CN103731810A (en) * 2013-12-31 2014-04-16 小米科技有限责任公司 Access point sharing method and device
CN104981000A (en) * 2015-07-20 2015-10-14 陕西师范大学 Invisible WiFi hotspot automatic connection device and method thereof
US20160037439A1 (en) * 2014-08-01 2016-02-04 Apple Inc. Method and apparatus for automatically detecting and connecting to wi-fi networks
CN105321095A (en) * 2014-06-10 2016-02-10 彭之荣 Consumption service system and method for integrating iBeacon indoor positioning technology and information logistics cloud platform through telecommunication
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node
CN105530684A (en) * 2014-09-28 2016-04-27 腾讯科技(深圳)有限公司 Method, device and system for network access

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486755B (en) * 2014-12-03 2019-01-25 北京京东尚科信息技术有限公司 The system and method for the WIFI configuration of smart machine are realized based on ibeacon
CN105792317A (en) * 2014-12-22 2016-07-20 中国电信股份有限公司 WiFi (Wireless-Fidelity) access method, device and terminal
CN104581615B (en) * 2014-12-25 2018-05-29 小米科技有限责任公司 service providing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572836A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Method for accessing wireless network, portable mobile terminal and wireless network system
CN103731810A (en) * 2013-12-31 2014-04-16 小米科技有限责任公司 Access point sharing method and device
CN105321095A (en) * 2014-06-10 2016-02-10 彭之荣 Consumption service system and method for integrating iBeacon indoor positioning technology and information logistics cloud platform through telecommunication
US20160037439A1 (en) * 2014-08-01 2016-02-04 Apple Inc. Method and apparatus for automatically detecting and connecting to wi-fi networks
CN105530684A (en) * 2014-09-28 2016-04-27 腾讯科技(深圳)有限公司 Method, device and system for network access
CN104981000A (en) * 2015-07-20 2015-10-14 陕西师范大学 Invisible WiFi hotspot automatic connection device and method thereof
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601062A (en) * 2018-06-29 2018-09-28 努比亚技术有限公司 WiFi connections sharing method, terminal and computer storage media
CN108601062B (en) * 2018-06-29 2020-12-18 南京投知科技有限公司 WiFi connection sharing method, terminal and computer storage medium
CN115334128A (en) * 2019-03-14 2022-11-11 西安艾润物联网技术服务有限责任公司 Vehicle control method based on vehicle-mounted terminal and terminal
CN110769483A (en) * 2019-12-30 2020-02-07 深圳市通恒伟创科技有限公司 Internet-of-things-based shared internet surfing method and system
CN110769483B (en) * 2019-12-30 2020-04-21 深圳市通恒伟创科技有限公司 Internet-of-things-based shared internet surfing method and system

Also Published As

Publication number Publication date
WO2018107952A1 (en) 2018-06-21

Similar Documents

Publication Publication Date Title
CN108605282B (en) For providing the technology of network insertion
US9119225B2 (en) Centralized access control system and methods for distributed broadband access points
CN108207018A (en) Wireless connection method and device
CN104106270B (en) The system and method for controlling and triggering for machine to machine equipment
CN102572830B (en) Method and customer premise equipment (CPE) for terminal access authentication
RU2447619C2 (en) Method, device and machine-readable media for indicating accessibility of local service
US9131473B2 (en) Method, device, and communication system for establishing connection with network management system
CN101841815B (en) Cluster controlling method based on wireless router and network system
US20110167162A1 (en) System for the Internet Connections, and Server for Routing Connection to a Client Machine
CN107852430A (en) The wide-area services of Internet of Things are found
CN106375987A (en) Method and system for selecting network slice
CN114422473B (en) IP address allocation method and device
CN102137395A (en) Method, device and system for configuring access device
US9839061B2 (en) Establishing and configuring dynamic subscriptions
CN106302839A (en) The distribution method of internet protocol address and device
EP2643962A1 (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
CN106255089B (en) A kind of method and apparatus of radio three layer roaming
WO2021091779A1 (en) Open access in neutral host network environments
WO2014032518A1 (en) Method and system for establishing l2tp tunnel
Battiti et al. Global growth of open access networks: from warchalking and connection sharing to sustainable business
CN102547782B (en) A kind of connection control method and device
CN118104312A (en) Network discovery and selection for accessing localized services
JP5624440B2 (en) User interface management method, user equipment, and mobile communication system
JP2007116449A (en) Network communication system and communication apparatus and program used for the communication system
CN103975641B (en) A kind of session establishing method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180626

RJ01 Rejection of invention patent application after publication