Integrated API (Application Program Interface) cross-border procurement system and method
Through the integrated API, multi-language support, intelligent personalized recommendation and import and export restrictions screening are realized in the cross-border purchasing system, and real-time tracking is combined with logistics and payment APIs, which solves the language barriers, insufficient personalized recommendations and import and export in the existing system. Restricting the problem of inconvenience in handling improves user experience and system efficiency.
Patent Information
- Application Number
- CN202411512920.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-11
AI Technical Summary
The existing cross-border purchasing system has language barriers, insufficient personalized recommendations, and inconvenient handling of import and export restrictions, which affects users' shopping experience and legality.
Through the integrated API, multi-language support, intelligent personalized recommendation and import and export restrictions screening are realized, and real-time price estimates, logistics method selection and status tracking are combined with logistics and payment APIs.
It improves the convenience and user experience of cross-border purchasing agents, provides more accurate product information and personalized recommendations, ensures legitimacy and compliance, reduces shopping costs and improves logistics efficiency.
Smart Images

Figure CN119417567A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of e-commerce, and in particular to an integrated API cross-border purchasing system and method. Background Art
[0002] With the deepening development of global economic integration, cross-border e-commerce has developed rapidly, and more and more consumers choose to purchase foreign goods through cross-border purchasing platforms. Cross-border purchasing not only provides foreign goods that are difficult for domestic consumers to obtain, but also has price advantages, so it is widely welcomed. However, there are some shortcomings in the existing cross-border purchasing system, which limits its further development. E-commerce platforms in different countries use different languages, which brings inconvenience to consumers in browsing and selecting goods on e-commerce platforms in different countries. Although some platforms provide basic translation functions, the accuracy and real-time performance of translation are poor, which affects the user's shopping experience. Most cross-border purchasing platforms can only make recommendations based on simple product classification and user search history, and cannot make personalized recommendations based on users' detailed preferences and historical behaviors. In addition, for goods with import restrictions in certain countries or regions, the existing system cannot effectively block them, which may cause consumers to encounter unnecessary legal and logistics problems during the purchase process.
[0003] In view of the above problems, the present invention proposes a cross-border purchasing agent method based on integrated API. This method can not only realize multi-language support and provide more accurate product information through integrated translation software, but also provide users with personalized product recommendations through an intelligent recommendation system, and can screen and block products according to the import and export restrictions of various countries. In addition, this method can realize real-time price estimation, logistics method selection and status tracking of cross-border shopping through integrated logistics and payment APIs, greatly improving the convenience and user experience of cross-border purchasing agents. Summary of the invention
[0004] An integrated API cross-border purchasing method includes the following steps: Step S1: The buyer user registers an account. The registration information includes necessary information and auxiliary information. The necessary information includes user name, password, delivery area, language and contact information. The auxiliary information includes the user's basic identity information and the user's preferred products. The interface language is selected according to the buyer user's registered language, wherein the fixed content is obtained by filling in the preset, and the product-related content is translated and obtained through the API of the integrated translation software. The buyer user's user order history and product browsing history are recorded as the buyer user's historical information; Step S2: Obtain a product blocking list, which is obtained by regularly querying the list of products restricted for import and export in various countries and regions. For buyer users, products that are prohibited from import in their region are blocked during recommendation and search; for product providers, products that are prohibited from export in their region are blocked during recommendation and search; The purchase price of the purchased goods is estimated. The estimated purchase price consists of three parts: the original price of the goods, the tariff required for cross-border transportation of the goods, and the logistics price. The first and second parts are fixed values, and the third part, the logistics price, is a variable value, which is composed of the prices of shipping logistics, cross-border logistics, and receiving logistics. All possible combinations of the three logistics are obtained, and the logistics prices and estimated logistics time required for all combinations are calculated; Step S3: recommend products to the buyer user, by sending the buyer user's information to the intelligent product recommendation keyword model for calculation, and obtaining multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information and the buyer user's group big data information, and the obtained keywords are blocked against the product blocking list; Search for recommended products by keywords, send keywords to the API of the integrated international e-commerce platform to search for products, obtain the top five products in the search results of each international e-commerce platform, conduct a comprehensive evaluation of all search results, obtain product evaluation values, and randomly select three products from the top five results in the evaluation results as recommended products; Step S4: The buyer user conducts a product search, which includes two modes. Mode 1 is to compare the product evaluation values of all products on the international e-commerce platforms, and display the product search results according to the ranking of the product evaluation values; Mode 2 is to set up an independent product search result display area for each international e-commerce platform, select the products with the highest ranking of product evaluation values on each international e-commerce platform, and display them in the independent product search result display area of each international e-commerce platform; Each mode contains four sub-modes, namely comprehensive, quality, price, and time. Different sub-modes adjust the weights of different parts in the comprehensive evaluation to obtain the search results of the corresponding sub-mode; The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, product platform and product region; Step S5: After the buyer selects the product, the logistics combination is recommended. The comprehensive cost performance of logistics is calculated based on the price, time and quality of logistics. The top three results of comprehensive cost performance are displayed for recommendation. After the buyer selects the logistics combination, the actual purchase price is calculated, and the integrated international payment API is used to pay for the product. The integrated logistics API is used to track the cross-border logistics status in real time, including monitoring of the delivery, transportation and customs clearance processes. Step S6: Connect with the customs clearance service through API to automatically generate and submit relevant customs clearance documents to ensure that the goods pass through customs.
[0005] As a preferred technical solution of the present invention, obtaining the logistics combination includes: Get the optional export destinations of the country where the purchased goods are located, and get the optional shipping logistics methods for transporting the purchased goods to the export destination. The export destination includes bonded warehouses and customs, which are used for bonded stocking and cross-border direct mail respectively; get the optional cross-border logistics methods at the export destination, and get the optional receiving logistics methods in the buyer's area; build a logistics tree for the shipping method, with the shipping logistics method as the tree head, the cross-border logistics method as the middle node of the tree, and the receiving logistics method as the leaf node of the tree, obtain all subset trees of the logistics tree as logistics combinations, obtain the logistics prices, logistics quality evaluations and estimated logistics times of all logistics methods, and calculate the total logistics price and total estimated logistics time of the logistics combination.
[0006] As a preferred technical solution of the present invention, the intelligent product recommendation keyword model includes: The data processing layer is used to pre-process the buyer's user information to obtain user recommendation samples, which is composed of the input layer of the neural network; The recommendation network layer is used to perform cross-calculations on the user recommendation samples in three directions: user history information, user identity information, and user group information, and obtain all candidate keywords in three directions. It is composed of the hidden layer of the neural network. The keyword acquisition layer is used to select and output candidate keywords to obtain multiple keywords for user-recommended products, and is composed of the output layer of the neural network.
[0007] As a preferred technical solution of the present invention, the construction of the intelligent product recommendation keyword model includes: Obtain the historical information of cross-border purchases of goods by several users and the basic identity information of the users, obtain the groups to which the users belong by clustering the user recommendation samples, extract the purchase keywords of the groups, extract the identity information keywords of each group, use the identity information keywords and purchase keywords of the groups as group big data, construct user recommendation samples, add recommended product labels to the samples, form a user recommendation data set from all user recommendation samples, and divide the user recommendation data set into a training set, a validation set, and a test set; Construct an initial smart product recommendation keyword model based on a deep convolutional neural network. Send the user recommendation training set and validation set to the initial smart product recommendation keyword model for training. With the recommended product tags as the goal, an optimized smart product recommendation keyword model is obtained. The user recommendation test set is sent to the optimized intelligent product recommendation keyword model for accuracy evaluation. With the recommended product tags as the goal, the model's hyperparameters are optimized to obtain the final intelligent product recommendation keyword model.
[0008] As a preferred technical solution of the present invention, the calculation of the commodity evaluation value includes: The commodity evaluation value is calculated through three parts: commodity price, commodity quality and logistics. The commodity price part is obtained by the ratio of the actual commodity price to the preset standard model commodity price. The commodity quality part is obtained by the proportion of positive reviews in the commodity evaluation. The logistics part is obtained by the logistics combination of the commodity.
[0009] As a preferred technical solution of the present invention, the sub-modes of commodity search include: The sub-mode of product search is changed by changing the weights of different parts in product evaluation. The calculation formula of product evaluation value is: ; where α represents the weight adjustment value of the sub-mode, β represents the weight adjustment value of the user's search habits, and ABC represent the three parts of product evaluation.
[0010] As a preferred technical solution of the present invention, the calculation of the comprehensive cost performance of logistics includes: The comprehensive cost performance of logistics is obtained through comprehensive evaluation of the quality θ of logistics mode, logistics price N, logistics time T and logistics distance L. The calculation formula is: ; where m is the number of logistics modes, L represents the total distance of logistics, L i Represents the distance of the i-th logistics mode.
[0011] An integrated API cross-border purchasing system, including the following modules: The user information management module is used to manage user information and register an account. The information required for registration includes necessary information and auxiliary information. The necessary information includes user name, password, delivery area, language and contact information. The auxiliary information includes the user's basic identity information and the user's preferred products. The interface language is selected according to the buyer's registered language. The fixed content is obtained by filling in the preset, and the product-related content is translated and obtained through the API of the integrated translation software. The buyer's user order history and product browsing history are recorded as the buyer's user history information; The commodity information management module is used to obtain the commodity blocking list, which is obtained by regularly querying the commodity lists of various countries and regions that restrict imports and exports. For buyers, commodities that are prohibited from import in their regions are blocked during recommendation and search; for commodity providers, commodities that are prohibited from export in their regions are blocked during recommendation and search; The purchase price of the purchased goods is estimated. The estimated purchase price consists of three parts: the original price of the goods, the tariff required for cross-border transportation of the goods, and the logistics price. The first and second parts are fixed values, and the third part, the logistics price, is a variable value, which is composed of the prices of shipping logistics, cross-border logistics, and receiving logistics. All possible combinations of the three logistics are obtained, and the logistics prices and estimated logistics time required for all combinations are calculated; The product recommendation module is used to make product recommendations. The information of the buyer user is sent to the intelligent product recommendation keyword model for calculation to obtain multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information and the buyer user's group big data information. The obtained keywords are blocked against the product blocking list; the recommended products are searched by keywords, and the keywords are sent to the API of the integrated international e-commerce platform for product search, and the top five products in the search results of each international e-commerce platform are obtained. All search results are comprehensively evaluated to obtain product evaluation values, and three random products from the top five results of product evaluation values in the evaluation results are selected as recommended products; The product search module is used to search for products. It includes two modes. Mode 1 compares the product evaluation values of all products on the international e-commerce platforms and displays the product search results according to the ranking of the product evaluation values. Mode 2 sets up an independent product search result display area for each international e-commerce platform, selects the products with the highest ranking of product evaluation values on each international e-commerce platform, and displays them in the independent product search result display area of each international e-commerce platform. Each mode contains four sub-modes, namely comprehensive, quality, price, and time. Different sub-modes adjust the weights of different parts in the comprehensive evaluation to obtain the search results of the corresponding sub-mode. The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, product platform and product region; The commodity settlement module is used to recommend logistics combinations after the buyer selects the commodity. The comprehensive cost-effectiveness of logistics is calculated based on the price, time and quality of logistics. The top three results of comprehensive cost-effectiveness are displayed for recommendation. After the buyer selects the logistics combination, the actual purchase price is calculated, and the commodity payment is made using the integrated international payment API. The integrated logistics API is used to track the cross-border logistics status in real time, including monitoring of the delivery, transportation and customs clearance processes. The customs clearance management module is used to connect with the customs clearance service through API, automatically generate and submit relevant customs clearance documents, and ensure that the goods pass through customs.
[0012] The present invention has the following advantages: 1. The present invention realizes multi-language support of the cross-border purchasing platform by integrating the API of the translation software, automatically translates the product information into the language selected by the user when registering, solves the problem of poor user shopping experience due to language barriers on existing cross-border e-commerce platforms, and allows users to browse and purchase products more conveniently and quickly; through intelligent product recommendations based on users' historical orders, browsing history, identity information and big data analysis, deep convolutional neural networks are used for keyword recommendations to recommend products that better suit users' preferences, provide a more personalized experience, and improve user satisfaction and purchase rate.
[0013] 2. The present invention regularly updates the import and export restriction lists of various countries and regions. It can automatically block commodities that do not comply with import or export regulations when recommending and searching commodities, thereby ensuring the legality and compliance of cross-border shopping. By calculating all possible combinations of logistics methods, the present invention provides users with a variety of logistics options. Users can choose the most suitable logistics solution based on factors such as price, time and quality, thereby reducing shopping costs and improving the efficiency of cross-border logistics.
[0014] 3. The present invention integrates logistics API and payment API to achieve real-time tracking of the entire process from commodity purchase to payment and then to logistics status. The system can automatically generate and submit customs clearance documents, speeding up the customs clearance process in cross-border shopping, reducing the necessity of human intervention and improving efficiency.
[0015] 4. The present invention provides a variety of commodity search modes, including comprehensive, quality, price, time and other sub-modes, and adjusts the weights of different parts according to user needs to obtain search results that meet personalized requirements, thereby improving the accuracy and efficiency of the search and enabling users to find commodities that meet their needs more quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a schematic diagram of the structure of an integrated API cross-border purchasing system used in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to enable persons skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0018] Example 1, a method for cross-border purchasing by integrating API, comprising the following steps: Step S1: User registration and information processing Buyer users first register an account through the cross-border purchasing platform. When registering, users need to fill in the necessary information, including username, password, delivery area, language, and contact information. This information will be used for subsequent product recommendations, payment, and logistics services. At the same time, users can also fill in auxiliary information, such as personal identity information (such as age, gender) and user preferred products (such as electronic products, clothing, etc.).
[0019] Based on the language selected by the user when registering, the system uses the integrated translation API to translate product descriptions and other content into the user's preferred language, thereby improving the user's shopping experience. In addition, the system will automatically record the user's order history and product browsing history, generate the user's historical information data, and subsequently use it for personalized recommendations and search optimization.
[0020] Step S2: Product screening and price estimation The platform will regularly check the list of restricted import and export goods in various countries and regions and update the database. For goods that are prohibited from import in the buyer's region, these goods will be automatically blocked when the user browses the goods. For goods that are prohibited from export in the seller's region, the platform will also block them in recommendations and search results. This measure ensures the legality and compliance of users and platforms and reduces unnecessary transaction barriers.
[0021] After the user selects a product, the system will estimate the price of the product. The estimated purchase price consists of three parts: the original price of the product; the tariff required for cross-border transportation, which is usually automatically calculated based on the product category and the tax rate of the destination country; and the logistics price. The system will calculate the total logistics price based on the combination of shipping logistics, cross-border logistics, and receiving logistics, and give an estimated logistics time. In order to provide users with the best logistics solution, the system will obtain all possible logistics combinations and evaluate them based on factors such as price, time, and quality.
[0022] The acquisition of logistics packages includes: Get the optional export destinations of the country where the purchased goods are located, and get the optional shipping logistics methods for transporting the purchased goods to the export destination. The export destination includes bonded warehouses and customs, which are used for bonded stocking and cross-border direct mail respectively; get the optional cross-border logistics methods at the export destination, and get the optional receiving logistics methods in the buyer's area; build a logistics tree for the shipping method, with the shipping logistics method as the tree head, the cross-border logistics method as the middle node of the tree, and the receiving logistics method as the leaf node of the tree, obtain all subset trees of the logistics tree as logistics combinations, obtain the logistics prices, logistics quality evaluations and estimated logistics times of all logistics methods, and calculate the total logistics price and total estimated logistics time of the logistics combination.
[0023] Step S3: Intelligent product recommendation Recommend products to buyer users by feeding the buyer user's information into the intelligent product recommendation keyword model for calculation to obtain multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information, and the buyer user's group big data information. The obtained keywords are blocked against the product blocking list; Search for recommended products by keywords, send keywords to the API of the integrated international e-commerce platform to search for products, obtain the top five products in the search results of each international e-commerce platform, conduct a comprehensive evaluation of all search results, obtain product evaluation values, and randomly select three products from the top five results in the evaluation results as recommended products; The product recommendation keyword model includes: The data processing layer is used to pre-process the buyer's user information to obtain user recommendation samples, which is composed of the input layer of the neural network; The recommendation network layer is used to perform cross-calculations on the user recommendation samples in three directions: user history information, user identity information, and user group information, and obtain all candidate keywords in three directions. It is composed of the hidden layer of the neural network. The keyword acquisition layer is used to select and output candidate keywords to obtain multiple keywords for user-recommended products, and is composed of the output layer of the neural network.
[0024] The construction of the intelligent product recommendation keyword model includes: Obtain the historical information of cross-border purchases of goods by several users and the basic identity information of the users, obtain the groups to which the users belong by clustering the user recommendation samples, extract the purchase keywords of the groups, extract the identity information keywords of each group, use the identity information keywords and purchase keywords of the groups as group big data, construct user recommendation samples, add recommended product labels to the samples, form a user recommendation data set from all user recommendation samples, and divide the user recommendation data set into a training set, a validation set, and a test set; Construct an initial smart product recommendation keyword model based on a deep convolutional neural network. Send the user recommendation training set and validation set to the initial smart product recommendation keyword model for training. With the recommended product tags as the goal, an optimized smart product recommendation keyword model is obtained. The user recommendation test set is sent to the optimized intelligent product recommendation keyword model for accuracy evaluation. With the recommended product tags as the goal, the model's hyperparameters are optimized to obtain the final intelligent product recommendation keyword model.
[0025] Step S4: Product search and evaluation Users can search for products on the platform through two search modes: Mode 1: The system will obtain products from all international e-commerce platforms and sort and display them according to their evaluation values. The product evaluation value is calculated based on factors such as price, quality and logistics. Users can see a list of products ranked top according to the comprehensive score.
[0026] Mode 2: Users can view products in a separate display area on each international e-commerce platform. The system displays popular products on each platform based on the e-commerce platform selected by the user, so that users can focus on viewing products on a certain platform without having to compare products on multiple platforms at the same time.
[0027] In these two modes, the system also provides four sub-modes, namely comprehensive, quality, price and time. Users can change the priority of search results display by adjusting the evaluation weight according to their preferences. The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, the platform and region where the product is located, etc.
[0028] The calculation of the product evaluation value includes: The commodity evaluation value is calculated through three parts: commodity price, commodity quality and logistics. The commodity price part is obtained by the ratio of the actual commodity price to the preset standard model commodity price. The commodity quality part is obtained by the proportion of positive reviews in the commodity evaluation. The logistics part is obtained by the logistics combination of the commodity.
[0029] The sub-modes of product search include: The sub-mode of product search is changed by changing the weights of different parts in product evaluation. The calculation formula of product evaluation value is: ; where α represents the weight adjustment value of the sub-mode, β represents the weight adjustment value of the user's search habits, and ABC represent the three parts of product evaluation.
[0030] Step S5: Logistics combination recommendation and payment When the user selects the product he wants to buy, the system will recommend 3 best logistics combinations based on factors such as price, time, logistics quality, etc. The user can choose the most suitable logistics solution according to his needs.
[0031] The system will calculate the actual purchase price, including the original price of the goods, tariffs and logistics costs. Users pay through the integrated international payment API, and payment methods include international credit cards, PayPal and other mainstream payment tools.
[0032] After completing the payment, the system provides users with real-time tracking services for cross-border logistics through the logistics API. Users can view the delivery, transportation, customs clearance and other information of the goods in real time, and the logistics status will be automatically synchronized with the update of the order.
[0033] The calculation of comprehensive logistics cost performance includes: The comprehensive cost performance of logistics is obtained through comprehensive evaluation of the quality θ of logistics mode, logistics price N, logistics time T and logistics distance L. The calculation formula is: ; where m is the number of logistics modes, L represents the total distance of logistics, L i Represents the distance of the i-th logistics mode.
[0034] Step S6: Customs clearance service automation The system connects with the customs clearance service through API, automatically generates the required customs clearance documents and submits them to the relevant customs clearance agency. This process does not require manual intervention by the user. The system will ensure that all documents meet the customs requirements of the destination country, ensure that the goods pass through customs smoothly, and improve the overall efficiency of logistics.
[0035] Example 2, an integrated API cross-border purchasing system, see Figure 1 As shown, it includes the following modules: The user information management module is used to manage user information and register an account. The information required for registration includes necessary information and auxiliary information. The necessary information includes user name, password, delivery area, language and contact information. The auxiliary information includes the user's basic identity information and the user's preferred products. The interface language is selected according to the buyer's registered language. The fixed content is obtained by filling in the preset, and the product-related content is translated and obtained through the API of the integrated translation software. The buyer's user order history and product browsing history are recorded as the buyer's user history information; The commodity information management module is used to obtain the commodity blocking list, which is obtained by regularly querying the commodity lists of various countries and regions that restrict imports and exports. For buyers, commodities that are prohibited from import in their regions are blocked during recommendation and search; for commodity providers, commodities that are prohibited from export in their regions are blocked during recommendation and search; The purchase price of the purchased goods is estimated. The estimated purchase price consists of three parts: the original price of the goods, the tariff required for cross-border transportation of the goods, and the logistics price. The first and second parts are fixed values, and the third part, the logistics price, is a variable value, which is composed of the prices of shipping logistics, cross-border logistics, and receiving logistics. All possible combinations of the three logistics are obtained, and the logistics prices and estimated logistics time required for all combinations are calculated; The product recommendation module is used to make product recommendations. The information of the buyer user is sent to the intelligent product recommendation keyword model for calculation to obtain multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information and the buyer user's group big data information. The obtained keywords are blocked against the product blocking list; the recommended products are searched by keywords, and the keywords are sent to the API of the integrated international e-commerce platform for product search, and the top five products in the search results of each international e-commerce platform are obtained. All search results are comprehensively evaluated to obtain product evaluation values, and three random products from the top five results of product evaluation values in the evaluation results are selected as recommended products; The product search module is used to search for products. It includes two modes. Mode 1 compares the product evaluation values of all products on the international e-commerce platforms and displays the product search results according to the ranking of the product evaluation values. Mode 2 sets up an independent product search result display area for each international e-commerce platform, selects the products with the highest ranking of product evaluation values on each international e-commerce platform, and displays them in the independent product search result display area of each international e-commerce platform. Each mode contains four sub-modes, namely comprehensive, quality, price, and time. Different sub-modes adjust the weights of different parts in the comprehensive evaluation to obtain the search results of the corresponding sub-mode. The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, product platform and product region; The commodity settlement module is used to recommend logistics combinations after the buyer selects the commodity. The comprehensive cost-effectiveness of logistics is calculated based on the price, time and quality of logistics. The top three results of comprehensive cost-effectiveness are displayed for recommendation. After the buyer selects the logistics combination, the actual purchase price is calculated, and the commodity payment is made using the integrated international payment API. The integrated logistics API is used to track the cross-border logistics status in real time, including monitoring of the delivery, transportation and customs clearance processes. The customs clearance management module is used to connect with the customs clearance service through API, automatically generate and submit relevant customs clearance documents, and ensure that the goods pass through customs.
[0036] In Example 3, buyer user A accesses the cross-border purchasing platform through a mobile phone or computer and registers for the first time on the platform. During the registration process, user A needs to fill in the necessary information, including user name, password, delivery area, language and contact information. At the same time, user A can also choose to fill in auxiliary information, such as basic identity information (such as age, gender) and personal preferred product categories. The system will automatically set the language display of the platform interface according to the language selected by user A, and translate the product description content into the language used by user A in real time according to the integrated translation API.
[0037] Obtaining and filtering products: When user A browses products, the system will obtain product information from multiple international e-commerce platforms through the API of the integrated international e-commerce platform. User A's browsing and search records will be recorded by the system and form its historical information. When user A browses or searches for products, the system will automatically block the products that are prohibited from import in the region based on the user's region through the pre-set import restriction list of each country, ensuring that the user can only see products that comply with the laws of the region where he is located. For example, some countries prohibit the import of cosmetics containing specific ingredients, and the system will automatically filter out these products to avoid legal risks.
[0038] Intelligent recommendation: Based on user A’s historical orders, browsing history, and identity information, the intelligent product recommendation system will generate multiple recommended keywords and search for products on multiple international e-commerce platforms using the keywords. The system will use the keywords to obtain the products that best match user A’s preferences, and by evaluating the price, logistics, quality, and other factors of the products, recommend the top five products for user A to choose from.
[0039] Product search and comparison: User A can search for products through two product search modes provided by the platform: Mode 1: The system will obtain products from all international e-commerce platforms and evaluate them, and then sort and display them according to the evaluation value. The product evaluation value is composed of three parts: product price, logistics and product quality. Each item is weighted to ensure that users can filter products according to different needs, such as price priority, logistics speed priority, etc.
[0040] Mode 2: User A can select the product result display area of a specific international e-commerce platform to view the recommended products on that platform. In this mode, users can compare products on the same platform in more detail. The system will provide users with different product search results based on the weight adjustment of sub-modes such as comprehensiveness, quality, price, and time.
[0041] Regardless of which mode is selected, the system will display the product display picture, estimated purchase price, estimated logistics time, product platform and product region information in each product display area.
[0042] Select a logistics plan. After user A has selected the desired product, the platform will provide the user with a recommended logistics combination based on the cross-border transportation of the product. The system calculates the cost-effectiveness of different logistics plans through the integrated logistics API. The evaluation indicators include logistics price, logistics time, and logistics quality. In the end, the system will recommend the three most cost-effective logistics plans for user A to choose from. For example, user A selects a product, which can be delivered through three different logistics methods. The system lists the three most cost-effective logistics plans based on logistics price, transportation time, and historical logistics service quality evaluation, and displays the price, estimated delivery time, and user evaluation of each logistics plan. User A can choose the appropriate logistics method according to his or her own needs.
[0043] Product payment and logistics tracking, after user A selects the product and logistics plan, the system will calculate the final purchase price of the product. The final price is composed of the original price of the product, tariffs and logistics costs, and all costs are transparent and clearly listed. Then, user A completes the payment through the integrated international payment API, and the payment method supports a variety of international mainstream payment channels, such as credit cards, PayPal, etc. After the payment is completed, the system tracks the logistics status in real time through the integrated logistics API. User A can view the delivery, transportation and customs clearance status of the product in real time on the platform, including the specific delivery time, estimated arrival time and customs clearance progress. The system will also automatically generate and submit relevant customs clearance documents according to the customs regulations of the user's country to ensure that the goods can pass through customs smoothly.
[0044] After order completion and after-sales service, user A will be prompted to confirm receipt after receiving the product. If user A has any questions during transportation or after receiving the product, he can provide feedback through the platform's after-sales service. The system will automatically contact the relevant platform and logistics service provider based on the user's feedback information and logistics data to provide after-sales support to ensure that user A's purchase experience is guaranteed.
[0045] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all such improvements and changes should fall within the scope of protection of the appended claims of the present invention. Parts not described in detail in this specification belong to the prior art known to those skilled in the art.
Claims
1. A cross-border purchasing method integrating API, characterized in that: The following steps are involved: Step S1: The buyer user registers an account. The registration information includes necessary information and auxiliary information. The necessary information includes user name, password, delivery area, language and contact information. The auxiliary information includes the user's basic identity information and the user's preferred products. The interface language is selected according to the buyer user's registered language, wherein the fixed content is obtained by filling in the preset, and the product-related content is translated and obtained through the API of the integrated translation software. The buyer user's user order history and product browsing history are recorded as the buyer user's historical information; Step S2: Obtain a product blocking list, which is obtained by regularly querying the list of products restricted for import and export in various countries and regions. For buyer users, products that are prohibited from import in their region are blocked during recommendation and search; for product providers, products that are prohibited from export in their region are blocked during recommendation and search; The purchase price of the purchased goods is estimated. The estimated purchase price consists of three parts: the original price of the goods, the tariff required for cross-border transportation of the goods, and the logistics price. The first and second parts are fixed values, and the third part, the logistics price, is a variable value, which is composed of the prices of shipping logistics, cross-border logistics, and receiving logistics. All possible combinations of the three logistics are obtained, and the logistics prices and estimated logistics time required for all combinations are calculated; Step S3: recommend products to the buyer user, by sending the buyer user's information to the intelligent product recommendation keyword model for calculation, and obtaining multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information and the buyer user's group big data information, and the obtained keywords are blocked against the product blocking list; Search for recommended products by keywords, send keywords to the API of the integrated international e-commerce platform to search for products, obtain the top five products in the search results of each international e-commerce platform, conduct a comprehensive evaluation of all search results, obtain product evaluation values, and randomly select three products from the top five results in the evaluation results as recommended products; Step S4: The buyer user conducts a product search, which includes two modes. Mode 1 is to compare the product evaluation values of all products on the international e-commerce platforms, and display the product search results according to the ranking of the product evaluation values; Mode 2 is to set up an independent product search result display area for each international e-commerce platform, select the products with the highest ranking of product evaluation values on each international e-commerce platform, and display them in the independent product search result display area of each international e-commerce platform; Each mode contains four sub-modes, namely comprehensive, quality, price, and time. Different sub-modes adjust the weights of different parts in the comprehensive evaluation to obtain the search results of the corresponding sub-mode; The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, product platform and product region; Step S5: After the buyer selects the product, the logistics combination is recommended. The comprehensive cost performance of logistics is calculated based on the price, time and quality of logistics. The top three results of comprehensive cost performance are displayed for recommendation. After the buyer selects the logistics combination, the actual purchase price is calculated, and the integrated international payment API is used to pay for the product. The integrated logistics API is used to track the cross-border logistics status in real time, including monitoring of the delivery, transportation and customs clearance processes. Step S6: Connect with the customs clearance service through API to automatically generate and submit relevant customs clearance documents to ensure that the goods pass through customs.
2. The method for cross-border purchasing based on an integrated API according to claim 1, characterized in that: The acquisition of logistics packages includes: Get the optional export destinations of the country where the purchased goods are located, and get the optional shipping logistics methods for transporting the purchased goods to the export destination. The export destination includes bonded warehouses and customs, which are used for bonded stocking and cross-border direct mail respectively; get the optional cross-border logistics methods at the export destination, and get the optional receiving logistics methods in the buyer's area; build a logistics tree for the shipping method, with the shipping logistics method as the tree head, the cross-border logistics method as the middle node of the tree, and the receiving logistics method as the leaf node of the tree, obtain all subset trees of the logistics tree as logistics combinations, obtain the logistics prices, logistics quality evaluations and estimated logistics times of all logistics methods, and calculate the total logistics price and total estimated logistics time of the logistics combination.
3. The method for cross-border purchasing based on an integrated API according to claim 1, characterized in that: The keyword model for intelligent product recommendation includes: The data processing layer is used to pre-process the buyer's user information to obtain user recommendation samples, which is composed of the input layer of the neural network; The recommendation network layer is used to perform cross-calculations on the user recommendation samples in three directions: user history information, user identity information, and user group information, and obtain all candidate keywords in three directions. It is composed of the hidden layer of the neural network. The keyword acquisition layer is used to select and output candidate keywords to obtain multiple keywords for user-recommended products, and is composed of the output layer of the neural network.
4. The method for cross-border purchasing based on an integrated API according to claim 3, characterized in that: The construction of the intelligent product recommendation keyword model includes: Obtain the historical information of cross-border purchases of goods by several users and the basic identity information of the users, obtain the groups to which the users belong by clustering the user recommendation samples, extract the purchase keywords of the groups, extract the identity information keywords of each group, use the identity information keywords and purchase keywords of the groups as group big data, construct user recommendation samples, add recommended product labels to the samples, form a user recommendation data set from all user recommendation samples, and divide the user recommendation data set into a training set, a validation set, and a test set; Construct an initial smart product recommendation keyword model based on a deep convolutional neural network. Send the user recommendation training set and validation set to the initial smart product recommendation keyword model for training. With the recommended product tags as the goal, an optimized smart product recommendation keyword model is obtained. The user recommendation test set is sent to the optimized intelligent product recommendation keyword model for accuracy evaluation. With the recommended product tags as the goal, the model's hyperparameters are optimized to obtain the final intelligent product recommendation keyword model.
5. The method for cross-border purchasing based on an integrated API according to claim 1, characterized in that: The calculation of the product evaluation value includes: The commodity evaluation value is calculated through three parts: commodity price, commodity quality and logistics. The commodity price part is obtained by the ratio of the actual commodity price to the preset standard model commodity price. The commodity quality part is obtained by the proportion of positive reviews in the commodity evaluation. The logistics part is obtained by the logistics combination of the commodity.
6. The method for cross-border purchasing based on an integrated API according to claim 1, characterized in that: The sub-modes of product search include: The sub-mode of product search is changed by changing the weights of different parts in product evaluation. The calculation formula of product evaluation value is: ; where α represents the weight adjustment value of the sub-mode, β represents the weight adjustment value of the user's search habits, and ABC represent the three parts of product evaluation.
7. The method for cross-border purchasing based on an integrated API according to claim 1, characterized in that: The calculation of comprehensive logistics cost performance includes: The comprehensive cost performance of logistics is obtained through comprehensive evaluation of the quality θ of logistics mode, logistics price N, logistics time T and logistics distance L. The calculation formula is: ; where m is the number of logistics modes, L represents the total distance of logistics, L i Represents the distance of the i-th logistics mode.
8. An integrated API cross-border purchasing system, characterized in that: The system applies an integrated API cross-border purchasing method as described in any one of claims 1 to 7, and includes the following modules: User information management module, used for user information management and account registration. The information required for registration includes necessary information and auxiliary information. The necessary information includes user name, password, delivery area, language and contact information. The auxiliary information includes the user's basic identity information and the user's preferred products. The interface language is selected according to the registered language of the buyer user. The fixed content is obtained by filling in the preset, and the product-related content is translated and obtained through the API of the integrated translation software; Record the buyer's user order history and product browsing history as the buyer's user history information; The commodity information management module is used to obtain the commodity blocking list, which is obtained by regularly querying the commodity lists of various countries and regions that restrict imports and exports. For buyers, commodities that are prohibited from import in their regions are blocked during recommendation and search; for commodity providers, commodities that are prohibited from export in their regions are blocked during recommendation and search; The purchase price of the purchased goods is estimated. The estimated purchase price consists of three parts: the original price of the goods, the tariff required for cross-border transportation of the goods, and the logistics price. The first and second parts are fixed values, and the third part, the logistics price, is a variable value, which is composed of the prices of shipping logistics, cross-border logistics, and receiving logistics. All possible combinations of the three logistics are obtained, and the logistics prices and estimated logistics time required for all combinations are calculated; The product recommendation module is used to make product recommendations. The information of the buyer user is sent to the intelligent product recommendation keyword model for calculation to obtain multiple keywords of the user-recommended products. The intelligent product recommendation keyword model obtains keywords by comprehensively calculating the buyer user's historical information, the buyer user's basic identity information and the buyer user's group big data information. The obtained keywords are blocked against the product blocking list; the recommended products are searched by keywords, and the keywords are sent to the API of the integrated international e-commerce platform for product search, and the top five products in the search results of each international e-commerce platform are obtained. All search results are comprehensively evaluated to obtain product evaluation values, and three random products from the top five results of product evaluation values in the evaluation results are selected as recommended products; The product search module is used to search for products. It includes two modes. Mode 1 compares the product evaluation values of all products on the international e-commerce platforms and displays the product search results according to the ranking of the product evaluation values. Mode 2 sets up an independent product search result display area for each international e-commerce platform, selects the products with the highest ranking of product evaluation values on each international e-commerce platform, and displays them in the independent product search result display area of each international e-commerce platform. Each mode contains four sub-modes, namely comprehensive, quality, price, and time. Different sub-modes adjust the weights of different parts in the comprehensive evaluation to obtain the search results of the corresponding sub-mode. The display area of each product includes the product display picture, estimated purchase price, estimated logistics time, product platform and product region; The commodity settlement module is used to recommend logistics combinations after the buyer selects the commodity. The comprehensive cost-effectiveness of logistics is calculated based on the price, time and quality of logistics. The top three results of comprehensive cost-effectiveness are displayed for recommendation. After the buyer selects the logistics combination, the actual purchase price is calculated, and the commodity payment is made using the integrated international payment API. The integrated logistics API is used to track the cross-border logistics status in real time, including monitoring of the delivery, transportation and customs clearance processes. The customs clearance management module is used to connect with the customs clearance service through API, automatically generate and submit relevant customs clearance documents, and ensure that the goods pass through customs.