Product information detection method and device in transaction platform, computer equipment, readable storage medium and program product
By using information extraction and detection models in the trading platform, combining detection configuration and strategies, the product information is automatically extracted and detected and safely guaranteed, and the problem of low detection efficiency in the existing technology is solved, and efficient and accurate product information detection is achieved.
Patent Information
- Application Number
- CN202510357203.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, the detection efficiency of security products in the trading platform is low, mainly relying on manual entry of detection data, resulting in insufficient efficiency.
Through the information extraction model and information detection model, combined with the detection configuration and detection strategy of the security product, product information can be automatically extracted and detected to achieve an intelligent detection process.
It improves the inspection efficiency of safety-assured products, reduces the workload of manual input, reduces labor costs, and improves the accuracy and efficiency of inspection.
Smart Images

Figure CN120278732A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and particularly to a product information detection method, device, computer device, computer-readable storage medium, and computer program product in a trading platform. Background Art
[0002] In the trading platform of the power grid system, there are transactions of safety guarantee products. Safety guarantee products can guarantee the safety of grid workers from multiple aspects during their operations. Therefore, it is necessary to timely detect product information such as the quality information of safety guarantee products in the trading platform to ensure that the safety guarantee products in the trading platform are products that meet the guarantee requirements. Currently, the detection method for safety guarantee products in the trading platform usually involves manually entering the detection data of safety guarantee products in the platform. However, the method of manually entering detection data will result in low detection efficiency.
[0003] Therefore, the current detection method for safety guarantee products in the trading platform has the defect of low detection efficiency. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a product information detection method, device, computer device, computer-readable storage medium, and computer program product in a trading platform that can improve the detection efficiency.
[0005] In a first aspect, the present application provides a product information detection method in a trading platform, including:
[0006] Obtaining a detection file corresponding to a safety guarantee product to be detected in the trading platform;
[0007] Inputting the detection file into an information extraction model, and the information extraction model extracts information from the detection file according to the detection configuration corresponding to the safety guarantee product, so as to obtain the product information to be detected corresponding to the detection configuration in the detection file;
[0008] Inputting the product information into an information detection model, and the information detection model performs information detection on the product information according to the detection strategy corresponding to the safety guarantee product, so as to obtain the information detection result corresponding to the safety guarantee product.
[0009] In a second aspect, the present application further provides a product information detection device in a trading platform, including:
[0010] An obtaining module, configured to obtain a detection file corresponding to a safety guarantee product to be detected in the trading platform;
[0011] An extraction module, configured to input the detection file into an information extraction model. The information extraction model extracts information from the detection file according to the detection configuration corresponding to the security protection product, so as to obtain the product information to be detected corresponding to the detection configuration in the detection file;
[0012] A detection module, configured to input the product information into an information detection model. The information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product, so as to obtain the information detection result corresponding to the security protection product.
[0013] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0015] In a fifth aspect, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.
[0016] In the above product information detection method, device, computer device, computer-readable storage medium and computer program product of the trading platform, by inputting the detection file corresponding to the security protection product in the trading platform into the information extraction model, the information extraction model extracts the product information corresponding to the detection configuration in the detection file based on the detection configuration corresponding to the security protection product, and the information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product, so as to obtain the information detection result corresponding to the security protection product. Compared with the traditional method of manually inputting the detection data of the security protection product and manually auditing, this solution actively identifies and extracts the product information from the detection file by combining the detection configuration of the security protection product, and performs information detection on the product information by combining the detection strategy of the security protection product, which can quickly and accurately extract the corresponding product information to be detected and perform detection in combination with the specific security protection product, thereby improving the efficiency of product information detection for the security protection product in the trading platform. Description of the Drawings
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0018] Figure 1 It is a schematic flowchart of a product information detection method in a trading platform in an embodiment;
[0019] Figure 2 It is a schematic flowchart of a product information detection method in a trading platform in another embodiment;
[0020] Figure 3 It is a structural block diagram of a product information detection device in a trading platform in an embodiment;
[0021] Figure 4 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0022] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0023] In an embodiment, as Figure 1 shown, a product information detection method in a trading platform is provided. In this embodiment, the application of this method to a terminal is taken as an example for illustration. The terminal may be a device such as a personal computer, a mobile phone, or a tablet computer. It can be understood that this method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server, including the following steps S202 to step S206. Among them:
[0024] Step S202, obtain a detection file corresponding to a security protection product to be detected in the trading platform.
[0025] Among them, the terminal may be devices such as a computer, a mobile phone, and a tablet computer inside the service provider. In the service provider, a trading platform may be set up, that is, the trading platform belongs to the trading platform of the service provider. In the trading platform, the information of each product for the personnel of the service provider can be displayed, including the product information of the security protection product, etc. The above-mentioned personnel can conduct transactions through the trading platform. For example, the personnel provide resources with corresponding values, and the service provider provides corresponding security protection products.
[0026] The safety guarantee product is used to ensure the safety of the staff in the power grid system. Therefore, in the trading platform of the power grid system, it is necessary to timely detect the product information of the safety guarantee product. In the related technologies, during the quality inspection of the safety guarantee product, a large number of quality inspection indicators of the safety guarantee product can only be manually entered and the qualification determination is carried out manually. There is a lack of intelligent technical means in data extraction, verification and analysis. Based on this, this solution extracts the product information to be detected from the inspection file of the safety guarantee product by combining specific safety guarantee products for detection, improving the detection efficiency of the product information.
[0027] Among them, there are safety guarantee products that can be traded in the above trading platform. The terminal can obtain the inspection file corresponding to the safety guarantee product to be detected in the trading platform. Among them, the above inspection file can correspond to the safety guarantee product, and the above inspection file represents the file formed by various inspections of the safety guarantee product during its generation and manufacturing process, that is, the inspection file includes but is not limited to various product information and inspection data recorded after the safety guarantee product is inspected, etc.
[0028] Step S204: Input the above inspection file into the information extraction model, and the information extraction model extracts information from the above inspection file according to the inspection configuration corresponding to the above safety guarantee product to obtain the product information to be detected corresponding to the above inspection configuration in the above inspection file.
[0029] Among them, the terminal can pre-train the information extraction model. For example, the terminal uses the inspection file sample and the corresponding product information sample to iteratively train the information extraction model to be trained, so as to obtain the above trained information extraction model. Among them, the information extraction model can be a neural network model using the OCR (Optical Character Recognition) algorithm.
[0030] The above detection file contains various types of information. To ensure that the quality of the security protection product meets the requirements, the terminal needs to extract and detect the necessary product information in the detection file. Then the terminal can input the above detection file into the information extraction model, and the above information extraction model extracts information from the above detection file according to the detection configuration corresponding to the above security protection product, obtains the product information to be detected corresponding to the above detection configuration in the above detection file, and outputs the above product information to be detected. Among them, the above information extraction can be to determine the information to be extracted based on the detection configuration, and identify and extract the text in the detection file through a character extraction algorithm. Among them, the above detection configuration includes the configuration of the product information required for quality detection of the security protection product. For different security protection products, the detection configuration can be different. Moreover, the terminal can also determine the corresponding detection configuration and detection strategy for different security protection products. The detection strategy includes information such as the rules, methods, and judgment logic for detecting the extracted product information.
[0031] In one embodiment, it further includes: obtaining the product type corresponding to the security protection product to be detected in the above trading platform; determining the detection configuration and detection strategy corresponding to the above security protection product according to the above product type.
[0032] In this embodiment, the above security protection products can have different product types. For example, safety shoes, gas masks, etc. belong to different product types. Different product types can have corresponding detection configurations and detection strategies. Then the terminal can obtain the product type corresponding to the security protection product to be detected in the above trading platform, and determine the detection configuration and detection strategy corresponding to the security protection product according to the above product type. Among them, the above detection configuration includes one or more of product attribute configuration, detection item configuration, and item detection result configuration. The product attribute configuration represents the product attributes that need to be extracted from the detection file, the detection item configuration represents the detection items that need to be extracted from the detection file, and the item detection result configuration represents the item detection results that need to be extracted from the detection file. The terminal can, based on the above detection configuration, extract the product information that needs to be detected and judged from the detection file corresponding to the security protection product, and combine it with the detection strategy corresponding to the security protection product to perform corresponding detections on the above extracted product information to be detected. Thus, the accuracy and pertinence of detecting the product information of the security protection product are improved.
[0033] Specifically, the terminal can obtain preset metrics input by the operation and maintenance personnel of the trading platform. For example, the operation and maintenance personnel set quality detection metrics for the security protection products based on the types of existing security protection products in the terminal. The terminal generates corresponding detection configurations and detection strategies for each type according to the input quality detection metrics. Among them, the detection configuration corresponding to the above quality detection metrics includes information such as product basic information (product attribute configuration), quality detection items (detection item configuration), and passing rate ratio (project detection result), etc. Among them, the passing rate ratio represents the ratio of each detected item that passes the detection to each detected item that fails the detection in the detection file of the security protection product.
[0034] Step S206: Input the above product information into the information detection model. The information detection model performs information detection on the above product information according to the detection strategy corresponding to the above security protection product to obtain the information detection result corresponding to the above security protection product.
[0035] Among them, the terminal can pre-train the information detection model. For example, the terminal uses product information samples and corresponding detection result samples to iteratively train the information detection model to be trained, so as to obtain the above trained information detection model.
[0036] Among them, for different types of security protection products, the detection strategies of the product information extracted by the terminal can be different. The terminal can pre-generate detection strategies for the product information of each security protection product. Thus, the terminal can input the above product information into the information detection model, and the information detection model performs information detection on the above product information according to the detection strategy corresponding to the above security protection product to obtain the information detection result corresponding to the above security protection product. Among them, the above information detection is based on the detection strategy, and the detection strategy can include but is not limited to strategies such as threshold judgment and trend analysis. The terminal can determine whether the product information in the detection file of the above security protection product passes the detection based on the information detection result output by the information detection model. If the detection passes, the terminal can allow the security protection product to be displayed and traded on the trading platform; otherwise, the terminal can take the security protection product off the shelf and output corresponding prompt information to the provider of the security protection product, so that the provider can detect the security protection product based on the prompt information.
[0037] In the product information detection method in the above-mentioned trading platform, by inputting the detection file corresponding to the security protection product in the trading platform into the information extraction model, the information extraction model extracts the product information corresponding to the detection configuration in the detection file based on the detection configuration corresponding to the security protection product. Then, the information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product to obtain the information detection result corresponding to the security protection product. Compared with the traditional method of manually inputting the detection data of the security protection product and manually reviewing it, this solution actively identifies and extracts the product information from the detection file by combining the detection configuration of the security protection product, and performs information detection on the product information by combining the detection strategy of the security protection product. It can quickly and accurately extract the corresponding product information to be detected and perform detection in combination with specific security protection products, improving the efficiency of product information detection for security protection products in the trading platform.
[0038] In one embodiment, the above-mentioned detection file is input into the information extraction model, and the information extraction model extracts information from the above-mentioned detection file according to the detection configuration corresponding to the above-mentioned security protection product to obtain the product information to be detected corresponding to the above-mentioned detection configuration in the above-mentioned detection file, including: inputting the above-mentioned detection file into the information extraction model, and the information extraction model performs optical character recognition on the above-mentioned detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the above-mentioned security protection product to obtain the product information to be detected in the above-mentioned detection file; wherein, the above-mentioned product information includes one or more of the product attribute information corresponding to the above-mentioned product attribute configuration, the detection item information corresponding to the above-mentioned detection item configuration, and the item detection result corresponding to the above-mentioned item detection result configuration.
[0039] In this embodiment, the above-mentioned detection configuration includes one or more of a product attribute configuration, a detection item configuration, and an item detection result configuration. The terminal can use the information extraction model to extract product information from the detection file in combination with the above-mentioned detection configuration. For example, the terminal inputs the above-mentioned detection file into the information extraction model, and the information extraction model performs optical character recognition on the above-mentioned detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the above-mentioned security protection product to obtain the product information to be detected in the above-mentioned detection file. Among them, the terminal uses the information extraction model to convert the text of the detection file into image information through optical input methods such as scanning by using optical character recognition, and then uses text recognition technology to convert the image information into usable text, and further extracts the corresponding product information to be detected.
[0040] Among them, the above product information includes one or more of the product attribute information corresponding to the above product attribute configuration, the inspection item information corresponding to the above inspection item configuration, and the item inspection result corresponding to the above item inspection result configuration. The product attribute information represents the product attributes of the security protection product, the inspection item information represents the items for inspecting the security protection product in the inspection document, and the item inspection result represents the result of the items for inspecting the security protection product.
[0041] Specifically, the terminal uses an information extraction model combined with optical character recognition to extract product information from the inspection document corresponding to the security protection product. Among them, when the provider conducts in-process inspection and factory inspection of the security protection product, the inspection document of the security protection product can be uploaded to the trading platform. The terminal uses the information extraction model to extract key data and information in the inspection document as the product information to be inspected in combination with optical character recognition, such as one or more of the above product attribute information, inspection item information, and item inspection result. In some embodiments, the above product information may further include information such as the inspection date. Among them, the product attribute information includes but is not limited to the product name, model, etc. Thus, the terminal can accurately extract product information based on the pre-set inspection configuration for the security protection product.
[0042] Through this embodiment, the terminal can combine the inspection document corresponding to the security protection product and extract product information from the inspection document of the security protection product through optical character recognition, improving the accuracy of product information extraction.
[0043] In one embodiment, according to one or more of the above product attribute configuration, inspection item configuration, and inspection result configuration corresponding to the security protection product, optical character recognition is performed on the above inspection document to obtain the product information to be inspected in the above inspection document, including: performing optical character recognition on the above inspection document according to one or more of the above product attribute configuration, inspection item configuration, and inspection result configuration corresponding to the security protection product to obtain the original product information; performing validity verification on the above original product information according to the reference product information to obtain the corresponding verification result; if the above verification result is valid, determining the above original product information as the product information to be inspected.
[0044] In this embodiment, the terminal can perform validity verification during the process of extracting information from the inspection document through the information extraction model. Among them, the terminal can use the information extraction model to perform optical character recognition on the above inspection document according to one or more of the above product attribute configuration, inspection item configuration, and inspection result configuration corresponding to the security protection product to obtain the original product information. Among them, the original product information represents the product information that has not undergone validity verification.
[0045] The terminal can perform validity verification on the above-mentioned original product information according to the reference product information through an information extraction model, and obtain the corresponding verification result. Among them, the reference product information represents the template information of the product information, which is used to determine whether the product information is complete and whether the logical rules are correct. If the above verification result is valid, the terminal determines the above original product information as the product information to be detected. Among them, the above validity verification represents the verification of the logical rules, integrity, and data accuracy of the original product information to determine whether the original product information meets the conditions for detection. Among them, for different verification results, the terminal can adopt different processing methods. For example, for the original product information with a verification result of verification passed, the terminal can use it as the product information to be detected.
[0046] In one embodiment, after performing validity verification on the above-mentioned original product information according to the reference product information and obtaining the corresponding verification result, it further includes: if the above verification result is invalid, adding an invalid mark to the above original product information; and outputting a corresponding invalid prompt message according to the above original product information carrying the invalid mark.
[0047] In this embodiment, if the terminal obtains an invalid verification result of the above original product information through the above reference product information. That is, it means that the data of the original product information is incomplete or there are abnormalities such as incorrect formats, and it cannot be used for product information detection. Then the terminal can add an invalid mark to the original product information and output a corresponding invalid prompt message based on the original product information carrying the invalid mark, so that the staff can further verify it.
[0048] Specifically, the terminal can use the information extraction model to verify the extracted original product information to ensure the accuracy and integrity of the data. The terminal can use the information extraction model to compare the original product information with the standard data, logical rules, etc. in the known reference product information to check whether there are any abnormalities or errors in the original product information that do not meet the requirements of the reference product information. For example, the terminal checks whether the item detection result in the original product information is within the preset threshold range, whether the date format is correct, etc. For the data that meets the requirements, the terminal can determine it as the product information to be detected; for the data that does not meet the requirements, the terminal can mark or prompt it so that manual verification can be carried out further.
[0049] Through the above embodiments, the terminal can perform validity verification on the original product information extracted from the detection file in combination with the pre-set reference product information, so as to ensure that only valid product information can be detected, and improve the effectiveness of product information detection.
[0050] In one embodiment, the above product information is input into an information detection model, and the information detection model performs information detection on the above product information according to the detection strategy corresponding to the above security protection product, and obtains the information detection result corresponding to the above security protection product, including: inputting the above product information into the information detection model, and the information detection model extracts, according to the detection strategy corresponding to the above security protection product, each detection qualification rate corresponding to the above security protection product at each time in the above product information; determining the change trend of the qualification rate corresponding to the above security protection product according to each of the above detection qualification rates; and obtaining the information detection result corresponding to the above security protection product according to the comparison result between the above change trend of the qualification rate and the reference change trend of the qualification rate.
[0051] In this embodiment, the terminal can use the information detection model to detect whether the above product information meets the requirements. For example, the terminal can input the above product information into the information detection model, and the information detection model extracts, according to the detection strategy corresponding to the above security protection product, each detection qualification rate corresponding to the above security protection product at each time in the above product information. Among them, the above product information may include the detection time corresponding to each detection item and the detection time corresponding to each item detection result, and the item detection result includes the detection qualification rate.
[0052] The terminal determines, through the information detection model, the change trend of the qualification rate corresponding to the above security protection product according to each of the above detection qualification rates; and obtains the information detection result corresponding to the above security protection product according to the comparison result between the above change trend of the qualification rate and the reference change trend of the qualification rate. Among them, the reference change trend of the qualification rate represents the change trend composed of each qualification rate corresponding to the security protection product that meets the requirements, and may be, for example, the change trend composed of the preset qualification rate thresholds corresponding to the above each detection time. That is, the terminal can perform trend analysis on the product information. If the terminal detects that the similarity between the change trend of the qualification rate of the above security protection product and the reference change trend of the qualification rate is less than the similarity threshold, the terminal can determine that the information detection result of the above security protection product is not passed, and output a corresponding prompt message, so that the personnel of the trading platform can hide or take off the shelf the above security protection product, etc. If the terminal detects that the similarity between the change trend of the qualification rate of the above security protection product and the reference change trend of the qualification rate is greater than or equal to the similarity threshold, the terminal can determine that the information detection result of the above security protection product is passed.
[0053] Specifically, the terminal can analyze the extracted and verified product information. For example, the terminal uses an information detection model to perform data statistics, trend analysis, result judgment, etc. on the product information in combination with specific business requirements. This includes the terminal counting the detection pass rates of different security protection products and analyzing the changing trends of the detection pass rates of each security protection product over time. For example, by comparing with the reference changing trends of the pass rates of each security protection product, it is determined whether the security protection products meet the quality standards. Thus, the terminal provides support for product quality control and production decision-making by analyzing the data.
[0054] In addition, in some embodiments, the terminal can also integrate the above-mentioned information extraction model and information detection model including optical character recognition with other business systems, such as integrating them into a quality management system, a production management system, a supply chain management system, etc., so that product information can be extracted and detected in each system based on the detection files corresponding to each system.
[0055] Through this embodiment, the terminal can use the information detection model to perform trend analysis in combination with the detection results of each time period of the product information to determine whether the product information of the security protection product meets the quality requirements, thereby improving the detection efficiency and accuracy of the product information of the security protection product.
[0056] In an exemplary embodiment, as Figure 2 shown, Figure 2 is a schematic flowchart of a product information detection method in a trading platform in another embodiment. In this embodiment, when the provider conducts in-production inspection and factory inspection, after uploading the quality inspection index attachment of the security protection product, the terminal intelligently identifies the content of the attachment through OCR. Then, according to the quality inspection indexes (detection configurations) preset by the operation and maintenance personnel in advance, the system automatically grabs the quality inspection index content related to the category of the current security protection product and enters it into the quality inspection form to form product information, realizing rapid positioning of the quality inspection indexes for the labor protection category, replacing manual input work, and accurately determining and generating a quality inspection report. The steps include:
[0057] Step S302: The operation and maintenance personnel set the quality inspection indexes of the security protection product on the terminal according to the existing security protection product categories in the system, including parameters such as product basic information, quality inspection items, and passing rate ratios.
[0058] For example, the operation and maintenance personnel set the quality inspection indicators of the security protection products in the terminal according to the types of existing security protection products on the trading platform. The terminal generates the corresponding detection configurations and detection strategies for each type according to the input quality inspection indicators. Among them, the detection configurations corresponding to the above quality inspection indicators include information such as product basic information (product attribute configuration), quality inspection items (detection item configuration), and passing rate ratio (project detection result), etc. Among them, the passing rate ratio represents the ratio of the detected items that pass the detection to the detected items that fail to pass the detection in the detection file of the security protection product.
[0059] Step S304: Data extraction: When the provider conducts in-process inspection and factory inspection of the security protection product, upload the quality inspection attachment (detection file) of the security protection product, and extract key data and information from the OCR recognition result, such as product name, model, detection item, detection result, detection date, etc. The accurate extraction of data can be achieved through the category quality inspection indicators set by the operation and maintenance personnel.
[0060] Among them, when the provider conducts in-process inspection and factory inspection of the security protection product, the detection file of the security protection product can be uploaded in the trading platform. The terminal uses the information extraction model and combines optical character recognition to extract the key data and information in the detection file as the product information to be detected, such as one or more of the above product attribute information, detection item information, and project detection result. In some embodiments, the above product information may further include information such as the detection date. Among them, the product attribute information includes but is not limited to product name, model, etc. Thus, the terminal can accurately extract the product information based on the detection configuration preset for the security protection product.
[0061] Step S306: Data verification: Verify the extracted data (original product information) to ensure the accuracy and integrity of the data. The terminal can compare with the standard data and logical rules in the known reference product information to check whether there are any abnormalities or errors in the data. For example, whether the detection result is within a reasonable range, whether the date format is correct, etc. Mark or prompt the data that does not meet the requirements for further manual verification.
[0062] Step S308: Data analysis: The terminal analyzes the extracted and verified data, and performs operations such as data statistics, trend analysis, and result judgment according to specific business requirements. For example, count the detection pass rates of different products, analyze the change trend of the detection results over time, and judge whether the products meet the quality standards, etc. Through data analysis, it can provide strong support for product quality control, production decision-making, etc.
[0063] For example, the terminal uses an information detection model and combines specific business requirements to perform data statistics, trend analysis, result judgment, etc. on product information. This includes the terminal counting the detection pass rates of different security protection products and analyzing the changing trends of the detection pass rates of each security protection product over time. For example, by comparing with the reference changing trends of the pass rates of each security protection product, it determines whether the security protection products meet the quality standards. Thus, the terminal provides support for product quality control and production decision-making by analyzing data.
[0064] In addition, in some embodiments, the terminal can also integrate the above information extraction model and information detection model including optical character recognition with other business systems, such as integrating them into a quality management system, a production management system, a supply chain management system, etc., so that product information can be extracted and detected based on the detection files corresponding to each system in each system.
[0065] Through the above embodiments, the terminal actively identifies and extracts product information from the detection file by combining the detection configuration of the security protection product, and performs information detection on the product information by combining the detection strategy of the security protection product. It can quickly and accurately extract the corresponding product information to be detected and perform detection in combination with specific security protection products, improving the efficiency of product information detection for security protection products in the trading platform. And it reduces the workload of manual text input, lowering the labor cost. Also, the terminal accurately recognizes text through OCR, greatly reducing input errors caused by human negligence. In addition, after the system extracts data for analysis, the qualified judgment in quality detection is also more accurate.
[0066] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0067] Based on the same inventive concept, an embodiment of the present application further provides a product information detection device in a trading platform for implementing the product information detection method in the above-mentioned trading platform. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the product information detection device in the trading platform provided below can refer to the limitations on the product information detection method in the trading platform above, and will not be elaborated here.
[0068] In an exemplary embodiment, as Figure 3 shown, a product information detection device in a trading platform is provided, including: an acquisition module 500, an extraction module 502, and a detection module 504, where:
[0069] The acquisition module 500 is configured to acquire a detection file corresponding to a security protection product to be detected in the trading platform.
[0070] The extraction module 502 is configured to input the above detection file into an information extraction model, and the information extraction model extracts information from the above detection file according to the detection configuration corresponding to the above security protection product, so as to obtain the product information to be detected corresponding to the above detection configuration in the above detection file.
[0071] The detection module 504 is configured to input the above product information into an information detection model, and the information detection model performs information detection on the above product information according to the detection strategy corresponding to the above security protection product, so as to obtain the information detection result corresponding to the above security protection product.
[0072] In an embodiment, the above device further includes: a configuration module, configured to acquire the product type corresponding to the security protection product to be detected in the above trading platform; and determine the detection configuration and detection strategy corresponding to the above security protection product according to the above product type.
[0073] In an embodiment, the above extraction module 502 is configured to input the above detection file into an information extraction model, and the information extraction model performs optical character recognition on the above detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the above security protection product, so as to obtain the product information to be detected in the above detection file; where the above product information includes one or more of the product attribute information corresponding to the above product attribute configuration, the detection item information corresponding to the above detection item configuration, and the item detection result corresponding to the above item detection result configuration.
[0074] In one embodiment, the extraction module 502 is configured to perform optical character recognition on the detection file according to one or more of the product attribute configuration, the detection item configuration, and the detection result configuration corresponding to the security protection product, so as to obtain the original product information; verify the validity of the original product information according to the reference product information, so as to obtain the corresponding verification result; if the verification result is valid, determine the original product information as the product information to be detected.
[0075] In one embodiment, the device further includes: an output module, configured to add an invalid mark to the original product information if the verification result is invalid; and output a corresponding invalid prompt message according to the original product information carrying the invalid mark.
[0076] In one embodiment, the detection module 504 is configured to input the product information into an information detection model, and the information detection model extracts the respective detection pass rates of the security protection product corresponding to the security protection product at each time according to the detection strategy corresponding to the security protection product; determine the change trend of the pass rate corresponding to the security protection product according to each of the detection pass rates; and obtain the information detection result corresponding to the security protection product according to the comparison result between the pass rate change trend and the reference pass rate change trend.
[0077] Each module in the product information detection device in the trading platform can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor in the computer device in the form of hardware or be independent of the processor, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0078] In an exemplary embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 4As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it realizes a method for detecting product information in a trading platform. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the shell of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0079] Those skilled in the art can understand that Figure 4 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0080] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, it realizes the method for detecting product information in the trading platform described above.
[0081] In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, it realizes the method for detecting product information in the trading platform described above.
[0082] In an embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, it realizes the method for detecting product information in the trading platform described above.
[0083] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0084] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0085] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.
[0086] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application shall be subject to the appended claims.
Claims
1. A method for detecting product information in a trading platform, characterized in that The method includes: Obtaining a detection file corresponding to a security protection product to be detected in a trading platform; Inputting the detection file into an information extraction model, and the information extraction model extracts information from the detection file according to the detection configuration corresponding to the security protection product to obtain the product information to be detected corresponding to the detection configuration in the detection file; Inputting the product information into an information detection model, and the information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product to obtain the information detection result corresponding to the security protection product.
2. The method according to claim 1, characterized in that, The method further includes: Obtaining the product type corresponding to the security protection product to be detected in the trading platform; Determining the detection configuration and detection strategy corresponding to the security protection product according to the product type.
3. The method according to claim 1, characterized in that, The detection configuration includes one or more of product attribute configuration, detection item configuration, and item detection result configuration; The step of inputting the detection file into an information extraction model, and the information extraction model extracts information from the detection file according to the detection configuration corresponding to the security protection product to obtain the product information to be detected corresponding to the detection configuration in the detection file includes: Inputting the detection file into an information extraction model, and the information extraction model performs optical character recognition on the detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the security protection product to obtain the product information to be detected in the detection file; Wherein, the product information includes one or more of the product attribute information corresponding to the product attribute configuration, the detection item information corresponding to the detection item configuration, and the item detection result corresponding to the item detection result configuration.
4. The method according to claim 3, wherein The step of performing optical character recognition on the detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the security protection product to obtain the product information to be detected in the detection file includes: Performing optical character recognition on the detection file according to one or more of the product attribute configuration, detection item configuration, and detection result configuration corresponding to the security protection product to obtain the original product information; Validating the effectiveness of the original product information according to the reference product information to obtain a corresponding validation result; If the validation result is valid, determining the original product information as the product information to be detected.
5. The method according to claim 4, wherein After validating the effectiveness of the original product information according to the reference product information to obtain a corresponding validation result, it further includes: If the validation result is invalid, adding an invalid mark to the original product information; Outputting a corresponding invalid prompt message according to the original product information carrying the invalid mark.
6. The method according to any one of claims 1 to 5, characterized in that The step of inputting the product information into an information detection model, and the information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product to obtain the information detection result corresponding to the security protection product includes: Input the product information into the information detection model, and the information detection model extracts the respective detection pass rates corresponding to the security protection product in the product information at each time according to the detection strategy corresponding to the security protection product; Determine the change trend of the pass rate corresponding to the security protection product according to each of the detection pass rates; Obtain the information detection result corresponding to the security protection product according to the comparison result between the pass rate change trend and the reference pass rate change trend.
7. A product information detection device in a trading platform, characterized in that, The device includes: An acquisition module, configured to acquire a detection file corresponding to a security protection product to be detected in a trading platform; An extraction module, configured to input the detection file into an information extraction model, and the information extraction model performs information extraction on the detection file according to the detection configuration corresponding to the security protection product to obtain the product information to be detected corresponding to the detection configuration in the detection file; A detection module, configured to input the product information into an information detection model, and the information detection model performs information detection on the product information according to the detection strategy corresponding to the security protection product to obtain the information detection result corresponding to the security protection product.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.