Address matching method and device, electronic equipment and storage medium

By obtaining the unified coded address of the building and converting coordinate information, determining the grid layer, and establishing the operator address matching relationship, the problem of low efficiency and low accuracy in urban villages or remote areas is solved, and the problem of low efficiency and low accuracy in traditional text matching methods is realized. Accurate acceptance of operator business.

CN119089021APending Publication Date: 2024-12-06CHINA TELECOM CORP LTD

Patent Information

Application Number
CN202410937322.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-12-06

Smart Images

  • Figure CN119089021A_ABST
    Figure CN119089021A_ABST
Patent Text Reader

Abstract

The invention provides an address matching method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a unified coded address of a building in a target area; the building coordinate information in the unified coding address is converted, converted building coordinate information is obtained, and the converted building coordinate information and standard building coordinate information of an operator are located in the same coordinate system; determining a grid layer of the building based on the converted building coordinate information; and based on the grid layer and the operator layer, establishing an address matching relationship between the unified coded address of the target area and the operator building address, so as to match the unified coded address with the operator building address according to the address matching relationship, the operator layer is a layer constructed by an operator building address of the building in the target area under the operator, and the operator building address is an address defined by the operator for the building in the target area. According to the invention, accurate acceptance of the service of the operator can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an address matching method, device, electronic device and storage medium. Background Art

[0002] When customers apply for the operator's services at the business hall or online hall, the operator provides a set of searchable standard addresses for customers to find the registration address. Usually, the standard address is found by self-service or by the salesperson in the physical store. Because the description of the address is different from the common name, it is more prominent in urban villages or remote areas. In recent years, social QR code house numbers have been introduced and popularized throughout the city. In order to quickly integrate and connect the operator's standard address with the social QR code address, customers can find the operator's standard address through various methods such as house number QR code scanning, code input, address positioning, etc., and the address data at both ends must be matched and connected.

[0003] There are inconsistencies in the text descriptions of social grid house numbers and the standard addresses built by operators, both in terms of address content and hierarchy, and it is impossible to accurately find the operator's standard address by name. Since the names of buildings are different or because of a single word difference, they are basically impossible to match from a data perspective. Floor data also differs greatly due to the existence of underground floors, mezzanines, etc., and the number of floors is not completely consistent. Therefore, the traditional text matching method has problems such as low efficiency, low accuracy, and unusable data, which makes it impossible to accurately handle operator services. Summary of the invention

[0004] The technical problem to be solved by the embodiments of the present application is to provide an address matching method, device, electronic device and storage medium to effectively improve the matching efficiency and accuracy of the unified coded address and the operator's building address, so as to achieve accurate acceptance of the operator's business.

[0005] In a first aspect, an embodiment of the present application provides an address matching method, the method comprising:

[0006] Obtain the unified coded addresses of buildings in the target area;

[0007] Converting the building coordinate information in the unified coded address to obtain converted building coordinate information, wherein the converted building coordinate information and the standard building coordinate information of the operator are in the same coordinate system;

[0008] Determining a grid layer of the building based on the converted building coordinate information;

[0009] Based on the grid layer and the operator layer, an address matching relationship is established between the unified coding address corresponding to the target area and the operator building address, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

[0010] Optionally, determining the grid layer of the building based on the converted building coordinate information includes:

[0011] Projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building;

[0012] Connecting the location points corresponding to the buildings to form a closed interval;

[0013] The grid layer is determined based on the closed interval of the building on the electronic map.

[0014] Optionally, establishing an address matching relationship between a unified code address corresponding to the target area and an operator building address based on the grid layer and the operator layer includes:

[0015] Converting the grid layer into grid point information;

[0016] Based on the relationship between the operator layer and the grid point information, an address matching relationship is established between the unified coding address corresponding to the target area and the operator building address.

[0017] Optionally, the establishing, based on the relationship between the operator layer and the grid point information, an address matching relationship between the unified code address corresponding to the target area and the operator building address includes:

[0018] Determine whether the relationship between the operator layer and the grid point information is a containment relationship;

[0019] In response to the relationship between the operator layer and the grid point information being a containment relationship, establishing an address matching relationship between the unified coding address of the corresponding building and the operator building address;

[0020] In response to the relationship between the operator layer and the grid point information being a non-inclusion relationship, an address matching relationship is established between the unified code address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified code address and the operator building address.

[0021] Optionally, the establishing an address matching relationship between the unified code address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified code address and the operator building address, includes:

[0022] Determine whether there is an intersection between the operator layer and the grid layer;

[0023] In the case where there is an intersection between the operator layer and the grid layer, establishing an address matching relationship between the unified code address having the greatest name similarity to the operator building address and the corresponding operator building address;

[0024] In the case where there is an intersection between the operator layer and the grid layer, obtaining the grid layer with the largest intersection area with the operator layer in the grid layers, and establishing an address matching relationship between the unified code address corresponding to the grid layer with the largest intersection area and the corresponding operator building address;

[0025] When there is no intersection between the operator layer and the grid layer, the area of ​​the grid layer is expanded according to a set threshold, and based on the relationship between the area-expanded grid layer and the operator layer, an address matching relationship between the corresponding unified coding address and the operator building address is established.

[0026] Optionally, after establishing an address matching relationship between the unified code address corresponding to the target area and the operator building address based on the grid layer and the operator layer, the method further includes:

[0027] Acquire service application information initiated by a user to the operator, wherein the service application information includes a target unified coding address of a designated building in the target area;

[0028] Based on the address matching relationship, determine the target operator building address corresponding to the target unified code address;

[0029] Based on the target operator building address, the operator service corresponding to the service application information is allocated to the user.

[0030] In a second aspect, an embodiment of the present application provides an address matching device, the device comprising:

[0031] A unified code address acquisition module is used to acquire the unified code addresses of buildings in the target area;

[0032] A conversion coordinate information acquisition module, used for converting the building coordinate information in the unified coding address to obtain converted building coordinate information, wherein the converted building coordinate information and the operator's standard building coordinate information are in the same coordinate system;

[0033] A grid layer determination module, used to determine the grid layer of the building based on the converted building coordinate information;

[0034] An address matching relationship establishing module is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the grid layer and the operator layer, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

[0035] Optionally, the grid layer determination module includes:

[0036] A location point acquisition unit, used for projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building;

[0037] A location point connecting unit, used to connect the location points corresponding to the buildings to form a closed interval;

[0038] The grid layer determination unit is used to determine the grid layer based on the closed interval of the building on the electronic map.

[0039] Optionally, the address matching relationship establishing module includes:

[0040] A grid layer conversion unit, used for converting the grid layer into grid point information;

[0041] The address matching relationship establishing unit is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the relationship between the operator layer and the grid point information.

[0042] Optionally, the address matching relationship establishing unit includes:

[0043] An inclusion relationship determination subunit, used to determine whether the relationship between the operator layer and the grid point information is an inclusion relationship;

[0044] A first matching relationship establishment subunit is used to establish an address matching relationship between the unified coding address of the corresponding building and the operator building address in response to the relationship between the operator layer and the grid point information being a containment relationship;

[0045] The second matching relationship establishing sub-unit is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified coding address and the operator building address in response to the relationship between the operator layer and the grid point information being a non-inclusion relationship.

[0046] Optionally, the second matching relationship establishing subunit includes:

[0047] A layer intersection determination subunit, used to determine whether there is an intersection between the operator layer and the grid layer;

[0048] A third matching relationship establishing subunit is used to establish an address matching relationship between the unified coded address with the greatest name similarity to the operator's building address and the corresponding operator's building address when there is an intersection between the operator layer and the grid layer;

[0049] The fourth matching relationship establishing subunit is used for obtaining the grid layer with the largest intersection area with the operator layer in the grid layers when there is an intersection between the operator layer and the grid layer, and establishing an address matching relationship between the unified code address corresponding to the grid layer with the largest intersection area and the corresponding operator building address;

[0050] The fifth matching relationship establishing sub-unit is used to expand the area of ​​the grid layer according to a set threshold when there is no intersection between the operator layer and the grid layer, and to establish an address matching relationship between the corresponding unified coding address and the operator building address based on the relationship between the area-expanded grid layer and the operator layer.

[0051] Optionally, the device further comprises:

[0052] A service application information acquisition module, used to acquire service application information initiated by a user to the operator, wherein the service application information includes a target unified coding address of a designated building in the target area;

[0053] A target address determination module, used to determine the target operator building address corresponding to the target unified code address based on the address matching relationship;

[0054] The operator service allocation module is used to allocate the operator service corresponding to the service application information to the user based on the target operator building address.

[0055] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0056] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned address matching methods when executing the program.

[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the address matching methods described above.

[0058] Compared with the prior art, the embodiments of the present application have the following advantages:

[0059] In the embodiment of the present application, the unified coding address of the building in the target area is obtained. The building coordinate information in the unified coding address is converted to obtain the converted building coordinate information, and the converted building coordinate information is in the same coordinate system as the standard building coordinate information of the operator. Based on the converted building coordinate information, the grid layer of the building is determined. Based on the grid layer and the operator layer, an address matching relationship between the unified coding address corresponding to the target area and the operator building address is established, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address under the operator for the building in the target area, and the operator building address is the address defined by the operator for the building in the target area. The embodiment of the present application establishes a corresponding relationship between the unified coding address and the operator building address by adopting a layer overlay comparison method, so that when the terminal applies for the operator service, the standard address of the operator can be quickly and accurately found through the unified coding address when the terminal applies for the service, thereby improving the efficiency and accuracy of address matching, and realizing accurate acceptance of the operator service.

[0060] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A flowchart of the steps of an address matching method provided in an embodiment of the present application;

[0062] Figure 2 A schematic diagram of point information provided in an embodiment of the present application;

[0063] Figure 3A schematic diagram of point information forming a line segment provided in an embodiment of the present application;

[0064] Figure 4 A schematic diagram of a grid layer provided in an embodiment of the present application;

[0065] Figure 5 A schematic diagram of layer overlay comparison provided in an embodiment of the present application;

[0066] Figure 6 A schematic diagram of the structure of an address matching device provided in an embodiment of the present application;

[0067] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0069] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0070] Reference Figure 1 , shows a flowchart of the steps of an address matching method provided by an embodiment of the present application, such as Figure 1 As shown, the address matching method may include: step 101, step 102, step 103 and step 104.

[0071] Step 101: Obtain the unified coding addresses of buildings in the target area.

[0072] The embodiments of the present application can be applied to establish a correspondence between a unified coded address and an operator's building address in combination with a building layer for subsequent address matching.

[0073] Unified coded address (also known as grid information): The Shenzhen Municipal Government has assigned a unique "identity card number" consisting of a 25-digit code to more than 600,000 buildings and more than 11 million houses in the city, and established a unified city-wide address base, linking house addresses of different industry standards and non-standard addresses such as idiomatic expressions. Citizens can simply and quickly retrieve the standard address of the house and its specific location on the electronic map (also known as the grid layer) by entering the common name or abbreviation of the house address.

[0074] The target area refers to the area where an address matching relationship needs to be established. In this example, the target area can be a street or community in a city, or a district in a province. This embodiment does not limit the specific scope and specific geographical location of the target area.

[0075] When establishing an address matching relationship between a unified coding address in a target area and an address of a building of an operator, the unified coding address of the building in the target area may be obtained.

[0076] In practical applications, the format of the unified coded address can be as follows:

[0077] {"coordinates":[[[114.062656,24.815012],[114.062682,24.815053],[114.062674,24.815092],[114.062656,24.815012]]]}

[0078] It can be understood that in the above-mentioned unified coding format, the four sets of data respectively represent the longitude and latitude information of the four corner points of the building. The above-mentioned four sets of longitude and latitude data can be obtained through devices such as GPS (Global Positioning System), or through network data query, etc. This embodiment does not limit the method for obtaining the longitude and latitude information in the above-mentioned coding format.

[0079] After the unified coded addresses of the buildings in the target area are obtained, step 102 is executed.

[0080] Step 102: converting the building coordinate information in the unified coding address to obtain converted building coordinate information, wherein the converted building coordinate information and the operator's standard building coordinate information are in the same coordinate system.

[0081] After obtaining the unified coding address of the building in the target area, the building coordinate information in the unified coding address can be converted to obtain the converted building coordinate information. The converted building coordinate information is in the same coordinate system as the operator's standard building coordinate information. Specifically, the coordinate system corresponding to the standard address defined by the operator can be obtained first, and then a conversion relationship between the coordinate system corresponding to the unified coding address and the coordinate system corresponding to the operator's standard address can be established. The unified coding address is converted using the conversion relationship to obtain the converted building coordinate information. For example, when the GCJ-02 (also known as the national standard 2000 coordinate system, abbreviated as GCJ2000) coordinates of the social QR code need to be converted to the WGS-84 coordinates used by telecommunications buildings, it is necessary to follow a certain conversion process:

[0082] 1. Overview of the two coordinate systems:

[0083] GCJ-02 coordinate system (GB 2000 coordinate system): It is a geographic coordinate system independently developed by my country and officially promulgated and implemented in 2000. It uses a two-dimensional plane rectangular coordinate system, expressing angles in seconds and distances in meters, with an accuracy of ±50 meters.

[0084] WGS-84 coordinate system: It is a geocentric coordinate system widely used internationally. Its coordinate origin is the center of mass of the earth, the X axis points to the intersection of the zero meridian plane of BIH 1984.0 and the CTP equator, and the Y axis, Z axis and X axis are perpendicular to form a right-handed coordinate system.

[0085] 2. Select the conversion tool:

[0086] You can use professional GIS software such as ArcGIS or online tools to perform coordinate conversion. These tools usually provide conversion functions from one coordinate system to another.

[0087] 3. The process of coordinate transformation:

[0088] 1) Prepare data: ensure that there is coordinate data in the GCJ-02 coordinate system, that is, the unified coding address in this embodiment.

[0089] 2) Import the data into the conversion tool.

[0090] 3) In the conversion tool, set the input coordinate system to GCJ-02 and the output coordinate system to WGS-84.

[0091] 4) Perform coordinate conversion to convert the building coordinate information in the Unicode address into coordinates under WGS-84.

[0092] In a specific implementation, a conversion matrix between the coordinate system corresponding to the unified coded address and the coordinate system of the operator's standard address can be pre-established. Through this conversion matrix, the building coordinate information in the unified coded address can be converted into coordinates in the operator's standard address coordinate system.

[0093] It can be understood that the above two situations are only two coordinate conversion methods listed for better understanding the technical solution of the embodiment of the present application. In practical applications, other methods can also be used for coordinate conversion, and this embodiment does not limit this.

[0094] After the building coordinate information in the unified coded address is converted to obtain the converted building coordinate information, step 103 is executed.

[0095] Step 103: Determine the grid layer of the building based on the converted building coordinate information.

[0096] After converting the building coordinate information in the unified coding address to obtain the converted building coordinate information, the grid layer of the building can be determined based on the converted building coordinate information. The implementation process of establishing the grid layer can be described in detail in combination with the following specific implementation methods.

[0097] In a specific implementation of the present application, the above step 103 may include:

[0098] Sub-step A1: Projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building.

[0099] In this embodiment, after the converted building coordinate information is obtained, the converted building coordinate information can be projected onto an electronic map corresponding to the target area, thereby obtaining the location point corresponding to the building, that is, the location point of the building on the electronic map. Figure 2 As shown, the conversion coordinates of a building can be displayed on an electronic map to obtain information of several points. It can be understood that a building can include several floors, several rooms, etc. Different floors and rooms have their corresponding conversion coordinates, so that a building can be composed of several location points on an electronic map, etc.

[0100] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0101] After the converted building coordinate information is projected onto the electronic map corresponding to the target area to obtain the location point corresponding to the building, sub-step A2 is executed.

[0102] Sub-step A2: Connect the location points corresponding to the buildings to form a closed interval.

[0103] After the converted building coordinate information is projected onto the electronic map corresponding to the target area to obtain the location points corresponding to the buildings, the location points corresponding to the buildings can be connected to form a closed interval. Figure 3 As shown, it can be Figure 2 The outer points in the point information of the building shown are connected, so that line segments can be formed to obtain closed intervals, etc.

[0104] After the location points corresponding to the buildings are connected to form a closed interval, sub-step A3 is executed.

[0105] Sub-step A3: Determine the grid layer based on the closed interval of the building on the electronic map.

[0106] After the location points corresponding to the buildings are connected to form a closed interval, the grid layer can be determined based on the closed interval of the building on the electronic map. Figure 4 As shown, Figure 3 The line segments formed by connecting the point information and the closed interval formed by the line segments can be used as the grid layer of the building.

[0107] After the grid layer of the building is determined based on the converted building coordinate information, step 104 is performed.

[0108] Step 104: Based on the grid layer and the operator layer, an address matching relationship between the unified coding address corresponding to the target area and the operator building address is established, so as to match the unified coding address with the operator building address according to the address matching relationship, wherein the operator layer is a layer constructed of the operator building addresses of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

[0109] The operator layer refers to a layer constructed for the operator building addresses of the buildings in the target area under the operator. In this embodiment, the construction method of the operator layer can be similar to the construction method of the grid layer, and the construction process of the operator layer is not described in detail in this embodiment.

[0110] After the grid layer of the building is determined based on the converted building coordinate information, an address matching relationship between the unified coding address corresponding to the target area and the operator building address can be established based on the grid layer and the operator layer, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator building address can be the address defined by the operator for the building in the target area, that is, the standard address of the operator. That is, address matching is performed by layer overlay comparison, such as Figure 5 As shown, the grid layer in the target area is overlaid and compared with the operator layer on the electronic map to determine the matching unified code address and operator building address.

[0111] In actual applications, after the layers are superimposed, due to the inconsistency of their respective management specifications, a one-to-many or many-to-one situation may occur between buildings. Therefore, the inclusion relationship is confirmed based on the two situations.

[0112] The specific instructions are as follows:

[0113] 1. A layer contains multiple layers.

[0114] 2. Determine the containment relationship between the outer border and the sublayer, that is, a one-to-many relationship.

[0115] 3. Use layer attributes to form a corresponding relationship list. For example, layer 1: Shanquan Community, No. 3032 Shenyan Road, Buildings 1-9, layer 2: Buildings 1, 2, 3, 4, 5, 6, 7, 8, 9. The two sets of attribute data have a corresponding relationship.

[0116] The embodiment of the present application establishes a correspondence between the unified coding address and the operator's building address by using a layer overlay comparison method, so that when the terminal applies for the operator's service, the standard address of the operator can be quickly and accurately found through the unified coding address when the terminal applies for the service, thereby improving the efficiency and accuracy of address matching and realizing accurate acceptance of the operator's service. For example, for a certain building in the city, a house number QR code is pasted outside the door of each household. The user can obtain the unified coding address of his location by scanning the QR code, and the layer comparison method provided by this embodiment can accurately determine the standard address of the operator of each household, thereby realizing the efficiency of address matching and accurate acceptance of the operator's service.

[0117] The implementation process of constructing the address matching relationship between the unified coded address and the operator building address based on the grid layer and the operator layer can be described in detail in combination with the following specific implementation method.

[0118] In a specific implementation of the present application, the above step 104 may include:

[0119] Sub-step B1: converting the grid layer into grid point information.

[0120] In this embodiment, after the grid layer is obtained, the grid layer may be converted into grid point information, that is, each grid layer is regarded as a grid point.

[0121] In a specific implementation, the center point of each network layer can be obtained, and the center point can be used as a grid point of the grid layer. Of course, in practical applications, other methods can be used to convert between grid layers and grid points, such as using any point in the grid layer as a grid point. This embodiment does not limit the implementation method for converting the grid layer to the grid point.

[0122] After the grid layer is converted into grid point information, sub-step B2 is performed.

[0123] Sub-step B2: Based on the relationship between the operator layer and the grid point information, an address matching relationship is established between the unified coding address corresponding to the target area and the operator building address.

[0124] After the grid layer is converted into grid point information, an address matching relationship between the unified coding address corresponding to the target area and the operator building address can be established based on the relationship between the operator layer and the grid point information. Specifically, if the operator layer contains grid points, it means that the two match, and then an address matching relationship between the unified coding address and the operator building address is established. For grid points that are not included, the matching address can be determined by area and / or address name matching. The implementation process can be described in detail in conjunction with the following specific implementation method.

[0125] In another specific implementation of the present application, the above sub-step B2 may include:

[0126] Sub-step C1: Determine whether the relationship between the operator layer and the grid point information is an inclusion relationship.

[0127] In this embodiment, after the grid layer is converted into grid point information, it can be determined whether the relationship between the operator layer and the grid point information is an inclusion relationship, that is, it is determined whether the operator layer contains the grid point.

[0128] When it is determined that the relationship between the operator layer and the grid point information is an inclusion relationship, sub-step C2 is executed.

[0129] When it is determined that the relationship between the operator layer and the grid point information is a non-inclusion relationship, sub-step C3 is executed.

[0130] Sub-step C2: In response to the relationship between the operator layer and the grid point information being an inclusion relationship, an address matching relationship between the unified coding address of the corresponding building and the operator building address is established.

[0131] When it is determined that the relationship between the operator layer and the grid point information is a containment relationship, an address matching relationship between the unified coding address of the corresponding building and the operator building address can be established. For example, when the operator layer 1 contains the grid point 1, it means that the operator building address corresponding to the operator layer 1 matches the unified coding address corresponding to the grid point 1, and an address matching relationship between the operator building address corresponding to the operator layer 1 and the unified coding address corresponding to the grid point 1 is established.

[0132] Sub-step C3: In response to the relationship between the operator layer and the grid point information being a non-inclusion relationship, an address matching relationship is established between the unified code address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified code address and the operator building address.

[0133] The above layer overlay calculation is a calculation process for relatively standardized layers. If the layer quality is poor or the layer deviation is large, there is no other method except to correct it manually bit by bit. The following introduces an independent innovative method to solve the problem of layer deviation. Specifically, when it is determined that the relationship between the operator layer and the grid point information is a non-inclusive relationship, the address matching relationship between the unified coding address corresponding to the target area and the operator building address can be established based on the layer area of ​​the operator layer and the grid layer, and the name of the unified coding address and the operator building address. The implementation process can be described in detail in combination with the following specific implementation method.

[0134] In another specific implementation of the present application, the above sub-step C3 may include:

[0135] Sub-step D1: Determine whether there is an intersection between the operator layer and the grid layer.

[0136] In this embodiment, when the relationship between the operator layer and the grid point information is a non-inclusion relationship, it can be determined whether there is an intersection between the operator layer and the grid layer, that is, whether there is an overlapping part between the operator layer and the grid layer.

[0137] If there is an intersection, execute sub-step D2 or execute sub-step D3; if there is no intersection, execute sub-step D4.

[0138] Sub-step D2: When there is an intersection between the operator layer and the grid layer, an address matching relationship is established between the unified coded address with the greatest name similarity to the operator building address and the corresponding operator building address.

[0139] In the case where there is an intersection between the operator layer and the grid layer, the unified coded address with the greatest name similarity to the operator building address in the unified coded address can be established, and the address matching relationship between the unified coded address and the corresponding operator building address can be established, that is, the two layers have an intersection relationship, and the building names are consistent, with the highest priority, and are extracted to establish an address matching relationship. For example, the operator layer 1 has an intersection with the grid layer 1, grid layer 2, and grid layer 3. At this time, the similarity between the address name of the unified coded address corresponding to the grid layer 1, grid layer 2, and grid layer 3, and the address name of the operator building address of the operator layer 1 can be calculated, and the grid layer with the greatest similarity can be selected from the grid layer 1, grid layer 2, and grid layer 3 according to the three similarities, and then the unified coded address of the grid layer with the greatest name similarity is obtained to establish a matching relationship with the operator building address corresponding to the operator layer 1, etc.

[0140] In practical applications, the similarity can be calculated using cosine distance or Euclidean distance. This embodiment does not limit the calculation method of the similarity between address names.

[0141] Sub-step D3: When there is an intersection between the operator layer and the grid layer, obtain the grid layer with the largest intersection area with the operator layer, and establish an address matching relationship between the unified coded address corresponding to the grid layer with the largest intersection area and the corresponding operator building address.

[0142] In this embodiment, when there is an intersection between the operator layer and the grid layer, the grid layer with the largest intersection area with the operator layer can be obtained, and an address matching relationship between the unified coded address corresponding to the grid layer with the largest intersection area and the corresponding operator building address can be established.

[0143] It is understandable that the above sub-steps D2 and D3 can be applied in combination, that is, first use the name similarity for matching, and for the remaining cases where there is an intersection and the name similarity is low, the overlapping area size can be used for matching.

[0144] Sub-step D4: When there is no intersection between the operator layer and the grid layer, the grid layer is expanded in area according to a set threshold, and based on the relationship between the expanded grid layer and the operator layer, an address matching relationship between the corresponding unified coding address and the operator building address is established.

[0145] In the case where there is no intersection between the operator layer and the grid layer, the area of ​​the grid layer can be expanded according to the set threshold, and the address matching relationship between the corresponding unified coding address and the operator building address can be established based on the relationship between the expanded area grid layer and the operator layer. Specifically, for buildings that cannot be matched, the intersection relationship can be re-found according to the set threshold cache, and the intersection relationship can be extracted in combination with the text matching degree. For example, you can first set a threshold of 100 square meters, expand the area of ​​the grid layer, and find the grid layer with an intersection, and then use the name similarity method to filter out the matching address. Then, for the case where there is no intersection, set a larger threshold to expand the area of ​​the grid layer, and so on, until all building addresses are successfully matched.

[0146] The embodiment of the present application establishes a correspondence between a unified coding address and an operator's building address by adopting a layer overlay comparison method, so that when a terminal applies for an operator's service, the operator's standard address can be quickly found for service allocation.

[0147] The address matching operator service allocation process may be described in detail in conjunction with the following specific implementation methods.

[0148] In a specific implementation of the present application, after the above step 104, the following may also be included:

[0149] Step E1: obtaining service application information initiated by a user to the operator, wherein the service application information includes a target unified coding address of a designated building in the target area.

[0150] In this embodiment, when the user applies for an operator service from the operator, the user may send service application information to the operator, and the service application information may include a target unified coding address of a designated building in a target area.

[0151] In actual applications, users can initiate service applications to operators by using a terminal to scan a house number QR code, and the house number QR code can contain the same coded address.

[0152] After obtaining the service application information initiated by the user to the operator, step E2 is executed.

[0153] Step E2: Based on the address matching relationship, determine the target operator building address corresponding to the target unified code address.

[0154] After obtaining the service application information initiated by the user to the operator, the target operator building address corresponding to the target unified coding address can be determined based on the pre-established address matching relationship.

[0155] Step E3: Based on the building address of the target operator, allocate the operator service corresponding to the service application information to the user.

[0156] Then, the operator service corresponding to the service application information can be allocated to the user according to the building address of the target operator.

[0157] The embodiment of the present application uses a layer overlay comparison calculation method to quickly connect and bundle the telecommunications standard address with the social grid information and the house number QR code, and can achieve the effect of scanning the code to select the address through a scanning terminal, thereby improving the efficiency and accuracy of the operator's business acceptance.

[0158] The address matching method provided in the embodiment of the present application is by obtaining the unified coding address of the building in the target area. The building coordinate information in the unified coding address is converted to obtain the converted building coordinate information, and the converted building coordinate information is in the same coordinate system as the standard building coordinate information of the operator. Based on the converted building coordinate information, the grid layer of the building is determined. Based on the grid layer and the operator layer, an address matching relationship between the unified coding address corresponding to the target area and the operator building address is established, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address under the operator for the building in the target area, and the operator building address is the address defined by the operator for the building in the target area. The embodiment of the present application establishes a corresponding relationship between the unified coding address and the operator building address by adopting a layer overlay comparison method, so that when the terminal applies for the operator service, the standard address of the operator can be quickly and accurately found through the unified coding address when the terminal applies for the service, thereby improving the efficiency and accuracy of address matching, and realizing accurate acceptance of the operator service.

[0159] Reference Figure 6 , shows a schematic diagram of the structure of an address matching device provided in an embodiment of the present application, such as Figure 6 As shown, the address matching device 600 may include the following modules:

[0160] The unified code address acquisition module 610 is used to acquire the unified code address of the building in the target area;

[0161] The conversion coordinate information acquisition module 620 is used to convert the building coordinate information in the unified coding address to obtain converted building coordinate information, where the converted building coordinate information and the operator's standard building coordinate information are in the same coordinate system;

[0162] A grid layer determination module 630, configured to determine a grid layer of the building based on the converted building coordinate information;

[0163] The address matching relationship establishing module 640 is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the grid layer and the operator layer, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

[0164] Optionally, the grid layer determination module includes:

[0165] A location point acquisition unit, used for projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building;

[0166] A location point connecting unit, used to connect the location points corresponding to the buildings to form a closed interval;

[0167] The grid layer determination unit is used to determine the grid layer based on the closed interval of the building on the electronic map.

[0168] Optionally, the address matching relationship establishing module includes:

[0169] A grid layer conversion unit, used for converting the grid layer into grid point information;

[0170] The address matching relationship establishing unit is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the relationship between the operator layer and the grid point information.

[0171] Optionally, the address matching relationship establishing unit includes:

[0172] An inclusion relationship determination subunit, used to determine whether the relationship between the operator layer and the grid point information is an inclusion relationship;

[0173] A first matching relationship establishment subunit is used to establish an address matching relationship between the unified coding address of the corresponding building and the operator building address in response to the relationship between the operator layer and the grid point information being a containment relationship;

[0174] The second matching relationship establishing sub-unit is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified coding address and the operator building address in response to the relationship between the operator layer and the grid point information being a non-inclusion relationship.

[0175] Optionally, the second matching relationship establishing subunit includes:

[0176] A layer intersection determination subunit, used to determine whether there is an intersection between the operator layer and the grid layer;

[0177] A third matching relationship establishing subunit is used to establish an address matching relationship between the unified coded address with the greatest name similarity to the operator's building address and the corresponding operator's building address when there is an intersection between the operator layer and the grid layer;

[0178] The fourth matching relationship establishing subunit is used for obtaining the grid layer with the largest intersection area with the operator layer in the grid layers when there is an intersection between the operator layer and the grid layer, and establishing an address matching relationship between the unified code address corresponding to the grid layer with the largest intersection area and the corresponding operator building address;

[0179] The fifth matching relationship establishing sub-unit is used to expand the area of ​​the grid layer according to a set threshold when there is no intersection between the operator layer and the grid layer, and to establish an address matching relationship between the corresponding unified coding address and the operator building address based on the relationship between the area-expanded grid layer and the operator layer.

[0180] Optionally, the device further comprises:

[0181] A service application information acquisition module, used to acquire service application information initiated by a user to the operator, wherein the service application information includes a target unified coding address of a designated building in the target area;

[0182] A target address determination module, used to determine the target operator building address corresponding to the target unified code address based on the address matching relationship;

[0183] The operator service allocation module is used to allocate the operator service corresponding to the service application information to the user based on the target operator building address.

[0184] The address matching device provided in the embodiment of the present application obtains the unified coding address of the building in the target area. The building coordinate information in the unified coding address is converted to obtain the converted building coordinate information, and the converted building coordinate information is in the same coordinate system as the standard building coordinate information of the operator. Based on the converted building coordinate information, the grid layer of the building is determined. Based on the grid layer and the operator layer, an address matching relationship between the unified coding address corresponding to the target area and the operator building address is established, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address under the operator for the building in the target area, and the operator building address is the address defined by the operator for the building in the target area. The embodiment of the present application establishes a corresponding relationship between the unified coding address and the operator building address by adopting a layer overlay comparison method, so that when the terminal applies for the operator service, the standard address of the operator can be quickly and accurately found through the unified coding address when the terminal applies for the service, thereby improving the efficiency and accuracy of address matching, and realizing accurate acceptance of the operator service.

[0185] An embodiment of the present application also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned address matching method when executed by the processor.

[0186] Figure 7 FIG. 7 is a schematic diagram showing the structure of an electronic device 700 according to an embodiment of the present invention. Figure 7 As shown, the electronic device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 702 or computer program instructions loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 can also be stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0187] Multiple components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, a microphone, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0188] The various processes and processing described above may be performed by the processing unit 701. For example, the method of any of the above embodiments may be implemented as a computer software program, which is tangibly contained in a computer-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more actions in the method described above may be performed.

[0189] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned address matching method is implemented.

[0190] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0191] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0192] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminals (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0193] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0194] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal so that a series of operating steps are executed on the computer or other programmable terminal to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0195] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0196] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or terminal including the elements.

[0197] The above is a detailed introduction to an address matching method, an address matching device, an electronic device and a computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An address matching method, characterized in that: The method comprises: Obtain the unified coded addresses of buildings in the target area; Converting the building coordinate information in the unified coded address to obtain converted building coordinate information, wherein the converted building coordinate information and the operator's standard building coordinate information are in the same coordinate system; Determining a grid layer of the building based on the converted building coordinate information; Based on the grid layer and the operator layer, an address matching relationship is established between the unified coding address corresponding to the target area and the operator building address, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

2. The method according to claim 1, characterized in that: The step of determining the grid layer of the building based on the converted building coordinate information comprises: Projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building; Connecting the location points corresponding to the buildings to form a closed interval; The grid layer is determined based on the closed interval of the building on the electronic map.

3. The method according to claim 1, characterized in that The establishing, based on the grid layer and the operator layer, an address matching relationship between the unified code address corresponding to the target area and the operator building address includes: Converting the grid layer into grid point information; Based on the relationship between the operator layer and the grid point information, an address matching relationship is established between the unified coding address corresponding to the target area and the operator building address.

4. The method according to claim 3, characterized in that The establishing, based on the relationship between the operator layer and the grid point information, an address matching relationship between the unified coding address corresponding to the target area and the operator building address includes: Determine whether the relationship between the operator layer and the grid point information is a containment relationship; In response to the relationship between the operator layer and the grid point information being a containment relationship, establishing an address matching relationship between the unified coding address of the corresponding building and the operator building address; In response to the relationship between the operator layer and the grid point information being a non-inclusion relationship, an address matching relationship is established between the unified code address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified code address and the operator building address.

5. The method according to claim 4, characterized in that The establishing an address matching relationship between the unified code address corresponding to the target area and the operator building address based on the layer areas of the operator layer and the grid layer, and the names of the unified code address and the operator building address, includes: Determine whether there is an intersection between the operator layer and the grid layer; In the case where there is an intersection between the operator layer and the grid layer, establishing an address matching relationship between the unified code address having the greatest name similarity to the operator building address and the corresponding operator building address; In the case where there is an intersection between the operator layer and the grid layer, obtaining the grid layer with the largest intersection area with the operator layer in the grid layers, and establishing an address matching relationship between the unified code address corresponding to the grid layer with the largest intersection area and the corresponding operator building address; When there is no intersection between the operator layer and the grid layer, the area of ​​the grid layer is expanded according to a set threshold, and based on the relationship between the area-expanded grid layer and the operator layer, an address matching relationship between the corresponding unified coding address and the operator building address is established.

6. The method according to claim 1, characterized in that After establishing an address matching relationship between the unified code address corresponding to the target area and the operator building address based on the grid layer and the operator layer, the method further includes: Acquire service application information initiated by a user to the operator, wherein the service application information includes a target unified coding address of a designated building in the target area; Based on the address matching relationship, determine the target operator building address corresponding to the target unified code address; Based on the target operator building address, the operator service corresponding to the service application information is allocated to the user.

7. An address matching device, characterized in that: The device comprises: A unified code address acquisition module is used to acquire the unified code addresses of buildings in the target area; A conversion coordinate information acquisition module, used for converting the building coordinate information in the unified coding address to obtain converted building coordinate information, wherein the converted building coordinate information and the operator's standard building coordinate information are in the same coordinate system; A grid layer determination module, used to determine the grid layer of the building based on the converted building coordinate information; An address matching relationship establishing module is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the grid layer and the operator layer, so as to match the unified coding address with the operator building address according to the address matching relationship. The operator layer is a layer constructed by the operator building address of the buildings in the target area under the operator, and the operator building address is the address defined by the operator for the buildings in the target area.

8. The device according to claim 7, characterized in that The grid layer determination module includes: A location point acquisition unit, used for projecting the converted building coordinate information onto an electronic map corresponding to the target area to obtain a location point corresponding to the building; A location point connecting unit, used to connect the location points corresponding to the buildings to form a closed interval; The grid layer determination unit is used to determine the grid layer based on the closed interval of the building on the electronic map. Optionally, the address matching relationship establishing module includes: A grid layer conversion unit, used for converting the grid layer into grid point information; The address matching relationship establishing unit is used to establish an address matching relationship between the unified coding address corresponding to the target area and the operator building address based on the relationship between the operator layer and the grid point information.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the address matching method according to any one of claims 1 to 6 when executing the program.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the address matching method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Geographic entity grid generation method and device based on two-dimensional code doorplate, and medium

    CN111914047A

  • Standard address and building association matching method and device

    CN113361233A

  • Map coordinate conversion method and system

    CN113946639A

Cited By

  • Region matching method and device, equipment and storage medium

    CN121636629A

  • An area matching method, device, apparatus and storage medium

    CN121636629B