CN105809162B - Method and device for acquiring WIFI hotspot and picture associated information - Google Patents

Method and device for acquiring WIFI hotspot and picture associated information Download PDF

Info

Publication number
CN105809162B
CN105809162B CN201610136758.7A CN201610136758A CN105809162B CN 105809162 B CN105809162 B CN 105809162B CN 201610136758 A CN201610136758 A CN 201610136758A CN 105809162 B CN105809162 B CN 105809162B
Authority
CN
China
Prior art keywords
information
wifi hotspot
wifi
acquiring
name
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
CN201610136758.7A
Other languages
Chinese (zh)
Other versions
CN105809162A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610136758.7A priority Critical patent/CN105809162B/en
Publication of CN105809162A publication Critical patent/CN105809162A/en
Application granted granted Critical
Publication of CN105809162B publication Critical patent/CN105809162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/235Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on user input or interaction
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The invention discloses a method for acquiring a WIFI hotspot, which comprises the following steps: screenshot is conducted on the WIFI list; performing OCR recognition on the WIFI list screenshot to obtain WIFI hotspot information; uploading the terminal position information and the WIFI hotspot information to a server; and receiving WIFI hotspot connection information which is returned by the server and can be connected. According to the method for acquiring the WIFI hotspot, the intelligent identification of the terminal on the WIFI list screenshot is realized, so that the WIFI hotspot connection information for connection is acquired through the identified WIFI hotspot information and the terminal position information, and a mode for acquiring the WIFI hotspot more conveniently, quickly and accurately is provided. The invention also discloses a device for acquiring the WIFI hotspot, and a method and a device for acquiring the picture associated information.

Description

Method and device for acquiring WIFI hotspot and picture associated information
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for acquiring WIFI hotspot and picture associated information.
Background
With the rapid development of internet technology, network information is growing more and more explosively, and how to acquire information quickly and conveniently becomes a demand for more people. For example, a user wants to quickly acquire commodity information during shopping, and wants to quickly acquire a WIFI password when connecting to a WIFI network.
In the conventional technology, some applications or websites are usually required to be logged in to obtain the required information, or the required information needs to be obtained by a way of manual notification. For example, when a user wants to obtain commodity information during shopping, the user needs to log in to some electronic commerce websites to check the commodity information. For another example, a user of the terminal device often needs to acquire the WIFI network password through a manual notification manner.
However, the conventional method for acquiring information is not fast and convenient enough, and needs to be improved.
Disclosure of Invention
Therefore, a method and a device for acquiring the information related to the WIFI hotspot and the picture more conveniently and quickly are needed.
A method for acquiring a WIFI hotspot comprises the following steps:
screenshot is conducted on the WIFI list;
performing OCR recognition on the WIFI list screenshot to obtain WIFI hotspot information;
uploading the terminal position information and the WIFI hotspot information to a server;
and receiving WIFI hotspot connection information which is returned by the server and can be connected.
A method for obtaining picture associated information comprises the following steps:
collecting pictures and storing the pictures in a preset path of a terminal;
acquiring a picture in a preset path of a terminal;
performing OCR recognition on the picture to obtain character information in the picture;
and acquiring service information associated with the text information according to the text information.
An apparatus for acquiring a WIFI hotspot, comprising:
the screenshot module is used for screenshot the WIFI list;
the identification module is used for carrying out OCR (optical character recognition) on the WIFI list screenshot to obtain WIFI hotspot information;
the uploading module is used for uploading the terminal position information and the WIFI hotspot information to the server;
and the receiving module is used for receiving the WIFI hotspot connection information which is returned by the server and can be connected.
An apparatus for obtaining picture associated information, comprising:
the acquisition and storage module is used for acquiring pictures and storing the pictures in a preset path of the terminal;
the image acquisition module is used for acquiring images in a preset path of the terminal;
the recognition module is used for carrying out OCR recognition on the picture to obtain character information in the picture;
and the service information acquisition module is used for acquiring service information related to the text information according to the text information.
The WIFI hotspot acquiring device captures the WIFI list, performs OCR recognition on the WIFI list captured image to obtain WIFI hotspot information, uploads the terminal position information and the WIFI hotspot information to the server, and receives WIFI hotspot connection information which is returned by the server and can be connected; therefore, OCR recognition can be carried out on the WIFI list screenshot, the obtained WIFI hotspot information and the terminal position information are uploaded to the server, and finally the WIFI hotspot connection information which is returned by the server and can be connected is received, so that the WIFI hotspot connection information can be efficiently and accurately obtained.
According to the method and the device for acquiring the image associated information, the image in the terminal preset path is acquired by acquiring the image and storing the image in the terminal preset path, OCR recognition is carried out on the image to acquire character information in the image, and service information associated with the character information is acquired according to the character information. By performing OCR recognition on the picture in the preset path of the terminal, the service information associated with the character information in the picture can be acquired, and the information can be acquired more conveniently and rapidly in various specific application scenes.
Drawings
FIG. 1 is a diagram of an application environment of a method for obtaining picture association information in one embodiment;
FIG. 2 is an internal block diagram of a terminal in one embodiment;
fig. 3 is a schematic flowchart of a method for acquiring a WIFI hotspot in one embodiment;
FIG. 4(a) is a diagram illustrating an example of a main interface of a terminal default application in one embodiment;
FIG. 4(b) is an exemplary diagram of a prompt screenshot of a guidance interface of a terminal provisioning application in one embodiment;
fig. 4(c) is an exemplary diagram of a WIFI list of a terminal in one embodiment;
fig. 4(d) is an exemplary diagram of a WIFI list available to a terminal in one embodiment;
fig. 4(e) is an exemplary diagram of acquiring a WIFI password available for connection through a terminal preset application main interface in another embodiment;
FIG. 5 is a flowchart illustrating a method for obtaining associated information of a picture according to an embodiment;
fig. 6 is a schematic structural diagram of an apparatus for acquiring a WIFI hotspot in one embodiment;
fig. 7 is a schematic structural diagram of an apparatus for acquiring a WIFI hotspot in another embodiment;
FIG. 8 is a diagram illustrating an exemplary architecture of an apparatus for obtaining information associated with a picture in one embodiment;
fig. 9 is a schematic structural diagram of an apparatus for acquiring picture related information in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, specific embodiments of the method and the apparatus for acquiring WIFI hotspot and picture associated information of the present invention are described in further detail below by embodiments and with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method for acquiring the picture related information provided by the embodiment can be applied to the environment shown in fig. 1. Referring to fig. 1, the terminal 102 obtains a picture from its own preset path, and it can be understood that the picture can be obtained by selecting a picture according to different formats of the stored picture and the length of the time for storing the picture; further, OCR (Optical Character Recognition) Recognition is performed on the acquired picture to obtain text information in the picture, the text information in the picture and the position information of the terminal 102 are uploaded to the server 104, the server 104 receives the text information sent by the terminal 102, searches a pre-stored database inside, and sends the found service information associated with the text information to the terminal 102. The terminal 102 may be, but is not limited to, a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, and the like having a screenshot function. The service information may be, but is not limited to including, at least one of social networking information, merchant information, merchandise information, and WIFI network information associated with the text information.
In an embodiment, as shown in fig. 2, there is further provided a terminal 102, where the terminal 102 includes a processor, a graphics processing unit, a storage medium, a memory, a network interface, a display, and an input device, which are connected through a system bus, where the storage medium stores an operating system and a device for obtaining picture related information, and the device for obtaining picture related information is used to implement the method for obtaining picture related information. The processor is used for improving the calculation and control capacity and supporting the operation of the terminal. The graphic processing unit in the terminal is used for at least providing a drawing capability for displaying an application operation interface, for example, drawing interface elements in picture operation in a preset path of the acquisition terminal, the memory is used for providing an environment for the operation of the device for acquiring picture related information in the storage medium, and the network interface is used for carrying out network communication with the server, receiving and sending data, for example, sending the position information of the terminal and the text information after identifying the picture in the preset path to the server, and the like. The touch screen display is used for displaying icons and interfaces of various applications, for example, displaying pictures in a preset path of the acquisition terminal.
Referring to fig. 3, in an embodiment, a method for acquiring a WIFI hotspot is provided, which may be applied to the terminal shown in fig. 1 for example, and includes the following steps:
and step 302, screenshot is conducted on the WIFI list.
In this embodiment, the screenshot is triggered by a preset control on a corresponding interface of a preset application program. When the instruction for confirming the screenshot through the control is obtained, corresponding operation prompt information can be displayed to remind the user of screenshot. Further, when an instruction for confirming the screenshot is obtained, jumping to a WIFI list display interface, and screenshot is conducted on the WIFI list display interface. And storing the obtained WIFI list screenshot in a preset path of the terminal.
As shown in fig. 4(a) -4 (c), a button 402 is provided on the display interface of the preset application program shown in fig. 4(a), and when the button 402 is clicked, the interface shown in fig. 4(b) is skipped to, and the interface is used as a guidance interface, and the user is reminded to capture a screen on the WIFI list display interface by displaying corresponding operation prompt information. The user can complete screenshot by combining a power-off key and a home key of the terminal and clicking at the same time, store the screenshot picture in a preset path of the terminal, usually in an album of the terminal, and immediately automatically jump a preset application program of the terminal to an interface shown in fig. 4(c), wherein the interface is a system WIFI list display interface of the terminal, and the WIFI list display interface comprises a plurality of pieces of WIFI hotspot information.
And 304, performing OCR recognition on the WIFI list screenshot to obtain WIFI hotspot information.
In this embodiment, the terminal identifies the WIFI list screenshot through an OCR identification library, identifies text information therein, that is, WIFI hotspot information, and the WIFI hotspot information includes a WIFI hotspot name. Further, the terminal can perform OCR recognition on the WIFI list screenshot to judge whether the screenshot is the WIFI list screenshot, if so, then the WIFI hotspot information in the screenshot is recognized, otherwise, the screenshot recognition is judged to fail, and the process is finished.
And step 306, uploading the terminal position and the WIFI hotspot information to a server.
In this embodiment, the terminal location information may be location information of the terminal, such as GPS location information. The terminal can upload the terminal position information and the WIFI hotspot information to the server, WIFI hotspot connection information corresponding to the WIFI hotspot name is pre-stored in the server, the server can match the corresponding WIFI hotspot connection information according to the received terminal position information and the received WIFI hotspot name, and the WIFI hotspot connection information is a WIFI hotspot connectable to the terminal.
And 308, receiving WIFI hotspot connection information which is returned by the server and can be connected.
In this embodiment, the terminal receives and displays the WIFI hotspot connection information available for connection. After the terminal acquires the WIFI hotspot connection information, the corresponding WIFI hotspot name and the password can be acquired according to the selection of one WIFI hotspot, the password is copied to the shear plate, and meanwhile prompt information is popped up to prompt a user to be connected to the WIFI hotspot.
As shown in fig. 4(d), WIFI hotspot information 404 available for connection is displayed on the corresponding interface. One of the WIFI hotspots is obtained, for example, the WIFI hotspot is GPDI _ CDIMC, the corresponding password is copied to the clipboard, and meanwhile, prompt information 406 is displayed on the interface to remind the user that the WIFI hotspot can be clicked to connect. And when a click instruction of the user on the WIFI hotspot is acquired, popping up a password input box, directly pasting the password copied to the shear plate by the user, and then confirming connection of the WIFI hotspot.
The ordering of the WIFI hotspot names in the connectable WIFI hotspot information can be the first connectable WIFI hotspot information returned by the server, or the connectable WIFI hotspot information with the strongest signal in the preset range based on the terminal position information. In this embodiment, the first WIFI hotspot name in the connectable WIFI hotspot information arranged in the terminal WIFI list is preferably selected, and by clicking the connectable WIFI hotspot name, the terminal pastes the acquired password corresponding to the connectable WIFI hotspot name, thereby completing the connection.
In another embodiment, a corresponding interface of a preset application program can be accessed, the information of the WIFI hotspot for connection is displayed in the corresponding interface of the preset application program, a button for determining to acquire a password corresponding to the WIFI hotspot is further provided on the corresponding interface, an instruction for acquiring the password corresponding to the WIFI hotspot is generated by clicking the button, and the terminal can acquire the password corresponding to the name of the WIFI hotspot and copy the password to the clipboard.
As shown in fig. 4(e), by obtaining the password button 408, the obtaining server returns the password corresponding to the hotspot name of the WIFI available for connection to the terminal, and the terminal can automatically connect to the corresponding WIFI hotspot through the password. Furthermore, if the WIFI hotspot connection information which is received by the terminal and available for connection is empty, judging that screenshot recognition fails, and ending.
In the embodiment, the WIFI list is subjected to screenshot, OCR recognition is performed on the screenshot of the WIFI list, and connectable WIFI hotspot connection information can be matched according to the recognized WIFI hotspot name. Therefore, the WIFI hotspot connection information can be quickly and conveniently acquired, and automatic acquisition of the WIFI hotspot connection information is realized.
According to the method for acquiring the WIFI hotspot, the WIFI list is subjected to screenshot, OCR recognition is carried out on the screenshot of the WIFI list, WIFI hotspot information is obtained, the terminal position information and the WIFI hotspot information are uploaded to the server, and WIFI hotspot connection information which is returned by the server and can be connected is received. According to the embodiment, the WIFI hotspot information can be acquired by performing OCR (optical character recognition) on the WIFI list screenshot, the WIFI hotspot information and the terminal position information are uploaded to the server, and finally the WIFI hotspot connection information which is returned by the server and can be connected is received, so that the efficiency and the accuracy of acquiring the WIFI hotspot connection information which can be connected are improved.
In one embodiment, the WIFI hotspot connection information includes a WIFI hotspot name and a corresponding password; the method for acquiring the WIFI hotspot further comprises the following steps: acquiring one WIFI hotspot name and a corresponding password, and copying the acquired password to a clipboard; and popping up prompt information for prompting the user to paste the password corresponding to the WIFI hotspot name.
In this embodiment, one of the WIFI hotspot names may be obtained according to a connectable WIFI list returned by the server, a first WIFI hotspot name and a corresponding password of the WIFI list with the top rank are obtained, and a WIFI hotspot with the strongest signal may be determined according to the strength of the signal, and the WIFI hotspot name and the corresponding password are obtained. Therefore, the flexibility and diversity of obtaining the WIFI hotspot names and the corresponding passwords are improved.
In the embodiment, the password is copied to the clipboard and the user is prompted to paste the password, so that the user does not need to manually input the password, and the convenience of connecting the WIFI hotspot is improved.
In one embodiment, the step of receiving the corresponding WIFI hotspot connection information returned by the server includes: receiving a description file containing WIFI hotspot connection information returned by the server; the method for acquiring the WIFI hotspot further comprises the following steps: and acquiring and installing the description file, acquiring WIFI hotspot connection information in the description file, and automatically connecting WIFI according to the WIFI hotspot connection information.
In this embodiment, after the server matches the WIFI hotspot connection information, a description file is generated according to the WIFI hotspot connection information, the terminal receives the description file and then prompts a user to install the description file, and after installation is completed, if no WIFI hotspot is connected at present, the terminal can automatically connect to the WIFI according to a password corresponding to the WIFI hotspot in the installed description file, so that the WIFI connection is faster and more convenient. And if the WIFI hotspot is connected currently after the description file is installed, prompting a user to select the WIFI hotspot in the description file for connection.
In this embodiment, as shown in fig. 5, a method for acquiring picture association information is provided, and the method is applied to a scene of acquiring WIFI hotspot connection information, and includes the following steps:
step 502, collecting pictures and storing the pictures in a preset path of the terminal.
In this embodiment, the collected picture may be a picture collected after the terminal performs screenshot, may also be a picture collected after taking a picture, or may be a picture downloaded from a network as the collected picture.
And step 504, acquiring pictures in a preset path of the terminal.
In this embodiment, the pictures in the preset path of the terminal can be accessed through the preset application program, and a certain picture is selected from the pictures for identification. OCR recognition may also be triggered automatically when the picture is generated.
And step 506, performing OCR recognition on the picture to obtain character information in the picture.
In this embodiment, the terminal performs OCR recognition on the picture through an OCR recognition library. By OCR (Optical Character Recognition), it is meant that the electronic device can detect the dark and light patterns of characters in a picture, determine the shape of the characters, and then translate the shape into computer characters by Character Recognition method. The terminal can recognize the character information in the picture through an OCR technology.
And step 508, acquiring service information associated with the text information according to the text information.
In this embodiment, the terminal acquires the text information, and can pull the service information associated with the text information according to the text information. Specifically, the type of the text information can be determined according to the text information, and then the corresponding service information can be pulled according to the type of the text information. The service information may be service information required by a preset application program, or may be third-party service information. For example, if the terminal recognizes that the text information in the picture is a commodity name through an OCR technology, it may pull merchant information, commodity information, and the like related to the commodity name from a third-party service website; the terminal recognizes that the text information in the picture is the user name through an OCR technology, and can pull instant messaging information, social network information and the like corresponding to the user name, such as pictures, texts and the like shared on a social network associated with the user name. This is not to be taken as an example.
According to the method for acquiring the picture associated information, the picture is acquired and stored in the terminal preset path, then the picture in the terminal preset path is acquired, then OCR recognition is carried out on the picture to obtain the character information in the picture, and finally the service information associated with the character information is acquired according to the character information. According to the embodiment, OCR recognition is carried out on the picture in the preset path of the terminal, so that the service information associated with the character information in the picture can be acquired, and the information can be acquired more conveniently and rapidly in various specific application scenes.
In one embodiment, before the step of obtaining the picture in the preset path of the terminal, the method further includes: screenshot is conducted on the WIFI list; the method comprises the steps of carrying out OCR recognition on a picture to obtain character information in the picture, and pulling service information related to the character information according to the character information, and comprises the following steps: and performing OCR recognition on the WIFI list screenshot to obtain WIFI hotspot information, uploading the terminal position information and the WIFI hotspot information to a server, and receiving WIFI hotspot connection information which is returned by the server and can be connected.
In one embodiment, the service information includes at least one of social networking information, merchant information, merchandise information, and WIFI network information associated with the text information.
The method for acquiring the picture associated information provided by the embodiment of the invention can also be applied to other application scenes as long as the service information is associated with the text information. In one embodiment, the text information in the picture may be a commodity name, and the obtained service information may be merchant information or commodity information associated with the commodity name. In another embodiment, the text information in the picture may be a contact name, and the obtained server information may be social network information, instant messaging related information, and the like associated with the contact name.
For example, in tourist attraction identification, when a local landmark or a landmark building is photographed in a tourist way, information of merchants near the attraction is identified through a screenshot identification function of a terminal; for another example, in the commodity information identification, when the commodity information is photographed in the shopping process, the price comparison information, the evaluation information and the like of the commodity on the internet are identified through the screenshot identification function of the terminal device. Therefore, the diversity of the image attribute information acquired through the screenshot of the terminal equipment is improved.
Based on the same inventive concept, in one embodiment, a device for acquiring a WIFI hotspot is also provided. As shown in fig. 6, the apparatus 10 for acquiring a WIFI hotspot includes a screenshot module 110, an identification module 120, an uploading module 130, and a receiving module 140.
The screenshot module 110 is configured to screenshot a WIFI list; the identification module 120 is configured to perform OCR identification on the WIFI list screenshot to obtain WIFI hotspot information; the uploading module 130 is configured to upload the terminal location information and the WIFI hotspot information to a server; the receiving module 140 is configured to receive WIFI hotspot connection information that is returned by the server and available for connection.
Further, as shown in fig. 7, in an embodiment, the WIFI hotspot connection information includes a WIFI hotspot name and a corresponding password; this device of WIFI focus still includes: a copy module 150 and a reminder module 160. The copying module 150 is configured to acquire one WIFI hotspot name and a corresponding password, and copy the acquired password to a clipboard; the reminding module 160 is used for popping up prompt information for reminding of pasting the password corresponding to the WIFI hotspot name.
In this embodiment, one of the WIFI hotspot names may be obtained according to a connectable WIFI list returned by the server, a first WIFI hotspot name and a corresponding password of the WIFI list with the top rank are obtained, and a WIFI hotspot with the strongest signal may be determined according to the strength of the signal, and the WIFI hotspot name and the corresponding password are obtained. Therefore, the flexibility and diversity of obtaining the WIFI hotspot names and the corresponding passwords are improved.
In the embodiment, the password is copied to the clipboard and the user is prompted to paste the password, so that the user does not need to manually input the password, and the convenience of connecting the WIFI hotspot is improved.
Further, as shown in fig. 7, in an embodiment, the receiving module 140 is further configured to receive a description file containing WIFI hotspot connection information returned by the server; this device of WIFI focus still includes: the WIFI connection module 170 is configured to acquire and install the description file, acquire WIFI hotspot connection information therein, and automatically connect to WIFI according to the WIFI hotspot connection information.
In this embodiment, after the server matches the WIFI hotspot connection information, a description file is generated according to the WIFI hotspot connection information, and the terminal receives the description file and automatically installs the description file, and automatically connects to the WIFI according to a password corresponding to the WIFI hotspot. According to the embodiment, the WIFI can be automatically connected to the WIFI without any manual operation of a user, so that the WIFI connection is faster and more convenient.
According to the device for acquiring the WIFI hotspot, the screenshot module 110 captures the WIFI list, the recognition module 120 performs OCR recognition on the screenshot of the WIFI list to obtain WIFI hotspot information, then the uploading module 130 uploads the terminal position information and the WIFI hotspot information to the server, and finally the receiving module 140 receives WIFI hotspot connection information which is returned by the server and can be connected. According to the embodiment, the WIFI hotspot information can be acquired by performing OCR (optical character recognition) on the WIFI list screenshot, the WIFI hotspot information and the terminal position information are uploaded to the server, and finally the WIFI hotspot connection information which is returned by the server and can be connected is received, so that the efficiency and the accuracy of acquiring the WIFI hotspot connection information which can be connected are improved.
Based on the same inventive concept, in one embodiment, an apparatus for acquiring picture related information is also provided. As shown in fig. 8, the apparatus 20 for obtaining picture related information includes an acquisition and storage module 210, a picture obtaining module 220, an identification module 230, and a service information obtaining module 240.
The acquisition and storage module 210 is configured to acquire a picture and store the picture in a preset path of the terminal; the picture obtaining module 220 is configured to obtain a picture in a preset path of the terminal; the recognition module 230 is configured to perform OCR recognition on the picture to obtain text information in the picture; the service information obtaining module 240 is configured to obtain service information associated with the text information according to the text information.
The service information comprises at least one of social network information, merchant information, commodity information and WIFI network information which are associated with the text information. Therefore, the diversity and the applicability of the service information related to the character information pulled through the character information are improved.
In addition, as shown in fig. 9, in an embodiment, the apparatus 20 for obtaining picture association information further includes a screenshot module 250, configured to screenshot a WIFI list; the identification module 230 is configured to perform OCR identification on the WIFI list screenshot to obtain WIFI hotspot information; the service information acquisition module 240 is configured to upload the terminal location information and the WIFI hotspot information to the server, and receive WIFI hotspot connection information which is returned by the server and available for connection.
In this embodiment, the screenshot is triggered by a preset control on a corresponding interface of a preset application program. When the instruction for confirming the screenshot through the control is obtained, corresponding operation prompt information can be displayed to remind the user of screenshot.
The device for acquiring the associated information of the picture acquires the picture through the acquisition and storage module 210 and stores the picture in the preset path of the terminal, acquires the picture in the preset path of the terminal through the picture acquisition module 220, performs OCR recognition on the picture through the recognition module 230 to obtain the text information in the picture, and finally acquires the service information associated with the text information according to the text information through the service information acquisition module 240. According to the embodiment, OCR recognition is carried out on the picture in the preset path of the terminal, so that the service information associated with the character information in the picture can be acquired, and the information can be acquired more conveniently and rapidly in various specific application scenes.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for acquiring a WIFI hotspot is characterized by comprising the following steps:
screenshot is conducted on the WIFI list;
performing OCR recognition on the WIFI list screenshot to obtain character information in the WIFI list screenshot, wherein the character information comprises WIFI hotspot information;
determining the type of the text information according to the text information, and pulling service information related to the text information according to the type of the text information, wherein the service information comprises: at least one of social network information, merchant information, commodity information and WIFI network information which are associated with the text information;
the pulling of the service information associated with the text information according to the type of the text information specifically includes: if the type of the text information is a user name, pulling social network information corresponding to the user name; if the type of the text information is WIFI hotspot information, uploading the terminal position information and the WIFI hotspot information to a server;
when a description file containing WIFI hotspot connection information returned by the server is received, acquiring and installing the description file;
acquiring WIFI hotspot connection information in the description file;
if no WIFI hotspot is connected currently, automatically connecting WIFI according to the WIFI hotspot name and the corresponding password in the WIFI hotspot connection information; if the WIFI hotspot is connected currently, prompting a user to select the WIFI hotspot to connect;
when the description file containing the WIFI hotspot connection information returned by the server is not received and the WIFI hotspot connection information which is returned by the server and can be connected is received, entering a corresponding interface of a preset application program; the WIFI hotspot connection information comprises a WIFI hotspot name and a corresponding password, and the WIFI hotspot name which can be connected is displayed on a corresponding interface of the preset application program;
acquiring a password corresponding to a first-ranked WIFI hotspot name in a corresponding interface of the preset application program from the WIFI hotspot connection information, and copying the acquired password to a clipboard;
the first ranked WIFI hotspot name is the WIFI hotspot name of the connectable WIFI hotspot with the strongest signal within the preset range of the terminal location information, or the WIFI hotspot name of the first connectable WIFI hotspot returned by the server.
2. The method of claim 1, wherein after the step of copying the obtained password to a clipboard, the method further comprises:
and popping up prompt information for reminding of pasting the password corresponding to the first-ranked WIFI hotspot name.
3. The method according to claim 1, wherein a button for determining to acquire a password corresponding to the connectable WIFI hotspot is further displayed on the corresponding interface of the preset application program; the method further comprises the following steps:
and when the button is triggered, generating an instruction for acquiring the password corresponding to the connectable WIFI hotspot.
4. The method of claim 1, wherein after the step of screenshot the WIFI list, the method further comprises:
and judging whether the screenshot is a WIFI list screenshot.
5. The method of claim 1, wherein the terminal location information is positioning information of the terminal.
6. An apparatus for acquiring a WIFI hotspot, comprising:
the screenshot module is used for screenshot the WIFI list;
the identification module is used for carrying out OCR (optical character recognition) on the WIFI list screenshot to obtain character information in the WIFI list screenshot, wherein the character information comprises WIFI hotspot information; determining the type of the text information according to the text information, and pulling service information related to the text information according to the type of the text information, wherein the service information comprises: at least one of social network information, merchant information, commodity information and WIFI network information associated with the text information, wherein the pulling of the service information associated with the text information according to the type of the text information specifically comprises: if the type of the text information is a user name, pulling social network information corresponding to the user name;
the uploading module is used for uploading the terminal position information and the WIFI hotspot information to a server if the type of the text information is the WIFI hotspot information;
the receiving module is used for acquiring and installing the description file when receiving the description file containing the WIFI hotspot connection information returned by the server; acquiring WIFI hotspot connection information in the description file; if no WIFI hotspot is connected currently, automatically connecting WIFI according to the WIFI hotspot name and the corresponding password in the WIFI hotspot connection information; if the WIFI hotspot is connected currently, prompting a user to select the WIFI hotspot to connect; when the description file containing the WIFI hotspot connection information returned by the server is not received and the WIFI hotspot connection information which is returned by the server and can be connected is received, entering a corresponding interface of a preset application program; the WIFI hotspot connection information comprises a WIFI hotspot name and a corresponding password; the corresponding interface of the preset application program displays the names of the WIFI hotspots which can be connected; acquiring a password corresponding to a WIFI hotspot name ranked at the top in a corresponding interface of the preset application program from the WIFI hotspot connection information, and copying the acquired password to a clipboard;
the first ranked WIFI hotspot name is the WIFI hotspot name of the connectable WIFI hotspot with the strongest signal within the preset range of the terminal location information, or the WIFI hotspot name of the first connectable WIFI hotspot returned by the server.
7. The apparatus of claim 6, further comprising:
and the reminding module is used for popping out prompt information for reminding the user of pasting the password corresponding to the first-ranked WIFI hotspot name.
8. The device of claim 6, wherein the corresponding interface of the preset application program further displays a button for determining to acquire a password corresponding to the connectable WIFI hotspot, and the receiving module is further configured to:
and when the button is triggered, generating an instruction for acquiring the password corresponding to the connectable WIFI hotspot.
9. A terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the method of any one of claims 1-5.
10. A computer-readable storage medium, the storage medium storing a computer program which, when executed by a processor, implements the method of any one of claims 1-5.
CN201610136758.7A 2016-03-10 2016-03-10 Method and device for acquiring WIFI hotspot and picture associated information Active CN105809162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610136758.7A CN105809162B (en) 2016-03-10 2016-03-10 Method and device for acquiring WIFI hotspot and picture associated information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610136758.7A CN105809162B (en) 2016-03-10 2016-03-10 Method and device for acquiring WIFI hotspot and picture associated information

Publications (2)

Publication Number Publication Date
CN105809162A CN105809162A (en) 2016-07-27
CN105809162B true CN105809162B (en) 2021-05-07

Family

ID=56468050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610136758.7A Active CN105809162B (en) 2016-03-10 2016-03-10 Method and device for acquiring WIFI hotspot and picture associated information

Country Status (1)

Country Link
CN (1) CN105809162B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303952A (en) * 2016-07-28 2017-01-04 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the WiFi access point for accessing target shop
CN107835523A (en) * 2016-11-16 2018-03-23 深圳平安讯科技术有限公司 A kind of method and terminal that WIFI hot spot is provided
CN106792673A (en) * 2017-03-10 2017-05-31 腾讯科技(深圳)有限公司 Wireless network access method and device
CN109246698B (en) * 2017-05-09 2020-12-29 腾讯科技(深圳)有限公司 Wireless network connection method and terminal equipment
CN112040529B (en) * 2020-09-11 2023-08-04 连尚(北京)网络科技有限公司 WiFi connection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202563523U (en) * 2012-03-22 2012-11-28 广东工业大学 WIFI-based portable character identification instrument
CN104244373A (en) * 2014-08-29 2014-12-24 苏州汉明科技有限公司 Method for wireless terminal to join wireless network
CN104834855A (en) * 2015-04-20 2015-08-12 北京奇虎科技有限公司 System data acquiring method and apparatus, and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252731B (en) * 2008-04-11 2012-05-23 天津华永无线科技有限公司 Structure for building mobile sociality network based on mixed locating mode
CN105045857A (en) * 2015-07-09 2015-11-11 中国科学院计算技术研究所 Social network rumor recognition method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202563523U (en) * 2012-03-22 2012-11-28 广东工业大学 WIFI-based portable character identification instrument
CN104244373A (en) * 2014-08-29 2014-12-24 苏州汉明科技有限公司 Method for wireless terminal to join wireless network
CN104834855A (en) * 2015-04-20 2015-08-12 北京奇虎科技有限公司 System data acquiring method and apparatus, and mobile terminal

Also Published As

Publication number Publication date
CN105809162A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
US9934254B2 (en) Terminal apparatus, information processing system, and information processing method
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
US9736524B2 (en) Methods of and systems for content search based on environment sampling
US9361135B2 (en) System and method for outputting and selecting processed content information
US9633049B2 (en) Searching apparatus, searching method, and searching system
US20160283055A1 (en) Customized contextual user interface information displays
JP7104242B2 (en) Methods for sharing personal information, devices, terminal equipment and storage media
US10496696B2 (en) Search method and apparatus
US10817923B2 (en) Information providing system, information providing apparatus, information providing method, and program
CN109462632B (en) Page jump method, page jump device, computer equipment and computer readable storage medium
US20140358712A1 (en) Shopping guide system, shopping guide management device and method
US20190369825A1 (en) Electronic device and method for providing information related to image to application through input unit
US20200050906A1 (en) Dynamic contextual data capture
US20160328110A1 (en) Method, system, equipment and device for identifying image based on image
KR102418992B1 (en) Electronic device and the Method for providing Augmented Reality Service thereof
JP2015038717A (en) Information processing system, information processing method, terminal device, and application program
CN108803972B (en) Information display method, device, mobile terminal and storage medium
JP2010067032A (en) Device, system and method for retrieval of commodity, and program
CN110442806B (en) Method and apparatus for recognizing image
CN112764838A (en) Target content display method and device and electronic equipment
CN112788090A (en) Network resource transmission method, device and system
CN106302821B (en) Data request method and equipment thereof
US9532181B2 (en) Device retrieval server, method of retrieving device, and program for device retrieval server
CN111596993B (en) Interface processing method, terminal equipment and storage medium
US11436273B2 (en) Image search apparatus, image search method, non-transitory recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant