CN112367606A - Wi-Fi connection method and device, electronic equipment and readable medium - Google Patents

Wi-Fi connection method and device, electronic equipment and readable medium Download PDF

Info

Publication number
CN112367606A
CN112367606A CN201911274532.3A CN201911274532A CN112367606A CN 112367606 A CN112367606 A CN 112367606A CN 201911274532 A CN201911274532 A CN 201911274532A CN 112367606 A CN112367606 A CN 112367606A
Authority
CN
China
Prior art keywords
information
store
connection
electronic equipment
electronic device
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
CN201911274532.3A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201911274532.3A priority Critical patent/CN112367606A/en
Publication of CN112367606A publication Critical patent/CN112367606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • H04W4/21Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for social networking applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a Wi-Fi connection method and device, electronic equipment and a readable medium. One embodiment of the method comprises: in response to the detection of the preset operation, acquiring position information of the electronic equipment; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; and carrying out Wi-Fi connection based on the Wi-Fi information. This embodiment improves the efficiency of Wi-Fi connections.

Description

Wi-Fi connection method and device, electronic equipment and readable medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a Wi-Fi connection method, a Wi-Fi connection device, electronic equipment and a readable medium.
Background
With the continuous development of Wireless communication technology, Wi-Fi (Wireless-Fidelity) networks have become an important way for users to access networks on a daily basis, and meanwhile, great convenience is brought to the users.
At present, when a user connects a wireless access point, a wireless access list page provided by an operating system of a mobile terminal needs to be opened, and the wireless access point is selected from the wireless access list page, if the selected wireless access point is a secret-free wireless access point, the mobile terminal can be directly connected with the wireless access point, and if the selected wireless access point is an encrypted wireless access point, the user needs to input a password of the wireless access point, and then the mobile terminal can be connected with the wireless access point.
Disclosure of Invention
The embodiment of the application provides a method and a device for Wi-Fi connection, electronic equipment and a readable medium.
In a first aspect, some embodiments of the present application provide a method of Wi-Fi connection, the method comprising: in response to the detection of the preset operation, acquiring position information of the electronic equipment; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; and carrying out Wi-Fi connection based on the Wi-Fi information.
In some embodiments, the preset operations include: opening a predetermined application installed in the electronic device, the predetermined application including an application associated with at least one store.
In some embodiments, conducting Wi-Fi connectivity based on Wi-Fi information includes: determining whether the electronic equipment meets preset Wi-Fi connection conditions; if so, displaying Wi-Fi connection prompt information; and responding to the obtained instruction indicating the Wi-Fi connection, and performing the Wi-Fi connection through the Wi-Fi information.
In some embodiments, the Wi-Fi connection conditions include: the predicted value of the using flow of the electronic equipment during the store is larger than the preset value.
In some embodiments, the Wi-Fi connection conditions include: the predicted value of speed of the electronic device using the Wi-Fi connection during the store is greater than the predicted value of speed using the mobile network.
In some embodiments, obtaining Wi-Fi information of a store where the electronic device is located includes: and inquiring Wi-Fi information locally stored in the electronic equipment according to the identification or position information of the store where the electronic equipment is located.
In some embodiments, the Wi-Fi information stored locally by the electronic device includes: and after sending a Wi-Fi information acquisition request comprising the identification or position information of the store where the electronic equipment is located to the target server, returning Wi-Fi information by the target server.
In some embodiments, the Wi-Fi information stored locally by the electronic device includes: and the target server responds to the obtained Wi-Fi change information of the store and pushes updated Wi-Fi information to the electronic equipment.
In a second aspect, some embodiments of the present application provide a Wi-Fi connection apparatus, the apparatus comprising: a first acquisition unit configured to acquire position information of the electronic device in response to detection of a preset operation; a determination unit configured to determine whether the electronic device is within a range of the at least one store based on the location information and pre-stored range information of the at least one store; the second obtaining unit is configured to obtain Wi-Fi information of a store where the electronic equipment is located when the second determining unit determines that the electronic equipment is within the range of at least one store; a connection unit configured to perform Wi-Fi connection based on the Wi-Fi information.
In some embodiments, the preset operations include: opening a predetermined application installed in the electronic device, the predetermined application including an application associated with at least one store.
In some embodiments, a connection unit, comprises: a determination module configured to determine whether the electronic device meets a preset Wi-Fi connection condition; the display module is configured to display the Wi-Fi connection prompt information when the determining module determines that the electronic equipment meets the preset Wi-Fi connection condition; and the connection module is configured to respond to the acquisition of the instruction for indicating the Wi-Fi connection and carry out the Wi-Fi connection through the Wi-Fi information.
In some embodiments, the Wi-Fi connection conditions include: the predicted value of the using flow of the electronic equipment during the store is larger than the preset value.
In some embodiments, the Wi-Fi connection conditions include: the predicted value of speed of the electronic device using the Wi-Fi connection during the store is greater than the predicted value of speed using the mobile network.
In some embodiments, the second obtaining unit is further configured to: and inquiring Wi-Fi information locally stored in the electronic equipment according to the identification or position information of the store where the electronic equipment is located.
In some embodiments, the Wi-Fi information stored locally by the electronic device includes: and after sending a Wi-Fi information acquisition request comprising the identification or position information of the store where the electronic equipment is located to the target server, returning Wi-Fi information by the target server.
In some embodiments, the Wi-Fi information stored locally by the electronic device includes: and the target server responds to the obtained Wi-Fi change information of the store and pushes updated Wi-Fi information to the electronic equipment.
In a third aspect, some embodiments of the present application provide an apparatus comprising: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described above in the first aspect.
In a fourth aspect, some embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method as described above in the first aspect.
According to the Wi-Fi connection method, the device, the electronic equipment and the readable medium, position information of the electronic equipment is obtained by responding to the detection of the preset operation; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; Wi-Fi connection is carried out based on Wi-Fi information, and the efficiency of Wi-Fi connection is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a diagram of an exemplary system architecture to which some of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method of Wi-Fi connection according to the application;
FIG. 3 is a schematic diagram of an application scenario of a method of Wi-Fi connection according to the application;
FIG. 4 is a flow diagram of yet another embodiment of a method of Wi-Fi connection according to the application;
FIG. 5 is a schematic block diagram of one embodiment of a Wi-Fi connection apparatus according to the application;
FIG. 6 is a block diagram of a computer system suitable for use in implementing a server or terminal of some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the Wi-Fi connection method or Wi-Fi connection apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various client applications, such as a social-type application, an e-commerce-type application, a search-type application, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smartwatches, smartphones, tablets, laptop and desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for applications installed on the terminal devices 101, 102, 103. The terminal device 101, 102, 103 or the server 105 may acquire the location information of the electronic device in response to detecting the preset operation; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; and if so, acquiring Wi-Fi information of the store where the electronic equipment is located. And finally, carrying out Wi-Fi connection on the electronic equipment based on the Wi-Fi information.
It should be noted that the Wi-Fi connection method provided in the embodiment of the present application may be executed by the server 105, or may be executed by the terminal devices 101, 102, and 103, and accordingly, the Wi-Fi connection apparatus may be disposed in the server 105, or may be disposed in the terminal devices 101, 102, and 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of Wi-Fi connectivity according to the present application is shown. The Wi-Fi connection method comprises the following steps:
in step 201, in response to detecting a preset operation, position information of the electronic device is acquired.
In this embodiment, the method execution subject of Wi-Fi connection may acquire location information of the electronic device in response to detection of a preset operation. The preset operation may include an operation of instructing the user to arrive at a location, which may require connection to a Wi-Fi network provided at the location. In some optional implementations of this embodiment, the preset operation may include: the predetermined applications installed in the electronic device are opened, and the predetermined applications comprise applications associated with at least one store, such as applications for displaying store merchandise information, coupon information and/or for settlement of store purchases. The preset operations may also include other operations indicating a user location change or a need to use Wi-Fi, such as turning on a device location switch, a Wi-Fi switch, etc. The executing body can judge the position of the mobile device through the network positioning function of the mobile device system, the base station or the WI-FI signal.
And step 202, determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store.
In this embodiment, the execution subject may determine whether the electronic device is in the range of at least one store according to the position information acquired in step 201 and the pre-stored range information of at least one store. The range information of at least one store can be acquired based on data of existing map software, and can also be transmitted by other electronic equipment.
And step 203, acquiring Wi-Fi information of a store where the electronic equipment is located.
In this embodiment, if the execution subject determines that the electronic device is in the range of at least one store, the execution subject may obtain Wi-Fi information of the store where the electronic device is located from the cloud or locally, where the Wi-Fi information may include a Wi-Fi name and a Wi-Fi password. As an example, the terminal device may send a request for acquiring Wi-Fi information of all or part of stores to the cloud, and after receiving the Wi-Fi information returned by the cloud, may query the Wi-Fi information of the store where the terminal device is located according to the identifier or the location information of the store where the terminal device is located, where the part of stores may include the stores in the city or area where the user is located; the terminal equipment can also send a request for acquiring the Wi-Fi information of the store where the terminal equipment is located to the cloud end so as to acquire the Wi-Fi information of the store where the terminal equipment is located.
In some optional implementations of this embodiment, the obtaining Wi-Fi information of a store where the electronic device is located may include: and inquiring Wi-Fi information locally stored in the electronic equipment according to the identification or position information of the store where the electronic equipment is located. The electronic equipment can locally store a corresponding relation table comprising the identification or position information of the store and the Wi-Fi information of the store. Or an algorithm formula for obtaining the Wi-Fi information of the store through calculation of the identification or the position information of the store.
In some optional implementations of this embodiment, the Wi-Fi information stored locally by the electronic device includes: and after sending a Wi-Fi information acquisition request comprising the identification or position information of the store where the electronic equipment is located to the target server, returning Wi-Fi information by the target server.
In some optional implementations of this embodiment, the Wi-Fi information stored locally by the electronic device includes: and the target server responds to the obtained Wi-Fi change information of the store and pushes updated Wi-Fi information to the electronic equipment. The Wi-Fi change information of the store can be uploaded by the store, and can also be uniformly modified by the cloud. According to the implementation mode, automatic issuing of store WIFI information is achieved, the password changes, the user does not need to input the password again, and the Wi-Fi connection efficiency is further improved.
And step 204, performing Wi-Fi connection based on the Wi-Fi information.
In this embodiment, the execution subject may perform Wi-Fi connection of the electronic device based on the Wi-Fi information acquired in step 203. Optionally, the electronic device may confirm whether the user needs to access the Wi-Fi network of the store through a preset connection condition or in a form of an output dialog box. Wi-Fi connection can be directly performed through an Application Programming Interface (API) provided by the mobile device, and an acquired Wi-Fi password can be automatically copied into a password input box during Wi-Fi connection so as to perform Wi-Fi connection.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method of Wi-Fi connection according to the present embodiment. In the application scenario of fig. 3, the terminal device 302 may obtain the location information 303 of the electronic device in response to detecting the preset operation, and then the server 301 may determine whether the electronic device is in the range of at least one store according to the location information 303 and the pre-stored range information 304 of the at least one store; if yes, the Wi-Fi information 305 of the store where the electronic device is located is obtained, and finally the terminal device 302 can conduct Wi-Fi connection based on the Wi-Fi information.
The method provided by the embodiment of the application acquires the position information of the electronic equipment by responding to the detection of the preset operation; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; Wi-Fi connection is carried out based on Wi-Fi information, so that automatic connection of WIFI is achieved, and Wi-Fi connection efficiency is improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of Wi-Fi connectivity is shown. The flow 400 of the Wi-Fi connection method includes the following steps:
step 401, in response to detecting a preset operation, acquiring location information of an electronic device.
In this embodiment, the method execution subject of Wi-Fi connection may acquire location information of the electronic device in response to detection of a preset operation.
And step 402, determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store.
In this embodiment, the execution subject may determine whether the electronic device is in the range of at least one store according to the position information acquired in step 401 and the pre-stored range information of at least one store.
And step 403, acquiring Wi-Fi information of a store where the electronic equipment is located.
In this embodiment, if the execution subject determines that the electronic device is within the range of at least one store, the execution subject may obtain Wi-Fi information of the store where the electronic device is located from the cloud or locally.
Step 404, determining whether the electronic device meets preset Wi-Fi connection conditions.
In this embodiment, the execution subject may determine whether the electronic device meets a preset Wi-Fi connection condition. The Wi-Fi connection condition may be set according to actual needs, and may be, for example, a mobile communication package used by the terminal, where a remaining value of traffic in the package is smaller than a preset value, or other conditions related to traffic usage or network speed.
In some optional implementations of this embodiment, the Wi-Fi connection condition may include: the predicted value of the flow used by the electronic equipment during the store period is greater than the preset value, wherein the predicted value of the flow can be determined according to the downloading speed or other customized algorithms.
In some optional implementations of this embodiment, the Wi-Fi connection condition may further include: the predicted value of speed of the electronic device using the Wi-Fi connection during the store is greater than the predicted value of speed using the mobile network. The predicted speed value of the Wi-Fi connection can be determined by referring to other devices using the Wi-Fi network of the store, and the predicted speed value of the mobile network can be obtained by calculation according to the current speed of the electronic device using the mobile network.
And step 405, displaying the Wi-Fi connection prompt information.
In this embodiment, if the execution main body determines that the electronic device meets the preset Wi-Fi connection condition, the execution main body displays Wi-Fi connection prompt information. The Wi-Fi connection prompting information can comprise content for inquiring whether to use Wi-Fi of a store, and can also comprise network traffic residual information and network speed information.
And step 406, responding to the obtained instruction indicating the Wi-Fi connection, and performing the Wi-Fi connection through the Wi-Fi information.
In this embodiment, the execution main body performs Wi-Fi connection through Wi-Fi information in response to acquiring the instruction instructing to perform Wi-Fi connection.
In this embodiment, the operations of step 401, step 402, and step 403 are substantially the same as the operations of step 201, step 202, and step 203, and are not described herein again.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, in the flow 400 of the Wi-Fi connection method in the present embodiment, by determining whether the electronic device meets the preset Wi-Fi connection condition, the electronic device is only connected to the Wi-Fi of the store when necessary, so that the use of the Wi-Fi network of the store is further optimized.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of a Wi-Fi connection apparatus, which corresponds to the method embodiment shown in fig. 2, and which can be applied in various electronic devices.
As shown in fig. 5, the Wi-Fi connection apparatus 500 of the present embodiment includes: a first acquisition unit 501, a determination unit 502, a second acquisition unit 503, and a connection unit 504. The first acquisition unit is configured to acquire position information of the electronic equipment in response to the detection of a preset operation; a determination unit configured to determine whether the electronic device is within a range of the at least one store based on the location information and pre-stored range information of the at least one store; the second obtaining unit is configured to obtain Wi-Fi information of a store where the electronic equipment is located when the second determining unit determines that the electronic equipment is within the range of at least one store; a connection unit configured to perform Wi-Fi connection based on the Wi-Fi information.
In this embodiment, the specific processing of the first acquiring unit 501, the determining unit 502, the second acquiring unit 503 and the connecting unit 504 of the Wi-Fi connection apparatus 500 may refer to step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, the preset operation includes: opening a predetermined application installed in the electronic device, the predetermined application including an application associated with at least one store.
In some optional implementations of this embodiment, the connection unit includes: a determination module configured to determine whether the electronic device meets a preset Wi-Fi connection condition; the display module is configured to display the Wi-Fi connection prompt information when the determining module determines that the electronic equipment meets the preset Wi-Fi connection condition; and the connection module is configured to respond to the acquisition of the instruction for indicating the Wi-Fi connection and carry out the Wi-Fi connection through the Wi-Fi information.
In some optional implementations of this embodiment, the Wi-Fi connection condition includes: the predicted value of the using flow of the electronic equipment during the store is larger than the preset value.
In some optional implementations of this embodiment, the Wi-Fi connection condition includes: the predicted value of speed of the electronic device using the Wi-Fi connection during the store is greater than the predicted value of speed using the mobile network.
In some optional implementations of this embodiment, the second obtaining unit is further configured to: and inquiring Wi-Fi information locally stored in the electronic equipment according to the identification or position information of the store where the electronic equipment is located.
In some optional implementations of this embodiment, the Wi-Fi information stored locally by the electronic device includes: and after sending a Wi-Fi information acquisition request comprising the identification or position information of the store where the electronic equipment is located to the target server, returning Wi-Fi information by the target server.
In some optional implementations of this embodiment, the Wi-Fi information stored locally by the electronic device includes: and the target server responds to the obtained Wi-Fi change information of the store and pushes updated Wi-Fi information to the electronic equipment.
The device provided by the above embodiment of the application acquires the position information of the electronic device by responding to the detection of the preset operation; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; Wi-Fi connection is carried out based on Wi-Fi information, and the efficiency of Wi-Fi connection is improved.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components may be connected to the I/O interface 605: an input portion 606 such as a keyboard, mouse, or the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a determination unit, a second acquisition unit, a determination unit, and a connection unit. Where the names of the units do not in some cases constitute a limitation of the units themselves, for example, a connection unit may also be described as a "unit configured to make Wi-Fi connections based on Wi-Fi information".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: in response to the detection of the preset operation, acquiring position information of the electronic equipment; determining whether the electronic equipment is in the range of at least one store according to the position information and the pre-stored range information of the at least one store; if yes, acquiring Wi-Fi information of a store where the electronic equipment is located; and carrying out Wi-Fi connection based on the Wi-Fi information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. A method of Wi-Fi connection, the method comprising:
in response to the detection of the preset operation, acquiring position information of the electronic equipment;
determining whether the electronic equipment is in the range of at least one store according to the position information and pre-stored range information of the at least one store;
if yes, acquiring Wi-Fi information of a store where the electronic equipment is located;
and carrying out Wi-Fi connection based on the Wi-Fi information.
2. The method of claim 1, wherein the preset operations comprise:
opening a predetermined application installed in the electronic device, the predetermined application including an application associated with the at least one store.
3. The method of claim 1, wherein the conducting Wi-Fi connectivity based on the Wi-Fi information comprises:
determining whether the electronic equipment meets preset Wi-Fi connection conditions;
if so, displaying Wi-Fi connection prompt information;
and responding to the obtained instruction indicating the Wi-Fi connection, and performing the Wi-Fi connection through the Wi-Fi information.
4. The method of claim 1, wherein the Wi-Fi connection conditions comprise:
the predicted value of the using flow of the electronic equipment during the store is larger than a preset value.
5. The method of claim 1, wherein the Wi-Fi connection conditions comprise:
the electronic device uses a Wi-Fi connection during the store with a greater predicted value of speed than using the mobile network.
6. The method of any of claims 1-5, wherein the obtaining Wi-Fi information of a store in which the electronic device is located comprises:
and inquiring Wi-Fi information locally stored in the electronic equipment according to the identification or the position information of the store where the electronic equipment is located.
7. The method of claim 6, wherein the Wi-Fi information stored locally by the electronic device comprises:
and after sending a Wi-Fi information acquisition request comprising the identification of the store where the electronic equipment is located or the position information to a target server, returning Wi-Fi information by the target server.
8. The method of claim 6, wherein the Wi-Fi information stored locally by the electronic device comprises:
and the target server responds to the obtained Wi-Fi change information of the store and pushes updated Wi-Fi information to the electronic equipment.
9. A Wi-Fi connection apparatus, the apparatus comprising:
a first acquisition unit configured to acquire position information of the electronic device in response to detection of a preset operation;
a determination unit configured to determine whether the electronic device is within a range of at least one store based on the location information and pre-stored range information of the at least one store;
the second obtaining unit is configured to obtain Wi-Fi information of a store where the electronic equipment is located when the second determining unit determines that the electronic equipment is within the range of the at least one store;
a connection unit configured to perform Wi-Fi connection based on the Wi-Fi information.
10. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
CN201911274532.3A 2019-12-12 2019-12-12 Wi-Fi connection method and device, electronic equipment and readable medium Pending CN112367606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911274532.3A CN112367606A (en) 2019-12-12 2019-12-12 Wi-Fi connection method and device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911274532.3A CN112367606A (en) 2019-12-12 2019-12-12 Wi-Fi connection method and device, electronic equipment and readable medium

Publications (1)

Publication Number Publication Date
CN112367606A true CN112367606A (en) 2021-02-12

Family

ID=74516448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911274532.3A Pending CN112367606A (en) 2019-12-12 2019-12-12 Wi-Fi connection method and device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN112367606A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263118A (en) * 2015-10-31 2016-01-20 广东欧珀移动通信有限公司 Positioning method of user terminal and user terminal
CN106303952A (en) * 2016-07-28 2017-01-04 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the WiFi access point for accessing target shop
CN106878936A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 The sharing method and device of a kind of shop WiFi network
CN106878935A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of sharing method of shop WiFi network, server and device
CN107071772A (en) * 2016-07-29 2017-08-18 腾讯科技(深圳)有限公司 WLAN connection method and mobile terminal
CN109040967A (en) * 2017-06-12 2018-12-18 薛海珍 wireless local area network access method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263118A (en) * 2015-10-31 2016-01-20 广东欧珀移动通信有限公司 Positioning method of user terminal and user terminal
CN106878936A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 The sharing method and device of a kind of shop WiFi network
CN106878935A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of sharing method of shop WiFi network, server and device
CN106303952A (en) * 2016-07-28 2017-01-04 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the WiFi access point for accessing target shop
US20180035367A1 (en) * 2016-07-28 2018-02-01 Baidu Online Network Technology (Beijing) Co., Ltd. Method and Apparatus for Accessing Wifi Access Point in Target Shop
CN107071772A (en) * 2016-07-29 2017-08-18 腾讯科技(深圳)有限公司 WLAN connection method and mobile terminal
CN109040967A (en) * 2017-06-12 2018-12-18 薛海珍 wireless local area network access method and device

Similar Documents

Publication Publication Date Title
CN110708346A (en) Information processing system and method
CN110569057A (en) gray scale distribution method and device, electronic equipment and computer readable medium
CN109992719B (en) Method and apparatus for determining push priority information
CN111278085B (en) Method and device for acquiring target network
CN113010405A (en) Application program testing method and device
CN107347093B (en) Configuration method and device for distributed server system
CN111787041B (en) Method and device for processing data
CN110619101B (en) Method and apparatus for processing information
CN111125503B (en) Method and apparatus for generating information
CN110673886B (en) Method and device for generating thermodynamic diagrams
EP3879795A1 (en) Method and apparatus for acquiring information, device, medium and computer program product
CN109145591B (en) Plug-in loading method of application program
CN109144864B (en) Method and device for testing window
CN111324470A (en) Method and device for generating information
CN110708657A (en) Wireless access point connection method and device for mobile terminal
CN113378041B (en) Prompt message pushing method, device, electronic equipment and computer readable medium
CN109086210B (en) Navigation information method and device for testing navigation application
CN112367606A (en) Wi-Fi connection method and device, electronic equipment and readable medium
CN111241368B (en) Data processing method, device, medium and equipment
CN108471635B (en) Method and apparatus for connecting wireless access points
WO2020224295A1 (en) Information management method, device, and system
WO2019223759A1 (en) Method and device for displaying wireless access point information
CN108494982B (en) Method and apparatus for generating information
CN113760315A (en) Method and device for testing system
CN111835917A (en) Method, device and equipment for showing activity range and computer readable 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