Data interaction link establishment method and device, equipment, medium and product
By automatically retrieving interface parameters from preset interface documents and generating configuration files, the problem of low integration efficiency with e-commerce platforms is solved, an efficient data interaction link is established, and the integration efficiency and product management efficiency of enterprise management systems are improved.
Patent Information
- Application Number
- CN202511697612.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-02-24
AI Technical Summary
Existing technologies suffer from low integration efficiency with e-commerce platforms, leading to low integration efficiency between enterprise management systems and target applications.
By identifying the target application's identifier information, the system automatically retrieves the corresponding interface parameters from the preset interface documentation, generates the target management system's configuration file, and invokes the interaction protocol to establish a data interaction link.
It improved the efficiency of integration, reduced errors and omissions caused by human factors, achieved unified management of multiple e-commerce platforms, and improved the efficiency of enterprises in managing their products.
Smart Images

Figure CN121560799A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of e-commerce platform management, and in particular to a method, apparatus, device, medium and product for establishing a data interaction link. Background Technology
[0002] Currently, with the rapid development of the e-commerce industry, the types and number of e-commerce platforms are also increasing, each boasting a large user base and unique business models. For businesses, in order to expand their operations, they often choose to conduct business simultaneously on multiple e-commerce platforms.
[0003] In related technologies, in order to facilitate unified management of goods, it is necessary to obtain corresponding data about the goods from different e-commerce platforms. Therefore, it is necessary to connect with different e-commerce platforms to obtain data about the goods.
[0004] However, traditional technologies suffer from low integration efficiency when connecting with e-commerce platforms. Summary of the Invention
[0005] Therefore, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium, and computer program product for establishing a data interaction link to address the aforementioned technical problems.
[0006] Firstly, this application provides a method for establishing a data interaction link, the method comprising:
[0007] Identify the target application's identification information; the target application includes at least two e-commerce applications of different types;
[0008] The interface parameters corresponding to the identification information are determined from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0009] The target management system generates a configuration file based on the interface parameters, calls the interaction protocol corresponding to the configuration file and the target application, and establishes a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0010] In one embodiment, generating a configuration file for the target management system based on interface parameters includes:
[0011] According to the preset conversion rules, the interface parameters are converted into system variables of the target management system;
[0012] A configuration file is generated based on system variables and the original system variables of the target management system.
[0013] In one embodiment, the data interaction link between the terminal corresponding to the target application and the configuration file is established by invoking the interaction protocol corresponding to the configuration file and the target application, including:
[0014] The configuration file is invoked to determine the interaction path between the target management system and the target application;
[0015] According to the interaction protocol and based on the interaction path, a connection request is sent to the terminal corresponding to the target application, and a data interaction link is established based on the connection request.
[0016] In one embodiment, the interface parameters corresponding to the identification information are determined from a preset interface document, including:
[0017] Input the identification information into the preset large model, and use the preset large model to identify the preset interface document and determine the interface parameters.
[0018] In one embodiment, the method further includes:
[0019] For each category of e-commerce applications, determine the corresponding interface modules for the e-commerce applications;
[0020] Based on the API documentation of e-commerce applications, determine the API parameters corresponding to the API modules;
[0021] Based on the mapping relationship between interface parameters and the identification information of e-commerce applications, a preset interface document is established.
[0022] In one embodiment, the method further includes:
[0023] Based on the interaction link, obtain data information associated with the target product;
[0024] Based on the data, management data for the target products is generated.
[0025] Secondly, this application also provides a data interaction link establishment apparatus, the apparatus comprising:
[0026] The identification information acquisition module is used to determine the identification information of the target application; the target application includes at least two e-commerce applications of different types.
[0027] The interface parameter determination module is used to determine the interface parameters corresponding to the identification information from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0028] The interaction link establishment module is used to generate a configuration file for the target management system based on interface parameters, call the interaction protocol corresponding to the configuration file and the target application, and establish a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0029] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0030] Identify the target application's identification information; the target application includes at least two e-commerce applications of different types;
[0031] The interface parameters corresponding to the identification information are determined from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0032] The target management system generates a configuration file based on the interface parameters, calls the interaction protocol corresponding to the configuration file and the target application, and establishes a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0034] Identify the target application's identification information; the target application includes at least two e-commerce applications of different types;
[0035] The interface parameters corresponding to the identification information are determined from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0036] The target management system generates a configuration file based on the interface parameters, calls the interaction protocol corresponding to the configuration file and the target application, and establishes a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0037] Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:
[0038] Identify the target application's identification information; the target application includes at least two e-commerce applications of different types;
[0039] The interface parameters corresponding to the identification information are determined from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0040] The target management system generates a configuration file based on the interface parameters, calls the interaction protocol corresponding to the configuration file and the target application, and establishes a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0041] The aforementioned method, apparatus, device, medium, and product for establishing a data interaction link first determine the identification information of the target application; the target application includes at least two e-commerce applications of different types; then, the interface parameters corresponding to the identification information are determined from a preset interface document; the preset interface document includes the mapping relationship between the identification information of different e-commerce applications and their corresponding interface parameters; finally, a configuration file of the target management system is generated based on the interface parameters, and the configuration file and the interaction protocol corresponding to the target application are called to establish a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application. This application adopts the above method, which automatically searches for the corresponding interface parameters from the preset interface document by determining the identification information of the target application, avoiding the tedious process of manually searching and configuring parameters, and improving the integration efficiency; moreover, generating the configuration file of the target management system based on the interface parameters makes the integration process more standardized and regulated, reducing errors and omissions caused by human factors; furthermore, by using the target management system to achieve unified management of multiple e-commerce platforms, after establishing the data interaction link, it is possible to efficiently acquire and process product data from different e-commerce platforms, improving the enterprise's efficiency in managing products, thereby solving the problem of low integration efficiency between enterprise management systems and target applications in the prior art. Attached Figure Description
[0042] Figure 1 A flowchart illustrating a method for establishing a data interaction link as provided in some embodiments of this application;
[0043] Figure 2 A flowchart illustrating the generation of configuration files provided for some embodiments of this application;
[0044] Figure 3 Flowcharts for establishing data interaction links provided in some embodiments of this application;
[0045] Figure 4 A flowchart for establishing a preset interface document provided for some embodiments of this application;
[0046] Figure 5 A flowchart illustrating the generation of management data for target products, provided for some embodiments of this application;
[0047] Figure 6 A structural block diagram of a data interaction link establishment apparatus provided in some embodiments of this application;
[0048] Figure 7 This is an internal structural diagram of a computer device provided in some embodiments of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0050] The data interaction link establishment method provided in this application embodiment can be applied to a terminal with an enterprise management system. The enterprise management system includes an enterprise multi-platform management system, which is responsible for connecting with the e-commerce platforms that the enterprise cooperates with to obtain corresponding product data from different e-commerce platforms, thereby achieving universal management of products. The terminal includes, but is not limited to, devices such as computers and personal laptops.
[0051] Specifically, when an enterprise needs to connect to a new application (including but not limited to e-commerce platforms), the terminal executes the data interaction link establishment method provided in this application embodiment. First, the identification information of the target application is determined; the target application includes at least two different types of e-commerce applications; then, the interface parameters corresponding to the identification information are determined from a preset interface document; the preset interface document includes the mapping relationship between the identification information of different e-commerce applications and the corresponding interface parameters; finally, a configuration file of the target management system is generated based on the interface parameters, and the configuration file and the interaction protocol corresponding to the target application are called to establish a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0052] In this way, by determining the identification information of the target application, the corresponding interface parameters are automatically retrieved from the preset interface documents, avoiding the tedious process of manually searching and configuring parameters, thus improving the integration efficiency. Furthermore, the configuration file of the target management system is generated based on the interface parameters, making the integration process more standardized and regulated, reducing errors and omissions caused by human factors. In addition, by using the target management system to achieve unified management of multiple e-commerce platforms and establishing a data interaction link, it is possible to efficiently acquire and process product data from different e-commerce platforms, improving the enterprise's efficiency in managing products, thereby solving the problem of low integration efficiency between enterprise management systems and target applications in existing technologies.
[0053] In one embodiment, such as Figure 1 As shown, this method is applied to Figure 1 Taking a terminal as an example, it can be understood that this method can also be applied to a server, and to a system that includes both a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0054] Step 102: Determine the identification information of the target application.
[0055] The target applications are the new e-commerce platforms that the enterprise's EDA (E-commerce Data Automation) multi-platform management system needs to interface with. These e-commerce platforms have different business models and technical architectures. To expand its business scale, the enterprise needs to conduct business on multiple such e-commerce platforms. Therefore, the EDA multi-platform management system needs to interface with these e-commerce platforms to obtain data. The target applications include at least two different types of e-commerce applications.
[0056] The target application's identification information is used to uniquely identify different e-commerce applications. This identification information can be the e-commerce platform's name, specific code, URL, etc. This identification information allows for accurate differentiation between different e-commerce platforms, facilitating the subsequent retrieval of the corresponding interface parameters from the pre-defined interface documentation.
[0057] Optionally, enterprise users can manually enter the identification information of the target e-commerce platform in the EDA multi-platform management system, or the system can select the corresponding identification information from a pre-stored list of e-commerce platforms. For example, the system provides a drop-down menu from which users can select the e-commerce platform to connect to, and the system automatically obtains the platform's identification information.
[0058] Step 104: Determine the interface parameters corresponding to the identification information from the preset interface document.
[0059] The pre-defined interface documentation includes the mapping relationship between the identification information of different e-commerce applications and their corresponding interface parameters. Specifically, the pre-defined interface documentation is the publicly available API documentation of the target application's backend, and it is also a documentation provided by the e-commerce platform to enable external systems (such as the enterprise's EDA multi-platform management system) to interact with it. The pre-defined interface documentation records in detail the mapping relationship between the identification information of different e-commerce applications and their corresponding interface parameters. For example, for e-commerce platform A, its identification information might be "platform_A", and the corresponding interface parameters might include the parameters required for the "get_product_list" interface to obtain the product list, such as the quantity displayed per page and product category; and the parameters required for the "get_order_info" interface to obtain order information, such as the order number and query time range.
[0060] Interface parameters are the specific parameters in the pre-defined interface documentation that correspond to the e-commerce platform's identification information. Interface parameters include, but are not limited to, parameters for authentication (such as authorization tokens and keys), parameters for specifying query conditions (such as product ID and order status), and parameters for controlling the data return format (such as JSON or XML format). These interface parameters are used to implement different functions. Authentication parameters ensure that the system has legitimate permissions to access the e-commerce platform's data; query condition parameters help filter data that meets specific requirements; and data return format parameters facilitate the system's processing and parsing of the returned data.
[0061] Optionally, the EDA multi-platform management system can search and match the identification information determined in step 102 within preset interface documents to find the interface parameters corresponding to that identification information. For example, automatic searching can be achieved by writing program code, using the identification information as keywords to search within the documents.
[0062] Step 106: Generate a configuration file for the target management system based on the interface parameters, call the interaction protocol corresponding to the configuration file and the target application, and establish a data interaction link between the terminal corresponding to the target application.
[0063] The target management system is an enterprise's EDA multi-platform management system, used to manage target products displayed based on target applications. Its main function is to uniformly manage target products displayed based on target applications (i.e., various e-commerce platforms), including updating product information, managing inventory, and processing orders.
[0064] The target management system's configuration file is generated based on interface parameters and stores various configuration information required for data interaction with the target application, such as interface address, authentication information, and data transmission format. Through the configuration file, the EDA multi-platform management system can accurately communicate with the target application, thereby ensuring the accuracy and stability of data interaction.
[0065] The interaction protocol corresponding to the target application refers to the rules and standards followed by the target application and the EDA multi-platform management system for data transmission and communication. Common interaction protocols include HTTP and HTTPS. These protocols specify the data transmission method, request and response format, etc., ensuring that the two systems can exchange data correctly.
[0066] A data interaction link refers to a data transmission channel established between the EDA multi-platform management system and the terminal corresponding to the target application. Its function is to enable data flow between the two systems, allowing the EDA multi-platform management system to obtain product data from the target application, such as product information, order information, and inventory information, while also sending data to the target application, such as updating product information and processing orders.
[0067] Optionally, a configuration file can be generated according to the interface parameters determined in step 104, in a certain format, such as XML or JSON. Then, the system calls the interaction protocol (such as HTTP protocol) corresponding to the configuration file and the target application to send a request to the terminal of the target application, establish a connection and verify identity, and finally establish a data interaction link.
[0068] The aforementioned method for establishing a data interaction link first determines the identification information of the target application; the target application includes at least two e-commerce applications of different types; then, it determines the interface parameters corresponding to the identification information from a preset interface document; the preset interface document includes the mapping relationship between the identification information of different e-commerce applications and their corresponding interface parameters; finally, it generates a configuration file for the target management system based on the interface parameters, calls the configuration file and the interaction protocol corresponding to the target application, and establishes a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application. This application uses the above method to automatically find the corresponding interface parameters from the preset interface document by determining the identification information of the target application, avoiding the tedious process of manually searching and configuring parameters, thus improving the integration efficiency; furthermore, generating the configuration file for the target management system based on the interface parameters makes the integration process more standardized and regulated, reducing errors and omissions caused by human factors; in addition, by using the target management system to achieve unified management of multiple e-commerce platforms, after establishing the data interaction link, it can efficiently acquire and process product data from different e-commerce platforms, improving the enterprise's efficiency in managing products, thereby solving the problem of low integration efficiency between enterprise management systems and target applications in the prior art.
[0069] In one embodiment, such as Figure 2 As shown, the configuration file for the target management system is generated based on the interface parameters, including:
[0070] Step 202: According to the preset conversion rules, the interface parameters are converted into system variables of the target management system.
[0071] The preset conversion rules are a set of predefined rules used to convert interface parameters into system variables of the target management system. Since different e-commerce platforms may have different interface parameter formats and naming conventions, and the target management system (EDA multi-platform management system) has its own system variable definitions and usage rules, preset conversion rules are needed for adaptation. For example, e-commerce platform interface parameters may use their own specific names, such as "product_id," while the target management system's system variables may use "item_id" to represent the same meaning; the preset conversion rules will map "product_id" to "item_id." As another example, interface parameters may be string-type numbers, while system variables require integer types; the preset conversion rules will perform the corresponding data type conversion.
[0072] System variables are used in a target management system to store and transmit data. They can store data converted from interface parameters, as well as data generated during the system's operation, facilitating subsequent processing and use. They can also transfer data between different modules or functions within the target management system, enabling collaborative work between these parts. For example, system variables can be used to transfer order quantities and product information between the order processing and inventory management modules. Furthermore, system variables can be used to configure the behavior and parameters of the target management system; modifying their values can adjust the system's operating status and functionality.
[0073] Optionally, specialized scripts can be written to parse and convert interface parameters according to preset conversion rules. For example, a Python script can be used to perform string format matching and replacement using regular expressions to achieve data type conversion and name mapping. Alternatively, data conversion tools can be used to extract interface parameters, convert them according to preset rules, and then load them into the system variables of the target management system.
[0074] Step 204: Generate a configuration file based on the system variables and the original system variables of the target management system.
[0075] Optionally, a template for the configuration file can be predefined, and system variables and original system variables can be filled into the corresponding positions in the template to generate the final configuration file. For example, an XML or JSON template can be used, and variable values can be inserted into placeholders in the template programmatically; then, code can be written to dynamically generate the configuration file based on the contents of the system variables and original system variables. Alternatively, programming languages such as Java or C# can be used to output the variable values to a file according to the format requirements of the configuration file.
[0076] In this embodiment, interface parameters are converted into system variables using preset conversion rules. This adapts to the differences in interfaces across various e-commerce platforms, enabling the target management system to interface with multiple types of e-commerce platforms and improving system compatibility and versatility. Furthermore, integrating system variables into configuration files avoids the tedious process of manually configuring numerous parameters, reducing human error and improving configuration accuracy and efficiency. In addition, the use of system variables and configuration files makes the system's configuration information more centralized and standardized, facilitating subsequent maintenance and expansion. When it is necessary to interface with a new e-commerce platform or modify the configuration, only the corresponding system variables and configuration files need to be modified, without requiring large-scale modifications to the entire system.
[0077] In one embodiment, such as Figure 3 As shown, the process involves calling the configuration file and the interaction protocol corresponding to the target application to establish a data interaction link between the terminal and the target application, including:
[0078] Step 302: Call the configuration file to determine the interaction path between the target management system and the target application.
[0079] The interaction path refers to the specific route followed when the target management system and the target application interact with each other. It typically includes information such as the interface address and port number provided by the target application, clearly defining the specific channel through which data is transmitted between the two systems. For example, if the target application provides an interface for retrieving product information at https: / / XXX.com / api / products, this address is part of the interaction path. The target management system needs to use this path to send requests to the e-commerce platform to obtain product information.
[0080] Optionally, the target management system can first use appropriate parsing tools (such as JSON parsers or XML parsers) to parse the configuration file. The configuration file stores various information required for interaction with the target application, including content related to the interaction path. For example, if the configuration file is in JSON format, the system can use Python's json module to read the file and extract information such as the interface address. In some cases, the interaction path may need to be dynamically generated based on specific business requirements or parameters. The system can combine the basic information in the configuration file and some runtime parameters to generate the final interaction path. For example, if the configuration file stores the basic address of the interface, while the specific query parameters are determined at runtime, the system will combine the basic address and query parameters into a complete interaction path.
[0081] Step 304: In accordance with the interaction protocol and based on the interaction path, send a connection request to the terminal corresponding to the target application, and establish a data interaction link based on the connection request.
[0082] A connection request is a request message sent by the target management system to the terminal corresponding to the target application, according to the interaction protocol and based on the interaction path. This request message initiates a connection with the target application and typically includes authentication information (such as authorization tokens or keys), request type (such as GET, POST, etc.), and possibly some additional parameters. For example, if the target management system wants to retrieve a list of products on an e-commerce platform, it will send a GET request containing an authorization token and query parameters (such as product categories) as a connection request.
[0083] Optionally, the target management system can use network libraries provided by the programming language to send connection requests. For example, in Python, the requests library can be used to construct and send connection requests based on the interaction protocol (such as HTTP or HTTPS) and the interaction path.
[0084] In this embodiment, the interaction path is determined by calling the configuration file, avoiding the tedious process of manually configuring and searching for the path, reducing the occurrence of human error, and improving the efficiency of interfacing with the target application. Moreover, the use of the configuration file enables centralized management of information such as the interaction path. When the interface address or other configuration information of the target application changes, only the configuration file needs to be modified, without the need for large-scale modifications to the code of the entire system, thus reducing maintenance costs.
[0085] In one embodiment, determining the interface parameters corresponding to the identification information from the preset interface document includes: inputting the identification information into a preset large model, identifying the preset interface document through the preset large model, and determining the interface parameters.
[0086] Optionally, you can first collect all relevant preset interface documents and preprocess them, such as converting documents of different formats into text format and removing unnecessary spaces, comments, and other information for later processing; then clarify the identification information to be searched; then select the preset large model, input the prepared identification information into the preset large model, the preset large model will identify and analyze the preset interface documents, and use its powerful semantic understanding capabilities to find interface parameters related to the identification information in the interface documents; the large model outputs the identified interface parameters, which can be a single value or a group of values, depending on the specific situation of the interface document.
[0087] In this embodiment, the pre-set large model can automatically and quickly complete the search task, greatly improving work efficiency. In addition, the large model has powerful semantic understanding capabilities, which can accurately understand the meaning of identification information and interface documents, avoiding omissions and errors that may occur during manual search. Even if the expression of the interface document is relatively complex or ambiguous, the large model can accurately identify it through its learned knowledge and patterns.
[0088] In one embodiment, such as Figure 4 As shown, the method also includes:
[0089] Step 402: For each category of e-commerce application, determine the corresponding interface module for the e-commerce application.
[0090] In e-commerce applications, the interface module is a relatively independent part with specific functions. It provides a series of interfaces for data interaction with other systems. For example, an e-commerce application might include a product management interface module responsible for adding, deleting, modifying, and querying product information; an order management interface module for handling order creation, payment, and cancellation; and a user management interface module for managing user registration, login, and information modification. Each interface module focuses on specific business functions, exposing these functions to external systems through the interface.
[0091] Optionally, you can first collect official documentation and technical specifications for e-commerce applications. Carefully read these documents to identify the various functional modules included in the application and their corresponding interfaces. For example, the documentation may explicitly mention that "the product management interface module provides the following interfaces for operating on product information," which helps identify the product management interface module. For e-commerce applications without detailed documentation, reverse engineering techniques can be used. By capturing network requests and responses between the application and the server using network packet capture tools, and analyzing the request addresses, parameters, and other information in these data packets, you can infer the application's interface modules. For example, a series of requests starting with " / products" may be related to the product management interface module.
[0092] Step 404: Determine the interface parameters corresponding to the interface module based on the interface documentation of the e-commerce application.
[0093] Optionally, the API documentation typically details the function, request method (e.g., GET, POST), request address, request parameters, and response parameters of each API. You can use text parsing tools or write scripts to parse the API documentation and extract the API parameters corresponding to each module. For example, if the API documentation is in JSON format, you can use a JSON parsing library to extract the parameter information. Based on the parsed documentation, test the API by actually calling it to verify the correctness and completeness of the API parameters. For example, send a request, observe the API response, and adjust your understanding of the API parameters based on the response results. For instance, when calling a product query API, try different parameter combinations and observe whether the returned product information meets expectations.
[0094] Step 406: Based on the mapping relationship between interface parameters and the identification information of e-commerce applications, establish a preset interface document.
[0095] In this context, the mapping relationship refers to the correspondence between interface parameters and the identification information of e-commerce applications. Identification information can be information that uniquely identifies the e-commerce application or its business objects, such as product ID, order number, and user ID. Interface parameters are the data that needs to be passed when calling the interface. For example, in a product management interface, the product ID might correspond to the `product_id` parameter, and the order number might correspond to `order_number`. By establishing this mapping relationship, the corresponding interface parameters can be accurately found based on the identification information, thereby enabling data interaction between systems.
[0096] Optionally, the correspondence between interface parameters and identification information can be collected first. This information can be obtained by analyzing interface documents, actual business processes, and interaction records with e-commerce applications. These mapping relationships can be organized into tables or data structures for easy subsequent processing. Then, a template engine or code can be used to generate a preset interface document based on the organized mapping relationship. The preset interface document can adopt common formats such as JSON or XML for easy reading and use.
[0097] In this embodiment, by clearly defining the interface modules and parameters of e-commerce applications and establishing mapping relationships to form a preset interface document, the target management system can quickly and accurately find the required interfaces and parameters when interfacing with e-commerce applications. This reduces communication and time costs during the interfacing process and improves efficiency. Furthermore, the preset interface document centrally manages interface modules, parameters, and mapping relationships. When the interfaces of e-commerce applications change, only the corresponding information in the preset interface document needs to be updated, without requiring large-scale modifications to the entire system, thus reducing maintenance costs. Simultaneously, when interfacing with new e-commerce applications, a new preset interface document can be created following the same process, facilitating system expansion.
[0098] In one embodiment, such as Figure 5 As shown, the method also includes:
[0099] Step 502: Based on the interaction link, obtain data information associated with the target product.
[0100] Among them, the data information associated with the target product refers to various data that are directly or indirectly related to the target product in the interaction link of the e-commerce business process. These data can come from different links and systems and reflect the various attributes and statuses of the target product in the market. Specifically, they include but are not limited to basic product information (product name, brand, model, specifications, color, size, material, etc.), product inventory information (current inventory quantity, available inventory quantity, replenishment time, etc.), product evaluation information (user evaluation content, rating, evaluation time, etc.), and product price information (original price, current selling price, promotional price, price change history, etc.).
[0101] Optionally, since e-commerce systems typically provide various data collection interfaces, data related to the target product can be obtained by calling these interfaces. For example, calling the product information interface can retrieve basic product information, calling the inventory management interface can retrieve product inventory information, and calling the sales data interface can retrieve product sales information. When calling these interfaces, the corresponding parameters, such as the target product's ID, need to be passed according to the interface's requirements. Alternatively, if the data is stored in a database, data related to the target product can be directly retrieved from the database using SQL queries. For example, querying detailed information about the target product in the product database and querying sales records of the target product in the sales database. Furthermore, since the system's log files record user interaction information with products, such as browsing history, search history, and transaction records, these log files can also be analyzed to obtain data related to the target product.
[0102] Step 504: Based on the data information, generate management data for the target product.
[0103] The management data for target products, in particular, is data that, after being organized, analyzed, and processed based on data related to the target products, is used for effective management and decision-making regarding the target products. This management data may include comprehensive product indicators (sales conversion rate, inventory turnover rate, profit margin, etc.), product forecast data (forecasts of future sales volume, demand changes, etc.), and product strategy data (data related to promotional strategies, pricing strategies, and inventory management strategies developed based on product sales and market competition).
[0104] Optionally, the acquired data associated with the target product can be cleaned and preprocessed first to remove duplicate, erroneous, and missing data, and to standardize data format and encoding to ensure accuracy and consistency. Then, data analysis methods and algorithms can be used to analyze and calculate the cleaned data to generate management data for the target product. For example, this could involve calculating indicators such as sales conversion rate and inventory turnover rate, and using time series analysis methods to predict future sales volume. Finally, the generated management data for the target product can be displayed in a visual manner, such as by creating charts and reports, to facilitate viewing and analysis by enterprise managers.
[0105] In this embodiment, by acquiring data information associated with the target product and generating management data, enterprises can gain a comprehensive understanding of the target product's operational status and market trends, thereby making more accurate decisions. It can also help enterprises optimize inventory management and avoid inventory backlog or stockouts.
[0106] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0107] Based on the same inventive concept, this application also provides a data interaction link establishment apparatus for implementing the data interaction link establishment method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations of one or more data interaction link establishment apparatus embodiments provided below can be found in the limitations of the data interaction link establishment method described above, and will not be repeated here.
[0108] In one embodiment, such as Figure 6 As shown, a data interaction link establishment device is provided, including: an identification information acquisition module 602, an interface parameter determination module 604, and an interaction link establishment module 606, wherein:
[0109] The identification information acquisition module 602 is used to determine the identification information of the target application; the target application includes at least two e-commerce applications of different types;
[0110] The interface parameter determination module 604 is used to determine the interface parameters corresponding to the identification information from the preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications;
[0111] The interaction link establishment module 606 is used to generate a configuration file for the target management system based on interface parameters, call the interaction protocol corresponding to the configuration file and the target application, and establish a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
[0112] In one embodiment, the interaction link establishment module 606 is further configured to: convert interface parameters into system variables of the target management system according to a preset conversion rule; and generate a configuration file based on the system variables and the original system variables of the target management system.
[0113] In one embodiment, the interaction link establishment module 606 is further configured to: call the configuration file to determine the interaction path between the target management system and the target application; send a connection request to the terminal corresponding to the target application according to the interaction protocol and based on the interaction path; and establish a data interaction link based on the connection request.
[0114] In one embodiment, the interface parameter determination module 604 is further configured to: input identification information into a preset large model, identify a preset interface document through the preset large model, and determine the interface parameters.
[0115] In one embodiment, the apparatus is further configured to: determine the interface module corresponding to each category of e-commerce application; determine the interface parameters corresponding to the interface module according to the interface document of the e-commerce application; and establish a preset interface document based on the mapping relationship between the interface parameters and the identification information of the e-commerce application.
[0116] In one embodiment, the device is further configured to: acquire data information associated with the target product based on the interaction link; and generate management data for the target product based on the data information.
[0117] Each module in the aforementioned data interaction link establishment device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0118] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, communication 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 communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it establishes a data interaction link. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0119] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0120] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0121] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0122] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0124] Those skilled in the art will understand that all or part of the processes in 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 described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0125] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for establishing a data interaction link, characterized in that, The method includes: Identify the target application's identification information; the target application includes at least two e-commerce applications of different types; The interface parameters corresponding to the identification information are determined from a preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications; Based on the interface parameters, a configuration file for the target management system is generated. The interaction protocol corresponding to the configuration file and the target application is invoked to establish a data interaction link between the terminal corresponding to the target application. The target management system is used to manage the target products displayed based on the target application.
2. The method according to claim 1, characterized in that, The process of generating the configuration file for the target management system based on the interface parameters includes: According to the preset conversion rules, the interface parameters are converted into system variables of the target management system; The configuration file is generated based on the system variables and the original system variables of the target management system.
3. The method according to claim 2, characterized in that, The step of invoking the configuration file and the interaction protocol corresponding to the target application to establish a data interaction link between the terminal corresponding to the target application includes: The configuration file is invoked to determine the interaction path between the target management system and the target application; According to the interaction protocol and based on the interaction path, a connection request is sent to the terminal corresponding to the target application, and the data interaction link is established based on the connection request.
4. The method according to any one of claims 1 to 3, characterized in that, Determining the interface parameters corresponding to the identifier information from the preset interface document includes: The identification information is input into a preset large model, and the preset interface document is identified through the preset large model to determine the interface parameters.
5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: For each category of e-commerce application, determine the corresponding interface module for that e-commerce application; Based on the interface documentation of the e-commerce application, determine the interface parameters corresponding to the interface module; Based on the mapping relationship between the interface parameters and the identification information of the e-commerce application, the preset interface document is established.
6. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Based on the interaction link, data information associated with the target product is obtained; Based on the data information, management data for the target product is generated.
7. A device for establishing a data interaction link, characterized in that, The device includes: The identification information acquisition module is used to determine the identification information of the target application; the target application includes at least two e-commerce applications of different types. An interface parameter determination module is used to determine the interface parameters corresponding to the identification information from a preset interface document; the preset interface document includes the mapping relationship between the identification information and the corresponding interface parameters of different e-commerce applications; The interaction link establishment module is used to generate a configuration file for the target management system based on the interface parameters, call the interaction protocol corresponding to the configuration file and the target application, and establish a data interaction link between the terminal corresponding to the target application; the target management system is used to manage the target products displayed based on the target application.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.