CN110958608B - Wireless network connection method, device, storage medium and computer equipment - Google Patents

Wireless network connection method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN110958608B
CN110958608B CN201811124596.0A CN201811124596A CN110958608B CN 110958608 B CN110958608 B CN 110958608B CN 201811124596 A CN201811124596 A CN 201811124596A CN 110958608 B CN110958608 B CN 110958608B
Authority
CN
China
Prior art keywords
wireless network
image
identifier
organization
tissue
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
CN201811124596.0A
Other languages
Chinese (zh)
Other versions
CN110958608A (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 CN201811124596.0A priority Critical patent/CN110958608B/en
Publication of CN110958608A publication Critical patent/CN110958608A/en
Application granted granted Critical
Publication of CN110958608B publication Critical patent/CN110958608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The application relates to a wireless network connection method, a wireless network connection device, a storage medium and computer equipment, wherein the method comprises the following steps: acquiring a tissue marker image, wherein the tissue marker image is used for determining a corresponding tissue identifier; collecting current user environment information; determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information; and connecting the wireless network according to the wireless network identifier and the wireless network key. The scheme provided by the application can improve the connection efficiency of the wireless network.

Description

Wireless network connection method, device, storage medium and computer equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wireless network connection method, an apparatus, a computer-readable storage medium, and a computer device.
Background
With the development of communication technology, wireless communication technology appears, wireless network communication can be realized through the wireless communication technology, and great convenience is brought to daily life and office work of people. For example, in some public places, organizations such as businesses or enterprises may provide wireless networks for customers to access internet wirelessly.
In a conventional wireless network connection mode, a user is usually required to manually select a wireless network identifier to be connected from a wireless network list, then manually input a wireless network key, and then manually click a connection button, so that the terminal can perform wireless network connection. However, the conventional wireless network connection method requires manual operation of a user, and has the problems of complicated operation steps and low wireless network connection efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a wireless network connection method, apparatus, computer-readable storage medium, and computer device for solving the technical problem of inefficient wireless network connection.
A wireless network connection method, comprising:
acquiring a tissue marker image, wherein the tissue marker image is used for determining a corresponding tissue identifier;
collecting current user environment information;
determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information;
and connecting the wireless network according to the wireless network identifier and the wireless network key.
A wireless networking apparatus, the apparatus comprising:
an acquisition module configured to acquire a tissue marker image, the tissue marker image being used to determine a corresponding tissue identifier;
the acquisition module is used for acquiring current user environment information;
the determining module is used for determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information;
and the wireless network connection module is used for connecting a wireless network according to the wireless network identifier and the wireless network key.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the wireless network connection method.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the wireless network connection method.
The wireless network connection method, the wireless network connection device, the computer-readable storage medium and the computer equipment acquire the tissue marker image and the current user environment information, wherein the tissue marker image is used for determining the corresponding tissue identifier. And determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information, and connecting the wireless network according to the determined wireless network identifier and the wireless network key. Therefore, the wireless network identification to be connected is not required to be selected by the user, the wireless network key is not required to be manually input by the user, and the wireless network of the corresponding organization can be connected only by acquiring the organization mark image and the current user environment information, so that the connection of the wireless network is more convenient, and the connection efficiency of the wireless network is greatly improved.
A wireless network connection method, comprising:
acquiring a tissue marker image and user environment information;
determining a tissue marker corresponding to the tissue marker image;
determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information;
the wireless network identification and the wireless network key are issued to a mobile terminal; and the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
A wireless networking apparatus, the apparatus comprising:
the acquisition module is used for acquiring the tissue marker image and the user environment information;
a determining module for determining a tissue marker corresponding to the tissue marker image;
the determining module is further used for determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information;
the sending module is used for sending the wireless network identifier and the wireless network key to the mobile terminal; and the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the wireless network connection method.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the wireless network connection method.
According to the wireless network connection method, the wireless network connection device, the computer readable storage medium and the computer equipment, the organization mark image and the user environment information are obtained, the organization mark corresponding to the organization mark image is determined, the wireless network mark and the wireless network key corresponding to the organization mark are determined according to the user environment information, and the wireless network mark and the wireless network key are issued to the mobile terminal, so that the mobile terminal is connected with a wireless network according to the wireless network mark and the wireless network key. Therefore, the wireless network identification and the wireless network key can be determined by organizing the mark image and the user environment information, and are issued to the mobile terminal for wireless network connection. The wireless network of the corresponding organization can be connected without selecting the wireless network identification to be connected by the user or manually inputting the wireless network key by the user, so that the connection of the wireless network becomes more convenient, and the connection efficiency of the wireless network is greatly improved.
Drawings
FIG. 1 is a diagram of an exemplary wireless network connection method;
FIG. 2 is a flow diagram illustrating a method for wireless network connectivity in one embodiment;
fig. 3 is a schematic flowchart of determining a wireless network identifier and a wireless network key corresponding to an organization identifier according to an organization identifier image and user environment information in an embodiment;
FIG. 4 is a schematic flow chart illustrating the steps for obtaining an image of a tissue marker in one embodiment;
FIG. 5 is a diagram illustrating an embodiment of a mobile terminal scanning a target including a tissue landmark pattern via a camera;
FIG. 6 is a flowchart illustrating the steps of image quality assessment of tissue marker images in one embodiment;
FIG. 7 is a flow diagram illustrating a method for wireless network connectivity in an embodiment;
FIG. 8 is a flow diagram illustrating a wireless network connection in one embodiment;
FIG. 9 is a flow diagram of wireless network connectivity in one embodiment;
FIG. 10 is an architecture diagram of a wireless network connection in one embodiment;
FIG. 11 is a block diagram of a wireless networking device in one embodiment;
FIG. 12 is a block diagram of a wireless networking device in another embodiment;
FIG. 13 is a block diagram of a wireless networking device in one embodiment;
FIG. 14 is a block diagram of a wireless networking device in another embodiment;
FIG. 15 is a block diagram showing the configuration of a computer device according to one embodiment;
FIG. 16 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram of an application environment of a wireless network connection method according to an embodiment. Referring to fig. 1, the wireless network connection method is applied to a wireless network connection system. The wireless networking system includes a mobile terminal 110 and a server 120. The mobile terminal 110 and the server 120 are connected through a network. The mobile terminal 110 may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
As shown in fig. 2, in one embodiment, a wireless network connection method is provided. The embodiment is mainly illustrated by applying the method to the mobile terminal 110 in fig. 1. Referring to fig. 2, the wireless network connection method specifically includes the following steps:
s202, obtaining a tissue marker image, wherein the tissue marker image is used for determining a corresponding tissue identifier.
Wherein the tissue marker image is an image comprising a tissue marker pattern for identifying the corresponding tissue. The organization may specifically include a profit organization and a non-profit organization. Wherein, the profit organization, such as a business, a shop or a subway group; non-profit organizations, such as public welfare organizations, families or classes, and the like. The tissue mark pattern is a medium for transmitting tissue comprehensive information, and plays a role in identifying and popularizing corresponding tissues through a visual information expression mode. The structure mark pattern may also be called a trademark, logo or logo, and may specifically be a pattern formed by graphics, a pattern formed by characters, or a pattern formed by both graphics and characters. The organization identifier is used for uniquely identifying the organization, and specifically can be at least one of numbers, letters, symbols, Chinese characters and the like.
Specifically, the mobile terminal may obtain the tissue marker image, and locally recognize the tissue marker image to obtain the tissue marker corresponding to the tissue marker image. Or, the mobile terminal may also send the obtained tissue marker image to other computer devices through a communication mode such as USB (Universal Serial Bus) interface connection or network connection, and identify the tissue marker image through the other computer devices to obtain and return the tissue marker.
In one embodiment, the mobile terminal can acquire the use authority of the camera, scan a target comprising a tissue mark pattern through the camera, and acquire an image frame under the current visual field of the camera. And generating a tissue landmark image from the acquired image frames. The camera may be a camera built in the mobile terminal, or an external camera associated with the mobile terminal. The camera may be a monocular camera, a binocular camera, or an RGB-D (Red-Green-Blue-Deep) camera, etc.
In one embodiment, the mobile terminal may pre-store the tissue landmark image locally, and when the tissue landmark image is needed, the corresponding tissue landmark image may be called. Alternatively, the mobile terminal may send the tissue marker image acquisition command to acquire the tissue marker image from another computer device through a communication method such as USB interface connection or network connection.
And S204, collecting the current user environment information.
The user environment information is information related to an environment, and specifically may be geographical location information located by a mobile terminal held by the user, such as a GPS (Global Positioning System) coordinate and a longitude and latitude. The user environment information may also be surrounding environment information of the location of the user, for example, Point of Interest (POI) information around the location of the user, or wireless network information that can be searched by the mobile terminal at the current location, and the like.
In one embodiment, the mobile terminal may locate the current mobile terminal through a built-in location sensor or a GPS chip and obtain current location information. Among them, a positioning sensor such as an IMU (Inertial Measurement Unit) or a odometer, etc.
In one embodiment, the mobile terminal may obtain POI information around the current location point from the POI database according to the current positioning information. Wherein, the POI database can be established by collecting data in advance. In the geographic information system, a POI may be a house, a shop, a mailbox, a bus station, or the like. The POI information is information such as a name and a geographical position of a target included in the POI. When the POI is a business enterprise such as a shop, the POI information may further include information such as a contact address (e.g., a telephone number or an address zip code) of the shop, a wireless network identifier, a business time period, and a category of a transaction product.
In one embodiment, the mobile terminal may search for a wireless network signal around the mobile terminal through a wireless network application, and obtain information such as a corresponding wireless network identifier and a Media Access Control (MAC) address of the router. That is, a Wireless-Fidelity (WiFi-Fidelity, Wireless network) list of the current mobile terminal is obtained, where the WiFi list includes ssid (Service Set Identifier) and bssid (Basic Service Set) information of each WiFi.
S206, according to the organization mark image and the user environment information, determining a wireless network identifier and a wireless network key corresponding to the organization identifier.
The wireless network identifier is used for identifying a wireless network, and may be at least one of numbers, letters, symbols, or characters. In one embodiment, the wireless network identification is a WiFi name. The wireless network key is a network security key for connecting a corresponding wireless network, and may specifically include numbers, letters, symbols, and the like. In one embodiment, the wireless network key is a WiFi password.
Specifically, the mobile terminal may determine a current wireless network identifier corresponding to the organization identifier and a wireless network key for connecting to a corresponding wireless network according to the organization identifier image and the user environment information.
In one embodiment, the mobile terminal may locally determine the tissue identifier corresponding to the tissue identifier pattern, and may also send the tissue identifier pattern to a server through a network connection or the like, and identify the tissue identifier through the server. The mobile terminal or the server may determine the tissue identifier corresponding to the tissue marker image through an OCR (Optical Character Recognition) Recognition and/or a LOGO Recognition mode. Alternatively, the mobile terminal or the server may further determine the tissue identifier corresponding to the tissue marker image through an image recognition model.
For example, when the tissue mark image includes a "union monster" pattern (refer to fig. 5), the mobile terminal or the server may recognize the tissue mark image as a logo pattern of starbucks, and thus may determine that the corresponding tissue mark is "starbucks".
In one embodiment, after determining the organization identifier corresponding to the organization identifier pattern, the mobile terminal may determine the wireless network identifier and the wireless network key corresponding to the organization identifier through the collected user environment information. Or, the mobile terminal may send the user environment information to the server, so that the server determines the wireless network identifier and the wireless network key corresponding to the organization identifier according to the organization identifier and the user environment information.
In one embodiment, the mobile terminal or the server may determine the wireless network identifier corresponding to the organization identifier according to current user environment information, such as positioning information or POI information. And then the corresponding wireless network key is searched from the wireless network library through the wireless network identifier.
In one embodiment, when the current user environment information acquired by the mobile terminal or the server is a wireless network identifier set, that is, a WiFi list, a POI list corresponding to the WiFi list may be determined according to the POI database. And then, POI corresponding to the organization identification is screened out from the POI list, and then a corresponding WiFi name is determined. And finding the corresponding wireless network key from the WiFi library (namely the wireless network library) according to the WiFi name.
In one embodiment, step S206 includes: sending the organization mark image and the user environment information to a server, wherein the organization mark image and the user environment information are used for indicating the server to determine an organization identifier corresponding to the organization mark image, and determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information; and receiving the wireless network identification and the wireless network key which are fed back by the server and correspond to the organization identification.
In one embodiment, the user environment information includes a set of radio network identifications corresponding to radio networks to which the mobile terminal is currently connectable. The mobile terminal may transmit the tissue landmark image and the user environment information to the server. The server determines the tissue identification corresponding to the tissue marker image through a pre-trained image recognition model.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a process of determining a wireless network identifier and a wireless network key corresponding to an organization identifier according to an organization identifier image and user environment information in an embodiment. The server can obtain a point of interest mother set, wherein the point of interest mother set may also be referred to as a POI database, and includes an organization identifier mother set and a wireless network identifier mother set composed of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set. The server may determine a subset of points of interest (i.e., a list of POIs) from the mother set of points of interest that corresponds to the acquired set of wireless network identifications (i.e., a WiFi list) and look up the organization identification from the subset of points of interest. After the organization identifier is found, that is, the corresponding POI is determined, the wireless network identifier corresponding to the organization identifier is determined according to the information of the POI.
Further, the server may obtain the wireless network identifier and the wireless network key from the WiFi library according to the ssid and the bssid of the wireless network. And the ssid and the bssid of the wireless network are uploaded to the server together when the mobile terminal uploads the user environment information. The server may feed back the determined radio network identifier and the radio network key to the mobile terminal.
In one embodiment, the user environment information includes current location information of the mobile terminal. The mobile terminal may transmit the tissue landmark image and the user environment information to the server. The server determines a tissue identifier corresponding to the tissue landmark image. The server can search the wireless network identification corresponding to the organization identification at the positioning position from a database or network information. And finding out the corresponding wireless network key from the WiFi library according to the wireless network identifier.
In the above embodiment, the organization identifier image and the user environment information are sent to the server, so that the server determines the organization identifier corresponding to the organization identifier image, and determines the wireless network identifier and the wireless network key corresponding to the organization identifier according to the user environment information, which not only greatly reduces the processing load of the mobile terminal, but also quickly and accurately determines the wireless network identifier and the wireless network key corresponding to the organization identifier, thereby further improving the connection efficiency of the wireless network.
And S208, connecting the wireless network according to the wireless network identifier and the wireless network key.
Specifically, after the mobile terminal determines the wireless network identifier and the wireless network key corresponding to the organization identifier, the mobile terminal can directly and automatically analyze the wireless network identifier and the wireless network key and send a connection request of a wireless network to perform wireless network connection.
In one embodiment, after the mobile terminal determines the wireless network identifier and the wireless network key corresponding to the organization identifier, the corresponding wireless network identifier and the wireless network key can be displayed through the mobile terminal. After seeing the displayed wireless network identification and wireless network key, the user can manually trigger the connection of the corresponding wireless network.
In one embodiment, step S208 includes: analyzing the wireless network identification and the wireless network key to obtain an analysis result; determining the category of the wireless network identified by the wireless network identifier according to the analysis result; and automatically performing wireless network connection according to the corresponding category.
Wherein the category to which the wireless network belongs is the type of the current wireless network. The category to which the wireless network belongs specifically includes any one of a private wireless network, a cooperative wireless network, an authenticated wireless network, and an open wireless network. The authentication wireless network refers to a network which can be connected with the wireless network only through an authentication interface.
Specifically, after the mobile terminal determines the wireless network identifier and the wireless network key corresponding to the organization identifier, the mobile terminal may analyze the wireless network identifier and the wireless network key to obtain the description information of the wireless network. And determining the category to which the wireless network belongs through the description information. The mobile terminal can select a connector corresponding to the category to perform wireless network connection in the process of connecting the wireless network. Therefore, wireless network connection is carried out according to the connection mode corresponding to the category to which the wireless network belongs, and the wireless network connection can be rapidly realized.
According to the wireless network connection method, the organization mark image and the current user environment information are obtained, wherein the organization mark image is used for determining the corresponding organization identification. And determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information, and connecting the wireless network according to the determined wireless network identifier and the wireless network key. Therefore, the wireless network identification to be connected is not required to be selected by the user, the wireless network key is not required to be manually input by the user, and the wireless network of the corresponding organization can be connected only by acquiring the organization mark image and the current user environment information, so that the connection of the wireless network is more convenient, and the connection efficiency of the wireless network is greatly improved.
In one embodiment, step S202, namely the step of acquiring the tissue marker image, specifically comprises the following steps:
s402, displaying an image acquisition entrance.
The image acquisition entrance is used for triggering the entrance of the image acquisition instruction. The image capture entry may specifically be a virtual button or a physical key. Specifically, the mobile terminal can display a virtual image acquisition inlet through an application program running on the mobile terminal; or the mobile terminal displays an entity key for triggering the image acquisition instruction.
In one embodiment, the mobile terminal runs an operating system and runs wireless network housekeeping software on the operating system, and the mobile terminal displays the image acquisition entry through the wireless network housekeeping software. An Operating System (OS) is a computer program for managing and controlling hardware and software resources of a terminal, and is the most basic System software directly running on a bare computer of the terminal, and session software needs to run under the support of the Operating System. The operating system may be a mobile operating system such as an ios (apple mobile terminal operating system) or an Android (Android) operating system.
S404, receiving an opening instruction aiming at the image acquisition entrance.
Specifically, the mobile device may receive an opening instruction for the image acquisition entry triggered by the trigger operation, and call the camera of the mobile terminal according to the opening instruction. The triggering operation may be specifically a touch operation, a cursor operation, a key operation, or a voice operation. The touch operation can be touch click operation, touch press operation or touch slide operation, and the touch operation can be single-point touch operation or multi-point touch operation; the cursor operation can be an operation of controlling a cursor to click or an operation of controlling the cursor to press; the key operation may be a virtual key operation or a physical key operation, etc.
S406, scanning the target comprising the tissue mark pattern according to the opening instruction to obtain an image frame.
Specifically, after receiving an opening instruction for an image acquisition entry, the mobile terminal initiates a camera use permission, and after obtaining the camera use permission, the mobile terminal can scan a target including an organization mark pattern through the camera to obtain an image frame. The target including the tissue mark pattern may specifically be an image including the tissue mark pattern, a physical object, a virtual article, or the like.
Referring to fig. 5, fig. 5 is a schematic view showing a scene in which a mobile terminal scans an object including a tissue marker pattern through a camera in one embodiment. The user can trigger an opening instruction aiming at the image acquisition inlet through an application program running in the mobile terminal, and a camera of the mobile terminal is called to scan the paper cup containing the tissue mark pattern. Wherein, referring to fig. 5, the tissue landmark pattern in fig. 5 is a logo pattern of starbucks. And the mobile terminal generates a tissue marker image according to the information acquired by the camera.
And S408, when the image frame meets the imaging condition, generating a tissue marker image according to the image frame.
Specifically, the mobile terminal can detect the imaging condition of the acquired image frame in real time or at regular time, and when the image frame meets the imaging condition, the mobile terminal can convert the image frame acquired by the current camera into an image to obtain an organization mark image. The imaging condition may specifically be that the definition of the image frame reaches a definition threshold, the brightness value of the image frame reaches a brightness threshold, or the area occupied by the tissue marker pattern in the image frame exceeds a threshold, and the like.
In the above embodiment, the target including the tissue marker pattern is scanned by receiving the opening instruction for the image capturing portal, and the image frame is obtained. When the image frame satisfies the imaging condition, a tissue landmark image is generated from the image frame. Therefore, when wireless network connection is needed, the target including the organization mark pattern can be directly scanned, and the wireless network is intelligently connected, so that the connection efficiency of the wireless network is greatly improved.
In one embodiment, the wireless network connection method is applied to a mobile terminal, and the step S408, that is, when the image frame satisfies the imaging condition, the step of generating the tissue marker image according to the image frame specifically includes: when the mobile terminal is in a static state, detecting the light intensity around the mobile terminal; when the light intensity reaches a light intensity threshold value, detecting the definition of the tissue mark pattern in the image frame; and when the definition reaches a definition threshold value, generating a tissue marker image according to the image frame.
Specifically, the mobile terminal may recognize the gesture and motion state of the mobile terminal by invoking a local acceleration sensor. When the mobile terminal is in a moving state, it may be a process in which the user is still searching for a scan target, and it is not suitable for imaging. When it is determined that the mobile terminal is in a stationary state by the acceleration sensor, it may be determined that the user is scanning the object including the tissue marker pattern at this time.
Further, when it is determined by the acceleration sensor that the mobile terminal is in a stationary state, the mobile terminal may detect the intensity of light around the mobile terminal by the light sensor. In this embodiment, a light sensor is used to detect whether the information captured by the current camera needs to be converted into a tissue marker image. If the measured light intensity does not reach the light intensity threshold, the image frame is not converted into the tissue marker image.
In one embodiment, when the light intensity does not reach the light intensity threshold, the mobile terminal may invoke an illumination device of the mobile terminal through an Application Programming Interface (API), and the light intensity of the environment where the mobile terminal is located is enhanced by the illumination device.
Further, when the mobile terminal detects that the light intensity around the mobile terminal reaches the light intensity threshold, the mobile terminal may detect the definition of the image frame collected by the camera or the definition of the tissue marking pattern in the image frame. The sharpness of the detected image may also be regarded as the blur of the detected image, and may be calculated specifically by an EAV point sharpness algorithm, Brenner gradient function, a quadratic blur sharpness algorithm, Sobel (Sobel) operator, laplacian operator, or the like.
When the mobile terminal is in a static state, the light intensity around the mobile terminal reaches a light intensity threshold value, and the definition of the tissue mark pattern in the image frame reaches a definition threshold value, the mobile terminal converts the image frame acquired by the current camera into a tissue mark image.
In the above embodiment, when the mobile terminal is in a stationary state, the light intensity around the mobile terminal reaches the light intensity threshold, and the definition of the tissue marker pattern in the image frame reaches the definition threshold, the tissue marker image is generated according to the image frame, so that the image quality of the tissue marker image can be ensured, and the accuracy of subsequent identification of the tissue marker is improved.
In one embodiment, before the step of detecting the intensity of light around the mobile terminal when the mobile terminal is in a stationary state, the wireless network connection method further includes: detecting real-time displacement of the mobile terminal; when the real-time displacement is smaller than the preset displacement, respectively acquiring image frames at the previous moment and the current moment; and when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state.
Specifically, the mobile terminal may recognize the gesture and motion state of the mobile terminal by invoking a local acceleration sensor. The mobile terminal may detect a real-time displacement of the mobile terminal by comparing positions of the mobile terminal at a previous time and a current time. When the real-time displacement of the mobile terminal is smaller than the preset displacement, the fact that the mobile terminal at the current moment is not moved greatly can be judged.
Further, the mobile terminal may obtain image frames respectively acquired by the cameras at the previous time and the current time. And when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state. The image similarity condition may specifically be that the similarity of the images reaches a preset threshold, or the similarity of the targets in the images reaches a preset threshold, or the like.
In one embodiment, the mobile terminal may sequentially compare the difference condition of each pixel in the image frame at the previous time and the image frame at the current time, and calculate the similarity between the image frames according to the difference condition of each pixel. Or, the mobile terminal may further select a pixel set at the same position in the image frame at the previous time and the image frame at the current time, compare whether the selected pixel sets are similar, and further determine whether the image frame at the previous time and the image frame at the current time satisfy the image similarity condition.
In the above embodiment, when the real-time displacement of the mobile terminal is smaller than the preset threshold and the image frames at the previous time and the current time meet the image similarity condition, it is indicated that the user does not move the camera in the process of scanning the target at this time, and it can be accurately and quickly determined that the current mobile terminal is in the stationary state.
In one embodiment, before step S206, that is, before the step of determining the wireless network identifier and the wireless network key corresponding to the tissue identifier according to the tissue identifier image and the user environment information, the wireless network connection method further includes the following steps: carrying out image quality evaluation on the tissue marker image; when the image quality of the tissue marker image meets a preset quality condition, performing image compression processing on the tissue marker image to obtain a compressed tissue marker image; step S206, that is, the step of determining the wireless network identifier and the wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information includes: and determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the compressed organization identifier image and the user environment information.
Specifically, the mobile terminal may perform quality evaluation on the generated tissue marker image through a local or other computer device, and perform image compression processing on the tissue marker image when the image quality of the tissue marker image meets a preset quality condition, so as to obtain a compressed tissue marker image. And then according to the compressed organization mark image and the user environment information, determining a wireless network identifier and a wireless network key corresponding to the organization identifier.
The quality evaluation of the generated tissue marker image may specifically be to evaluate the blur degree of the tissue marker image, evaluate the image brightness of the tissue marker image, or evaluate the area ratio of the tissue marker pattern in the tissue marker image. Correspondingly, the preset quality condition may specifically be that the blurring degree of the tissue marker image is smaller than a preset threshold, the image brightness of the tissue marker image reaches a brightness threshold, or the area proportion of the tissue marker pattern in the tissue marker image reaches a preset proportion.
In one embodiment, the step of performing image quality evaluation on the tissue marker image specifically includes:
s602, acquiring the brightness value of each pixel in the tissue marker image.
The luminance value is a value indicating a bright state of the pixel, the luminance value of the pixel is between 0 and 255, the luminance of the pixel having a luminance value close to 255 is high, and the luminance of the pixel having a luminance value close to 0 is low. Specifically, the mobile terminal may detect the brightness value of each pixel in the tissue marker image.
S604, an average luminance value of the tissue marker image is calculated from the luminance value of each pixel.
Specifically, the mobile terminal may calculate the average brightness value of the tissue marker image according to the average value Y of the brightness values of the three channels R, G, B of each pixel in the tissue marker image, and then according to the average value Y of each pixel.
S606, detecting the fuzziness of the tissue marker image.
Specifically, the mobile terminal may detect the ambiguity of the tissue marker image. The sharpness of the detected image may also be regarded as the blur of the detected image, and may be calculated specifically by an EAV point sharpness algorithm, a Brenner gradient function, a quadratic blur sharpness algorithm, a Sobel operator, or a laplacian operator.
S608, when the average brightness value reaches the brightness threshold and the ambiguity is less than the ambiguity threshold, determining that the image quality of the tissue marker image satisfies the predetermined quality condition.
Specifically, when the average brightness value of the tissue marker image reaches the brightness threshold and the ambiguity is less than the ambiguity threshold, it is determined that the image quality of the tissue marker image satisfies the preset quality condition.
In the above embodiment, when the average brightness value of the tissue marker image reaches the brightness threshold and the ambiguity is smaller than the ambiguity threshold, it can be said that the generated high-quality image of the tissue marker image is generated, and the subsequent identification capability of the tissue marker in the tissue marker image can be greatly improved.
In an embodiment, the mobile terminal may perform image compression processing on the tissue marker image meeting the preset quality condition, specifically, at least one of the following manners: size compression is performed on the tissue marker image according to a preset size, graying processing is performed on the tissue marker image, data stream compression is performed on the tissue marker image, and the like.
In one embodiment, the mobile terminal may send the compressed tissue marker image to the server, and determine, by the server, the wireless network identifier and the wireless network key corresponding to the tissue identifier. Therefore, the high-quality tissue marker image is compressed, the quality of the image can be guaranteed, resources occupied by the image in the transmission process can be reduced, and the image transmission rate can be improved.
In the above embodiment, when the image quality of the tissue marker image satisfies the preset quality condition, the image compression processing is performed on the tissue marker image to obtain a compressed tissue marker image. And determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the compressed organization identifier image and the user environment information. Therefore, when the tissue marker image is identified, the quality of the tissue marker image can be guaranteed, the processing data can be reduced, and the efficiency of wireless network connection is further improved.
In a specific embodiment, referring to fig. 7, the wireless network connection method includes the following steps:
s702, displaying an image acquisition entry.
S704, receiving an opening instruction for an image acquisition entrance.
S706, scanning the target comprising the tissue mark pattern according to the starting instruction to obtain an image frame.
And S708, detecting the real-time displacement of the mobile terminal.
And S710, when the real-time displacement is smaller than the preset displacement, respectively acquiring the image frames at the previous moment and the current moment.
And S712, when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state.
And S714, detecting the light intensity around the mobile terminal when the mobile terminal is in a static state.
S716, when the light intensity reaches the light intensity threshold value, the definition of the tissue mark pattern in the image frame is detected.
And S718, when the definition reaches a definition threshold, generating a tissue marker image according to the image frame, wherein the tissue marker image is used for determining a corresponding tissue identifier.
S720, collecting the current user environment information.
S722, the brightness value of each pixel in the tissue marker image is acquired.
S724, calculating an average brightness value of the tissue marker image according to the brightness value of each pixel.
S726, detecting the fuzziness of the tissue marker image.
And S728, when the average brightness value reaches the brightness threshold value and the ambiguity is less than the ambiguity threshold value, determining that the image quality of the tissue marker image meets the preset quality condition.
And S730, when the image quality of the tissue marker image meets a preset quality condition, performing image compression processing on the tissue marker image to obtain a compressed tissue marker image.
And S732, sending the compressed tissue marker image and the user environment information to a server, wherein the compressed tissue marker image and the user environment information are used for indicating the server to determine a tissue identifier corresponding to the tissue marker image, and determining a wireless network identifier and a wireless network key corresponding to the tissue identifier according to the user environment information.
S734, receiving the wireless network identifier and the wireless network key corresponding to the organization identifier fed back by the server.
S736, the wireless network identifier and the wireless network key are analyzed to obtain an analysis result.
S738, the category of the wireless network identified by the wireless network identification is determined according to the analysis result.
And S740, automatically performing wireless network connection according to the corresponding category.
According to the wireless network connection method, the organization mark image and the current user environment information are obtained, wherein the organization mark image is used for determining the corresponding organization identification. And determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information, and connecting the wireless network according to the determined wireless network identifier and the wireless network key. Therefore, the wireless network identification to be connected is not required to be selected by the user, the wireless network key is not required to be manually input by the user, and the wireless network of the corresponding organization can be connected only by acquiring the organization mark image and the current user environment information, so that the connection of the wireless network is more convenient, and the connection efficiency of the wireless network is greatly improved.
Fig. 7 is a flow diagram illustrating a method for wireless network connectivity in one embodiment. It should be understood that, although the steps in the flowchart of fig. 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
As shown in fig. 8, in one embodiment, a wireless network connection method is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 8, the wireless network connection method specifically includes the following steps:
s802, obtaining the tissue marker image and the user environment information.
Wherein the tissue marker image is an image comprising a tissue marker pattern for identifying the corresponding tissue. The structure mark pattern may also be called a trademark, logo or logo, and may specifically be a pattern formed by graphics, a pattern formed by characters, or a pattern formed by both graphics and characters. The organization identifier is used for uniquely identifying the organization, and specifically can be at least one of numbers, letters, symbols, Chinese characters and the like.
The user environment information is information related to the environment, and specifically may be geographical location information, such as GPS coordinates or longitude and latitude, where the mobile terminal held by the user is located. The user environment information may also be surrounding environment information of the location of the user, such as POI information around the location of the user, or wireless network information that can be searched by the mobile terminal at the current location.
Specifically, the server may receive the tissue mark image and the user environment information transmitted from the mobile terminal. The mobile terminal can simultaneously send the organization mark image and the user environment information, and can also asynchronously send the organization mark image and the user environment information to the server according to the actual situation.
In one embodiment, the mobile terminal may acquire the tissue marker image through a camera, or may directly acquire the tissue marker image stored in the mobile terminal. Step S202 may be referred to as a detailed step of acquiring the tissue marker image by the mobile terminal, which is not described herein again.
In one embodiment, the mobile terminal may collect current user environment information and transmit the user environment information to the server. Step S204 may be referred to as a detailed step of the mobile terminal acquiring the current user environment information, which is not described herein again.
S804, determining the tissue identification corresponding to the tissue marker image.
Specifically, after acquiring the tissue marker image, the server may determine the tissue identifier corresponding to the tissue marker image through OCR recognition and/or LOGO recognition. Alternatively, the server may also determine a tissue identifier corresponding to the tissue marker image via an image recognition model.
S806, according to the user environment information, determining the wireless network identification and the wireless network key corresponding to the organization identification.
Specifically, after the server determines the organization identifier corresponding to the organization identifier pattern, the server may determine the wireless network identifier and the wireless network key corresponding to the organization identifier through the acquired user environment information.
In one embodiment, the server may determine a wireless network identification corresponding to the organization identification based on current user context information, such as location information or POI information. And then the corresponding wireless network key is searched from the wireless network library through the wireless network identifier.
In one embodiment, the user environment information includes current location information of the mobile terminal. The mobile terminal may send the tissue landmark image and the current location information to the server. The server determines a tissue identifier corresponding to the tissue landmark image. The server can search the wireless network identification corresponding to the organization identification at the positioning position from a database or network information. And the server searches the corresponding wireless network key from the WiFi library according to the wireless network identifier.
In one embodiment, the user environment information includes a set of radio network identifications corresponding to radio networks to which the mobile terminal is currently connectable. Step S806, namely, the step of determining the wireless network identifier and the wireless network key corresponding to the organization identifier according to the user environment information includes: acquiring a master set of interest points; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set; determining a point of interest subset corresponding to the acquired wireless network identification set from the point of interest mother set; searching an organization identifier from the interest point subset; after the organization identification is found, determining a wireless network identification corresponding to the organization identification; and determining a wireless network key corresponding to the wireless network identification.
The POI master set is a POI master set and comprises an organization identifier master set and a wireless network identifier master set formed by wireless network identifiers corresponding to all organization identifiers in the organization identifier master set. Specifically, the server may determine a subset of points of interest from the mother set of points of interest that corresponds to the acquired set of wireless network identifiers, and search for the organization identifier from the subset of points of interest. After the organization identifier is found, that is, the corresponding POI is determined, the wireless network identifier corresponding to the organization identifier is determined according to the information of the POI.
Further, the server may obtain the wireless network identifier and the wireless network key from the WiFi library according to the ssid and the bssid of the wireless network. And the ssid and the bssid of the wireless network are uploaded to the server together when the mobile terminal uploads the user environment information. The server may feed back the determined radio network identifier and the radio network key to the mobile terminal. Therefore, the server can quickly and accurately determine the wireless network identification and the wireless network key corresponding to the organization identification according to the interest point master set.
S808, the wireless network identification and the wireless network key are issued to the mobile terminal; the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
Specifically, the server feeds back the wireless network identifier and the wireless network key to the terminal. In one embodiment, the server further feeds back information such as a network description corresponding to the wireless network and a category to which the wireless network belongs to the mobile terminal. The mobile terminal can automatically carry out wireless network connection according to the wireless network identifier and the wireless network key. The detailed steps of the mobile terminal connecting to the wireless network according to the wireless network identifier and the wireless network key may refer to the description of step S208, which is not described herein again.
In a particular application scenario, referring to fig. 9 and 10, fig. 9 illustrates a flow diagram of a wireless network connection in one embodiment; FIG. 10 illustrates an architecture diagram of a wireless network connection in one embodiment. As shown in fig. 9, a user may capture an image including a store logo through a mobile terminal, and collect user environment information through the mobile terminal. With reference to fig. 10, it can be understood that, when the mobile terminal performs image capture, the following steps are specifically performed: and performing mobile evaluation on the mobile terminal, and generating a tissue marker image according to the image frame acquired by the mobile terminal when the mobile terminal is in a static state. The generated tissue marker images are subjected to quality assessment and preprocessing (such as image compression processing).
Further, referring to fig. 9, the mobile terminal sends the captured image and the user environment information to the cloud (i.e., the remote server) through the data reporting module, and the cloud identifies the image through an image identification model (i.e., a big data AI engine, including an OCR identification engine and a LOGO identification engine) to determine a corresponding name of the store. And after the shop name is determined, the cloud end performs WiFi list matching, searches the WiFi name corresponding to the shop name, searches the corresponding WiFi password from the WiFi library and sends the WiFi password to the mobile terminal.
With reference to fig. 10, the mobile terminal receives the WiFi name and the WiFi password fed back by the cloud through the cloud control issuing module, and performs SSID analysis and password analysis through the resolver. The cloud control issuing module is a module for receiving data issued by a server (namely a cloud). In this embodiment, the cloud control issuing module is mainly used to receive information such as a wireless network identifier and a wireless network key fed back by the server. The mobile terminal initiates WiFi connection through the configuration assembling device and the connection agent device in the connector, and listens an event monitor to monitor the WiFi connection state. The mobile terminal can also feed back the connection result to a feedback system of the cloud end through a feedback module so as to assist in training of the image recognition model and adjustment of model parameters. The cloud and the mobile terminal can adopt corresponding data encryption and decoding modes during data communication.
The wireless network connection method comprises the steps of obtaining an organization mark image and user environment information, determining an organization mark corresponding to the organization mark image, determining a wireless network mark and a wireless network key corresponding to the organization mark according to the user environment information, and sending the wireless network mark and the wireless network key to the mobile terminal, so that the mobile terminal is connected with a wireless network according to the wireless network mark and the wireless network key. Therefore, the wireless network identification and the wireless network key can be determined by organizing the mark image and the user environment information, and are issued to the mobile terminal for wireless network connection. The wireless network of the corresponding organization can be connected without selecting the wireless network identification to be connected by the user or manually inputting the wireless network key by the user, so that the connection of the wireless network becomes more convenient, and the connection efficiency of the wireless network is greatly improved.
In one embodiment, the step S804 of determining the tissue identifier corresponding to the tissue marker image includes: and determining the tissue identification corresponding to the tissue marker image through the image recognition model.
The image recognition model is obtained by training through the following method: acquiring a sample image including a tissue landmark pattern; labeling the sample image to obtain a sample tissue identifier corresponding to the sample image; inputting the sample image into an image recognition model to obtain an intermediate classification result; and adjusting model parameters of the image recognition model according to the difference between the intermediate classification result and the sample tissue identification, and continuing training until the training stopping condition is met.
Specifically, the server can obtain a sample image including a tissue mark pattern from a network, and then label the image in a manual labeling and machine labeling manner to obtain a sample tissue identifier corresponding to the sample image. And inputting the sample image into the image recognition model to obtain an intermediate classification result. The intermediate classification result is a classification result output by the image recognition model after the sample image is input to the image recognition model in the training process.
Further, the machine recognition model can adjust model parameters of the image recognition model according to the difference between the intermediate classification result and the sample tissue identification, and continue training until the training stopping condition is met. Wherein the training stop condition is a condition for ending the model training. The training stopping condition may be that a preset number of iterations is reached, or that the classification performance index of the machine learning model after the model parameters are adjusted reaches a preset index.
In one embodiment, the server may compare the intermediate classification results to the differences in sample organization identification, thereby adjusting the model parameters of the machine learning model in a direction that reduces the differences. And if the training stopping condition is not met after the model parameters are adjusted, returning to the step of adjusting the model parameters of the image recognition model and continuing the training according to the difference between the intermediate classification result and the sample tissue identification, and continuing the training until the training stopping condition is met.
In one embodiment, the server may obtain the sample image from an image repository. The image library can be established in the following way: and acquiring corresponding images from the network, uploading the images after the staff go to the actual place of the shop, selecting the images uploaded to the server by the user, and the like.
In one embodiment, the server may pre-process the images in the image library to obtain a sample image of better quality that includes the tissue landmark pattern. The preprocessing includes, for example, filtering, selecting, or cropping the image. Therefore, the image quality of the sample image can be guaranteed, and the training efficiency and the recognition accuracy of the image recognition model are improved.
In the embodiment, the image recognition model is trained through the sample image comprising the tissue marker pattern and the corresponding sample tissue identification, and in the training process, the image recognition model with high accuracy of the tissue identification corresponding to the tissue marker image can be trained as soon as possible by adjusting the model parameters, so that the accuracy of image recognition is improved.
As shown in fig. 11, in one embodiment, a wireless networking apparatus 1100 is provided, comprising an acquisition module 1101, an acquisition module 1102, a determination module 1103, and a wireless networking module 1104.
An obtaining module 1101, configured to obtain a tissue marker image, where the tissue marker image is used to determine a corresponding tissue identifier.
The collection module 1102 is configured to collect current user environment information.
A determining module 1103, configured to determine, according to the organization identifier image and the user environment information, a wireless network identifier and a wireless network key corresponding to the organization identifier.
And a wireless network connection module 1104, configured to connect to a wireless network according to the wireless network identifier and the wireless network key.
In one embodiment, the determining module 1103 is further configured to send the tissue marker image and the user environment information to the server, where the tissue marker image and the user environment information are used to instruct the server to determine an tissue identifier corresponding to the tissue marker image, and determine a wireless network identifier and a wireless network key corresponding to the tissue identifier according to the user environment information; and receiving the wireless network identification and the wireless network key which are fed back by the server and correspond to the organization identification.
In one embodiment, the acquisition module 1101 is further configured to expose an image capture portal; receiving an opening instruction aiming at an image acquisition inlet; scanning a target comprising an organization mark pattern according to a starting instruction to obtain an image frame; when the image frame satisfies the imaging condition, a tissue landmark image is generated from the image frame.
In one embodiment, the obtaining module 1101 is further configured to detect the intensity of light around the mobile terminal when the mobile terminal is in a stationary state; when the light intensity reaches a light intensity threshold value, detecting the definition of the tissue mark pattern in the image frame; and when the definition reaches a definition threshold value, generating a tissue marker image according to the image frame.
In one embodiment, the obtaining module 1101 is further configured to detect a real-time displacement of the mobile terminal; when the real-time displacement is smaller than the preset displacement, respectively acquiring image frames at the previous moment and the current moment; and when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state.
In one embodiment, as shown in fig. 12, the wireless network connection device 1100 further comprises an image quality evaluation module 1105 and a compression module 1106.
An image quality assessment module 1105 for performing image quality assessment on the tissue marker images.
A compressing module 1106, configured to, when the image quality of the tissue marker image meets a preset quality condition, perform image compression processing on the tissue marker image to obtain a compressed tissue marker image.
The determining module 1103 is further configured to determine, according to the compressed tissue identification image and the user environment information, a wireless network identifier and a wireless network key corresponding to the tissue identifier.
In one embodiment, the image quality assessment module 1105 is further configured to obtain the brightness value of each pixel in the tissue marker image; calculating the average brightness value of the tissue marker image according to the brightness value of each pixel; detecting the fuzziness of the tissue marker image; and when the average brightness value reaches the brightness threshold value and the fuzziness is smaller than the fuzziness threshold value, judging that the image quality of the tissue marker image meets the preset quality condition.
In one embodiment, the wireless network connection module 1104 is further configured to analyze the wireless network identifier and the wireless network key to obtain an analysis result; determining the category of the wireless network identified by the wireless network identifier according to the analysis result; and automatically performing wireless network connection according to the corresponding category.
The wireless network connection device acquires the organization mark image and the current user environment information, wherein the organization mark image is used for determining the corresponding organization identifier. And determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information, and connecting the wireless network according to the determined wireless network identifier and the wireless network key. Therefore, the wireless network identification to be connected is not required to be selected by the user, the wireless network key is not required to be manually input by the user, and the wireless network of the corresponding organization can be connected only by acquiring the organization mark image and the current user environment information, so that the connection of the wireless network is more convenient, and the connection efficiency of the wireless network is greatly improved.
As shown in fig. 13, in one embodiment, a wireless networking apparatus 1300 is provided, comprising an obtaining module 1301, a determining module 1302, and a sending module 1303.
An obtaining module 1301, configured to obtain the tissue marker image and the user environment information.
A determining module 1302 for determining a tissue identifier corresponding to the tissue marker image.
The determining module 1302 is further configured to determine a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information.
A sending module 1303, configured to send the wireless network identifier and the wireless network key to the mobile terminal; the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
In one embodiment, the determining module 1302 is further configured to obtain a parent set of points of interest; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set; determining a point of interest subset corresponding to the acquired wireless network identification set from the point of interest mother set; searching an organization identifier from the interest point subset; after the organization identification is found, determining a wireless network identification corresponding to the organization identification; and determining a wireless network key corresponding to the wireless network identification.
In one embodiment, as shown in fig. 14, the wireless networking device 1300 further comprises a model training module 1304.
And the determining module is also used for determining the tissue identification corresponding to the tissue marker image through the image recognition model.
A model training module 1304 for obtaining a sample image comprising a tissue marker pattern; labeling the sample image to obtain a sample tissue identifier corresponding to the sample image; inputting the sample image into an image recognition model to obtain an intermediate classification result; and adjusting model parameters of the image recognition model according to the difference between the intermediate classification result and the sample tissue identification, and continuing training until the training stopping condition is met.
The wireless network connection device, the computer readable storage medium and the computer equipment acquire the organization mark image and the user environment information, determine the organization mark corresponding to the organization mark image, determine the wireless network mark and the wireless network key corresponding to the organization mark according to the user environment information, and send the wireless network mark and the wireless network key to the mobile terminal, so that the mobile terminal is connected with the wireless network according to the wireless network mark and the wireless network key. Therefore, the wireless network identification and the wireless network key can be determined by organizing the mark image and the user environment information, and are issued to the mobile terminal for wireless network connection. The wireless network of the corresponding organization can be connected without selecting the wireless network identification to be connected by the user or manually inputting the wireless network key by the user, so that the connection of the wireless network becomes more convenient, and the connection efficiency of the wireless network is greatly improved.
FIG. 15 is a diagram showing an internal structure of a computer device in one embodiment. The computer device may specifically be the mobile terminal 110 in fig. 1. As shown in fig. 15, the computer device includes a processor, a memory, a network interface, an image capturing device, and a display screen connected via a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the wireless network connection method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a wireless networking method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the image acquisition device of the computer equipment can be a camera and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the wireless network connection apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 15. The memory of the computer device may store various program modules constituting the wireless network connection apparatus, such as the acquisition module, the determination module and the wireless network connection module shown in fig. 11. The computer program constituted by the respective program modules causes the processor to execute the steps in the wireless network connection method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 15 may execute step S202 through the acquisition module in the wireless network connection device shown in fig. 11. The computer device may perform step S204 through the acquisition module. The computer device may perform step S206 by the determination module. The computer device may perform step S208 through the wireless network connection module.
FIG. 16 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the server 120 in fig. 1. As shown in fig. 16, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the wireless network connection method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a wireless networking method.
Those skilled in the art will appreciate that the architecture shown in fig. 16 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the wireless network connection apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 16. The memory of the computer device may store various program modules constituting the wireless network connection apparatus, such as the acquisition module, the determination module, and the transmission module shown in fig. 14. The computer program constituted by the respective program modules causes the processor to execute the steps in the wireless network connection method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 16 may execute step S802 through the acquisition module in the wireless network connection apparatus shown in fig. 13. The computer device may perform steps S804 and S806 through the determination module. The computer device may perform step S808 through the transmitting module.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the wireless network connection method described above. Here, the steps of the wireless network connection method may be steps of the wireless network connection method of the above-described embodiments.
In one embodiment, a computer readable storage medium is provided, storing a computer program that, when executed by a processor, causes the processor to perform the steps of the wireless network connection method described above. Here, the steps of the wireless network connection method may be steps of the wireless network connection method of the above-described embodiments.
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 non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as 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 application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (24)

1. A wireless network connection method, comprising:
acquiring a tissue marker image, wherein the tissue marker image is used for determining a corresponding tissue identifier;
collecting current user environment information; the user environment information comprises a wireless network identification set corresponding to a wireless network which the mobile terminal can be connected with currently;
determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information; the determined wireless network identification is a wireless network identification corresponding to the organization identification in a point of interest subset, and the point of interest subset is a subset which is screened from a point of interest mother set and corresponds to the wireless network identification set; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set;
and connecting the wireless network according to the wireless network identifier and the wireless network key.
2. The method of claim 1, wherein determining the wireless network identifier and the wireless network key corresponding to the tissue identifier according to the tissue identifier image and the user environment information comprises:
sending the organization mark image and the user environment information to a server, wherein the organization mark image and the user environment information are used for indicating the server to determine an organization identifier corresponding to the organization mark image, and determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information;
and receiving the wireless network identification and the wireless network key which are fed back by the server and correspond to the organization identification.
3. The method of claim 1, wherein said obtaining a tissue marker image comprises:
displaying an image acquisition entry;
receiving an opening instruction aiming at the image acquisition inlet;
scanning a target comprising a tissue marking pattern according to the starting instruction to obtain an image frame;
and when the image frame meets the imaging condition, generating a tissue marker image according to the image frame.
4. The method according to claim 3, wherein the method is applied to a mobile terminal, and the generating a tissue marker image from the image frame when the image frame satisfies an imaging condition comprises:
when the mobile terminal is in a static state, detecting the light intensity around the mobile terminal;
detecting the definition of the tissue marking pattern in the image frame when the light intensity reaches a light intensity threshold;
and when the definition reaches a definition threshold value, generating a tissue marker image according to the image frame.
5. The method according to claim 4, wherein before the step of detecting the intensity of light around the mobile terminal when the mobile terminal is in a stationary state, the method further comprises:
detecting real-time displacement of the mobile terminal;
when the real-time displacement is smaller than the preset displacement, respectively acquiring image frames at the previous moment and the current moment;
and when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state.
6. The method of claim 1, wherein before the step of determining the wireless network identifier and the wireless network key corresponding to the tissue identifier according to the tissue marker image and the user environment information, the method further comprises:
performing image quality assessment on the tissue marker images;
when the image quality of the tissue marker image meets a preset quality condition, carrying out image compression processing on the tissue marker image to obtain a compressed tissue marker image;
the determining the wireless network identifier and the wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information comprises:
and determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the compressed organization identifier image and the user environment information.
7. The method of claim 6, wherein said image quality assessment of said tissue marker image comprises:
acquiring the brightness value of each pixel in the tissue marker image;
calculating the average brightness value of the tissue marker image according to the brightness value of each pixel;
detecting the fuzziness of the tissue marker image;
and when the average brightness value reaches a brightness threshold value and the fuzziness is smaller than a fuzziness threshold value, judging that the image quality of the tissue marker image meets a preset quality condition.
8. The method according to any one of claims 1 to 7, wherein said connecting to the wireless network according to the wireless network identifier and the wireless network key comprises:
analyzing the wireless network identification and the wireless network key to obtain an analysis result;
determining the category of the wireless network identified by the wireless network identification according to the analysis result;
and automatically performing wireless network connection according to the corresponding category.
9. A wireless network connection method, comprising:
acquiring a tissue marker image and user environment information; the user environment information comprises a wireless network identification set corresponding to a wireless network which the mobile terminal can be connected with currently;
determining a tissue marker corresponding to the tissue marker image;
acquiring a master set of interest points; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set;
determining an interest point subset corresponding to the acquired wireless network identification set from the interest point master set, and determining a wireless network identification corresponding to the organization identification after the organization identification is searched from the interest point subset;
determining a wireless network key corresponding to the wireless network identifier;
the wireless network identification and the wireless network key are issued to a mobile terminal; and the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
10. The method of claim 9, wherein determining the radio network identifier corresponding to the organization identifier after finding the organization identifier from the subset of points of interest comprises:
searching the tissue identification from the interest point subset;
and after the organization identification is found, determining the wireless network identification corresponding to the organization identification.
11. The method of claim 9 or 10, wherein said determining a tissue identity corresponding to said tissue marker image comprises:
determining a tissue identifier corresponding to the tissue marker image through an image recognition model;
the image recognition model is obtained by training through the following method:
acquiring a sample image including a tissue landmark pattern;
labeling the sample image to obtain a sample tissue identifier corresponding to the sample image;
inputting the sample image into an image recognition model to obtain an intermediate classification result;
and adjusting model parameters of the image recognition model and continuing training according to the difference between the intermediate classification result and the sample tissue identification until the training stopping condition is met.
12. An apparatus for wireless networking, the apparatus comprising:
an acquisition module configured to acquire a tissue marker image, the tissue marker image being used to determine a corresponding tissue identifier;
the acquisition module is used for acquiring current user environment information; the user environment information comprises a wireless network identification set corresponding to a wireless network which the mobile terminal can be connected with currently;
the determining module is used for determining a wireless network identifier and a wireless network key corresponding to the organization identifier according to the organization identifier image and the user environment information; the determined wireless network identification is a wireless network identification corresponding to the organization identification in a point of interest subset, and the point of interest subset is a subset which is screened from a point of interest mother set and corresponds to the wireless network identification set; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set;
and the wireless network connection module is used for connecting a wireless network according to the wireless network identifier and the wireless network key.
13. The apparatus according to claim 12, wherein the determining module is further configured to send the tissue marker image and the user environment information to a server, where the tissue marker image and the user environment information are used to instruct the server to determine an organization identifier corresponding to the tissue marker image, and determine a wireless network identifier and a wireless network key corresponding to the organization identifier according to the user environment information; and receiving the wireless network identification and the wireless network key which are fed back by the server and correspond to the organization identification.
14. The apparatus of claim 12, wherein the obtaining module is further configured to display an image capture portal; receiving an opening instruction aiming at the image acquisition inlet; scanning a target comprising a tissue marking pattern according to the starting instruction to obtain an image frame; and when the image frame meets the imaging condition, generating a tissue marker image according to the image frame.
15. The apparatus according to claim 14, wherein the obtaining module is further configured to detect an intensity of light around the mobile terminal when the mobile terminal is in a stationary state; detecting the definition of the tissue marking pattern in the image frame when the light intensity reaches a light intensity threshold; and when the definition reaches a definition threshold value, generating a tissue marker image according to the image frame.
16. The apparatus of claim 13, wherein the obtaining module is further configured to detect a real-time displacement of the mobile terminal; when the real-time displacement is smaller than the preset displacement, respectively acquiring image frames at the previous moment and the current moment; and when the image frame at the current moment and the image frame at the current moment meet the image similarity condition, judging that the mobile terminal is in a static state.
17. The apparatus of claim 12, further comprising:
the image quality evaluation module is used for carrying out image quality evaluation on the tissue marker image;
the compression module is used for carrying out image compression processing on the tissue marker image to obtain a compressed tissue marker image when the image quality of the tissue marker image meets a preset quality condition;
the determining module is further configured to determine a wireless network identifier and a wireless network key corresponding to the organization identifier according to the compressed organization identifier image and the user environment information.
18. The apparatus according to claim 17, wherein the image quality evaluation module is further configured to obtain a brightness value of each pixel in the tissue marker image; calculating the average brightness value of the tissue marker image according to the brightness value of each pixel; detecting the fuzziness of the tissue marker image; and when the average brightness value reaches a brightness threshold value and the fuzziness is smaller than a fuzziness threshold value, judging that the image quality of the tissue marker image meets a preset quality condition.
19. The apparatus according to any one of claims 12 to 18, wherein the wireless network connection module is further configured to parse the wireless network identifier and the wireless network key to obtain a parsing result; determining the category of the wireless network identified by the wireless network identification according to the analysis result; and automatically performing wireless network connection according to the corresponding category.
20. An apparatus for wireless networking, the apparatus comprising:
the acquisition module is used for acquiring the tissue marker image and the user environment information; the user environment information comprises a wireless network identification set corresponding to a wireless network which the mobile terminal can be connected with currently;
a determining module for determining a tissue marker corresponding to the tissue marker image;
the determining module is further used for acquiring a parent set of the points of interest; the interest point mother set comprises an organization identifier mother set and a wireless network identifier mother set consisting of wireless network identifiers corresponding to the organization identifiers in the organization identifier mother set; determining an interest point subset corresponding to the acquired wireless network identification set from the interest point master set, and determining a wireless network identification corresponding to the organization identification after the organization identification is searched from the interest point subset; determining a wireless network key corresponding to the wireless network identifier;
the sending module is used for sending the wireless network identifier and the wireless network key to the mobile terminal; and the wireless network identifier and the wireless network key are used for indicating the mobile terminal to carry out wireless network connection.
21. The apparatus of claim 20, wherein the determining module is further configured to look up the tissue identifier from the subset of points of interest; and after the organization identification is found, determining the wireless network identification corresponding to the organization identification.
22. The apparatus of claim 20 or 21, further comprising a model training module, wherein:
the determining module is further configured to determine, through an image recognition model, a tissue identifier corresponding to the tissue marker image;
the model training module is used for acquiring a sample image comprising a tissue marker pattern; labeling the sample image to obtain a sample tissue identifier corresponding to the sample image; inputting the sample image into an image recognition model to obtain an intermediate classification result; and adjusting model parameters of the image recognition model and continuing training according to the difference between the intermediate classification result and the sample tissue identification until the training stopping condition is met.
23. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 11.
24. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 11.
CN201811124596.0A 2018-09-26 2018-09-26 Wireless network connection method, device, storage medium and computer equipment Active CN110958608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811124596.0A CN110958608B (en) 2018-09-26 2018-09-26 Wireless network connection method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811124596.0A CN110958608B (en) 2018-09-26 2018-09-26 Wireless network connection method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110958608A CN110958608A (en) 2020-04-03
CN110958608B true CN110958608B (en) 2022-02-18

Family

ID=69964563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811124596.0A Active CN110958608B (en) 2018-09-26 2018-09-26 Wireless network connection method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110958608B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711645B (en) * 2021-01-11 2022-05-10 腾讯科技(深圳)有限公司 Method and device for expanding position point information, storage medium and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8000276B2 (en) * 2007-02-05 2011-08-16 Wefi, Inc. Providing easy access to radio networks
US8233948B2 (en) * 2007-12-11 2012-07-31 Hewlett-Packard Development Company, L.P. Slider assembly for a housing of a mobile computing device
CN103687063B (en) * 2013-12-02 2016-03-23 小米科技有限责任公司 A kind of method of interconnection network, device and terminal equipment
US10410416B2 (en) * 2016-08-25 2019-09-10 Futurewei Technologies, Inc. Collective navigation for virtual reality devices
CN108282843B (en) * 2017-01-18 2021-07-09 阿里巴巴(中国)有限公司 Network query method, device and server
CN107548125B (en) * 2017-08-23 2020-12-11 腾讯科技(深圳)有限公司 Wireless network access method, wireless network processing device, storage medium and computer equipment
CN108307483A (en) * 2017-09-28 2018-07-20 努比亚技术有限公司 wireless network connecting method and mobile terminal
CN108156646B (en) * 2017-12-18 2020-12-29 北京三快在线科技有限公司 Method and device for accessing wireless network
CN108093365B (en) * 2017-12-21 2021-05-11 浙江维思无线网络技术有限公司 Geographical sign information sending method and device
CN108093493A (en) * 2017-12-29 2018-05-29 上海爱优威软件开发有限公司 A kind of wireless network connecting method, Radio Network System and terminal
CN108390993A (en) * 2018-01-19 2018-08-10 深圳市万普拉斯科技有限公司 Application message recommends method, apparatus, computer equipment and storage medium
CN108319709B (en) * 2018-02-06 2021-03-30 Oppo广东移动通信有限公司 Position information processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110958608A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
US11481979B2 (en) Mobile and augmented reality based depth and thermal fusion scan
CN111815675B (en) Target object tracking method and device, electronic equipment and storage medium
KR101800890B1 (en) Location-based communication method and system
CN110031909B (en) Security inspection system and security inspection method
IL256885A (en) Apparatus and methods for facial recognition and video analytics to identify individuals in contextual video streams
US20180188033A1 (en) Navigation method and device
CN105684038A (en) Image cache for replacing portions of images
US20110018995A1 (en) Systems and methods for video- and position-based identification
CN110555876B (en) Method and apparatus for determining position
US11514600B2 (en) Information processing device and information processing method
CN105513155A (en) Inspection picture classifying and naming method and terminal equipment
CN102017606A (en) Image processing device, camera, image processing method, and program
CN110533440A (en) A kind of internet advertisement information dispensing application method based on video camera
KR101885066B1 (en) Apparatus and method for analyxing of tool trace, and computer program for executing the method
CN110503502A (en) A kind of business recommended method, unit and computer readable storage medium
CN110958608B (en) Wireless network connection method, device, storage medium and computer equipment
CN110490022A (en) A kind of bar code method and device in identification picture
CN111065044A (en) Big data based data association analysis method and device and computer storage medium
CN109903308B (en) Method and device for acquiring information
KR100853379B1 (en) Method for transforming based position image file and service server thereof
CN105451175A (en) Method of recording photograph positioning information and apparatus thereof
CN110503685B (en) Data processing method and equipment
CN110967036A (en) Test method and device for navigation product
CN110298527B (en) Information output method, system and equipment
CN111723682A (en) Method and device for providing location service, readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021687

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant