A cross-platform commodity data migration method, device, equipment and medium
By using semantic recognition and feature matching methods, cross-platform product data migration is automated, solving the problem of low efficiency in existing technologies and enabling efficient and accurate product data migration in financial and medical scenarios.
Patent Information
- Application Number
- CN202611342162.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-27
AI Technical Summary
Current technologies rely on manual operations for cross-platform product data migration, which is inefficient and prone to errors such as category mismatch and missing attributes, affecting the timeliness and accuracy of product listing.
By acquiring semantic features of source products through semantic recognition, and performing feature matching and filtering based on the semantic relationship graph of the target platform, the mapping and storage of product categories and attributes are automatically completed, realizing the automatic migration of product data across platforms.
It improves the efficiency of cross-platform product data migration, reduces human error, ensures data accuracy and compliance, and is suitable for fintech and healthcare scenarios.
Smart Images

Figure CN123178367A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of data processing, financial technology and medical technology, and in particular to a method, apparatus, device and medium for cross-platform commodity data migration. Background Technology
[0002] Cross-platform product data migration refers to the process of copying / synchronizing product information (such as categories and attributes) from one platform to another in batches, enabling products to be listed and sold normally on the new platform. For example, in the financial sector, financial institutions (banks / insurance / securities) migrate financial product data between different business systems or cooperative platforms; similarly, in the healthcare sector, when medical groups change their information systems or when medical alliances in different regions synchronize drug information, they migrate drug information (such as categories and attributes) from the old system to the new system.
[0003] In existing technologies, cross-platform product migration mainly relies on manual operation. Merchants need to manually compare the category systems of different platforms, fill in or convert attribute fields one by one, and repeatedly check the data format. This method is not only inefficient and time-consuming, but also prone to errors such as category mismatch and missing attributes due to fatigue or negligence, which seriously affects the timeliness and accuracy of product listing and makes it difficult to meet merchants' needs for efficient and accurate cross-platform operations.
[0004] Therefore, how to achieve automated migration of product data to improve the efficiency of cross-platform product data migration has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a cross-platform product data migration method, apparatus, computer equipment, and medium to address the problem of how to achieve automated product data migration and improve the efficiency of cross-platform product data migration.
[0006] Firstly, a cross-platform product data migration method is provided, including: Obtain at least one piece of product data to be migrated from the source platform, wherein the product data to be migrated includes the source product identifier and the source product description data; For each piece of product data to be migrated, semantic recognition is performed on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features; Based on the semantic features of the source product, feature matching is performed in the semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes. The node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. Filter all the intermediate product categories to obtain the target product category, and filter all the intermediate product attributes to obtain the target product attributes; The source product identifier is associated with the target product category and the target product attribute to obtain the association result, and the association result is stored in the target platform.
[0007] Secondly, a cross-platform product data migration device is provided, including: The source data acquisition module is used to acquire at least one piece of product data to be migrated from the source platform. The product data to be migrated includes the source product identifier and the source product description data. The semantic recognition module is used to perform semantic recognition on the source product description data of each piece of product data to be migrated, and obtain the corresponding source product semantic features. The feature matching module is used to perform feature matching in a semantic relationship graph constructed according to the rules of the target platform based on the semantic features of the source product, to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes, and the node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. The target filtering module is used to filter all the intermediate product categories to obtain the target product categories and to filter all the intermediate product attributes to obtain the target product attributes. The result storage module is used to associate the source product identifier with the target product category and the target product attribute to obtain the association result, and then store the association result in the target platform.
[0008] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned cross-platform commodity data migration method.
[0009] Fourthly, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the aforementioned cross-platform product data migration method.
[0010] The advantages of this application compared to existing technologies are as follows: For each piece of product data to be migrated from the source platform, this application first performs semantic recognition to obtain the corresponding semantic features of the source product; then, based on the semantic features of the source product, feature matching is performed in a semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute; all intermediate product categories are filtered to obtain the target product category; all intermediate product attributes are filtered to obtain the target product attribute; finally, the source product identifier is associated with the target product category and the target product attribute to obtain the association result, and the association result is stored in the target platform. Compared to existing technologies that rely on manual operation to perform cross-platform product migration, this application, when dealing with product data to be migrated, sequentially performs semantic recognition, feature matching, and category attribute filtering on the product data to be migrated, and finally stores the filtered category attributes after association in the target platform. The entire process realizes automated cross-platform migration of product data. The method of this application is applicable to audio and video synchronization detection platforms in fintech and healthcare scenarios, and can effectively improve the efficiency of cross-platform product data migration based on the above effects. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a schematic diagram of an application environment for a cross-platform product data migration method provided in Embodiment 1 of this application; Figure 2 This is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 1 of this application; Figure 3 This is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 2 of this application; Figure 4 This is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 3 of this application; Figure 5 This is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 4 of this application; Figure 6 This is a schematic diagram of the structure of a cross-platform commodity data migration device provided in Embodiment 5 of this application; Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment Six of this application; Figure 8This is a schematic diagram of the structure of a computer device provided in Embodiment 7 of this application. Detailed Implementation
[0013] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. The application will be described in detail below through specific embodiments.
[0014] The cross-platform product data migration method provided in Embodiment 1 of this application can be applied to, for example, Figure 1 In this application environment, the client communicates with the server via a network. Clients include, but are not limited to, PDAs, desktop computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, cloud terminal devices, personal digital assistants (PDAs), mobile phones, wearable devices, and other computer devices. The server can be a standalone server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0015] For example, in financial scenarios, when it is necessary to migrate financial product data between different business systems or cooperative platforms, this application first performs semantic recognition on the source product description data of the product data to be migrated after obtaining the product data from the source platform, to obtain the corresponding source product semantic features; then, it performs feature matching in a semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute; finally, it filters all intermediate product categories and intermediate product attributes to obtain the target product category and target product attribute, and then stores the association results including the source product identifier, target product category, and target product attribute into the target platform, thereby realizing automated cross-platform migration of product data and improving the efficiency of cross-platform product data migration.
[0016] For example, in the medical field, when changing information systems or synchronizing drug information between medical alliances in different regions, the same processing flow as in the financial scenario is used to achieve automated cross-platform migration of product data, thereby improving the efficiency of cross-platform product data migration.
[0017] like Figure 2The diagram shown is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 1 of this application, which may include the following steps: Step S20: Obtain at least one piece of product data to be migrated from the source platform.
[0018] The product data to be migrated includes source product identifiers and source product description data. The source platform refers to the e-commerce platform or business system where the product data is currently located. The product data to be migrated refers to the original product information records that need to be copied, converted, and synchronized to the target platform. The source product identifier is an ID that uniquely identifies a product on the source platform, such as the code for a financial product or the code for a medical drug. The source product description data refers to text or structured information describing the product's attributes, including fields such as product title, category name, specifications, price, and inventory.
[0019] Step S21: For each piece of product data to be migrated, perform semantic recognition on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features.
[0020] Among them, the source product semantic features are a set of structured features extracted from product description data.
[0021] Step S22: Based on the semantic features of the source product, perform feature matching in the semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute.
[0022] In the semantic relationship graph, the nodes are intermediate product categories and intermediate product attributes. The node information is a semantic description of the corresponding intermediate product category or a semantic description of the corresponding intermediate product attribute (such as name, vector representation, or enumeration value list). The edge between any two nodes represents the semantic description of the association between the nodes.
[0023] The intermediate product categories are the target platform category candidate set obtained after semantic matching (usually returning the Top N, such as Top 3). The intermediate product attributes are the target platform attribute mapping candidate set obtained after semantic matching.
[0024] Step S23: Filter all the intermediate product categories to obtain the target product category, and filter all the intermediate product attributes to obtain the target product attributes.
[0025] The process involves using a pre-defined rule engine to perform "hard constraint" verification on the candidate intermediate data generated by the matching process to achieve filtering. The engine then loads the merchant's custom mapping rules (such as "all fund products must be mapped to the 'public fund' category"), performs rule matching and conflict detection, and finally produces a uniquely determined target product category and target product attributes.
[0026] Step S24: Associate the source product identifier with the target product category and the target product attribute to obtain the association result, and store the association result in the target platform.
[0027] In this process, the source product identifier is bound to the target product category and target product attributes determined through semantic matching and rule verification, forming a complete mapping record, which is the association result. The target platform refers to the target e-commerce platform or business system to which the product data needs to be migrated.
[0028] The embodiments of steps S20 to S24 of this application, through the construction of a semantic relationship graph combined with a two-layer matching mechanism of screening, realize the upgrade of cross-platform migration of commodity data from manual operation to intelligent automation, thereby improving the efficiency of cross-platform data migration. In the financial field, fund product data can be quickly and accurately synchronized between different distribution platforms, reducing compliance risks and operating costs caused by category mismatch or attribute loss; in the medical field, when drug and consumable data are replaced in the HIS system or synchronized between medical alliances, category mapping and attribute standardization can be automatically completed, reducing problems such as prescription flow disruptions or medical insurance settlement caused by manual entry errors.
[0029] like Figure 3 The diagram shown is a flowchart of a cross-platform product data migration method provided in Embodiment 2 of this application. The source product semantic features include at least one target keyword and a source feature vector. In step S21 above, semantic recognition is performed on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features, including the following steps: Step S30: Perform word segmentation on the source product description data to obtain at least one target keyword.
[0030] Word segmentation is the process of dividing continuous natural language text into independent word sequences according to semantic units. Target keywords are core entity words and feature words extracted from product description text, including product names, brands, models, specifications, functional attributes, and other words that have discriminative significance for subsequent category matching and attribute mapping. More specifically, dictionary-based word segmentation methods or statistical model-based word segmentation methods can be used.
[0031] Step S31: Construct a model using preset feature vectors to build the source feature vectors corresponding to the source product description data.
[0032] Feature vector construction models are machine learning models that convert natural language text into fixed-length numerical arrays (vectors). This model encodes the semantic information of the text as coordinate points in a mathematical space, making semantically similar texts appear closer together in the vector space, facilitating similarity calculations and semantic matching by the computer. More specifically, feature vector construction models can be NLP (Natural Language Processing) models.
[0033] The source feature vector is a high-dimensional numerical vector obtained by encoding the source product description data through a vectorization model. It is the digital representation of the source product in the semantic space and is used for subsequent similarity comparison with node vectors in the semantic relationship graph.
[0034] For steps S30-S31, this application combines word segmentation and vector construction to transform unstructured product text descriptions into structured semantic features (keywords + vectors), laying the foundation for subsequent graph matching. In the financial field, key features such as investment type and risk level of fund products can be accurately extracted and encoded, avoiding misjudgments caused by manual reading and classification; in the medical field, the automatic identification of structured features such as drug names, dosage forms, and specifications significantly improves data standardization efficiency and reduces manual entry and verification costs.
[0035] Optionally, based on the semantic features of the source product, feature matching is performed in a semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attributes, including: By combining the at least one target keyword and the names of nodes in the semantic relationship graph, the nodes in the semantic relationship graph are filtered to obtain at least one candidate node, the candidate node including candidate product category and candidate product attribute; Obtain the candidate feature vector for each candidate node, wherein the candidate feature vector is constructed based on the node information of the candidate node; Calculate the vector similarity between the source feature vector and each of the candidate feature vectors; Candidate product categories whose vector similarity is greater than a preset similarity threshold are used as the corresponding intermediate product categories; Candidate product attributes whose vector similarity is greater than a preset similarity threshold are used as the corresponding intermediate product attributes.
[0036] The target keywords are the core words extracted from the source product description data in step S30, used to quickly locate relevant nodes in the graph. These keywords are textual expressions of the core features of the source products, such as product names, category terms, and specification terms. Candidate nodes are a set of alternative nodes with high semantic relevance to the source products, retained from tens of thousands of nodes in the entire graph after initial keyword screening. Candidate nodes include two categories: candidate product categories and candidate product attributes.
[0037] Each node in the semantic relationship graph represents a category or attribute definition on a target platform side. Category nodes contain information such as category name, hierarchical path, and category ID; attribute nodes contain information such as attribute name, data type, and enumerated value list.
[0038] First, the target keywords are used to perform fast text matching retrieval in the graph, filtering out a set of candidate nodes whose names are related to the keywords from a massive number of nodes.
[0039] Node information consists of semantic descriptions stored within the semantic relationship graph nodes, including structured or semi-structured information such as node name, node description text, and the path to which the node belongs. Candidate feature vectors are generated by converting the names and descriptions of candidate nodes into fixed-dimensional numerical vectors using a pre-defined vectorization model (the same model used in step S31), and are used to calculate similarity with the source feature vectors. This vector can be pre-calculated offline and stored in the node attributes to avoid repeated calculations during online matching. Cosine similarity can be used to calculate vector similarity.
[0040] The preset similarity threshold is a pre-defined similarity score threshold (e.g., 0.80) used to filter out candidate nodes with low matching scores. Only candidate nodes with similarity scores exceeding this threshold are retained as intermediate results; those below the threshold are considered irrelevant and discarded. This application employs a two-stage matching mechanism of "coarse screening + precise calculation" to quickly filter massive nodes in the semantic relationship graph into the candidate range using keywords. Then, precise vector similarity calculation and threshold screening ensure matching accuracy, thus improving matching precision. In the financial sector, the matching of fund product categories and attributes can be quickly completed within a large-scale product database, supporting real-time listing requirements. In the medical field, the standardized mapping of drug data reduces the risk of prescription circulation due to incorrect category attribution.
[0041] like Figure 4 The diagram shown is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 3 of this application. Step S23 above, which involves filtering all intermediate product categories to obtain the target product category and filtering all intermediate product attributes to obtain the target product attributes, may include the following steps: Step S40: According to the preset category rule engine, each intermediate product category is verified to obtain the corresponding category verification result. Based on the intermediate product categories that pass the category verification result, the target product category of the product data to be migrated on the target platform is generated.
[0042] The preset category rule engine is a collection of predefined category mapping rules stored in the system, typically in the form of "if-then" rules. Merchants customize these rules according to their business needs, such as "all products originating from the 'mobile phone' platform must be mapped to the 'smartphone' category on the target platform" or "medicines with the 'imported' label must be classified under the 'imported medicines' subcategory." The rule engine is responsible for loading these rules and validating the input data.
[0043] The category verification result is the judgment status output by the category rule engine after performing rule matching on each intermediate category, including "pass" (meets the rule requirements and can be used as the target category), "fail" (does not meet the rule requirements and is rejected), or "awaiting manual intervention" (rule conflict or cannot be determined, manual intervention is required).
[0044] The target product category is a standard category that has been verified by the category rule engine and can be directly used for listing operations on the target platform.
[0045] Step S41: According to the preset attribute rule engine, each intermediate product attribute is verified to obtain the corresponding attribute verification result. Based on the intermediate product attributes whose attribute verification results are passed, the target product attributes of the product data to be migrated on the target platform are generated.
[0046] The preset attribute rule engine defines a set of validation and conversion rules for product attribute fields. Examples include: "Price fields must remove currency symbols and retain two decimal places," "Funds with a risk level of R3 must have a matching R3 risk warning," and "Drugs classified as 'Class A' under medical insurance must be associated with the 'Medical Insurance Catalog Number' field." These rules ensure that attribute data conforms to the target platform's data format and business specifications.
[0047] The attribute validation result is the status output by the attribute rule engine after performing validation on each intermediate product attribute, including "passed" (correct format and conforms to business rules), "failed" (incorrect format or violates rules), and "needs repair" (can be corrected through the automatic repair mechanism).
[0048] The target product attributes are a set of attribute key-value pairs that have been validated and standardized in format, and can ultimately be directly used for listing on the target platform.
[0049] For steps S40-S41, this application uses a rule engine verification mechanism to ensure the compliance and format standardization of the migrated data. In the financial sector, automatic verification of hard constraints such as risk level and fee format before fund products are listed can effectively reduce compliance risks and avoid rejection by distribution platforms due to data format errors. In the medical field, rule verification and automatic completion of drug categories and attributes reduce manual input errors and ensure the accuracy of convenient prescription circulation and medical insurance settlement.
[0050] Optionally, generating the target product category for the product data to be migrated on the target platform based on the intermediate product categories whose category verification results are passed includes: Obtain the format rules of the target platform; According to the format rules, the intermediate product categories that have passed the category verification are format-standardized to obtain the standardization result; The standardized results are anomaly detected by a pre-set anomaly data monitoring model to obtain the corresponding detection results; If the detection result is abnormal, the standardized result is corrected to obtain the corrected standardized result, and the corrected standardized result is used as the target product category of the product data to be migrated on the target platform. If the test result is normal, the standardized result will be used as the target product category of the product data to be migrated on the target platform.
[0051] The format rules are a set of format requirements for product data fields set by the target platform, including but not limited to naming conventions for category names (such as the requirement to use the full standard category name of the platform), category coding format (such as pure numbers or a combination of letters and numbers), field length limits, required field requirements, and special character filtering rules.
[0052] Format standardization is the process of converting and standardizing intermediate categories that have passed verification according to the format rules of the target platform. This includes, but is not limited to, operations such as unifying the category name format (e.g., converting full-width and half-width characters, and unifying uppercase and lowercase), converting the category encoding format, removing illegal characters, and filling in missing fields.
[0053] An anomaly detection model is a rule-based or machine learning algorithm-based detection model used to identify anomalies in standardized category data, such as misspelled category names, mismatched category codes and names, missing required fields, and incomplete category hierarchies. This model can be trained on historical data to obtain anomaly detection rules or can directly use a predefined set of detection rules. The anomaly detection model can be a deep learning model, such as a Long Short-Term Memory (LSTM) network. The detection result is the judgment conclusion output by the anomaly detection model, indicating whether the standardized result is "normal" or "abnormal."
[0054] If the detection result is abnormal, the automatic repair logic is executed, including but not limited to automatically completing or correcting the category code based on the category name, restoring missing values from backup fields, and calling an external knowledge base to obtain the correct value. The repair logic corresponds one-to-one with the abnormality type.
[0055] It should be noted that the process of generating the target product attributes of the product data to be migrated on the target platform based on the intermediate product attributes whose attribute verification results are passed is the same as described above.
[0056] This application improves the final compliance and integrity of migrated data through the aforementioned mechanism of "format standardization + anomaly detection + automatic repair," laying a solid data quality foundation for high-success-rate batch uploading. In the financial sector, automatic verification and repair of fund category codes and names can avoid the risk of platform rejection and uploading delays due to non-compliant data formats. In the medical sector, the standardization of drug category levels and codes, as well as the automatic completion of medical insurance catalog numbers, significantly reduces manual verification steps and lowers obstacles to prescription issuance and medical insurance settlement caused by data errors.
[0057] like Figure 5 The diagram shown is a flowchart illustrating a cross-platform product data migration method provided in Embodiment 4 of this application. Step S24, which involves storing the association result in the target platform, may include the following steps: Step S50: Classify all the source product identifiers to obtain at least one identifier cluster.
[0058] Based on a preset classification strategy (such as hashing by product ID, by the store to which the product belongs, or by product category), all product identifiers to be migrated are divided into different logical groups, and each group is called an identifier cluster.
[0059] Step S51: Based on the cluster identifier of the identified cluster, match a migration execution node for each identified cluster in the preset node service list.
[0060] The node service list is used to store the mapping relationship between the cluster identifier and the migration execution node.
[0061] The preset node service list is a list of all available migration execution nodes registered when the system starts. It records information such as the IP address, port, current load status, health status, and the identification cluster range mapping relationship that the node is responsible for processing.
[0062] The migration execution node is a server instance (physical machine, virtual machine, or container) that actually performs the product data migration task. Each node runs independently and has the ability to call the target platform's API and process data uploading.
[0063] Step S52: For each migration execution node, match the corresponding migration subtask from the subtask database according to the source product identifier of the corresponding identifier cluster.
[0064] The subtask database stores all migration subtasks to be executed. Each subtask records migration information for a single product, including the source product identifier, target category, target attributes, and migration status. It can be stored in a Redis queue or a relational database.
[0065] Migration subtasks are the smallest unit of migration tasks, corresponding to a source product identifier and the encapsulation of all its migration configuration data. They are the basic unit for actual consumption and processing by nodes.
[0066] Step S53: According to the migration subtask, call the migration interface of the target platform for the migration execution node, and migrate the corresponding association result to the target platform through the migration interface.
[0067] The target platform's migration interface is used to receive product data and perform listing or update operations.
[0068] For steps S50-S53, this application constructs a distributed parallel migration framework through the four-step process of "classification - node matching - subtask retrieval - interface invocation," which intelligently segments massive migration tasks according to product identifiers and allocates them to different execution nodes. In the financial field, hundreds of fund products can be quickly listed on the distribution platform under multi-node parallel processing, significantly shortening the product launch cycle and seizing market opportunities; in the medical field, thousands of drug data can be imported in parallel during HIS system switching, effectively shortening the system downtime window and ensuring the continuity of clinical operations.
[0069] Optionally, the cross-platform product data migration method of this application also includes: Perform a difference check on the full data of the source platform and the full data of the target platform to obtain the difference check results; When the difference check result indicates that a difference exists, the difference-corresponding product data is determined, and the difference-corresponding product data is used as product data to be migrated. The process then returns to the step of obtaining at least one product data to be migrated from the source platform.
[0070] The full data of the source platform is a complete collection of all product data that has been listed or can be migrated in the source platform, including a current snapshot of all fields such as product identifier, category, price, inventory, status, and attributes.
[0071] The full data from the target platform is a complete collection of migrated product data from the target platform, which also includes the current status of all product fields and is used for comparison with the source platform data.
[0072] The discrepancy check is a process of comparing each field of the same product on both platforms with the source platform data as a benchmark. The purpose is to find inconsistencies in the data, including differences in price, inventory, and inconsistencies in listing status.
[0073] Discrepancy product data is a collection of target platform product records that are found to be inconsistent with the source platform data during discrepancy checks. It includes which specific fields are inconsistent and the direction of the discrepancy (source platform value vs. target platform value).
[0074] The product data to be migrated refers to product data that needs to be re-migrated or synchronized. Once discrepancies in product data are identified, the system reintegrates them into the migration process, triggering a new round of matching, verification, and migration operations to correct the data discrepancies.
[0075] This application, through the aforementioned steps, ensures that the migrated data remains consistent with the source platform throughout its lifecycle by periodically and automatically comparing the full data across both platforms and promptly correcting any discrepancies. In the financial sector, daily automatic reconciliation and correction of key information such as fund net asset value, fees, and risk levels effectively reduces compliance risks caused by data asynchrony, ensuring investors receive accurate fund information. In the healthcare sector, real-time alignment of drug inventory and prices ensures data consistency in prescription and billing processes, preventing medication errors or financial disputes due to data discrepancies.
[0076] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0077] In one embodiment, a cross-platform product data migration device is provided, which corresponds one-to-one with the cross-platform product data migration method described in the above embodiments. For example... Figure 6 As shown, the cross-platform product data migration device includes a source data acquisition module 601, a semantic recognition module 602, a feature matching module 603, a target filtering module 604, and a result storage module 605. Detailed descriptions of each functional module are as follows: The source data acquisition module 601 is used to acquire at least one piece of product data to be migrated from the source platform, wherein the product data to be migrated includes the source product identifier and the source product description data; The semantic recognition module 602 is used to perform semantic recognition on the source product description data of each piece of product data to be migrated, and obtain the corresponding source product semantic features. The feature matching module 603 is used to perform feature matching in a semantic relationship graph constructed according to the rules of the target platform based on the semantic features of the source product, to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes, and the node information is a semantic description of the corresponding intermediate product category or a semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. The target filtering module 604 is used to filter all the intermediate product categories to obtain the target product categories and to filter all the intermediate product attributes to obtain the target product attributes. The result storage module 605 is used to associate the source product identifier with the target product category and the target product attribute to obtain the association result, and store the association result in the target platform.
[0078] In one embodiment, the semantic recognition module 602 includes: The word segmentation processing unit is used to segment the source product description data to obtain at least one target keyword; The vector construction unit is used to construct the source feature vector corresponding to the source product description data by building a model through a preset feature vector.
[0079] In one embodiment, the target filtering module 604 includes: The first filtering unit is used to verify each intermediate product category according to a preset category rule engine, obtain the corresponding category verification result, and generate the target product category of the product data to be migrated on the target platform according to the intermediate product category whose category verification result is passed. The second filtering unit is used to verify each intermediate product attribute according to a preset attribute rule engine, obtain the corresponding attribute verification result, and generate the target product attribute of the product data to be migrated on the target platform based on the intermediate product attribute whose attribute verification result is passed.
[0080] In one embodiment, the result storage module 605 includes: The identification classification unit is used to classify all the source product identifications to obtain at least one identification cluster; A node matching unit is used to match a migration execution node for each identified cluster from a preset node service list based on the cluster identifier of the identified cluster. The subtask matching unit is used to match the corresponding migration subtask from the subtask database for each migration execution node based on the source product identifier of the corresponding identifier cluster. The result migration unit is used to call the migration interface of the target platform for the migration execution node according to the migration subtask, and migrate the corresponding associated result to the target platform through the migration interface.
[0081] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with external clients via a network connection. When the computer program is executed by the processor, it implements the functions or steps of a cross-platform commodity data migration method on the server side.
[0082] In one embodiment, a computer device is provided, which may be a client, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with an external server via a network connection. When executed by the processor, the computer program implements the client-side functions or steps of a cross-platform commodity data migration method.
[0083] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps: Obtain at least one piece of product data to be migrated from the source platform, wherein the product data to be migrated includes the source product identifier and the source product description data; For each piece of product data to be migrated, semantic recognition is performed on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features; Based on the semantic features of the source product, feature matching is performed in the semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes. The node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. Filter all the intermediate product categories to obtain the target product category, and filter all the intermediate product attributes to obtain the target product attributes; The source product identifier is associated with the target product category and the target product attribute to obtain the association result, and the association result is stored in the target platform.
[0084] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Obtain at least one piece of product data to be migrated from the source platform, wherein the product data to be migrated includes the source product identifier and the source product description data; For each piece of product data to be migrated, semantic recognition is performed on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features; Based on the semantic features of the source product, feature matching is performed in the semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes. The node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. Filter all the intermediate product categories to obtain the target product category, and filter all the intermediate product attributes to obtain the target product attributes; The source product identifier is associated with the target product category and the target product attribute to obtain the association result, and the association result is stored in the target platform.
[0085] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device described above can be referred to the relevant descriptions on the server side and client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.
[0086] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0087] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0088] It should be noted that if any AI models, software tools, or components not belonging to the applicant appear in the embodiments of this application, they are merely illustrative examples and do not represent actual use. All user personal information involved in the embodiments of this application is authorized (with the knowledge and consent) by the relevant parties or fully authorized by all parties, and the executing entity may obtain it through various legal and compliant means. The collection, storage, use, processing, transmission, provision, and disclosure of the information, data, and signals involved all comply with relevant laws and regulations and do not violate public order and good morals.
[0089] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for migrating product data across platforms, characterized in that, include: Obtain at least one piece of product data to be migrated from the source platform, wherein the product data to be migrated includes the source product identifier and the source product description data; For each piece of product data to be migrated, semantic recognition is performed on the source product description data of the product data to be migrated to obtain the corresponding source product semantic features; Based on the semantic features of the source product, feature matching is performed in the semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes. The node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. Filter all the intermediate product categories to obtain the target product category, and filter all the intermediate product attributes to obtain the target product attributes; The source product identifier is associated with the target product category and the target product attribute to obtain the association result, and the association result is stored in the target platform.
2. The cross-platform product data migration method as described in claim 1, characterized in that, The source product semantic features include at least one target keyword and a source feature vector. The semantic recognition of the source product description data of the product data to be migrated to obtain the corresponding source product semantic features includes: The source product description data is segmented to obtain at least one target keyword; A model is constructed using preset feature vectors to build source feature vectors corresponding to the source product description data.
3. The cross-platform product data migration method as described in claim 2, characterized in that, Based on the semantic features of the source product, feature matching is performed in a semantic relationship graph constructed according to the rules of the target platform to obtain at least one intermediate product category and intermediate product attributes, including: By combining the at least one target keyword and the names of nodes in the semantic relationship graph, the nodes in the semantic relationship graph are filtered to obtain at least one candidate node, the candidate node including candidate product category and candidate product attribute; Obtain the candidate feature vector for each candidate node, wherein the candidate feature vector is constructed based on the node information of the candidate node; Calculate the vector similarity between the source feature vector and each of the candidate feature vectors; Candidate product categories whose vector similarity is greater than a preset similarity threshold are used as the corresponding intermediate product categories; Candidate product attributes whose vector similarity is greater than a preset similarity threshold are used as the corresponding intermediate product attributes.
4. The cross-platform product data migration method as described in claim 1, characterized in that, The process of filtering all intermediate product categories to obtain target product categories and filtering all intermediate product attributes to obtain target product attributes includes: According to the preset category rule engine, each intermediate product category is verified to obtain the corresponding category verification result. Based on the intermediate product category whose category verification result is passed, the target product category of the product data to be migrated on the target platform is generated. According to the preset attribute rule engine, each intermediate product attribute is validated to obtain the corresponding attribute validation result. Based on the intermediate product attributes whose attribute validation results are passed, the target product attributes of the product data to be migrated on the target platform are generated.
5. The cross-platform product data migration method as described in claim 4, characterized in that, The step of generating the target product category on the target platform for the intermediate product category whose category verification result is passed includes: Obtain the format rules of the target platform; According to the format rules, the intermediate product categories that have passed the category verification are format-standardized to obtain the standardization result; The standardized results are anomaly detected by a pre-set anomaly data monitoring model to obtain the corresponding detection results; If the detection result is abnormal, the standardized result is corrected to obtain the corrected standardized result, and the corrected standardized result is used as the target product category of the product data to be migrated on the target platform. If the test result is normal, the standardized result will be used as the target product category of the product data to be migrated on the target platform.
6. The cross-platform product data migration method as described in claim 1, characterized in that, The step of storing the association result in the target platform includes: All the source product identifiers are classified to obtain at least one identifier cluster; Based on the cluster identifier of the identified cluster, a migration execution node is matched for each identified cluster in a preset node service list. The node service list is used to store the mapping relationship between the cluster identifier of the identified cluster and the migration execution node. For each migration execution node, a corresponding migration subtask is matched from the subtask database based on the source product identifier of the corresponding identifier cluster. According to the migration subtask, the migration interface of the target platform is called for the migration execution node, and the corresponding associated results are migrated to the target platform through the migration interface.
7. The cross-platform product data migration method as described in any one of claims 1 to 6, characterized in that, Also includes: Perform a difference check on the full data of the source platform and the full data of the target platform to obtain the difference check results; When the difference check result indicates that a difference exists, the difference-corresponding product data is determined, and the difference-corresponding product data is used as product data to be migrated. The process then returns to the step of obtaining at least one product data to be migrated from the source platform.
8. A cross-platform product data migration device, characterized in that, include: The source data acquisition module is used to acquire at least one piece of product data to be migrated from the source platform. The product data to be migrated includes the source product identifier and the source product description data. The semantic recognition module is used to perform semantic recognition on the source product description data of each piece of product data to be migrated, and obtain the corresponding source product semantic features. The feature matching module is used to perform feature matching in a semantic relationship graph constructed according to the rules of the target platform based on the semantic features of the source product, to obtain at least one intermediate product category and intermediate product attribute. The nodes in the semantic relationship graph are intermediate product categories and intermediate product attributes, and the node information is the semantic description of the corresponding intermediate product category or the semantic description of the corresponding intermediate product attribute. The edge between any two nodes represents the semantic description of the association between the nodes. The target filtering module is used to filter all the intermediate product categories to obtain the target product categories and to filter all the intermediate product attributes to obtain the target product attributes. The result storage module is used to associate the source product identifier with the target product category and the target product attribute to obtain the association result, and then store the association result in the target platform.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the cross-platform commodity data migration method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the cross-platform commodity data migration method as described in any one of claims 1 to 7.
