A method, device and storage medium for updating enterprise longitude and latitude
By updating the latitude and longitude information in the enterprise information database, the problem of inaccurate latitude and longitude in the existing technology has been solved, and the work efficiency of law enforcement personnel has been improved.
Patent Information
- Application Number
- CN202210637369.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-07
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-06-07
AI Technical Summary
The enterprise latitude and longitude information stored in the existing enterprise information database is not accurate enough, which makes it difficult for ecological environment law enforcement personnel to find the target enterprise accurately and quickly, affecting work efficiency.
By obtaining the first latitude and longitude information of the target enterprise collected during on-site law enforcement, the target distance information between it and the second latitude and longitude information stored in the enterprise information database is calculated, and preset update judgment rules are used to determine whether the latitude and longitude information update conditions are met. If it is met, the second latitude and longitude information will be updated.
By regularly updating the latitude and longitude information in the enterprise information database, it improves its accuracy, helping ecological environment law enforcement personnel find enterprises quickly and accurately, and improving work efficiency.
Smart Images

Figure CN115048394B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet information processing technology, and in particular to a method, device and storage medium for updating longitude and latitude of an enterprise. Background Art
[0002] The longitude and latitude of enterprises are important basic data for supervision by ecological and environmental regulatory departments. Most law enforcement officers do not have an accurate grasp of the actual location of enterprises. When conducting on-site law enforcement, they must first find the enterprises. At present, law enforcement officers basically obtain the longitude and latitude information of target enterprises in the enterprise information database through the ecological and environmental law enforcement APP, and then use the ecological and environmental law enforcement APP to navigate to the latitude and longitude information of the enterprises. At the same time, the basic longitude and latitude data of enterprises are also related to the big data analysis of ecological and environmental governance work, such as enterprises within the 3*3 km range of the hotspot grid, provided that the longitude and latitude of the enterprises are accurate. In the current existing technology, most of the longitude and latitude information of enterprises stored in the enterprise information database is not accurate, and some even have errors of several kilometers. This makes it impossible to guide law enforcement officers to find the target enterprises accurately and quickly, affecting the work efficiency of ecological and environmental law enforcement officers. Summary of the invention
[0003] The main technical problem solved by the present invention is that most of the longitude and latitude information of enterprises stored in the existing enterprise information database is not accurate enough, which affects the work efficiency of ecological environment law enforcement personnel.
[0004] The present application provides a method for updating enterprise latitude and longitude, which includes:
[0005] Obtain the first latitude and longitude information of the target enterprise collected during on-site law enforcement;
[0006] Obtaining the second longitude and latitude information corresponding to the target enterprise in the enterprise information database;
[0007] Calculating target distance information between the first longitude and latitude information and the second longitude and latitude information;
[0008] Determining whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information using a preset update determination rule;
[0009] If so, the second longitude and latitude information of the target enterprise is updated according to the first longitude and latitude information.
[0010] In one embodiment, the adopting a preset update determination rule to determine whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information includes:
[0011] Obtain the historical distance level corresponding to the last update of the second longitude and latitude information of the target enterprise;
[0012] Inputting the distance information into a pre-trained step-wise distance judgment model to determine a first distance level satisfied by the target distance information;
[0013] Determining whether the first distance level is higher than the historical distance level, and if so, determining that the second longitude and latitude information meets a preset longitude and latitude information update condition;
[0014] The higher the distance level, the smaller the corresponding distance information.
[0015] In one embodiment, the distance level is a distance interval; the higher the distance level is, the smaller the distance information included in the corresponding distance interval is.
[0016] In one embodiment, the first longitude and latitude information includes the sign-in longitude and latitude information obtained when signing in using the on-site law enforcement APP and / or the record form longitude and latitude information obtained when submitting the inspection record form using the on-site law enforcement APP;
[0017] The calculating of the target distance information between the first longitude and latitude information and the second longitude and longitude information includes: calculating the first distance information between the check-in longitude and latitude information and the second longitude and longitude information, and using the first distance information as the target distance information; or calculating the second distance information between the record table longitude and longitude information and the second longitude and longitude information, and using the second distance information as the target distance information.
[0018] In one embodiment, after updating the second longitude and latitude information of the target enterprise according to the first longitude and latitude information, the method further includes:
[0019] Calculating third distance information between the sign-in longitude and latitude information and the record table longitude and latitude information;
[0020] Determining a second distance level satisfied by the third distance information;
[0021] It is determined whether the second distance level is higher than the first distance level, and if so, it is determined that the second longitude and latitude information meets a preset longitude and latitude information update condition.
[0022] In one embodiment, if the second distance level and the first distance level are at the same distance level, it is further determined whether the first distance level and the second distance level are at a preset highest distance level. If so, it is determined that the second longitude and latitude information does not meet the preset longitude and latitude information update conditions.
[0023] In one embodiment, updating the second longitude and latitude information of the target enterprise according to the first longitude and latitude information includes:
[0024] The sign-in longitude and latitude information or the record table longitude and latitude information is used as the second longitude and latitude information.
[0025] In one embodiment, if the enterprise information database does not include the second longitude and latitude information corresponding to the target enterprise, the registration information of the target enterprise is obtained, and the second longitude and latitude information is generated according to the registration information.
[0026] The registration information includes: the region to which the target enterprise belongs, the industrial and commercial registration address, and the business address.
[0027] The present application also provides a device for updating longitude and latitude of an enterprise, comprising:
[0028] A first acquisition module is used to acquire first latitude and longitude information of a target enterprise collected during on-site law enforcement;
[0029] A second acquisition module is used to acquire second longitude and latitude information corresponding to the target enterprise in the enterprise information database;
[0030] A calculation module, used to calculate target distance information between the first longitude and latitude information and the second longitude and latitude information;
[0031] A judgment module, configured to determine whether the second longitude and latitude information meets a longitude and latitude information update condition according to the target distance information by using a preset update judgment rule;
[0032] An updating module is used to update the second longitude and latitude information of the target enterprise according to the first longitude and latitude information when the second longitude and latitude information meets a preset longitude and latitude information updating condition.
[0033] The present application also provides a computer-readable storage medium, on which a program is stored. The program can be executed by a processor to implement the method as described above.
[0034] According to the enterprise longitude and latitude updating method of the above embodiment, the first longitude and latitude information of the target enterprise collected at each on-site law enforcement is obtained; the second longitude and latitude information corresponding to the target enterprise in the enterprise information database is obtained; the target distance information between the first longitude and latitude information and the second longitude and latitude information is calculated; the preset update judgment rule is used to determine whether the second longitude and latitude information meets the preset longitude and latitude information update condition according to the target distance information; if so, the second longitude and latitude information of the target enterprise is updated according to the first longitude and latitude information. In this way, the ecological environment law enforcement personnel will judge the second longitude and latitude information in the enterprise information database every time they enforce the law, and update the longitude and latitude information of the enterprise when necessary, so that the second longitude and latitude information of the enterprise in the enterprise information database is more accurate, which is convenient for ecological environment law enforcement personnel to navigate according to the second longitude and latitude information, accurately find the location of the enterprise, and improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a flow chart of the method for updating the longitude and latitude of an enterprise according to an embodiment of the present application;
[0036] Figure 2 This is a structural diagram of the enterprise longitude and latitude updating device according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0038] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0039] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0040] In this application, the accurate latitude and longitude information of the enterprise is obtained by law enforcement personnel through the sign-in function of the Ecological Environment Law Enforcement APP, and the obtained accurate latitude and longitude information is used to update the latitude and longitude information of the enterprise in the enterprise information database, so that other law enforcement personnel can quickly and accurately navigate to the enterprise based on the updated latitude and longitude information of the enterprise.
[0041] Embodiment 1:
[0042] Please refer to Figure 1 This embodiment provides a method for updating longitude and latitude of an enterprise, which includes:
[0043] Step 101: Obtain the first latitude and longitude information of the target enterprise collected during on-site law enforcement.
[0044] Step 102: Obtain the second longitude and latitude information corresponding to the target enterprise in the enterprise information database.
[0045] Step 103: Calculate target distance information between the first longitude and latitude information and the second longitude and latitude information.
[0046] Step 104: using a preset update determination rule to determine whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information.
[0047] Step 105: If yes, update the second longitude and latitude information of the target enterprise according to the first longitude and latitude information.
[0048] Among them, in step 104, using a preset update determination rule to determine whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information includes:
[0049] Step 1041: Obtain the historical distance level corresponding to the last update of the second longitude and latitude information of the target enterprise. The historical distance level corresponding to the last update of the second longitude and latitude information of the target enterprise refers to the distance level corresponding to the distance information between the second longitude and latitude information and the first longitude and latitude information when the longitude and latitude information corresponding to the target enterprise in the enterprise information database was last updated.
[0050] For example, the distance level is a distance interval; the higher the distance level, the smaller the distance information included in the corresponding distance interval; in this embodiment, the distance level is divided into the following five levels according to the distance information:
[0051] Level 1: distance information is less than or equal to 100 meters;
[0052] Level 2: distance information is greater than 100 meters and less than or equal to 500 meters;
[0053] Level 3: distance information is greater than 500 meters and less than or equal to 1000 meters;
[0054] Level 4: distance information is greater than 1000 meters and less than or equal to 1500 meters;
[0055] Level 5: Distance information is greater than 1500 meters and less than or equal to 2000 meters.
[0056] Among them, the priority of the first level is higher than that of the second level. It can be seen that in this embodiment, the higher the distance level, the smaller the corresponding distance information.
[0057] Step 1042: Input the distance information into the pre-trained step-wise distance judgment model to determine the first distance level satisfied by the target distance information. The pre-trained step-wise distance judgment model of this embodiment includes the above-mentioned multiple distance levels. It should be noted that the first distance level of this embodiment is not the above-mentioned first level, and the first distance level refers to the distance level currently satisfied by the target distance information.
[0058] Step 1043: Determine whether the first distance level is higher than the historical distance level, and if so, determine that the second longitude and latitude information meets the preset longitude and latitude information update condition.
[0059] For example, when the second longitude and latitude information was last updated, the distance level corresponding to the distance information between the second longitude and latitude information and the first longitude and latitude information was the third level, which means that the distance between the second longitude and latitude information and the first longitude and latitude information was greater than 500 meters and less than or equal to 1000 meters when the second longitude and latitude information was last updated. During this update, the first distance level is determined to be the second level, which means that the target distance information between the current first longitude and latitude information and the second longitude and latitude information is in the interval where the distance information is greater than 100 meters and less than or equal to 500 meters. At this time, the first distance level is higher than the historical distance level, and it is determined that the second longitude and latitude information meets the preset longitude and latitude information update condition.
[0060] In one implementation, the first longitude and latitude information includes the sign-in longitude and latitude information obtained when signing in using the on-site law enforcement APP. Calculating the target distance information between the first longitude and latitude information and the second longitude and latitude information includes: calculating the first distance information between the sign-in longitude and latitude information and the second longitude and latitude information, and using the first distance information as the target distance information. Generally, when environmental law enforcement personnel sign in using the law enforcement APP, they are basically at the entrance of the enterprise, in the enterprise office or in the enterprise park. Therefore, the sign-in longitude and latitude information obtained at this time can more accurately represent the longitude and latitude information of the enterprise.
[0061] In another embodiment, the first longitude and latitude information includes: the longitude and latitude information of the record form obtained when submitting the inspection record form using the on-site law enforcement APP. Calculating the target distance information between the first longitude and latitude information and the second longitude and latitude information includes: calculating the second distance information between the longitude and latitude information of the record form and the second longitude and latitude information, and using the second distance information as the target distance information. Generally, environmental law enforcement personnel are in the company's office when submitting the inspection record form on the law enforcement APP, so the longitude and latitude information of the record form obtained at this time can also accurately represent the longitude and latitude information of the company. Therefore, when obtaining the first distance information, it can be obtained by the above two methods.
[0062] In one embodiment, after the second longitude and latitude information of the target enterprise is updated using the first longitude and latitude information, when the law enforcement officer submits the inspection record form again, the distance information between the sign-in longitude and latitude information and the record form longitude and latitude information is used to verify whether the result of the last update of the second longitude and latitude information of the enterprise based on the sign-in longitude and latitude information is satisfactory, or whether the updated result is correct. Then, after the second longitude and latitude information of the target enterprise is updated based on the first longitude and latitude information, the following steps are also included: calculating the third distance information between the sign-in longitude and latitude information and the record form longitude and latitude information; determining the second distance level satisfied by the third distance information; determining whether the second distance level is higher than the first distance level, and if so, determining that the second longitude and latitude information satisfies the preset longitude and latitude information update condition, and then again using the sign-in longitude and latitude information or the record form longitude and latitude information to update the second longitude and latitude information of the enterprise. For example, the distance level corresponding to the distance information between the sign-in longitude and latitude information and the second longitude and latitude information is the third level, indicating that the distance information between the two is greater than 500 meters and less than or equal to 1000 meters, but the subsequent calculation of the third distance information between the sign-in longitude and latitude information and the record table longitude and latitude information belongs to the second level, indicating that the record table longitude and latitude information is closer to the second longitude and latitude information of the enterprise, and the second longitude and latitude information is updated again. If the second distance level is lower than the first distance level or is at the same distance level as the first distance level, no further update is required.
[0063] In one embodiment, if the second distance level and the first distance level are at the same distance level, it is further determined whether the first distance level and the second distance level are at the preset highest distance level. If so, it is determined that the second longitude and latitude information no longer needs to be updated. For example, when the first distance level and the second distance level are at the first level, it means that the distance information of the two is less than or equal to 100 meters, and it is determined that the second longitude and latitude information does not meet the preset longitude and latitude information update conditions and does not need to be updated. Of course, if it is determined that the second longitude and latitude information meets the preset longitude and latitude information update conditions in the subsequent law enforcement process, it is still updated.
[0064] In this embodiment, updating the second longitude and latitude information of the target enterprise according to the first longitude and latitude information includes: using the sign-in longitude and latitude information or the record table longitude and latitude information as the second longitude and latitude information.
[0065] In one embodiment, if the enterprise information database does not include the second longitude and latitude information corresponding to the target enterprise, the registration information of the target enterprise is obtained, and the second longitude and latitude information is generated according to the registration information. Generally, the registration information includes: the region to which the target enterprise belongs, the industrial and commercial registration address, and the business address.
[0066] In one embodiment, in order to facilitate the calculation of distance information, coordinate conversion is performed on the sign-in longitude and latitude information, the record table longitude and latitude information, and the second longitude and latitude information, and the longitude and latitude information is uniformly converted to a coordinate or a longitude and latitude format. For example, the longitude and latitude conversion formula is used to unify the WGS84 coordinate system for various longitude and latitude data formats, and the selected sample sets are labeled and cross-checked for longitude and latitude main objects of different dimensions, and the uniformity of the longitude and latitude formats is reviewed to ensure the accuracy of the longitude and latitude formats. The longitude and latitude formats are updated by intelligent query, screening, and combining business scenarios.
[0067] The application method can assist regulatory authorities in precise law enforcement, regularly update the database for inaccurate longitude and latitude of enterprises, ensure that the location information of enterprises is accurate, facilitate precise law enforcement by law enforcement personnel, and accurately determine hotspot grids.
[0068] Embodiment 2:
[0069] This embodiment provides a device for updating longitude and latitude of an enterprise, which includes: a first acquisition module 201 , a second acquisition module 202 , a calculation module 203 , a judgment module 204 , and an update module 205 .
[0070] Among them, the first acquisition module 201 is used to obtain the first longitude and latitude information of the target enterprise collected during on-site law enforcement; the second acquisition module 202 is used to obtain the second longitude and latitude information corresponding to the target enterprise in the enterprise information database; the calculation module 203 is used to calculate the target distance information between the first longitude and latitude information and the second longitude and latitude information; the judgment module 204 is used to use the preset update judgment rule to determine whether the second longitude and latitude information meets the longitude and latitude information update condition according to the target distance information; the update module 205 is used to update the second longitude and latitude information of the target enterprise according to the first longitude and longitude information when the second longitude and longitude information meets the preset longitude and longitude information update condition.
[0071] Embodiment three:
[0072] This embodiment provides a computer-readable storage medium, on which a program is stored. The program can be executed by a processor to implement the enterprise longitude and latitude updating method as described above.
[0073] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0074] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A method for updating longitude and latitude of an enterprise, characterized in that: include: Obtaining first latitude and longitude information of the target enterprise collected during on-site law enforcement; wherein the first latitude and longitude information includes the sign-in latitude and longitude information obtained when signing in using the on-site law enforcement APP and / or the record latitude and longitude information obtained when submitting the inspection record form using the on-site law enforcement APP; Obtaining the second longitude and latitude information corresponding to the target enterprise in the enterprise information database; Calculate the first distance information between the sign-in longitude and latitude information and the second longitude and latitude information, and use the first distance information as the target distance information; or calculate the second distance information between the record table longitude and latitude information and the second longitude and latitude information, and use the second distance information as the target distance information; Determining whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information using a preset update determination rule; If so, the second longitude and latitude information of the target enterprise is updated according to the first longitude and latitude information.
2. The method for updating enterprise longitude and latitude as claimed in claim 1, characterized in that: The adopting a preset update determination rule to determine whether the second longitude and latitude information meets a preset longitude and latitude information update condition according to the target distance information includes: Obtain the historical distance level corresponding to the last update of the second longitude and latitude information of the target enterprise; Inputting the target distance information into a pre-trained step-wise distance judgment model to determine a first distance level satisfied by the target distance information; Determining whether the first distance level is higher than the historical distance level, and if so, determining that the second longitude and latitude information meets a preset longitude and latitude information update condition; Among them, the higher the distance level, the smaller the corresponding distance information.
3. The enterprise longitude and latitude updating method as claimed in claim 2, characterized in that: The distance level is a distance interval; the higher the distance level is, the smaller the distance information included in the corresponding distance interval is.
4. The enterprise longitude and latitude updating method according to any one of claims 1 to 3, characterized in that: After updating the second longitude and latitude information of the target enterprise according to the first longitude and latitude information, the method further includes: Calculating third distance information between the sign-in longitude and latitude information and the record table longitude and latitude information; Determining a second distance level satisfied by the third distance information; It is determined whether the second distance level is higher than the first distance level, and if so, it is determined that the second longitude and latitude information meets a preset longitude and latitude information update condition.
5. The enterprise longitude and latitude updating method according to claim 4, characterized in that: Also includes: If the second distance level and the first distance level are at the same distance level, it is further determined whether the first distance level and the second distance level are at a preset highest distance level. If so, it is determined that the second longitude and latitude information does not meet the preset longitude and latitude information update condition.
6. The enterprise longitude and latitude updating method according to claim 4, characterized in that: The updating of the second longitude and latitude information of the target enterprise according to the first longitude and latitude information includes: The sign-in longitude and latitude information or the record table longitude and latitude information is used as the second longitude and latitude information.
7. The enterprise longitude and latitude updating method according to claim 4, characterized in that: Also includes: If the enterprise information database does not include the second longitude and latitude information corresponding to the target enterprise, obtaining the registration information of the target enterprise, and generating the second longitude and latitude information according to the registration information; The registration information includes: the region to which the target enterprise belongs, the industrial and commercial registration address, and the business address.
8. An enterprise longitude and latitude updating device, characterized in that: include: A first acquisition module is used to acquire first longitude and latitude information of a target enterprise collected during on-site law enforcement; wherein the first longitude and latitude information includes the sign-in longitude and latitude information acquired when signing in using an on-site law enforcement APP and / or the record longitude and latitude information acquired when submitting an inspection record form using an on-site law enforcement APP; A second acquisition module is used to acquire second longitude and latitude information corresponding to the target enterprise in the enterprise information database; a calculation module, configured to calculate first distance information between the sign-in longitude and latitude information and the second longitude and latitude information, and use the first distance information as target distance information; or calculate second distance information between the record table longitude and latitude information and the second longitude and latitude information, and use the second distance information as target distance information; A judgment module, configured to determine whether the second longitude and latitude information meets a longitude and latitude information update condition according to the target distance information by using a preset update judgment rule; An updating module is used to update the second longitude and latitude information of the target enterprise according to the first longitude and latitude information when the second longitude and latitude information meets a preset longitude and latitude information updating condition.
9. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Point of interest updating method and device for digital map
CN107784012A