Legal search data processing method and platform
Patent Information
- Application Number
- CN202611074457.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-20
- Publication Date
- 2026-10-16
AI Technical Summary
[0004]目前,消费者获取商品对应法律条款的主要方式为手动查询,即通过搜索引擎、法律数据库等平台,输入商品名称、品类等关键词进行检索,然后从海量检索结果中筛选出与目标商品相关的法律条文,然而,手动查询需要用户在购物过程中中断选购流程,拿出电子设备、打开浏览器、输入关键词、筛选检索结果,整个过程耗时较长,在快节奏的购物场景中,绝大多数消费者不愿意花费大量时间进行手动检索,最终放弃了解相关法律信息,导致自身权益无法得到有效保障
[0018]根据本发明的方案,有效解决了现有技术中涉及的商品相关法律条款依赖手动查询、检索效率低下的技术问题,其中,具体包括:
Smart Images

Figure CN122925673A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to data processing technology, and more particularly to a legal retrieval data processing method and platform. Background Technology
[0002] With the continuous improvement of my country's rule of law and the significant enhancement of consumer rights protection awareness, consumers have an increasingly strong demand for the right to know about the relevant legal terms of goods during the purchase process.
[0003] In retail stores, supermarkets, and other commercial establishments, consumers often need to understand the food safety standards, product quality requirements, warranty and after-sales service regulations, and relevant legal provisions for consumer rights protection of the goods they purchase in order to safeguard their legitimate rights and interests.
[0004] Currently, the main way consumers obtain the relevant legal provisions for products is through manual searching. This involves using platforms such as search engines and legal databases, entering keywords such as product name and category to search, and then filtering out the legal provisions related to the target product from a massive amount of search results. However, manual searching requires users to interrupt their shopping process, take out their electronic devices, open their browsers, enter keywords, and filter search results. The whole process is time-consuming. In a fast-paced shopping environment, most consumers are unwilling to spend a lot of time on manual searching and ultimately give up on understanding the relevant legal information, resulting in their rights not being effectively protected.
[0005] Therefore, there is an urgent need for a legal retrieval data processing method and platform that can improve retrieval efficiency. Summary of the Invention
[0006] In view of the above problems, the present invention is proposed to provide a legal search data processing method and platform that overcomes or at least partially solves the above problems.
[0007] According to one aspect of the present invention, a legal search data processing method is provided, comprising: The first set of legal provisions is matched based on the spatial attributes of the corresponding target physical space, and the target twin space is constructed based on the digital twin data of the corresponding target physical space. Determine the display attributes corresponding to each display area located in the target physical space, and based on each display attribute, filter the second set of legal provisions that matches each display area from the first set of legal provisions; The response determines that the retrieval end selects any item in any display area, obtains the item characteristics corresponding to the displayed item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the legal provisions content of the item. Create a law provision display layer that fills the law provisions content of the items, and associate the law provision display layer with the item area of the corresponding displayed items based on the retrieval terminal.
[0008] Optionally, in the method according to the present invention, determining the display attributes corresponding to each display area located in the target physical space based on the target twin space includes: Based on the target twin space, determine each item area corresponding to each item in the same display area, and determine the item type corresponding to each item in the display area; All items of the same type are grouped into a category merging group, and the category with the largest number of items in the category merging group is used to determine the display attributes of the corresponding display area.
[0009] Optionally, in the method according to the present invention, the response determining the retrieval terminal selects any displayed item located in any display area, obtains the item characteristics corresponding to the displayed item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the item legal provision content, including: Obtain the real-time terminal location of the corresponding search terminal; The response determines the retrieval terminal based on the real-time terminal location, selects any item in any display area, identifies the item as the retrieval item, and obtains all image pixels that make up the retrieval item based on the target twin space. The item features of the corresponding searched item are determined based on the pixel position and pixel value of all corresponding image pixels, and the second set of legal provisions is matched based on the item features to obtain the item legal provisions content. The item features include color distribution features and texture distribution features.
[0010] Optionally, in the method according to the invention, the response to determining that the retrieval terminal selects any displayed item located in any display area based on the real-time terminal location, and identifies the displayed item as the retrieval item, includes: Using the real-time terminal location as the center point of the range, determine the search selection range located in the target physical space with a corresponding preset search radius; The response determines that the retrieval terminal maintains a continuous preset monitoring duration based on the real-time terminal location, determines the historical terminal location corresponding to different historical times, and connects the historical terminal locations based on the chronological order of the historical times to obtain the terminal movement path. Based on the terminal movement path, a straight route composed of the real-time terminal locations is determined, and the historical terminal location of the corresponding straight route is taken as the starting point and the real-time terminal location as the ending point to determine the end movement direction of the corresponding retrieval terminal; Based on the direction of end movement, all displayed items within the search selection range are divided into different orientation priorities, and each displayed item is identified by its corresponding orientation priority based on the target twin space. The retrieval terminal selects any identified displayed item and identifies that item as the retrieval item.
[0011] Optionally, in the method according to the invention, all displayed items within the retrieval selection range are divided into different orientation priorities based on the end-movement direction, and each displayed item is identified according to its corresponding orientation priority based on the target twin space, including: Determine the vertical movement direction that is perpendicular to the end movement direction, the opposite vertical movement direction, and the reverse movement direction, and configure different orientation priorities for each movement direction; Starting from the real-time terminal location, an item indicator line is generated based on the search selection range and extends along different movement directions; In response to any item indicator line extending to contact any display area, control the item indicator line to stop extending and designate that display area as the identification area; If any item indicator line does not touch any display area, a first cooperative line and a second cooperative line with a right angle are generated with the item indicator line as the center line of the area. Based on the search selection range, the collaborative indication area consisting of the first collaborative line and the second collaborative line is determined, and the display area located in the collaborative indication area with the smallest distance from the area corresponding to the real-time terminal position is determined as the identification area. Based on the target twin space, all displayed items located in the same identification area are identified according to their corresponding orientation priority.
[0012] Optionally, in the method according to the invention, the response to determining that the retrieval terminal selects any displayed item located in any display area based on the real-time terminal location, and identifies the displayed item as the retrieval item, includes: The response retrieval end selects any display area based on the target twin space, determines the display area as the display area, and establishes an area indicator line connecting the display area based on the real-time terminal location; When the length of the line segment corresponding to the area indicator line is less than a preset length threshold and the area indicator line does not overlap with any other display area, the display point with a preset extension length is determined along the area indicator line, starting from the real-time terminal position. In response to the display location being located on the area indicator line, the display area is moved to the area indicator line for display based on the target twin space; otherwise, it is moved to the endpoint of the corresponding area indicator line for display. The response retrieval terminal selects any displayed item in the display area based on the target twin space and identifies that displayed item as the retrieval item.
[0013] Optionally, in the method according to the present invention, the item features corresponding to the retrieved item are determined based on the pixel positions and pixel values of all corresponding image pixels, and the second set of legal provisions is matched based on the item features to obtain the content of the item legal provisions, including: Retrieve a preset law-based coordinate table, wherein the preset law-based coordinate table includes each horizontal coordinate point arranged along the horizontal coordinate axis and the vertical coordinate axis, and each vertical coordinate point corresponds to different color distribution features and different texture distribution features. Based on the item features of the corresponding searched item, the preset legal provision mapping coordinate table is traversed to determine the mapping coordinate points of the corresponding item features, which are composed of color distribution features and texture distribution features. Based on the mapping coordinate points, the second legal provision set is matched to obtain the item legal provision content of the corresponding displayed item.
[0014] Optionally, in the method according to the present invention, creating a legal provision display layer that fills the content of the legal provisions of the items, and associating the legal provision display layer with the corresponding item area based on the retrieval terminal, includes: Determine the item outline corresponding to the item area of the retrieved item, and use the center point of the corresponding item outline as the display center point to create a law rule display layer that is inscribed in the item outline and presents a rectangular shape. Then fill the law rule content of the item into the law rule display layer. Based on the target twin space, determine the display surface of the display area including the searched items, and obtain the display status of the corresponding display surface based on the real-time terminal location of the corresponding search terminal. The display position of the legal provisions is determined based on the display status, and the display layer of the legal provisions is anchored to the display position of the legal provisions to associate the display layer of the legal provisions with the item area.
[0015] Optionally, in the method according to the invention, determining the display point of the legal provision based on the display state and anchoring the legal provision display layer to the display point to associate the legal provision display layer with the item area includes: In response to the display state being a positive display, the center point of the item is determined as the legal provision display point, and the direction of legal provision stacking is determined from the center point of the corresponding item outline to the real-time terminal position of the corresponding retrieval end. An item mapping channel corresponding to the outline of the item is generated along the direction of the superposition of the legal clauses, and the image pixels located in the item mapping channel that correspond to any other displayed item are hidden based on the target twin space; Anchor the law provision display layer to the law provision display point to associate the law provision display layer with the item area.
[0016] Optionally, in the method according to the invention, determining the display point of the legal provision based on the display state and anchoring the legal provision display layer to the display point to associate the legal provision display layer with the item area includes: In response to the display state being a back view, starting from the center point of the item, the outline of the item is controlled to move along the vertical direction of the corresponding target twin space, and the direction of the superposition of the legal lines pointing from the center point of the item to the real-time terminal position of the corresponding retrieval end is determined. An item mapping channel corresponding to the item outline is generated along the direction of the superposition of the legal strips. In response to the absence of an image pixel corresponding to any other displayed item in the item mapping channel at any moving position, the item outline is controlled to stop moving, thus obtaining the moving outline. The center point of the corresponding moving contour is determined as the display point of the law provision, and the law provision display layer is anchored to the display point of the law provision to associate the law provision display layer with the item area.
[0017] According to another aspect of the present invention, a legal search data processing platform is provided, comprising: The first matching module is configured to match the first set of legal provisions based on the spatial attributes of the corresponding target physical space, and to construct the target twin space based on the digital twin data of the corresponding target physical space; The second matching module is configured to determine the display attributes corresponding to each display area in the target physical space, and filter the second set of legal provisions that matches each display area from the first set of legal provisions based on each display attribute. The legal provision acquisition module is configured to respond to the retrieval terminal's selection of any displayed item in any display area, acquire the item characteristics corresponding to the displayed item, and perform matching based on the item characteristics on the second set of legal provisions to obtain the legal provision content of the item. The legal provisions display module is configured to create a legal provisions display layer that fills the legal provisions content of the items, and to associate the legal provisions display layer with the corresponding item area based on the retrieval terminal.
[0018] According to the solution of the present invention, the technical problem of low efficiency in retrieving commodity-related legal clauses due to reliance on manual searching is effectively solved in the prior art, specifically including: First, by constructing a target twin space that maps the virtual and real physical space of the target, the present invention pre-associates legal provisions with the items displayed in the target physical space. By simply selecting the item of interest, the corresponding legal provisions can be obtained instantly. The entire search process does not require manually entering keywords, opening a browser, or filtering massive search results, thus improving the efficiency and convenience of the search. Secondly, this invention does not require users to master any professional legal terminology, nor do they need to understand the classification system and retrieval methods of legal provisions. Users can simply select the search item in the target physical space through a simple click operation, and the legal provisions will be automatically matched and displayed, realizing the universal access to legal information. Furthermore, this invention employs a method of first filtering the applicable first set of legal provisions based on the spatial attributes of the target physical space, then filtering the second set of legal provisions based on the display attributes of the display area, and finally performing precise matching based on the characteristics of the searched items. This method can provide matching legal provisions for each specific searched item, ensuring that the search results are highly relevant to the actual needs of consumers and effectively avoiding interference from irrelevant information. Finally, by creating a legal provision display layer and spatially associating it with the corresponding item area in the target twin space, this invention achieves a visual binding between the legal provision content of an item and the item being searched. The legal provision content of an item can be intuitively seen overlaid and displayed in the corresponding item position on the search terminal, eliminating the need to manually establish a correspondence between the item being searched and the legal provision content in one's mind. This significantly reduces cognitive costs and provides a smooth, natural, and immersive search experience. Attached Figure Description
[0019] Figure 1 A flowchart of a legal retrieval data processing method according to an embodiment of the present invention is shown; Figure 2 A schematic diagram of the corresponding terminal movement path in this embodiment is shown; Figure 3 A structural block diagram of a legal retrieval data processing platform according to another embodiment of the present invention is shown. Detailed Implementation
[0020] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0021] To address the problems existing in the prior art, the inventors proposed the solution of this invention. One embodiment of this invention provides a legal search data processing method, which can be executed in a computing device, wherein the computing device can be understood as a terminal with data processing capabilities, such as a computer.
[0022] Figure 1 A flowchart of a legal retrieval data processing method according to an embodiment of the present invention is shown, such as... Figure 1As shown, the method begins with step S1, which includes the following: The first set of legal provisions is matched based on the spatial attributes of the corresponding target physical space.
[0023] For example, in this embodiment, the spatial attributes of the target physical space can be obtained based on the server. The spatial attributes may include, but are not limited to, the type of space use, the operating qualification of the space, the geographical location of the space, the building area of the space, the floor distribution of the space, and the division information of the corresponding functional areas of the space. After obtaining the spatial attributes, the server can perform multi-dimensional matching of the spatial attributes with a preset legal provision classification library, and filter out all legal provisions that match the spatial attributes of the target physical space to form a first legal provision set.
[0024] It can be noted that, in this embodiment, step S1 can significantly narrow down the scope of subsequent legal text matching by first performing preliminary screening of legal texts based on spatial attributes, avoiding global retrieval in a massive legal text database, and effectively improving the response speed of legal retrieval.
[0025] For example, in this embodiment, when the target physical space is a comprehensive retail store, the server can obtain the store's spatial attributes, such as: commercial retail use, possession of a food business license, and division into three functional areas: food area, daily necessities area, and home appliance area. Based on these spatial attributes, the server can match all legal provisions related to commercial retail from the legal provisions classification library, such as the Consumer Rights Protection Law, the Product Quality Law, the Food Safety Law, and the Measures for the Administration of Retailers' Promotional Activities, to form the first set of legal provisions.
[0026] Furthermore, in this embodiment, the aforementioned "determining the display attributes corresponding to each display area located in the target physical space based on the target twin space" may further include the following steps: Based on the target twin space, determine each item area corresponding to each item in the same display area, and determine the item type corresponding to each item in the display area; All items of the same type are grouped into a category merging group, and the category with the largest number of items in the category merging group is used to determine the display attributes of the corresponding display area.
[0027] For example, in this embodiment, the determination of the corresponding display attributes can be specifically implemented based on the following methods: First, the server can retrieve digital twin data of the corresponding target physical space. This digital twin data can include at least a three-dimensional structural model of the target physical space, the location and size data of fixed facilities within the space, the boundary coordinates of each area within the space, and simulation data of lighting and viewing angles within the space. Based on the acquired digital twin data, the server can construct a three-dimensional virtual scene that maps the virtual and real elements of the target physical space, i.e., the target twin space involved in this embodiment, and bind and store the association identifier of the first set of legal provisions with the target twin space. Here, by constructing a target twin space that fully maps the target physical space, a unified spatial foundation can be provided for subsequent matching of legal provisions based on spatial location and object characteristics, solving the technical problem that traditional legal retrieval cannot be associated with physical spatial entities. Secondly, the server can traverse all independently existing display areas in the target twin space one by one to extract all item areas contained in each display area. Each item area corresponds to an independently existing display item in the target physical space, and further determine the item type of each item area. It can be explained that by identifying the display items displayed in each display area and obtaining their item types based on the target twin space, the display attributes can be dynamically determined based entirely on the actual display situation in the physical space. This solves the technical problem that determining display attributes based on fixed areas cannot adapt to frequent adjustments to the shelf layout and changes in product categories in stores, ensuring that the display attributes are kept synchronized with the actual business content in real time. Next, the server can classify and count the types of all displayed items in the same display area, grouping items with the same type into the same category group, and simultaneously counting the number of items in each category group. It can be seen that by merging and counting by item type, the distribution ratio of different categories of goods in each display area can be objectively quantified, providing quantifiable data for determining the dominant attributes of the area, and avoiding subjective judgment bias and inconsistent classification problems that may occur when manually dividing area attributes. Finally, the server can sort all category groups corresponding to the same display area in descending order of the number of items contained, and select the category corresponding to the category group with the largest number of items in the first sorted group. This category is then determined as the display attribute of the display area. The server then spatially binds this display attribute with the corresponding display area in the target twin space and updates the data. It can be noted that using the category with the largest number of items as the display attribute can accurately reflect the core business category of the display area. This ensures that the second set of legal provisions selected later can cover the legal application requirements of the vast majority of goods in the area. At the same time, it effectively filters out irrelevant legal provisions that may be introduced due to the presence of a small number of other categories of goods in the area, further improving the accuracy of legal provision matching.
[0028] For example, in this embodiment, a display area in a comprehensive retail store displays 45 items, which may include 39 cans of carbonated beverages, 3 packs of chewing gum, and 3 bags of candy. Based on this, the server first identifies 45 different item areas in the display area and queries the item identifiers to find that the item type corresponding to each item is carbonated beverages, chewing gum, and candy. Further, the server merges items of the same type into three category merge groups and sorts the three category merge groups in descending order of item quantity to select carbonated beverages, which have the largest item quantity, as the display attribute of the display area. This attribute is then bound to the corresponding shelf area in the target twin space. Subsequently, a second set of legal provisions related to carbonated beverages will be selected based on this attribute.
[0029] Step S2 includes the following: Determine the display attributes corresponding to each display area located in the target physical space, and based on each display attribute, filter the second set of legal provisions that matches each display area from the first set of legal provisions.
[0030] For example, in this embodiment, after the construction of the corresponding target twin space is completed, the server can perform region parsing on the target twin space to identify all the pre-divided display areas that exist independently, and obtain the boundary coordinates, region identifiers and pre-associated basic information of each display area in the target twin space, thereby determining the display attributes corresponding to each display area. Furthermore, the server can match the display attributes of each display area with the applicable scenarios of each legal provision in the first set of legal provisions, filter out all legal provisions whose applicable scenarios match the display attributes, and form a second set of legal provisions that corresponds one-to-one with the display area. At the same time, each second set of legal provisions can be spatially bound and stored with the corresponding display area in the target twin space.
[0031] It can be noted that, in this embodiment, step S2 can perform a second filtering based on the display attributes of the display area on the basis of the first set of legal provisions, so as to further narrow the scope of legal provisions retrieval, avoid the need to process a large number of irrelevant legal provisions when matching individual items in the future, and significantly improve the matching response speed and accuracy of legal provisions.
[0032] For example, in this embodiment, when the target physical space is a comprehensive retail store, the server can identify three independently existing display areas—a food display area, a daily necessities display area, and an appliance display area—from the target twin space, and determine their corresponding display attributes as food display attributes, daily necessities display attributes, and appliance display attributes, respectively. Based on these display attributes, the server can filter from a first set of legal provisions. Specifically, for the food display attributes, it can filter relevant provisions of the Food Safety Law concerning, for example, food sales, labeling, and shelf-life management, to form a second set of legal provisions for the food area. For the appliance display attributes, it can filter relevant provisions of the Product Quality Law concerning the quality requirements of home appliances and the three guarantees regulations, to form a second set of legal provisions for the home appliance area.
[0033] Step S3 includes the following: The response determines that the retrieval end selects any item in any display area, obtains the item characteristics corresponding to the displayed item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the legal provisions content of the item.
[0034] For example, in this embodiment, it should be noted that the retrieval terminal can be understood as the terminal device used by the retrieval user. When the server determines that any retrieval terminal selects any item in any display area, it can simultaneously obtain the item characteristics corresponding to the displayed item based on the target twin space, and perform multi-dimensional matching between the obtained item characteristics and the applicable items of each legal provision in the second legal provision set corresponding to the display area, and filter out all legal provisions that match the item characteristics. Then, it can be further sorted and organized, for example, according to the legal effect level and relevance, to form the item legal provisions corresponding to the displayed item.
[0035] It can be noted that, in this embodiment, step S3 can transform the user's direct selection of physical items into a legal search request, eliminating the need for the user to manually input keywords or describe item information in natural language. This solves the technical problems of high barriers to entry in traditional legal search operations and the difficulty for ordinary users to accurately express their search needs. At the same time, matching based on the item features pre-stored in the target twin space can effectively avoid problems such as semantic ambiguity, missing results, or excessive irrelevant content that are prone to occur in keyword searches. This ensures that the search results are highly relevant to the items that the user is actually interested in, significantly improving the convenience and accuracy of legal searches.
[0036] For example, in this embodiment, when a user uses a smartphone, AR device, or other similar device as a search terminal and selects a bottle of pure milk on a shelf in the food display area of a general retail store, the server can respond to this selection operation by retrieving the corresponding item characteristics of the pure milk from the target twin space. These item characteristics may include, for example, pre-packaged dairy products, room temperature storage, and a shelf life of 7 days. The server matches these item characteristics with the second set of legal provisions in the food area, and filters out relevant provisions in the Food Safety Law regarding the requirement that pre-packaged foods should be labeled with production date, shelf life, and ingredient list, as well as relevant provisions regarding the prohibition of selling foods that have exceeded their shelf life, thus forming the legal provisions for the items.
[0037] Furthermore, in this embodiment, the aforementioned "response determination retrieval terminal selects any displayed item located in any display area, obtains the item characteristics corresponding to the displayed item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the item legal provision content" may also include the following steps: Obtain the real-time terminal location of the corresponding search terminal; The response determines the retrieval terminal based on the real-time terminal location, selects any item in any display area, identifies the item as the retrieval item, and obtains all image pixels that make up the retrieval item based on the target twin space. The item features of the corresponding searched item are determined based on the pixel position and pixel value of all corresponding image pixels, and the second set of legal provisions is matched based on the item features to obtain the item legal provisions content. The item features include color distribution features and texture distribution features.
[0038] For example, in this embodiment, the acquisition of the corresponding item's legal provisions can be implemented based on the following specific methods: First, the server can obtain the real-time terminal location of the corresponding search terminal based on the positioning unit pre-set on the search terminal; Next, based on the obtained real-time terminal location and the spatial coordinate information of each display area and item in the target twin space, the server can determine all display areas and items within the current field of view of the retrieval terminal. When the server receives a terminal instruction from the retrieval terminal to select the corresponding item, in response to the terminal instruction, the server can identify the display item selected by the retrieval user as the retrieval item and retrieve the corresponding 3D item model from the target twin space. The server can then extract all image pixels that make up the 3D item model from the current viewpoint. It can be noted that extracting the image pixels of the retrieval item from the 3D item model in the target twin space can avoid problems such as angle deviation, light interference, and occlusion that may occur when the retrieval user takes photos by himself, thus ensuring the consistency and accuracy of the image data. Then, the server can process all the extracted image pixels and obtain the color distribution features and texture distribution features of the retrieved item based on the position coordinates and pixel values of each image pixel. The color distribution features can be obtained, for example, by statistically analyzing the proportion of pixels in different color ranges, while the texture distribution features can be obtained by calculating the gradient of pixel value changes between adjacent pixels. Finally, the server matches the item characteristics obtained with the item characteristics of each legal provision in the second set of legal provisions corresponding to the display area of the searched item. It then filters out all legal provisions whose matching degree with the item characteristics is higher than a preset threshold. For example, after sorting them according to the matching degree from high to low, the legal provisions corresponding to the searched item are formed. It can be noted that using color distribution features and texture distribution features as the identification basis for item identification can accurately distinguish different types, brands, and even different specifications of goods. Even goods with similar appearances can be effectively identified through subtle differences in color and texture. This solves the problems of mismatch and missed match that are easy to occur in traditional keyword-based search. At the same time, legal provision matching based on item characteristics can directly associate legal provisions with specific product entities without requiring users to manually enter search keywords, which greatly improves the convenience and accuracy of legal search.
[0039] For example, in this embodiment, the server determines the real-time terminal location of the user being searched, which is 1 meter in front of the third row of shelves in the food section, based on the positioning unit pre-set on the search terminal. Simultaneously, when the user selects bottled water based on the search terminal, the server responds to the selection instruction, identifies the bottled water as the search item, and extracts all image pixels of the 3D item model from the target twin space from the current viewpoint. Furthermore, the server can process these pixels, for example, calculating the color distribution characteristics of the bottled water as 65% blue, 30% white, and 5% other colors, and the texture distribution characteristics as dense texture in the bottle body area and uniform texture in the bottle cap area. The server can then match these item characteristics with the second set of legal provisions corresponding to the food section, filtering out relevant legal provisions such as the "Product Quality Law" regarding clear product labeling and the "Consumer Rights Protection Law" regarding consumers' right to know the true condition of the goods they purchase. These provisions are then sorted according to their matching degree to form the legal content corresponding to the bottled water.
[0040] Furthermore, in this embodiment, the aforementioned "response based on real-time terminal location determination of the retrieval terminal to select any displayed item located in any display area, and determining the displayed item as the retrieval item" may further include the following steps: Using the real-time terminal location as the center point of the range, determine the search selection range located in the target physical space with a corresponding preset search radius; The response determines that the retrieval terminal maintains a continuous preset monitoring duration based on the real-time terminal location, determines the historical terminal location corresponding to different historical times, and connects the historical terminal locations based on the chronological order of the historical times to obtain the terminal movement path. Based on the terminal movement path, a straight route composed of the real-time terminal locations is determined, and the historical terminal location of the corresponding straight route is taken as the starting point and the real-time terminal location as the ending point to determine the end movement direction of the corresponding retrieval terminal; Based on the direction of end movement, all displayed items within the search selection range are divided into different orientation priorities, and each displayed item is identified by its corresponding orientation priority based on the target twin space. The retrieval terminal selects any identified displayed item and identifies that item as the retrieval item.
[0041] For example, in this embodiment, identifying the displayed items as retrieval items can be specifically implemented based on the following methods: First, the server uses the real-time 3D terminal location of the search terminal as the center point of the spatial range. Based on the preset search radius, it generates a 3D spherical search selection range in the target twin space. This filters out all displayed items that fall completely or partially within the search selection range, forming a set of items to be selected. It can be explained that by setting a reasonable search selection range, it is possible to effectively filter out displayed items that are too far away from the search user or that the search user is unlikely to notice, greatly reducing the range of items that need to be processed and improving the system's response speed. In addition, the search selection range is dynamically generated based on the real-time terminal location, which can also adapt to the search user's movement in any location within the store, ensuring that the search user can quickly obtain relevant legal information about the surrounding items from any location. Next, when it is determined that the three-dimensional offset of the corresponding real-time terminal position of the retrieval terminal is less than the preset position threshold within a continuous preset monitoring period, the server determines that the retrieval terminal is in a stationary state. At this time, the server can synchronously retrieve all historical terminal position data of the retrieval terminal within a preset backtracking period before the stationary state occurred, and connect the adjacent historical terminal positions in sequence according to the chronological order of different historical moments corresponding to each historical terminal sequence to form a complete terminal movement path. It can be explained that by detecting the stationary state of the retrieval user to trigger the subsequent item selection process, it is possible to avoid the erroneous operation of the retrieval user during the walking process, and ensure that the server will only perform item recognition and priority classification when the retrieval user actually stays in a certain area and intentionally pays attention to the surrounding items. In addition, generating the terminal movement path based on the historical terminal position can accurately restore the retrieval walking trajectory, providing a reliable basis for subsequently determining the retrieval user's focus direction. Then, the server can extract a straight line route based on the generated terminal movement path, consisting of the nearest historical terminal locations and the real-time terminal location. The historical terminal location farthest from the real-time terminal location in this straight line route is determined as the path start point, and the real-time terminal location is determined as the path end point. At the same time, the vector direction from the path start point to the path end point is the end movement direction of the retrieval terminal. It can be explained that by linearly fitting the terminal movement path and extracting the end movement direction, it is possible to accurately determine from which direction the retrieval user walked to the current position, and thus infer the retrieval user's line of sight and potential area of interest. This solves the problem in the prior art that it is impossible to determine the retrieval user's area of interest based solely on the retrieval user's current position. It can effectively distinguish the displayed items in different directions in front, behind, left, and right of the retrieval user, and greatly improve the accuracy of item selection. Subsequently, the server prioritizes all selectable items within the search range based on the determined terminal movement direction. For example, items with an angle less than 15° between the line connecting their center to the real-time terminal position and the terminal movement direction are assigned the highest priority; items with an angle between 15° and 45° are assigned the second highest priority; items with an angle between 45° and 90° are assigned the medium priority; and items with an angle greater than 90° are assigned the low priority. Simultaneously, based on the target twin space, each selectable item is labeled with its corresponding orientation priority. The list of labeled items is then pushed to the search terminal in descending order of orientation priority. This prioritizes items based on the user's terminal movement direction, prioritizing items that the user is most likely to be interested in and that are directly in front of the user, reducing the user's steps. Furthermore, the labeling and sorting of different orientation priorities helps users quickly find the items they want to view, significantly improving the user experience and search efficiency. Finally, when the server receives a terminal instruction from the retrieval end to select any of the priority-marked displayed items, it can identify the displayed item as the retrieval item for this retrieval in response to the terminal instruction, and trigger the subsequent item feature acquisition and legal provision matching process. It can be explained that by prioritizing the displayed items before receiving the corresponding selection from the retrieval user, it can ensure that the displayed items selected by the retrieval user are within the range pre-processed by the server, avoiding the problem of retrieval failure caused by the retrieval user selecting a displayed item that the server has not recognized.
[0042] For example, in this embodiment, the preset search radius can be 2m, the preset monitoring duration can be 2s, the preset location threshold can be 0.3m, and the preset backtracking duration can be 15s. Specifically, when a user walks from the snack section to the beverage section in a general retail store and reaches 1m in front of the second shelf in the beverage section, the server detects that the user's three-dimensional offset is less than 0.3m for 2 consecutive seconds, determining that the user is in a stationary state. At this time, the server retrieves four historical terminal locations of the user within the past 15 seconds, generates a terminal movement path from the snack section to the real-time terminal location, and extracts this path to obtain a straight line route composed of the most recent historical terminal locations and the real-time terminal location. This straight line route is used to determine the user. The terminal movement direction is directly forward. Furthermore, the server generates a search selection range with a radius of 2m, centered on the current location of the search user, filters out all beverage products within this range, and divides them according to orientation priority. For example, cola products located at an angle of less than 15° directly in front of the search user are classified as the highest priority, and mineral water products with an angle of 15-45° are classified as the second highest priority. After completing the orientation priority division, the server can push these products with priority labels to the search user's search terminal in order of priority from high to low. When the search user selects the cola product displayed on the search terminal, the server responds to the selection instruction, identifies the cola product as the search item, and begins to obtain its item characteristics and match relevant legal provisions.
[0043] Figure 2 This diagram illustrates the corresponding terminal movement path in this embodiment, where, based on Figure 2 As can be seen from the content, along the path formation direction, the terminal movement path includes four historical terminal locations and a real-time terminal location at the tail position, which correspond to the following: Figure 2 The circular elements connected by arrows in the diagram, here, the third and fourth historical terminal positions can together with the real-time terminal positions to form a straight line segment.
[0044] Furthermore, in this embodiment, the aforementioned "dividing all displayed items within the retrieval selection range into different orientation priorities based on the end-movement direction, and identifying each displayed item according to its corresponding orientation priority based on the target twin space" may further include the following steps: Determine the vertical movement direction that is perpendicular to the end movement direction, the opposite vertical movement direction, and the reverse movement direction, and configure different orientation priorities for each movement direction; Starting from the real-time terminal location, an item indicator line is generated based on the search selection range and extends along different movement directions; In response to any item indicator line extending to contact any display area, control the item indicator line to stop extending and designate that display area as the identification area; If any item indicator line does not touch any display area, a first cooperative line and a second cooperative line with a right angle are generated with the item indicator line as the center line of the area. Based on the search selection range, the collaborative indication area consisting of the first collaborative line and the second collaborative line is determined, and the display area located in the collaborative indication area with the smallest distance from the area corresponding to the real-time terminal position is determined as the identification area. Based on the target twin space, all displayed items located in the same identification area are identified according to their corresponding orientation priority.
[0045] For example, in this embodiment, assigning a priority to the orientation of each displayed item can be implemented based on the following methods: First, based on the determined end-movement direction, the server can calculate two perpendicular movement directions and one opposite movement direction in the three-dimensional coordinate system of the target twin space. Simultaneously, the server configures the orientation priority of the four movement directions according to the natural browsing habits of the user. For example, the end-movement direction can be configured as the highest priority, the two perpendicular movement directions as the second highest priority, and the opposite movement direction as the lowest priority. This clearly defines the three types of movement directions (end, vertical, and opposite) and configures differentiated priorities, establishing a priority system covering the entire viewing angle range. This solves the problems of blurred boundaries and inconsistent judgments that easily occur when prioritizing based solely on angles in existing technologies. Furthermore, this priority configuration perfectly aligns with the distribution of human visual attention; users typically prioritize the area directly in front, followed by the left and right sides, and finally the rear, significantly improving the system's accuracy in predicting the user's area of interest. Next, the server uses the real-time terminal position of the search end as the starting point of the ray and generates four item indicator lines with a length equal to the preset search radius along four pre-configured priority movement directions. Each item indicator line is represented as an invisible virtual ray in the target twin space, used to detect whether there is a display area on its extension path. It can be noted that by using virtual rays as a detection method, the abstract line of sight of the search user can be transformed into a quantifiable and computable spatial geometric element, realizing the geometric positioning of the area of interest of the search user. Compared with the existing area grid division method, the ray detection method has the advantages of low computational load and high positioning accuracy. Then, the server can monitor the extension status of the four item indicator lines in real time. In one case, when it is detected that any item indicator line intersects with the boundary of any display area in the target twin space during its extension, the server immediately controls the item indicator line to stop extending and determines the intersecting display area as the identification area corresponding to the direction of movement. It can be explained that by adopting the mechanism of stopping when the indicator line touches, the server can quickly lock the display area directly in front of the search user's line of sight without performing complex distance calculations and area comparisons. This ensures that when there is a display area directly in front of the search user, the server can determine the identification area as quickly as possible, thus improving the overall response speed. In another scenario, if the server detects that an item indicator line extending to a preset search radius does not intersect with the boundary of any display area, it generates two collaborative lines, a first and a second, at 45° angles to the item indicator line, using that item indicator line as the area center line. Here, the lengths of these two collaborative lines are also equal to the preset search radius, forming a fan-shaped area with a 90° apex angle together with the item indicator line. The first and second collaborative lines, along with the area center line, are all generated starting from the real-time terminal position. The server can determine the intersection of this fan-shaped area and the search selection range as the collaborative indicator area and traverse the collaborative indicator area. For all display areas within the domain, the straight-line distance between each display area and the real-time terminal position is calculated. The display area with the smallest distance is selected as the identification area corresponding to the movement direction. It can be explained that by generating cooperative lines to expand the detection range, the technical problem of not being able to determine the identification area when there are no items in front of the search user, such as a passage, pillar, or cashier. At the same time, selecting the display area closest to the search user as the identification area is in line with the search user's natural browsing habits. That is, when there are no items in front of the search user, the search user will usually turn to browse the areas on both sides closest to him, which can further improve the accuracy of the system's prediction. Finally, the server assigns the same orientation priority to all displayed items within the same identified area based on the orientation priority corresponding to each identified area, and adds a corresponding priority identifier to each displayed item in the target twin space. Then, all displayed items with priority identifiers are sorted in descending order of priority, and the sorting results are pushed to the retrieval terminal for display. It can be noted that by using a batch priority assignment method by area, rather than calculating for each individual item, the computational load of the system can be significantly reduced, and the server's resource consumption can be reduced. Furthermore, since displayed items within the same identified area usually belong to the same item type and have similar legal application requirements, batch priority assignment will not affect the accuracy of subsequent legal provision matching, but can instead improve the system's processing efficiency.
[0046] Additionally, it should be noted that when the same identification area is assigned different orientation priorities, the orientation priority with the highest priority will be determined as the final orientation priority.
[0047] For example, in this embodiment, the preset search radius can be, for instance, 2m, and the user searching can be located in the center of the passage between the beverage and snack areas of a general retail store. The determined end-point movement direction is due north. Under these conditions, the server can calculate two vertical movement directions: due east and due west, and the reverse movement direction is due south. Due north is configured as the highest priority, due east and due west as the next highest priority, and due south as the lowest priority. Furthermore, the server can generate four corresponding line segments, each 2m long, along these four different directions. The item indicator line extending to 2m in the due north direction still does not touch any display area. Therefore, two cooperative lines with a 45° angle are generated around this item indicator line as the center line, forming... A collaborative indicator area is defined in a 90° fan shape. The server traverses the display areas within this area and finds that the closest area to the user is the beverage display area 1.2m to the east. Therefore, the beverage area is designated as the north-facing indicator area. Simultaneously, the item indicator lines extending eastward reach the beverage shelf at 1.2m, and the item indicator lines extending westward reach the snack shelf at 1.5m. Thus, the beverage area and snack area are designated as the east-facing and west-facing indicator areas, respectively. After determining all the corresponding indicator areas, the server assigns the highest priority to all items in the beverage area and the second highest priority to all items in the snack area, and then pushes the sorted item list to the user's search terminal.
[0048] Based on the above, this embodiment can assist users in visually displaying exhibited items based on orientation priority, allowing them to select an item as the search item. However, if a user is far from a particular exhibit area and cannot select an item located there, the interaction efficiency may decrease. Therefore, this embodiment can also have corresponding parallel solutions to adapt to different interaction scenarios. That is, in this embodiment, the aforementioned "responding to the selection of any exhibit in any exhibit area by the search terminal based on the real-time terminal location, and identifying the exhibit as the search item" can also include the following steps: The response retrieval end selects any display area based on the target twin space, determines the display area as the display area, and establishes an area indicator line connecting the display area based on the real-time terminal location; When the length of the line segment corresponding to the area indicator line is less than a preset length threshold and the area indicator line does not overlap with any other display area, the display point with a preset extension length is determined along the area indicator line, starting from the real-time terminal position. In response to the display location being located on the area indicator line, the display area is moved to the area indicator line for display based on the target twin space; otherwise, it is moved to the endpoint of the corresponding area indicator line for display. The response retrieval terminal selects any displayed item in the display area based on the target twin space and identifies that displayed item as the retrieval item.
[0049] For example, in this embodiment, identifying the displayed items as retrieval items can also be implemented based on the following specific implementation methods: First, when the retrieval terminal selects any display area in the target twin space, the server can determine the selected display area as the display area for this interaction. At the same time, starting from the real-time terminal position of the retrieval terminal and ending at the display area, a region indicator line connecting the real-time terminal position and the display area is generated in the target twin space, and the length of the line segment of the region indicator line is calculated. It can be noted that this embodiment provides a batch selection interaction method, which is suitable for scenarios where the retrieval user is far away from the target area and the displayed items in the area are too small to be clicked accurately. By generating a visual region indicator line, the correspondence between the selected area and the user's own position can be intuitively shown to the retrieval user, effectively avoiding the problem of misselection of areas due to perspective deviation. Next, the server can perform validity checks on the generated area indicator lines. First, the server can check whether the length of the line segment of the area indicator line is less than a preset length threshold. Second, the server can check whether the area indicator line intersects with the boundary of any other display area in the target twin space other than the display area during its extension. The server can determine that the area selection operation is valid only when both of the above conditions are met. Taking the real-time terminal position of the search terminal as the starting point, the server determines the spatial coordinate point at a distance of a preset extension length from the starting point along the direction of the area indicator line, which is used as the display point. It can be noted that by setting a preset length threshold, invalid selection operations of search users for areas that are too far away can be filtered out, avoiding the problem that the details of items in the display area cannot be clearly presented due to excessive distance. By checking for non-overlapping area indicator lines, the server can ensure that the area selected by the search user is unique and unambiguous, solving the technical problem that the server cannot accurately judge the search user's intention when multiple display areas overlap in the search user's view, and greatly improving the accuracy of area selection. Then, the server determines whether the calculated display point is within the range of the area indicator line. In one case, if the display point is within the area indicator line, the 3D model of the entire display area is translated along the area indicator line to the display point based on the 3D transformation capability of the target twin space. In another case, if the display point is outside the range of the area indicator line, the display area is translated to the endpoint of the area indicator line closer to the search end for display, so that all displayed items in the area can be clearly displayed. It can be noted that this embodiment can completely solve the problems of visual blurring and operation difficulties when the search user views items from a distance by dynamically translating the display area to a position closer to the search user. This dynamic display method does not require the search user to move to the vicinity of the target area. The search user can clearly view the item details in any area from any position in the store, which greatly improves the convenience and flexibility of legal search. At the same time, the display position of the display area can be flexibly adjusted according to the location of the display point to ensure that the display area is within the best field of vision of the search user. Finally, when the search terminal selects any item within the display area, the server can identify the selected item as the search item and trigger subsequent item feature extraction and legal provision matching processes, significantly improving the efficiency and accuracy of item selection and avoiding accidental touches caused by densely packed items.
[0050] For example, in this embodiment, the preset length threshold can be 15m, and the preset extension length can be 3m. When a user stands at the entrance of a general retail store and wants to view the relevant legal information of a refrigerator in the home appliance section, the user can select the corresponding display area of the home appliance section based on the search terminal. This allows the server to identify the home appliance section as the display area and generate an area indicator line from the user's real-time terminal location to the display area. When the server verifies that the length of the area indicator line is less than 15m and does not overlap with any other display area, the selection is deemed valid. At this time, the server... Starting from the real-time terminal location, a position 3 meters away from the starting point is determined along the area indicator line as the display point. Since this display point is located on the area indicator line, the 3D area model of the home appliance area can be translated to this point for display. At this time, the search user can view the outlines and brand logos of all refrigerators, televisions, and other items in the home appliance area on the search terminal. When the search user selects a double-door refrigerator, the server responds to the selection instruction, identifies the double-door refrigerator as the search item, and begins to obtain its item characteristics and match relevant product quality, warranty service, and other legal provisions.
[0051] Furthermore, in this embodiment, the aforementioned "determining the item features of the corresponding searched item based on the pixel positions and pixel values of all corresponding image pixels, and performing item feature-based matching on the second set of legal provisions to obtain the item legal provision content" may further include the following steps: Retrieve a preset law-based coordinate table, wherein the preset law-based coordinate table includes each horizontal coordinate point arranged along the horizontal coordinate axis and the vertical coordinate axis, and each vertical coordinate point corresponds to different color distribution features and different texture distribution features. Based on the item features of the corresponding searched item, the preset legal provision mapping coordinate table is traversed to determine the mapping coordinate points of the corresponding item features, which are composed of color distribution features and texture distribution features. Based on the mapping coordinate points, the second legal provision set is matched to obtain the item legal provision content of the corresponding displayed item.
[0052] For example, in this embodiment, matching the second set of legal provisions based on item characteristics to obtain the content of the item's legal provisions can be specifically implemented based on the following methods: First, after obtaining the pixel positions and pixel values of all image pixels of the retrieved item, the server can retrieve a pre-constructed legal provision mapping coordinate table. It should be noted that this legal provision mapping coordinate table is a planar coordinate table, in which the horizontal axis corresponds to the color distribution characteristics of the item, and the vertical axis corresponds to the texture distribution characteristics of the item. That is, each horizontal coordinate point evenly distributed along the horizontal axis corresponds to a pre-quantized color distribution characteristic, and each vertical coordinate point evenly distributed along the vertical axis corresponds to a pre-quantized texture distribution characteristic. Each mapping coordinate point formed by the intersection of the horizontal and vertical coordinate points is pre-associated with one or more legal provision association identifiers. It can be explained that by using a two-dimensional coordinate table to establish the mapping relationship between item features and legal provisions, the originally complex multi-dimensional feature matching problem can be transformed into a simple coordinate positioning problem, which significantly improves the response speed of legal provision matching. Next, the server quantizes the color and texture distribution features of the retrieved items, which were previously calculated based on image pixels, and converts them into quantized values corresponding to different coordinate axes of the legal coordinate mapping table. The server then uses the quantized color distribution feature value as the horizontal coordinate and the quantized texture distribution feature value as the vertical coordinate to traverse and search the legal coordinate mapping table to determine the mapping coordinate point corresponding to the quantized value. It can be explained that by quantizing the item features, continuously changing color and texture features can be converted into discrete coordinate values, so that the feature differences between different items can be intuitively reflected through coordinate distance. Then, the server obtains the legal provision association identifier associated with the determined mapping coordinate point, and filters out all legal provisions corresponding to these legal provision association identifiers from the second legal provision set corresponding to the display area where the searched item is located, in order to form the item's legal provision content. It can be explained that by directly filtering legal provisions from the second legal provision set through the legal provision association identifier associated with the mapping coordinate point, it can ensure that the filtered legal provisions not only match the specific appearance characteristics of the searched item, but also match the attributes of the display area where the item is located, further filtering out irrelevant legal provisions and improving the accuracy and efficiency of the search results.
[0053] For example, in this embodiment, the horizontal axis of the legal provision mapping coordinate table quantizes the color distribution feature into an integer scale of 0 to 100, where 0 represents pure black and 100 represents pure white, with the middle scale corresponding to the proportion of different primary colors. The vertical axis, on the other hand, quantizes the texture distribution feature into an integer scale of 0 to 100, where 0 represents completely smooth with no texture and 100 represents extremely dense texture. When the retrieved item is strawberry-flavored yogurt in the food section of a general retail store, the server calculates the color distribution feature based on its image pixels, finding that the primary color is pink with a proportion of 75%, corresponding to a horizontal coordinate value of 72; the texture distribution feature is... The label area on the box has a medium-density texture, with a quantized vertical coordinate value of 48. Based on this, the server searches the legal provisions mapping coordinate table and determines the coordinate point (72, 48) as the corresponding mapping coordinate point. This coordinate point is pre-associated with legal provisions related to prepackaged food labels, dairy product quality and safety, and food shelf life. Furthermore, the server can filter relevant provisions regarding the requirement for prepackaged food labels to indicate the production date, shelf life, and ingredient list, as well as relevant provisions regarding dairy product production and sales regulations, from the second legal provisions set in the food area based on the obtained legal provisions related to the label. This forms the legal provisions corresponding to the strawberry-flavored yogurt in this box.
[0054] Step S4 includes the following: Create a law provision display layer that fills the law provisions content of the items, and associate the law provision display layer with the item area of the corresponding displayed items based on the retrieval terminal.
[0055] For example, in this embodiment, after determining the content of the legal provisions for the item, in order to help the retrieval end to view it in a visual way, this embodiment can create a legal provision display layer based on the server and simultaneously fill the legal provision content of the item into the legal provision display layer in a unified text format; Furthermore, in order to establish a visual association between the legal provisions of the items and the items selected by the search terminal during the visualization process, the server can obtain the three-dimensional coordinate information of the item area corresponding to the selected item from the target twin space, so as to establish a one-to-one spatial mapping relationship between the legal provision display layer and the item area, and associate the legal provision display layer with the item area of the corresponding item in the target twin space, so as to push the target twin space after the association is completed to the search terminal for display.
[0056] It can be explained that, in this embodiment, step S4 can achieve the visual binding of legal search results with physical objects by creating a legal provision display layer and spatially associating it with the item area. This solves the technical problem that traditional legal search results are completely separated from the search object, and search users need to establish a corresponding relationship in their minds. At the same time, associating based on the spatial coordinate system of the target twin space can ensure the positional synchronization of the legal provision display layer and the item area. For example, in some implementations, when the search user adjusts the view, zooms in or out of the scene, or moves the position on the search terminal, the legal provision display layer will change synchronously with the corresponding item, avoiding display misalignment and greatly improving the search experience and information acquisition efficiency of the search user.
[0057] For example, in this embodiment, after the server generates the legal provisions for an item, the server can create a legal provision display layer with a transparent background that supports text scrolling and click-to-expand details. The server then fills the legal provisions content into the legal provision display layer according to preset font, font size, and paragraph format. Furthermore, the server obtains the three-dimensional coordinate information of the item area from the target twin space to bind the legal provision display layer to the item area based on the target twin space. This allows the legal provision display layer to automatically overlay and display the corresponding item area when the user views the target twin space on the search terminal, helping the user to view the relevant legal provisions directly next to the item without switching pages.
[0058] Furthermore, in this embodiment, the aforementioned "creating a legal provision display layer to fill the legal provisions content of the items, and associating the legal provision display layer with the corresponding item area based on the retrieval terminal" may also include the following steps: Determine the item outline corresponding to the item area of the retrieved item, and use the center point of the corresponding item outline as the display center point to create a law rule display layer that is inscribed in the item outline and presents a rectangular shape. Then fill the law rule content of the item into the law rule display layer. Based on the target twin space, determine the display surface of the display area including the searched items, and obtain the display status of the corresponding display surface based on the real-time terminal location of the corresponding search terminal. The display position of the legal provisions is determined based on the display status, and the display layer of the legal provisions is anchored to the display position of the legal provisions to associate the display layer of the legal provisions with the item area.
[0059] For example, in this embodiment, after obtaining the legal provisions of the corresponding item, the legal provisions of the item can be associated with the item area of the corresponding displayed item based on the following implementation method to achieve a visual association display: First, the server can retrieve the 3D item model corresponding to the searched item from the target twin space, generate the item outline of the searched item based on the 3D item model, and generate a rectangular legal provision display layer that is inscribed in the item outline, with the item center point corresponding to the item outline as the display center point. Simultaneously, the retrieved item legal provisions content is filled into the legal provision display layer. It should be noted that using a rectangular shape that is inscribed in the item outline as the shape of the legal provision display layer can minimize the obstruction of other displayed items while ensuring the complete display of the legal provisions content, and avoid affecting the search user's viewing and selection of other items. Next, the server can determine the display surface of the display area containing the searched item based on the target twin space, that is, the flat surface on the shelf used to place the goods and facing the customer. The server determines the angle between the line of sight of the search terminal and the normal direction of the display surface based on the real-time terminal position of the search terminal, so as to determine the display state of the display surface relative to the search terminal based on the size of the angle. It can be explained that by determining the display surface and obtaining its display state, the problems of poor display angle, tilted content or obstruction by shelf structure caused by different terminal positions of the search user when displaying legal provisions in a traditional fixed position can be solved. Since different display states correspond to different viewing angles of the search user, only by dynamically adjusting the display position of the legal provisions according to the display state can it be ensured that the search user can read the legal provisions clearly and comfortably from any angle. Finally, based on the determined display status of the display surface and the real-time terminal location of the search terminal, the server determines the appropriate display position of the legal provisions for the search user to view within the target twin space. The server then spatially anchors the created legal provision display layer to this display position, establishing a one-to-one spatial mapping relationship between the legal provision display layer and the searched item area. This allows the legal provision display layer to move, scale, and rotate synchronously with the searched item within the target twin space. In other words, by anchoring the legal provision display layer to the display position determined based on the display status, it ensures that the legal provision content is within the search user's optimal field of vision, avoiding display misalignment, obstruction, or poor angles. Furthermore, establishing a spatial mapping relationship ensures that when the search user moves, the legal provision display layer changes synchronously with the corresponding item, preventing the legal provisions from separating from the item, significantly improving the user's interactive experience and information retrieval efficiency.
[0060] For example, in this embodiment, when a user selects a bottle of shampoo in the daily necessities section of a general retail store, the server first retrieves the 3D model of the shampoo from the target twin space, generates a rectangular legal provision display layer inscribed within the bottle's outline, and fills the layer with the relevant legal provisions of the Product Quality Law concerning cosmetic product labeling and quality requirements. Furthermore, the server determines that the front of the shelf where the shampoo is located is the display surface, calculates that the angle between the user's line of sight and the normal direction of the shelf front is 12°, and determines that the display state is a positive display. Based on the positive display state, the server determines the center point of the item as the legal provision display point and anchors the legal provision display layer at that point. At this time, the user can see the legal provision display layer clearly superimposed and displayed in the center of the shampoo bottle from the search terminal.
[0061] Furthermore, in this embodiment, when the display state is a forward display, that is, the display surface faces the retrieval end, the aforementioned "determining the display position of the legal provision based on the display state and anchoring the legal provision display layer to the display position of the legal provision to associate the legal provision display layer with the item area" may also include the following steps: In response to the display state being a positive display, the center point of the item is determined as the legal provision display point, and the direction of legal provision stacking is determined from the center point of the corresponding item outline to the real-time terminal position of the corresponding retrieval end. An item mapping channel corresponding to the outline of the item is generated along the direction of the superposition of the legal clauses, and the image pixels located in the item mapping channel that correspond to any other displayed item are hidden based on the target twin space; Anchor the law provision display layer to the law provision display point to associate the law provision display layer with the item area.
[0062] For example, in this embodiment, anchoring the legal provision display layer to the legal provision display point can be specifically implemented based on the following methods: First, when the display state is determined to be a forward display, the server can determine the center point of the item as the display point of the legal provisions. At the same time, the server calculates the spatial vector from the center point of the item to the real-time terminal position in the three-dimensional coordinate system of the target twin space, and determines the vector direction of the spatial vector as the overlay direction of the legal provisions. It can be explained that, in the forward display state, directly using the center point of the item as the display point of the legal provisions can realize the visual association between the legal provisions and the corresponding searched items, which has a better visual effect and significantly reduces the cognitive cost of information acquisition. At the same time, by calculating the spatial vector from the center point of the item to the real-time terminal position as the overlay direction of the legal provisions, the problem of the legal provisions display layer being rendered on the back of the displayed items and not being seen by the search user can be fundamentally avoided, ensuring that the legal provisions content appears within the visible range of the search user. Next, the server uses the outline of the retrieved item as the cross-sectional shape and the direction of the legal provisions' superposition as the central axis to generate a three-dimensional cylindrical space extending from the center point of the item to the real-time terminal position of the retrieval end, namely the item mapping channel. At the same time, it traverses and determines the affiliation of all image pixels in the target twin space that fall into the item mapping channel one by one, and filters out all image pixels that belong to any other displayed item besides the item being retrieved. The transparency parameter of these image pixels is temporarily set to 100%, achieving complete hiding of interfering pixels. It can be said that by generating the item mapping channel and actively hiding all interfering elements in the channel, a completely clean background can be provided for the display of legal provisions, significantly improving the clarity and readability of the legal provisions content, and ensuring good display effects even in scenarios with densely displayed goods. Finally, the server can anchor the previously created legal provision display layer to the determined legal provision display points for users to view visually.
[0063] For example, in this embodiment, when a user selects a box of soda crackers on the middle shelf, the server uses the rectangular outline of the cracker box as a cross section and generates an item mapping channel extending to the implementation terminal along the direction of the superposition of the legal lines. After traversing all the image pixels in the item mapping channel, it is found that in addition to the soda crackers, there are also some pixels of three boxes of sandwich cookies on the back shelf. At this time, the server needs to set the image pixels of these sandwich cookies to be completely transparent to achieve temporary hiding.
[0064] Furthermore, when the display state is a back-facing display, that is, the display is facing away from the retrieval terminal, in this embodiment, the above-mentioned "determining the display position of the legal provisions based on the display state and anchoring the legal provisions display layer to the display position of the legal provisions to associate the legal provisions display layer with the item area" may also include the following steps: In response to the display state being a back view, starting from the center point of the item, the outline of the item is controlled to move along the vertical direction of the corresponding target twin space, and the direction of the superposition of the legal lines pointing from the center point of the item to the real-time terminal position of the corresponding retrieval end is determined. An item mapping channel corresponding to the item outline is generated along the direction of the superposition of the legal strips. In response to the absence of an image pixel corresponding to any other displayed item in the item mapping channel at any moving position, the item outline is controlled to stop moving, thus obtaining the moving outline. The center point of the corresponding moving contour is determined as the display point of the law provision, and the law provision display layer is anchored to the display point of the law provision to associate the law provision display layer with the item area.
[0065] For example, in this embodiment, anchoring the legal provision display layer to the legal provision display point can be specifically implemented based on the following methods: First, when the display state is determined to be a back-facing display, the server starts from the center point of the item and controls the outline of the item to move at a constant speed along the vertical direction of the target twin space. At the same time, in the three-dimensional coordinate system of the target twin space, the server calculates the spatial vector pointing from the center point of the item to the real-time terminal position for different movement positions, so as to determine the vector direction of the legal provision overlay direction. It can be explained that when the search user is in a back-facing display, it means that the item area is completely blocked by the shelf side panel, back panel or adjacent displayed items. If the legal provision display layer is directly overlaid at the original item position, the search user will not be able to see it at all. Therefore, by using the method of vertically moving the outline of the item, the display area can be raised above the obstruction without changing the horizontal position of the item. This ensures the visibility of the legal provision content and maintains the spatial correspondence with the original item by keeping the horizontal position unchanged. The search user can intuitively judge which item on the shelf below the legal provision content corresponds to. Next, the server uses the outline of the item at the current moving position as the cross-sectional shape and the real-time updated direction of the rule stacking as the central axis to generate a three-dimensional cylindrical item mapping channel extending from the center point of the current item to the real-time terminal position of the retrieval end. At the same time, the server detects all image pixels within the range of the item mapping channel frame by frame to determine whether there are any pixels of any other displayed items or shelf structures besides the item being retrieved. If interfering pixels are detected, the item outline continues to be controlled to move upward in the vertical direction. If no interfering pixels are detected in the item mapping channel, the item outline is immediately controlled to stop moving, and the item outline at this time is determined as the moving outline. It can be said that by dynamically generating the item mapping channel and detecting interfering pixels in real time, it can adapt to different shelf heights, item stacking heights, and channel widths, and find a display height that is completely unobstructed and as close as possible to the original item position. This can avoid the problem of blurred correspondence between the rule and the item due to excessive height or insufficient height resulting in obstruction, and significantly improve the adaptability and display effect in different scenarios. Finally, the server determines the center point of the moving outline as the display point of the legal provision and anchors the previously created legal provision display layer to this display point. It can be explained that anchoring the legal provision display layer to the center point of the moving outline ensures that the content of the legal provision is clearly presented to the search user from a straight view, without tilting or distortion. At the same time, although the item outline is moved vertically, the horizontal position of the legal provision display layer remains consistent with the original item. The search user can quickly establish the correspondence between the legal provision and the original item below by the horizontal position, without confusion, thus improving the corresponding visual effect.
[0066] For example, in this embodiment, when a user walks to the aisle between two back-to-back shelves in the beverage section of a general retail store and wants to view the bottled beer displayed on the back of the opposite shelf, the server uses the center point of the original bottle outline as the starting point and controls the beer bottle outline to move vertically upward at a constant speed of, for example, 0.2 m / s. At the same time, it calculates the direction of the rule overlay from the moving center point to the real-time terminal position in real time and generates the corresponding item mapping channel. When the bottled beer moves upward to a distance of 0.8 m from its original position, the server detects that there are no more interfering pixels from the shelf side panel or other beverage bottles on the front shelf in the item mapping channel, immediately controls the outline to stop moving, obtains the moving outline, and simultaneously determines the geometric center point of the moving outline as the rule display point, so as to anchor the corresponding rule display layer based on the rule display point.
[0067] Another embodiment of the present invention provides a legal retrieval data processing platform. Figure 3 Its corresponding platform block diagram includes: The first matching module is configured to match the first set of legal provisions based on the spatial attributes of the corresponding target physical space, and to construct the target twin space based on the digital twin data of the corresponding target physical space; The second matching module is configured to determine the display attributes corresponding to each display area in the target physical space, and filter the second set of legal provisions that matches each display area from the first set of legal provisions based on each display attribute. The legal provision acquisition module is configured to respond to the retrieval terminal's selection of any displayed item in any display area, acquire the item characteristics corresponding to the displayed item, and perform matching based on the item characteristics on the second set of legal provisions to obtain the legal provision content of the item. The legal provisions display module is configured to create a legal provisions display layer that fills the legal provisions content of the items, and to associate the legal provisions display layer with the corresponding item area based on the retrieval terminal.
[0068] In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with the examples of this invention. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing preferred embodiments of the invention.
[0069] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0070] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof.
[0071] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.
[0072] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components.
[0073] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments.
[0074] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.
[0075] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.
[0076] Although the invention has been described with respect to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and edibility purposes, and not for the purpose of explaining or limiting the subject matter of the invention.
Claims
1. A method for processing legal search data, characterized in that, Includes the following steps: The first set of legal provisions is matched based on the spatial attributes of the corresponding target physical space; Determine the display attributes corresponding to each display area located in the target physical space, and based on each display attribute, filter the second set of legal provisions that matches each display area from the first set of legal provisions; The response determines that the retrieval end selects any item in any display area, obtains the item characteristics corresponding to the displayed item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the legal provisions content of the item. Create a law provision display layer that fills the law provisions content of the items, and associate the law provision display layer with the item area of the corresponding displayed items based on the retrieval terminal.
2. The method according to claim 1, characterized in that, The first set of legal provisions matched based on the spatial attributes of the corresponding target physical space includes: Construct a target twin space based on the digital twin data of the corresponding target physical space; Based on the target twin space, determine each item area corresponding to each item in the same display area, and determine the item type corresponding to each item in the display area; All items of the same type are grouped into a category merging group, and the category with the largest number of items in the category merging group is used to determine the display attributes of the corresponding display area.
3. The method according to claim 1, characterized in that, The response determines that the retrieval end selects any item in any display area, obtains the item characteristics corresponding to that item, and performs matching based on the item characteristics on the second set of legal provisions to obtain the item's legal provisions content, including: Obtain the real-time terminal location of the corresponding search terminal; The response determines the retrieval terminal based on the real-time terminal location, selects any item in any display area, identifies the item as the retrieval item, and obtains all image pixels that make up the retrieval item based on the target twin space. The item features of the corresponding searched item are determined based on the pixel position and pixel value of all corresponding image pixels, and the second set of legal provisions is matched based on the item features to obtain the item legal provisions content. The item features include color distribution features and texture distribution features.
4. The method according to claim 3, characterized in that, The response, based on the real-time terminal location, determines that the retrieval terminal selects any displayed item located in any display area, and identifies that displayed item as the retrieval item, including: Using the real-time terminal location as the center point of the range, determine the search selection range located in the target physical space with a corresponding preset search radius; The response determines that the retrieval terminal maintains a continuous preset monitoring duration based on the real-time terminal location, determines the historical terminal location corresponding to different historical times, and connects the historical terminal locations based on the chronological order of the historical times to obtain the terminal movement path. Based on the terminal movement path, a straight route composed of the real-time terminal locations is determined, and the historical terminal location of the corresponding straight route is taken as the starting point and the real-time terminal location as the ending point to determine the end movement direction of the corresponding retrieval terminal; Based on the direction of end movement, all displayed items within the search selection range are divided into different orientation priorities, and each displayed item is identified by its corresponding orientation priority based on the target twin space. The retrieval terminal selects any identified displayed item and identifies that item as the retrieval item.
5. The method according to claim 4, characterized in that, Based on the end-effector movement direction, all displayed items within the search selection range are divided into different orientation priorities, and each displayed item is identified by its corresponding orientation priority based on the target twin space, including: Determine the vertical movement direction that is perpendicular to the end movement direction, the opposite vertical movement direction, and the reverse movement direction, and configure different orientation priorities for each movement direction; Starting from the real-time terminal location, an item indicator line is generated based on the search selection range and extends along different movement directions; In response to any item indicator line extending to contact any display area, control the item indicator line to stop extending and designate that display area as the identification area; If any item indicator line does not touch any display area, a first cooperative line and a second cooperative line with a right angle are generated with the item indicator line as the center line of the area. Based on the search selection range, the collaborative indication area consisting of the first collaborative line and the second collaborative line is determined, and the display area located in the collaborative indication area with the smallest distance from the area corresponding to the real-time terminal position is determined as the identification area. Based on the target twin space, all displayed items located in the same identification area are identified according to their corresponding orientation priority.
6. The method according to claim 3, characterized in that, The response, based on the real-time terminal location, determines that the retrieval terminal selects any displayed item located in any display area, and identifies that displayed item as the retrieval item, including: The response retrieval end selects any display area based on the target twin space, determines the display area as the display area, and establishes an area indicator line connecting the display area based on the real-time terminal location; When the length of the line segment corresponding to the area indicator line is less than a preset length threshold and the area indicator line does not overlap with any other display area, the display point with a preset extension length is determined along the area indicator line, starting from the real-time terminal position. In response to the display location being located on the area indicator line, the display area is moved to the area indicator line for display based on the target twin space; otherwise, it is moved to the end point of the corresponding area indicator line for display. The response retrieval terminal selects any displayed item in the display area based on the target twin space and identifies that displayed item as the retrieval item.
7. The method according to claim 3, characterized in that, Based on the pixel positions and pixel values of all corresponding image pixels, the item features of the retrieved item are determined, and the second set of legal provisions is matched based on these item features to obtain the content of the item's legal provisions, including: Retrieve a preset law-based coordinate table, wherein the preset law-based coordinate table includes each horizontal coordinate point arranged along the horizontal coordinate axis and the vertical coordinate axis, and each vertical coordinate point corresponds to different color distribution features and different texture distribution features. Based on the item features of the corresponding searched item, the preset legal provision mapping coordinate table is traversed to determine the mapping coordinate points of the corresponding item features, which are composed of color distribution features and texture distribution features. Based on the mapping coordinate points, the second legal provision set is matched to obtain the item legal provision content of the corresponding displayed item.
8. The method according to claim 2, characterized in that, Create a legal provision display layer that fills the legal provisions content of the items, and associate the legal provision display layer with the corresponding item area based on the retrieval terminal, including: Determine the item outline corresponding to the item area of the retrieved item, and use the center point of the corresponding item outline as the display center point to create a law rule display layer that is inscribed in the item outline and presents a rectangular shape. Then fill the law rule content of the item into the law rule display layer. Based on the target twin space, determine the display surface of the display area including the searched items, and obtain the display status of the corresponding display surface based on the real-time terminal location of the corresponding search terminal. The display position of the legal provisions is determined based on the display status, and the display layer of the legal provisions is anchored to the display position of the legal provisions to associate the display layer of the legal provisions with the item area.
9. The method according to claim 8, characterized in that, The display points of legal provisions are determined based on the display status, and the legal provision display layer is anchored to the display points to associate the legal provision display layer with the item area, including: In response to the display state being a positive display, the center point of the item is determined as the legal provision display point, and the direction of legal provision stacking is determined from the center point of the corresponding item outline to the real-time terminal position of the corresponding retrieval end. An item mapping channel corresponding to the outline of the item is generated along the direction of the superposition of the legal clauses, and the image pixels located in the item mapping channel that correspond to any other displayed item are hidden based on the target twin space; Anchor the law provision display layer to the law provision display point to associate the law provision display layer with the item area.
10. The method according to claim 8, characterized in that, The display points of legal provisions are determined based on the display status, and the legal provision display layer is anchored to the display points to associate the legal provision display layer with the item area, including: In response to the display state being a back view, starting from the center point of the item, the outline of the item is controlled to move along the vertical direction of the corresponding target twin space, and the direction of the superposition of the legal lines pointing from the center point of the item to the real-time terminal position of the corresponding retrieval end is determined. An item mapping channel corresponding to the item outline is generated along the direction of the superposition of the legal strips. In response to the absence of an image pixel corresponding to any other displayed item in the item mapping channel at any moving position, the item outline is controlled to stop moving, thus obtaining the moving outline. The center point of the corresponding moving contour is determined as the display point of the law provision, and the law provision display layer is anchored to the display point of the law provision to associate the law provision display layer with the item area.
11. A legal retrieval data processing platform, characterized in that, include: The first matching module is configured to match the first set of legal provisions based on the spatial attributes of the corresponding target physical space, and to construct the target twin space based on the digital twin data of the corresponding target physical space; The second matching module is configured to determine the display attributes corresponding to each display area in the target physical space, and filter the second set of legal provisions that matches each display area from the first set of legal provisions based on each display attribute. The legal provision acquisition module is configured to respond to the retrieval terminal's selection of any displayed item in any display area, acquire the item characteristics corresponding to the displayed item, and perform matching based on the item characteristics on the second set of legal provisions to obtain the legal provision content of the item. The legal provisions display module is configured to create a legal provisions display layer that fills the legal provisions content of the items, and to associate the legal provisions display layer with the corresponding item area based on the retrieval terminal.