Resource data processing method and device for steel goods

By converting the resource data of steel goods into plain text files and using the extraction model corresponding to the product line for processing and storage, the problem of messy data display in the existing technology is solved, and more efficient data processing and user-friendly data are achieved. exhibit.

CN119396909APending Publication Date: 2025-02-07SHANGHAI GANGFU E COMMERCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411454403.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the prior art, the resource data display of steel goods is chaotic and diverse in format, which is inconvenient for users to view.

Method used

By obtaining the original steel goods resource information transmitted by the preset supplier, converting it into a resource file in plain text file format, and using the corresponding resource data extraction model to extract and store it according to the information of the preset product line, and storage is uniformly stored in Steel cargo resource database.

Benefits of technology

It realizes unified processing of resource information in multiple formats, improves the applicable scenarios and accuracy of data processing, and facilitates users to view data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396909A_ABST
    Figure CN119396909A_ABST
Patent Text Reader

Abstract

The invention provides a resource data processing method and device for steel goods, and relates to the technical field of computers. The method comprises the following steps: acquiring original steel cargo resource information of a first user transmitted by a preset supplier; converting the original steel cargo resource information into a resource file in a plain text file format; according to information of at least one preset product line of the preset supplier, a resource data extraction model corresponding to the at least one preset product line is adopted to extract the resource file, resource data of the at least one preset product line is obtained, and the at least one preset product line corresponds to different types of steel goods; and storing the user information of the preset supplier and the resource data of the at least one preset product line in a preset steel goods resource database. Therefore, the application scene of data processing is improved, the data processing precision is improved, and the resource data is stored, so that a user can check the data conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for processing resource data of steel goods. Background Art

[0002] With the development of search engines, all industries need data search methods that are suitable for their own industries.

[0003] The "search" in the steel trade industry is the same as that in other industries. Users can enter any steel trade industry website and search by entering keywords. In the steel trade industry, the given area used to find target information is called a "resource pool". The "resource pool" of the steel trade industry generally includes the following information: category, material, specification, steel mill, warehouse, price, quantity, size, etc. In addition, the data in the "resource pool" is generally updated every day or even every hour. The "resource pool" data of modern steel trade industry websites is generally obtained by different steel suppliers and platform operators uploading the original resource list containing spot supply information to the website, and then aggregating it into the website's database.

[0004] These original resource lists are usually uploaded in common document formats, such as word, excel or txt. Since the formats of resource lists uploaded by each supplier or platform operator are different, and some are even pure natural language without format, the displayed data is disorganized and in various formats, which is not convenient for users to view. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies in the above-mentioned prior art and provide a method and device for processing resource data of steel goods to solve the problems of disorganized data display in the prior art.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for processing resource data of steel goods, the method comprising:

[0008] Obtain the original steel goods resource information of the first user transmitted by the preset supplier;

[0009] Converting the original steel cargo resource information into a resource file in a plain text file format;

[0010] According to the information of at least one preset product line of the preset supplier, respectively using the resource data extraction model corresponding to the at least one preset product line, extracting the resource file to obtain the resource data of the at least one preset product line, wherein the at least one preset product line corresponds to different categories of steel goods;

[0011] The user information of the preset supplier and the resource data of the at least one preset product line are stored in a preset steel goods resource database.

[0012] Optionally, the converting the original steel cargo resource information into a resource file in a plain text file format includes:

[0013] If the original steel-related cargo resource information includes text resource information, the text resource information is directly converted into a resource file in the plain text file format.

[0014] Optionally, the converting the original steel cargo resource information into a resource file in a plain text file format includes:

[0015] If the original steel cargo resource information includes non-text resource information, text extraction is performed on the non-text resource information, and the extracted text information is converted into a resource file in the plain text file format.

[0016] Optionally, the non-text resource information includes: picture resource information, and / or file resource information; the text extraction of the non-text resource information and converting the extracted text information into the resource file in the plain text file format includes:

[0017] Extracting text from the picture resource information using a preset character recognition tool, and converting the extracted text information into a resource file in the plain text file format;

[0018] The file resource information is subjected to text extraction using a preset data collection tool, and the extracted text information is converted into a resource file in the plain text file format.

[0019] Optionally, according to the information of at least one preset product line of the preset supplier, respectively using a resource data extraction model corresponding to the at least one preset product line to extract the resource file to obtain the resource data of the at least one preset product line includes:

[0020] Generating a prompt word for the at least one preset product line according to the information of the at least one preset product line;

[0021] According to the prompt word of the at least one preset product line, the resource data extraction model corresponding to the at least one preset product line is called respectively to obtain the resource data of the at least one preset product line.

[0022] Optionally, before storing the user information of the preset supplier and the resource data of the at least one preset product line in the preset steel goods resource database, the method further includes:

[0023] Performing character string division on the resource data of each preset product line to obtain at least two resource data segments for each preset product line;

[0024] At least two resource files in a lightweight data exchange format are generated for each preset product line according to the at least two resource data segments of each preset product line.

[0025] Optionally, storing the user information of the preset supplier and the resource data of the at least one preset product line in a preset steel goods resource database includes:

[0026] According to the user information of the preset supplier, determining the first target user feature of the preset supplier for steel goods from a preset user feature library;

[0027] Adding the first target user characteristics to the resource data of the at least one preset product line respectively, to obtain the target resource data of the at least one preset product line;

[0028] The user information of the preset supplier and the target resource data of the at least one preset product line are stored in the preset steel goods resource database.

[0029] Optionally, storing the user information of the preset supplier and the resource data of the at least one preset product line in a preset steel goods resource database includes:

[0030] According to the user information of the preset supplier, determining the second target user characteristics of the preset supplier for steel goods from the preset user characteristics library;

[0031] According to the second target user characteristics, corresponding user characteristics in the resource data of the at least one preset product line are updated respectively to obtain target resource data of the at least one preset product line;

[0032] The user information of the preset supplier and the target resource data of the at least one preset product line are stored in the preset steel goods resource database.

[0033] Optionally, the method further comprises:

[0034] Displaying resource data of at least one preset product line through a preset page;

[0035] In response to a data source viewing operation for any preset product line, the original steel cargo resource information is displayed on the preset page.

[0036] In a second aspect, an embodiment of the present application provides a resource data processing device for steel goods, the device comprising:

[0037] An acquisition module, used for acquiring the original steel goods resource information of the first user transmitted by the preset supplier;

[0038] A conversion module, used for converting the original steel cargo resource information into a resource file in a plain text file format;

[0039] an extraction module, configured to extract the resource file according to the information of at least one preset product line of the preset supplier, using a resource data extraction model corresponding to the at least one preset product line, to obtain resource data of the at least one preset product line, wherein the at least one preset product line corresponds to different categories of steel goods;

[0040] The storage module is used to store the user information of the preset supplier and the resource data of the at least one preset product line in a preset steel goods resource database.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] The present application provides a resource data processing method and device for steel goods, which obtains the original steel goods resource information of the first user transmitted by the preset supplier; converts the original steel goods resource information into a resource file in a plain text file format; according to the information of at least one preset product line of the preset supplier, respectively uses the resource data extraction model corresponding to at least one preset product line to extract the resource file to obtain the resource data of at least one preset product line, wherein at least one preset product line corresponds to different categories of steel goods; and stores the user information of the preset supplier and the resource data of at least one preset product line in a preset steel goods resource database. Thus, by converting resource information in multiple formats into a resource file in a unified format, the applicable scenarios of data processing are improved, and by extracting data using the resource data extraction model corresponding to the product line, the data processing accuracy is improved, and the resource data is stored to facilitate users to view the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A schematic diagram of a process flow of a resource data processing method for steel goods provided in this application;

[0045] Figure 2 A flowchart of a method for determining a resource data extraction model provided in an embodiment of the present application;

[0046] Figure 3 A schematic diagram of a flow chart of a resource data output processing method provided in an embodiment of the present application;

[0047] Figure 4 A flowchart of a resource data update processing method provided in an embodiment of the present application;

[0048] Figure 5 A flowchart of another resource data update processing method provided in an embodiment of the present application;

[0049] Figure 6 A schematic diagram of a flow chart of a resource data display method provided in an embodiment of the present application;

[0050] Figure 7 A schematic diagram of a resource data processing device for steel goods provided in an embodiment of the present application;

[0051] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application.

[0052] Icons: 701 - acquisition module, 702 - conversion module, 703 - extraction module, 704 - storage module, 801 - processor, 802 - storage medium. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme 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 part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0054] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. 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 the present application.

[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0056] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.

[0057] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0058] The following is an explanation of a resource data processing method for steel goods provided in this application through a specific example. Figure 1 The present application provides a flow chart of a method for processing resource data of steel goods. The execution subject of the method is an electronic device having a computing and processing function. Figure 1 As shown, the method includes:

[0059] S101. Obtain original steel goods resource information of a first user transmitted by a preset supplier.

[0060] When selling steel products, suppliers will first provide original steel product resource information, which at least includes: information of the first user (seller), information of the second user (buyer), price information of steel products, and product line information of steel products.

[0061] For example, the original steel goods resource information may be in various forms, such as plain text resource information, file format resource information, and image format resource information. Some resource information may not directly contain the information of the first user, but the first user can be determined by the preset supplier, that is, the sender of the resource information is the first user.

[0062] For example, when the method provided in this embodiment is implemented, original steel cargo resource information will be captured from multiple preset channels on a regular basis to achieve real-time data processing.

[0063] S102. Convert the original steel cargo resource information into a resource file in a plain text file format.

[0064] Since the formats of the original steel goods resource information provided by different suppliers vary greatly, which is not conducive to subsequent data processing, the original steel goods resource information is converted into a resource file in a plain text file format, so that the resource data processing method provided in this embodiment is applicable to multiple suppliers.

[0065] For example, the original steel cargo resource information in different formats is converted into resource files in markdown format.

[0066] Furthermore, if some resource information does not directly contain the information of the first user, but the first user can be determined through the preset supplier, the determined information of the first user is added to the resource file in a plain text file format, so that the cargo information in the resource file is more complete, which is convenient for subsequent data processing.

[0067] For example, if a seller only sells goods from Zhongtian Steel, then during the entire inquiry and quotation communication process, "Zhongtian's steel" may not appear, only the word "steel" will appear. However, it can be determined that the goods are from Zhongtian Steel based on the origin of the goods being Zhongtian or the identity of the seller. In the embodiment of the present application, information such as steel mills, warehouses, and origins are bound to the seller, making the parsed goods information more complete and accurate.

[0068] S103. According to the information of at least one preset product line of the preset supplier, respectively use the resource data extraction model corresponding to at least one preset product line to extract the resource file to obtain the resource data of at least one preset product line.

[0069] Among them, at least one preset product line corresponds to different categories of steel goods. The resource data at least includes: origin of goods, goods warehouse, goods purchase price, quotation time, first user, and saleable quantity.

[0070] Since the information of different product lines is different, a corresponding resource data extraction model is trained in advance for each product line to facilitate targeted extraction and processing of the goods of this product line, thereby improving the accuracy of extracted resource data.

[0071] For example, the resource data extraction model can be obtained by training various large language models such as llama3, Tongyi Qianwen, Wenxin Yiyan, Doubao, and chatglm. The training parameters of the resource data extraction model corresponding to each product line training are different. For the unextracted data (for example, containing words such as "invoice, contract" that are not related to the price of goods), it is directly discarded without processing.

[0072] Based on the large language model, a resource data extraction model can be obtained through a small amount of data collection and training, which improves the training efficiency. It can also efficiently and accurately identify the resource data of goods from complex original resource information, significantly improving the integrity and accuracy of steel commodity information extraction. In addition, it supports rapid iteration and expansion of other product lines in the steel industry, greatly shortening the development cycle.

[0073] For example, if during the extraction process, the resource file input into the resource data extraction model contains typos or incorrect characters (for example, an asterisk is mixed in a common word), the resource data extraction model automatically corrects the incorrect information.

[0074] S104: Store user information of a preset supplier and resource data of at least one preset product line into a preset steel goods resource database.

[0075] User information and resource data are stored in the preset steel cargo resource database for user viewing.

[0076] In summary, in this embodiment, the original steel goods resource information of the first user transmitted by the preset supplier is obtained; the original steel goods resource information is converted into a resource file in a plain text file format; according to the information of at least one preset product line of the preset supplier, the resource data extraction model corresponding to at least one preset product line is respectively used to extract the resource file to obtain the resource data of at least one preset product line, wherein at least one preset product line corresponds to different categories of steel goods; the user information of the preset supplier and the resource data of at least one preset product line are stored in the preset steel goods resource database. Thus, by converting resource information in multiple formats into resource files in a unified format, the applicable scenarios of data processing are improved, and by extracting data using the resource data extraction model corresponding to the product line, the data processing accuracy is improved, and the resource data is stored to facilitate users to view the data.

[0077] In the above Figure 1 On the basis of the corresponding embodiment, in another embodiment of the present application, the original steel goods resource information is converted into a resource file in a plain text file format in S102, including:

[0078] If the original steel cargo resource information includes text resource information, the text resource information is directly converted into a resource file in a plain text file format.

[0079] Text resource information displays the cargo resource information in the form of characters, which can be directly processed later. In order to facilitate unified processing, text resource information in different formats is converted into resource files in markdown format, thereby improving data processing accuracy.

[0080] In summary, in this embodiment, if the original steel-related cargo resource information includes text resource information, the text resource information is directly converted into a resource file in a plain text file format, thereby improving data processing accuracy.

[0081] In the above Figure 1 On the basis of the corresponding embodiment, in another embodiment of the present application, the original steel goods resource information is converted into a resource file in a plain text file format in S102, including:

[0082] If the original steel cargo resource information includes non-text resource information, text extraction is performed on the non-text resource information, and the extracted text information is converted into a resource file in a plain text file format.

[0083] It may be impossible to directly extract characters from non-text resource information, so text extraction will be performed on the non-text resource information and uniformly converted into resource files in markdown format, thereby improving data processing accuracy.

[0084] In summary, in this embodiment, if the original steel goods resource information includes: non-text resource information, text extraction is performed on the non-text resource information, and the extracted text information is converted into a resource file in a plain text file format, thereby improving data processing accuracy.

[0085] Based on the above embodiment, in another embodiment of the present application, the non-text resource information includes: picture resource information, and / or file resource information. The file resource information may be a file in Excel format.

[0086] Perform text extraction on non-text resource information and convert the extracted text information into resource files in plain text file format, including:

[0087] The image resource information is extracted using a preset character recognition tool, and the extracted text information is converted into a resource file in a plain text file format.

[0088] For example, the preset character recognition tool is an OCR extraction tool.

[0089] The file resource information is extracted using a preset data collection tool, and the extracted text information is converted into a resource file in a plain text file format.

[0090] For example, the preset data collection tool is a POI extraction tool.

[0091] In summary, in this embodiment, non-text resource information includes: picture resource information, and / or file resource information; a preset character recognition tool is used to extract text from picture resource information, and the extracted text information is converted into a resource file in a plain text file format; a preset data collection tool is used to extract text from file resource information, and the extracted text information is converted into a resource file in a plain text file format. Thus, data processing accuracy is improved.

[0092] In the above Figure 1 Based on the corresponding embodiments, the embodiments of the present application also provide a method for determining a resource data extraction model. Figure 2 A flow chart of a method for determining a resource data extraction model provided in an embodiment of the present application. Figure 2 As shown, in S103, according to the information of at least one preset product line of the preset supplier, respectively using the resource data extraction model corresponding to at least one preset product line to obtain the resource data of at least one preset product line includes:

[0093] S201. Generate a prompt word for at least one preset product line according to information of at least one preset product line.

[0094] Each product line corresponds to a prompt word, and the prompt word is used to determine the resource data extraction model corresponding to the product line. The information of the preset product line is identified, and the prompt word with the highest similarity to the information of the preset product line is determined as the prompt word of the preset product line.

[0095] S202: According to the prompt word of at least one preset product line, respectively call the resource data extraction model corresponding to at least one preset product line to obtain the resource data of at least one preset product line.

[0096] According to the prompt word of the preset product line, the resource data extraction model corresponding to the preset product line is determined. The resource data extraction model is used to process the information of the preset product line to obtain the resource data of the preset product line. Therefore, the resource data extraction model corresponding to the preset product line is used to process the information of the preset product line, which improves the data processing accuracy and the data processing efficiency.

[0097] In summary, in this embodiment, based on the information of at least one preset product line, a prompt word of at least one preset product line is generated; based on the prompt word of at least one preset product line, a resource data extraction model corresponding to at least one preset product line is respectively called to obtain resource data of at least one preset product line. Thus, the information of the preset product line is processed using the resource data extraction model corresponding to the preset product line, which improves the data processing accuracy and the data processing efficiency.

[0098] In the above Figure 1On the basis of the corresponding embodiments, the embodiments of the present application also provide a resource data output processing method. Figure 3 The following is a flow chart of a resource data output processing method provided in an embodiment of the present application. Figure 3 As shown, before storing the user information of the preset supplier and the resource data of at least one preset product line in the preset steel goods resource database in S104, the method further includes:

[0099] S301. Perform character string division on resource data of each preset product line to obtain at least two resource data segments for each preset product line.

[0100] Since some data is too long to be output after being processed by a large language model and does not meet the specified JSON format, the resource data is divided by strings to ensure normal data output and improve data processing accuracy.

[0101] S302: Generate at least two resource files in a lightweight data exchange format for each preset product line according to at least two resource data segments for each preset product line.

[0102] Among them, the lightweight data exchange format is JSON format.

[0103] In summary, in this embodiment, the resource data of each preset product line is divided into strings to obtain at least two resource data segments of each preset product line; and at least two resource files in a lightweight data exchange format are generated for each preset product line according to the at least two resource data segments of each preset product line. Thus, the data processing accuracy is improved.

[0104] In the above Figure 1 On the basis of the corresponding embodiments, the embodiments of the present application also provide a resource data update processing method. Figure 4 The following is a flow chart of a resource data update processing method provided in an embodiment of the present application. Figure 4 As shown, in S104, the user information of the preset supplier and the resource data of at least one preset product line are stored in the preset steel goods resource database, including:

[0105] S401. Determine, based on the user information of the preset supplier, a first target user feature of the preset supplier for steel products from a preset user feature library.

[0106] For example, the first target user feature is the full name of the steel mill of the steel goods. The preset user feature library contains the mapping relationship between the full name of the steel mill and the abbreviation / alias of the steel mill name.

[0107] If the steel mill name in the user information of the preset supplier is an abbreviation or alias, the corresponding full name of the steel mill is determined in the preset user feature library according to the abbreviation / alias of the steel mill name, so as to standardize the resource data.

[0108] S402: Add the first target user characteristics to the resource data of at least one preset product line to obtain the target resource data of at least one preset product line.

[0109] S403: Store the user information of the preset supplier and the target resource data of at least one preset product line into the preset steel goods resource database.

[0110] In summary, in this embodiment, according to the user information of the preset supplier, the first target user feature of the preset supplier for steel goods is determined from the preset user feature library; the first target user feature is added to the resource data of at least one preset product line respectively to obtain the target resource data of at least one preset product line; the user information of the preset supplier and the target resource data of at least one preset product line are stored in the preset steel goods resource database. Thus, the data processing accuracy is improved.

[0111] In the above Figure 1 Based on the corresponding embodiment, the embodiment of the present application also provides another resource data update processing method. Figure 5 A flowchart of another resource data update processing method provided in an embodiment of the present application. Figure 5 As shown, in S104, the user information of the preset supplier and the resource data of at least one preset product line are stored in the preset steel goods resource database, including:

[0112] S501. Determine, from a preset user feature library, a second target user feature of the preset supplier for steel products according to the user information of the preset supplier.

[0113] For example, the second target user feature is the full name of the warehouse for steel goods. The preset user feature library includes a mapping relationship between the full name of the warehouse and the abbreviation / alias of the warehouse name.

[0114] If the warehouse name in the user information of the preset supplier is an abbreviation or alias, the corresponding full name of the warehouse is determined in the preset user feature library according to the abbreviation / alias of the warehouse name, so as to standardize the resource data.

[0115] S502: According to the second target user characteristics, corresponding user characteristics in the resource data of at least one preset product line are updated respectively to obtain target resource data of at least one preset product line.

[0116] S503: Store the user information of the preset supplier and the target resource data of at least one preset product line into the preset steel goods resource database.

[0117] In summary, in this embodiment, based on the user information of the preset supplier, the second target user characteristics of the preset supplier for steel goods are determined from the preset user characteristic library; based on the second target user characteristics, the corresponding user characteristics in the resource data of at least one preset product line are updated respectively to obtain the target resource data of at least one preset product line; the user information of the preset supplier and the target resource data of at least one preset product line are stored in the preset steel goods resource database.

[0118] In the above Figure 1 On the basis of the corresponding embodiments, the embodiments of the present application also provide a resource data display method. Figure 6 A schematic diagram of a resource data display method provided in an embodiment of the present application. Figure 6 As shown, the method also includes:

[0119] S601. Display resource data of at least one preset product line through a preset page.

[0120] The resource data of the preset product line is displayed in a table on the preset page, so that users can easily view the resource data of the preset product line.

[0121] S602: In response to a data source viewing operation for any preset product line, original steel goods resource information is displayed on a preset page.

[0122] When a user clicks on a preset product line (i.e., a data source viewing operation) on a preset page (e.g., an HTML page), the original steel goods resource information can be displayed on the preset page. Displaying resource data is to facilitate users to view important information, while displaying the original steel goods resource information is to facilitate users to view all information. Users can easily click to view which chat session (displayed in the form of a chat screenshot), which picture or which Excel sheet the resource data of this preset product line comes from.

[0123] In summary, in this embodiment, resource data of at least one preset product line is displayed through a preset page; in response to a data source viewing operation for any preset product line, the original steel-related goods resource information is displayed on the preset page. Thus, through a variety of display methods, it is convenient for users to view.

[0124] Furthermore, in response to the data source feedback operation for any preset product line, data feedback information is generated and reported to the backend. The resource data can be checked based on the data feedback information. If there are data errors or inaccuracies, the human judgment in the feedback information is added to the regression training corpus. Iterative training improves the model capability and reduces the difficulty of data collection.

[0125] The following is a description of a resource data processing device, equipment, and storage medium for steel goods provided in this application. The specific implementation process and technical effects are described above and will not be repeated below.

[0126] Figure 7 A schematic diagram of a resource data processing device for steel goods provided in an embodiment of the present application, such as Figure 7 As shown, the device comprises:

[0127] The acquisition module 701 is used to acquire the original steel goods resource information of the first user transmitted by the preset supplier.

[0128] The conversion module 702 is used to convert the original steel cargo resource information into a resource file in a plain text file format.

[0129] The extraction module 703 is used to extract the resource file according to the information of at least one preset product line of the preset supplier, using the resource data extraction model corresponding to at least one preset product line, to obtain the resource data of at least one preset product line, wherein at least one preset product line corresponds to different categories of steel goods.

[0130] The storage module 704 is used to store the user information of the preset supplier and the resource data of at least one preset product line into the preset steel goods resource database.

[0131] Furthermore, the conversion module 702 is specifically used to directly convert the text resource information into a resource file in a plain text file format if the original steel cargo resource information includes text resource information.

[0132] Furthermore, the conversion module 702 is specifically used to extract text from the non-text resource information if the original steel cargo resource information includes non-text resource information, and convert the extracted text information into a resource file in a plain text file format.

[0133] Furthermore, the conversion module 702 is specifically used for non-text resource information including: picture resource information, and / or file resource information; using a preset character recognition tool to extract text from the picture resource information, and converting the extracted text information into a resource file in a plain text file format; using a preset data collection tool to extract text from the file resource information, and converting the extracted text information into a resource file in a plain text file format.

[0134] Furthermore, the extraction module 703 is specifically used to generate a prompt word for at least one preset product line based on information of at least one preset product line; and based on the prompt word for at least one preset product line, respectively call a resource data extraction model corresponding to at least one preset product line to obtain resource data for at least one preset product line.

[0135] Furthermore, the extraction module 703 is also used to perform character string division on the resource data of each preset product line to obtain at least two resource data segments for each preset product line; and generate at least two resource files in a lightweight data exchange format for each preset product line based on the at least two resource data segments for each preset product line.

[0136] Furthermore, the storage module 704 is specifically used to determine the first target user feature of the preset supplier for steel goods from the preset user feature library based on the user information of the preset supplier; add the first target user feature to the resource data of at least one preset product line, respectively, to obtain the target resource data of at least one preset product line; store the user information of the preset supplier and the target resource data of at least one preset product line in the preset steel goods resource database.

[0137] Furthermore, the storage module 704 is specifically used to determine the second target user characteristics of the preset supplier for steel goods from the preset user characteristic library based on the user information of the preset supplier; based on the second target user characteristics, update the corresponding user characteristics in the resource data of at least one preset product line, and obtain the target resource data of at least one preset product line; store the user information of the preset supplier and the target resource data of at least one preset product line in the preset steel goods resource database.

[0138] Furthermore, the storage module 704 is also used to display resource data of at least one preset product line through a preset page; in response to a data source viewing operation for any preset product line, the original steel cargo resource information is displayed on the preset page.

[0139] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application, which electronic device may be a device with computing and processing functions.

[0140] The electronic device includes: a processor 801 and a storage medium 802. The processor 801 and the storage medium 802 are connected via a bus.

[0141] The storage medium 802 is used to store programs, and the processor 801 calls the programs stored in the storage medium 802 to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0142] Optionally, the present invention also provides a storage medium, including a program, which is used to execute the above-mentioned method embodiment when executed by a processor. In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0143] The units described 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.

[0144] In addition, each functional unit in each embodiment of the present invention 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 hardware plus software functional units.

[0145] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

Claims

1. A resource data processing method for steel goods, characterized in that: The method comprises: Obtain the original steel goods resource information of the first user transmitted by the preset supplier; Converting the original steel cargo resource information into a resource file in a plain text file format; According to the information of at least one preset product line of the preset supplier, respectively using the resource data extraction model corresponding to the at least one preset product line, extracting the resource file to obtain the resource data of the at least one preset product line, wherein the at least one preset product line corresponds to different categories of steel goods; The user information of the preset supplier and the resource data of the at least one preset product line are stored in a preset steel goods resource database.

2. The method according to claim 1, characterized in that The step of converting the original steel cargo resource information into a resource file in a plain text file format includes: If the original steel-related cargo resource information includes text resource information, the text resource information is directly converted into a resource file in the plain text file format.

3. The method according to claim 1, characterized in that The step of converting the original steel cargo resource information into a resource file in a plain text file format includes: If the original steel cargo resource information includes non-text resource information, text extraction is performed on the non-text resource information, and the extracted text information is converted into a resource file in the plain text file format.

4. The method according to claim 3, characterized in that The non-text resource information includes: picture resource information and / or file resource information; the text extraction of the non-text resource information and converting the extracted text information into the resource file in the plain text file format includes: Extracting text from the picture resource information using a preset character recognition tool, and converting the extracted text information into a resource file in the plain text file format; The file resource information is subjected to text extraction using a preset data collection tool, and the extracted text information is converted into a resource file in the plain text file format.

5. The method according to claim 1, characterized in that The step of extracting the resource file based on the information of at least one preset product line of the preset supplier using a resource data extraction model corresponding to the at least one preset product line to obtain the resource data of the at least one preset product line includes: Generating a prompt word for the at least one preset product line according to the information of the at least one preset product line; According to the prompt word of the at least one preset product line, the resource data extraction model corresponding to the at least one preset product line is called respectively to obtain the resource data of the at least one preset product line.

6. The method according to claim 1, characterized in that Before storing the user information of the preset supplier and the resource data of the at least one preset product line in the preset steel goods resource database, the method further includes: Performing character string division on the resource data of each preset product line to obtain at least two resource data segments for each preset product line; At least two resource files in a lightweight data exchange format are generated for each preset product line according to the at least two resource data segments of each preset product line.

7. The method according to claim 1, characterized in that The storing of the user information of the preset supplier and the resource data of the at least one preset product line into the preset steel goods resource database comprises: According to the user information of the preset supplier, determining the first target user feature of the preset supplier for steel goods from a preset user feature library; Adding the first target user characteristics to the resource data of the at least one preset product line respectively, to obtain the target resource data of the at least one preset product line; The user information of the preset supplier and the target resource data of the at least one preset product line are stored in the preset steel goods resource database.

8. The method according to claim 1, characterized in that The storing of the user information of the preset supplier and the resource data of the at least one preset product line into the preset steel goods resource database comprises: According to the user information of the preset supplier, determining the second target user characteristics of the preset supplier for steel goods from the preset user characteristics library; According to the second target user characteristics, corresponding user characteristics in the resource data of the at least one preset product line are updated respectively to obtain target resource data of the at least one preset product line; The user information of the preset supplier and the target resource data of the at least one preset product line are stored in the preset steel goods resource database.

9. The method according to claim 1, characterized in that: The method further comprises: Displaying resource data of at least one preset product line through a preset page; In response to a data source viewing operation for any preset product line, the original steel cargo resource information is displayed on the preset page.

10. A resource data processing device for steel goods, characterized in that: The device comprises: An acquisition module, used for acquiring the original steel goods resource information of the first user transmitted by the preset supplier; A conversion module, used for converting the original steel cargo resource information into a resource file in a plain text file format; an extraction module, configured to extract the resource file according to the information of at least one preset product line of the preset supplier, using a resource data extraction model corresponding to the at least one preset product line, to obtain resource data of the at least one preset product line, wherein the at least one preset product line corresponds to different categories of steel goods; The storage module is used to store the user information of the preset supplier and the resource data of the at least one preset product line in a preset steel goods resource database.