CN109257441B - Wireless local area network position acquisition method and device - Google Patents

Wireless local area network position acquisition method and device Download PDF

Info

Publication number
CN109257441B
CN109257441B CN201811290222.6A CN201811290222A CN109257441B CN 109257441 B CN109257441 B CN 109257441B CN 201811290222 A CN201811290222 A CN 201811290222A CN 109257441 B CN109257441 B CN 109257441B
Authority
CN
China
Prior art keywords
area network
local area
wireless local
location information
information
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.)
Active
Application number
CN201811290222.6A
Other languages
Chinese (zh)
Other versions
CN109257441A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811290222.6A priority Critical patent/CN109257441B/en
Publication of CN109257441A publication Critical patent/CN109257441A/en
Application granted granted Critical
Publication of CN109257441B publication Critical patent/CN109257441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for acquiring the position of a wireless local area network, wherein the method comprises the following steps: sending a wireless local area network query request to the block chain equipment; receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network. The mobile terminal in the embodiment of the invention can send a wireless local area network query request to the block chain equipment and receive at least one piece of first position information returned by the block chain equipment, wherein the first position information corresponds to the wireless local area network, so that a user can find a proper wireless local area network through the first position information.

Description

Wireless local area network position acquisition method and device
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and an apparatus for acquiring a location of a wireless local area network.
Background
With the development of mobile terminals, people have more and more occasions for using the mobile terminals, and WIreless-Fidelity (WIFI) can provide a good internet environment for users, but generally, users can only use the WIFI in a WIFI coverage area, and the users cannot possibly access the WIFI used conventionally in outdoor or other occasions.
In the prior art, when a user is outdoors or in some other occasions, the mobile terminal may generally automatically search for surrounding WIFI and display a searched WIFI list, and the user may know the surrounding WIFI through the WIFI list.
However, the applicant has found that the above-mentioned technical solution has the following drawbacks: most WIFI in the WIFI list has set passwords, so that a user cannot log in, and the WIFI without the passwords in the WIFI list is dared to access by the user due to reasons such as security and the like, so that the user cannot find proper WIFI outdoors or on other occasions.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring a position of a wireless local area network, which are used for solving the problem that a user cannot find proper WIFI.
In order to solve the above technical problem, the present invention provides a method for acquiring a location of a wireless local area network, which is applied to a mobile terminal, and the method includes:
sending a wireless local area network query request to the block chain equipment;
receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
The embodiment of the present invention further provides a device for acquiring a location of a wireless local area network, including:
the wireless local area network query request sending module is used for sending a wireless local area network query request to the block chain equipment;
and the location information receiving module is configured to receive at least one piece of first location information returned by the blockchain device, where the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
The embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the wireless local area network location obtaining method are implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing wireless local area network location obtaining method are implemented.
In the embodiment of the invention, the mobile terminal can send a wireless local area network query request to the block chain equipment and receive at least one piece of first position information returned by the block chain equipment, wherein the first position information corresponds to the wireless local area network, so that a user can find a proper wireless local area network through the first position information.
Drawings
Fig. 1 is a flowchart illustrating a method for acquiring a location of a wireless local area network according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating specific steps of a method for acquiring a location of a wireless local area network according to a second embodiment of the present invention;
fig. 3 is a block diagram of a wlan location obtaining apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a specific structure of a wlan location obtaining apparatus according to a third embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ METHOD EXAMPLES ] As a method for producing a semiconductor device
Referring to fig. 1, a flowchart illustrating steps of a method for acquiring a location of a wireless local area network according to an embodiment of the present invention is shown. The method is applied to the mobile terminal, and comprises the following specific steps:
step 101: and sending a wireless local area network inquiry request to the block chain equipment.
In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
In the embodiment of the invention, the mobile terminal user can access the block chain equipment by registering an account and the like. The blockchain device may be a device using a blockchain technology, and the blockchain device may be a server or a terminal. The blockchain device may accept a user request and provide a corresponding service according to a hash algorithm or the like. The block chain technique is specifically described as follows:
the block chain technology, called BT (Block chain technology) for short, is also called distributed account book information technology, is an Internet database technology, and is characterized in that centralization and openness are removed, and everyone can participate in database recording. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system.
The blockchain encrypts transaction information in a transaction block through a hash algorithm and compresses the information into a hash string consisting of a string of numbers and letters. The hash value of the block chain can uniquely and accurately identify one block, any node in the block chain can obtain the hash value of the block through simple hash calculation, and the fact that the calculated hash value is not changed means that information in the block is not tampered.
Blockchains may include public chains and private chains.
The public chain is a block chain which can be read by anyone, can send a transaction by anyone, can effectively confirm the transaction and can participate in the consensus process by anyone; the consensus process determines which blocks can be added to the chain of blocks while keeping track of the current state. In the embodiment of the invention, the conditions such as WIFI, user network load and the like can be acquired through the public chain information of the block chain.
Private chain refers to a block chain whose write rights are only in one organization's hand, with the purpose of restricting read rights or open outside rights. The private chain has the following characteristics: the transaction speed is very fast, a small number of nodes in the private chain have a high degree of trust, and not every node is required to verify a transaction. Thus, the private chain trades much faster than the public chain; the private chain provides better guarantee for privacy that the data of the private chain cannot be disclosed and cannot be obtained by all people who own network connection; private chain transaction costs are greatly reduced even to zero and complete free or at least very inexpensive transactions can be made on the private chain, which no longer requires charging for work if one entity controls and processes all transactions; private chains help to protect their underlying products from damage, and the use of private chains by operators, banks, and traditional financial institutions can guarantee their existing benefits so that the original ecosystem is not damaged. Through the private chain technology, any operator can automatically monitor whether the authentication approval user has the access qualification.
In this embodiment of the present invention, before step 101, the method may further include accessing, by the wlan provisioning device, the blockchain device, and dynamically configuring location information of the wlan of the public chain in the blockchain device.
In a specific application, the wireless local area network provisioning device may provision a wireless local area network. Specifically, the wlan provisioning device may access the blockchain device according to a hash algorithm, which is a one-way cryptographic mechanism for preventing the transaction information from being tampered in the blockchain, and thus, the security of data transmission and access is ensured. After receiving a section of plaintext, the hash algorithm converts the plaintext into a section of scattered data with a short length and a fixed number of bits in an irreversible manner. The hash algorithm has the following characteristics: the encryption process is irreversible, and other people cannot reverse the specific content of the original plaintext through the output hash data; the input plaintext and the output scattered data are in one-to-one correspondence, and any change of input information necessarily causes the change of the finally output scattered data.
In specific application, the wireless local area network supply device may dynamically configure the wireless local area network in the blockchain device through checking the blockchain personal account, for example, updating the location information of the WIFI corresponding to the wireless local area network identifier according to the number of access users, the actual device operating condition, and the like, so that the blockchain device has accurate and safe wireless local area network location information. The at least one first location information returned by the blockchain device is also accurate and secure, thereby providing better service to the user.
In the embodiment of the invention, the mobile terminal can receive a wireless local area network query request generated by user triggering in a user interface of the block chain equipment, wherein the wireless local area network query request is used for indicating that a user needs to query a wireless local area network capable of providing WIFI service.
Step 102: receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
In the embodiment of the present invention, after receiving the wireless local area network query request, the blockchain device may perform addressing through the wireless local area network query request according to a hash algorithm to obtain at least one first location information adapted to the wireless local area network query request, for example, may obtain at least one first location information having a distance from a location corresponding to the wireless local area network query request within a preset range through the hash algorithm, where each first location information corresponds to one wireless local area network. After the block chain device determines the at least one first position information, the at least one first position information can be returned to the mobile terminal, and then the mobile terminal can receive the at least one first position information corresponding to the wireless local area network, so that a mobile terminal user can know the position of the wireless local area network capable of providing the WIFI service.
In summary, in the embodiment of the present invention, the mobile terminal may send a wlan query request to the blockchain device, and receive at least one first location information returned by the blockchain device, where the first location information corresponds to a wlan, so that a user may find a suitable wlan through the first location information.
[ METHOD EXAMPLE II ]
Referring to fig. 2, a flowchart illustrating specific steps of a method for acquiring a location of a wireless local area network according to an embodiment of the present invention is shown. The method is applied to the mobile terminal, and specifically comprises the following steps:
step 201: sending a wireless local area network query request to the block chain equipment; the wireless local area network inquiry request comprises: second position information.
In the embodiment of the invention, the mobile terminal can send the wireless local area network query request to the public chain of the block chain equipment. The wireless local area network query request may include second location information, where the second location information may be current location information of the mobile terminal, and in a specific application, the second location information may be obtained by positioning the mobile terminal.
Step 202: receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
In the embodiment of the present invention, the block chain device may search, according to the second location information, for the location information of the wireless local area network whose distance from the second location information does not exceed a certain threshold, as the first location information.
In a specific application, the returned information of the blockchain device may be a location list of the wireless local area network; wherein the wireless local area network location list comprises the at least one first location information.
In the embodiment of the invention, the at least one piece of first position information is returned through the wireless local area network position list, so that the first position information is clearer and more clear, and a user can conveniently see the at least one piece of first position information.
Step 203: a selection operation corresponding to the at least one first location information is received.
In the embodiment of the present invention, after receiving at least one piece of first location information returned by the block chain device, the at least one piece of first location information may be loaded at the mobile terminal, and the user may select, according to an actual requirement, first location information that is desired to be reached from the at least one piece of first location information, and then the mobile terminal may receive a selection operation corresponding to the at least one piece of first location information.
In specific application, a user can trigger at least one piece of first position information by clicking, sliding a preset track, making a preset gesture and the like, so that the mobile terminal receives a selection operation
Step 204: determining target location information among the at least one first location information according to the selection operation.
In the embodiment of the present invention, the first location information corresponding to the selection operation may be determined as the target location information, which indicates that the user wishes to use the wireless local area network corresponding to the target location information.
Step 205: the map application is invoked.
Step 206: and navigating through the map application program according to the second position information and the target position information.
In the embodiment of the present invention, after the target location information is determined, a matching condition between the target location information and the second location information may be further determined, and if the second location information matches the target location information, which indicates that the user may access the wireless local area network corresponding to the target location information, the operations from step 207 to step 208 may be performed; if the second position information has a distance from the target position information, the user needs to reach the address corresponding to the target position information first to access the wireless local area network corresponding to the target position information; therefore, the map application program can be called, the navigation route can be determined by positioning the second position information and the target position information in the map application program, navigation is carried out, and a user is helped to conveniently reach the position corresponding to the target position information.
Step 207: receiving a decryption operation corresponding to the encrypted information in a case where the second location information matches the target location information.
Step 208: and accessing a target wireless local area network corresponding to the target position information.
In the embodiment of the invention, the wireless local area network also corresponds to encryption information; in specific application, the wireless local area network may be charging WIFI, the encrypted information may be a two-dimensional code, a barcode, a text description, and the like for payment, and the encrypted information may also be prompt information matching a password, and the like.
In the embodiment of the invention, the user can add the decryption information corresponding to the encryption information into the target wireless local area network corresponding to the target position information only by inputting the decryption information corresponding to the encryption information. For example, the user may access to the target wireless lan corresponding to the target location information by decrypting the encrypted information through a decryption operation such as recognizing the two-dimensional code, inputting a password, paying the amount of money corresponding to the encrypted information, and the like.
In the embodiment of the invention, the mobile terminal can send a wireless local area network query request to the block chain equipment and receive at least one piece of first position information returned by the block chain equipment, wherein the first position information corresponds to the wireless local area network, so that a user can find a proper wireless local area network through the first position information.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
[ third example of device ]
Referring to fig. 3, a block diagram of a wlan location obtaining apparatus 300 according to an embodiment of the present invention is shown. The method comprises the following steps:
a wlan query request sending module 310, configured to send a wlan query request to a blockchain device;
a location information receiving module 320, configured to receive at least one piece of first location information returned by the blockchain device, where the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
Preferably, referring to fig. 4, on the basis of fig. 3, in the wireless local area network location acquiring apparatus:
the wireless local area network inquiry request comprises: second location information, the apparatus further comprising:
a selection operation receiving module 330, configured to receive a selection operation corresponding to the at least one first location information;
a target location information determining module 340, configured to determine target location information from the at least one first location information according to the selection operation;
a calling module 350 for calling a map application;
and a navigation module 360, configured to perform navigation through the map application according to the second location information and the target location information.
Preferably, the wireless local area network further corresponds to encryption information; the device further comprises:
a decryption operation receiving module 370, configured to receive a decryption operation corresponding to the encrypted information if the current location of the mobile terminal matches the target location information;
and a wireless local area network access module 380, configured to access a target wireless local area network corresponding to the target location information.
Preferably, the location information receiving module 320 includes:
a location information receiving submodule 3201, configured to receive a location list of a wireless local area network returned by the block chain device; wherein the wireless local area network location list comprises the at least one first location information.
In the embodiment of the invention, the mobile terminal can send a wireless local area network query request to the block chain equipment and receive at least one piece of first position information returned by the block chain equipment, wherein the first position information corresponds to the wireless local area network, so that a user can find a proper wireless local area network through the first position information.
The mobile terminal can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 510 is configured to send a wireless local area network query request to the blockchain device; receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network.
In the embodiment of the invention, the mobile terminal can send a wireless local area network query request to the block chain equipment and receive at least one piece of first position information returned by the block chain equipment, wherein the first position information corresponds to the wireless local area network, so that a user can find a proper wireless local area network through the first position information.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510. The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned embodiment of the method for acquiring a location of a wireless local area network are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned wireless local area network location obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A wireless local area network position acquisition method is applied to a mobile terminal, and is characterized by comprising the following steps:
sending a wireless local area network query request to the block chain equipment;
receiving at least one piece of first location information returned by the blockchain device, wherein the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network; the first position information is position information within a threshold value from second position information, and the second position information is current position information of the mobile terminal.
2. The method of claim 1, wherein the wireless local area network query request comprises: second location information, after the step of receiving at least one first location information returned by the blockchain device, further comprising:
receiving a selection operation corresponding to the at least one first location information;
determining target position information in the at least one first position information according to the selection operation;
calling a map application program;
and navigating through the map application program according to the second position information and the target position information.
3. The method of claim 2, wherein the wireless local area network further corresponds to encryption information; after the step of navigating through the map application according to the second location information and the target location information, the method further includes:
receiving a decryption operation corresponding to the encrypted information in a case where the second location information matches the target location information;
and accessing a target wireless local area network corresponding to the target position information.
4. The method according to any one of claims 1 to 3, wherein the step of receiving at least one first location information returned by the blockchain device comprises:
receiving a wireless local area network position list returned by the block chain equipment; wherein the wireless local area network location list comprises the at least one first location information.
5. A wireless local area network position acquisition device is applied to a mobile terminal, and is characterized in that the device comprises:
the wireless local area network query request sending module is used for sending a wireless local area network query request to the block chain equipment;
a location information receiving module, configured to receive at least one piece of first location information returned by the blockchain device, where the first location information is returned by the blockchain device after responding to the wireless local area network query request, and the first location information corresponds to a wireless local area network; the first position information is position information within a threshold value from second position information, and the second position information is current position information of the mobile terminal.
6. The apparatus of claim 5, wherein the WLAN query request comprises: second location information, the apparatus further comprising:
a selection operation receiving module for receiving a selection operation corresponding to the at least one first location information;
a target location information determining module, configured to determine target location information from the at least one first location information according to the selection operation;
the calling module is used for calling the map application program;
and the navigation module is used for navigating through the map application program according to the second position information and the target position information.
7. The apparatus of claim 6, wherein the wireless local area network further corresponds to encryption information; the device further comprises:
a decryption operation receiving module, configured to receive a decryption operation corresponding to the encrypted information if the second location information matches the target location information;
and the wireless local area network access module is used for accessing the target wireless local area network corresponding to the target position information.
8. The apparatus according to any one of claims 5 to 7, wherein the location information receiving module comprises:
the position information receiving submodule is used for receiving a wireless local area network position list returned by the block chain equipment; wherein the wireless local area network location list comprises the at least one first location information.
9. A mobile terminal comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the wireless local area network location acquisition method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the wireless local area network location acquisition method according to any one of claims 1 to 4.
CN201811290222.6A 2018-10-31 2018-10-31 Wireless local area network position acquisition method and device Active CN109257441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811290222.6A CN109257441B (en) 2018-10-31 2018-10-31 Wireless local area network position acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811290222.6A CN109257441B (en) 2018-10-31 2018-10-31 Wireless local area network position acquisition method and device

Publications (2)

Publication Number Publication Date
CN109257441A CN109257441A (en) 2019-01-22
CN109257441B true CN109257441B (en) 2022-01-28

Family

ID=65044521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811290222.6A Active CN109257441B (en) 2018-10-31 2018-10-31 Wireless local area network position acquisition method and device

Country Status (1)

Country Link
CN (1) CN109257441B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510862B (en) * 2020-04-24 2021-09-21 支付宝(杭州)信息技术有限公司 Terminal area positioning method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595407A (en) * 2012-03-13 2012-07-18 宇龄信息科技(无锡)有限公司 System and method both enabling mobile equipment to log in automatically and access into wireless network
CN103298072A (en) * 2013-07-02 2013-09-11 张洁昕 Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
CN107492262A (en) * 2017-09-01 2017-12-19 深圳市易成自动驾驶技术有限公司 Parking navigation method and readable storage medium storing program for executing based on block chain
WO2018125989A2 (en) * 2016-12-30 2018-07-05 Intel Corporation The internet of things
CN108376157A (en) * 2018-02-08 2018-08-07 腾讯科技(深圳)有限公司 Target user's querying method, system and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170339628A1 (en) * 2014-11-04 2017-11-23 Huawei Technologies Co., Ltd. Hidden hotspot access method and apparatus
US9958531B2 (en) * 2016-05-26 2018-05-01 Blackberry Limited Determining a location of a wireless device using fingerprinting
CN107509165A (en) * 2017-07-27 2017-12-22 中兴软创科技股份有限公司 A kind of method for being calculated based on big data, determining AP positions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595407A (en) * 2012-03-13 2012-07-18 宇龄信息科技(无锡)有限公司 System and method both enabling mobile equipment to log in automatically and access into wireless network
CN103298072A (en) * 2013-07-02 2013-09-11 张洁昕 Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
WO2018125989A2 (en) * 2016-12-30 2018-07-05 Intel Corporation The internet of things
CN107492262A (en) * 2017-09-01 2017-12-19 深圳市易成自动驾驶技术有限公司 Parking navigation method and readable storage medium storing program for executing based on block chain
CN108376157A (en) * 2018-02-08 2018-08-07 腾讯科技(深圳)有限公司 Target user's querying method, system and device

Also Published As

Publication number Publication date
CN109257441A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN108510022B (en) Two-dimensional code generation and verification method and server
CN109194818B (en) Information processing method and terminal
CN109257336B (en) Block chain-based password information processing method and terminal equipment
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN108901020B (en) Network access method, mobile terminal and server
CN108629171B (en) Unread message processing method and terminal
CN109145552B (en) Information encryption method and terminal equipment
US20160301530A1 (en) Sensitive operation verification method, apparatus, and system
CN110188524B (en) Information encryption method, information decryption method and terminal
CN106255102B (en) Terminal equipment identification method and related equipment
CN107358083B (en) Information processing method, terminal and computer readable storage medium
CN109446794B (en) Password input method and mobile terminal thereof
CN109918944B (en) Information protection method and device, mobile terminal and storage medium
CN111159687B (en) Account information processing method, electronic equipment and server
CN109451011B (en) Information storage method based on block chain and mobile terminal
CN109257441B (en) Wireless local area network position acquisition method and device
CN109992939B (en) Login method and terminal equipment
CN111310250A (en) Application sharing method and electronic equipment
CN109753776B (en) Information processing method and device and mobile terminal
CN110969434A (en) Payment method, server, terminal and system
CN111159738A (en) Permission configuration method, application login method and device
CN110851408A (en) File compression method, file decompression method and electronic equipment
CN115589286A (en) Data encryption and decryption method and device, electronic equipment and storage medium
CN110717163B (en) Interaction method and terminal equipment
CN110032861B (en) Password setting method and terminal equipment

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