Text recognition method and system for commodity compliance detection

Product compliance detection through large language models solves the problem of low detection efficiency in existing technologies, achieves efficient compliance matching and violation prevention, and reduces legal and economic risks.

CN118586936APending Publication Date: 2024-09-03深圳市睿观信息科技有限公司

Patent Information

Application Number
CN202410916148.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The efficiency of product compliance testing in the existing technology is low, relying on manual inspections and the mechanized testing methods are not efficient enough, making it difficult to effectively match the policy requirements of products and e-commerce platforms, resulting in increased legal and economic risks.

Method used

Use a large language model to vectorize and store product information and sales channel information, conduct compliance detection through text recognition methods, match policy documents and rule files, generate compliance detection results, improve the accuracy of violation detection and prevent violations efficiency.

Benefits of technology

It improves the accuracy and efficiency of product compliance testing, reduces legal and economic risks caused by violations, protects the interests of sellers and platforms, and realizes automated compliance matching and monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586936A
    Figure CN118586936A
Patent Text Reader

Abstract

The embodiment of the invention discloses a text recognition method and system for commodity compliance detection. The method further comprises the steps of obtaining target commodity information of a target commodity; obtaining target sales channel information corresponding to the target commodity, wherein the target sales channel information comprises a sales platform and a sales region; determining a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used for performing vectorization storage on a guidance file corresponding to the target commodity and the target sales channel information; the guidance file comprises a policy file and / or a rule file; and performing compliance detection according to the target commodity information and the target large language model to obtain a compliance detection result of the target commodity. By adopting the embodiment of the invention, the commodity compliance detection efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cross-border e-commerce technology or computer technology, and specifically to a text recognition method and system for commodity compliance detection. Background Art

[0002] With the continuous development and advancement of technology, the way of shopping has undergone tremendous changes compared to the past.

[0003] At present, traditional offline shopping is gradually being replaced by online shopping, and online shopping has become an indispensable part of daily life. Online shopping is to use e-commerce platforms to display the goods that need to be bought and sold for users to choose and trade, thereby realizing shopping. E-commerce platforms can provide a variety of goods for users to choose from, but due to policy influences, some goods may not be compliant. Usually, compliance testing is often manually checked and the testing methods are relatively mechanized. Therefore, the problem of how to improve the efficiency of product compliance testing needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a text recognition method and system for commodity compliance detection, which can improve the efficiency of commodity compliance detection.

[0005] In a first aspect, an embodiment of the present application provides a text recognition method for commodity compliance detection, the method further comprising: Obtain target product information of a target product; Acquire target sales channel information corresponding to the target product, wherein the target sales channel information includes: sales platform and sales region; Determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; A compliance check is performed according to the target product information and the target large language model to obtain a compliance check result of the target product.

[0006] In a second aspect, an embodiment of the present application provides a text recognition system for commodity compliance detection, the system comprising: an acquisition unit, a determination unit and a detection unit, wherein: The acquisition unit is used to acquire target commodity information of the target commodity; acquire target sales channel information corresponding to the target commodity, wherein the target sales channel information includes: sales platform and sales region; The determination unit is used to determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; The detection unit is used to perform compliance detection according to the target product information and the target large language model to obtain a compliance detection result of the target product.

[0007] In a third aspect, an embodiment of the present application provides a server, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.

[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0010] The implementation of the embodiments of the present application has the following beneficial effects: It can be seen that the text recognition method and system for product compliance detection described in the embodiments of the present application obtain the target product information of the target product, obtain the target sales channel information corresponding to the target product, the target sales channel information includes: sales platform, sales area, determine the target large language model corresponding to the target product information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target product and the target sales channel information; the guidance files include: policy files, and / or rule files, and compliance detection is performed according to the target product information and the target large language model to obtain the compliance detection results of the target product. Therefore, it can effectively match products and services with the policy requirements of the e-commerce platform to ensure compliant operations. This method not only improves the accuracy of violation detection, but also improves the efficiency of preventing and handling violations, thereby protecting the interests of sellers and platforms, reducing the legal and economic risks caused by violations, and thus improving the efficiency of product compliance detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0012] Figure 1 It is a flowchart of a text recognition system for commodity compliance detection provided in an embodiment of the present application; Figure 2 It is a structural diagram of a server provided in an embodiment of the present application; Figure 3 This is a block diagram of the functional units of a text recognition system for commodity compliance detection provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

[0016] In the embodiments of the present application, a large-scale language model can be understood as a natural language processing model based on deep learning, which can learn the grammar and semantics of natural language, and further generate human-readable text. A large language model is a large language model (LLM) or a large-scale language model. For example, GPT: a pre-trained language model, which is a type of large-scale language model, can be used to process tasks related to natural language.

[0017] In the embodiment of the present application, the knowledge base refers to the general term for industry-specific rules, regulations, policies and other documents. For example, the knowledge base of a product refers to the rules, regulations, policies and other documents related to the product.

[0018] The embodiments of the present application are described in detail below.

[0019] See also Figure 1 , Figure 1 : is a flow chart of a text recognition method for commodity compliance detection provided by an embodiment of the present application. As shown in the figure, the text recognition method for commodity compliance detection includes: 101. Obtain target product information of the target product.

[0020] In the embodiment of the present application, the target product can be any product sold on the online platform. The target product information may include at least one of the following: product name, product appearance, product model, product batch, product production date, product image, product size, product capacity, product weight, product precautions, product ingredients, product production place, product implementation standards, product patent status, product certification status, product implementation standards, etc., which are not limited here.

[0021] In a specific implementation, different commodities may be bound to different commodity information, and the commodity information may be used to introduce commodities, commodity classification, etc. Therefore, the target commodity information of the target commodity may be directly obtained.

[0022] 102. Obtain target sales channel information corresponding to the target product, where the target sales channel information includes: sales platform and sales region.

[0023] In the embodiment of the present application, different commodities may correspond to sales channel information, and the sales channel information may include at least one of the following: sales platform, sales area, etc., which are not limited here. Among them, the sales platform may include at least one of the following: Taobao, JD.com, Pinduoduo, Amazon, etc., which are not limited here. The sales area may refer to the regional scope of the sale of commodities. For example, the sales area may include domestic or foreign. The sales area may refer to a country, region, province, city, autonomous region, alliance, etc., which are not limited here. In the specific implementation, the target sales channel information corresponding to the target commodity can be obtained.

[0024] 103. Determine a target large language model corresponding to the target product information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target product and the target sales channel information; the guidance files include: policy files, and / or rule files.

[0025] Among them, the guiding documents include: policy documents, and / or rule documents. Different countries or regions have different policies for different products, and different platforms have different rules. Different products have different corresponding policies or rules. Policy documents can include at least one of the following: laws, regulations, systems, implementation rules, international conventions, customs regulations, local regulations, etc., which are not limited here.

[0026] In the embodiment of the present application, different commodities correspond to different large language models, or the large language model can also call different modules to adapt to the commodity information and sales channel information of different commodities.

[0027] Specifically, the mapping relationship between preset commodities and large language models can be pre-stored, and then, based on the mapping relationship, the reference large language model corresponding to the target commodity can be determined, and then the reference large language model can be adapted to the guidance file corresponding to the target commodity and the target sales channel information, that is, the guidance file corresponding to the target commodity and the target sales channel information is vectorized and stored to obtain the target large language model, thereby obtaining the target large language model corresponding to the target commodity information and the target sales channel information. In this way, a verification model for detecting whether the target commodity complies with the guidance file corresponding to the target commodity and the target sales channel information can be obtained, which helps to improve the efficiency of commodity compliance detection.

[0028] In a specific implementation, since the product information can be in text form and the guidance document can also be in text form, text recognition methods can also be used in the process of product compliance detection.

[0029] Among them, the target large language model can correspond to a vector database, which can be pre-set or system default, and the vector database can include multiple feature vectors, each of which is obtained through a policy.

[0030] In a specific implementation, the data can be sorted and entered to obtain a structured text file, and then the structured text file can be summarized and concluded to obtain text paragraphs. Next, feature extraction is performed on the text paragraphs to obtain each corresponding feature vector.

[0031] In some possible examples, the following steps may also be included: A1. Using the search enhancement generation technology, perform natural language processing and deep learning calculation on the target product information to obtain a first guidance document corresponding to the target product; A2. Screen the first guidance document according to the target sales channel information to obtain the target product and the guidance document corresponding to the target sales channel information.

[0032] In an embodiment of the present application, retrieval enhancement generation technology can be used to perform natural language processing and deep learning calculations on the target product information to obtain a first guidance document corresponding to the target product, and then the first guidance document is screened according to the target sales channel information to obtain a guidance document corresponding to the target product and the target sales channel information.

[0033] In the specific implementation, the product information entered by the user can be input into a large language model, and the Retrieval Augmented Generation (RAG) technology can be used to perform natural language processing and deep learning calculations on the products entered by the user to obtain specific policy content applicable to the supervision of the goods entered by the user. In this way, RAG expands the target large language model to be able to access the internal knowledge base of a specific field or organization, and there is no need to retrain the target large language model.

[0034] In the embodiments of the present application, RAG technology specifically refers to optimizing the output of the LLM model so that it can reference authoritative knowledge bases outside the training data source before generating a response. Based on the already powerful functions of the LLM model, RAG expands it to be able to access the internal knowledge base of a specific field or organization, and there is no need to retrain the LLM model.

[0035] In some possible examples, the following steps may also be included: B1. Determine the guidance document corresponding to the target product information and the target sales channel information; B2. Perform natural language processing and data cleaning on the guidance document to determine the regulatory scope corresponding to the target product, which includes at least one of the following: product category, applicable conditions, consequences of violation, and compliance precautions; B3. Vectorize and store the guidance document for natural language processing and data cleaning.

[0036] The scope of supervision may include at least one of the following: product category, adaptability, consequences of violation, compliance considerations, etc., which are not limited here.

[0037] In a specific implementation, the guidance files corresponding to the target product information and the target sales channel information can be determined. For example, a first mapping relationship between the preset product information and the guidance files can be pre-stored, and a second mapping relationship between the preset sales channels and the guidance files can be pre-stored. The guidance files corresponding to the target product information are determined based on the first mapping relationship, and the guidance files corresponding to the target sales channel information are determined based on the second mapping relationship. Furthermore, the intersection between the two types of guidance files can be determined to obtain the guidance files corresponding to the target product information and the target sales channel information.

[0038] Next, the guidance document can be subjected to natural language processing and data cleaning to determine the regulatory scope corresponding to the target commodity, and the guidance document subjected to natural language processing and data cleaning can be vectorized and stored. In an embodiment of the present application, the guidance document can be subjected to feature extraction through a feature extraction algorithm to obtain a corresponding feature vector, wherein the feature extraction algorithm can include at least one of the following: a neural network algorithm, a Word2vec algorithm, a genetic algorithm, etc., which are not limited here. For example, when extracting features, the Bert model can be used as the basis, and then an embedding layer network can be used to output the corresponding embedding layer vector as a text feature for each segment of input text, thereby realizing the correspondence between the guidance document and the vector.

[0039] In the specific implementation, a compliance policy acquisition system can be established in advance to collect and regularly monitor a large number of policies and regulations, including but not limited to the following: (1) the compliance rules and prohibited product sales rules of major e-commerce platforms in different countries; (2) the commodity import control policies of various governments; (3) the commodity and technology export control policies of various governments; (4) the compliance requirements and banned goods of major logistics platforms, etc., which are not limited here. Then, natural language processing and data cleaning are performed on the collected policies and rules to determine their regulatory scope, specifically the commodity category, applicability, consequences of violation (risk level), compliance precautions, etc. The processed policy documents are vectorized and stored. In this way, the target large language model can have the ability to detect commodity compliance.

[0040] 104. Perform compliance detection according to the target product information and the target large language model to obtain a compliance detection result of the target product.

[0041] In a specific implementation, compliance detection can be performed based on the target product information and the target large language model to obtain the compliance detection result of the target product. For example, the compliance detection result is used to indicate whether the target product can be sold normally, or the compliance detection result is used to output a list of specific policies that the target product needs to comply with.

[0042] Specifically, the target product information can be processed into a vector, that is, the feature vector corresponding to the target product information is obtained, matched with the vector corresponding to the policy document to obtain a matching result, and the compliance detection result of the target product is determined based on the matching result.

[0043] Among them, the compliance test results may include compliance test content and non-compliance test content of the target product. For example, the compliance test content includes compliant countries or regions, and the non-compliance test content includes non-compliant countries or regions.

[0044] In some possible examples, the above step 104, performing compliance detection according to the target product information and the target large language model to obtain the compliance detection result of the target product, can be implemented as follows: The target product information is input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain a compliance test result of the target product. The compliance test result is used to indicate whether the target product can be sold normally, or the compliance test result is used to output a list of specific policies that the target product needs to comply with.

[0045] In a specific implementation, the target product information can be input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain compliance detection results of the target product. For example, a large language model is used to perform compliance analysis on the product input by the user and the matching policy to draw a conclusion on whether the product can be sold normally. For another example, a large language model is used to perform compliance analysis on the product input by the user and the matching policy to output a list of specific policies that the product needs to comply with.

[0046] In some possible examples, when the compliance test result is a restricted or controlled commodity, the following steps may also be included: C1. Display the specific reason why the target product is a restricted or controlled product; C2. Determine the target recommendations corresponding to the specific reasons; C3. Pushing the target suggestion to the user.

[0047] In the embodiment of the present application, the specific reason why the target product is a restricted or regulated product can be displayed. The mapping relationship between the preset reasons and the suggestions can also be pre-stored, and then the target suggestion corresponding to the specific reason can be determined based on the mapping relationship, and the target suggestion can be pushed to the user, that is, a large language model is used to perform compliance analysis on the product input by the user and the matching policy, and to propose changes that need to be made if the restricted or regulated products want to be sold normally. In this way, the user can be guided to improve the product to ensure compliance requirements. For example, the size of the product can be changed, and for another example, the composition of the product can be changed, etc., which are not limited here.

[0048] The embodiments of the present application aim to reduce the difficulty of assessing the risk of products triggering policy violations of e-commerce platforms, and help non-professionals quickly and accurately identify potential violations and their risk levels. Through the above-mentioned methods in the embodiments of the present application, products and services can be effectively matched with the policy requirements of the e-commerce platform to ensure compliance with regulations. This method not only improves the accuracy of violation detection, but also improves the efficiency of preventing and handling violations, thereby protecting the interests of sellers and platforms and reducing the legal and economic risks caused by violations.

[0049] Compared with the related art, the solution in the embodiment of the present application has the following beneficial effects: 1. Zero threshold, that is, users do not need to learn about the commodity sales rules and restrictions on sales and prohibited items of various countries and platforms.

[0050] 2. High accuracy. The retrieval enhancement generation technology used in the solution in the embodiment of the present application ensures the content integrity and accuracy of the regulatory policy, and avoids the common hallucination problems in the generative model.

[0051] 3. High accuracy. The solution in the embodiment of the present application includes real-time monitoring of policies, laws, and rules for the entire country and all platforms. It can update new policies and changes to the vector database in real time when they are released, solving the problem of untimely data updates that may occur in manual queries.

[0052] 4. Strong flexibility: The solution in the embodiment of the present application can be configured by the user to comply with the country, platform, etc., and allows the user to customize the private policy rules.

[0053] In some possible examples, the following steps may also be included: D1. Obtain patent documents corresponding to the target product to obtain multiple patent documents; D2. Obtaining the first technical feature of the target product; D3. Extracting technical features corresponding to the claim scopes of the multiple patent documents to obtain multiple second technical features; D4. Matching the first technical feature with each of the plurality of second technical features to obtain a plurality of matching values; D5. Select a matching value greater than a preset threshold from the multiple matching values ​​to obtain at least one matching value; D6. Determine a target infringement risk assessment value of the target product according to the at least one matching value.

[0054] The preset threshold value may be preset or set by system default.

[0055] In the embodiment of the present application, the regionality of the product can be considered, that is, it meets the regional requirements of patent protection, and valid patent documents corresponding to the target product and region can be obtained to obtain multiple patent documents. The valid patent document indicates that the patent is valid, that is, the patent is within the protection period and has not been invalidated. The patent document may include at least one of the following: appearance, software, utility model, invention, integrated circuit, trademark, etc., which are not limited here.

[0056] Furthermore, the first technical feature of the target product may also be obtained, and the first technical feature may include at least one of the following: appearance picture, software method, structural principle, circuit principle, etc., which are not limited here.

[0057] Next, the technical features corresponding to the claim scope of multiple patent documents can be extracted to obtain multiple second technical features, which can include at least one of the following: appearance pictures, software methods, structural principles, circuit principles, etc., which are not limited here.

[0058] Next, the first technical feature can be matched with each of the multiple second technical features to obtain multiple matching values, and then a matching value greater than a preset threshold is selected from the multiple matching values ​​to obtain at least one matching value. The target infringement risk assessment value of the target product is determined based on the at least one matching value. In this way, the patent risk assessment of the product can be performed to improve the security of product transactions.

[0059] Among them, different countries or regions may correspond to different infringement risk assessment values.

[0060] In a specific implementation, the mapping relationship between the preset infringement risk assessment value and the warning operation can be pre-stored, and then the target warning operation corresponding to the target infringement risk assessment value can be determined based on the mapping relationship, thereby reducing the product infringement risk and ensuring the interests of e-commerce merchants.

[0061] Among them, the early warning operation may include at least one of the following: removal prompts, patent infringement risk prompts, patent licensing suggestions, patent invalidation suggestions, product avoidance suggestions, etc., which are not limited here.

[0062] In some possible examples, the above step D6, determining the target infringement risk assessment value of the target product according to the at least one matching value, may include at least one of the following: D61. Obtain a patent document corresponding to the at least one matching value to obtain at least one patent document; D62. Determine the litigation status and invalidation status of each patent document in the at least one patent document; D63. Determine a reference infringement risk assessment value corresponding to each matching value in the at least one matching value to obtain at least one first infringement risk assessment value; D64. Determine a first adjustment parameter corresponding to the litigation situation and invalidation situation of each patent document in the at least one patent document to obtain at least one first adjustment parameter; D65. Adjust a corresponding first infringement risk assessment value among the at least one first infringement risk assessment value according to the at least one first adjustment parameter to obtain at least one second infringement risk assessment value; D66, selecting the maximum value of the at least one second infringement risk assessment value; D67. Determine the target reporting success rate corresponding to the target product; D68, determining a first fine-tuning parameter corresponding to the target reporting success ratio; D69. Fine-tune the maximum value according to the first fine-tuning parameter to obtain the target infringement risk assessment value.

[0063] In a specific implementation, the patent document corresponding to each matching value in at least one matching value can be obtained to obtain at least one patent document. The litigation situation and invalidity situation of each patent document in at least one patent document can also be determined. The litigation situation may include at least one of the following: the number of lawsuits, the litigation success rate, the amount of litigation compensation, etc., which are not limited here. The invalidity situation may include at least one of the following: the number of invalidations, the reduction of the scope of rights, etc., which are not limited here.

[0064] Furthermore, the mapping relationship between preset matching values ​​and infringement risk assessment values ​​can be pre-stored, and then, based on the mapping relationship, a reference infringement risk assessment value corresponding to each matching value in at least one matching value can be determined to obtain at least one first infringement risk assessment value.

[0065] In a specific implementation, the mapping relationship between the preset litigation situation and the adjustment parameter can be pre-stored to determine the first reference adjustment parameter corresponding to the litigation situation of the patent document, and the mapping relationship between the preset invalid situation and the adjustment parameter can also be pre-stored, and then the second reference adjustment parameter corresponding to the invalid situation of the patent document can be determined based on the mapping relationship, and then the first weight corresponding to the litigation situation and the second weight corresponding to the invalid situation are obtained, and the first reference adjustment parameter, the second reference adjustment parameter, the first weight and the second weight are weighted to obtain the first adjustment parameter of the patent document. Based on this method, the first adjustment parameter corresponding to each patent document can be obtained, that is, at least one first adjustment parameter can be obtained. The more litigation situations there are, the stronger the aggressiveness of the patent document is, the greater the infringement risk is, and the more invalid situations there are, that is, the stronger the aggressiveness of the patent document is, the greater the infringement risk is, and the stronger the stability of the patent is. Therefore, the infringement risk of the patent document is adjusted from the depth of patent litigation and invalid situations, so that the depth of infringement risk assessment conforms to the actual situation.

[0066] Furthermore, the corresponding first infringement risk assessment value in at least one first infringement risk assessment value can be adjusted according to at least one first adjustment parameter to obtain at least one second infringement risk assessment value, that is, the second infringement risk assessment value = (1 + first adjustment parameter) * first infringement risk assessment value, and the infringement risk of the patent document can be deeply adjusted from the perspective of patent litigation and invalidation situations, so that the depth of infringement risk assessment conforms to the actual situation.

[0067] Next, the maximum value of at least one of the second infringement risk assessment values ​​can be selected, which reflects the most likely infringement risk of the product. The online platform can count the number of reports and the number of successful reports for each product. The successful reporting ratio = the number of successful reports / the number of reports. Then, the target successful reporting ratio corresponding to the target product can be obtained. The mapping relationship between the preset successful reporting ratio and the fine-tuning parameter can also be pre-stored. Then, based on the mapping relationship, the first fine-tuning parameter corresponding to the target successful reporting ratio can be determined, that is, the maximum value can be fine-tuned according to the first fine-tuning parameter to obtain the target infringement risk assessment value, that is, the target infringement risk assessment value = (1 + first fine-tuning parameter) * maximum value. In this way, considering the situation of the platform itself, the infringement risk assessment value of the product can be optimized and fine-tuned again, which can improve the platform management efficiency and ensure the platform compliance of the product, and promptly remind e-commerce merchants to ensure the smooth operation of the industrial chain of the online platform.

[0068] In some possible examples, the following steps may also be included: E1. Obtain reference product information corresponding to the target product from the successfully reported products, and obtain m reference product information; m is a positive integer; E2. Match the target product information with the m reference product information to obtain m reference matching values; E3. Select the m reference matching values ​​that are greater than the set threshold to obtain n matching values, where n is a natural number not greater than m; E4. Determine the target mean and target mean square error of the n matching values; E5. Determine a target feedback adjustment coefficient corresponding to the target mean; E6. Determine a target volatility coefficient corresponding to the target mean square deviation; E7. Optimizing the target feedback adjustment coefficient using the target fluctuation coefficient to obtain a second fine-tuning parameter; The above step of fine-tuning the maximum value according to the first fine-tuning parameter to obtain the target infringement risk assessment value includes: The maximum value is fine-tuned according to the first fine-tuning parameter and the second fine-tuning parameter to obtain the target infringement risk assessment value.

[0069] The threshold value may be preset or set by system default.

[0070] In a specific implementation, the reference product information corresponding to the target product in the successfully reported products can be obtained to obtain m reference product information; m is a positive integer, and then the target product information is matched with each reference product information in the m reference product information to obtain m reference matching values, thereby selecting m reference matching values ​​whose matching values ​​are greater than a set threshold to obtain n matching values, where n is a natural number not greater than m. In this way, based on the products that are similar or similar to the target product in the successfully reported products, the infringement risks of these products can be used as a basis to further feedback and optimize their corresponding infringement risks, that is, the n matching values ​​can be averaged to obtain the target mean, and then the n matching values ​​can be mean squared to obtain the target mean squared, which can be pre-calculated. The mapping relationship between the preset mean and the feedback adjustment coefficient is stored, as well as the mapping relationship between the preset mean square error and the fluctuation coefficient. Then, the target feedback adjustment coefficient corresponding to the target mean is determined based on the mapping relationship between the preset mean square error and the fluctuation coefficient, and the target fluctuation coefficient corresponding to the target mean square error is determined based on the mapping relationship between the preset mean square error and the fluctuation coefficient. The mean reflects the infringement and successful reporting of similar products, and the fluctuation reflects the fluctuation of whether the report is successful or not in a category of products. Then, the target fluctuation coefficient can be used to optimize the target feedback adjustment coefficient to obtain the second fine-tuning parameter, that is, the second fine-tuning parameter = target feedback adjustment coefficient * (1 + target fluctuation coefficient).

[0071] Next, the maximum value is fine-tuned according to the first fine-tuning parameter and the second fine-tuning parameter to obtain the target infringement risk assessment value, that is, the target infringement risk assessment value = (1 + first fine-tuning parameter) * (1 + second fine-tuning parameter) * maximum value. In this way, considering the situation of the platform itself, the infringement risk assessment value of the product is optimized and fine-tuned again, and the similar situation feedback between the successfully reported product and the current product is used to optimize its infringement risk assessment value. This can improve the platform management efficiency, ensure the platform compliance of the product, and promptly remind e-commerce merchants to ensure the smooth operation of the online platform's industrial chain.

[0072] It can be seen that the text recognition method for product compliance detection described in the embodiment of the present application obtains the target product information of the target product, obtains the target sales channel information corresponding to the target product, the target sales channel information includes: sales platform, sales area, and determines the target large language model corresponding to the target product information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target product and the target sales channel information; the guidance files include: policy files, and / or rule files, and compliance detection is performed according to the target product information and the target large language model to obtain the compliance detection results of the target product. Then, it can effectively match products and services with the policy requirements of the e-commerce platform to ensure compliant operations. This method not only improves the accuracy of violation detection, but also improves the efficiency of preventing and handling violations, thereby protecting the interests of sellers and platforms, reducing the legal and economic risks caused by violations, and thus improving the efficiency of product compliance detection.

[0073] In accordance with the above embodiment, please refer to Figure 2 , Figure 2 : is a structural diagram of a server provided in an embodiment of the present application. As shown in the figure, the server includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps: Obtain target product information of a target product; Acquire target sales channel information corresponding to the target product, wherein the target sales channel information includes: sales platform and sales region; Determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; A compliance check is performed according to the target product information and the target large language model to obtain a compliance check result of the target product.

[0074] In some possible examples, in terms of performing compliance detection according to the target product information and the target large language model to obtain the compliance detection result of the target product, the above program includes instructions for executing the following steps: The target product information is input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain a compliance test result of the target product. The compliance test result is used to indicate whether the target product can be sold normally, or the compliance test result is used to output a list of specific policies that the target product needs to comply with.

[0075] In some possible examples, when the compliance test result is a restricted or controlled commodity, the above program further includes instructions for executing the following steps: Display the specific reason why the target product is a restricted or controlled product; Identify target recommendations that correspond to the specific reasons stated; The target suggestion is pushed to the user.

[0076] In some possible examples, the above program also includes instructions for performing the following steps: Using retrieval enhancement generation technology, performing natural language processing and deep learning calculation on the target product information to obtain a first guidance document corresponding to the target product; The first guidance document is screened according to the target sales channel information to obtain the target commodity and the guidance document corresponding to the target sales channel information.

[0077] In some possible examples, the above program also includes instructions for performing the following steps: Determine the guidance document corresponding to the target product information and the target sales channel information; Perform natural language processing and data cleaning on the guidance document to determine the regulatory scope corresponding to the target product, where the regulatory scope includes at least one of the following: product category, applicable situation, consequences of violation, and compliance precautions; The guidance document for natural language processing and data cleaning is vectorized and stored.

[0078] It can be seen that the server described in the embodiment of the present application obtains the target product information of the target product and the target sales channel information corresponding to the target product. The target sales channel information includes: sales platform, sales area, and determines the target large language model corresponding to the target product information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target product and the target sales channel information; the guidance files include: policy files, and / or rule files, and compliance detection is performed according to the target product information and the target large language model to obtain the compliance detection results of the target product. Then, it can effectively match products and services with the policy requirements of the e-commerce platform to ensure compliance operation. This method not only improves the accuracy of violation detection, but also improves the efficiency of preventing and handling violations, thereby protecting the interests of sellers and platforms, reducing the legal and economic risks caused by violations, and thus improving the efficiency of product compliance detection.

[0079] Figure 3 300 is a functional unit composition block diagram of a text recognition system 300 for commodity compliance detection involved in an embodiment of the present application. The text recognition system 300 for commodity compliance detection includes an acquisition unit 301, a determination unit 302 and a detection unit 303, wherein: The acquisition unit 301 is used to acquire target commodity information of the target commodity; acquire target sales channel information corresponding to the target commodity, wherein the target sales channel information includes: sales platform and sales region; The determining unit 302 is used to determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; The detection unit 303 is used to perform compliance detection according to the target product information and the target large language model to obtain a compliance detection result of the target product.

[0080] In some possible examples, in performing compliance detection according to the target product information and the target large language model to obtain the compliance detection result of the target product, the detection unit 303 is specifically used to: The target product information is input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain a compliance test result of the target product. The compliance test result is used to indicate whether the target product can be sold normally, or the compliance test result is used to output a list of specific policies that the target product needs to comply with.

[0081] In some possible examples, when the compliance detection result is a restricted or controlled commodity, the text recognition system 300 for commodity compliance detection is further specifically used to: Display the specific reason why the target product is a restricted or controlled product; Identify target recommendations that correspond to the specific reasons stated; The target suggestion is pushed to the user.

[0082] In some possible examples, the text recognition system 300 for commodity compliance detection is further specifically used for: Using retrieval enhancement generation technology, performing natural language processing and deep learning calculation on the target product information to obtain a first guidance document corresponding to the target product; The first guidance document is screened according to the target sales channel information to obtain the target commodity and the guidance document corresponding to the target sales channel information.

[0083] In some possible examples, the text recognition system 300 for commodity compliance detection is further specifically used for: Determine the guidance document corresponding to the target product information and the target sales channel information; Perform natural language processing and data cleaning on the guidance document to determine the regulatory scope corresponding to the target product, where the regulatory scope includes at least one of the following: product category, applicable situation, consequences of violation, and compliance precautions; The guidance document for natural language processing and data cleaning is vectorized and stored.

[0084] It can be seen that the text recognition system for product compliance detection described in the embodiment of the present application obtains the target product information of the target product, obtains the target sales channel information corresponding to the target product, and the target sales channel information includes: sales platform, sales area, and determines the target large language model corresponding to the target product information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target product and the target sales channel information; the guidance files include: policy files, and / or rule files, and compliance detection is performed according to the target product information and the target large language model to obtain the compliance detection results of the target product. Then, it can effectively match products and services with the policy requirements of the e-commerce platform to ensure compliance operations. This method not only improves the accuracy of violation detection, but also improves the efficiency of preventing and handling violations, thereby protecting the interests of sellers and platforms, reducing the legal and economic risks caused by violations, and thus improving the efficiency of product compliance detection.

[0085] It can be understood that the functions of each program module of the text recognition system for commodity compliance detection in this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0086] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.

[0087] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the above method embodiment. The computer program product may be a software installation package.

[0088] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0089] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0090] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0091] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0092] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0093] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the above-mentioned methods in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0094] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0095] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A text recognition method for commodity compliance detection, characterized in that: The method comprises: Obtain target product information of a target product; Obtaining target sales channel information corresponding to the target product, wherein the target sales channel information includes: sales platform and sales region; Determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; A compliance check is performed according to the target product information and the target large language model to obtain a compliance check result of the target product.

2. The method according to claim 1, characterized in that The performing compliance detection according to the target product information and the target large language model to obtain the compliance detection result of the target product includes: The target product information is input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain a compliance test result of the target product. The compliance test result is used to indicate whether the target product can be sold normally, or the compliance test result is used to output a list of specific policies that the target product needs to comply with.

3. The method according to claim 2, characterized in that When the compliance test result is a restricted or controlled commodity, the method further includes: Display the specific reason why the target product is a restricted or controlled product; Identify target recommendations that correspond to the specific reasons stated; The target suggestion is pushed to the user.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Using retrieval enhancement generation technology, performing natural language processing and deep learning calculation on the target product information to obtain a first guidance document corresponding to the target product; The first guidance document is screened according to the target sales channel information to obtain the target commodity and the guidance document corresponding to the target sales channel information.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Determine the guidance document corresponding to the target product information and the target sales channel information; Perform natural language processing and data cleaning on the guidance document to determine the regulatory scope corresponding to the target product, where the regulatory scope includes at least one of the following: product category, applicable situation, consequences of violation, and compliance precautions; The guidance document for natural language processing and data cleaning is vectorized and stored.

6. A text recognition system for commodity compliance detection, characterized in that: The system comprises: an acquisition unit, a determination unit and a detection unit, wherein: The acquisition unit is used to acquire target commodity information of the target commodity; acquire target sales channel information corresponding to the target commodity, wherein the target sales channel information includes: sales platform and sales region; The determination unit is used to determine a target large language model corresponding to the target commodity information and the target sales channel information; the target large language model is used to vectorize and store the guidance files corresponding to the target commodity and the target sales channel information; the guidance files include: policy files, and / or rule files; The detection unit is used to perform compliance detection according to the target product information and the target large language model to obtain a compliance detection result of the target product.

7. The system according to claim 6, characterized in that In the aspect of performing compliance detection according to the target product information and the target large language model to obtain the compliance detection result of the target product, the detection unit is specifically used to: The target product information is input into the target large language model to perform compliance analysis on the target product information and the guidance document to obtain a compliance test result of the target product. The compliance test result is used to indicate whether the target product can be sold normally, or the compliance test result is used to output a list of specific policies that the target product needs to comply with.

8. The system according to claim 7, characterized in that When the compliance test result is a restricted or controlled commodity, the system is further specifically used to: Display the specific reason why the target product is a restricted or controlled product; Identify target recommendations that correspond to the specific reasons stated; The target suggestion is pushed to the user.

9. The system according to any one of claims 6 to 8, characterized in that: The system is also specifically used for: Using retrieval enhancement generation technology, performing natural language processing and deep learning calculation on the target product information to obtain a first guidance document corresponding to the target product; The first guidance document is screened according to the target sales channel information to obtain the target commodity and the guidance document corresponding to the target sales channel information.

10. The system according to any one of claims 6 to 8, characterized in that: The system is also specifically used for: Determine the guidance document corresponding to the target product information and the target sales channel information; Perform natural language processing and data cleaning on the guidance document to determine the regulatory scope corresponding to the target product, where the regulatory scope includes at least one of the following: product category, applicable situation, consequences of violation, and compliance precautions; The guidance document for natural language processing and data cleaning is vectorized and stored.

Citation Information

Patent Citations

  • Product tort monitoring system and monitoring method therefor

    CN105930495A

  • Analyzing managing system for appearance infringement of intellectual property

    CN107506503A

  • Potential patent dispute monitoring method and device, server and storage medium

    CN110765261A

  • Network culture operation compliance detection method and device, readable medium and electronic equipment

    CN113158686A

  • Compliance risk early warning method and system for online blind box operation

    CN117522134A

Cited By

  • E-commerce product category information processing method and system based on vector database

    CN119205272A

  • E-commerce product compliance detection method and system based on platform policy global matching

    CN119228506A

  • E-commerce product compliance detection method and system based on global matching of platform policies

    CN119228506B

  • Product appearance compliance detection method and system based on multi-modal fusion

    CN119396494A

  • Commodity publicity picture multi-dimensional element risk information intelligent analysis method and system

    CN119938966A