CN108156646A - Access the method and device of wireless network - Google Patents

Access the method and device of wireless network Download PDF

Info

Publication number
CN108156646A
CN108156646A CN201711366000.3A CN201711366000A CN108156646A CN 108156646 A CN108156646 A CN 108156646A CN 201711366000 A CN201711366000 A CN 201711366000A CN 108156646 A CN108156646 A CN 108156646A
Authority
CN
China
Prior art keywords
wireless network
trade company
access information
terminal device
page
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
CN201711366000.3A
Other languages
Chinese (zh)
Other versions
CN108156646B (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201711366000.3A priority Critical patent/CN108156646B/en
Publication of CN108156646A publication Critical patent/CN108156646A/en
Application granted granted Critical
Publication of CN108156646B publication Critical patent/CN108156646B/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/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Landscapes

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

Abstract

The application be about it is a kind of access wireless network method and device, the method includes:If starting trade company's consumption page in specified application on terminal device, the corresponding merchant identification of trade company's consumption page is determined;Obtain wireless network access information corresponding with the merchant identification;The wireless network access information is sent to terminal device, so that the terminal device accesses wireless network according to the wireless network access information.During above-mentioned access wireless network, trade company of the terminal device in specified application is started consumes the page, during such as consumption voucher using the page, server can push accessible wireless network access information to terminal, be achieved in terminal device wireless network rapid access;Further, since server only pushes wireless network access information to the terminal device of the user of consumption, therefore it can avoid the problem that any terminal device all can access the network congestion caused by wireless network.

Description

Access the method and device of wireless network
Technical field
This application involves wireless communication technology field more particularly to a kind of method and devices for accessing wireless network.
Background technology
With popularizing for wireless network, most resident residence and public place can all set wireless network (WIreless-FIdelity, referred to as WIFI) access device, when entering wireless network coverage so as to user, Ke Yitong Cross wireless network access internet.By taking the place of shop as an example, in order to provide any wireless network services to the user for entering shop consumption, Usual shop can set wireless network password, when the terminal device of user searches the wireless network account name in shop, pass through Network insertion can be realized by being manually entered wireless network password.
It follows that in the relevant technologies, since user is when entering the particular place for providing wireless network, need to look into manually Internet could be accessed, therefore inconvenient by looking for wireless network account name and inputting wireless network password.
Invention content
To overcome the problems in correlation technique, the embodiment of the present application provides a kind of method and dress for accessing wireless network It puts, it can be when terminal device opens trade company's consumption page (such as consumption voucher uses the page) of specified application actively to terminal device Wireless network access information is pushed, realizes terminal device wireless network rapid access.
According to the embodiment of the present application in a first aspect, provide a kind of method for accessing wireless network, using on the server, Including:
If start trade company's consumption page in specified application on terminal device, it is determined that trade company's consumption page corresponds to Merchant identification;
Obtain wireless network access information corresponding with the merchant identification;
The wireless network access information is sent to terminal device, so that the terminal device is according to the wireless network Access information accesses wireless network.
According to the second aspect of the embodiment of the present application, a kind of method for accessing wireless network is provided, is applied in terminal device On, including:
Start trade company's consumption page in specified application;
The wireless network access information that the corresponding merchant identification of the page is consumed with the trade company is obtained, the wireless network connects Enter information to be provided by the server of the specified application;
Wireless network is accessed according to the wireless network access information.
According to the third aspect of the embodiment of the present application, a kind of device for accessing wireless network is provided, using on the server, Including:
First determining module, if starting trade company's consumption page in specified application on terminal device, it is determined that institute State the corresponding merchant identification of trade company's consumption page;
First acquisition module, for obtaining wireless network access information corresponding with the merchant identification;
First sending module, for the wireless network access information to be sent to terminal device, so that the terminal is set It is standby that wireless network is accessed according to the wireless network access information.
According to the fourth aspect of the embodiment of the present application, a kind of device for accessing wireless network is provided, applies and is set in terminal It is standby upper, including:
Starting module consumes the page for starting the trade company in specified application;
Second acquisition module, for obtaining the wireless network access letter with the corresponding merchant identification of the trade company consumption page Breath, the wireless network access information are provided by the server of the specified application;
AM access module, for accessing wireless network according to the wireless network access information.
According to the 5th of the embodiment of the present application the aspect, a kind of server is provided, the server includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, first aspect described access wireless network is realized when the processor performs the executable instruction Method.
According to the 6th of the embodiment of the present application the aspect, a kind of terminal device is provided, the terminal device includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, second aspect described access wireless network is realized when the processor performs the executable instruction Method.
According to the 7th of the embodiment of the present application the aspect, a kind of computer readable storage medium is provided, which is characterized in that described Storage medium is stored with computer program, and the computer program is used to perform the described access wireless network of above-mentioned first aspect The method of network.
According to the eighth aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, which is characterized in that described Storage medium is stored with computer program, and the computer program is used to perform the access wireless network of above-mentioned second aspect description Method.
The technical solution that embodiments herein provides can include the following benefits:
After starting trade company's consumption page in specified application on the terminal device, server can be obtained consumes the page with trade company The wireless networks wireless networks access information of corresponding merchant identification (IDentify, referred to as ID), and wireless network is accessed Information is sent to terminal device, is achieved in terminal device and automatically accesses wireless network.As it can be seen that in above-mentioned access wireless network In the process, trade company of the terminal device in specified application is started consumes the page, the page or trade company is used to consume such as consumption voucher When the page is completed in the purchase of certificate, server can push accessible wireless network access information to terminal, be achieved in terminal and set Standby wireless network rapid access;Further, since server is only to the terminal device of the user of consumption push wireless network access letter Breath, therefore can avoid the problem that any terminal device all can access the network congestion caused by wireless network.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not The application can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is to implement the flow chart of the method for access wireless network exemplified according to the application one;
Figure 1B is to implement a kind of scene graph of the method for access wireless network exemplified according to the application one;
Fig. 1 C are to consume page schematic diagram in trade company according to what the application one implemented to exemplify;
Fig. 2 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application;
Fig. 3 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application;
Fig. 4 A are to implement the flow chart of the method for access wireless network exemplified according to the application one;
Fig. 4 B are to implement the wireless network access information schematic diagram exemplified according to the application one;
Fig. 5 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application;
Fig. 6 A are according to another flow chart of the method for access wireless network for implementing to exemplify of the application;
Fig. 6 B are that the wireless network access information for implementing to exemplify according to the application one shares schematic diagram;
Fig. 7 is the block diagram according to the device of the access wireless network shown in one exemplary embodiment of the application;
Fig. 8 is the block diagram according to the device of the access wireless network shown in the application another exemplary embodiment;
Fig. 9 is the block diagram according to the device of the access wireless network shown in one exemplary embodiment of the application;
Figure 10 is the block diagram according to the device of the access wireless network shown in the application another exemplary embodiment;
Figure 11 is the structure diagram of the electronic equipment of an exemplary embodiment according to the present invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. Show the same or similar element in the application and singulative used in the attached claims.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the application.On the contrary, they only be and/or this It is only merely for the purpose of description specific embodiment to apply for the term that uses, and is not intended to be limiting.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word third as used in this etc. describes various information, but these information should not necessarily be limited by this A little terms.
Figure 1A is to implement the flow chart of the method for access wireless network exemplified according to the application one, and Figure 1B is according to this A kind of scene graph of the method for access wireless network exemplified is implemented in application one, and Fig. 1 C are exemplified according to the implementation of the application one Trade company consume page schematic diagram;The method of access wireless network can be applied on the server of specified application, such as Figure 1A Shown, the method that wireless network is accessed in the present embodiment may include following steps 101~103:
In a step 101, if starting trade company's consumption page in specified application on terminal device, determine that trade company consumes page The corresponding merchant identification in face.
In one embodiment, specified application on terminal device can be installed, be such as used to sell restaurant's consumption voucher, scenic spot door The electric business platform of ticket etc., the specified application can sell the commodity of multiple trade companies, as restaurant 1, restaurant 2 ..., the consumption of restaurant N Certificate, scenic spot 1, scenic spot 2 ..., the admission ticket of scenic spot N.
In one embodiment, trade company's consumption page can use the page for trade company's consumption voucher, referring to Fig. 1 C, if opened The trade company consumption page then can be explained terminal and enough buy consumption voucher, and can open quotient using the consumption voucher not yet Family consumption voucher proceeds to shop consumption using the page.In one embodiment, trade company's consumption page can also be trade company's consumption voucher The page or others are completed in purchase can indicate the page that user has consumed in the trade company.
In one embodiment, each trade company usually requires to register an account, and then refer to by this in specified application Commercial articles vending is realized in fixed application, and a merchant identification can be obtained in Merchants register account, which can be identified for that this Trade company.
In one embodiment, server can be performed when terminal device opens the trade company consumption page and determine that trade company disappears Take the operation of the corresponding page iden-tity of the page;Preferably, server can also be based further on the geographical location information of terminal device Determine whether to perform the operation that determining trade company consumes the corresponding page iden-tity of the page, if the usually geographical location letter of terminal device Cease instruction terminal equipment currently in the geographic range of trade company, and terminal opens corresponding trade company's consumption page, then it can be true Determining user will consume to shop, therefore executable obtain merchant identification corresponding with the trade company consumption page and then acquisition wireless network connects Enter the operation of information, and if the geographical location information instruction terminal equipment of terminal device is not currently in the geographic range of trade company Interior, then user is not currently in trade company shop, therefore can not perform the corresponding merchant identification of acquisition and trade company the consumption page temporarily Operation.
In a step 102, wireless network access information corresponding with merchant identification is obtained.
In one embodiment, the merchant identification of each trade company can correspond to a wireless network list, wireless network row Record has one group or multigroup wireless network access information in table, and one can be pre-established in server for storing wireless network The database of network access information, wherein being stored with the correspondence of each merchant identification and trade company's wireless network list.It is each Group wireless network access information may include a wireless network account name and a wireless network password.
In one embodiment, the wireless network list corresponding to each merchant identification can be obtained and be deposited by server Storage obtains and can be found in embodiment illustrated in fig. 2 with the process of trade company's wireless network list of the trade company of specified association, here first It is not described in detail.
In one embodiment, at least one set of wireless network can accesses in trade company's wireless network list of each trade company Information, and server can obtain and when needing the wireless network access information to terminal device push trade company to terminal device All wireless network access informations in push trade company's wireless network list corresponding with merchant identification, if for example, wireless network Record has three groups of wireless network access informations in network list, then can obtain all wireless networks access in the wireless network list Information is simultaneously pushed to terminal device.
In one embodiment, server also may be used when needing the wireless network access information to terminal device push trade company It only obtains and pushes at least one set of wireless network access information in trade company's wireless network list to terminal device, if for example, Record has more than 10 groups of wireless network access information in wireless network list, then can only be obtained simultaneously for each terminal device Push two or three group of wireless network access information therein.If it for example, consumes to shop and (has applied upper purchase consumption voucher specified) User have 16, and record has 6 groups of wireless network access informations in trade company's wireless network list of the trade company, then can forward 8 First three groups wireless network access information in the terminal device push trade company wireless network list of a user to shop, and backward 8 Rear three groups of wireless network access informations in the terminal device push trade company wireless network list of a user to shop, thus can be into One step ensures that the accessing user of each wireless network access point will not be excessive, ensures the online experience of user.
In step 103, wireless network access information is sent to terminal device, so that terminal device is according to wireless network Access information accesses wireless network.
In an exemplary scenario, referring to Figure 1B, terminal device 11 is when the trade company for opening specified application consumes the page, clothes Business device 12 can obtain the wireless network access information of the trade company, and send accessible wireless network to terminal device 11 and access letter Breath, terminal device 11 be based on the wireless network access information can wireless network rapid access, realize and passed through specified application purchase The terminal device 11 of consumption voucher can access wireless network when opening trade company's consumption page.
In the present embodiment, when server starts trade company's consumption page in specified application on the terminal device, acquisition and quotient The wireless network access information of the corresponding merchant identification of the family consumption page, and wireless network access information is sent to terminal and is set It is standby, it is achieved in terminal device and automatically accesses wireless network.As it can be seen that during above-mentioned access wireless network, terminal device Trade company in specified application is started consumes the page, as the page is completed in the purchase using the page or trade company's consumption voucher of consumption voucher When, server can push accessible wireless network access information to terminal, be achieved in terminal device and quickly access wireless network Network;Further, since server only pushes wireless network access information to the terminal device of the user of consumption, therefore can avoid any Terminal device all can access the problem of network congestion caused by wireless network.
Fig. 2 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application, in above-mentioned implementation On the basis of example, how the present embodiment is obtained with server and stores the merchant identification of each trade company and trade company's wireless network row It is illustrated for the correspondence of table, as shown in Figure 2, it may include following steps:
In step 201, trade company's wireless network list with the trade company of specified association, the quotient of each trade company are obtained Family wireless network list includes at least one set of wireless network access information, and wireless network access information includes wireless network account Name and wireless network password.
In one embodiment, server can each Merchants register and using specified in application, reminding its input geographical The wireless network access information for the wireless network that location information and shop are provided, the geographical location letter based on each trade company The general coverage area of breath and wireless network access device, it may be determined that go out the coverage area of the wireless network in trade company shop, And then also can determine that the wireless network of covering this trade company shop position, for example, trade company A, quotient with specified association Family B, the geographical location of trade company C are adjacent closer, and wireless network is provided in the shop of these three trade companies, three trade companies The wireless network in shop can cover another two shop position, therefore can in trade company's wireless network list of each trade company To include this three groups of wireless network access informations.
In one embodiment, server can also obtain the wireless network of covering trade company shop position by other means Network, for example, the solid shop of trade company A is in a market, and market provides free wireless network, therefore server also may be used The wireless network access information of the wireless network in market added in the wireless network list of trade company.
In step 202, the merchant identification of each trade company and the correspondence of trade company's wireless network list are preserved.
In one embodiment, server can be in a database or the data store organisation of other forms, such as data The merchant identification of each trade company and the correspondence of trade company's wireless network list are stored in list.
In the present embodiment, disclose a kind of server and corresponding trade company's wireless network list is configured for each merchant identification Mode, and then when may be implemented in terminal device and accessing trade company's consumption page of specified application, wireless network is pushed to terminal device Network access information.
Fig. 3 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application, in above-mentioned implementation On the basis of example, the present embodiment is illustrated so that server sends radio network information to terminal device as an example, such as Fig. 3 It is shown, it may include following steps:
In step 301, after trade company's consumption page in specified application is started on terminal device, terminal device hair is obtained The geographical location information sent, and determine the corresponding merchant identification of trade company's consumption page.
In one embodiment, terminal device is specified in application, can synchronous averaging global positioning system (Global in startup Positioning System, referred to as GPS) positioning, terminal device is accurately positioned, obtains the geographical position of terminal device Confidence ceases.
In step 302, it if determining that terminal device is located in the geographic range of trade company according to geographical location information, obtains Take wireless network access information corresponding with merchant identification.
In one embodiment, server can also be based further on terminal device geographical location information determine whether to perform it is true The operation of the corresponding page iden-tity of trade company's consumption page is determined, if the usually geographical location information instruction terminal equipment of terminal device Currently in the geographic range of trade company, and terminal opens corresponding trade company's consumption page, then can determine that user will disappear to shop Take, therefore the executable operation for obtaining the corresponding wireless network access information of merchant identification, and if the geographical position of terminal device Confidence breath instruction terminal equipment is not currently in the geographic range of trade company, then user is not currently in trade company shop, therefore can be temporary When do not perform the operation of acquisition wireless network access information corresponding with merchant identification.Therefore, server can believe geographical location Breath is matched with the geographic range of corresponding trade company, if terminal device is located in the geographic range of trade company, can obtain trade company The corresponding merchant identification of the page is consumed, does not otherwise obtain the corresponding merchant identification of trade company's consumption page.
In step 303, wireless network access information is sent to terminal device, so that terminal device is according to wireless network Access information accesses wireless network.
In the present embodiment, trade company shop can be located in the geographical location information of terminal device by further defining server When trade company's consumption page of specified application is started in geographic range, and on terminal device, then nothing is pushed on terminal device Line network access information, to avoid when terminal device does not need to wireless network access information also to terminal device push caused by Invalid information push.
Fig. 4 A are to implement the flow chart of the method for access wireless network exemplified according to the application one, and Fig. 4 B are according to this The wireless network access information schematic diagram exemplified is implemented in application one;The method of access wireless network can be applied to terminal device On, as shown in Figure 4 A, the method that wireless network is accessed in the present embodiment may include following steps 401~403:
In step 401, start trade company's consumption page in specified application.
In one embodiment, it can be the electric business platform for selling restaurant's consumption voucher, entrance ticket etc. to specify application, often One specified application can sell the commodity of multiple trade companies, as restaurant 1, restaurant 2 ..., the consumption voucher of restaurant N, scenic spot 1, scenic spot 2nd ..., the admission ticket of scenic spot N.
In one embodiment, trade company's consumption page can use the page for trade company's consumption voucher, and passing through application in user purchases After having bought consumption voucher, the use page that user can open trade company's consumption voucher proceeds to shop consumption, referring to Fig. 1 C.In an embodiment In, trade company's consumption page can also be that the purchase completion page of trade company's consumption voucher or others can indicate user in the quotient The page of family consumption.
In step 402, the wireless network access information that the corresponding merchant identification of the page is consumed with trade company, wireless network are obtained Network access information is provided by the server of specified application.
In one embodiment, the trade company corresponding with the trade company consumption page that terminal device can receive that server sends in real time marks The wireless network access information of knowledge, that is, when terminal device starts corresponding trade company's consumption page, server is in real time to terminal Equipment pushes wireless network access information.
In one embodiment, it is corresponding that terminal device can in advance be sent from local acquisition server consumes the page with trade company The wireless network access information of merchant identification.Server can in a database or the data store organisation of other forms, As stored the merchant identification of each trade company and the correspondence of trade company's wireless network list in data list, and the data are deposited Storage structure is synchronized on client namely the terminal device of each specified application, realizes that trade company is being locally stored in terminal device The wireless network access information of mark, and then can be when terminal device needs to obtain wireless network access information, directly from local It inquires and obtains wireless network access information.
In one embodiment, terminal device can perform acquisition and quotient when the trade company of the specified application of startup consumes the page The operation of the wireless network access information of the corresponding merchant identification of the family consumption page;Preferably, terminal device can also further base Determine whether to perform in the geographical location information of terminal device and obtain the wireless network that the corresponding merchant identification of the page is consumed with trade company The operation of network access information, if usually the geographical location information instruction terminal equipment of terminal device is currently in the geographical model of trade company In enclosing, and terminal opens corresponding trade company's consumption page, then can determine that user will consume to shop, thus it is executable obtain with The operation of the wireless network access information of the corresponding merchant identification of trade company's consumption page, and if the geographical location letter of terminal device Breath instruction terminal equipment is not currently in the geographic range of trade company, then user is not currently in trade company shop, therefore can temporarily not Perform the operation for obtaining the wireless network access information that the corresponding merchant identification of the page is consumed with trade company.
In step 403, wireless network is accessed according to wireless network access information.
In one embodiment, if wireless network access information only has one group of wireless network account name and wireless network password When, terminal device directly can access wireless network by the wireless network account name and wireless network password, be selected without user, It can be realized and automatically access wireless network.
In one embodiment, wireless network access information includes one group or more wireless network account name and wireless network password When, it can show wireless network access information, ginseng when user performs operation to " connection wireless network " access element in Fig. 1 C See Fig. 4 B, the wireless network that terminal device can be chosen according to the selection accessing user of user, access procedure can be found in shown in Fig. 5 Embodiment.
In the present embodiment, terminal device can directly acquire the trade company when the trade company for starting specified application consumes the page Wireless network access information, and according to wireless network access information wireless network rapid access, avoid user in the relevant technologies When entering trade company's consumption, need to search wireless network account name manually and be manually entered wireless network password that interconnection could be accessed Net caused by it is complicated for operation the problem of.
Fig. 5 is according to another flow chart of the method for access wireless network for implementing to exemplify of the application;In above-mentioned implementation On the basis of example, the present embodiment is based on illustrating for user selects access wireless network by terminal device, such as Fig. 5 It is shown, it may include following steps:
In step 501, start trade company's consumption page in specified application.
In step 502, the wireless network access information that the corresponding merchant identification of the page is consumed with trade company is obtained, performs step Rapid 503 or step 504.
In one embodiment, when the trade company for detecting that terminal device starts in specified application consumes the page, in addition to display Except trade company's consumption page, the wireless network access information of the corresponding merchant identification of trade company's consumption page, acquisition side can be also obtained Method can be found in the description of the step 402 of Fig. 4 A illustrated embodiments, and I will not elaborate.
In step 503, if there is one group of wireless network access information, wireless network is accessed according to wireless network access information Network;If there is multigroup wireless network access information, the best target radio network of signal quality is determined, and based on Target Wireless Wireless network account name and wireless network password the access wireless network of network.
In one embodiment, if only one group of wireless network account name and wireless network password, end can be directly controlled End equipment is based on this group of wireless network account name and wireless network password access wireless network, does not need to user's operation, you can real Existing terminal device access wireless network.
In one embodiment, if there is wireless network account name and wireless network password more than two, then terminal device One group of best wireless network of signal quality can be automatically selected as target radio network, and the nothing based on target radio network Gauze network account name and wireless network password access wireless network, do not need to user's operation, you can realization automatically accesses signal matter Measure last wireless network.
In step 504, the access element for accessing trade company's wireless network is presented in trade company consumes the page.
In one embodiment, step 503 illustrates a kind of access way for directly controlling terminal device access wireless network, And the selection that terminal device may be based on user determines whether to access wireless network and accesses which wireless network.Implement one In example, access element can be shown in trade company's consumption page, such as " connection wifi " button, referring to Fig. 1 C, if user is to " connection Wifi " buttons perform operation, then can determine that user wants to access wireless network, then can present and be used in trade company consumes the page Access the access element of trade company's wireless network.
In step 505, if detecting that access element is operated, wireless network access information is exported.
In one embodiment, one group or more wireless network account name can be presented by way of list and wireless network is close Code or one group or more wireless network account name, referring to Fig. 4 B;In one embodiment, one can also be presented by way of link Group more than wireless network account name and wireless network password or one group or more wireless network account name.
In step 506, the target radio network account name that user selects from wireless network access information is determined.
In one embodiment, it is selected in the wireless network access information that user can be exported by clicking operation in terminal device One wireless network account name is as the target radio network account name to be accessed.
In step 507, wireless network is accessed according to target radio network account name and corresponding wireless network password.
In the present embodiment, a kind of mode for accessing wireless network is disclosed, terminal device can be directly accessed wireless network, It can show access element, access wireless network is chosen whether, and defeated for user when user selects access wireless network by user Go out accessible wireless network access information, one wireless network of access is selected by user.
Fig. 6 A are according to another flow chart of the method for access wireless network for implementing to exemplify of the application, and Fig. 6 B are bases The wireless network access information that the application one implements to exemplify shares schematic diagram;On the basis of above-described embodiment, the present embodiment It illustrates so that wireless network access information is shared with other users by terminal device as an example, as shown in Figure 6A, can wrap Include following steps:
In step 601, it is presented in trade company consumes the page and shares member for share trade company's wireless network access information Element.
In one embodiment, it can be shown in trade company's consumption page and share element, such as " sharing wifi " button, referring to figure 1C if user performs operation to " sharing wifi " button, can determine that user wants trade company's wireless network being shared with him People.
In step 602, when detecting that sharing element is operated, mode list is shared in output.
In one embodiment, it is provided herein it is a variety of share mode, as microblogging is shared, wechat good friend shares, wechat Circle of friends is shared etc., when detecting that user wants trade company's wireless network being shared with other people, can show point shown in Fig. 6 B Mode list is enjoyed, for selection by the user.
In step 603, according to the targeted manner being selected in mode list is shared, wireless network access information is carried out Share.
In the present embodiment, disclose it is a kind of share mode of the wireless network access information to other users, can be by a variety of Wireless network access information is shared with other people by mode, and password can not also be inputted by participator by, which realizing, accesses wireless network Network improves experience of the user using the specified application.
Fig. 7 is the block diagram according to the device of the access wireless network shown in one exemplary embodiment of the application;The access nothing The device of gauze network can be applicable on server, as shown in fig. 7, the device of access wireless network includes:
First determining module 71, if starting trade company's consumption page in specified application on terminal device, it is determined that The corresponding merchant identification of trade company's consumption page;
First acquisition module 72, for obtaining wireless network access information corresponding with merchant identification;
First sending module 73, for wireless network access information to be sent to terminal device so that terminal device according to Wireless network access information accesses wireless network.
Fig. 8 is the block diagram according to the device of the access wireless network shown in the application another exemplary embodiment;Above-mentioned On the basis of embodiment illustrated in fig. 7, in one embodiment, device further includes:
Third acquisition module 74, for obtaining the wireless network list with the trade company of specified association, each trade company Trade company's wireless network list include at least one set of wireless network access information, wireless network access information includes wireless network Account name and wireless network password;
Memory module 75, for preserving the correspondence of the merchant identification of each trade company and trade company's wireless network list.
In one embodiment, the first acquisition module 72 is specifically used for:
After wireless network list corresponding with merchant identification is got, at least one set of nothing is obtained from wireless network list Line network access information.
In one embodiment, the first acquisition module 72 is specifically used for:
Obtain the geographical location information that terminal device is sent;
If according to geographical location information determine terminal device be located at merchant identification corresponding to trade company geographic range in, Then obtain wireless network access information corresponding with merchant identification.
In one embodiment, trade company's consumption page uses the page for trade company's consumption voucher;Or the purchase for trade company's consumption voucher It buys and completes the page.
Fig. 9 is the block diagram according to the device of the access wireless network shown in one exemplary embodiment of the application;The access nothing The device of gauze network can be applicable on terminal device, as shown in figure 9, the device of access wireless network includes:
Starting module 91 consumes the page for starting the trade company in specified application;
Second acquisition module 92, for obtaining the wireless network access letter with the corresponding merchant identification of trade company's consumption page Breath, wireless network access information are provided by the server of specified application;
AM access module 93, for accessing wireless network according to wireless network access information.
Figure 10 is the block diagram according to the device of the access wireless network shown in the application another exemplary embodiment;Above-mentioned On the basis of embodiment illustrated in fig. 9, in one embodiment, the second acquisition module 92 is specifically used for:
Receive the wireless network access information with the corresponding merchant identification of trade company's consumption page that server is sent in real time;Or Person,
It is accessed from the wireless network of local merchant identification corresponding with the trade company consumption page obtaining that server sends in advance Information.
In one embodiment, AM access module 93 is specifically used for:
If there is one group of wireless network access information, wireless network is accessed according to wireless network access information;
If there is multigroup wireless network access information, the best target radio network of signal quality is determined;
Wireless network account name and wireless network password based on target radio network access wireless network.
In one embodiment, AM access module 93 is specifically used for:
Export wireless network access information;
Determine the target radio network account name that user selects from wireless network access information;
According to target radio network account name and corresponding wireless network password access wireless network.
In one embodiment, AM access module 93 is specifically used for:
The access element for accessing trade company's wireless network is presented in trade company consumes the page;
When detecting that access element is operated, wireless network access information is exported.
In one embodiment, device further includes:
Module 94 is presented, for presenting to share sharing for trade company's wireless network access information in trade company's consumption page Element;
Output module 95, for when detecting that sharing element is operated, mode list to be shared in output;
Sharing module 96, for according to share in mode list be selected targeted manner, by wireless network access information Shared.
In one embodiment, the second acquisition module 92 is specifically used for:
Determine the geographical location information of terminal device;
If geographical location information instruction terminal equipment is located in the geographic range of trade company, obtains and consume the page with trade company Corresponding wireless network access information.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein illustrating as separating component Unit may or may not be physically separate, the component shown as unit may or may not be Physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to the actual needs Some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, you can to understand and implement.
Corresponding to the method for above-mentioned access wireless network, the application also proposed according to the present invention one shown in Figure 11 The schematic configuration diagram of the electronic equipment of exemplary embodiment, electronic equipment can be server, or terminal device.It please join Figure 11 is examined, in hardware view, which includes processor, internal bus, network interface, memory and non-volatile memories Device is also possible that the required hardware of other business certainly.Processor reads corresponding calculating from nonvolatile memory It in machine program to memory and then runs, the device of access wireless network is formed on logic level.Certainly, in addition to software realization side Except formula, other realization methods, such as mode of logical device or software and hardware combining etc. is not precluded in the application, that is, Say that the executive agent of following process flow is not limited to each logic unit or hardware or logical device.
Wherein, when electronic equipment is server, processor is used to perform the described method of first aspect.
Wherein, when electronic equipment is terminal device, processor is used to perform the described method of second aspect.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing is additionally provided.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by the processor of device When so that the method that device is able to carry out the access wireless network of above-mentioned first aspect and second aspect.
Those skilled in the art will readily occur to the application its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the precision architecture that the application is not limited to be described above and be shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by appended claim.

Claims (18)

1. it is a kind of access wireless network method, which is characterized in that application on the server, the method includes:
If start trade company's consumption page in specified application on terminal device, it is determined that the trade company consumes the corresponding quotient of the page Family identifies;
Obtain wireless network access information corresponding with the merchant identification;
The wireless network access information is sent to terminal device, so that the terminal device is accessed according to the wireless network Information access wireless network.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The wireless network list with the trade company of the specified association is obtained, in trade company's wireless network list of each trade company Including at least one set of wireless network access information, the wireless network access information includes wireless network account name and wireless network Password;
Preserve the merchant identification of each trade company and the correspondence of trade company's wireless network list.
3. according to the method described in claim 2, it is characterized in that, described obtain wireless network corresponding with the merchant identification Access information, including:
After wireless network list corresponding with the merchant identification is got, at least one is obtained from the wireless network list Group wireless network access information.
4. according to the method described in claim 1, it is characterized in that, described obtain wireless network corresponding with the merchant identification Access information, including:
Obtain the geographical location information that the terminal device is sent;
If according to the geographical location information determine the terminal device be located at the merchant identification corresponding to trade company ground In the range of reason, then wireless network access information corresponding with the merchant identification is obtained.
5. method according to any one of claims 1 to 4, which is characterized in that trade company's consumption page is trade company's consumption voucher Using the page or for trade company's consumption voucher purchase complete the page.
6. it is a kind of access wireless network method, which is characterized in that application on the terminal device, including:
Start trade company's consumption page in specified application;
The wireless network access information with the corresponding merchant identification of the trade company consumption page is obtained, the wireless network access is believed Breath is provided by the server of the specified application;
Wireless network is accessed according to the wireless network access information.
7. according to the method described in claim 6, it is characterized in that, the acquisition consumes the corresponding trade company of the page with the trade company The wireless network access information of mark, including:
Receive the wireless network access information with the corresponding merchant identification of the trade company consumption page that server is sent in real time;Or Person,
From the wireless network of local merchant identification corresponding with the trade company consumption page obtaining that the server sends in advance Access information.
8. according to the method described in claim 6, it is characterized in that, described access wirelessly according to the wireless network access information Network, including:
If there is one group of wireless network access information, wireless network is accessed according to the wireless network access information;
If there is multigroup wireless network access information, the best target radio network of signal quality is determined;
Wireless network account name and wireless network password based on the target radio network access wireless network.
9. according to the method described in claim 6, it is characterized in that, described access wirelessly according to the wireless network access information Network, including:
Export the wireless network access information;
Determine the target radio network account name that user selects from the wireless network access information;
According to the target radio network account name and corresponding wireless network password access wireless network.
10. according to the method described in claim 9, it is characterized in that, the output wireless network access information, including:
The access element for accessing trade company's wireless network is presented in the trade company consumes the page;
When detecting that the access element is operated, the wireless network access information is exported.
11. according to the method described in claim 10, it is characterized in that, the method further includes:
It is presented in the trade company consumes the page and shares element for share trade company's wireless network access information;
When detect it is described share element and operated when, mode list is shared in output;
According to the targeted manner shared and be selected in mode list, the wireless network access information is shared.
12. according to any method of claim 6 to 11, which is characterized in that the acquisition consumes the page with the trade company The wireless network access information of corresponding trade company, including:
Determine the geographical location information of the terminal device;
If the geographical location information indicates that the terminal device is located in the geographic range of the trade company, acquisition with it is described The corresponding wireless network access information of trade company's consumption page.
13. it is a kind of access wireless network device, which is characterized in that application on the server, the method includes:
First determining module, if starting trade company's consumption page in specified application on terminal device, it is determined that the quotient The corresponding merchant identification of the family consumption page;
First acquisition module, for obtaining wireless network access information corresponding with the merchant identification;
First sending module, for the wireless network access information to be sent to terminal device, so that the terminal device root Wireless network is accessed according to the wireless network access information.
14. it is a kind of access wireless network device, which is characterized in that application on the terminal device, including:
Starting module consumes the page for starting the trade company in specified application;
Second acquisition module, for obtaining the wireless network access information that the corresponding merchant identification of the page is consumed with the trade company, The wireless network access information is provided by the server of the specified application;
AM access module, for accessing wireless network according to the wireless network access information.
15. a kind of server, which is characterized in that the server includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, claim 1-5 any access wireless networks are realized when the processor performs the executable instruction Method.
16. a kind of terminal device, which is characterized in that the terminal device includes:
Processor;For storing the memory of the processor-executable instruction;
Wherein, claim 6-11 any access wireless networks are realized when the processor performs the executable instruction Method.
17. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is used for the method for performing any access wireless networks of the claims 1-5.
18. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is used for the method for performing any access wireless networks of the claims 6-11.
CN201711366000.3A 2017-12-18 2017-12-18 Method and device for accessing wireless network Active CN108156646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711366000.3A CN108156646B (en) 2017-12-18 2017-12-18 Method and device for accessing wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711366000.3A CN108156646B (en) 2017-12-18 2017-12-18 Method and device for accessing wireless network

Publications (2)

Publication Number Publication Date
CN108156646A true CN108156646A (en) 2018-06-12
CN108156646B CN108156646B (en) 2020-12-29

Family

ID=62467449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711366000.3A Active CN108156646B (en) 2017-12-18 2017-12-18 Method and device for accessing wireless network

Country Status (1)

Country Link
CN (1) CN108156646B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729582A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 Information interacting method, device and computer readable storage medium
CN109756993A (en) * 2019-01-22 2019-05-14 口碑(上海)信息技术有限公司 Control method, device, system and the storage medium of wireless network connection
CN110958608A (en) * 2018-09-26 2020-04-03 腾讯科技(深圳)有限公司 Wireless network connection method, device, storage medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038912A (en) * 2014-07-03 2014-09-10 胡继强 Security WIFI advertising method and system
US20150221149A1 (en) * 2014-06-30 2015-08-06 Richard Brewster Main Wifi wallet payments and entry keys
CN106303952A (en) * 2016-07-28 2017-01-04 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the WiFi access point for accessing target shop
CN106413046A (en) * 2016-10-27 2017-02-15 北京小米移动软件有限公司 Wireless network recommendation method, device and equipment
US9635491B2 (en) * 2014-07-10 2017-04-25 Sap Se Transient mobile application capture in a restricted area
CN107360534A (en) * 2016-05-10 2017-11-17 上海连尚网络科技有限公司 A kind of method and apparatus for being used to establish wireless connection
CN107509172A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of free WIFI management methods in market and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150221149A1 (en) * 2014-06-30 2015-08-06 Richard Brewster Main Wifi wallet payments and entry keys
CN104038912A (en) * 2014-07-03 2014-09-10 胡继强 Security WIFI advertising method and system
US9635491B2 (en) * 2014-07-10 2017-04-25 Sap Se Transient mobile application capture in a restricted area
CN107360534A (en) * 2016-05-10 2017-11-17 上海连尚网络科技有限公司 A kind of method and apparatus for being used to establish wireless connection
CN106303952A (en) * 2016-07-28 2017-01-04 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the WiFi access point for accessing target shop
CN106413046A (en) * 2016-10-27 2017-02-15 北京小米移动软件有限公司 Wireless network recommendation method, device and equipment
CN107509172A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of free WIFI management methods in market and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958608A (en) * 2018-09-26 2020-04-03 腾讯科技(深圳)有限公司 Wireless network connection method, device, storage medium and computer equipment
CN109729582A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 Information interacting method, device and computer readable storage medium
CN109729582B (en) * 2018-12-27 2021-12-10 维沃移动通信有限公司 Information interaction method and device and computer readable storage medium
CN109756993A (en) * 2019-01-22 2019-05-14 口碑(上海)信息技术有限公司 Control method, device, system and the storage medium of wireless network connection
CN109756993B (en) * 2019-01-22 2020-06-02 口碑(上海)信息技术有限公司 Control method, device and system for wireless network connection and storage medium

Also Published As

Publication number Publication date
CN108156646B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US11893609B2 (en) Service experience score system
US11776040B2 (en) System, method, and medium for user specific data distribution of crowd-sourced data
CN105229485B (en) Multifactor position verification method
US20150142569A1 (en) Systems and methods for accessing shopping center services using a portable electronic device
US20160292507A1 (en) Information Processing System and Method Using Image Recognition
US20150052008A1 (en) Mobile Application For Hair Extensions
KR20150032402A (en) Method for managing online reward content
CN108156646A (en) Access the method and device of wireless network
CN105247555A (en) Considering social information in generating recommendations
US20180365722A1 (en) Bitcoin chase mobile game
US20240020747A1 (en) Concurrent visualization tool using augmented reality to improve decision making
CN107886390A (en) Method, equipment, system and the storage medium of the actual demand resource of user are provided
US10796273B2 (en) Platform for management and organization of personal property
US20170061421A1 (en) System and method for permitting proximity based funds transfer from one person to another
US11146913B2 (en) Location based mobile messaging shopping network
US20200004764A1 (en) Online sites with associated fictitious geographical locations
CN116228342B (en) Commodity recommendation method and device and computer readable storage medium
CN109121090B (en) Shop electronic fence establishing method and device
CN104915365B (en) Activity flow recommendation method and device
US20160232602A1 (en) Method and system for trading virtual card for rental and lease contract
KR20160016299A (en) Smart device with cleaning service.
CN109960909B (en) Social contact method based on three-dimensional map, server and computer-readable storage medium
JP2022096040A (en) Method for providing matching information and matching information provision program
Chiu et al. Five keys to connecting with China’s wired consumers
CN118105706A (en) Virtual store management method, apparatus, computer device, and readable storage medium

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
GR01 Patent grant
GR01 Patent grant