Search display method and device, equipment and medium
By using distributed index search and virtual list and map point aggregation display methods in massive monitoring data retrieval, the problem of insufficient retrieval capabilities for complex scenes and multi-dimensional information in the prior art is solved, and the effect of rapid positioning and display is achieved.
Patent Information
- Application Number
- CN202510110678.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-12-30
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-06
AI Technical Summary
The existing technology lacks comprehensive retrieval capabilities for complex scenarios and multi-dimensional information in the retrieval of massive monitoring data, resulting in incomplete display and difficulty in assisting security personnel in quickly positioning and analyzing problems.
Provide a search display method, by obtaining the search data corresponding to the target search method, performing distributed index search, obtaining search results, and performing virtual lists and map points aggregation display of the results.
It improves the search speed and efficiency of results display, and achieves smooth display and intuitive presentation of search results through virtual lists and map point aggregation, helping security personnel quickly locate and analyze problems.
Smart Images

Figure CN119938998A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information technology, and in particular, relates to a search display method, device, equipment and medium. Background Art
[0002] With the continuous development of security technology, monitoring equipment is widely distributed, such as cameras and sensors in cities, generating massive amounts of monitoring data. This will bring certain difficulties and challenges to data retrieval.
[0003] Traditional data retrieval solutions are usually based on simple keyword matching or limited classification retrieval, such as searching by basic information such as time and location. However, they lack comprehensive retrieval capabilities for complex scenarios and multi-dimensional information. Moreover, when faced with such massive and complex data, problems such as incomplete display and inability to assist security personnel in quickly locating and analyzing problems may occur. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present application provides a search and display method, device, equipment and medium, which can solve the problems existing in the related art, such as the lack of comprehensive retrieval capabilities for complex scenes and multi-dimensional information, and the inability to assist security personnel to quickly locate and analyze problems.
[0005] According to a first aspect of the present application, a search display method is provided, comprising:
[0006] Acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of a voice search, a multi-dimensional scene search, and an event type search;
[0007] Performing distributed index retrieval on the retrieval data to obtain corresponding retrieval results;
[0008] The search results are displayed in a virtual list and map point aggregation.
[0009] Optionally, the search result includes at least one search element, and the displaying the search result in a virtual list and map point aggregation includes:
[0010] In response to a scroll instruction for the search result, loading and rendering a search element displayed in a preset visual area;
[0011] Based on the current location of the electronic device, the search elements in the search results are aggregated and marked on a map for display.
[0012] Optionally, the loading and rendering of the search element displayed in the preset visible area includes:
[0013] Calculating the number of elements displayed in the preset visible area based on the size of the preset visible area and the size of each of the search elements;
[0014] The search elements in the search result are loaded and rendered based on the element display quantity, so as to display the search elements corresponding to the element display quantity in the preset visual area.
[0015] Optionally, the aggregating and marking the search elements in the search results on a map based on the current location of the electronic device for display includes:
[0016] Based on the search results and the current location of the electronic device, determine m first elements, where the first elements are search elements in the search results that are within a preset geographical range corresponding to the current location, and m is a positive integer;
[0017] The m first elements are clustered, and the clustered elements are marked and displayed on a map.
[0018] Optionally, the displaying the search results in a virtual list and map point aggregation further includes:
[0019] When the event type corresponding to the second element is a preset event type, highlighting the second element; and / or,
[0020] When the event type corresponding to the second element is not a preset event type, displaying the second element in grayscale;
[0021] The second element is a search element in the search result.
[0022] Optionally, the method further comprises:
[0023] In response to a viewing instruction for a target event type, displaying a third element matching the target event type based on the search result; or,
[0024] In response to a switch instruction for a target event type, display of a third element matching the target event type is hidden.
[0025] Optionally, the method further comprises:
[0026] In response to an interactive instruction of a target map area, determining a fourth element matching the target map area based on the search result, the fourth element being a search element where the search result is within the target map area;
[0027] The target map area is displayed in the center of the map, and the fourth element is displayed at a point position simultaneously.
[0028] According to a second aspect of the present application, a search display device is provided, comprising:
[0029] An acquisition module, used to acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of voice search, multi-dimensional scene search, and event type search;
[0030] A processing module, used to perform distributed index retrieval on the retrieval data to obtain corresponding retrieval results;
[0031] The processing module is also used to display the search results in a virtual list and map point aggregation.
[0032] For the contents not introduced or described in the embodiments of the present application, please refer to the relevant introduction in the method embodiment provided in the first aspect above, and the embodiments of the present application are not limited thereto.
[0033] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the search display method provided in the first aspect above.
[0034] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the search and display method provided in the above-mentioned first aspect of the present application are implemented.
[0035] According to the fifth aspect of the embodiment of the present application, a computer program product is provided, including a computer program and / or instructions, characterized in that when the computer program and / or instructions are executed by a processor, the steps of the search and display method provided in the above-mentioned first aspect of the present application are implemented.
[0036] According to a sixth aspect of an embodiment of the present application, a chip is provided, comprising: a processor and an interface; the processor is used to read instructions to execute the steps of the search and display method provided in the first aspect above.
[0037] The technical solution provided by the embodiment of the present application may include the following beneficial effects: the electronic device obtains retrieval data corresponding to the target search method, the target search method includes at least one of voice search, multi-dimensional scene search and event type search; performs distributed index retrieval on the retrieval data to obtain corresponding retrieval results; and performs virtual list and map point aggregation display on the retrieval results. In this way, the retrieval speed can be improved, and the display of the retrieval results can be optimized, and the retrieval results can be smoothly displayed and intuitively presented by using virtual lists and map point aggregation. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 The figure is a flowchart of a search and display method according to an exemplary embodiment.
[0039] Figure 2 The diagram is a schematic diagram of a search interface according to an exemplary embodiment.
[0040] Figure 3 The figure is a schematic diagram of a process of retrieving data according to an exemplary embodiment.
[0041] Figure 4 It is a schematic diagram showing a search result according to an exemplary embodiment.
[0042] Figure 5 The figure is a schematic diagram showing the structure of a search and display device according to an exemplary embodiment.
[0043] Figure 6 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment.
[0044] Figure 7 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION
[0045] The present application will be described in detail below through examples.
[0046] Traditional data retrieval solutions have many flaws when faced with massive amounts of data. On the one hand, the search efficiency is low, and it is difficult to accurately find the required security-related information from a huge data set in a short period of time. This may lead to decision delays when responding to emergency security incidents. On the other hand, the result display is not comprehensive enough, lacking intuitive geographic information association and intelligent classification display functions, and cannot well assist security personnel in quickly locating and analyzing problems. The following is a detailed introduction.
[0047] (I) Data index
[0048] (1) The lack of an efficient distributed indexing architecture results in slow data retrieval. When faced with massive amounts of data, it is impossible to quickly locate the required information, which affects the efficiency and timeliness of security work.
[0049] (2) When filtering, the data request process will be retriggered. Too many requests can easily cause the server to bear a large load pressure, which may affect the overall stability and response efficiency of the system.
[0050] (II) Search method
[0051] Lack of flexibility, may lack voice search, quick search or clear geographical level display, etc. The convenience and urgency of search are poor.
[0052] (III) Results presentation
[0053] (1) Improper display and handling of large amounts of data. On the one hand, if too much data is loaded at one time, it will cause page freezes or even system crashes, seriously interfering with security personnel's access to information. On the other hand, the display results are too brief and cannot provide sufficient information for security analysis.
[0054] (2) Simple list display: It is impossible to intuitively display the relationship between geographic information and equipment. In the map display link, the map point aggregation technology is not effectively used. When the map is zoomed, it is impossible to properly balance the details and the overall display effect, resulting in a messy page or missing key information, which is not conducive to grasping the security situation from the geographic space dimension.
[0055] (3) The classification display lacks intelligence. It cannot automatically highlight key information based on the screening results, and cannot flexibly switch between displaying and hiding specific event types. This makes it difficult for security personnel to focus on key issues and display in-depth analysis, increasing the difficulty and workload of information processing.
[0056] The applicant has deeply analyzed the many problems exposed by traditional security data search technology in a massive data environment, and has clearly seen that it has significant limitations in data indexing, search methods, and result presentation. These limitations restrict the effective use of massive data in security work, and affect the efficiency of security personnel in obtaining information and their ability to analyze and judge key issues. In order to solve the above problems, the application provides a search display method, device, equipment, and medium. Please refer to Figure 1 is a flowchart of a search display method provided by an embodiment of the present application. Figure 1 The method shown can be applied to an electronic device, and the method may include the following implementation steps:
[0057] S101. Acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of a voice search, a multi-dimensional scene search, and an event type search.
[0058] In this application, the above-mentioned search data may refer to information data such as keywords, words or sentences to be retrieved. The above-mentioned target search method is a search method customized by the system or R&D personnel, which may include but is not limited to any one or more of the following combinations: voice search, multi-dimensional scene search, event type search or other customized search methods. This application does not limit the implementation method for obtaining the above-mentioned search data. For example, a user can use the map drop-down tree to select a specific level or specific place resources under the level to obtain the above-mentioned search data. Optionally, it can also be combined with voice input to collect the user's natural and fluent voice expression query conditions to obtain the above-mentioned search data. Thereby starting the information retrieval process.
[0059] For example, see Figure 2 FIG. 1 is a schematic diagram of a search interface according to an exemplary embodiment. Figure 2 On the left side of the search interface, there is a drop-down tree that lists the venue resources in each region in detail, based on the region level. For example, schools, hospitals, hotels and other venues in various regions of a city. Users can quickly locate the target venue type in a specific region through the drop-down tree to narrow the search scope and achieve precise search scope definition.
[0060] The search interface is also provided with a search bar, which supports a voice search function. For example, through advanced voice recognition technology, the voice command input by the user can be converted into corresponding text search conditions. That is, the above retrieval data may include the voice command input by the user, which can be converted into corresponding text search conditions through voice recognition technology.
[0061] Optionally, a scene search button and an event type button are also provided in the above search interface. The above scene search supports multi-dimensional scene search, which may include but is not limited to schools, hotels, hospitals, communities, squares, checkpoints, railway stations, airports, bus stations, ports, gas stations, ports, power facilities, water conservancy facilities, telecommunications facilities, tunnels, bridges, underground passages, coasts, river banks, parks, banks, shopping malls, commercial streets, roads, zebra crossings or other customized key security places. The above event types may include but are not limited to fighting, gathering of people, theft, gathering to make trouble, dense crowds, illegal parking, not wearing a helmet, running a red light, pedestrian crossing, scalpers soliciting customers, illegal construction, occupying the road for business, wandering begging, accidental falls, high-risk wading, road waterlogging or other customized security events. Users can click the corresponding button or enter the corresponding keywords according to actual needs to obtain the above search data, search, etc. This application can accurately capture user intentions based on the input method combined with voice retrieval, multi-dimensional scene retrieval and event type retrieval.
[0062] When the above target search method includes voice search, this application collects the voice instructions input by the user, converts the above voice instructions into text based on voice recognition technology, and thus obtains corresponding search data. This application does not limit its specific implementation method, for example, see Figure 3 FIG. 1 is a flow chart showing a method of retrieving data according to an exemplary embodiment. Figure 3 The process shown may include the following implementation steps:
[0063] S301, audio collection step: voice signals may be collected through a microphone or other audio input devices, and specifically, sampling and quantization techniques may be used to convert analog voice signals into corresponding digital voice signals.
[0064] S302, signal processing step: the collected digital voice signal can be preprocessed to obtain a preprocessed voice signal. The preprocessing may include, but is not limited to, any one or a combination of the following: denoising, enhancement, framing, endpoint detection, filtering or other custom operation processing.
[0065] S303, feature extraction step: converting the preprocessed speech signal into a form that can be understood by the computer device through feature extraction. The present application does not limit the implementation method of the above feature extraction, for example, it may include but is not limited to Mel Frequency Cepstral Coefficient (MFCC), Linear Predictive Coding (LPC) or other custom feature extraction methods.
[0066] S304, model matching step: the extracted speech features can be matched with a preset speech conversion model. The speech conversion model is a model pre-defined by the system or the R&D personnel, which may include but is not limited to, for example, a hidden Markov model (HMM), a recurrent neural network (RNN), a convolutional neural network (CNN), a deep neural network (DNN) or other custom speech models.
[0067] S305, text generation step: using the matching model to convert the above voice features into corresponding readable text data, i.e. the above search data. This application uses a language model for text conversion, and determines the combination of words according to the context to reduce the probability of recognition errors, thereby improving the accuracy and fluency of text conversion.
[0068] S102: Perform a distributed index search on the search data to obtain corresponding search results.
[0069] This application can construct a distributed data index and index system, and use a distributed data index to retrieve the above search data, so as to obtain corresponding search results. The above distributed data index refers to assigning a corresponding index / label to each node data, and retrieving data through the index can greatly improve the search efficiency.
[0070] The present application does not limit the above search results, which may include one or more search elements, where the search element refers to the search result information corresponding to the above search data, such as retrieving a school or house that is close to the current location of the electronic device.
[0071] S103: Display the search results in a virtual list and map point aggregation.
[0072] This application supports massive data retrieval, and uses virtual list technology to render and display only the retrieval elements in the current preset visible area, effectively avoiding page freezes caused by loading all data at once, and ensuring the smoothness of the retrieval process. This application uses map positioning and aggregation technology to accurately scatter points on the map according to the current longitude and latitude of the electronic device to accurately present the current location of the electronic device. At the same time, with the help of the map point aggregation function, combined with the current level of the map, the distribution of device points is scientifically and reasonably displayed, making the information display more layered and intuitive.
[0073] By implementing the embodiment of the present application, the electronic device obtains retrieval data corresponding to the target search method, the target search method includes at least one of voice search, multi-dimensional scene search and event type search; performs distributed index retrieval on the retrieval data to obtain corresponding retrieval results; and performs virtual list and map point aggregation display on the retrieval results. In this way, the retrieval speed can be improved, and the display of the retrieval results can be optimized, and the retrieval results can be smoothly displayed and intuitively presented by using virtual lists and map point aggregation.
[0074] In step S102, the present application does not limit the specific implementation method of the above-mentioned distributed index retrieval. For example, in one implementation, the present application may perform word segmentation on the above-mentioned search data, and then search the inverted index library. Specifically, the index retrieval query may be performed according to the word segmentation field. In another implementation, the present application may query according to the longitude and latitude coordinates of the location, and optionally may also perform a combined precise query in combination with each word segmentation field to improve the accuracy and reliability of data retrieval. The word segmentation field involved in the present application may be a phrase, word segmentation or word sentence, and may also be a precise query field such as a date, a component (button), a value, a keyword or a keyword, and the present application does not make too many restrictions on this.
[0075] In step S103, the present application does not limit the implementation methods of the above-mentioned virtual list and map point aggregation display, which are introduced as examples below.
[0076] The present application may use virtual list technology to display search results. The present application may load and render search elements displayed in a preset visible area in response to scrolling instructions for search results. Specifically, when a user scrolls through the results, the search elements required to be displayed in the current preset visible area are dynamically loaded and rendered. For example, when retrieving a large amount of security location information, page freezes caused by loading all data at once are avoided to ensure smooth browsing of search results. For example, the number of security equipment in a certain city is as high as more than 200,000; if all are displayed, the page will be very stuck. The present application uses virtual list technology to dynamically load and render search elements displayed in a preset visible area as the user scrolls through.
[0077] The present application does not limit the display implementation of the search elements in the above-mentioned preset visual area. For example, in one implementation, the present application can calculate the number of elements displayed in the above-mentioned preset visual area based on the size of the above-mentioned preset visual area and the size of each of the above-mentioned search elements; and then load and render the search elements in the above-mentioned search results based on the above-mentioned number of element displays and the scroll position indicated by the above-mentioned scroll instruction, so as to display the search elements corresponding to the above-mentioned number of element displays in the above-mentioned preset visual area. When the user scrolls and browses, the following search elements are automatically loaded, and the previously displayed search elements are removed, thereby improving the smoothness of the page display.
[0078] For example, see Figure 4 is a schematic diagram showing a search result according to an exemplary embodiment. Figure 4 In the example shown, the search result includes a cache list item and a visible area list item, the visible area list item is a search element displayed in a preset visible area, and the buffer list item is a search element waiting to be loaded and displayed in a preset visible area. The application can first calculate the size of the preset display area (such as height or width) and the starting position of the preset display area (such as the upper left or lower right position, etc.). The application calculates the list size corresponding to the entire search element according to the size and total number of each search element, such as the list height or list width. The application can calculate the number of elements that can be displayed in the preset display area (such as a page) according to the size of the preset display area and the size of each search element. That is, it dynamically calculates how many search elements can be displayed in the preset visible area. Further, the application can dynamically calculate the search elements that actually need to be displayed in the preset display area of the current page according to the starting position of the preset display area, and when there are multiple search elements, they can be presented in the form of an element list. The application can dynamically generate DOM (Document Object Model) elements based on the calculated element list and render them to the preset visible area. When the user scrolls through the search results, the application can recalculate the list of elements to be displayed in the preset visual area according to the scroll position indicated by the scroll instruction, and use the search elements in this element list to add or delete the search elements in the preset visual area. It can be seen that the efficient application of virtual lists in the display of massive security data ensures smooth browsing for users.
[0079] In another embodiment, the present application may aggregate and annotate the search elements in the above search results based on the current location of the electronic device and display them on a map. Specifically, the present application may determine m first elements based on the above search results and the current location of the electronic device, and the first elements are search elements in the above search results that are within a preset geographical range that matches the above current location, and m is a positive integer. Further, the present application may cluster the above m first elements and annotate the clustered elements on a map for display. The present application utilizes map point aggregation to display the search elements in the search results, for example, aggregating and annotating the search-related geographical locations of places and event type points related to events on a map, etc.
[0080] Optionally, when the map is zoomed in, the aggregation points displayed on the map can be automatically separated and displayed according to the zoom ratio to display more detailed aggregation point information. It is understandable that as the map is zoomed in, the visible area becomes smaller, and the distribution of the points that were originally aggregated together in space appears to be more sparse. In order to show more details, the application can separate and display the aggregation points on the map.
[0081] Optionally, when zooming out the map, the present application can automatically aggregate the points that are close to the current position of the electronic device to form an aggregated point for display, which can reduce the amount of points on the page and prevent page jams and clutter. It is understandable that since the visible area becomes larger when the map is zoomed out, if all points are displayed, the points will be too dense, which will not only affect the aesthetics, but also increase the burden of page rendering. Through automatic aggregation, it is possible to balance detail display and performance optimization at different zoom levels / ratios to provide a better user experience. For example, when retrieving / searching information on multiple security monitoring points in a certain area, the map can reasonably display the aggregated or separated state according to the zoom situation, and the present application does not make too many restrictions on this.
[0082] In actual applications, the above-mentioned map point aggregation function uses spatial indexes at the bottom layer to improve clustering performance. Among them, the spatial index is a data structure used to quickly locate objects in geographic space. In map point aggregation, when processing a large number of map points (such as security monitoring points, venue locations, etc.), the spatial index can help quickly determine which points are within a specific preset geographic range, thereby reducing unnecessary calculations and saving resources. For example, when processing numerous security monitoring points in a city, the spatial index can be like an efficient index directory to quickly find all monitoring points located in a certain area (such as a community or a street) without having to traverse all monitoring points to determine whether they are in the area.
[0083] Clustering algorithms are usually used to achieve map point aggregation. Distance calculation is one of the core operations of clustering algorithms. Euclidean distance (on a flat map) or more complex geographic distance (such as geodetic distance that takes into account the curvature of the earth) is usually used to determine whether two points can be clustered. For example, for a flat map, Euclidean distance is used for clustering. The calculation formula for the Euclidean distance is shown below (1):
[0084]
[0085] Among them, (x1, y1) and (x2, y2) are the coordinates of the two points. However, in the geographic information system, since the earth is a sphere, the curvature of the earth needs to be considered. At this time, a more complex calculation formula is used, such as the Haversson formula to calculate the geodetic distance between two points. The Haversson formula takes into account factors such as the radius of the earth and can more accurately calculate the distance between two points on the earth. After the distance calculation formula is determined, the clustering algorithm will determine whether the two points belong to the same cluster based on the set distance threshold. If the distance between the two points is less than the set distance threshold, the two points can be clustered together to form an aggregated point for display.
[0086] Some optional embodiments of the present application are introduced below.
[0087] In some optional embodiments, when the event type corresponding to the second element is a preset event type, the present application may highlight the second element, and also highlight the preset event type to which the second element belongs as an icon. And / or, when the event type corresponding to the second element is not a preset event type, the present application may grayscale display the second element, or gray it out, and grayscale display the preset event type to which the second element does not belong. The preset event types are pre-customized by the system or R&D personnel, for example, they may include but are not limited to fighting incidents, pickpocketing incidents, gathering of people incidents, etc. In other words, the present application may adopt a classification icon highlighting mechanism to automatically light up the corresponding event type / event attribution category for the classified image based on the retrieval results, such as Figure 4 In the search results, the search elements belonging to the preset event type will be highlighted, and the preset event type icon displayed on the right side of the above search interface will be lit up. For example, if the above search results include fighting events (search elements), this application can automatically light up the classification icon "fighting" corresponding to the search element; if it is not included, it will be grayed out by default. This will prompt the user to the distribution tendency of the search results in this type, thereby helping users and security personnel quickly understand the overall composition and key information of the results.
[0088] In another optional embodiment, the present application may also set an event type display control mechanism, and set a switching function for a specific target event type (such as a gathering of people, theft, pickpocketing, and other target event types). For example, the present application may respond to a viewing instruction for the target event type and display a third element matching the target event type based on the above search results. Alternatively, the present application may respond to a switching instruction for the target event type and hide the display of the third element matching the target event type.
[0089] For example, users can click a button to decide whether to display information of these target event types according to their needs. For example, when analyzing the public security situation in a certain area, users can first view all search results, and then click on the "pickpocketing" event type. The entry information in the element list associated with this event type will also be displayed or hidden, and the marked points corresponding to this event type on the map will also be displayed or hidden. This ensures that under different display requirements, users can intuitively and synchronously obtain information content that accurately matches the current display status from the two dimensions of the list and the map, so as to focus on this type of event type for in-depth analysis and meet diverse analysis needs.
[0090] In another optional embodiment, the present application is further provided with a map interactive operation function. The present application can respond to the interactive instruction of the target map area, and determine the fourth element that matches the above-mentioned target map area based on the above-mentioned search results, and the fourth element is the search element in the above-mentioned search results that is within the above-mentioned target map area. The target map area can be an area selected by the user according to actual needs or personal preferences, and the present application does not limit the shape of the area. For example, it can be a rectangle, circle, diamond or other custom shapes. Further, the present application can display the above-mentioned target map area in the center of the map, and simultaneously display the point position of the above-mentioned fourth element. Optionally, relevant information of the above-mentioned fourth element can also be displayed, such as detailed field information used to describe the above-mentioned fourth element.
[0091] In actual applications, users can perform interactive operations such as dragging, zooming in and out on the map. Points in the target map area can be filtered by selecting a target map area (such as a circle or polygon). For example, when a user is studying the security situation around a business district, he can select a polygonal area on the map to represent the scope of the business district, that is, the target map area mentioned above. The system automatically filters out the search elements in the area, such as venue resources, personnel flow information, and event record information. The selected target map area can also be displayed in the center, and the detailed field information of the selected search element in the area, such as the venue name, address, contact information, details related to the venue, etc., is displayed at the same time, so that users can conduct in-depth analysis and comprehensive judgment on specific areas.
[0092] In another optional embodiment, the present application may display detailed information of a target point in a map in response to an operation instruction for the target point. The operation instruction may be generated by the system when it detects that the user performs a specified operation on the target point, and the specified operation may include, but is not limited to, for example, dragging, single-clicking, double-clicking, or sliding operations on a preset track for the target point. The detailed information of the above-mentioned target point may refer to information used to describe the above-mentioned target point, such as important field information, important introduction information, such as the name of the place, address, contact information, details related to the place, etc.
[0093] The embodiment of the present application has the following beneficial effects: by combining distributed data indexing with a variety of convenient retrieval methods, such as voice retrieval, multi-dimensional scene and event type retrieval, etc., the target retrieval results can be quickly located in the massive data. Security personnel can obtain key information more quickly and respond to security incidents in a timely manner. The screening data set is calculated by the front end, reducing the number of web page http requests and alleviating the pressure on the server. Thus, the retrieval efficiency can be greatly improved. The virtual list and map point aggregation are used to more reasonably display the retrieval results, making the result display more intuitive and optimized. The virtual list ensures the fluency of big data browsing, and the map point aggregation can intuitively present the association between geographic information and data. For example, in urban security monitoring, the distribution of different security events in a specific area in geographic space can be clearly seen, which is convenient for analyzing the relationship between the safety hazard area and the place, and providing a scientific basis for the deployment of security resources. The intelligent lighting of event types, event type switching and rich map interaction functions facilitate user operation and analysis, so that the user experience is significantly enhanced. For example, security personnel can quickly adjust the search result display according to their own needs, gather key issues, improve work efficiency and analysis accuracy, and reduce the risk of misjudgment caused by inconvenient information display. The system has good adaptability and scalability, and can easily integrate new security data sources and functional modules. For example, with the application of new security sensors, their data can be quickly incorporated into the retrieval system, further improving the system's ability to respond to complex security scenarios and providing strong support for the sustainable development of security technology.
[0094] Based on the above examples, see Figure 5 FIG. 1 is a schematic diagram showing the structure of a search display device according to an exemplary embodiment. Figure 5 The device shown may include: an acquisition module 501 and a processing module 502. Among them:
[0095] The acquisition module 501 is used to acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of voice search, multi-dimensional scene search and event type search;
[0096] The processing module 502 is used to perform distributed index retrieval on the retrieval data to obtain corresponding retrieval results;
[0097] The processing module 502 is also used to display the search results in a virtual list and map point aggregation.
[0098] Optionally, the search result includes at least one search element, and the processing module 502 is used to:
[0099] In response to a scroll instruction for the search result, loading and rendering a search element displayed in a preset visual area;
[0100] Based on the current location of the electronic device, the search elements in the search results are aggregated and marked on a map for display.
[0101] Optionally, the processing module 502 is used to:
[0102] Calculating the number of elements displayed in the preset visible area based on the size of the preset visible area and the size of each of the search elements;
[0103] The search elements in the search result are loaded and rendered based on the element display quantity, so as to display the search elements corresponding to the element display quantity in the preset visual area.
[0104] Optionally, the processing module 502 is used to:
[0105] Based on the search results and the current location of the electronic device, determine m first elements, where the first elements are search elements in the search results that are within a preset geographical range corresponding to the current location, and m is a positive integer;
[0106] The m first elements are clustered, and the clustered elements are marked and displayed on a map.
[0107] Optionally, the processing module 502 is further configured to:
[0108] When the event type corresponding to the second element is a preset event type, highlighting the second element; and / or,
[0109] When the event type corresponding to the second element is not a preset event type, displaying the second element in grayscale;
[0110] The second element is a search element in the search result.
[0111] Optionally, the processing module 502 is further configured to:
[0112] In response to a viewing instruction for a target event type, displaying a third element matching the target event type based on the search result; or,
[0113] In response to a switch instruction for a target event type, display of a third element matching the target event type is hidden.
[0114] Optionally, the processing module 502 is further configured to:
[0115] In response to an interactive instruction of a target map area, determining a fourth element matching the target map area based on the search result, the fourth element being a search element where the search result is within the target map area;
[0116] The target map area is displayed in the center of the map, and the fourth element is displayed at a point position simultaneously.
[0117] For the contents not introduced or described in the embodiments of the present application, please refer to the relevant introduction in the aforementioned method embodiments, which will not be repeated here.
[0118] The present application also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the search and display method provided by the present application are implemented.
[0119] The present application also provides a computer program product having a computer program and / or instructions stored thereon, which implements the steps of the search and display method provided in the present application when the program and / or instructions are executed by a processor.
[0120] Figure 6 6 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment. For example, the electronic device 600 may be the above-mentioned signal analyzer 300, which may specifically include but is not limited to, for example, a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0121] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output interface 612 , a sensor component 614 , and a communication component 616 .
[0122] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned search display method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0123] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0124] The power supply component 606 provides power to the various components of the device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 600.
[0125] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0126] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the device 600 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0127] The input / output interface 612 provides an interface between the processing component 602 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0128] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the device 600, and the sensor assembly 614 can also detect the position change of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0129] The communication component 616 is configured to facilitate wired or wireless communication between the device 600 and other devices. The device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0130] In an exemplary embodiment, device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned search and display methods.
[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of the device 600 to complete the above-mentioned upper search display method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0132] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned search and display method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned search and display method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned search and display method.
[0133] The present application also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, all or part of the steps in the above-mentioned search and display method provided by the present application are implemented.
[0134] See also Figure 7 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Figure 7 The chip 700 shown includes a processor 701 and an interface 702. Optionally, it may also include a memory 703. The number of the processor 701 may be one or more, and the number of the interface 702 may be multiple.
[0135] In one embodiment, for a chip used to implement the method embodiment described in this application:
[0136] The interface 702 is used to receive or output signals;
[0137] The processor 701 is used to execute part or all of the content in the search and display method embodiment.
[0138] Understandably, the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0139] Understandably, the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0140] It should be noted here that the description of the above storage medium, device and chip embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0141] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application without departing from the principles and purpose of the present application.
Claims
1. A search display method, characterized in that: include: Acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of a voice search, a multi-dimensional scene search, and an event type search; Performing distributed index retrieval on the retrieval data to obtain corresponding retrieval results; The search results are displayed in a virtual list and map point aggregation.
2. The method according to claim 1, characterized in that The search result includes at least one search element, and the displaying of the search result in a virtual list and map point aggregation includes: In response to a scroll instruction for the search result, loading and rendering a search element displayed in a preset visual area; Based on the current location of the electronic device, the search elements in the search results are aggregated and marked on a map for display.
3. The method according to claim 2, characterized in that The loading and rendering of the search elements displayed in the preset visual area includes: Calculating the number of elements displayed in the preset visible area based on the size of the preset visible area and the size of each of the search elements; The search elements in the search result are loaded and rendered based on the element display quantity, so as to display the search elements corresponding to the element display quantity in the preset visual area.
4. The method according to claim 2, characterized in that: The step of aggregating and marking the search elements in the search results on a map based on the current location of the electronic device includes: Based on the search results and the current location of the electronic device, determine m first elements, where the first elements are search elements in the search results that are within a preset geographical range corresponding to the current location, and m is a positive integer; The m first elements are clustered, and the clustered elements are marked and displayed on a map.
5. The method according to claim 1, characterized in that The display of the search results in a virtual list and map point aggregation also includes: When the event type corresponding to the second element is a preset event type, highlighting the second element; and / or, When the event type corresponding to the second element is not a preset event type, displaying the second element in grayscale; The second element is a search element in the search result.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to a viewing instruction for a target event type, displaying a third element matching the target event type based on the search result; or, In response to a switch instruction for a target event type, display of a third element matching the target event type is hidden.
7. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to an interactive instruction of a target map area, determining a fourth element matching the target map area based on the search result, the fourth element being a search element where the search result is within the target map area; The target map area is displayed in the center of the map, and the fourth element is displayed at a point position simultaneously.
8. A search display device, characterized in that: include: An acquisition module, used to acquire retrieval data corresponding to a target search method, wherein the target search method includes at least one of voice search, multi-dimensional scene search, and event type search; A processing module, used to perform distributed index retrieval on the retrieval data to obtain corresponding retrieval results; The processing module is also used to display the search results in a virtual list and map point aggregation.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.