A data processing method and device for element indexing

By obtaining and converting factor search information, and using target index identification information to retrieve basic index feature information, the problem of inefficient environmental factor index index in the existing technology is solved, rapid index construction and query, and the operation efficiency of the simulation system is improved.

CN119441375BActive Publication Date: 2025-05-06BEIJING HUARU TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411560727.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-05-06
Estimated Expiration
2044-11-04

AI Technical Summary

Technical Problem

The existing environmental factor indexing methods are inefficient when processing large-scale data, resulting in insufficient index construction speed and query response time, which cannot meet the needs of fast indexing, which in turn affects the operation efficiency of the simulation system.

Method used

By obtaining the search information of the pending element, performing conversion processing to obtain the target index identification information, and using these identification information to search and process the basic index element information to obtain the target element information. The method includes acquiring module, a conversion processing module and a search processing module, and through the collaborative work of these modules, it realizes the construction and query of fast indexes.

Benefits of technology

It improves the index construction speed and query response time, meets the demand for fast indexing in practical applications, and thus improves the efficiency of model indexing environment elements in the simulation system and the operation efficiency of the simulation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119441375B_ABST
    Figure CN119441375B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method and device for element indexing, the method comprising: obtaining retrieval information of elements to be processed; the retrieval information of elements to be processed comprises retrieval accuracy level and element coordinate information; converting and processing the retrieval information of elements to be processed to obtain target index identification information; the target index identification information comprises at least one target identification code arranged in sequence, and / or a target identifier for separating target identification codes; using the target index identification information to retrieve and process basic index element information to obtain target element information; the basic index element information comprises first index element information, second index element information, third index element information and fourth index element information; the first index element information comprises a plurality of first sub-index element information; the first sub-index element information comprises first coding information and first element information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of simulation processing technology, and in particular to a data processing method and device for element indexing. Background Art

[0002] At present, the environmental element indexing method mainly adopts the traditional raster index or spatial partition index. However, these methods have problems such as low efficiency and uneven spatial utilization when processing large-scale environmental element data. Therefore, a data processing method and device for element indexing are provided to improve the index construction speed and query response time, meet the demand for fast indexing in practical applications, and further improve the efficiency of model indexing environmental elements in simulation systems and improve the operation efficiency of simulation systems. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a data processing method and device for element indexing, which is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a data processing method for element indexing, the method comprising:

[0005] Obtaining retrieval information of elements to be processed; the retrieval information of elements to be processed includes retrieval accuracy level and element coordinate information;

[0006] The to-be-processed element retrieval information is converted to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes;

[0007] The target index identification information is used to retrieve and process the basic index element information to obtain the target element information; the basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes several first sub-index element information; the first sub-index element information includes first coding information and first element information.

[0008] A second aspect of an embodiment of the present invention discloses a data processing device for element indexing, the device comprising:

[0009] An acquisition module, used to acquire retrieval information of elements to be processed; the retrieval information of elements to be processed includes retrieval accuracy level and element coordinate information;

[0010] A first processing module is used to convert the to-be-processed element retrieval information to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes;

[0011] The second processing module is used to use the target index identification information to retrieve and process the basic index element information to obtain the target element information; the basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes a plurality of first sub-index element information; the first sub-index element information includes first coding information and first element information.

[0012] The third aspect of the present invention discloses another data processing device for element indexing, the device comprising:

[0013] A memory storing executable program code;

[0014] a processor coupled to the memory;

[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the data processing method for element indexing disclosed in the first aspect of the embodiment of the present invention.

[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute part or all of the steps in the data processing method for feature indexing disclosed in the first aspect of an embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 is a schematic diagram of a scenario of a data processing system for element indexing provided by an embodiment of the present invention;

[0019] Figure 2 It is a flowchart of a data processing method for element indexing disclosed in an embodiment of the present invention;

[0020] Figure 3 It is a structural schematic diagram of a data processing device for element indexing disclosed in an embodiment of the present invention;

[0021] Figure 4 It is a structural schematic diagram of another data processing device for element indexing disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0025] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0026] It should be noted that since the method of the embodiment of the present application is executed in a computer device, the processing objects of each computer device exist in the form of data or information. For example, time is actually time information. It can be understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data for processing by the computer device. The details will not be repeated here.

[0027] It should be noted that the artificial intelligence related technologies that may be involved in this application are briefly described. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.

[0028] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0029] Computer Vision (CV) is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision such as using cameras and computers to replace human eyes to identify and measure targets, and further processing graphics so that the computer processing becomes an image that is more suitable for human observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and map construction, and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.

[0030] Unimodal information is data of only one type, such as text, image, audio, video, electromagnetic signal, etc. Multimodal information is data that includes at least two types of unimodal information. Furthermore, multimodal information is suitable for complex tasks that require the integration of multiple information sources, such as sentiment analysis, robot interaction, autonomous driving, etc. By integrating information from multiple modalities, higher performance and accuracy can usually be achieved on the task.

[0031] A large model refers to an artificial neural network model with a very large number of parameters. In the field of artificial intelligence, a large model generally refers to a model with hundreds of millions to trillions of parameters. Models usually need to be trained on large-scale data sets and require a large amount of computing resources to be optimized and adjusted. Large models are often used to solve complex tasks such as natural language processing, computer vision, and speech recognition. Generative AI is an AI that can create new content and ideas, including conversations, stories, images, videos, and music. In an embodiment of the present application, the large model may be ChatGPT, BERT, XLNet, Zhipu model, Claude, Moonshot AI model, ChatGLM model, Qianyi Tongwen model, MiniMax model, Spark model, Llama model, 360GPT model, Qwen model, Baichuan model, Skylark model, vivoLM model, and Wenxin Yiyan scale language models, which are not limited in the embodiments of the present application.

[0032] The embodiments of the present application provide a data processing method, apparatus, computer device, and computer-readable storage medium for element indexing, which are described in detail below.

[0033] See also Figure 1 , Figure 1 Schematic diagram of a scenario of a data processing system for element indexing provided in an embodiment of the present application. The data processing system for element indexing may include a computer device 100, in which a data processing device for element indexing is integrated, such as Figure 1 Computer equipment in.

[0034] In the embodiment of the present application, the computer device 100 is mainly used to obtain the retrieval information of the element to be processed; the retrieval information of the element to be processed includes the retrieval accuracy level and the element coordinate information;

[0035] The to-be-processed element retrieval information is converted to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes;

[0036] The target index identification information is used to retrieve and process the basic index element information to obtain the target element information; the basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes several first sub-index element information; the first sub-index element information includes first coding information and first element information.

[0037] It can improve the index construction speed and query response time, meet the needs of fast indexing in practical applications, and then improve the efficiency of model indexing environment elements in the simulation system and improve the operation efficiency of the simulation system.

[0038] In the embodiment of the present application, the computer device 100 may be an independent server, or a server network or server cluster composed of servers. For example, the computer device 100 described in the embodiment of the present application includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of a plurality of servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0039] It is understandable that the computer device 100 used in the embodiments of the present application may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific computer device 100 may be a desktop terminal or a mobile terminal, and the computer device 100 may also be one of a mobile phone, a tablet computer, a laptop computer, etc.

[0040] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or less computer equipment as shown in Figure 1 Only one computer device is shown in the figure. It can be understood that the data processing system for element indexing can also include one or more other services, which are not specifically limited here.

[0041] In addition, if Figure 1 As shown, the data processing system for element indexing may also include a memory 200 for storing data, such as image data, location information, and the like.

[0042] It should be noted that Figure 1The scenario diagram of the data processing system for feature indexing shown is merely an example. The data processing system and scenario for feature indexing described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the data processing system for feature indexing and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.

[0043] The present invention discloses a data processing method and device for element indexing, which is beneficial to improving the indexing speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system. The following are detailed descriptions.

[0044] Embodiment 1

[0045] See also Figure 2 , Figure 2 : is a flow chart of a data processing method for element indexing disclosed in an embodiment of the present invention. Figure 2 The data processing method for element indexing described is applied to a management system, such as a local server or a cloud server for management, and the embodiments of the present invention do not limit this. Figure 2 As shown, the data processing method for element indexing may include the following operations:

[0046] 101. Obtain retrieval information of elements to be processed.

[0047] In the embodiment of the present invention, the to-be-processed element retrieval information includes retrieval accuracy level and element coordinate information.

[0048] 102. Convert the retrieved information of the element to be processed to obtain target index identification information.

[0049] In the embodiment of the present invention, the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier used to separate the target identification codes.

[0050] 103. Use the target index identification information to retrieve and process the basic index element information to obtain the target element information.

[0051] In an embodiment of the present invention, basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes a plurality of first sub-index element information; the first sub-index element information includes first coding information and first element information.

[0052] It should be noted that the above-mentioned element information to be processed represents a vector composed of 32 environmental elements, and its vector elements are 0 or 1. Further, the environmental elements represent elevation, terrain, landform, vegetation, communication equipment, buildings, hydrology, atmosphere, nuclear, biological and chemical data, such as terrain (bridges, tunnels, etc.), meteorology (rainstorms, tornadoes, etc.), etc. Further, each vector element is associated with an environmental element representation information. Further, the above-mentioned environmental element representation information represents the coordinates of the environmental elements in the current area and the number of environmental elements. Further, 0 represents that the number of environmental elements in the current area is 0, which is not limited in the embodiment of the present invention. Further, 1 represents that the number of environmental elements in the current area is greater than or equal to 1, which is not limited in the embodiment of the present invention. Further, when representing environmental elements, a 32-bit value can be used to represent the existence of 32 environmental elements without the need for 32 bool values. Due to the huge range of the surface space and the large number of grids under high-precision level division, the storage space saved is also considerable, which is not limited in the embodiment of the present invention.

[0053] It should be noted that the data processing method for element indexing of the present application can be applied to the simulation deduction link in the simulation system, supporting the provision of a rapid retrieval interface for environmental elements for the model during the deduction process, reducing the time consumption generated by environmental element retrieval in deduction activities that frequently access environmental information, and improving simulation deduction performance, which is not limited to the embodiments of the present invention.

[0054] It should be noted that the above-mentioned element coordinate information represents longitude and latitude information, which is not limited in the embodiment of the present invention.

[0055] It should be noted that the above-mentioned target identifier is a symbol representing a recognizable symbol, such as “.”, “,”, “-”, etc., for quick identification, and the embodiment of the present invention does not limit this.

[0056] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0057] In an optional embodiment, the above conversion processing is performed on the element retrieval information to be processed to obtain the target index identification information, including:

[0058] Determine whether the retrieval precision level is less than or equal to the level threshold, and obtain a level determination result;

[0059] When the level judgment result is no, the level threshold is determined as a new retrieval accuracy level;

[0060] Based on the retrieval accuracy level and the element coordinate information, the target index identification information is determined;

[0061] When the level judgment result is yes, the target index identification information is determined based on the retrieval accuracy level and the element coordinate information.

[0062] It should be noted that the above judgment of whether the search accuracy level is less than or equal to the level threshold is to prevent erroneous search requests caused by erroneous data input, and to correct the search accuracy by analyzing and judging the level threshold of the level threshold, thereby ensuring that the data retrieval of the search request can be realized, which is not limited in the embodiment of the present invention. Further, the above level threshold can be a positive integer not less than 30, which is not limited in the embodiment of the present invention.

[0063] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0064] In another optional embodiment, the target index identification information is determined based on the retrieval accuracy level and the element coordinate information, including:

[0065] Acquire first index identification information; the first index identification information includes a plurality of basic index identification information; the basic index identification information includes first identification information, second identification information and third identification information;

[0066] For any basic index identification information in the first index identification information, determine whether the first identification information corresponding to the basic index identification information is the same as the retrieval precision level, and obtain a first identification determination result;

[0067] When the first identification judgment result is yes, determine whether the second identification information corresponding to the basic index identification information includes element coordinate information, and obtain a second identification judgment result;

[0068] When the second identification judgment result is yes, the third identification information corresponding to the basic index identification information is determined as the target index identification information;

[0069] When the second identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated;

[0070] When the first identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated.

[0071] It should be noted that the first identification information represents the accuracy of the retrieval so as to efficiently identify and obtain the environmental element information of the corresponding accuracy area, which is not limited in the embodiment of the present invention.

[0072] It should be noted that the second identification information represents a regional coordinate range, such as 60° east longitude - 80° east longitude, 30° north latitude - 50° north latitude, which is not limited in the embodiment of the present invention.

[0073] It should be noted that the above determination of whether the first identification information corresponding to the basic index identification information is the same as the retrieval precision level is performed by analyzing and judging the direct numerical consistency of the retrieval precision, which is not limited in the embodiment of the present invention.

[0074] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0075] In yet another optional embodiment, the target index identification information is used to retrieve the basic index element information to obtain the target element information, including:

[0076] Using the number of target identifiers in the target index identification information to match the basic index element information, obtaining the backup index element information;

[0077] Based on the matching of the last target identification code in the target index identification information and the grid coding information corresponding to the backup environmental element information in the backup index element information, matching processing is performed on the backup environmental element information to obtain the target environmental element information;

[0078] The environmental element information corresponding to the target environmental element information is determined as the target element information.

[0079] It should be noted that the above-mentioned matching process of the basic index element information using the number of target identifiers in the target index identification information is to match the number of target identifiers by the number identifier in the basic index element information, thereby performing a matching process thereon, which is not limited in the embodiment of the present invention.

[0080] It should be noted that the above-mentioned matching processing is performed on the backup environmental element information based on the matching of the last target identification code in the target index identification information and the grid coding information corresponding to the backup environmental element information in the backup index element information. The target environmental element information is obtained by comparing the coding value corresponding to the last target identification code with the grid coding information. If the two are the same, they are considered to be matched, and the embodiment of the present invention does not limit this.

[0081] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0082] In yet another optional embodiment, the basic index element information is obtained based on the following method:

[0083] Obtaining map information to be processed; the map information to be processed includes initial coding information, map area information to be processed and element information to be processed;

[0084] Adjusting the size of the map area information to be processed in the map information to be processed to obtain first standard map area information;

[0085] Determine first index element information based on the initial coding information, the first standard map area information and the element information to be processed;

[0086] Determining second index element information based on the first index element information;

[0087] Determining third index element information based on the second index element information;

[0088] Based on the third index element information, fourth index element information is determined.

[0089] It should be noted that the above-mentioned method of determining the second index element information, the third index element information and the fourth index element information is basically consistent with the determination method, and the longitudes corresponding to the second area threshold, the third area threshold and the fourth area threshold used to determine the area are the area corresponding to the 1′ grid unit, the area corresponding to the 1″ grid unit and the area corresponding to the 10-meter grid unit, respectively, thereby realizing 32 levels, from the global to the centimeter, and evenly dividing the earth's surface space into multi-level grids, which is convenient for high-precision and high-efficiency environmental element retrieval, and the embodiment of the present invention does not limit it. Further, when determining the second index element information, the third index element information and the fourth index element information, it is not necessary to first determine the similar area of ​​the first standard map area information, but directly analyze and determine the distance, and the embodiment of the present invention does not limit it. Further, when determining the second index element information, the third index element information and the fourth index element information, the first coded information determined last time should be spliced ​​with the target identifier to form a new initial coded information, and the corresponding sub-divided area information is used as the new standard map area information, and the embodiment of the present invention does not limit it.

[0090] It should be noted that the above-mentioned size adjustment is to adjust the map area information to be processed from 180°*362° to 512°*512°, which is not limited in the embodiment of the present invention.

[0091] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0092] In an optional embodiment, determining the first index element information based on the initial coding information, the first standard map area information and the element information to be processed includes:

[0093] Using the initial coded information as the first coded information to be processed;

[0094] Using the first standard map area information as the first standard area information to be processed;

[0095] The first standard region information to be processed is divided into four equal parts to obtain first segmented region information; the first segmented region information includes four first sub-segmented region information;

[0096] Encoding the first segmented region information to obtain first region encoding values ​​corresponding to four first sub-segmented region information;

[0097] For any first sub-segmented region information in the first segmented region information, based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first code information to be processed, and the element information to be processed, determining the first sub-index element information corresponding to the first sub-segmented region information;

[0098] Determine whether the area of ​​the region corresponding to the first sub-segmented region information is less than or equal to a first area threshold, and obtain a first area determination result;

[0099] When the first area judgment result is yes, the first coding information and the first element information corresponding to the first sub-segmented region information are respectively determined as new first coded information to be processed and new element information to be processed, the first sub-segmented region information is determined as new first standard region information to be processed, and the first standard region information to be processed is triggered to be divided into four equal parts to obtain the first segmented region information;

[0100] When the first area determination result is negative, the processing flow corresponding to the first sub-divided region information is terminated.

[0101] It should be noted that the above-mentioned four-division processing of the first standard area information to be processed is to divide the four areas along the east-west and north-south directions with the center point of the current area as the reference point so that the size of each divided area is consistent, and the embodiment of the present invention is not limited to this.

[0102] It should be noted that the first area threshold represents the area corresponding to the area where the longitude and latitude are both 1°, which is not limited in the embodiment of the present invention. Further, when the number of segmentation reaches the first area threshold, the area corresponding to the first standard map area information will be segmented up to 10 times, which corresponds to the 0-9 level of accuracy in the retrieval accuracy level, which is not limited in the embodiment of the present invention.

[0103] It should be noted that when the first area judgment result is yes, the first coding information and the first element information corresponding to the first sub-segmentation area information are respectively determined as the new first coding information to be processed and the new element information to be processed, and the first sub-segmentation area information is determined as the new first standard area information to be processed, and the first standard area information to be processed is triggered to be divided into four equal parts, and the first segmentation area information is obtained by recursively quadripartitioning the area corresponding to the first standard map area information until the 1° grid unit, thereby realizing the division of the grid with high precision, which is not limited in the embodiment of the present invention.

[0104] In this optional embodiment, as an optional implementation manner, the determining, based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first to-be-processed code information and the to-be-processed element information, the first sub-index element information corresponding to the first sub-segmented region information includes:

[0105] splicing the first region code value corresponding to the first sub-divided region information to the end of the first coded information to be processed, to obtain the first coded information corresponding to the first sub-divided region information;

[0106] Based on the first sub-segmented region information, the element information to be processed is classified and vector reconstructed to obtain first element information corresponding to the first sub-segmented region information.

[0107] It should be noted that the above-mentioned classification and vector reconstruction of the element information to be processed based on the first sub-segmentation area information is to first reclassify the environmental elements in the element information to be processed according to the area coordinates corresponding to the first sub-segmentation area information, and then re-count the environmental elements corresponding to each type to form a new number of environmental elements, and then update the vector elements to form a new vector, that is, to obtain the first element information, thereby forming the environmental elements under the area accuracy, which is not limited in the embodiments of the present invention.

[0108] In this optional embodiment, as an optional implementation manner, after determining the first sub-index element information corresponding to the first sub-segmented region information based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first to-be-processed code information and the to-be-processed element information, it is determined whether the region area corresponding to the first sub-segmented region information is less than or equal to the first area threshold value, and before obtaining the first area determination result, the method further includes:

[0109] Determine whether all vector elements in the first element information corresponding to the first sub-segmented region information are 0, and obtain an element determination result;

[0110] When the element judgment result is no, triggering execution to judge whether the area of ​​the region corresponding to the first sub-divided region information is less than or equal to a first area threshold, and obtaining a first area judgment result;

[0111] When the element determination result is yes, the processing flow corresponding to the first sub-divided region information is terminated.

[0112] It should be noted that, by judging whether all vector elements in the first feature information corresponding to the first sub-segmentation area information are 0, the element judgment result can filter out the area that does not contain environmental elements, thereby terminating the further division of the area, reducing the generation of new data, and reducing the amount of stored data, thereby achieving the goal of reducing the amount of data while maintaining the retrieval accuracy and providing retrieval efficiency, which is not limited to the embodiments of the present invention.

[0113] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0114] In another optional embodiment, the first segmented region information is encoded to generate first region encoding values ​​corresponding to four first sub-segmented region information, including:

[0115] Determine whether the first standard area information to be processed is the first standard map area information, and obtain a first position determination result;

[0116] When the first position determination result is yes, the first sub-segmented region information located in the first quadrant region is determined as the target sub-segmented region information;

[0117] When the first position determination result is negative, the first sub-segmented region information having the smallest distance between the center point corresponding to the first sub-segmented region information and the center origin in the first segmented region information is determined as the target sub-segmented region information;

[0118] Determine the first coding value as the first region coding value corresponding to the target sub-segmentation region information;

[0119] Determine the second encoding value as the first region encoding value corresponding to the first sub-segmented region information at a symmetrical position with the target sub-segmented region information;

[0120] Determine the third encoding value as the first region encoding value corresponding to the first sub-segmented region information in the same horizontal coordinate region as the target sub-segmented region information;

[0121] The fourth code value is determined as the first region code value corresponding to the first sub-divided region information that is in the same vertical coordinate region as the target sub-divided region information.

[0122] It should be noted that the first coding value, the second coding value, the third coding value and the fourth coding value may be 0, 1, 2 and 3 respectively, which is not limited in the embodiment of the present invention.

[0123] It should be noted that the area where the above 0 is located is the first quadrant area, and 3 is the third quadrant area, which is not limited in the embodiment of the present invention.

[0124] It should be noted that the above-mentioned symmetrical position is the third quadrant area, which is not limited in the embodiment of the present invention.

[0125] It should be noted that when generating the first area code value, it is necessary to first analyze and judge whether the first standard area information to be processed is the first standard map area information. This is mainly due to the fact that the first quarter division is based on the center origin as the reference. The distances from the center points of the four divided areas to the center origin (such as the intersection of the equator and the prime meridian) are equal. Therefore, the encoding is performed in a positioning method that conforms to the user's usage habits, thereby improving the user experience. This is not limited in the embodiments of the present invention.

[0126] It should be noted that the above-mentioned determination of the third coding value as the first area coding value corresponding to the first sub-segmentation area information that is in the same horizontal coordinate area as the target sub-segmentation area information; and the determination of the fourth coding value as the first area coding value corresponding to the first sub-segmentation area information that is in the same vertical coordinate area as the target sub-segmentation area information are based on the first area coding values ​​of the remaining two subdivision grids in the four partitions being assigned 1 and 2 respectively along the latitude direction and then along the longitude direction, and the embodiment of the present invention is not limited to this.

[0127] It can be seen that implementing the data processing method for element indexing described in the embodiment of the present invention is conducive to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, and further improving the efficiency of model indexing environment elements in the simulation system and improving the operating efficiency of the simulation system.

[0128] Embodiment 2

[0129] See also Figure 3 , Figure 3 : is a schematic diagram of a data processing device for element indexing disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a management system, such as a local server or a cloud server for management, etc., which is not limited in the embodiments of the present invention. Figure 3 As shown, the device may include:

[0130] The acquisition module 201 is used to acquire the retrieval information of the element to be processed; the retrieval information of the element to be processed includes the retrieval accuracy level and the element coordinate information;

[0131] The first processing module 202 is used to convert the element retrieval information to be processed to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes;

[0132] The second processing module 203 is used to retrieve and process the basic index element information using the target index identification information to obtain the target element information; the basic index element information includes the first index element information, the second index element information, the third index element information and the fourth index element information; the first index element information includes a plurality of first sub-index element information; the first sub-index element information includes the first coding information and the first element information.

[0133] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0134] In another optional embodiment, Figure 3 As shown, the element retrieval information to be processed is converted to obtain target index identification information, including:

[0135] Determine whether the retrieval precision level is less than or equal to the level threshold, and obtain a level determination result;

[0136] When the level judgment result is no, the level threshold is determined as a new retrieval accuracy level;

[0137] Based on the retrieval accuracy level and the element coordinate information, the target index identification information is determined;

[0138] When the level judgment result is yes, the target index identification information is determined based on the retrieval accuracy level and the element coordinate information.

[0139] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0140] In yet another optional embodiment, Figure 3 As shown, based on the retrieval accuracy level and the element coordinate information, the target index identification information is determined, including:

[0141] Acquire first index identification information; the first index identification information includes a plurality of basic index identification information; the basic index identification information includes first identification information, second identification information and third identification information;

[0142] For any basic index identification information in the first index identification information, determine whether the first identification information corresponding to the basic index identification information is the same as the retrieval precision level, and obtain a first identification determination result;

[0143] When the first identification judgment result is yes, determine whether the second identification information corresponding to the basic index identification information includes element coordinate information, and obtain a second identification judgment result;

[0144] When the second identification judgment result is yes, the third identification information corresponding to the basic index identification information is determined as the target index identification information;

[0145] When the second identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated;

[0146] When the first identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated.

[0147] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0148] In yet another optional embodiment, Figure 3 As shown, the basic index element information is retrieved and processed using the target index identification information to obtain the target element information, including:

[0149] Using the number of target identifiers in the target index identification information to match the basic index element information, obtaining the backup index element information;

[0150] Based on the matching of the last target identification code in the target index identification information and the grid coding information corresponding to the backup environmental element information in the backup index element information, matching processing is performed on the backup environmental element information to obtain the target environmental element information;

[0151] The environmental element information corresponding to the target environmental element information is determined as the target element information.

[0152] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0153] In yet another optional embodiment, Figure 3 As shown, the basic index element information is obtained based on the following method:

[0154] Obtaining map information to be processed; the map information to be processed includes initial coding information, map area information to be processed and element information to be processed;

[0155] Adjusting the size of the map area information to be processed in the map information to be processed to obtain first standard map area information;

[0156] Determine first index element information based on the initial coding information, the first standard map area information and the element information to be processed;

[0157] Determining second index element information based on the first index element information;

[0158] Determining third index element information based on the second index element information;

[0159] Based on the third index element information, fourth index element information is determined.

[0160] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0161] In yet another optional embodiment, Figure 3 As shown, based on the initial coding information, the first standard map area information and the element information to be processed, the first index element information is determined, including:

[0162] Using the initial coded information as the first coded information to be processed;

[0163] Using the first standard map area information as the first standard area information to be processed;

[0164] The first standard region information to be processed is divided into four equal parts to obtain first segmented region information; the first segmented region information includes four first sub-segmented region information;

[0165] Encoding the first segmented region information to obtain first region encoding values ​​corresponding to four first sub-segmented region information;

[0166] For any first sub-segmented region information in the first segmented region information, based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first code information to be processed, and the element information to be processed, determining the first sub-index element information corresponding to the first sub-segmented region information;

[0167] Determine whether the area of ​​the region corresponding to the first sub-segmented region information is less than or equal to a first area threshold, and obtain a first area determination result;

[0168] When the first area judgment result is yes, the first coding information and the first element information corresponding to the first sub-segmented region information are respectively determined as new first coded information to be processed and new element information to be processed, the first sub-segmented region information is determined as new first standard region information to be processed, and the first standard region information to be processed is triggered to be divided into four equal parts to obtain the first segmented region information;

[0169] When the first area determination result is negative, the processing flow corresponding to the first sub-divided region information is terminated.

[0170] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0171] In yet another optional embodiment, Figure 3 As shown, the first segmented region information is encoded and generated to obtain first region encoding values ​​corresponding to four first sub-segmented region information, including:

[0172] Determine whether the first standard area information to be processed is the first standard map area information, and obtain a first position determination result;

[0173] When the first position determination result is yes, the first sub-segmented region information located in the first quadrant region is determined as the target sub-segmented region information;

[0174] When the first position determination result is negative, the first sub-segmented region information having the smallest distance between the center point corresponding to the first sub-segmented region information and the center origin in the first segmented region information is determined as the target sub-segmented region information;

[0175] Determine the first coding value as the first region coding value corresponding to the target sub-segmentation region information;

[0176] Determine the second encoding value as the first region encoding value corresponding to the first sub-segmented region information at a symmetrical position with the target sub-segmented region information;

[0177] Determine the third encoding value as the first region encoding value corresponding to the first sub-segmented region information in the same horizontal coordinate region as the target sub-segmented region information;

[0178] The fourth code value is determined as the first region code value corresponding to the first sub-divided region information that is in the same vertical coordinate region as the target sub-divided region information.

[0179] It can be seen that the implementation Figure 3 The described data processing device for element indexing is beneficial to improving the index construction speed and query response time, meeting the demand for fast indexing in practical applications, thereby improving the efficiency of model indexing environment elements in the simulation system and improving the operation efficiency of the simulation system.

[0180] Embodiment 3

[0181] See also Figure 4 , Figure 4 is a structural diagram of another data processing device for element indexing disclosed in an embodiment of the present invention. Figure 4 The described device can be applied to a management system, such as a local server or a cloud server for management, etc., which is not limited in the embodiments of the present invention. Figure 4 As shown, the device may include:

[0182] A memory 301 storing executable program codes;

[0183] a processor 302 coupled to the memory 301;

[0184] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the data processing method for element indexing described in the first embodiment.

[0185] Embodiment 4

[0186] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the data processing method for element indexing described in the first embodiment.

[0187] Embodiment 5

[0188] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the data processing method for element indexing described in the first embodiment.

[0189] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0190] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, a magnetic disk storage, a magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0191] Finally, it should be noted that the data processing method and device for element indexing disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data processing method for element indexing, characterized in that: The method comprises: Obtaining retrieval information of elements to be processed; the retrieval information of elements to be processed includes retrieval accuracy level and element coordinate information; The to-be-processed element retrieval information is converted to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes; The target index identification information is used to retrieve and process the basic index element information to obtain the target element information; the basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes a plurality of first sub-index element information; the first sub-index element information includes first coding information and first element information; The basic index element information is obtained based on the following method: Acquire map information to be processed; the map information to be processed includes initial coding information, map area information to be processed and element information to be processed; Adjusting the size of the map area information to be processed in the map information to be processed to obtain first standard map area information; Determining the first index element information based on the initial coding information, the first standard map area information and the to-be-processed element information; Determining the second index element information based on the first index element information; Determining the third index element information based on the second index element information; Based on the third index element information, determining the fourth index element information; Wherein, determining the first index element information based on the initial coding information, the first standard map area information and the to-be-processed element information includes: Using the initial coded information as first coded information to be processed; Using the first standard map area information as the first standard area information to be processed; The first standard region information to be processed is divided into four equal parts to obtain first segmented region information; the first segmented region information includes four first sub-segmented region information; Encoding the first segmented region information to obtain four first region code values ​​corresponding to the first sub-segmented region information; For any of the first sub-segmented region information in the first segmented region information, determining the first sub-index element information corresponding to the first sub-segmented region information based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first to-be-processed code information, and the to-be-processed element information; Determine whether the area of ​​the region corresponding to the first sub-segmented region information is less than or equal to a first area threshold, and obtain a first area determination result; When the first area judgment result is yes, the first coding information and the first element information corresponding to the first sub-segmented region information are respectively determined as new first coded information to be processed and new element information to be processed, the first sub-segmented region information is determined as new first standard region information to be processed, and the first standard region information to be processed is divided into four equal parts to obtain first segmented region information; When the first area determination result is no, the processing flow corresponding to the first sub-divided region information is terminated.

2. The data processing method for element indexing according to claim 1, characterized in that: The converting process of the to-be-processed element retrieval information to obtain target index identification information includes: Determine whether the retrieval accuracy level is less than or equal to a level threshold, and obtain a level determination result; When the level judgment result is no, determining the level threshold as a new retrieval accuracy level; Determining target index identification information based on the retrieval accuracy level and the element coordinate information; When the level judgment result is yes, the target index identification information is determined based on the retrieval accuracy level and the element coordinate information.

3. The data processing method for element indexing according to claim 2, characterized in that: The determining of target index identification information based on the retrieval accuracy level and the element coordinate information includes: Acquire first index identification information; the first index identification information includes a plurality of basic index identification information; the basic index identification information includes first identification information, second identification information and third identification information; For any of the basic index identification information in the first index identification information, determine whether the first identification information corresponding to the basic index identification information is the same as the retrieval precision level, and obtain a first identification determination result; When the first identification judgment result is yes, determining whether the second identification information corresponding to the basic index identification information includes the element coordinate information, and obtaining a second identification judgment result; When the second identification judgment result is yes, determining the third identification information corresponding to the basic index identification information as the target index identification information; When the second identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated; When the first identification judgment result is no, the analysis and judgment process of the basic index identification information is terminated.

4. The data processing method for element indexing according to claim 1, characterized in that: The step of using the target index identification information to retrieve the basic index element information to obtain the target element information includes: Using the number of the target identifiers in the target index identification information to match the basic index element information, to obtain the backup index element information; Based on the matching of the last target identification code in the target index identification information and the grid coding information corresponding to the backup environmental element information in the backup index element information, matching processing is performed on the backup environmental element information to obtain the target environmental element information; The environmental element information corresponding to the target environmental element information is determined as the target element information.

5. The data processing method for element indexing according to claim 1, characterized in that: The step of encoding the first segmented region information to obtain four first region code values ​​corresponding to the first sub-segmented region information includes: Determining whether the first to-be-processed standard area information is the first standard map area information, and obtaining a first position determination result; When the first position determination result is yes, determining the first sub-segmented region information located in the first quadrant region as target sub-segmented region information; When the first position determination result is negative, determining the first sub-segmented region information in the first segmented region information whose center point corresponding to the first sub-segmented region information has the smallest distance from the center origin as the target sub-segmented region information; Determine the first coding value as the first region coding value corresponding to the target sub-segmented region information; Determine the second encoding value as the first region encoding value corresponding to the first sub-segmented region information at a symmetrical position with the target sub-segmented region information; Determine the third encoding value as the first region encoding value corresponding to the first sub-segmented region information in the same horizontal coordinate region as the target sub-segmented region information; The fourth encoding value is determined as the first region encoding value corresponding to the first sub-segmented region information that is in the same vertical coordinate region as the target sub-segmented region information.

6. A data processing device for element indexing, characterized in that: The device comprises: An acquisition module, used to acquire retrieval information of elements to be processed; the retrieval information of elements to be processed includes retrieval accuracy level and element coordinate information; A first processing module is used to convert the to-be-processed element retrieval information to obtain target index identification information; the target index identification information includes at least one target identification code arranged in sequence and / or a target identifier for separating the target identification codes; A second processing module is used to retrieve and process the basic index element information using the target index identification information to obtain the target element information; the basic index element information includes first index element information, second index element information, third index element information and fourth index element information; the first index element information includes a plurality of first sub-index element information; the first sub-index element information includes first coding information and first element information; The basic index element information is obtained based on the following method: Acquire map information to be processed; the map information to be processed includes initial coding information, map area information to be processed and element information to be processed; Adjusting the size of the map area information to be processed in the map information to be processed to obtain first standard map area information; Determining the first index element information based on the initial coding information, the first standard map area information and the to-be-processed element information; Determining the second index element information based on the first index element information; Determining the third index element information based on the second index element information; Based on the third index element information, determining the fourth index element information; Wherein, determining the first index element information based on the initial coding information, the first standard map area information and the to-be-processed element information includes: Using the initial coded information as first coded information to be processed; Using the first standard map area information as the first standard area information to be processed; The first standard region information to be processed is divided into four equal parts to obtain first segmented region information; the first segmented region information includes four first sub-segmented region information; Encoding the first segmented region information to obtain four first region code values ​​corresponding to the first sub-segmented region information; For any of the first sub-segmented region information in the first segmented region information, determining the first sub-index element information corresponding to the first sub-segmented region information based on the first sub-segmented region information, the first region code value corresponding to the first sub-segmented region information, the first to-be-processed code information, and the to-be-processed element information; Determine whether the area of ​​the region corresponding to the first sub-segmented region information is less than or equal to a first area threshold, and obtain a first area determination result; When the first area judgment result is yes, the first coding information and the first element information corresponding to the first sub-segmented region information are respectively determined as new first coded information to be processed and new element information to be processed, the first sub-segmented region information is determined as new first standard region information to be processed, and the first standard region information to be processed is divided into four equal parts to obtain first segmented region information; When the first area determination result is no, the processing flow corresponding to the first sub-divided region information is terminated.

7. A data processing device for element indexing, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data processing method for element indexing as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the data processing method for feature indexing according to any one of claims 1-5.

Citation Information

Patent Citations

  • Index construction method, indexing method and related device

    CN117951086A

  • Method, system and program for managing geographic data stored in a database

    US20050223044A1