CN111343564A - Method and device for determining category of wireless network, electronic equipment and storage medium - Google Patents

Method and device for determining category of wireless network, electronic equipment and storage medium Download PDF

Info

Publication number
CN111343564A
CN111343564A CN201811463493.7A CN201811463493A CN111343564A CN 111343564 A CN111343564 A CN 111343564A CN 201811463493 A CN201811463493 A CN 201811463493A CN 111343564 A CN111343564 A CN 111343564A
Authority
CN
China
Prior art keywords
category
wireless network
user
target wireless
current position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811463493.7A
Other languages
Chinese (zh)
Inventor
唐甜田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201811463493.7A priority Critical patent/CN111343564A/en
Publication of CN111343564A publication Critical patent/CN111343564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

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

Abstract

The embodiment of the application provides a method and a device for determining the category of a wireless network, electronic equipment and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: when detecting that a user terminal of a user at any position of a riding journey of the user is connected with a target wireless network, acquiring the current position of the user; the type of the target wireless network is determined at least based on the attribute information corresponding to the current position, and compared with a mode of manually marking the type of the wireless network in the prior art, the type of the wireless network can be automatically identified, so that the efficiency of identifying the type of the wireless network is improved.

Description

Method and device for determining category of wireless network, electronic equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for determining a category of a wireless network, an electronic device, and a storage medium.
Background
Most of application software in the existing user terminal collects relevant information of a wireless network (WiFi) connected by the user terminal, so that users who are connected with the same WiFi together can be counted based on the information, and direct relationship networks of the users, such as family relationships, co-worker relationships and the like, can be mined. However, home WiFi or work WiFi is only a part, even a small part, of the wireless network connected by the user, and the user is usually connected with some merchant WiFi, public WiFi, etc., and the user relationship mined by such WiFi is not firm. In this case, identifying WiFi's own information becomes a key, and is of great significance whether to do social contact or business recommendation. Therefore, the user relationship can be mined for accurately using relevant information of the WiFi by identifying the category of the WiFi, however, the identification of the category of the WiFi at present usually adopts a mode of manually labeling the category of the WiFi, which is time-consuming and labor-consuming, and because the coverage area of the WiFi is large and the number is large, the mode of manually labeling the category of the WiFi is inefficient.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a method and an apparatus for determining a category of a wireless network, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present application provides a method for determining a category of a wireless network, where the method includes: when detecting that a user terminal of a user at any position of a riding journey of the user is connected with a target wireless network, acquiring the current position of the user; and determining the category of the target wireless network at least based on the attribute information corresponding to the current position.
In the implementation process, the current position of the user when the user terminal of the user is connected with the target wireless network at any position of the riding route of the user is obtained, and then the type of the target wireless network is determined based on the attribute information corresponding to the current position.
In one possible design, when it is detected that a user terminal of a user is connected to a target wireless network at any position of a riding journey, acquiring a current position where the user is currently located, includes: when detecting that a user terminal of a user is connected with a target wireless network at any position of a riding journey, acquiring the time length for connecting the user terminal with the target wireless network; judging whether the time length exceeds a preset time length or not; if yes, the current position where the user is located currently is obtained.
In the implementation process, when the time length that the user terminal is connected with the target wireless network exceeds the preset time length is judged, the current position where the user is located currently is obtained, the current position is possibly a place where the user is interested, and then the category of the target wireless network is determined based on the attribute information of the current position, so that an effective basis can be provided for the follow-up behavior habit analysis of the user.
In one possible design, after the obtaining of the time duration for the user terminal to connect to the target wireless network when detecting that the user terminal of the user is connected to the target wireless network at any position of the riding journey, the method further includes: when detecting that a user terminal of a user at any position of a riding journey of the user is connected with a target wireless network, acquiring an initial position of the user; determining the category of the target wireless network at least based on the attribute information corresponding to the current position, including: and determining the category of the target wireless network at least based on the attribute information corresponding to the initial position and the attribute information corresponding to the current position.
In the implementation process, when the attribute information corresponding to the current position cannot determine the category of the target wireless network, the category of the target wireless network can be determined together at least based on the attribute information corresponding to the current position and the attribute information corresponding to the initial position, so that the accuracy of identifying the category of the wireless network is improved.
In one possible design, the attribute information is a point of interest (POI) category corresponding to a location, and determining the category of the target wireless network based on at least the attribute information corresponding to the initial location and the attribute information corresponding to the current location includes: judging whether the POI category corresponding to the current position meets a preset category, wherein the preset category is a category representing the behavior interest and/or habit of a user; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In the implementation process, when the POI category corresponding to the current position is judged to be unavailable, the category of the target wireless network can be determined to be the POI category corresponding to the initial position, so that the accuracy of identifying the category of the wireless network is improved.
In one possible design, determining the category of the target wireless network as the POI category corresponding to the initial location includes: acquiring the distance between the initial position and the current position; judging whether the distance between the initial position and the current position is greater than a first preset distance or not; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In the implementation process, the distance between the initial position and the current position is judged to prevent the problem that the POI category corresponding to the initial position is inaccurate when being determined as the category of the target wireless network when the distance is long.
In a possible design, when the duration exceeds a preset duration, obtaining a current location where the user is currently located includes: when the duration exceeds a preset duration, acquiring the current environment information of the user; and if the environment information meets preset environment information, acquiring the current position of the user at present, wherein the preset environment information is information representing the behavior interest and/or habit of the user.
In the implementation process, the current position of the user is acquired when the environmental information meets the preset environmental information by acquiring the environmental information, so that whether the current position is possibly a place in which the user is interested can be judged based on the environmental information, and an effective basis can be provided for the follow-up analysis of the behavior habits of the user.
In one possible design, the attribute information is a point of interest (POI) category corresponding to a location, and determining a category of the target wireless network based on at least the attribute information corresponding to the current location includes: judging whether the POI category corresponding to the current position meets a preset category, wherein the preset category is a category representing the behavior interest and/or habit of a user; if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance; and determining the category of the target wireless network as the POI category corresponding to the target position.
In the implementation process, if the POI category corresponding to the current position is not available to be used as the category of the target wireless network, the POI category corresponding to the target position closer to the current position can be used as the category of the target wireless network, so that the category of the target wireless network can meet the preset category, and powerful data support is provided for subsequent analysis of user behavior habits.
In one possible design, after obtaining a current location where the user is currently located, before determining a category of the target wireless network based on at least attribute information corresponding to the current location, the method further includes: acquiring a transmitting position of the target wireless network; determining the category of the target wireless network based on the attribute information corresponding to the current position, wherein the determining comprises: judging whether the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range or not; if so, determining the type of the target wireless network as the attribute information corresponding to the current position.
In the implementation process, the transmitting position of the target wireless network is obtained, and when the distance between the transmitting position and the current position is within a second preset distance range, the category of the target wireless network is determined as the attribute information corresponding to the current position, so that the accuracy of identifying the category of the wireless network is improved.
In a second aspect, an embodiment of the present application provides a category determining apparatus for a wireless network, where the apparatus includes: the system comprises a user position acquisition module, a target wireless network acquisition module and a target wireless network acquisition module, wherein the user position acquisition module is used for acquiring the current position of a user when detecting that the user terminal of the user is connected with the target wireless network at any position in a riding journey; and the category determining module is used for determining the category of the target wireless network at least based on the attribute information corresponding to the current position.
In one possible design, the user position obtaining module is specifically configured to obtain a time duration for the user terminal to connect to a target wireless network when it is detected that the user terminal of the user is connected to the target wireless network at any position of a riding journey of the user; judging whether the time length exceeds a preset time length or not; if yes, the current position where the user is located currently is obtained.
In a possible design, the user location obtaining module is further configured to obtain an initial location of the user when it is detected that the user terminal of the user is connected to the target wireless network at any location of the riding route;
the category determining module is configured to determine a category of the target wireless network based on at least the attribute information corresponding to the initial location and the attribute information corresponding to the current location.
In one possible design, the attribute information is a point of interest (POI) category corresponding to a position, and the category determination module is configured to determine whether the POI category corresponding to the current position meets a preset category, where the preset category is a category representing a user behavior interest and/or a habit; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In a possible design, the category determining module is further configured to obtain a distance between the initial position and the current position; judging whether the distance between the initial position and the current position is greater than a first preset distance or not; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In a possible design, the user location obtaining module is further configured to obtain current environment information of the user when the duration exceeds a preset duration; and if the environment information meets preset environment information, acquiring the current position of the user at present, wherein the preset environment information is information representing the behavior interest and/or habit of the user.
In one possible design, the attribute information is a point of interest (POI) category corresponding to a position, and the category determination module is configured to determine whether the POI category corresponding to the current position meets a preset category, where the preset category is a category representing a user behavior interest and/or a habit; if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance; and determining the category of the target wireless network as the POI category corresponding to the target position.
In one possible design, the apparatus further includes:
the wireless network transmitting position acquisition module is used for acquiring the transmitting position of the target wireless network;
the category determination module is used for judging whether the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range; if so, determining the type of the target wireless network as the attribute information corresponding to the current position.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a block diagram of a network appointment system according to some embodiments of the present application;
FIG. 2 illustrates a schematic diagram of exemplary hardware and software components of an electronic device that may implement the concepts of the present application, according to some embodiments of the present application;
fig. 3 is a flowchart of a method for determining a category of a wireless network according to an embodiment of the present application;
fig. 4 is a block diagram of a category determining apparatus of a wireless network according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
To enable those skilled in the art to utilize the present disclosure, the following embodiments are presented in conjunction with a specific application scenario, "network appointment service. It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is described primarily in the context of a network appointment service, it should be understood that this is merely one exemplary embodiment. The application can be applied to any other traffic type. For example, the present application may be applied to different transportation system environments, including terrestrial, marine, or airborne, among others, or any combination thereof. The vehicle of the transportation system may include a taxi, a private car, a windmill, a bus, a train, a bullet train, a high speed rail, a subway, a ship, an airplane, a spacecraft, a hot air balloon, or an unmanned vehicle, etc., or any combination thereof. The present application may also include any service system for providing services, for example, a system for sending and/or receiving couriers, a service system for business transactions between buyers and sellers. Applications of the system or method of the present application may include web pages, plug-ins for browsers, client terminals, customization systems, internal analysis systems, or artificial intelligence robots, among others, or any combination thereof.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The terms "passenger," "requestor," "service person," "service requestor," and "customer" are used interchangeably in this application to refer to an individual, entity, or tool that can request or order a service. The terms "driver," "provider," "service provider," and "provider" are used interchangeably in this application to refer to an individual, entity, or tool that can provide a service. The term "user" in this application may refer to an individual, entity or tool that requests a service, subscribes to a service, provides a service, or facilitates the provision of a service. For example, the user may be a passenger, a driver, an operator, etc., or any combination thereof. In the present application, "passenger" and "passenger terminal" may be used interchangeably, and "driver" and "driver terminal" may be used interchangeably.
The terms "service request" and "order" are used interchangeably herein to refer to a request initiated by a passenger, a service requester, a driver, a service provider, or a supplier, the like, or any combination thereof. Accepting the "service request" or "order" may be a passenger, a service requester, a driver, a service provider, a supplier, or the like, or any combination thereof. The service request may be charged or free.
The Positioning technology used in the present application may be based on a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a COMPASS Navigation System (COMPASS), a galileo Positioning System, a Quasi-Zenith Satellite System (QZSS), a Wireless Fidelity (WiFi) Positioning technology, or the like, or any combination thereof. One or more of the above-described positioning systems may be used interchangeably in this application.
One aspect of the application relates to a category determination method for a wireless network, which can obtain the current position of a user when the user terminal of the user is connected with a target wireless network in a riding process, determine the category of the target wireless network at least based on attribute information corresponding to the current position, so that the category of the target wireless network can be automatically identified, and provide data assistance for subsequent analysis of interests and hobbies of the user by identifying the category of the target wireless network connected with the user.
Before the application is filed, the category of the wireless network is identified in the prior art by adopting a manual labeling mode, that is, the category of the wireless network is identified manually by acquiring the wireless network connected by a user, so that the category of the wireless network is correspondingly labeled, and data assistance is provided for subsequently mining the relationship network of the user, the interest of the user and the like. However, the method for determining the category of the wireless network can automatically determine the category of the target wireless network, so that the efficiency of identifying the category of the wireless network is improved.
Fig. 1 is a block diagram of a network appointment system 100 according to some embodiments of the present application. For example, the network appointment system 100 may be an online transportation service platform for transportation services such as taxis, designated driving services, express, carpools, bus services, driver rentals, or regular bus services, or any combination thereof. The networked car appointment system 100 may include one or more of a server 110, a network 120, a service requester terminal 130, a service provider terminal 140, and a database 150, and the server 110 may include a processor therein to perform instruction operations.
In some embodiments, the server 110 may be a single server or a group of servers. The set of servers can be centralized or distributed (e.g., the servers 110 can be a distributed system). In some embodiments, the server 110 may be local or remote to the terminal. For example, the server 110 may access information and/or data stored in the service requester terminal 130, the service provider terminal 140, or the database 150, or any combination thereof, via the network 120. As another example, the server 110 may be directly connected to at least one of the service requester terminal 130, the service provider terminal 140, and the database 150 to access stored information and/or data. In some embodiments, the server 110 may be implemented on a cloud platform. In some embodiments, the server 110 may be implemented on an electronic device 200 having one or more of the components shown in FIG. 2 in the present application.
In some embodiments, the server 110 may include a processor. The processor may process information and/or data related to the service request to perform one or more of the functions described herein. For example, the processor may determine the target vehicle based on a service request obtained from the service requester terminal 130. In some embodiments, a processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)).
Network 120 may be used for the exchange of information and/or data. In some embodiments, one or more components (e.g., server 110, service requester terminal 130, service provider terminal 140, and database 150) in the networked car appointment system 100 may send information and/or data to other components. For example, the server 110 may obtain a service request from the service requester terminal 130 via the network 120. In some embodiments, the network 120 may be any type of wired or wireless network, or combination thereof. For example, the network 120 may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of the networked car reservation system 100 may connect to the network 120 to exchange data and/or information.
In some embodiments, the user of the service requestor terminal 130 may be someone other than the actual demander of the service. For example, the user a of the service requester terminal 130 may use the service requester terminal 130 to initiate a service request for the service actual demander B (for example, the user a may call a car for his friend B), or receive service information or instructions from the server 110. In some embodiments, the user of the service provider terminal 140 may be the actual provider of the service or may be another person than the actual provider of the service. For example, user C of the service provider terminal 140 may use the service provider terminal 140 to receive a service request serviced by the service provider entity D (e.g., user C may pick up an order for driver D employed by user C), and/or information or instructions from the server 110. In some embodiments, "service requester" and "service requester terminal" may be used interchangeably, and "service provider" and "service provider terminal" may be used interchangeably.
In some embodiments, the service requester terminal 130 may comprise a mobile device, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, etc., or any combination thereof.
In some embodiments, the service provider terminal 140 may be a similar or identical device as the service requestor terminal 130. In some embodiments, the service provider terminal 140 may be a device with location technology for locating the location of the service provider and/or the service provider terminal. In some embodiments, the service requester terminal 130 and/or the service provider terminal 140 may communicate with other locating devices to determine the location of the service requester, service requester terminal 130, service provider, or service provider terminal 140, or any combination thereof. In some embodiments, the service requester terminal 130 and/or the service provider terminal 140 may transmit the location information to the server 110.
Database 150 may store data and/or instructions. In some embodiments, the database 150 may store data obtained from the service requester terminal 130 and/or the service provider terminal 140. In some embodiments, database 150 may store data and/or instructions for the exemplary methods described herein.
In some embodiments, a database 150 may be connected to the network 120 to communicate with one or more components of the networked car appointment system 100 (e.g., the server 110, the service requester terminal 130, the service provider terminal 140, etc.). One or more components of the networked car appointment system 100 may access data or instructions stored in the database 150 via the network 120. In some embodiments, the database 150 may be directly connected to one or more components in the networked car appointment system 100 (e.g., the server 110, the service requester terminal 130, the service provider terminal 140, etc.); alternatively, in some embodiments, database 150 may also be part of server 110.
In some embodiments, one or more components (e.g., server 110, service requester terminal 130, service provider terminal 140, etc.) in the networked car appointment system 100 may have access to the database 150. In some embodiments, one or more components in network appointment system 100 may read and/or modify information related to the service requester, the service provider, or the public, or any combination thereof, when certain conditions are met. For example, server 110 may read and/or modify information for one or more users after receiving a service request. As another example, the service provider terminal 140 may access information related to the service requester when receiving the service request from the service requester terminal 130, but the service provider terminal 140 may not modify the related information of the service requester.
Fig. 2 illustrates a schematic diagram of exemplary hardware and software components of an electronic device 200 of a server 110, a service requester terminal 130, a service provider terminal 140, which may implement the concepts of the present application, according to some embodiments of the present application. For example, a processor may be used on the electronic device 200 and to perform the functions herein.
The electronic device 200 may be a general purpose computer or a special purpose computer, both of which may be used to implement the wireless network category determination method of the present application. Although only a single computer is shown, for convenience, the functions described herein may be implemented in a distributed fashion across multiple similar platforms to balance processing loads.
For example, the electronic device 200 may include a network port 210 connected to a network, one or more processors 220 for executing program instructions, a communication bus 230, and a different form of storage medium 240, such as a disk, ROM, or RAM, or any combination thereof. Illustratively, the computer platform may also include program instructions stored in ROM, RAM, or other types of non-transitory storage media, or any combination thereof. The method of the present application may be implemented in accordance with these program instructions. The electronic device 200 also includes an Input/Output (I/O) interface 250 between the computer and other Input/Output devices (e.g., keyboard, display screen).
For ease of illustration, only one processor is depicted in the electronic device 200. However, it should be noted that the electronic device 200 in the present application may also comprise a plurality of processors, and thus the steps performed by one processor described in the present application may also be performed by a plurality of processors in combination or individually. For example, if the processor of the electronic device 200 executes steps a and B, it should be understood that steps a and B may also be executed by two different processors together or separately in one processor. For example, a first processor performs step a and a second processor performs step B, or the first processor and the second processor perform steps a and B together.
Referring to fig. 3, fig. 3 is a flowchart of a method for determining a category of a wireless network according to an embodiment of the present application, where the method is applicable to the server, and the method includes the following steps:
step S110: when detecting that a user terminal of a user is connected with a target wireless network at any position of a riding journey, acquiring the current position of the user.
The user terminal is generally connected with the wireless network through a wireless access point, the wireless access point is an access point of the wireless network and is commonly called a 'hot spot', the user terminal is mainly connected with an integrated device and a pure access point device through route switching, the integrated device executes access and route work, the pure access device is only responsible for access of a wireless client, and the pure access device is generally used as a wireless network for expansion.
The wireless network in this embodiment refers to a network implemented by using a wireless communication technology, i.e., WiFi, and includes both a global voice and data network that allows a user to establish a long-distance wireless connection, and an infrared technology and a radio frequency technology that are optimized for a short-distance wireless connection. WiFi is a common wireless network, and with popularization of WiFi, users can be connected with free WiFi to surf the internet at any time outdoors.
In order to acquire the current position of the user when the user is connected with the WiFi, that is, when the server detects that the user terminal of the user is connected with the target wireless network through the wireless access point at any position of the riding journey, the current position of the user can be acquired through the positioning technology.
The target wireless network is a wireless network to which a user terminal of a certain user is currently connected in a riding trip of the user, for example, for the user terminal 1, the wireless network 1 currently connected at a position a in the riding trip is called a target wireless network, and for the user terminal 2, the wireless network 2 currently connected at a position B in the riding trip is also called a target wireless network.
In this embodiment, in order to analyze the travel behavior of the user, a situation that the user connects to the wireless network at any position in the riding trip is detected, and taking network car booking as an example, the riding trip may be a trip of the user in a process that the user executes an order completion operation of the network car booking at the user terminal from a start of the order request operation of the user terminal executing the network car booking to a finish of the trip.
The server can monitor the user terminal of the user at any time, and when the user terminal is connected to the target wireless network at any position of the riding journey of the user, the current position of the user is obtained. Of course, it may also be that the user terminal itself sends a message to inform the server when detecting that the user terminal is connected to the target wireless network, so that the server can know that the user terminal of the user is connected to the target wireless network, and then can obtain the current position where the user is currently located through a positioning technology.
It should be noted that, since the general user terminals are all carried by the user, the current location where the user is currently located is the current location where the user terminal is located.
Step S120: and determining the category of the target wireless network at least based on the attribute information corresponding to the current position.
The attribute information corresponding to the location may be a Point of Interest (POI) corresponding to the current location, where the POI is an information Point, for example, a bubble icon is generally used on an electronic map to represent the POI, such as a sight spot, a government agency, a company, a market, a restaurant, and the like on the electronic map, and these may be POIs.
Of course, the attribute information corresponding to the location may be other information, for example, the name corresponding to the location is the attribute information corresponding to the location, and if the name of the location is xx intersection, the attribute information is xx intersection, and if the name of the location is xx coffee shop, the attribute information is xx coffee shop. Or, the attribute information corresponding to the location may also be a category to which the name corresponding to the location belongs, where the category may be a road if the location is xx intersection, and the category may be a business building if the location is xx building, and the category may be an entertainment place if the location is xx cinema.
After obtaining the attribute information corresponding to the current location of the user, the category of the target wireless network may be determined based on the attribute information corresponding to the current location, and it may be understood that the attribute information corresponding to the current location may be used as the category of the target wireless network. For example, a user drinks coffee in a certain coffee shop, the user is connected with WiFi of the coffee shop, the current location of the user is obtained through a positioning technology and is the location of the coffee shop, the corresponding attribute information can be the coffee shop or the entertainment place, and then the category of the WiFi can be automatically labeled as the coffee shop or the entertainment place.
It should be noted that, a unified standard may be adopted for determining the attribute information corresponding to the location, for example, the POI category corresponding to the location is all adopted as the attribute information corresponding to the location, and then the POI category corresponding to the location may be adopted as the category of the WiFi.
Therefore, in this embodiment, when it is detected that the user terminal of the user is connected to the target wireless network at any position of the riding route, the current position where the user is currently located is obtained, and then the category of the target wireless network can be determined based on the attribute information corresponding to the current position, so that the behavior of the user connecting to the wireless network can be associated with the riding behavior of the user, statistics on the information of the wireless network is facilitated, and further the category of the target wireless network can be automatically identified.
In a possible implementation manner, the attribute information takes a POI category corresponding to a location as an example, and the manner of determining the category of the wireless network based on at least the attribute information corresponding to the current location may further be: firstly, judging whether the POI category corresponding to the current position meets a preset category, wherein the preset category is a category representing the behavioral interest and/or habit of a user, namely, the POI category corresponding to the position is a category having the behavioral interest and/or habit of the user, if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance, and determining the category of the target wireless network as the POI category corresponding to the target position.
It can be understood that, since each location has a corresponding POI category in the electronic map, but the POI categories are roads, certain lanes, certain unidentified convenience stores, or name-only businesses (business businesses that cannot be identified by the business) and the like, these categories may be taken as categories that are excluded from the preset conditions, that is, other categories that can be used to characterize the behavioral interests and/or habits of the user, such as scenic spots, movie theaters, shopping malls, cafes and the like, and if the POI category corresponding to the current location is these categories, it indicates that the POI category corresponding to the current location satisfies the preset category. The categories which are excluded from the preset categories can be defined according to actual needs.
If the POI category corresponding to the current location cannot be identified or does not satisfy the preset category, then the target location closest to the current location may be searched, for example, a plurality of locations within a preset distance from the current location may be detected, then distances between the plurality of locations and the current location are calculated, then the location with the smallest distance from the current location is taken as the target location, if xx building and xx convenience store are detected around the current location, and the POI category corresponding to xx building is an office building, the POI category corresponding to xx convenience store is a convenience store, which all satisfy the preset categories, then the distance between xx building and the current location is calculated, and the distance between xx convenience store and the current location is calculated, then the distance is compared, and the location with the smallest distance from the current location may be taken as the target location closest to the current location, the POI category corresponding to the target position is used as the category of the target wireless network, so that the category of the target wireless network can meet the preset category, and powerful data support is provided for the follow-up analysis of the user behavior habits.
It should be noted that, in order to effectively identify the category of the wireless network, the POI category corresponding to the target location also satisfies the preset category.
In a possible implementation manner, based on at least attribute information corresponding to the current location, the determining the category of the wireless network may further be: the method comprises the steps of firstly obtaining the transmitting position of a target wireless network, then judging whether the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range, and if so, determining the type of the target wireless network as attribute information corresponding to the current position.
In order to accurately identify the category of the wireless network, if the transmitting position of the wireless network is too far away from the current position, it is obviously possible that the attribute information corresponding to the current position is inaccurate as the category of the wireless network, so when the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range, the category of the target wireless network is determined as the attribute information corresponding to the current position.
The second preset distance may be set according to actual needs, and if the accuracy of identifying the category of the wireless network needs to be higher, the second preset distance may be set to be smaller, for example, 10 meters, and if the accuracy of identifying the category of the wireless network is not so large, the second preset distance may be set to be relatively larger, for example, 50 meters.
The method for obtaining the transmitting position of the wireless network comprises the following steps: and acquiring logs through the wireless network to obtain the name of the wireless network when the user terminal of the user is connected with the wireless network, the position of the user and the time of connecting the user terminal with the wireless network.
For a target wireless network, the time and the location of a plurality of user terminals connecting with the target wireless network and the name of the target wireless network can be obtained in advance, and since the user terminals of users can connect with the target wireless network at different locations, the central point of the location where the user terminals are connected with the target wireless network can be used as the transmitting location of the target wireless network.
In addition, in a possible implementation manner, it is possible that the user is only temporarily connected to the target wireless network in the riding process, that is, the user only passes through a certain position and does not stop at the position, so in order to better analyze the behavior habits of the user, when it is detected that the user terminal of the user at any position of the riding process is connected to the target wireless network, the time duration for connecting the user terminal to the target wireless network is obtained, and then it is determined whether the time duration exceeds a preset time duration, and when the time duration exceeds the preset time duration, the current position where the user is currently located is obtained.
For example, the preset time duration may be set to three minutes or five minutes, and for example, after it is detected that the time duration for the user terminal to connect to the target wireless network is five minutes, it indicates that it is likely that the user stays at the current location, that is, the location may be a place where the user is interested relatively, so the current location where the user is located may be obtained at this time, for example, if the user stops at a gate of an xx coffee shop in a riding journey, the current location where the user is located may be obtained as the xx coffee shop, and then it may be determined that the category of the target wireless network is attribute information corresponding to the current location, such as the coffee shop.
In addition, on the basis of the above embodiment, in order to achieve more accurate determination of the category of the target wireless network, when it is detected that the user terminal of the user is connected to the target wireless network at any position of the riding route, the initial position of the user may be acquired, and then the category of the target wireless network may be determined based on at least the attribute information corresponding to the initial position and the attribute information corresponding to the current position.
Specifically, taking the attribute information as the POI category corresponding to the location as an example, if the current location is xx northwest of the building and the server may not be able to identify the POI category corresponding to the xx northwest of the building, it may be determined whether the attribute information corresponding to the current location may be identified first, if not, the initial location may be obtained, and if the attribute information corresponding to the initial location may be identified, so that the attribute corresponding to the initial location may be newly used as the category of the target wireless network when the attribute information corresponding to the current location cannot be identified.
Therefore, when the category of the target wireless network cannot be determined based on the attribute information of the current position, the category of the target wireless network can be determined together based on the attribute information corresponding to the current position and the attribute information corresponding to the initial position, and the accuracy of identifying the category of the wireless network is improved.
Or, if the POI category corresponding to the current location can be identified, but if some POI categories are used as categories of the wireless network, there is not much effect on subsequent behavioral interest analysis of the user, so it can also be determined whether the POI category corresponding to the current location meets a preset category, which is explained in the above embodiments, and thus, redundant description is not repeated here.
Therefore, when the POI category corresponding to the current position is judged to be unavailable, the category of the target wireless network can be determined to be the POI category corresponding to the initial position, and therefore the accuracy of the category of the wireless network is improved.
In addition, considering that the initial position may be far away from the current position when the vehicle speed is too fast, if the distance between the initial position and the current position is far, it is obvious that the POI category corresponding to the initial position is inaccurate as the category of the target wireless network at this time, it may be further determined whether the distance between the current position and the initial position is greater than a first preset distance, and when the distance between the current position and the initial position is less than or equal to the first preset distance, it is determined that the category of the target wireless network is the POI category corresponding to the initial position.
The first preset distance may be set according to an actual situation, for example, the first preset distance may be 50 meters or 70 meters, and when the POI category corresponding to the current location does not meet the preset category, and the distance between the current location and the initial location is less than or equal to the first preset distance, the POI category corresponding to the initial location is used as the category of the target wireless network, so that the accuracy of the category of the target wireless network may be ensured, and the problem that when the distance is long, if the POI category corresponding to the initial location is determined as the category of the target wireless network, the POI category is inaccurate is prevented.
Of course, if the distance between the current position where the user is located and the initial position is greater than the first preset distance, the target position closest to the current position may be obtained, and the distance between the target position and the current position is less than or equal to the first preset distance, the category of the target wireless network is determined to be the POI category corresponding to the target position, so that the category of the target wireless network can meet the preset category, and a powerful data support is provided for subsequent analysis of user behavioral interest.
Specifically, if the first preset distance is set to be 100 meters, if the distance between the current position and the initial position is greater than 100 meters, at this time, in order to ensure accuracy of the category of the target wireless network, it is obvious that the POI category corresponding to the initial position cannot be adopted as the category of the target wireless network, but at this time, the POI category corresponding to the current position cannot be identified or does not satisfy the category set by the preset category, the target position satisfying the preset category in the periphery of the current position may also be obtained, that is, the POI category corresponding to the target position refers to the category set in the preset category, and the POI category corresponding to the target position may be taken as the category of the target wireless network.
For example, when the current location is the xx intersection, the corresponding POI category is a road, obviously, the predetermined category is not satisfied, the initial location is the xx shop 150 meters away from the xx intersection, obviously, the distance between the initial location and the current location is relatively long, and the initial location also does not satisfy the condition, so, at this time, the target location closest to the current location may be searched, for example, a plurality of locations within the predetermined distance from the current location may be detected, then the distances between the plurality of locations and the current location are calculated, then the location with the smallest distance from the current location is taken as the target location, if xx building and xx convenience store are detected around the current location, and the POI category corresponding to the xx building is an office building, the POI category corresponding to the xx convenience store satisfies the predetermined categories, and then the distances between the xx building and the current location are calculated respectively, and calculating the distance between the xx convenience store and the current position, then comparing the distance, and taking the smallest distance as the target position closest to the current position.
It should be noted that, when it is determined that the category of the target wireless network is the POI category corresponding to the initial position, if the POI category corresponding to the current position cannot be identified or does not satisfy the preset category, at this time, if the distance between the initial position and the current position is less than or equal to the first preset distance, but if the POI category corresponding to the initial position cannot be identified or does not satisfy the preset category, the target position within the first preset distance range from the current position may also be obtained according to the above manner, and the POI category corresponding to the target position is taken as the category of the target wireless network.
In addition, in the above embodiment, if it is detected that the time period during which the user terminal of the user is connected to the target wireless network exceeds the preset time period, the current location information of the user may be further obtained, and if the environment information satisfies the preset environment information, the current location of the user is obtained, and then the category of the target wireless network is determined based on the attribute information corresponding to the current location. The preset environment information is information representing the behavior interest and/or habit of the user.
Specifically, if a user is at a traffic light such as a certain intersection, the user terminal is connected to a target wireless network of a xx coffee shop beside the road, but if the connection duration of the user exceeds the preset duration, the current location obtained at this time is the xx intersection, and the corresponding attribute information is the road, it is obviously meaningless to use the attribute information as the category of the target wireless network.
The environment information may be acquired by a vehicle-mounted camera, or the environment information around the current position of the user is acquired by the route of the user on the map, and if the current approximate position of the user is generally only on the map, the environment information is a landmark around the current position, and may be a landmark within a preset distance range from the current position, such as a landmark within a twenty-meter distance from the current position. The environment information acquired by the vehicle-mounted camera can be transmitted to the vehicle-mounted terminal in real time for storage or transmitted to the server for storage, if the user is in the online taxi appointment journey, namely the driver terminal for receiving the order and the license plate number of the vehicle taken can be known through the online taxi appointment order of the user, the corresponding relation between the environment information acquired by the vehicle-mounted camera and the license plate number of the vehicle can be stored when the environment information acquired by the vehicle-mounted camera is stored, therefore, when the server detects that the time length of the user terminal connected with the target wireless network exceeds the preset time length, the environment information shot by the vehicle-mounted camera, namely video information or image information, can be analyzed by the server according to the video information or the image information to determine whether the information representing the user behavior interest and/or habit, and the information representing the user behavior interest and/or habit can be a shopping mall, a coffee, An office building and the like, that is, positions corresponding to other POI categories except for the above POI category are only required, and if the surrounding of the current position in the environment information is all roads, it indicates that the environment information does not satisfy the preset environment information, and if a mall, a coffee shop, an office building and the like are located in a preset distance range around the current position, it indicates that the environment information satisfies the preset environment information, and the current position where the user is currently located can be obtained.
Therefore, when the fact that the time that the user terminal is connected to the target wireless network exceeds the preset time length is detected, the current environment information of the user is obtained, and if the environment information meets the preset environment information, the current position of the user is obtained, so that whether the current position is the position in which the user is interested or not can be judged based on the environment information, and a powerful basis is provided for analyzing the behavior habits of the user by utilizing the category of the wireless network subsequently.
In addition, in this embodiment, for example, a network appointment is taken as an example, so that the server does not need to monitor the user terminal in real time in order to reduce the workload of the server, and therefore, when it is detected that the user is connected to the target wireless network at any position in the riding route, the current position where the user is currently located when the user performs the order operation may also be obtained.
The order execution operation of the user may be an operation of triggering an order request service at the user terminal, an operation of triggering an order completion service at the user terminal, an operation of triggering an order cancellation service at the user terminal, or the like.
Therefore, in this case, the manner of determining the category of the target wireless network is as follows:
the first method is as follows: when the current position is a position where the user is located when the user performs an order request operation, that is, when the user performs a taxi taking, the user may input a starting point position and an ending point position of the taxi taking at the user terminal, where the starting point position may be a current position where the user is currently located obtained based on a positioning technology, that is, the starting point position of the taxi taking is consistent with the current position of the user, but there may be a case where the starting point position of the taxi taking is inconsistent with the current position of the user, and at this time, the server may obtain an order starting point position (that is, the starting point position of the taxi taking) input by the user on the user terminal, and then may determine the category of the target wireless network based on attribute information corresponding to the current position and attribute information corresponding to the.
Therefore, when the type of the target wireless network cannot be determined based on the attribute information of the current position, the type of the target wireless network can be determined together based on the attribute information corresponding to the current position and the attribute information corresponding to the order starting position, and the accuracy of identifying the type of the wireless network is improved.
When the POI category corresponding to the current position is judged to be unavailable, the category of the target wireless network can be determined to be the POI category corresponding to the starting position of the order, and therefore the accuracy of identifying the category of the wireless network is improved.
If the distance between the current position of the user and the starting position of the order is greater than the preset distance, the target position closest to the current position is obtained, the distance between the target position and the current position is smaller than or equal to the preset distance, the category of the target wireless network is determined to be the POI category corresponding to the target position, and therefore the category of the target wireless network can meet the preset category, and powerful data support is provided for follow-up analysis of user behavior interest.
In a possible implementation manner, in the process of taking the POI category corresponding to the order starting position as the category of the target wireless network, in order to ensure that the POI category corresponding to the order starting position meets the category of the preset condition, it may be further determined whether the POI category corresponding to the order starting position meets the category of the preset condition, and if so, the category of the target wireless network is determined to be the POI category corresponding to the order starting position, so that the category of the target wireless network can meet the preset condition, and a powerful data support is provided for subsequent analysis of user behavioral interest.
Of course, it can be understood that, if the POI category corresponding to the order starting position does not satisfy the category of the preset condition, the above-mentioned target position with the closest distance around the current position may be detected, and the POI category corresponding to the target position may be used as the category of the target wireless network.
The method is characterized in that the current position of the user is the position of the user when the user executes the order request operation, and the type of the target wireless network is determined based on the attribute information corresponding to the current position and the attribute information corresponding to the starting position of the order input by the user at the user terminal when the user executes the order request operation, so that the type of the target wireless network can be more accurately determined, and powerful data support is provided for the user behavior or the relationship network mining of the user based on the type of the wireless network.
It should be noted that, the manner of determining the category of the target wireless network based on the attribute information corresponding to the current location and the attribute information corresponding to the order starting location is similar to the manner of determining the category of the target wireless network based on the attribute information corresponding to the current location and the attribute information corresponding to the initial location, and therefore, repeated details are not repeated here.
The second method comprises the following steps: the current position of the user can also be the position of the user when the user performs order operation, for example, when the user completes car service, the user can check prompt information for completing the car service at a user terminal, or the server can acquire order ending operation triggered by the driver through a driver terminal, at this time, the server can acquire the current position of the user, and then the type of the target wireless network is determined based on attribute information corresponding to the current position.
Of course, the implementation manner in the second implementation manner may also include the implementation manner in the first implementation manner, for example, the order end position included in the order after the order is completed may also be an order end position input by the user when the order request operation is performed, and of course, the order end position may also be a trip destination changed by the user in the trip process, and the trip destination is the order end position. The category of the target wireless network may then be determined based on the attribute information corresponding to the current location and the attribute information corresponding to the order destination location.
The type of the target wireless network may be determined to be similar to the specific implementation manner in the first manner based on the attribute information corresponding to the current position and the attribute information corresponding to the order destination position, and for brevity of description, redundant description is not repeated here.
The third method comprises the following steps: when the current position of the user is the position of the user when the user performs the order cancellation operation, the type of the target wireless network can be determined based on attribute information corresponding to the position of the user when the user performs the order cancellation operation, and the position of the user when the user performs the order cancellation operation by the user before the order is started may be the position of the user when the user performs the order cancellation operation before the order is started, or may be the position of the user when the user performs the order cancellation operation in the process after the order is started but before the order is not completed.
Of course, when the user performs the order cancel operation, the location where the user is located is the current location, and the category of the target wireless network may be determined according to the attribute information corresponding to the current location, and of course, the location where the user performs the order cancel operation may be the location where the user performs the order request operation, or a location that is not far away from the location where the user performs the order request operation. However, if the user performs the order cancellation operation and cancels the order cancellation operation during the course of the trip, the type of the target wireless network may be determined based on the attribute information corresponding to the current location.
For example, when the attribute information corresponding to the position where the user is located when the user performs the order cancellation operation cannot be determined, a target position around the position that meets a preset condition may also be obtained, and the category of the target wireless network is determined based on the attribute information corresponding to the target position, and for simplicity of description, specific implementation of other embodiments is not described in detail herein.
Therefore, in order to obtain more data volume, the location where the user is located when the user performs the order completion operation or the order cancellation operation may also be obtained, and then the category of the target wireless network may be determined based on the attribute information corresponding to the location, so that the category of the target wireless network may be determined based on more data.
In addition, on the basis of any of the above embodiments, after determining the category of the target wireless network based on at least the attribute information of the current location, the method further includes: and acquiring all the categories marked on the target wireless network, then counting the number of the same categories in all the categories, and selecting the category with the largest number as the main category of the target wireless network.
Therefore, because the types of the target wireless network may be determined to be different based on different positions, all the types of the target wireless network can be counted, and then the main type of the target wireless network can be determined, so that the main type of the target wireless network can be determined based on a large amount of data, and the accuracy of determining the type of the wireless network is improved.
For example, for a network appointment service scenario, the server may obtain a plurality of service orders for the network appointment, where each service order includes a category of a wireless network to which the user connects when performing the request order operation, and/or a category of a wireless network to which the user connects when performing the order cancellation operation, and/or a category of a wireless network to which the user connects when performing the order completion operation.
Therefore, each wireless network may correspond to a plurality of categories, for example, for a target wireless network, three categories of movie theaters, shopping malls and xx convenience stores may be counted from a plurality of orders, where if the number of movie theater categories corresponding to the target wireless network in the plurality of orders is 50, the number of shopping malls is 40, and the number of xx convenience store categories is 23, the movie theater categories may be used as the primary category of the target wireless network, and of course, the target wireless network may also have a secondary category, which may be a plurality of secondary categories, such as the secondary category of the target wireless network is a shopping mall and an xx convenience store.
For example, in a certain order, the order information includes an order issuing time (i.e., a time when the user performs an order requesting operation), a time when the user terminal connects to the wireless network, an order starting position, a name of the wireless network at a current location where the user is currently located, an identifier of the user terminal, a transmitting position of the wireless network, and a category of the wireless network, and may further include a time when the user performs an order completing operation, a time when the user terminal connects to the wireless network, an order ending position, a current location where the user is located when the user performs an order completing operation, a transmitting position of the wireless network connected to the user terminal, a name of the wireless network, and a category of the wireless network. Of course, if the user cancels the order in the middle, the order information includes some information when the user performs the order request operation, and may further include the time when the user performs the order cancellation operation, the time of the wireless network to which the user terminal is connected, the current location of the user, the name and the transmission location of the wireless network, the category, and the like.
In order to facilitate statistics, the obtained orders are orders of a complete trip, that is, the orders include some information when the user performs an order request operation and some information when the user performs an order completion operation, and in the orders, the order in which the difference between the time when the user performs the order request operation and the time of the wireless network connected to the user terminal of the user is within a preset time and the difference between the current position of the user and the transmitting position of the wireless network is within a preset distance can be deleted.
The order with the time difference between the time for the user to execute the order request operation and the time of the wireless network connected with the user terminal of the user being the preset time is selected to avoid that the time for the user to execute the order operation and the time for the wireless network connection have too great difference to cause the position of the user to possibly change, so that the category of the wireless network recorded in the order is wrong, and the difference between the current position of the user and the transmitting position of the wireless network is the preset distance to avoid that the category of the wireless network recorded in the order is wrong if the current position of the user is too far away from the transmitting position of the wireless network.
When the wireless network category in the deleted multiple orders is counted, for a target wireless network, the order number of the target wireless network connected when the user performs the order request operation is counted, the category of the target wireless network is obtained from the orders, then the category with the largest number is used as the main category of the target wireless network, in order to further confirm the main category of the target wireless network, the order number of the target wireless network connected when the user performs the order completion operation can also be counted, then the category of the target wireless network is obtained from the orders, the category with the largest number is used as the main category of the target wireless network, then the two main categories are compared, if the two main categories are the same, the main category is used as the final main category of the target wireless network, and if the two main categories are different, it indicates that the primary category of the target wireless network may be inaccurate, and further more orders may be counted to finally obtain the primary category of the target wireless network.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of an apparatus 300 for determining a category of a wireless network according to an embodiment of the present application, the apparatus including:
the user position obtaining module 310 is configured to obtain a current position where a user is currently located when it is detected that a user terminal of the user is connected to a target wireless network at any position of a riding route of the user;
a category determining module 320, configured to determine a category of the target wireless network based on at least the attribute information corresponding to the current location.
In a possible design, the user location obtaining module 310 is specifically configured to obtain a duration for the user terminal to connect to a target wireless network when it is detected that the user terminal of the user is connected to the target wireless network at any position in a riding journey; judging whether the time length exceeds a preset time length or not; if yes, the current position where the user is located currently is obtained.
In a possible design, the user location obtaining module 310 is further configured to obtain an initial location of the user when it is detected that the user terminal of the user at any location of the riding trip is connected to the target wireless network;
the category determining module 320 is configured to determine a category of the target wireless network based on at least the attribute information corresponding to the initial location and the attribute information corresponding to the current location.
In a possible design, the attribute information is a POI category corresponding to a location, and the category determining module 320 is configured to determine whether the POI category corresponding to the current location meets a preset category, where the preset category is a category representing a behavioral interest and/or a habit of a user; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In a possible design, the category determining module 320 is further configured to obtain a distance between the initial position and the current position; judging whether the distance between the initial position and the current position is greater than a first preset distance or not; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
In a possible design, the user location obtaining module 310 is further configured to obtain the current environment information of the user when the duration exceeds a preset duration; and if the environment information meets preset environment information, acquiring the current position of the user at present, wherein the preset environment information is information representing the behavior interest and/or habit of the user.
In a possible design, the attribute information is a POI category corresponding to a location, and the category determining module 320 is configured to determine whether the POI category corresponding to the current location meets a preset category, where the preset category is a category representing a behavioral interest and/or a habit of a user; if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance; and determining the category of the target wireless network as the POI category corresponding to the target position.
In one possible design, the apparatus further includes:
the wireless network transmitting position acquisition module is used for acquiring the transmitting position of the target wireless network;
the category determining module 320 is configured to determine whether a distance between the transmitting location of the target wireless network and the current location is within a second preset distance range; if so, determining the type of the target wireless network as the attribute information corresponding to the current position.
The embodiment of the present application provides a readable storage medium, and when being executed by a processor, the computer program performs the method process performed by the electronic device in the method embodiment shown in fig. 3.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method, and will not be described in too much detail herein.
In summary, the present application provides a method, an apparatus, an electronic device, and a storage medium for determining a category of a wireless network, where the method obtains a current location of a user when it is detected that the user terminal of the user is connected to a target wireless network at any location in a riding route, and then determines the category of the target wireless network based on at least attribute information corresponding to the current location.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (18)

1. A method for class determination for a wireless network, the method comprising:
when detecting that a user terminal of a user at any position of a riding journey of the user is connected with a target wireless network, acquiring the current position of the user;
and determining the category of the target wireless network at least based on the attribute information corresponding to the current position.
2. The method of claim 1, wherein when it is detected that a user terminal of a user is connected to a target wireless network at any position of a riding journey, acquiring a current position of the user currently, comprises:
when detecting that a user terminal of a user is connected with a target wireless network at any position of a riding journey, acquiring the time length for connecting the user terminal with the target wireless network;
judging whether the time length exceeds a preset time length or not;
if yes, the current position where the user is located currently is obtained.
3. The method according to claim 2, wherein after the time duration for the user terminal to connect to the target wireless network is obtained when it is detected that the user terminal of the user is connected to the target wireless network at any position in the riding journey, the method further comprises:
when detecting that a user terminal of a user at any position of a riding journey of the user is connected with a target wireless network, acquiring an initial position of the user;
determining the category of the target wireless network at least based on the attribute information corresponding to the current position, including:
and determining the category of the target wireless network at least based on the attribute information corresponding to the initial position and the attribute information corresponding to the current position.
4. The method of claim 3, wherein the attribute information is a POI (point of interest) category corresponding to a location, and determining the category of the target wireless network based on at least the attribute information corresponding to the initial location and the attribute information corresponding to the current location comprises:
judging whether the POI category corresponding to the current position meets a preset category, wherein the preset category is a category representing the behavior interest and/or habit of a user;
and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
5. The method of claim 4, wherein determining the category of the target wireless network as the POI category corresponding to the initial location comprises:
acquiring the distance between the initial position and the current position;
judging whether the distance between the initial position and the current position is greater than a first preset distance or not;
and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
6. The method of claim 2, wherein obtaining the current location of the user when the duration exceeds a preset duration comprises:
when the duration exceeds a preset duration, acquiring the current environment information of the user;
and if the environment information meets preset environment information, acquiring the current position of the user at present, wherein the preset environment information is information representing the behavior interest and/or habit of the user.
7. The method of claim 1, wherein the attribute information is a point of interest (POI) category corresponding to a location, and determining the category of the target wireless network based on at least the attribute information corresponding to the current location comprises:
judging whether the POI category corresponding to the current position meets a preset category, wherein the preset category is a category representing the behavior interest and/or habit of a user;
if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance;
and determining the category of the target wireless network as the POI category corresponding to the target position.
8. The method of claim 1, wherein after obtaining the current location of the user, before determining the category of the target wireless network based on at least attribute information corresponding to the current location, further comprising:
acquiring a transmitting position of the target wireless network;
determining the category of the target wireless network based on the attribute information corresponding to the current position, wherein the determining comprises:
judging whether the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range or not;
if so, determining the type of the target wireless network as the attribute information corresponding to the current position.
9. An apparatus for class determination for a wireless network, the apparatus comprising:
the system comprises a user position acquisition module, a target wireless network acquisition module and a target wireless network acquisition module, wherein the user position acquisition module is used for acquiring the current position of a user when detecting that the user terminal of the user is connected with the target wireless network at any position in a riding journey;
and the category determining module is used for determining the category of the target wireless network at least based on the attribute information corresponding to the current position.
10. The device according to claim 9, wherein the user location obtaining module is specifically configured to obtain a duration for the user terminal to connect to the target wireless network when it is detected that the user terminal of the user is connected to the target wireless network at any position of a riding trip; judging whether the time length exceeds a preset time length or not; if yes, the current position where the user is located currently is obtained.
11. The device according to claim 10, wherein the user location obtaining module is further configured to obtain an initial location of the user when detecting that the user terminal of the user is connected to the target wireless network at any location of the riding route;
the category determining module is configured to determine a category of the target wireless network based on at least the attribute information corresponding to the initial location and the attribute information corresponding to the current location.
12. The apparatus according to claim 11, wherein the attribute information is a POI category corresponding to a location, and the category determining module is configured to determine whether the POI category corresponding to the current location meets a preset category, where the preset category is a category that represents a behavioral interest and/or a habit of a user; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
13. The apparatus of claim 12, wherein the category determining module is further configured to obtain a distance between the initial location and the current location; judging whether the distance between the initial position and the current position is greater than a first preset distance or not; and if not, determining the category of the target wireless network as the POI category corresponding to the initial position.
14. The apparatus according to claim 10, wherein the user location obtaining module is further configured to obtain environmental information where the user is currently located when the duration exceeds a preset duration; and if the environment information meets preset environment information, acquiring the current position of the user at present, wherein the preset environment information is information representing the behavior interest and/or habit of the user.
15. The apparatus according to claim 9, wherein the attribute information is a POI category corresponding to a location, and the category determining module is configured to determine whether the POI category corresponding to the current location meets a preset category, where the preset category is a category that represents a behavioral interest and/or a habit of a user; if not, acquiring a target position closest to the current position, wherein the distance between the target position and the current position is smaller than or equal to a preset distance; and determining the category of the target wireless network as the POI category corresponding to the target position.
16. The apparatus of claim 9, further comprising:
the wireless network transmitting position acquisition module is used for acquiring the transmitting position of the target wireless network;
the category determination module is used for judging whether the distance between the transmitting position of the target wireless network and the current position is within a second preset distance range; if so, determining the type of the target wireless network as the attribute information corresponding to the current position.
17. An electronic device comprising a processor and a memory, said memory storing computer readable instructions which, when executed by said processor, perform the steps of the method of any of claims 1-8.
18. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201811463493.7A 2018-11-30 2018-11-30 Method and device for determining category of wireless network, electronic equipment and storage medium Pending CN111343564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811463493.7A CN111343564A (en) 2018-11-30 2018-11-30 Method and device for determining category of wireless network, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463493.7A CN111343564A (en) 2018-11-30 2018-11-30 Method and device for determining category of wireless network, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111343564A true CN111343564A (en) 2020-06-26

Family

ID=71185077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811463493.7A Pending CN111343564A (en) 2018-11-30 2018-11-30 Method and device for determining category of wireless network, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111343564A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364169A (en) * 2021-01-13 2021-02-12 北京云真信科技有限公司 Nlp-based wifi identification method, electronic device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573042A (en) * 2015-01-19 2015-04-29 小米科技有限责任公司 Method and device for determining POI information
CN107133689A (en) * 2017-04-19 2017-09-05 清华大学深圳研究生院 A kind of position mark method
CN107682811A (en) * 2017-10-19 2018-02-09 北京三快在线科技有限公司 A kind of localization method and device
CN107729459A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 Map interest point failure method for digging, device, equipment and computer-readable recording medium
CN108769905A (en) * 2018-05-31 2018-11-06 上海连尚网络科技有限公司 Method and device for the classification for determining wireless access point

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573042A (en) * 2015-01-19 2015-04-29 小米科技有限责任公司 Method and device for determining POI information
CN107133689A (en) * 2017-04-19 2017-09-05 清华大学深圳研究生院 A kind of position mark method
CN107729459A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 Map interest point failure method for digging, device, equipment and computer-readable recording medium
CN107682811A (en) * 2017-10-19 2018-02-09 北京三快在线科技有限公司 A kind of localization method and device
CN108769905A (en) * 2018-05-31 2018-11-06 上海连尚网络科技有限公司 Method and device for the classification for determining wireless access point

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364169A (en) * 2021-01-13 2021-02-12 北京云真信科技有限公司 Nlp-based wifi identification method, electronic device and medium
CN112364169B (en) * 2021-01-13 2022-03-04 北京云真信科技有限公司 Nlp-based wifi identification method, electronic device and medium

Similar Documents

Publication Publication Date Title
US20240236925A1 (en) System and Method for Matching Using Location Information
TWI696976B (en) Systems, methods, and non-transitory computer readable mediums for monitoring an on-demand service
AU2016208929B2 (en) Systems and methods for providing information for an on-demand service
US9488487B2 (en) Route detection in a trip-oriented message data communications system
US9377319B2 (en) Estimating times to leave and to travel
TWI669009B (en) Systems and methods for distributing a service request for an on-demand service
US9110982B1 (en) Method, system, and computer program product for obtaining crowd-sourced location information
US20180040245A1 (en) Public transportation navigator
TW201818342A (en) Systems and methods for determining a reference direction related to a vehicle
CN110753078B (en) Prompting method and device, electronic equipment and storage medium
US10972900B2 (en) Method and apparatus for providing selected access to user mobility data based on a quality of service
CN111866073A (en) Service site push analysis method and device, electronic equipment and storage medium
JP2021077296A (en) Information providing apparatus
US20210334917A1 (en) Method for providing real estate service using autonomous vehicle
JP6587400B2 (en) Server apparatus, information processing method, and program
CN111343564A (en) Method and device for determining category of wireless network, electronic equipment and storage medium
US10969235B2 (en) Secure data navigation
US20210150419A1 (en) Systems and methods for determining rideable vehicle locations
US20190295205A1 (en) Information processing apparatus and program
CN113761398B (en) Information recommendation method and device, electronic equipment and storage medium
US8874141B2 (en) Provision of information
CN111263300A (en) Method and device for determining category of wireless network, electronic equipment and storage medium
CN111263421A (en) Wireless network matching method and device, electronic equipment and storage medium
CN112465331A (en) Riding safety control method, model training method, device, equipment and medium
US9239239B2 (en) Geographic coordinates coding software product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20220614

AD01 Patent right deemed abandoned