CN116455866A - Method, device, equipment and storage medium for generating wifi relationship between objects - Google Patents

Method, device, equipment and storage medium for generating wifi relationship between objects Download PDF

Info

Publication number
CN116455866A
CN116455866A CN202310311585.8A CN202310311585A CN116455866A CN 116455866 A CN116455866 A CN 116455866A CN 202310311585 A CN202310311585 A CN 202310311585A CN 116455866 A CN116455866 A CN 116455866A
Authority
CN
China
Prior art keywords
target
wifi
name
wifi name
grid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310311585.8A
Other languages
Chinese (zh)
Inventor
陈凯枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Youkun Information Technology Co ltd
Original Assignee
Shanghai Youkun Information 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 Youkun Information Technology Co ltd filed Critical Shanghai Youkun Information Technology Co ltd
Priority to CN202310311585.8A priority Critical patent/CN116455866A/en
Publication of CN116455866A publication Critical patent/CN116455866A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method comprises the steps of determining the geographic position of a user according to a MAC address by obtaining the MAC address and the first wifi name of a router of the user, obtaining a first target grid of the user after grid conversion, determining a second target grid which is matched with the first target grid and to which the user belongs, obtaining the second wifi name of the target object in the second target grid, finally obtaining the second target wifi name matched with the first wifi name through preset rules and natural language processing, and generating the wifi relation between the user and the target object. In the embodiment, geographic position information is represented by the grid, so that the calculated amount is reduced, wifi offset error is reduced, the accuracy of wifi relation matching among objects is improved through preset rules and natural language processing, the wifi relation between a user and a target object is generated, and the relation between the user and enterprises in the whole industry can be obtained.

Description

Method, device, equipment and storage medium for generating wifi relationship between objects
Technical Field
The application belongs to the technical fields of computers, internet and information, and particularly relates to a method, a device, equipment and a storage medium for generating wifi relations among objects
Background
By acquiring the wifi relationship between the user and the enterprise, the enterprise demand can be acquired in time, and potential intention clients can be mined. However, there is a limitation in the data sources of companies that can have personal relationships between users and enterprises in the market, only the registered user information of their products is used, and for non-registered users, such companies cannot bind users to enterprises. Moreover, registered users of the companies have industry preference, most registered users are Internet companies, and for non-Internet industries, no user and enterprise relationship data exists.
Thus, the prior art does not have access to the relationship between users and businesses throughout the industry.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for generating wifi relations among objects, which solve the problem that the relations between users and enterprises in the whole industry cannot be acquired.
In a first aspect, an embodiment of the present application provides a method for generating a wifi relationship between objects, where the method includes:
acquiring a router MAC address and a first wifi name used by a user;
Determining the geographic position of the user according to the MAC address;
performing grid conversion on the geographic position of the user to obtain a first target grid where the user is located;
determining a second target grid matched with the first target grid to obtain a second target grid to which the user belongs, wherein the second target grid is a grid to which the geographic position of the target object belongs;
acquiring a second wifi name of a target object in a second target grid, wherein the second wifi name is generated based on the target object;
matching the first wifi name with the second wifi name to obtain a second target wifi name matched with the first wifi name;
and generating a wifi relation between the user and the target object based on the first wifi name and the second target wifi name.
In some possible implementations, before determining the second target grid matched with the first target grid, obtaining the second target grid to which the user belongs, the method further includes:
obtaining the geographic position of a target object;
grid conversion is carried out on the geographic position of the target object, and a third target grid where the target object is located is obtained;
and expanding according to a preset target range by taking a third target grid where the target object is located as a center to obtain a second target grid where the geographic position of the target object is located.
In some possible implementations, before obtaining the second wifi name of the target object in the second target grid, the method further includes:
acquiring public information of a target object;
and determining information corresponding to the target field from the public information to obtain a second wifi name of the target object.
In some possible implementations, matching the first wifi name with the second wifi name, obtaining a second target wifi name that matches the first wifi name, including:
and carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name.
In some possible implementations, the second wifi name includes: the name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
splitting the name of the target object to obtain a split first field;
matching the first field with the first wifi name to generate a first target field;
scoring the first target field to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
In some possible implementations, the second wifi name includes: domain name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
Performing similarity calculation on the domain name of the target object and the first wifi name to obtain a similarity result;
scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
In some possible implementations, the second wifi name includes: mailbox name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
splitting the mailbox name of the target object to obtain a target mailbox name;
performing similarity calculation based on the target mailbox name and the first wifi name to obtain a similarity result;
scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
In a second aspect, an embodiment of the present application further provides an apparatus for generating a wifi relationship between objects, including:
the acquisition module is used for acquiring the router MAC address and the first wifi name used by the user;
the determining module is used for determining the geographic position of the user according to the MAC address;
the conversion module is used for carrying out grid conversion on the geographic position of the user to obtain a first target grid where the user is located;
The matching module is used for determining a second target grid matched with the first target grid to obtain a second target grid to which the user belongs, wherein the second target grid is a grid to which the geographic position of the target object belongs;
the acquisition module is further used for acquiring a second wifi name of the target object in the second target grid, wherein the second wifi name is generated based on the target object;
the matching module is also used for matching the first wifi name with the second wifi name to obtain a second target wifi name matched with the first wifi name;
the generating module is used for generating the wifi relation between the user and the target object based on the first wifi name and the second target wifi name.
In some possible implementations, before determining a second target grid that matches the first target grid, the matching module is configured to, before obtaining the second target grid to which the user belongs, further include:
the acquisition module is also used for acquiring the geographic position of the target object;
the conversion module is also used for carrying out grid conversion on the geographic position of the target object to obtain a third target grid where the target object is located;
and the expansion module is used for expanding according to a preset target range by taking a third target grid where the target object is located as a center to obtain a second target grid where the geographic position of the target object is located.
In some possible implementations, the obtaining module is further configured to, before obtaining the second wifi name of the target object in the second target grid, further include:
the acquisition module is also used for acquiring the public information of the target object;
the determining module is further configured to determine information corresponding to the target field from the public information, and obtain a second wifi name of the target object.
In some possible implementations, the matching module is further configured to match the first wifi name with a second wifi name, to obtain a second target wifi name that matches the first wifi name, including:
and the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name.
In some possible implementations, the second wifi name includes: the name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
the splitting unit is used for splitting the name of the target object to obtain a split first field;
the matching unit is used for matching the first field with the first wifi name to generate a first target field;
The scoring unit is used for scoring the first target field to obtain a scoring value;
and the determining unit is used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
In some possible implementations, the second wifi name includes: domain name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
the computing unit is used for carrying out similarity computation on the domain name of the target object and the first wifi name to obtain a similarity result;
the scoring unit is also used for scoring the similarity result to obtain a scoring value;
and the determining unit is also used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
In some possible implementations, the second wifi name includes: mailbox name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
the splitting unit is also used for splitting the mailbox name of the target object to obtain the target mailbox name;
The computing unit is also used for carrying out similarity computation based on the target mailbox name and the first wifi name to obtain a similarity result;
the scoring unit is also used for scoring the similarity result to obtain a scoring value;
and the determining unit is also used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
In a third aspect, embodiments of the present application also provide an apparatus comprising a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the first aspect, or the method of wifi relation generation between objects in any possible implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, on which computer program instructions are stored, which when executed by a processor implement the first aspect, or a method for generating wifi relationships between objects in any possible implementation manner of the first aspect.
According to the method, the device, the equipment and the storage medium for generating the wifi relation between the objects, the geographical position of the user is determined according to the obtained router MAC address and the first wifi name by obtaining the router MAC address and the first wifi name used by the user, grid conversion is carried out on the determined geographical position of the user to obtain a first target grid where the user is located, then a second target grid matched with the first target grid is determined, the second target grid which the user belongs to is further obtained, the second wifi name of the target object in the second target grid is obtained, finally the second wifi name and the first wifi name are subjected to preset rules and natural language processing to obtain the second target wifi name matched with the first wifi name, and the wifi relation between the user and the target object is generated based on the first wifi name and the second target wifi name. In the embodiment, geographic position information is represented by the grid, so that the calculated amount is reduced, wifi offset error is reduced, the accuracy of wifi relation matching among objects is improved through preset rules and natural language processing, the wifi relation between a user and a target object is generated, and the relation between the user and enterprises in the whole industry can be obtained.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
Fig. 1 is a schematic flow chart of a method for generating wifi relationships between objects provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for generating wifi relationships between objects according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a method for generating wifi relationships between objects according to an embodiment of the present application;
fig. 4 is a schematic diagram of a generating device of wifi relationships between objects provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application are described in detail below to make the objects, technical solutions and advantages of the present application more apparent, and to further describe the present application in conjunction with the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative of the application and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by showing examples of the present application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It should be noted that, in the embodiment of the present application, the data acquisition, storage, use, processing, etc. all conform to relevant regulations of national laws and regulations.
By acquiring the relationship between the user person and the enterprise, the requirement of the enterprise where the user is located can be timely captured through the personal requirement of the user, so that potential intention clients can be conveniently mined, as described in the background art, the data sources of the relationship between the user person and the enterprise at present have limitations, the non-registered user and the enterprise cannot be bound, and the registered user has industry preference and cannot represent the whole industry, so that the problem in the prior art is that the relationship between the user and the enterprise in the whole industry cannot be acquired.
Based on the above, the embodiment of the application provides a method, a device, equipment and a storage medium for generating wifi relations among objects, which can acquire relations between users and enterprises in the whole industry.
The method for generating the wifi relation between the objects provided by the embodiment of the application is described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a method for generating wifi relationships between objects according to an embodiment of the present application, where, as shown in fig. 1, the method may include S110-S170.
S110, acquiring a router MAC address and a first wifi name used by a user.
The MAC address of each router is unique, i.e. the MAC address corresponds to the identity card number of the router.
When a user surfs the internet through wifi of a company, a sdk development kit disclosed by the internet can acquire the MAC address and the wifi name of a router for surfing the internet of the user, and the wifi name can be a first wifi name.
S120, determining the geographic position of the user according to the MAC address.
Geographic location is a natural geographic location, is a specific place, and is a concept of "point". For example, the geographic location is longitude and latitude "longitude 115.27 latitude 33.91".
The geographical location of the router may be determined from the unique MAC address, resulting in the geographical location of the user using the router.
S130, performing grid conversion on the geographic position of the user to obtain a first target grid where the user is located.
Grid conversion is to expand a specific 'point' on a map where a user is located to a range where the point is located, so that the error of the obtained geographic position of the user can be reduced.
In one example, the mesh conversion approach is GeoHash.
GeoHash is a way of spatial indexing, whose basic principle is to understand the earth as a two-dimensional plane, and by encoding two-dimensional spatial longitude and latitude data into a string, the plane can be recursively decomposed into smaller sub-blocks, each having the same encoding within a certain longitude and latitude range. The space index is established in a GeoHash mode, so that the efficiency of carrying out longitude and latitude retrieval on the most core data of the space based on the position service can be improved.
The coding rule of the GeoHash is as follows: the latitude range (-90, 90) is divided into two sections (-90,0) and (0,90) in a bisecting way, if the target dimension is located in the previous section, the code is 0, otherwise the code is 1, then the section falling according to the target latitude is divided into two sections on average for coding, and so on until the precision meets the requirement, the longitude is also divided into sections (-180, 180) by the same algorithm in turn, then the codes of the longitude and the latitude are combined, the latitude is placed in an odd number position, the longitude is placed in an even number position, a new series of binary codes are formed, and the codes are coded according to Base 32.
Because the wifi coverage of the router is about 100 meters, the error of the geographic position of the user obtained according to the MAC address generally does not exceed 150 meters, the precision grade of the selected grid range is GeoHash7, namely, the geographic position of the user can be converted into a grid range with the size of 150m multiplied by 150m on a map, and the calculated amount can be greatly reduced while the error is reduced.
And performing grid conversion on the point of the geographic position of the user on the map to obtain the range of the point of the geographic position of the user on the map, namely obtaining the target grid of the user, wherein the target grid can be called as a first target grid.
And S140, determining a second target grid matched with the first target grid to obtain a second target grid to which the user belongs, wherein the second target grid is the grid to which the geographic position of the target object belongs.
The target object is an object that generates wifi relationships with users, e.g., the target object may be a company, a home, other users, etc.
The grid in which the user's physical geographic location is located may be referred to as a first target grid, which is located on a map. For example, the user geographic location is converted by GeoHash to get a GeoHash7, namely a first target grid with the size of '150 m multiplied by 150 m',
The grid to which the physical geographic location of the target object belongs may be referred to as a second target grid, which is located on the map.
The second target grid is a grid to which the geographic position of the target object belongs, and the second target grid matched with the first target grid is determined, namely, the second target grid of the target object comprising the first target grid of the user is found on the map, and the second target grid comprises the geographic position of the user and the geographic position of the target object.
S150, obtaining a second wifi name of the target object in the second target grid, wherein the second wifi name is generated based on the target object.
The wifi name generated based on the target object may be referred to as a second wifi name. For example, the second wifi name may include information such as a name, a domain name, and a mailbox name of the target object.
And after obtaining a second target grid to which the user belongs, obtaining a target object which has a containing relation with the user in the geographic position, and obtaining a second wifi name generated based on the target object.
In some embodiments, before obtaining the second wifi name of the target object in the second target grid, the method further includes:
acquiring public information of a target object;
and determining information corresponding to the target field from the public information to obtain a second wifi name of the target object.
The disclosure information of the target object refers to related information that the target object discloses on each platform, and for example, the disclosure information may include: chinese name, english name, domain name, mailbox name, etc. of the target object.
After the public information of the target object is obtained, the target field which is possibly used as the wifi name of the target object is screened out from the public information, the second wifi name possibly generated by the target object is obtained according to the target field,
in one embodiment, the disclosure information of the obtained target object includes information such as a chinese name, an english name, a domain name, a mailbox name, an address, a date of establishment, a phone, etc., and the chinese name, the english name, the domain name, and the mailbox name are used as target fields to generate a second wifi name of the target object related to the target fields.
In another embodiment, information such as a chinese name, an english name, a domain name, a mailbox name, an address, a date of establishment, a phone, etc. of the target object is obtained, the chinese name, the english name, the domain name, and the mailbox name are used as target fields, then the target fields are cleaned, key information in the target fields is extracted, and a second wifi name of the target object related to the key information in the target fields is generated.
S160, matching the first wifi name with the second wifi name to obtain a second target wifi name matched with the first wifi name.
The second target mesh obtained in S140 is a second target mesh of a plurality of target objects including a user mesh on a map, and thus the second wifi name obtained in S150 is a second wifi name of a plurality of target objects including a user mesh on a map, that is, a wifi name of a plurality of target objects. Therefore, S160 is to match wifi names of the plurality of target objects with the first wifi name of the user, so as to obtain a second target wifi name of the target object matched with the first wifi name.
In some embodiments, matching the first wifi name with the second wifi name to obtain a second target wifi name that matches the first wifi name, including:
and carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name.
The preset rule may be to reject keywords and neutral words from the second wifi name of the target object and the first wifi name of the user.
Natural language processing is the processing, understanding, and use of human language with artificial intelligence, such as machine translation, handwriting and print character recognition, text conversion after speech recognition, information retrieval, extraction and filtering, text classification and clustering, public opinion analysis, and opinion mining.
And carrying out preset rules and natural language processing on the first wifi name of the user and the second wifi names of the plurality of target objects to obtain the second target wifi name of one target object matched with the first wifi name.
In some embodiments, the second wifi name includes: the name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
splitting the name of the target object to obtain a split first field;
matching the first field with the first wifi name to generate a first target field;
scoring the first target field to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
Under the condition that the second wifi name comprises the target object name, splitting the target object name to obtain a split field, wherein the field can be called a first field, matching the first field with the user wifi name, scoring a matched result, and determining the second target wifi name of the target object which is most matched with the user wifi name from a plurality of target objects according to the scoring value.
In one example, the second wifi name includes a company name, the company name is split into four fields, it is determined which fields exist in the user wifi name, a first target field is obtained, the first target field is scored, and the company wifi name matched with the user wifi name is determined according to the scoring values of different companies.
In some embodiments, the second wifi name includes: domain name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
performing similarity calculation on the domain name of the target object and the first wifi name to obtain a similarity result;
scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
The domain name of the target object, i.e. the web address of the target object.
Under the condition that the second wifi name comprises the target object domain name, similarity calculation is conducted on the domain name of the target object and the user wifi name, then the similarity result is scored, and the second target wifi name of the target object which is most matched with the user wifi name can be determined from the plurality of target objects according to the scoring value.
In one example, the second wifi name includes a company domain name, the company domain name and the user wifi name are subjected to similarity calculation, similarity results are scored, and the company wifi names matched with the user wifi names are determined according to the scoring values of different companies.
In some embodiments, the second wifi name includes: mailbox name of the target object; carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, wherein the method comprises the following steps:
splitting the mailbox name of the target object to obtain a target mailbox name;
performing similarity calculation based on the target mailbox name and the first wifi name to obtain a similarity result;
scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
Under the condition that the second wifi name comprises the mailbox name of the target object, splitting the mailbox name of the target object, performing similarity calculation with the user wifi name after splitting, scoring a similarity result, and determining the second target wifi name of the target object which is most matched with the user wifi name from a plurality of target objects according to the magnitude of scoring values.
In one example, the second wifi name includes a company mailbox name, the company mailbox name is split into two parts by taking @ as a separator, similarity calculation is carried out on the split result and the user wifi name respectively, the similarity result is scored, and the company wifi name matched with the user wifi name is determined according to the scoring values of different companies.
In the embodiment of the application, the geographical position of the user is determined according to the obtained router MAC address and the first wifi name by obtaining the router MAC address used by the user, grid conversion is carried out on the determined geographical position of the user to obtain a first target grid where the user is located, then a second target grid matched with the first target grid is determined, further a second target grid where the user belongs is obtained, the second wifi name of a target object in the second target grid is obtained, finally the second wifi name and the first wifi name are subjected to preset rules and natural language processing to obtain the second target wifi name matched with the first wifi name, and the wifi relation between the user and the target object is generated based on the first wifi name and the second target wifi name. In the embodiment, geographic position information is represented by the grid, so that the calculated amount is reduced, wifi offset error is reduced, the accuracy of wifi relation matching among objects is improved through preset rules and natural language processing, the wifi relation between a user and a target object is generated, and the relation between the user and enterprises in the whole industry can be obtained.
In some embodiments, as shown in fig. 2, before determining a second target grid that matches the first target grid, to obtain a second target grid to which the user belongs, the method further includes:
s180, obtaining the geographic position of the target object;
the geographic location is the natural geographic location of the target object, is a specific place, and is a concept of "point". The geographic position of the target object belongs to public information, and for example, the geographic position of the target object can be obtained from a platform such as a sky eye examination or hundred degrees.
S190, performing grid conversion on the geographic position of the target object to obtain a third target grid where the target object is located;
after the "point" of the geographic position of the target object is obtained on the map, the grid where the point is located is obtained through grid conversion, and the grid represents a "range" on the map, namely, the target grid where the target object is located, and the target grid can be called a third target grid. For example, the geographic position of the target object is subjected to geohash conversion to obtain a third target grid geohash7 where the target object is located, the grid size of the geohash7 is '150 m×150 m', and the geographic position of the target object is represented by 'range', so that errors can be reduced and the calculated amount can be reduced.
And S100, expanding according to a preset target range by taking a third target grid where the target object is located as a center to obtain a second target grid where the geographic position of the target object is located.
After converting the point of the geographic position of the target object into a grid, namely a small range, expanding according to a preset target range to obtain a second target grid with a large range centered on the small range.
In one example, as shown in fig. 3, the target object is a company, a "150m×150m range" of a geohash7 corresponding to the company longitude and latitude is obtained by converting the obtained "point" of the company longitude and latitude, and 9 geohash7 grids, that is, "450m×450m nine grids", are obtained by expanding the obtained "150m×150m range" with the geohash7 corresponding to the company longitude and latitude as the center, and the nine grids are second target grids to which the geographic position of the target object belongs. The center one of the nine grids is the grid where the target object is located, compared with the grid where the geographic position of the company is directly expanded to obtain the grid of 450m multiplied by 450m
The grid obtained by converting the geographic position through the grid, although the grid comprises the point of the geographic position, the point can only be ensured to be in the grid range, the point cannot be ensured to be in the center position of the grid, in order to improve the accuracy, the S190 and the S100 sequentially perform grid conversion on the geographic position of the target object twice to obtain the target range, the reasonable geographic position range can be ensured, the geographic position can be ensured to be in the center of the range, the second target grid of the geographic position of the target object is obtained, the generated wifi relationship between the user and the target object is more accurate.
The embodiment of the application also provides a generating device of wifi relationships between objects, as shown in fig. 4, the device 400 may include an obtaining module 401, a determining module 402, a converting module 403, a matching module 404 and a generating module 405.
An obtaining module 401, configured to obtain a router MAC address and a first wifi name used by a user;
a determining module 402, configured to determine a geographic location of the user according to the MAC address;
a conversion module 403, configured to perform grid conversion on a geographic location of a user, so as to obtain a first target grid where the user is located;
a matching module 404, configured to determine a second target grid that matches the first target grid, to obtain a second target grid to which the user belongs, where the second target grid is a grid to which the geographic location of the target object belongs;
the obtaining module 401 is further configured to obtain a second wifi name of the target object in the second target grid, where the second wifi name is a wifi name generated based on the target object;
the matching module 404 is further configured to match the first wifi name with a second wifi name, so as to obtain a second target wifi name that is matched with the first wifi name;
and the generating module 405 is configured to generate a wifi relationship between the user and the target object based on the first wifi name and the second target wifi name.
In the embodiment of the application, the generating device of the wifi relation between the objects determines the geographic position of the user according to the obtained router MAC address and the first wifi name by obtaining the router MAC address used by the user, performs grid conversion on the determined geographic position of the user to obtain a first target grid where the user is located, then determines a second target grid matched with the first target grid, further obtains a second target grid where the user belongs to, obtains the second wifi name of the target object in the second target grid, and finally performs preset rule and natural language processing on the second wifi name and the first wifi name to obtain a second target wifi name matched with the first wifi name, and generates the wifi relation between the user and the target object based on the first wifi name and the second target wifi name. In the embodiment, geographic position information is represented by the grid, so that the calculated amount is reduced, wifi offset error is reduced, the accuracy of wifi relation matching among objects is improved through preset rules and natural language processing, the wifi relation between a user and a target object is generated, and the relation between the user and enterprises in the whole industry can be obtained.
In some embodiments, the matching module is configured to, before determining a second target grid that matches the first target grid, obtain a second target grid to which the user belongs, further include:
The acquisition module is also used for acquiring the geographic position of the target object;
the conversion module is also used for carrying out grid conversion on the geographic position of the target object to obtain a third target grid where the target object is located;
and the expansion module is used for expanding according to a preset target range by taking a third target grid where the target object is located as a center to obtain a second target grid where the geographic position of the target object is located.
In some embodiments, the obtaining module is further configured to, before obtaining the second wifi name of the target object in the second target grid, further include:
the acquisition module is also used for acquiring the public information of the target object;
the determining module is further configured to determine information corresponding to the target field from the public information, and obtain a second wifi name of the target object.
In some embodiments, the matching module is further configured to match the first wifi name with a second wifi name, to obtain a second target wifi name matched with the first wifi name, including:
and the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name.
In some embodiments, the second wifi name includes: the name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
The splitting unit is used for splitting the name of the target object to obtain a split first field;
the matching unit is used for matching the first field with the first wifi name to generate a first target field;
the scoring unit is used for scoring the first target field to obtain a scoring value;
and the determining unit is used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
In some embodiments, the second wifi name includes: domain name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
the computing unit is used for carrying out similarity computation on the domain name of the target object and the first wifi name to obtain a similarity result;
the scoring unit is also used for scoring the similarity result to obtain a scoring value;
and the determining unit is also used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
In some embodiments, the second wifi name includes: mailbox name of the target object; the processing unit is used for carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name, and the processing unit comprises:
The splitting unit is also used for splitting the mailbox name of the target object to obtain the target mailbox name;
the computing unit is also used for carrying out similarity computation based on the target mailbox name and the first wifi name to obtain a similarity result;
the scoring unit is also used for scoring the similarity result to obtain a scoring value;
and the determining unit is also used for determining a second target wifi name matched with the first wifi name according to the magnitude of the scoring value.
The modules in the device for generating the wifi relationship between the objects provided in the embodiments of the present application may implement the functions of each step of the generating method for providing the wifi relationship between the objects shown in fig. 1 to 3, and may achieve the corresponding technical effects thereof, which are not described herein for brevity.
Fig. 5 shows a schematic hardware structure of a mobile terminal device according to an embodiment of the present application.
The mobile terminal device may comprise a processor 501 and a memory 502 storing computer program instructions.
In particular, the processor 501 may include a central processing unit (Central Processing Unit, CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. Memory 502 may include removable or non-removable (or fixed) media, where appropriate. Memory 502 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 502 is a non-volatile solid state memory.
The Memory may include Read Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to a method according to an aspect of the present application.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement the wifi relation generation method between any of the objects in the above embodiments.
In one example, the data processing device may also include a communication interface 503 and a bus 504. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected to each other via the bus 504 and perform communication with each other.
The communication interface 503 is mainly used to implement communication between each module, apparatus, unit and/or device in the embodiments of the present application.
Bus 504 includes hardware, software, or both, coupling the components of the mobile terminal device to one another. By way of example, and not limitation, the buses may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, an Infiniband interconnect, a low pin count (Linear Predictive Coding, LPC) Bus, a memory Bus, a micro channel architecture (MicroChannel Architecture, MCa) Bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) Bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) Bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) Bus, a video electronics standards association Local Bus (VLB) Bus, or other suitable Bus, or a combination of two or more of these. Bus 504 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
The device can execute the method for generating the wifi relationship between the objects based on each unit/component in the device for generating the wifi relationship between the objects, thereby realizing the method for generating the wifi relationship between the objects described in connection with fig. 1 to 3.
In addition, in combination with the fund supervision method in the above embodiment, the embodiment of the application may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement the method of wifi relationship generation between any of the objects in the embodiments described above.
The application also provides a computer program product, wherein the instructions in the computer program product are executed by a processor of an electronic device, so that the electronic device executes various processes of the method embodiment for generating wifi relation between any one of the objects.
It should be clear that the present application is not limited to the particular arrangements and processes described above and illustrated in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor Memory devices, read-Only Memory (ROM), flash Memory, erasable Read-Only Memory (Erasable Read Only Memory, EROM), floppy disks, compact discs (Compact Disc Read-Only Memory, CD-ROM), optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be different from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, which are intended to be included in the scope of the present application.

Claims (10)

1. The method for generating the wifi relation between the objects is characterized by comprising the following steps:
acquiring a router MAC address and a first wifi name used by a user;
determining the geographic position of the user according to the MAC address;
performing grid conversion on the geographic position of the user to obtain a first target grid where the user is located;
determining a second target grid matched with the first target grid to obtain a second target grid to which a user belongs, wherein the second target grid is a grid to which a geographic position of a target object belongs;
acquiring a second wifi name of the target object in the second target grid, wherein the second wifi name is generated based on the target object;
Matching the first wifi name with the second wifi name to obtain a second target wifi name matched with the first wifi name;
and generating a wifi relation between the user and the target object based on the first wifi name and the second target wifi name.
2. The method of claim 1, wherein prior to said determining a second target grid that matches the first target grid, the method further comprises:
obtaining the geographic position of a target object;
grid conversion is carried out on the geographic position of the target object, and a third target grid where the target object is located is obtained;
and expanding according to a preset target range by taking a third target grid where the target object is located as a center to obtain a second target grid where the geographic position of the target object is located.
3. The method of claim 1, wherein prior to the obtaining the second wifi name of the target object in the second target grid, the method further comprises:
acquiring public information of a target object;
and determining information corresponding to the target field from the public information to obtain a second wifi name of the target object.
4. The method of claim 1, wherein the matching the first wifi name with the second wifi name to obtain a second target wifi name that matches the first wifi name comprises:
And carrying out preset rules and natural language processing on the first wifi name and the second wifi name to obtain a second target wifi name matched with the first wifi name.
5. The method of claim 4, wherein the second wifi name comprises: the name of the target object; the first wifi name and the second wifi name are subjected to preset rules and natural language processing to obtain a second target wifi name matched with the first wifi name, and the method comprises the following steps:
splitting the name of the target object to obtain a split first field;
matching the first field with the first wifi name to generate the first target field;
scoring the first target field to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
6. The method of claim 4, wherein the second wifi name comprises: domain name of the target object; the first wifi name and the second wifi name are subjected to preset rules and natural language processing to obtain a second target wifi name matched with the first wifi name, and the method comprises the following steps:
performing similarity calculation on the domain name of the target object and the first wifi name to obtain a similarity result;
Scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
7. The method of claim 4, wherein the second wifi name comprises: mailbox name of the target object; the first wifi name and the second wifi name are subjected to preset rules and natural language processing to obtain a second target wifi name matched with the first wifi name, and the method comprises the following steps:
splitting the mailbox name of the target object to obtain a target mailbox name;
performing similarity calculation based on the target mailbox name and the first wifi name to obtain a similarity result;
scoring the similarity result to obtain a scoring value;
and determining a second target wifi name matched with the first wifi name according to the value of the scoring value.
8. An apparatus for generating wifi relationships between objects, comprising:
the acquisition module is used for acquiring the router MAC address and the first wifi name used by the user;
a determining module, configured to determine a geographic location of the user according to the MAC address;
the conversion module is used for carrying out grid conversion on the geographic position of the user to obtain a first target grid where the user is located;
The matching module is used for determining a second target grid matched with the first target grid to obtain a second target grid to which the user belongs, wherein the second target grid is a grid to which the geographic position of the target object belongs;
the obtaining module is further configured to obtain a second wifi name of the target object in the second target grid, where the second wifi name is a wifi name generated based on the target object;
the matching module is further configured to match the first wifi name with the second wifi name to obtain a second target wifi name matched with the first wifi name;
and the generating module is used for generating the wifi relation between the user and the target object based on the first wifi name and the second target wifi name.
9. An apparatus, the apparatus comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements a method of generating wifi relationships between objects as claimed in any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement a method of wifi relation generation between objects according to any of claims 1 to 7.
CN202310311585.8A 2023-03-24 2023-03-24 Method, device, equipment and storage medium for generating wifi relationship between objects Pending CN116455866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310311585.8A CN116455866A (en) 2023-03-24 2023-03-24 Method, device, equipment and storage medium for generating wifi relationship between objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310311585.8A CN116455866A (en) 2023-03-24 2023-03-24 Method, device, equipment and storage medium for generating wifi relationship between objects

Publications (1)

Publication Number Publication Date
CN116455866A true CN116455866A (en) 2023-07-18

Family

ID=87128067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310311585.8A Pending CN116455866A (en) 2023-03-24 2023-03-24 Method, device, equipment and storage medium for generating wifi relationship between objects

Country Status (1)

Country Link
CN (1) CN116455866A (en)

Similar Documents

Publication Publication Date Title
AU2014255510C1 (en) A method and apparatus for identifying and communicating locations
CN115392955B (en) Store duplicate removal processing method, store duplicate removal processing device, store duplicate removal processing equipment and storage medium
CN109492066B (en) Method, device, equipment and storage medium for determining branch names of points of interest
CN103401561A (en) Methods and devices for compressing and decompressing map data
CN111382138B (en) POI data processing method, device, equipment and medium
CN116455866A (en) Method, device, equipment and storage medium for generating wifi relationship between objects
CN112836146A (en) Geographic space coordinate information acquisition method and device based on network message
CN111538803A (en) Method, device, equipment and medium for acquiring candidate question text to be matched
CN115186741A (en) Method, device and equipment for verifying POI fusion data
CN116029290A (en) Text matching method, device, equipment, medium and product
CN115618099A (en) Neural network architecture searching method and device and electronic equipment
CN113283450A (en) Image recognition method, device, equipment and computer storage medium
Wu et al. Mining geographic episode association patterns of abnormal events in global earth science data
CN109241208B (en) Address positioning method, address monitoring method, information processing method and device
CN113487163A (en) Method and device for service prediction based on geographical location information
CN112910674B (en) Physical site screening method and device, electronic equipment and storage medium
CN115908998B (en) Training method of water depth data identification model, water depth data identification method and device
CN116431787A (en) Method, device, equipment and computer storage medium for determining reply information
CN115455947A (en) Text error correction method and device, electronic equipment and computer storage medium
CN118051646A (en) Store name weighing re-detection method and store repeated detection method
CN115982378A (en) Data index construction method and device, electronic equipment and computer readable medium
CN115033534A (en) File processing method, device, equipment and computer readable storage medium
CN113556698A (en) Information clustering method, device, equipment and medium based on mobile phone signaling
CN114661604A (en) Data generation method, device, equipment and computer storage medium
CN116257592A (en) Method and device for determining similar items of data items, electronic equipment and storage 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