CN108228610B - Method and equipment for storing and updating wireless access point data - Google Patents

Method and equipment for storing and updating wireless access point data Download PDF

Info

Publication number
CN108228610B
CN108228610B CN201611154939.9A CN201611154939A CN108228610B CN 108228610 B CN108228610 B CN 108228610B CN 201611154939 A CN201611154939 A CN 201611154939A CN 108228610 B CN108228610 B CN 108228610B
Authority
CN
China
Prior art keywords
wireless access
access point
target wireless
target
peripheral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611154939.9A
Other languages
Chinese (zh)
Other versions
CN108228610A (en
Inventor
万玉权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201611154939.9A priority Critical patent/CN108228610B/en
Publication of CN108228610A publication Critical patent/CN108228610A/en
Application granted granted Critical
Publication of CN108228610B publication Critical patent/CN108228610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method comprises the steps of storing acquired associated data corresponding to a target wireless access point into a database, wherein the associated data comprises a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and peripheral wireless access points corresponding to the target wireless access point; and then, updating the database according to the operation mode corresponding to the target wireless access point. And the storage of the wireless access point topological network is realized by using the lowest network overhead through the data structure form of the field. And the field comprises peripheral wireless access points corresponding to the target wireless access point, so that the association relationship among the wireless access points is solved, and each wireless access point is not an isolated point in a topological network due to the association relationship among the wireless access points, thereby providing a premise for realizing further interconnection and intercommunication of a future wireless access point network.

Description

Method and equipment for storing and updating wireless access point data
Technical Field
The present application relates to the field of computers, and in particular, to a method and device for storing and updating wireless access point data.
Background
With the development of communication technologies and user equipment (e.g., smart phones and tablet computers), the uplink and downlink data rates supported by wireless networks are increased by times, and now more and more applications are applied to data services. Wireless access point (Wifi hotspot) sharing is also increasingly sought by people as a function that can share a personal private network to others for use. At present, the relation between wireless hotspots is not drawn into a topological graph similar to a map based on hotspot sharing operation of a user, a wireless hotspot coordinate map is drawn based on the topological graph, and data storage of the established topological graph is modified, added, deleted and the like.
Content of application
An object of the present application is to provide a method and apparatus for storing and updating data of a wireless access point, which solve the problem of data storage and update of the wireless access point.
According to an aspect of the present application, there is provided a method for storing wireless access point data at a network device, the method comprising:
and storing the acquired associated data corresponding to the target wireless access point into a database, wherein the associated data comprises a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and peripheral wireless access points corresponding to the target wireless access point.
Further, the association data further includes one or more fields composed of one or any combination of the received signal strength of the target wireless access point, the connected device information and the IP address information.
Further, the obtained associated data corresponding to the target wireless access point is stored in a database, and the method includes at least any one of the following steps:
storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point;
storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point;
and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point.
Further, the method further comprises: and setting a storage quantity threshold value of the peripheral wireless access points corresponding to the target wireless access point in the field.
According to an aspect of the present application, there is also provided a method for updating wireless access point data stored at a network device, where the method includes:
and updating the database where the target wireless access point is located according to the operation mode corresponding to the target wireless access point.
Further, in the above method, updating the database where the target wireless access point is located according to the operation mode corresponding to the target wireless access point includes:
modifying association data in a stored field of a target wireless access point in the database;
adding a newly acquired target wireless access point and a corresponding peripheral wireless access point to the database;
and judging whether an overdue target wireless access point exists in the database, and if so, deleting the overdue target wireless access point.
Further, modifying the association data in the stored field of the target wireless access point in the database includes:
modifying the geographic location information in the stored field of the target wireless access point;
modifying peripheral wireless access points in the stored field of the target wireless access point.
Further, modifying the geographic location information in the stored field of the target wireless access point includes at least any one of:
modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point;
modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point;
and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point.
Further, modifying the peripheral wireless access points in the stored field of the target wireless access point comprises:
acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by the user equipment at different geographic positions;
and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result.
Further, obtaining a comparison result by comparing the received signal strength or/and the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored field of the target wireless access point according to the comparison result, including:
obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point;
and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the storage quantity threshold value.
Further, adding a newly acquired target wireless access point and a peripheral wireless access point corresponding to the target wireless access point to the database includes:
and adding the newly acquired target wireless access point and the corresponding peripheral wireless access points thereof into the database in a full data updating mode according to a preset period.
Further, adding a newly acquired target wireless access point and a peripheral wireless access point corresponding to the target wireless access point to the database includes:
and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database.
Further, after adding a newly acquired target wireless access point and a peripheral wireless access point corresponding to the target wireless access point to the topology database, the method includes:
and modifying the geographical position information in the stored field of the newly acquired target wireless access point.
Further, determining whether an expired target wireless access point exists in the database, and if yes, deleting the expired target wireless access point, including:
judging whether at least one user equipment connected with a target wireless access point in the topological network exists when the time is greater than a preset time threshold, and if not, feeding back peripheral wireless access points corresponding to the target wireless access point to the user equipment;
receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point;
and deleting the expired target wireless access point.
According to an aspect of the present application, there is also provided a method for updating a wireless access point topology network at a network device, the method including:
acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in a database;
establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; and updating the topological network according to the storage update of the target wireless access point in the database.
Further, the method comprises:
acquiring a request of a target wireless access point sent by user equipment and identification information of peripheral wireless access points of the target wireless access point;
determining a reference wireless access point with the same or similar identification information in a wireless access point topological network based on the identification information of the target wireless access point;
and determining whether the target wireless access point is at risk by comparing the identification information of the target wireless access point with the identification information of the peripheral wireless access points of the reference wireless access point.
According to another aspect of the present application, there is provided a method for storing wireless access point data at a user equipment, the method comprising:
determining a target wireless access point according to the wireless access point connected with the user;
and sending the target wireless access point and the corresponding peripheral wireless access points to network equipment.
According to yet another aspect of the present application, there is provided a method of storing wireless access point data, the method comprising:
the user equipment determines a target wireless access point according to the wireless access point connected with the user;
the user equipment sends the target wireless access point and the corresponding peripheral wireless access points to network equipment;
the network equipment stores the acquired associated data corresponding to the target wireless access point to a database, wherein the associated data comprises a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and corresponding peripheral wireless access points.
According to an aspect of the present application, there is also provided a network device storing wireless access point data, the network device including:
and the storage device is used for storing the acquired associated data corresponding to the target wireless access point to a database, wherein the associated data comprises a plurality of fields consisting of the identification information, the access information and the geographical position information of the target wireless access point and the corresponding peripheral wireless access points.
Further, the association data further includes one or more fields composed of one or any combination of the received signal strength of the target wireless access point, the connected device information and the IP address information.
Further, the storage device is used for at least any one of the following:
storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point;
storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point;
and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point.
Further, the network device further includes:
and the threshold setting device is used for setting the storage quantity threshold of the peripheral wireless access points corresponding to the target wireless access point in the field.
According to another aspect of the present application, there is also provided a network device for updating wireless access point data stored at a network device side, wherein the network device includes:
and the operating device is used for updating the database where the target wireless access point is located according to the operating mode corresponding to the target wireless access point.
Further, the operating device is configured to:
modifying association data in a stored field of a target wireless access point in the database;
adding a newly acquired target wireless access point and a corresponding peripheral wireless access point to the database;
and judging whether an overdue target wireless access point exists in the database, and if so, deleting the overdue target wireless access point.
Further, the operating device is configured to:
modifying the geographic location information in the stored field of the target wireless access point;
modifying peripheral wireless access points in the stored field of the target wireless access point.
Further, the operating device is used for at least any one of the following:
modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point;
modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point;
and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point.
Further, the operating device is configured to:
acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by the user equipment at different geographic positions;
and obtaining a comparison result by comparing the received signal strength or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored field of the target wireless access point according to the comparison result.
Further, the operating device is configured to:
obtaining a comparison result by comparing the received signal strength or distance between the target wireless access point and each peripheral wireless access point;
and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the storage quantity threshold value.
Further, the operating device is configured to:
and adding the newly acquired target wireless access point and the corresponding peripheral wireless access points thereof into the database in a full data updating mode according to a preset period.
Further, the operating device is configured to:
and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database.
Further, the operating device is further configured to:
and modifying the geographical position information in the stored field of the newly acquired target wireless access point.
Further, the operating device is configured to:
judging whether at least one user equipment connected with a target wireless access point in the topological network exists when the time is greater than a preset time threshold, and if not, feeding back peripheral wireless access points corresponding to the target wireless access point to the user equipment;
receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point;
and deleting the expired target wireless access point.
According to another aspect of the present application, there is also provided a network device for wireless access point topology network update, the network device including:
the query device is used for acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database;
the establishing device is used for establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points;
and the updating device is used for updating the topological network according to the storage update of the target wireless access point in the database.
Further, the network device includes:
the device comprises an acquisition device, a processing device and a processing device, wherein the acquisition device is used for acquiring a request of a target wireless access point sent by user equipment and identification information of peripheral wireless access points of the target wireless access point;
the comparison device is used for determining a reference wireless access point with the same or similar identification information in a wireless access point topological network based on the identification information of the target wireless access point;
and the judging device is used for comparing the identification information of the target wireless access point and the peripheral wireless access points of the reference wireless access point to determine whether the target wireless access point has risks.
According to another aspect of the present application, there is also provided a user equipment storing wireless access point data, the user equipment comprising:
determining means for determining a target wireless access point from the wireless access points to which the user is connected;
and the sending device is used for sending the target wireless access point and the corresponding peripheral wireless access points to the network equipment.
According to yet another aspect of the present application, there is also provided a system for storing wireless access point data, the system including: a network device and a user device, and,
the user equipment determines a target wireless access point according to the wireless access point connected with the user;
the user equipment sends the target wireless access point and the corresponding peripheral wireless access points to network equipment;
the network equipment stores the acquired associated data corresponding to the target wireless access point to a database, wherein the associated data comprises a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and corresponding peripheral wireless access points;
and the network equipment updates the database according to the operation mode corresponding to the target wireless access point.
Compared with the prior art, the method and the device have the advantages that the obtained associated data corresponding to the target wireless access point are stored in the database, wherein the associated data comprise a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and the corresponding peripheral wireless access points; and then, updating the database according to the operation mode corresponding to the target wireless access point. And the storage of the wireless access point topological network is realized by using the lowest network overhead through the data structure form of the field.
Further, in the application, the field stored in the database includes the peripheral wireless access points corresponding to the target wireless access point, so that the association relationship between the wireless access points is solved, and a series of judgments are made based on the association relationship; in addition, each wireless access point is not an isolated point in the topological network due to the association relationship among the wireless access points, but has the wireless access points which are associated with each other, thereby providing a premise for further interconnection and intercommunication of the future wireless access point network.
Further, acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database; establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; and updating the topological network according to the storage update of the target wireless access point in the database, thereby ensuring the feasibility of the generated topological network, effectively improving the accuracy of the topological network by performing operations such as addition, deletion, modification, search and the like on the topological network, and facilitating the use of users.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 illustrates a flow diagram of a method of updating wireless access point data stored at a network device in accordance with an aspect of the subject application;
FIG. 2 is a schematic diagram illustrating a three-point positioning method for determining coordinates of a target wireless access point in a preferred embodiment of the present application;
FIG. 3 illustrates a schematic structural diagram of a network device for data store updating of a wireless access point, according to an aspect of the subject application;
fig. 4 shows a schematic structural diagram of a network device for updating a wireless access point topology network in a preferred embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
According to one aspect of the present application, there is provided a method for storing wireless access point data at a network device, the method comprising: step S11, wherein, in step S11, the acquired associated data corresponding to the target wireless access point is stored in a database, wherein the associated data comprises a plurality of fields composed of the identification information, the access information, the geographic position information and the corresponding peripheral wireless access points of the target wireless access point;
specifically, in step S11, the obtained association data corresponding to the target wireless access point is stored in a database, where the association data includes multiple fields composed of hotspot identification information, access information, geographic location information of the target wireless access point, and its corresponding peripheral wireless access points. When the acquired target wireless access point and the corresponding peripheral wireless access points are stored, the target wireless access point and the corresponding peripheral wireless access points are stored in a database at the network equipment end in the form of a data structure including a plurality of fields, wherein the fields include: the wireless access point identification method comprises identification information (SSID, BSSID) of each target wireless access point, access information, geographic position information and corresponding peripheral wireless access points, wherein the identification information comprises the SSID and the BSSID, the access information can comprise password information, and the geographic position information can be represented by longitude and latitude. Compared with the traditional storage mode, the field data structure mode in the embodiment of the application realizes the storage of the wireless access point topological network with the lowest network overhead.
In addition, the storage method in the embodiment of the present application adds the peripheral wireless access points, thereby solving the association relationship between the wireless access points, and making a series of judgments based on the association relationship, such as judgment of the moving rows of the wireless access points, identification of the emulational hotspot, and the like. Moreover, after the association relationship among the wireless access points exists, each wireless access point is not an isolated point but an associated access point, and the wireless access points with the association relationship can be utilized to form a topological network, so that the premise is provided for further interconnection and intercommunication of the future WiFi network.
Preferably, the association data further includes one or more fields composed of one or any combination of received signal strength, connected device information and IP address information of the target wireless access point. Here, the field may further include received signal strength, connection device information, and IP address information, where the connection device information includes location information of the connection device and identification information of the connection device, so as to further improve information of the target wireless access point in the topology network, and facilitate subsequent operations such as deleting, modifying, and adding the topology network.
In an embodiment of the present application, a large amount of data associated with the wireless access point is stored in the database, and query is performed according to a data storage manner when querying an object. In the embodiment of the present application, the target wireless access point is a1, and the peripheral wireless access points are a2, A3 and a4, the storage and query manners may include the following manners:
when the object queried in the database is the identification information of the target wireless access point, the storage manner of the associated data may be: storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point; here, when the object of the query is the identification information of a1, the storage format may be as shown in table 1:
Figure BDA0001180495180000121
TABLE 1
The storage format may also be as shown in table 2,
Figure BDA0001180495180000131
TABLE 2
In table 1 and table 2 above, the identification information a1-SSID and a1-BSSID are respectively the service set identification and basic service set identification of the target wireless access point, a2-SSID, A3-SSID and a4-SSID are respectively the service set identifications of the neighboring wireless access points a2, A3 and a4, and a2-BSSID, A3-BSSID and a4-BSSID are respectively the basic service set identifications of the neighboring wireless access points a2, A3 and a 4.
When the object queried in the database is the identification information and the geographic location information of the target wireless access point, the storage manner of the associated data may be: storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point; here, when the query is targeted to the identification information and the geographical location information of a1, the storage format may be as shown in table 3:
Figure BDA0001180495180000132
TABLE 3
When the object queried in the database is the pointer identifier of the target wireless access point, the storage manner of the associated data may be: and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point. Here, the association data of each wireless access point is stored in a piece of data, and a pointer identifier may be assigned to each piece of data so as to be referenced by the data pieces of other wireless access points. When the object of the query is the pointer identification of the target wireless access point a1, then the storage format may be as shown in table 4:
Figure BDA0001180495180000141
TABLE 4
In table 4, a1-REFID indicates the pointer id of the target wireless access point a1, and a2-REFID, A3-REFID, and a4-REFID indicate the pointer ids of the neighboring wireless access points a2, A3, and a4, respectively.
To sum up, in the embodiment of the present application, any one of the storage formats in tables 1 to 4 is adopted, so that the storage of the associated data of the wireless access point is completed under the condition of low network overhead, the storage efficiency is high, the query efficiency is improved when the object is queried, the subsequent operations such as modification and deletion of the stored data in the database are facilitated, and the storage and update efficiency of the data is improved.
Fig. 1 is a flowchart illustrating a method for updating wireless access point data stored at a network device according to an aspect of the present application, and after performing the data storage of step S11, the present application further provides a method for updating wireless access point data stored at a network device, the method includes steps S12,
in step S12, updating the database according to the operation mode corresponding to the target wireless access point; here, the operation mode corresponding to the target wireless access point may include operations of modifying a geographic location of the target wireless access point, a peripheral wireless access point corresponding to the target wireless access point, adding a new target wireless access point, deleting an expired target wireless access point, and the like, and may also be an operation of searching the target wireless access point or the peripheral wireless access point thereof in the database to implement an application of an association relationship established in the database by using each target wireless access point, such as modifying an established topology network, thereby performing an update operation, such as operations of adding, deleting, modifying, searching, and the like, on the topology network, effectively improving accuracy of the topology network, and ensuring implementability of the generated topology network.
The application also provides a method for updating the wireless access point topological network at the network equipment end, which comprises the following steps: step S11', obtaining the target wireless access point and the corresponding peripheral wireless access point from the field of the wireless access point stored in the database; step S12', a topological network among a plurality of target wireless access points is established based on the target wireless access points and the corresponding peripheral wireless access points; and step S13', updating the topological network according to the storage update of the target wireless access point in the database. Therefore, the vacancy that a topological network among a plurality of target wireless access points is not established in the prior art is made up, and the established topological network is utilized to realize risk judgment based on the topological network; the topological network is updated, such as adding, deleting, modifying, searching and the like, so that the accuracy of the topological network is effectively improved, the feasibility of the generated topological network is ensured, and the use by a user is facilitated.
Specifically, in step S11', a target wireless access point and its corresponding neighboring wireless access points are obtained from fields of wireless access points stored in the database; in the embodiment of the application, a target wireless access point is obtained from a field of a wireless access point stored in a database, and the information of peripheral wireless access points of the target wireless access point is obtained; here, when a user performs a sharing operation of a wireless access point through a user device, for example, when a wireless access point name, a password, etc. of a certain wireless access point are shared in a cloud database for storage, the wireless access point is a target wireless access point, the cloud obtains the wireless access point name, the password, etc. of the target wireless access point and also obtains peripheral wireless access point information of the target wireless access point, the peripheral wireless access points of the target wireless access point are some wireless access points obtained by scanning a geographic position of the user device when the user device currently shares the wireless access point, the peripheral wireless access point information includes a wireless access point name (SSID), a BSSID or a MAC address, a Received Signal Strength (RSSI), a geographic position, and base station information, so as to compare with peripheral wireless access point information of other target wireless access points according to the obtained peripheral wireless access point information, and determining whether an intersection relation exists, and drawing a wireless access point topological network graph by using the intersection relation.
Next, step S12' is executed to establish a topology network among the plurality of target wireless access points based on the target wireless access point and its corresponding neighboring wireless access points. Here, a wireless access point topology network is determined according to an intersection relationship between peripheral wireless access point information of a plurality of target wireless access points, wherein the wireless access point topology network includes the target wireless access point information and corresponding peripheral wireless access point information. In one embodiment, the peripheral wireless access points of one target wireless access point A are a, B, c and d, the peripheral wireless access points of another target wireless access point B are a, B, e and f, determining as wireless access points a and B according to the intersection between the respective peripheral wireless access points of the target wireless access points a and B, connecting a target wireless access point A and a target wireless access point B with wireless access points a and B respectively in a wireless topological network diagram, and the wireless access point names, the geographic positions, the received signal strengths and other attribute information of the target wireless access point A and the target wireless access point B are drawn in a topological graph, and attribute information such as wireless access point names, geographical positions, received signal strengths, base station information and the like of the wireless access points a and b are plotted in the topological graph, namely, the connection relation among the wireless access points and the attribute information of the wireless access points are in the topological graph. Here, the target wireless access point B may be a peripheral wireless access point of the target wireless access point a, and the cloud determines the target wireless access point based on the sharing operation of the user equipment through the sharing operation of the user equipment, and each target wireless access point in the wireless topology network may be a peripheral wireless access point of another target wireless access point and does not exist in the wireless access point topology network map in an isolated manner, so that the risk judgment of the wireless access point can be performed by using the generated wireless access point topology network map, and a risky wireless access point such as an emulational wireless access point and a phishing wireless access point can be located.
Specifically, in step S13', the topological network is updated according to the stored update of the target wireless access point in the database. Here, the operation mode corresponding to the target wireless access point may include operations of modifying a geographic location of the target wireless access point, a peripheral wireless access point corresponding to the target wireless access point, adding a new target wireless access point, deleting an expired target wireless access point, and the like, and updating the database by using the operation on the target wireless access point in the database, where the topology network is established based on data storage of the wireless access point in the database, and therefore, when the topology network is updated, a corresponding operation needs to be performed according to the update of the database, and in addition, the target wireless access point or the peripheral wireless access point thereof is searched in the topology network to implement application of the topology network. Therefore, the topological network is updated, such as addition, deletion, modification, search and other operations, the accuracy of the topological network is effectively improved, and the feasibility of the generated topological network is ensured.
Preferably, step S12 includes: step S121, modifying the associated data in the stored field of the target wireless access point in the database; step S122, adding a newly acquired target wireless access point and peripheral wireless access points corresponding to the target wireless access point into the database; step S123, judging whether an overdue target wireless access point exists in the database, if yes, deleting the overdue target wireless access point. Here, step S121 includes: modifying the geographic location information in the stored field of the target wireless access point and modifying the neighboring wireless access points in the stored field of the target wireless access point. When a new target wireless access point is found, step S122 is performed, and the target wireless access point and its corresponding peripheral wireless access points need to be added to the database, so as to update the data storage of the target wireless access point in the database; if some target wireless access points may be expired and invalid in the stored data of the database, step S123 is performed, and if it is determined that the target wireless access points are expired, the expired target wireless access points need to be deleted from the database.
In this embodiment of the application, in step S121, the modifying the geographic location information in the stored field of the target wireless access point includes at least any one of the following: modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point; modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point; and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point.
Here, when the geographic location of the target wireless access point is updated, the target wireless access point may be located by the geographic location of the user equipment connected to the target wireless access point and/or the geographic location of the peripheral wireless access point corresponding to the user equipment, and a more accurate geographic location of the target wireless access point is obtained. When positioning a target wireless access point, for example, positioning may be performed according to the geographic location of one or more user equipments connected to the target wireless access point, and at this time, a course to an accurate update process may be performed, that is, positioning is performed multiple times, and accuracy is gradually performed; the target wireless access point can also be accurately positioned by using three user equipment connected with the target wireless access point directly by using a three-point positioning method.
Optionally, three user equipments may be selected to position the target wireless access point according to a three-point positioning method, and the specific implementation manner may be: determining any three user equipment having history sharing operation on the target wireless access point, and acquiring the geographical positions and the received signal strength of the three user equipment in the wireless access point topological network when the three user equipment have history sharing operation on the target wireless access point; and determining the actual geographic position of the target wireless access point according to the geographic positions and the received signal strengths of the three user equipment in the wireless access point topological network. Here, as shown in fig. 2, a schematic diagram of determining coordinates of a target wireless access point by using a three-point positioning method in a preferred embodiment of the present application is shown, where each wireless access point has received signal strength, and when the user equipment is at different distances from the wireless access point, the received signal strength is different, and the distance from the current user equipment to the wireless access point can be calculated, so that the coordinates of the target wireless access point in a wireless access point topology network diagram can be determined according to a three-point positioning rule and an actual coordinate position of each user equipment, and a specific process is as follows: determining any three user equipments, such as the user equipment A, B, C, having a history sharing operation on the target wireless access point a, and acquiring a geographical location and a received signal strength of the user equipment A, B, C having a history sharing operation on the target wireless access point a, wherein the geographical location is represented by longitude and latitude, such as the longitude and latitude of the user equipment a is (la1, lo1), the signal strength of the received target wireless access point a is rsi 1, the longitude and latitude of the user equipment B is (la2, lo2), the signal strength of the received target wireless access point a is rsi 2, the longitude and latitude of the user equipment a is (la3, lo3), the signal strength of the received target wireless access point a is rsi 3, the received signal strength is converted into a distance with the current longitude and latitude center of each user equipment as the center of a circle, and if the received signal strength is-70 dbm, the converted into a distance representing that the current user equipment is 300m away from the target wireless access point, the received signal strength is-20 dbm, the conversion into the distance represents that the distance between the current user equipment and the target wireless access point is 800m, the method for converting the received signal strength into the distance is only an example, circles are drawn by taking the converted distance as a radius to obtain three circles, and the longitude and latitude at the intersection of the three circles are taken as the coordinates of the target wireless access point a, so that the geographic position of the target wireless access point a can be more accurately positioned, and the geographic position stored in the field is modified.
Preferably, in step S121, modifying the peripheral wireless access points in the stored field of the target wireless access point includes: acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by the user equipment at different geographic positions; and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result. Here, when peripheral wireless access points of the target wireless access point are modified, several peripheral wireless access points closest to the target wireless access point may be determined by comparing the received signal strength of each peripheral wireless access point with the received signal strength of the target wireless access point, and several peripheral wireless access points closest to the target wireless access point may be obtained by using the geographical location information of the target wireless access point and each peripheral wireless access point, so as to update the peripheral wireless access points of the target wireless access point in the topology network. Of course, the received signal strength in combination with the geographical location information may also be used to update the surrounding wireless access points.
It should be noted that the association relationship of the peripheral wireless access points and the geographic position information of the peripheral wireless access points are stored, so that the geographic position of the target wireless access point can be updated more accurately; the more accurate position information of the target wireless access point can promote the position update of the peripheral wireless access points.
In one embodiment, when the user equipment connects to the target wireless access point a at a certain position a, the scanned peripheral wireless access points are a1, a2 and A3, and a1, a2 and A3 are stored in the field of the association data of the target wireless access point a, and when the user equipment connects to the target wireless access point a at another position b, the scanned peripheral wireless access points are a1, A3, a4 and a5, it is necessary to update the peripheral wireless access points previously stored in the field, including storing the peripheral wireless access points that have not appeared before, and also updating to compare the difference between the received signal strength of a1, a2 and A3 at position a and the received signal strength of the target wireless access point a, and simultaneously comparing the received signal strength of a4 and a5 at position b and the received signal strength of the target wireless access point a, and selecting the first few peripheral wireless access points with the smallest difference, for example, if a1, A3, and a4 are selected, the peripheral wireless access points already stored in the field are updated, and as a result, a1, A3, and a4 are stored in the field of the association data of the target wireless access point a.
Preferably, the method further comprises: step S01, setting a threshold of the storage number of the peripheral wireless access points corresponding to the target wireless access point in the field. Here, in order to reduce network overhead, a storage number threshold may be set when storing the peripheral wireless access points corresponding to the target wireless access point.
When the threshold of the storage number of the peripheral wireless access points is set, in step S121, a comparison result is obtained by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point; and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the storage quantity threshold value. For example, the threshold of the storage number of neighboring wireless access points is set to 3, the user equipment 1 detects that wireless access points B2, B3, B4, and B5 are around the target wireless access point B1, the received signal strengths are sequentially weakened, the received signal strengths of B1-B5 are respectively set to p1-p5, the distances between neighboring wireless access points corresponding to three received signal strengths having the closest received signal strengths to p1, that is, the minimum difference between the received signal strengths are the closest, and the neighboring wireless access points stored in the field before updating are performed using the three selected neighboring wireless access points having the minimum received signal strength difference. Of course, the stored peripheral wireless access points may also be updated using the difference between the geographic location of the target wireless access point and the geographic locations of the peripheral wireless access points.
In the embodiment of the present application, it is further noted that when the target wireless access point is stored to be used for generating the topology network, if the wireless access points of the same or similar identification information sent by multiple user equipment are simultaneously acquired, the target wireless access point is determined according to the determination rule. For example, if the sharing operation of multiple user equipment on the same or similar wireless access point names is acquired at the same time, the target wireless access point is determined according to the judgment rule. After a target wireless access point is determined according to the sharing operation of the user equipment and the information of the peripheral wireless access points of the target wireless access point is acquired, if the sharing operation of the plurality of user equipment on the same or similar wireless access point names is acquired at the same time, it is required to judge which wireless access point corresponding to the sharing operation of the user equipment is the target wireless access point.
In a specific embodiment, the determination rule includes at least any one of: if the wireless access points of the same or similar identification information sent by a plurality of user equipment are simultaneously obtained, the wireless access point sent by each user equipment is used as the target wireless access point; if the wireless access points of the same or similar identification information sent by a plurality of user equipment are simultaneously obtained, the wireless access point sent by each user equipment is not taken as the target wireless access point; and if the wireless access points of the same or similar identification information sent by the plurality of user equipment are acquired simultaneously, and the wireless access point sent by each user equipment is determined, selecting one wireless access point from the plurality of wireless access points as the target wireless access point. Optionally, selecting one wireless access point from a plurality of wireless access points as the target wireless access point may be implemented as follows: and determining the target wireless access point according to the received signal strength of each wireless access point.
The following implementations are also possible: and judging whether auxiliary wireless access points with the same or similar identification information exist among the plurality of wireless access points, and if so, determining the target wireless access point according to the received signal strength of the auxiliary wireless access points with the same or similar identification information corresponding to each wireless access point. For example, a target wireless access point a sent by multiple user equipment is acquired simultaneously, and an auxiliary wireless access point corresponding to the target wireless access point a sent by the first user equipment is a: -20db, secondary wireless access point b: -50 db; the auxiliary wireless access point corresponding to the target wireless access point a sent by the second user equipment is a: -30db, secondary wireless access point c: -60 db; it is determined which user equipment transmits the target wireless access point a to be reserved based on the received signal strength of the common auxiliary wireless access point a, for example, the target wireless access point a transmitted by the first user equipment is taken as the target wireless access point in the topological network, and its corresponding auxiliary wireless access points a and b are both reserved.
Preferably, in step S122, the newly acquired target wireless access point and the corresponding peripheral wireless access points thereof may be added to the database in a full data update manner according to a preset period. The method can also comprise the following steps: and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database. When a new target wireless access point is found, the new target wireless access point and the corresponding peripheral wireless access points thereof need to be added into the topology network, and a full-volume updating mode and an incremental updating mode can be used, wherein the full-volume updating mode needs to set a period and periodically updates the topology network in the database; the incremental updating mode is not required to be regular, and when a new target wireless access point is found, a piece of data (comprising a plurality of fields) corresponding to the new target wireless access point is written into the database in an incremental mode to expand the topology network. However, after adding a newly acquired target wireless access point and its corresponding peripheral wireless access points to the topology network, the method includes: and modifying the geographical position information in the stored field of the newly acquired target wireless access point. Because the geographical location information of the target wireless access point may not be accurate when the information of the new target wireless access point is put into storage, it is also necessary to more accurately locate the new target wireless access point. When a new target wireless access point is located, the geographical position of the new target wireless access point may be located by using the geographical positions of the neighboring wireless access points of the new target wireless access point and/or the geographical position of the user equipment connected to the new target wireless access point.
Preferably, in step S123, it is determined whether at least one user equipment connected to a target wireless access point in the topology network exists when the time is greater than a preset time threshold, and if not, neighboring wireless access points corresponding to the target wireless access point are fed back to the user equipment; receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point; and deleting the expired target wireless access point.
Here, when there is a target wireless access point in the topology network and no user equipment is connected to use the target wireless access point within a time period exceeding a preset period, it needs to determine whether the target wireless access point is really an expired target wireless access point, and the determination method is as follows: firstly, user equipment is required to be used for connecting the target wireless access point, if no record of successful connection of the user equipment exists within a period of time, further judgment is required, the target wireless access point is searched by using the peripheral wireless access points of the target wireless access point, and if the target wireless access point is not searched when the user equipment is connected with the peripheral wireless access points, the target wireless access point is determined to be an overdue target wireless access point and needs to be deleted in the topological network.
The method provided by the application can be used for performing operations such as addition, modification and deletion on the topological network, so that the accuracy of the topological network graph is effectively improved, and the feasibility of the implementation of the topological network is ensured. For example, a more implementable topology network is used to make a risk determination for a wireless access point. The method comprises the following specific steps:
acquiring a request of a target wireless access point sent by user equipment and identification information of peripheral wireless access points of the target wireless access point; determining a reference wireless access point with the same or similar identification information in a wireless access point topological network based on the identification information of the target wireless access point; and determining whether the target wireless access point is at risk by comparing the identification information of the target wireless access point with the identification information of the peripheral wireless access points of the reference wireless access point.
Here, the updated topological network diagram of the wireless access points is used to determine the risk of the wireless access points, and locate risky wireless access points such as emulational wireless access points and phishing wireless access points, in a specific embodiment, a user requests to obtain a connection password of the wireless access point B, a cloud obtains a connection request of the user of the wireless access point B, and simultaneously obtains peripheral wireless access points of the wireless access point B, and determines target wireless access point information and peripheral wireless access point information corresponding to the primary key information in the topological network according to the primary key information in the name of the wireless access point B, wherein the primary key information is generated by SSID and BSSID of the wireless access point, for example, the name of the wireless access point B is aabb, the primary key information is aabb, and the target wireless access point a corresponding to aabb is found in the topological network according to aabb, comparing the peripheral wireless access points of the wireless access point B with the peripheral wireless access points of the target wireless access point A, if the peripheral wireless access points are different, indicating that the wireless access point B is an isolated point in the topological network diagram and has a risk, further judging whether the risk exists or not, further judging according to the SSID, the BSSID, the base station information and the geographic position of the wireless access point B, and feeding back the final risk judgment result to the user.
According to another aspect of the present application, there is provided a method for storing wireless access point data at a user equipment, the method comprising: step S21, determining a target wireless access point according to the wireless access point connected by the user; and step S22, sending the target wireless access point and the corresponding peripheral wireless access points to network equipment. The topological network diagram of the network equipment end is established based on the target wireless access point and the corresponding surrounding wireless access points, and the user equipment sends the wireless access points connected with the user equipment and the surrounding wireless access points scanned by the current equipment to the network equipment end so as to provide a data basis for the network equipment end to establish the wireless access point topological network.
According to yet another aspect of the present application, there is provided a method for data storage update of a wireless access point, the method comprising: step S21, the user equipment determines a target wireless access point according to the wireless access point connected by the user; step S22, the user equipment sends the target wireless access point and the corresponding peripheral wireless access points to network equipment; step S11, the network device stores the obtained associated data corresponding to the target wireless access point to a database, wherein the associated data comprises a plurality of fields composed of the identification information, the access information and the geographical position information of the target wireless access point and the corresponding peripheral wireless access points; step S12, the network device updates the database according to the operation mode corresponding to the target wireless access point. According to the method, the storage of the wireless access point topological network is completed with the lowest network overhead through the data structure form of the field. And the field comprises peripheral wireless access points corresponding to the target wireless access point, so that the association relationship among the wireless access points is solved, and each wireless access point is not an isolated point in a topological network due to the association relationship among the wireless access points, thereby providing a premise for realizing further interconnection and intercommunication of a future wireless access point network.
Further, the network equipment acquires a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database; establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; and updating the topological network according to the storage update of the target wireless access point in the database. Therefore, the method makes up the vacancy of the wireless access point topological network which does not exist in the prior art, can realize the judgment of the risk of the wireless access point, the identification of some simulation requests of non-clients and the positioning of a target wireless access point, effectively improves the accuracy of the topological network by adding, deleting, modifying, searching and other operations of the topological network, further ensures the feasibility of the generated topological network, has high use value and provides more convenient service in the field of the wireless access point for users.
According to one aspect of the application, a network device for data storage of a wireless access point is also provided; the network device includes: and the storage device 11 is configured to store the acquired association data corresponding to the target wireless access point in a database, where the association data includes a plurality of fields composed of identification information, access information, geographic location information of the target wireless access point, and peripheral wireless access points corresponding to the target wireless access point.
Specifically, the storage device 11 is configured to store the acquired association data corresponding to the target wireless access point in a database, where the association data includes a plurality of fields composed of identification information, access information, geographic location information of the target wireless access point, and peripheral wireless access points corresponding to the target wireless access point. When the acquired target wireless access point and the corresponding peripheral wireless access points are stored, the target wireless access point and the corresponding peripheral wireless access points are stored in a database at the network equipment end in the form of a data structure including a plurality of fields, wherein the fields include: the wireless access point identification method comprises identification information (SSID, BSSID) of each target wireless access point, access information, geographic position information and corresponding peripheral wireless access points, wherein the identification information comprises the SSID and the BSSID, the access information can comprise password information, and the geographic position information can be represented by longitude and latitude. Compared with the traditional storage mode, the field data structure mode in the embodiment of the application realizes the storage of the wireless access point topological network with the lowest network overhead.
In addition, the storage method in the embodiment of the present application adds the peripheral wireless access points, thereby solving the association relationship between the wireless access points, and making a series of judgments based on the association relationship, such as judgment of the moving rows of the wireless access points, identification of the emulational hotspot, and the like. Moreover, after the association relationship among the wireless access points exists, each wireless access point is not an isolated point but an associated access point, and the wireless access points with the association relationship can be utilized to form a topological network, so that the premise is provided for further interconnection and intercommunication of the future WiFi network.
Preferably, the association data further includes one or more fields composed of one or any combination of received signal strength, connected device information and IP address information of the target wireless access point. Here, the field may further include received signal strength, connection device information, and IP address information, where the connection device information includes location information of the connection device and identification information of the connection device, so as to further improve information of the target wireless access point in the topology network, and facilitate subsequent operations such as deleting, modifying, and adding the topology network.
In an embodiment of the present application, a large amount of data associated with the wireless access point is stored in the database, and query is performed according to a data storage manner when querying an object. In the embodiment of the present application, the target wireless access point is a1, and the peripheral wireless access points are a2, A3 and a4, the storage and query manners may include the following manners:
when the object queried in the database is the identification information of the target wireless access point, the storage manner of the associated data may be: storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point; here, when the object of the query is the identification information of a1, the storage format may be as shown in table 1:
Figure BDA0001180495180000261
TABLE 1
The storage format may also be as shown in table 2,
Figure BDA0001180495180000262
TABLE 2
In table 1 and table 2 above, the identification information a1-SSID and a1-BSSID are respectively the service set identification and basic service set identification of the target wireless access point, a2-SSID, A3-SSID and a4-SSID are respectively the service set identifications of the neighboring wireless access points a2, A3 and a4, and a2-BSSID, A3-BSSID and a4-BSSID are respectively the basic service set identifications of the neighboring wireless access points a2, A3 and a 4.
When the object queried in the database is the identification information and the geographic location information of the target wireless access point, the storage manner of the associated data may be: storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point; here, when the query is targeted to the identification information and the geographical location information of a1, the storage format may be as shown in table 3:
Figure BDA0001180495180000263
TABLE 3
When the object queried in the database is the pointer identifier of the target wireless access point, the storage manner of the associated data may be: and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point. Here, the association data of each wireless access point is stored in a piece of data, and a pointer identifier may be assigned to each piece of data so as to be referenced by the data pieces of other wireless access points. When the object of the query is the pointer identification of the target wireless access point a1, then the storage format may be as shown in table 4:
Figure BDA0001180495180000271
TABLE 4
In table 4, a1-REFID indicates the pointer id of the target wireless access point a1, and a2-REFID, A3-REFID, and a4-REFID indicate the pointer ids of the neighboring wireless access points a2, A3, and a4, respectively.
To sum up, in the embodiment of the present application, any one of the storage formats in tables 1 to 4 is adopted, so that the storage of the associated data of the wireless access point is completed under the condition of low network overhead, the storage efficiency is high, the query efficiency is improved when the object is queried, the subsequent operations such as modification and deletion of the stored data in the database are facilitated, and the storage and update efficiency of the data is improved.
Fig. 3 is a schematic structural diagram of a network device for updating data storage of a wireless access point according to an aspect of the present application, and after the storage device 11 stores data of a target wireless access point, the present application further provides a network device for updating data of a wireless access point stored at a network device side, where the network device includes an operation device 12.
Specifically, the operating device 12 is configured to update the database according to an operating mode corresponding to the target wireless access point; here, the operation mode corresponding to the target wireless access point may include operations of modifying a geographic location of the target wireless access point, a peripheral wireless access point corresponding to the target wireless access point, adding a new target wireless access point, deleting an expired target wireless access point, and the like, and may also be an operation of searching the target wireless access point or the peripheral wireless access point thereof in the database to implement an application of an association relationship established in the database by using each target wireless access point, such as modifying an established topology network, thereby performing an update operation, such as operations of adding, deleting, modifying, searching, and the like, on the topology network, effectively improving accuracy of the topology network, and ensuring implementability of the generated topology network.
The present application further provides a network device for updating a wireless access point topology network, as shown in fig. 4, the network device includes: the query device 11' is used for acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database; the establishing device 12' establishes a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; updating means 13' for updating the topology network according to the stored update of the target wireless access point in the database. Therefore, the vacancy that a topological network among a plurality of target wireless access points is not established in the prior art is made up, and the established topological network is utilized to realize risk judgment based on the topological network; the topological network is updated, such as adding, deleting, modifying, searching and the like, so that the accuracy of the topological network is effectively improved, the feasibility of the generated topological network is ensured, and the use by a user is facilitated.
Specifically, the query device 11' is configured to obtain a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of wireless access points stored in the database; in the embodiment of the application, a target wireless access point is obtained from a field of a wireless access point stored in a database, and the information of peripheral wireless access points of the target wireless access point is obtained; here, when a user performs a sharing operation of a wireless access point through a user device, for example, when a wireless access point name, a password, etc. of a certain wireless access point are shared in a cloud database for storage, the wireless access point is a target wireless access point, the cloud obtains the wireless access point name, the password, etc. of the target wireless access point and also obtains peripheral wireless access point information of the target wireless access point, the peripheral wireless access points of the target wireless access point are some wireless access points obtained by scanning a geographic position of the user device when the user device currently shares the wireless access point, the peripheral wireless access point information includes a wireless access point name (SSID), a BSSID or a MAC address, a Received Signal Strength (RSSI), a geographic position, and base station information, so as to compare with peripheral wireless access point information of other target wireless access points according to the obtained peripheral wireless access point information, and determining whether an intersection relation exists, and drawing a wireless access point topological network graph by using the intersection relation.
Then, the establishing device 12' is configured to establish a topological network among the plurality of target wireless access points based on the target wireless access point and its corresponding neighboring wireless access points. Here, a wireless access point topology network is determined according to an intersection relationship between peripheral wireless access point information of a plurality of target wireless access points, wherein the wireless access point topology network includes the target wireless access point information and corresponding peripheral wireless access point information. In one embodiment, the peripheral wireless access points of one target wireless access point A are a, B, c and d, the peripheral wireless access points of another target wireless access point B are a, B, e and f, determining as wireless access points a and B according to the intersection between the respective peripheral wireless access points of the target wireless access points a and B, connecting a target wireless access point A and a target wireless access point B with wireless access points a and B respectively in a wireless topological network diagram, and the wireless access point names, the geographic positions, the received signal strengths and other attribute information of the target wireless access point A and the target wireless access point B are drawn in a topological graph, and attribute information such as wireless access point names, geographical positions, received signal strengths, base station information and the like of the wireless access points a and b are plotted in the topological graph, namely, the connection relation among the wireless access points and the attribute information of the wireless access points are in the topological graph. Here, the target wireless access point B may be a peripheral wireless access point of the target wireless access point a, and the cloud determines the target wireless access point based on the sharing operation of the user equipment through the sharing operation of the user equipment, and each target wireless access point in the wireless topology network may be a peripheral wireless access point of another target wireless access point and does not exist in the wireless access point topology network map in an isolated manner, so that the risk judgment of the wireless access point can be performed by using the generated wireless access point topology network map, and a risky wireless access point such as an emulational wireless access point and a phishing wireless access point can be located.
In particular, the updating means 13' is configured to update the topology network according to the stored update of the target wireless access point in the database. Here, the operation mode corresponding to the target wireless access point may include operations of modifying a geographic location of the target wireless access point, a peripheral wireless access point corresponding to the target wireless access point, adding a new target wireless access point, deleting an expired target wireless access point, and the like, and updating the database by using the operation on the target wireless access point in the database, where the topology network is established based on data storage of the wireless access point in the database, and therefore, when the topology network is updated, a corresponding operation needs to be performed according to the update of the database, and in addition, the target wireless access point or the peripheral wireless access point thereof is searched in the topology network to implement application of the topology network. Therefore, the topological network is updated, such as addition, deletion, modification, search and other operations, the accuracy of the topological network is effectively improved, and the feasibility of the generated topological network is ensured.
Preferably, the operating means 12 comprise: a modifying unit 121, configured to modify the association data in the stored field of the target wireless access point in the database; an adding unit 122, configured to add a newly acquired target wireless access point and a peripheral wireless access point corresponding to the target wireless access point to the database; the deleting unit 123 is configured to determine whether an expired target wireless access point exists in the database, and if so, delete the expired target wireless access point. Here, the modification unit 121 is configured to: modifying the geographic location information in the stored field of the target wireless access point and modifying the neighboring wireless access points in the stored field of the target wireless access point. When a new target wireless access point is found, the adding unit 122 needs to add the target wireless access point and its corresponding peripheral wireless access points to the database, so as to update the data storage of the target wireless access point in the database; in some stored data in the database, there may be an expired target wireless access point, and at this time, the deleting unit 123 determines, according to the determination, that the target wireless access point is the expired target wireless access point, and then needs to delete the expired target wireless access point in the database.
In the embodiment of the present application, the modification unit 121 is configured to at least any one of: modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point; modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point; and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point. Here, when the geographic location of the target wireless access point is updated, the target wireless access point may be located by the geographic location of the user equipment connected to the target wireless access point and/or the geographic location of the peripheral wireless access point corresponding to the user equipment, and a more accurate geographic location of the target wireless access point is obtained. When positioning a target wireless access point, for example, positioning may be performed according to the geographic location of one or more user equipments connected to the target wireless access point, and at this time, a course to an accurate update process may be performed, that is, positioning is performed multiple times, and accuracy is gradually performed; the target wireless access point can also be accurately positioned by using three user equipment connected with the target wireless access point directly by using a three-point positioning method.
Optionally, three user equipments may be selected to position the target wireless access point according to a three-point positioning method, and the specific implementation manner may be: determining any three user equipment having history sharing operation on the target wireless access point, and acquiring the geographical positions and the received signal strength of the three user equipment in the wireless access point topological network when the three user equipment have history sharing operation on the target wireless access point; and determining the actual geographic position of the target wireless access point according to the geographic positions and the received signal strengths of the three user equipment in the wireless access point topological network. Here, as shown in fig. 2, a schematic diagram of determining coordinates of a target wireless access point by using a three-point positioning method in a preferred embodiment of the present application is shown, where each wireless access point has received signal strength, and when the user equipment is at different distances from the wireless access point, the received signal strength is different, and the distance from the current user equipment to the wireless access point can be calculated, so that the coordinates of the target wireless access point in a wireless access point topology network diagram can be determined according to a three-point positioning rule and an actual coordinate position of each user equipment, and a specific process is as follows: determining any three user equipments, such as the user equipment A, B, C, having a history sharing operation on the target wireless access point a, and acquiring a geographical location and a received signal strength of the user equipment A, B, C having a history sharing operation on the target wireless access point a, wherein the geographical location is represented by longitude and latitude, such as the longitude and latitude of the user equipment a is (la1, lo1), the signal strength of the received target wireless access point a is rsi 1, the longitude and latitude of the user equipment B is (la2, lo2), the signal strength of the received target wireless access point a is rsi 2, the longitude and latitude of the user equipment a is (la3, lo3), the signal strength of the received target wireless access point a is rsi 3, the received signal strength is converted into a distance with the current longitude and latitude center of each user equipment as the center of a circle, and if the received signal strength is-70 dbm, the converted into a distance representing that the current user equipment is 300m away from the target wireless access point, the received signal strength is-20 dbm, the conversion into the distance represents that the distance between the current user equipment and the target wireless access point is 800m, the method for converting the received signal strength into the distance is only an example, circles are drawn by taking the converted distance as a radius to obtain three circles, and the longitude and latitude at the intersection of the three circles are taken as the coordinates of the target wireless access point a, so that the geographic position of the target wireless access point a can be more accurately positioned, and the geographic position stored in the field is modified.
Preferably, the modification unit 121 is configured to: acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by the user equipment at different geographic positions; and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result. Here, when peripheral wireless access points of the target wireless access point are modified, several peripheral wireless access points closest to the target wireless access point may be determined by comparing the received signal strength of each peripheral wireless access point with the received signal strength of the target wireless access point, and several peripheral wireless access points closest to the target wireless access point may be obtained by using the geographical location information of the target wireless access point and each peripheral wireless access point, so as to update the peripheral wireless access points of the target wireless access point in the topology network. Of course, the received signal strength in combination with the geographical location information may also be used to update the surrounding wireless access points.
It should be noted that the association relationship of the peripheral wireless access points and the geographic position information of the peripheral wireless access points are stored, so that the geographic position of the target wireless access point can be updated more accurately; the more accurate position information of the target wireless access point can promote the position update of the peripheral wireless access points.
In one embodiment, when the user equipment connects to the target wireless access point a at a certain position a, the scanned peripheral wireless access points are a1, a2 and A3, and a1, a2 and A3 are stored in the field of the association data of the target wireless access point a, and when the user equipment connects to the target wireless access point a at another position b, the scanned peripheral wireless access points are a1, A3, a4 and a5, it is necessary to update the peripheral wireless access points previously stored in the field, including storing the peripheral wireless access points that have not appeared before, and also updating to compare the difference between the received signal strength of a1, a2 and A3 at position a and the received signal strength of the target wireless access point a, and simultaneously comparing the received signal strength of a4 and a5 at position b and the received signal strength of the target wireless access point a, and selecting the first few peripheral wireless access points with the smallest difference, for example, if a1, A3, and a4 are selected, the peripheral wireless access points already stored in the field are updated, and as a result, a1, A3, and a4 are stored in the field of the association data of the target wireless access point a.
Preferably, the network device further includes: and a threshold setting device 01, configured to set a threshold of the storage number of the peripheral wireless access points corresponding to the target wireless access point in the field. Here, in order to reduce network overhead, a storage number threshold may be set when storing the peripheral wireless access points corresponding to the target wireless access point.
When the storage number threshold of the peripheral wireless access points is set, the modifying unit 121 is configured to obtain a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point; and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the storage quantity threshold value. For example, the threshold of the storage number of neighboring wireless access points is set to 3, the user equipment 1 detects that wireless access points B2, B3, B4, and B5 are around the target wireless access point B1, the received signal strengths are sequentially weakened, the received signal strengths of B1-B5 are respectively set to p1-p5, the distances between neighboring wireless access points corresponding to three received signal strengths having the closest received signal strengths to p1, that is, the minimum difference between the received signal strengths are the closest, and the neighboring wireless access points stored in the field before updating are performed using the three selected neighboring wireless access points having the minimum received signal strength difference. Of course, the stored peripheral wireless access points may also be updated using the difference between the geographic location of the target wireless access point and the geographic locations of the peripheral wireless access points.
In the embodiment of the present application, it is further noted that when the target wireless access point is stored to be used for generating the topology network, if the wireless access points of the same or similar identification information sent by multiple user equipment are simultaneously acquired, the target wireless access point is determined according to the determination rule. For example, if the sharing operation of multiple user equipment on the same or similar wireless access point names is acquired at the same time, the target wireless access point is determined according to the judgment rule. After a target wireless access point is determined according to the sharing operation of the user equipment and the information of the peripheral wireless access points of the target wireless access point is acquired, if the sharing operation of the plurality of user equipment on the same or similar wireless access point names is acquired at the same time, it is required to judge which wireless access point corresponding to the sharing operation of the user equipment is the target wireless access point. In a specific embodiment, the determination rule includes at least any one of: if the wireless access points of the same or similar identification information sent by a plurality of user equipment are simultaneously obtained, the wireless access point sent by each user equipment is used as the target wireless access point; if the wireless access points of the same or similar identification information sent by a plurality of user equipment are simultaneously obtained, the wireless access point sent by each user equipment is not taken as the target wireless access point; and if the wireless access points of the same or similar identification information sent by the plurality of user equipment are acquired simultaneously, and the wireless access point sent by each user equipment is determined, selecting one wireless access point from the plurality of wireless access points as the target wireless access point. Optionally, selecting one wireless access point from a plurality of wireless access points as the target wireless access point may be implemented as follows: and determining the target wireless access point according to the received signal strength of each wireless access point.
The following implementations are also possible: and judging whether auxiliary wireless access points with the same or similar identification information exist among the plurality of wireless access points, and if so, determining the target wireless access point according to the received signal strength of the auxiliary wireless access points with the same or similar identification information corresponding to each wireless access point. For example, a target wireless access point a sent by multiple user equipment is acquired simultaneously, and an auxiliary wireless access point corresponding to the target wireless access point a sent by the first user equipment is a: -20db, secondary wireless access point b: -50 db; the auxiliary wireless access point corresponding to the target wireless access point a sent by the second user equipment is a: -30db, secondary wireless access point c: -60 db; it is determined which user equipment transmits the target wireless access point a to be reserved based on the received signal strength of the common auxiliary wireless access point a, for example, the target wireless access point a transmitted by the first user equipment is taken as the target wireless access point in the topological network, and its corresponding auxiliary wireless access points a and b are both reserved.
Preferably, the adding unit 122 may be configured to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database in a full data updating manner according to a preset period. Can also be used for: and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database.
When a new target wireless access point is found, the new target wireless access point and the corresponding peripheral wireless access points thereof need to be added into the topology network, and a full-volume updating mode and an incremental updating mode can be used, wherein the full-volume updating mode needs to set a period and periodically updates the topology network in the database; the incremental updating mode is not required to be regular, and when a new target wireless access point is found, a piece of data (comprising a plurality of fields) corresponding to the new target wireless access point is written into the database in an incremental mode to expand the topology network. However, after adding a newly acquired target wireless access point and its corresponding peripheral wireless access points to the topology network, the method includes: and modifying the geographical position information in the stored field of the newly acquired target wireless access point. Because the geographical location information of the target wireless access point may not be accurate when the information of the new target wireless access point is put into storage, it is also necessary to more accurately locate the new target wireless access point. When a new target wireless access point is located, the geographical position of the new target wireless access point may be located by using the geographical positions of the neighboring wireless access points of the new target wireless access point and/or the geographical position of the user equipment connected to the new target wireless access point.
Preferably, the deleting unit 123 is configured to determine whether at least one user equipment connected to a target wireless access point in the topology network exists when the time is greater than a preset time threshold, and if not, feed back a peripheral wireless access point corresponding to the target wireless access point to the user equipment; receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point; and deleting the expired target wireless access point.
Here, when there is a target wireless access point in the topology network and no user equipment is connected to use the target wireless access point within a time period exceeding a preset period, it needs to determine whether the target wireless access point is really an expired target wireless access point, and the determination method is as follows: firstly, user equipment is required to be used for connecting the target wireless access point, if no record of successful connection of the user equipment exists within a period of time, further judgment is required, the target wireless access point is searched by using the peripheral wireless access points of the target wireless access point, and if the target wireless access point is not searched when the user equipment is connected with the peripheral wireless access points, the target wireless access point is determined to be an overdue target wireless access point and needs to be deleted in the topological network.
The method provided by the application can be used for performing operations such as addition, modification and deletion on the topological network, so that the accuracy of the topological network graph is effectively improved, and the feasibility of the implementation of the topological network is ensured. For example, a more implementable topology network is used to make a risk determination for a wireless access point. The method comprises the following specific steps:
as shown in fig. 4, the network device 1 further includes an obtaining device 14, a comparing device 15 and a determining device 16, where the obtaining device 14 obtains a request of a target wireless access point sent by a user equipment and identification information of peripheral wireless access points of the target wireless access point; the comparison device 15 determines a reference wireless access point with the same or similar identification information in the wireless access point topological network based on the identification information of the target wireless access point; the determination means 16 determines whether or not the target wireless access point is at risk by comparing the identification information of the target wireless access point with the identification information of the peripheral wireless access points of the reference wireless access point.
Here, the updated topological network diagram of the wireless access points is used to determine the risk of the wireless access points, and locate risky wireless access points such as emulational wireless access points and phishing wireless access points, in a specific embodiment, a user requests to obtain a connection password of the wireless access point B, a cloud obtains a connection request of the user of the wireless access point B, and simultaneously obtains peripheral wireless access points of the wireless access point B, and determines target wireless access point information and peripheral wireless access point information corresponding to the primary key information in the topological network according to the primary key information in the name of the wireless access point B, wherein the primary key information is generated by SSID and BSSID of the wireless access point, for example, the name of the wireless access point B is aabb, the primary key information is aabb, and the target wireless access point a corresponding to aabb is found in the topological network according to aabb, comparing the peripheral wireless access points of the wireless access point B with the peripheral wireless access points of the target wireless access point A, if the peripheral wireless access points are different, indicating that the wireless access point B is an isolated point in the topological network diagram and has a risk, further judging whether the risk exists or not, further judging according to the SSID, the BSSID, the base station information and the geographic position of the wireless access point B, and feeding back the final risk judgment result to the user.
According to another aspect of the present application, there is also provided a user equipment storing wireless access point data, the user equipment comprising: determining means 21 for determining a target wireless access point from the wireless access points to which the user is connected; and a sending device 22, configured to send the target wireless access point and the peripheral wireless access points corresponding to the target wireless access point to a network device. The topological network diagram of the network equipment end is established based on the target wireless access point and the corresponding surrounding wireless access points, and the user equipment sends the wireless access points connected with the user equipment and the surrounding wireless access points scanned by the current equipment to the network equipment end so as to provide a data basis for the network equipment end to establish the wireless access point topological network.
According to another aspect of the present application, there is also provided a system for updating a wireless access point topology network, the system including: the network equipment 1 and the user equipment 2, wherein the user equipment 2 determines a target wireless access point according to the wireless access point connected with the user; the user equipment 2 sends the target wireless access point and the corresponding peripheral wireless access points to network equipment; the network device 1 stores the acquired associated data corresponding to the target wireless access point to a database, wherein the associated data comprises a plurality of fields consisting of identification information, access information, geographical location information of the target wireless access point and peripheral wireless access points corresponding to the target wireless access point; and the network equipment 1 updates the database according to the operation mode corresponding to the target wireless access point. The storage of the wireless access point topological network is realized by the data structure form of the field with the lowest network overhead. And the field comprises peripheral wireless access points corresponding to the target wireless access point, so that the association relationship among the wireless access points is solved, and each wireless access point is not an isolated point in a topological network due to the association relationship among the wireless access points, thereby providing a premise for realizing further interconnection and intercommunication of a future wireless access point network.
Further, the network equipment acquires a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database; establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; and updating the topological network according to the storage update of the target wireless access point in the database. Therefore, the method makes up the vacancy of the wireless access point topological network which does not exist in the prior art, can realize the judgment of the risk of the wireless access point, the identification of some simulation requests of non-clients and the positioning of a target wireless access point, effectively improves the accuracy of the topological network by adding, deleting, modifying, searching and other operations of the topological network, further ensures the feasibility of the generated topological network, has high use value and provides more convenient service in the field of the wireless access point for users.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (32)

1. A method for storing wireless access point data at a network device, wherein the method comprises:
storing the acquired associated data corresponding to the target wireless access point into a database so as to update the data of the target wireless access point, wherein the associated data comprises a plurality of fields consisting of identification information, access information, geographical position information and peripheral wireless access points corresponding to the target wireless access point;
wherein, updating the target wireless access point data comprises:
acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by user equipment at different geographic positions;
and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result.
2. The method of claim 1, wherein the association data further comprises one or more fields consisting of one or any combination of received signal strength, connected device information, and IP address information of the target wireless access point.
3. The method of claim 1, wherein storing the acquired association data corresponding to the target wireless access point in a database comprises at least any one of:
storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point;
storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point;
and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point.
4. The method of claim 1, wherein the method further comprises:
and setting a storage quantity threshold value of the peripheral wireless access points corresponding to the target wireless access point in the field.
5. A method for updating the wireless access point data stored at the network equipment side according to claim 1, wherein the method comprises:
updating a database where a target wireless access point is located according to an operation mode corresponding to the target wireless access point;
acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by user equipment at different geographic positions;
and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result.
6. The method of claim 5, wherein updating the database of the target wireless access point according to the operation mode corresponding to the target wireless access point comprises:
modifying association data in a stored field of a target wireless access point in the database;
adding a newly acquired target wireless access point and a corresponding peripheral wireless access point to the database;
and judging whether an overdue target wireless access point exists in the database, and if so, deleting the overdue target wireless access point.
7. The method of claim 6, wherein modifying the association data in the stored field of the target wireless access point in the database comprises:
modifying the geographic location information in the stored field of the target wireless access point;
modifying peripheral wireless access points in the stored field of the target wireless access point.
8. The method of claim 7, wherein modifying the geographic location information in the stored field of the target wireless access point comprises at least any one of:
modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point;
modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point;
and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point.
9. The method of claim 1, wherein the comparing results obtained by comparing the received signal strengths or/and distances between the target wireless access point and each of the neighboring wireless access points, and wherein modifying the neighboring wireless access points in the stored field of the target wireless access point according to the comparing results comprises:
obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point;
and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the stored quantity threshold value.
10. The method of claim 6, wherein adding the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database comprises:
and adding the newly acquired target wireless access point and the corresponding peripheral wireless access points thereof into the database in a full data updating mode according to a preset period.
11. The method of claim 6, wherein adding the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database comprises:
and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database.
12. The method according to claim 10 or 11, wherein after adding the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database, the method comprises:
and modifying the geographical position information in the stored field of the newly acquired target wireless access point.
13. The method of claim 6, wherein determining whether an expired target wireless access point exists in the database, and if so, deleting the expired target wireless access point comprises:
judging whether at least one user equipment connected with a target wireless access point in the database exists when the time is greater than a preset time threshold, and if not, feeding back peripheral wireless access points corresponding to the target wireless access point to the user equipment;
receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point;
and deleting the expired target wireless access point.
14. A method of wireless access point topology network update at a network device, the method comprising:
acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in a database;
establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points; updating the topological network according to the storage update of the target wireless access point in the database;
acquiring a request of a target wireless access point sent by user equipment and identification information of peripheral wireless access points of the target wireless access point;
determining a reference wireless access point with the same or similar identification information in a wireless access point topological network based on the identification information of the target wireless access point;
and comparing the identification information of the peripheral wireless access points of the target wireless access point with the identification information of the peripheral wireless access points of the reference wireless access point to determine whether the target wireless access point has risks.
15. A method for storing wireless access point data at a user equipment, wherein the method comprises:
determining a target wireless access point according to the wireless access point connected with the user;
determining peripheral wireless access points corresponding to the target wireless access points of the user equipment at different geographic positions;
and sending the target wireless access point and the corresponding peripheral wireless access points to network equipment, so that the network equipment obtains a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored field of the target wireless access point according to the comparison result.
16. A method of storing wireless access point data, wherein the method comprises:
the user equipment determines a target wireless access point according to the wireless access point connected with the user;
the user equipment determines peripheral wireless access points corresponding to the target wireless access point of the user equipment at different geographic positions, and sends the target wireless access point and the peripheral wireless access points corresponding to the target wireless access point to network equipment;
the network equipment stores the acquired associated data corresponding to the target wireless access point in a database, obtains a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifies the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result, wherein the associated data comprises a plurality of fields consisting of access point identification information, access information, geographic position information and the corresponding peripheral wireless access points of the target wireless access point.
17. A network device storing wireless access point data, wherein the network device comprises:
the storage device is used for storing the acquired associated data corresponding to the target wireless access point into a database so as to update the data of the target wireless access point, wherein the associated data comprises a plurality of fields consisting of identification information, access information and geographical position information of the target wireless access point and peripheral wireless access points corresponding to the target wireless access point;
wherein, updating the target wireless access point data comprises:
acquiring peripheral wireless access points corresponding to the target wireless access point, which are sent by user equipment at different geographic positions;
and obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result.
18. The network device of claim 17, wherein the association data further comprises one or more fields consisting of one or any combination of received signal strength, connected device information, and IP address information of the target wireless access point.
19. The network device of claim 17, wherein the storage is configured to at least any one of:
storing the acquired associated data corresponding to the target wireless access point according to a field formed by the identification information, the access information and the geographical position information of the target wireless access point and the identification information of each peripheral wireless access point corresponding to the target wireless access point;
storing the acquired associated data corresponding to the target wireless access point according to the identification information, the access information and the geographic position information of the target wireless access point and fields formed by the identification information and the geographic position information of each peripheral wireless access point corresponding to the target wireless access point;
and respectively setting pointer identifications for the acquired target wireless access point and the corresponding peripheral wireless access points thereof, and storing the associated data according to the pointer identification, the identification information, the access information and the geographic position information of the target wireless access point and the pointer identification of each corresponding peripheral wireless access point.
20. The network device of claim 17, wherein the network device further comprises:
and the threshold setting device is used for setting the storage quantity threshold of the peripheral wireless access points corresponding to the target wireless access point in the field.
21. A network device that updates the stored wireless access point data of claim 17, wherein the network device comprises:
the operation device is used for updating the database where the target wireless access point is located according to the operation mode corresponding to the target wireless access point;
the operation device is used for acquiring peripheral wireless access points corresponding to the target wireless access point and transmitted by the user equipment at different geographic positions, obtaining a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored field of the target wireless access point according to the comparison result.
22. The network device of claim 21, wherein the operating means is configured to:
modifying association data in a stored field of a target wireless access point in the database;
adding a newly acquired target wireless access point and a corresponding peripheral wireless access point to the database;
and judging whether an overdue target wireless access point exists in the database, and if so, deleting the overdue target wireless access point.
23. The network device of claim 22, wherein the operating means is configured to:
modifying the geographic location information in the stored field of the target wireless access point;
modifying peripheral wireless access points in the stored field of the target wireless access point.
24. The network device of claim 23, wherein the operating means is for at least any one of:
modifying, by one or more user devices, the geographic location information in the stored field of the target wireless access point when transmitting the geographic location information and received signal strength of the target wireless access point;
modifying the geographical position information in the stored field of the target wireless access point according to the geographical position information and the received signal strength of a plurality of peripheral wireless access points corresponding to the target wireless access point;
and modifying the geographical position information in the stored field of the target wireless access point through the geographical position information of the target wireless access point and the geographical position information of the corresponding peripheral wireless access points when one or more user equipment sends the target wireless access point.
25. The network device of claim 21, wherein the operating means is configured to:
obtaining a comparison result by comparing the received signal strength or distance between the target wireless access point and each peripheral wireless access point;
and modifying the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result and the stored quantity threshold value.
26. The network device of claim 22, wherein the operating means is configured to:
and adding the newly acquired target wireless access point and the corresponding peripheral wireless access points thereof into the database in a full data updating mode according to a preset period.
27. The network device of claim 22, wherein the operating means is configured to:
and storing the associated data corresponding to the newly acquired target wireless access point in an incremental data updating mode so as to add the newly acquired target wireless access point and the corresponding peripheral wireless access points to the database.
28. The network device of claim 27, wherein the operating means is further configured to:
and modifying the geographical position information in the stored field of the newly acquired target wireless access point.
29. The network device of claim 22, wherein the operating means is configured to:
judging whether at least one user equipment connected with a target wireless access point in the database exists when the time is greater than a preset time threshold, and if not, feeding back peripheral wireless access points corresponding to the target wireless access point to the user equipment;
receiving association data corresponding to the wireless access points fed back when the user equipment is connected with each peripheral wireless access point, judging whether all the corresponding association data contain the target wireless access point, and if not, determining that the target wireless access point is an overdue target wireless access point;
and deleting the expired target wireless access point.
30. A network device for wireless access point topology network update, the network device comprising:
the query device is used for acquiring a target wireless access point and peripheral wireless access points corresponding to the target wireless access point from fields of the wireless access points stored in the database;
the establishing device is used for establishing a topological network among a plurality of target wireless access points based on the target wireless access points and the corresponding peripheral wireless access points;
the updating device is used for updating the topological network according to the storage update of the target wireless access point in the database;
the device comprises an acquisition device, a processing device and a processing device, wherein the acquisition device is used for acquiring a request of a target wireless access point sent by user equipment and identification information of peripheral wireless access points of the target wireless access point;
the comparison device is used for determining a reference wireless access point with the same or similar identification information in a wireless access point topological network based on the identification information of the target wireless access point;
and the judging device is used for comparing the identification information of the target wireless access point and the peripheral wireless access points of the reference wireless access point to determine whether the target wireless access point has risks.
31. A user equipment storing wireless access point data, wherein the user equipment comprises:
determining means for determining a target wireless access point from the wireless access points to which the user is connected;
and the sending device is used for determining peripheral wireless access points corresponding to the target wireless access point at different geographic positions of the user equipment, sending the target wireless access point and the peripheral wireless access points corresponding to the target wireless access point to the network equipment, so that the network equipment obtains a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifying the peripheral wireless access points in the stored field of the target wireless access point according to the comparison result.
32. A system for storing wireless access point data, wherein the system comprises: a network device and a user device, and,
the user equipment determines a target wireless access point according to the wireless access point connected with the user;
the user equipment determines peripheral wireless access points corresponding to the target wireless access point of the user equipment at different geographic positions, and sends the target wireless access point and the peripheral wireless access points corresponding to the target wireless access point to network equipment;
the network equipment stores the acquired associated data corresponding to the target wireless access point in a database, obtains a comparison result by comparing the received signal strength and/or the distance between the target wireless access point and each peripheral wireless access point, and modifies the peripheral wireless access points in the stored fields of the target wireless access point according to the comparison result, wherein the associated data comprises a plurality of fields consisting of identification information, access information, geographical location information of the target wireless access point and the corresponding peripheral wireless access points.
CN201611154939.9A 2016-12-14 2016-12-14 Method and equipment for storing and updating wireless access point data Active CN108228610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611154939.9A CN108228610B (en) 2016-12-14 2016-12-14 Method and equipment for storing and updating wireless access point data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611154939.9A CN108228610B (en) 2016-12-14 2016-12-14 Method and equipment for storing and updating wireless access point data

Publications (2)

Publication Number Publication Date
CN108228610A CN108228610A (en) 2018-06-29
CN108228610B true CN108228610B (en) 2021-07-02

Family

ID=62650088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611154939.9A Active CN108228610B (en) 2016-12-14 2016-12-14 Method and equipment for storing and updating wireless access point data

Country Status (1)

Country Link
CN (1) CN108228610B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087182A (en) * 2019-04-18 2019-08-02 惠州Tcl移动通信有限公司 Approaches to IM, device, mobile terminal and storage medium
CN113207125B (en) * 2021-04-25 2021-12-14 深圳市科信网安科技有限公司 Illegal wireless AP detection device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702398A (en) * 2013-12-23 2014-04-02 Tcl集团股份有限公司 Wireless AP (access point) selection method and system
CN103891331A (en) * 2011-10-17 2014-06-25 迈可菲公司 Mobile risk assessment
CN104066172A (en) * 2014-06-16 2014-09-24 南京航空航天大学 Method for positioning AP in wireless local area network
CN104115525A (en) * 2012-02-17 2014-10-22 苹果公司 Detecting neighboring access points in a network
CN105187281A (en) * 2014-06-23 2015-12-23 中兴通讯股份有限公司 Topological graph drawing method and device
CN105247911A (en) * 2013-03-28 2016-01-13 英国电讯有限公司 Access point selection in a wireless network
CN105992336A (en) * 2015-01-31 2016-10-05 华为技术有限公司 Access point (AP) network element positioning method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103891331A (en) * 2011-10-17 2014-06-25 迈可菲公司 Mobile risk assessment
CN104115525A (en) * 2012-02-17 2014-10-22 苹果公司 Detecting neighboring access points in a network
CN105247911A (en) * 2013-03-28 2016-01-13 英国电讯有限公司 Access point selection in a wireless network
CN103702398A (en) * 2013-12-23 2014-04-02 Tcl集团股份有限公司 Wireless AP (access point) selection method and system
CN104066172A (en) * 2014-06-16 2014-09-24 南京航空航天大学 Method for positioning AP in wireless local area network
CN105187281A (en) * 2014-06-23 2015-12-23 中兴通讯股份有限公司 Topological graph drawing method and device
CN105992336A (en) * 2015-01-31 2016-10-05 华为技术有限公司 Access point (AP) network element positioning method and apparatus

Also Published As

Publication number Publication date
CN108228610A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
US8914043B2 (en) Creating and sharing private location databases
US7640027B2 (en) Mobile communication terminal capable of determining position and method of determining position in the mobile communication terminal
JP5368361B2 (en) Positioning device and positioning method
US20200169884A1 (en) Methods and devices for querying authentication information of a wireless access point
CN109672980B (en) Method, device and storage medium for determining wireless local area network hotspot corresponding to interest point
CN112055958B (en) Method for implementing security protocol and security system for wireless network
US20140221009A1 (en) Method, system and apparatus for collecting location information
EP3621351A1 (en) Positioning assistance data configuration method, apparatus, device, system, and storage medium
CN109246658B (en) Method and equipment for transmitting no-flow data
US20170332342A1 (en) Method and Device for Enhancing Positioning
WO2021208856A1 (en) Method for receiving positioning reference signal and user equipment
US20190335414A1 (en) User location monitoring in mobile edge environment
WO2018112825A1 (en) Positioning method based on wi-fi access point, and device
WO2019100334A1 (en) Data processing method and apparatus
CN108024308B (en) Method and equipment for sharing and connecting wireless access points
CN108228610B (en) Method and equipment for storing and updating wireless access point data
KR20140020332A (en) Method and system for acquiring user content
CN106792527B (en) Position data processing method and device and computing equipment
CN107659978B (en) Method and apparatus for identifying wireless access point
CN105163275B (en) A kind of data transmission method for uplink, relevant apparatus and system
US20230104681A1 (en) Method and apparatus for obtaining installation information of network access device
CN108616886B (en) Method and equipment for generating wireless access point topological network
JP2022110756A (en) Position estimation server, position estimation method, and program, and communication terminal
WO2023131192A1 (en) Location method and apparatus, base station, location server, and readable storage medium
WO2023109950A1 (en) Tracking area boundary information processing method and apparatus, electronic device, and readable medium

Legal Events

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