Data processing method, device, equipment, computer storage medium and computer program product
By visiting the item center to obtain item attributes and freight schemes, automatically calculate the transportation costs and adjust the price in combination with the initial price of the item, the problem of manual price adjustment in the existing technology changes in freight costs is solved, and efficient and automatic price adjustment is achieved.
Patent Information
- Application Number
- CN202110351733.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-03-31
AI Technical Summary
The prior art is inefficient in adjusting the price of items, and requires manual adjustment of the price of items according to changes in freight, and the cross-border freight changes frequently, resulting in complex price adjustments.
By visiting the item center to obtain the parcel attributes of the item, determine the freight plan, and calculate the shipping cost based on the parcel attributes and freight plan, and automatically calculate the item price based on the initial price of the item, so as to achieve the decoupling of freight and initial price.
The function of automatically adjusting the price of items according to changes in freight costs is realized, reducing manual intervention, improving the efficiency and convenience of price adjustment, and is suitable for changes in transportation costs of domestic and cross-border items.
Smart Images

Figure CN113313442B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic information technology, and in particular, to data processing methods, devices, equipment, computer storage media, and computer program products. Background Art
[0002] With the development of electronic information technology, more and more items can be displayed and booked for purchase and transportation through the Internet. For example, on some electronic platform websites, users can browse the detailed information and prices of various items. Usually, many items are free shipping, but the shipping costs in different regions are different and will also change with the policies of each region. If the shipping costs change, the prices of the items need to be adjusted manually, which is very inefficient and inconvenient. Summary of the invention
[0003] In view of this, embodiments of the present application provide a data processing method, apparatus, device, computer storage medium, and computer program product to solve some or all of the above problems.
[0004] According to a first aspect of an embodiment of the present application, a data processing method is provided, comprising: accessing an item center to obtain the package attributes of an item; determining the freight plan of the item, and calculating the transportation cost of the item based on the package attributes and the freight plan; obtaining the initial price of the item; and calculating the price of the item based on the transportation cost and the initial price of the item.
[0005] According to a second aspect of an embodiment of the present application, a data processing method is provided, including: accessing an item center to obtain package attributes of cross-border items; determining a target cross-border freight plan corresponding to the cross-border items in at least one cross-border freight plan based on the shipping place and receiving place of the cross-border items, and calculating the transportation cost of the cross-border items based on the package attributes and the target cross-border freight plan, a cross-border freight plan indicating a freight plan corresponding to a transportation route between two countries; obtaining an initial price of the cross-border item; and calculating the price of the cross-border item based on the transportation cost and the initial price of the item.
[0006] According to a third aspect of an embodiment of the present application, a data processing device is provided, including: an item center module, used to access the item center to obtain the package attributes of the item; a freight module, used to determine the freight plan of the item, and calculate the transportation cost of the item based on the package attributes and the freight plan; an item cost module, used to obtain the initial price of the item; and a price module, used to calculate the price of the item based on the transportation cost and the initial price of the item.
[0007] According to the fourth aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the data processing method of the first aspect.
[0008] According to a fifth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the data processing method of the first aspect is implemented.
[0009] According to a sixth aspect of an embodiment of the present application, a computer program product is provided, which, when executed by a processor, implements the data processing method of the first aspect.
[0010] The data processing method, device, equipment, computer storage medium and computer program product provided in the embodiments of the present application access the item center to obtain the package attributes of the item; determine the freight plan of the item, and calculate the transportation cost of the item based on the package attributes and the freight plan; obtain the initial price of the item; and calculate the price of the item based on the transportation cost and the initial price of the item. Because the transportation cost and the initial price of the item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the item, and only the freight plan needs to be adjusted to automatically obtain the price of the item. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0012] Figure 1 A schematic diagram of a scenario of a data processing method provided in Example 1 of the present application;
[0013] Figure 2 A flowchart of a data processing method provided in Example 1 of the present application;
[0014] Figure 3 A schematic diagram of a domain structure provided in Example 1 of the present application;
[0015] Figure 4 A schematic diagram of the interface of a freight template provided in Example 1 of the present application;
[0016] Figure 5 A schematic diagram of a data structure provided in Example 1 of the present application;
[0017] Figure 6 A flowchart of another data processing method provided in Example 1 of the present application;
[0018] Figure 7 A flowchart of a data processing method provided in Embodiment 2 of the present application;
[0019] Figure 8 A structural block diagram of a data processing device provided in Embodiment 3 of the present application;
[0020] Fig. 9 A structural block diagram of a data processing device provided in Embodiment 4 of the present application;
[0021] Fig.10 A schematic diagram of the structure of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0023] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0024] Embodiment 1
[0025] The first embodiment of the present application provides a data processing method, which is applied to an electronic device. For ease of understanding, the application scenario of the data processing method provided in the first embodiment of the present application is described. Figure 1 As shown, Figure 1 A scenario diagram of a data processing method provided in Example 1 of the present application. Figure 1 The illustrated scenario includes an electronic device 101. The electronic device 101 may be a device for executing the data processing method provided in the first embodiment of the present application.
[0026] The electronic device 101 may be a smart phone, a tablet computer, a laptop computer, or other terminal device. The electronic device 101 may also be a network device such as a server, which is not limited in the present application.
[0027] The electronic device 101 may be a network device in the cloud, connected to the terminal device through a network. In the present application, the network includes a local area network (LAN), a wide area network (WAN), and a mobile communication network, such as the World Wide Web (WWW), a long-term evolution (LTE), a 2G network (2nd Generation Mobile Network), a 3G network (3rd Generation Mobile Network), and a 5G network (5th Generation Mobile Network). Of course, this is only an exemplary description and does not mean that the present application is limited to this.
[0028] The electronic device 101 can access the item center, logistics domain, item domain and price domain, obtain the item's package attributes by accessing the item center; determine the item's freight plan based on the logistics domain, and calculate the item's transportation cost based on the package attributes and the freight plan; obtain the item's initial price through the item domain; calculate the item's price based on the price domain based on the transportation cost and the item's initial price. The item's price is set independent of the item domain and logistics domain in a separate price domain, and the transportation cost and the item's initial price are decoupled. If the transportation cost changes, there is no need to manually adjust the item's price, and only the freight plan needs to be adjusted to automatically obtain the item's price.
[0029] Combination Figure 1 The scenario shown in the figure describes in detail the data processing method provided in the first embodiment of the present application. It should be noted that: Figure 1 This is just one application scenario of the data processing method provided in Example 1 of this application, and does not mean that the data processing method must be applied to Figure 1 In the scenario shown, optionally, the data processing method provided in the embodiment of the present application can be applied to an electronic device, that is, the electronic device is the execution subject of the data processing method provided in the embodiment of the present application, and the electronic device can be a network device such as a server, or a terminal device such as a smart phone, a tablet computer, a laptop computer, etc. Figure 2 As shown, Figure 2 A flowchart of a data processing method provided in Embodiment 1 of the present application, the method comprising the following steps:
[0030] Step 201: Access the item center to obtain the item's package attributes.
[0031] It should be noted that the item center can be set on an electronic device or other device, and the item center can contain detailed information of various items, such as the name, appearance, function, etc. The package attributes of an item may include information such as the type, size (length, width, height), and weight of the item.
[0032] Optionally, in a specific example, when a user initiates a query, the package attributes can be obtained. For example, the method may also include: receiving a query instruction for an item sent by a terminal device, the query instruction including an identification of the item; accessing the item center to obtain the package attributes of the item, including: accessing the item center according to the identification of the item and obtaining the package attributes of the item. It should be noted that the query instruction may be caused by various requests such as query requests, search requests, transaction orders, etc. initiated by the user. The identification (English: Identity, ID) of an item may refer to a category of items, and may be a string corresponding to the category of items, for example, "100001, 210001..." Of course, this is just an exemplary description.
[0033] Step 202: Determine the freight plan for the item, and calculate the transportation cost of the item based on the package attributes and the freight plan.
[0034] Exemplarily, the freight scheme of an item can be determined based on a physical domain or a logistics database. The logistics domain may include a domain for processing and storing logistics data. The logistics domain may be set on an electronic device or on other devices. A variety of freight schemes may be set in the logistics domain. A freight scheme may indicate a strategy for calculating the freight of a certain item, for example, contracting all postage, contracting part of the postage, or not contracting postage, etc. The freight scheme is used to calculate the transportation cost. An item may correspond to a freight scheme, and a freight scheme may correspond to one or more items. The regional levels of the place of shipment and the place of receipt may be provincial, municipal, etc. Of course, this is just an exemplary description.
[0035] Exemplarily, a specific example is listed here to illustrate how to calculate the transportation cost. Based on the example in step 201, further, the query instruction also includes the place of shipment and the place of receipt of the item; the transportation cost of the item is calculated according to the package attributes and the freight plan, including: the transportation cost of the item is calculated according to the freight plan, the package attributes, and the place of shipment and the place of receipt of the item. For example, the place of shipment can be China, and the place of receipt can be France or Spain; for another example, the place of shipment can be Belgium, and the place of receipt can be the United Kingdom or the United States, etc. The transportation cost can be determined based on the place of shipment (place of receipt and place of shipment), the freight plan and the package attributes. Some places of receipt and shipment may not support free shipping, and some places of receipt and shipment may support partial free shipping, that is, part of the freight is borne in proportion. Of course, this is just an exemplary description, and different regions can set freight plans according to different policies.
[0036] Furthermore, the freight plan can be updated. In an optional implementation, the method further includes: monitoring template change events in the logistics domain; when the freight plan in the logistics domain changes, updating and storing the new freight plan. The change of the freight plan can be adjusted by the user himself or according to regional policies. Of course, this is just an example.
[0037] Step 203: Get the initial price of the item.
[0038] Exemplarily, the initial price of an item can be obtained through the item domain. The item domain may include a domain for processing and storing the initial price of an item. The item domain may be set on an electronic device or on other devices. Optionally, the initial price of various items may be stored in the item domain. The initial price of an item may be the selling price of the item excluding postage. The initial price of an item may be set by the seller.
[0039] Step 204: Calculate the price of the item based on the transportation cost and the initial price of the item.
[0040] It should be noted that the price of the item can be calculated based on the price domain. The price domain may include a domain for processing and storing the price of the item. The price domain may be set on an electronic device or on other devices. Optionally, in a specific implementation, the price of the item may be the sum of the transportation cost and the initial price of the item; or, in another specific implementation, the price of the item may be the weighted sum of the transportation cost and the initial price of the item. Of course, this is only an exemplary description.
[0041] Optionally, in one embodiment, before calculating the price of the item based on the price domain according to the transportation cost and the initial price of the item, the method further includes: setting a price domain for calculating and storing the price of the item. After the price domain is set, it can be used to calculate the price of all subsequent items. After the price domain is used to calculate the price of a certain type of item for the first time, the price of the item can be stored in the price domain. If it is queried again, the price of the item can be directly extracted from the price domain without recalculation.
[0042] Optionally, in another embodiment, based on the example in step 201, the method further includes: sending the price of the item to the terminal device. After receiving the price of the item, the terminal device may display it to the user.
[0043] Combined with the data processing method described in steps 201-204 above and Figure 1 Here, another specific application scenario is listed for further explanation. Figure 3 As shown, Figure 3A domain structure diagram provided in Example 1 of the present application is shown in FIG. Figure 3 The service domain, price domain, logistics domain and item domain are shown. It should be noted that the service domain, price domain, logistics domain and item domain can be set on 1-N devices, where N is an integer greater than or equal to 4. For example, the service domain, price domain, logistics domain and item domain are respectively set on a separate device. For another example, the service domain, price domain, logistics domain and item domain can be set on the same electronic device. Of course, this is just an exemplary description.
[0044] The service domain may include search, item details, shopping cart, transaction order, marketing, investment promotion, data and other services. Each service may trigger a query instruction to query the price of an item. The logistics domain may include freight calculation and freight template, where the freight template includes a freight plan. The price domain and the service domain can access each other. The price domain can access the logistics domain and the item domain. Electronic devices can access the logistics domain through the price domain to obtain the transportation fee, and can also access the item domain through the price domain to obtain the initial price of the item. Here, combined with Figure 4 , an example of the freight template is given, Figure 4 This is a schematic diagram of an interface of a freight template provided in Example 1 of the present application. Figure 4 It includes at least one setting option for order, at least one setting option for logistics, and also shows multiple freight templates. Figure 4 This is just an exemplary description and does not mean that the present application is limited thereto.
[0045] based on Figure 3 The description further details the relationship between the data, such as Figure 5 As shown, Figure 5 A data structure diagram provided for the first embodiment of the present application, wherein the item center is used to publish goods and prices separately; the price domain can access the item domain and the logistics domain; the logistics domain can include an open data processing service (English: Open Data Processing Service, ODPS) module, a message proxy module, a freight template module and an expression module. Among them, the open data processing service module is used to provide users with a complete data import and distributed computing model, which can solve data computing problems more quickly; the message proxy module is used to monitor template change events; the freight template module can realize functions such as freight plan configuration, transportation cost management, transportation cost preview, freight template configuration, freight plan viewing, service subscription, etc.; the expression module can use expressions to calculate transportation costs.
[0046] Based on the above Figure 5 The functions of each module are further described. Figure 6 As shown, Figure 6A flowchart of another data processing method provided in Example 1 of the present application. Figure 6 An administrator, a merchant, a freight template module, an expression module, a price domain, and an item center are shown. The method includes the following steps:
[0047] Step 601: The freight template module sets up the grayscale seller according to the administrator's setting operation.
[0048] Grayscale sellers refer to merchants who do not use the data processing method provided in the embodiments of the present application to calculate the price of items.
[0049] Step 602: The freight template module places a service order based on the merchant's operation.
[0050] Service ordering here refers to ordering the price of items calculated using the data processing method provided in the embodiment of the present application.
[0051] Step 603: The freight template module configures the freight plan.
[0052] It should be noted that different shipping plans can be configured for different items.
[0053] Step 604: The shipping fee template module obtains a request initiated by the merchant to preview the shipping fee.
[0054] Step 605: The freight template module obtains the package attributes of the item from the item center.
[0055] Step 606: The freight template module inputs the package attributes into the expression module to calculate the transportation cost.
[0056] Step 607: The freight template module returns the shipping fee to the merchant for display.
[0057] Step 608: The freight template module saves the freight plan in the expression module.
[0058] It should be noted that steps 601-608 complete the configuration of the shipping plan and display the shipping costs to the merchant, and the price of the item can be calculated later. Figure 6 As shown, the method further comprises the following steps:
[0059] Step 609: The price domain obtains a query instruction for the item through the item center.
[0060] Step 610: Send an instruction to the freight template module to calculate the transportation cost.
[0061] Step 611: The freight template module obtains the package attributes of the item from the item center.
[0062] Step 612: The freight template module inputs the package attributes into the expression module to calculate the transportation cost.
[0063] Step 613: The freight template module outputs the transportation fee to the price domain.
[0064] Step 614: The price domain calculates the price of the item based on the transportation cost and the initial price of the item, and returns it to the item center.
[0065] The data processing method provided in the embodiment of the present application accesses the item center to obtain the package attributes of the item; determines the freight plan of the item, and calculates the transportation cost of the item based on the package attributes and the freight plan; obtains the initial price of the item; and calculates the price of the item based on the transportation cost and the initial price of the item. Because the transportation cost and the initial price of the item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the item, and only the freight plan needs to be adjusted to automatically obtain the price of the item.
[0066] Embodiment 2
[0067] Based on the method described in the above embodiment 1, the second embodiment of the present application provides another data processing method to illustrate cross-border items. Cross-border items are items transported between different countries. Figure 7 As shown, the data processing method includes the following steps:
[0068] Step 701: Access the item center to obtain the package attributes of the cross-border item.
[0069] Cross-border items are items described in Example 1, except that their destination and shipment are in different countries. For related explanations, please refer to the corresponding description in Example 1 above, which will not be repeated here.
[0070] Step 702: According to the shipping place and the receiving place of the cross-border item, determine the target cross-border freight plan corresponding to the cross-border item in at least one cross-border freight plan, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight plan.
[0071] A cross-border freight plan indicates a freight plan corresponding to a transport route between two countries. The place of shipment and the place of delivery of cross-border goods can be determined according to the query instruction. The specific method can refer to the description of step 202, which will not be repeated here.
[0072] Step 703: Obtain the initial price of the cross-border item.
[0073] Step 704: Calculate the price of the cross-border item based on the transportation cost and the initial price of the item.
[0074] In combination with the method described in steps 701-704, the transportation costs of cross-border items are dynamically added to the price of the items. For transportation routes in different countries, dynamic transportation costs are set to facilitate price adjustments.
[0075] The data processing method provided in the embodiment of the present application accesses the item center to obtain the parcel attributes of the cross-border item; determines the target cross-border freight plan corresponding to the cross-border item in at least one cross-border freight plan according to the shipping place and the receiving place of the cross-border item, and calculates the transportation cost of the item according to the parcel attributes and the target cross-border freight plan, and a cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtains the initial price of the item; and calculates the price of the item according to the transportation cost and the initial price of the item. Because the transportation cost of the cross-border item and the initial price of the cross-border item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the cross-border item, only the freight plan needs to be adjusted to automatically obtain the price of the item across borders.
[0076] Embodiment 3
[0077] Based on the method described in the above embodiment 1, the third embodiment of the present application provides a data processing device for executing the method described in the above embodiment 1 or embodiment 2, referring to Figure 8 As shown, the data processing device 80 includes:
[0078] The item center module 801 is used to access the item center to obtain the package attributes of the item;
[0079] The freight module 802 is used to determine the freight scheme of the item and calculate the transportation cost of the item according to the package attributes and the freight scheme;
[0080] The item cost module 803 is used to obtain the initial price of the item;
[0081] The price module 804 is used to calculate the price of the item according to the transportation cost and the initial price of the item.
[0082] Optionally, in one embodiment of the present application, the item center module 801 is further used to receive a query instruction for an item sent by a terminal device, the query instruction including an identification of the item; access the item center according to the identification of the item and obtain the package attributes of the item.
[0083] Optionally, in one embodiment of the present application, the query instruction also includes the shipping place and the destination of the item; the freight module 802 is used to calculate the transportation cost of the item based on the freight plan, package attributes, and the shipping place and the destination of the item.
[0084] Optionally, in one embodiment of the present application, the freight module 802 is also used to monitor template change events in the logistics domain; when the freight plan in the logistics domain changes, update and store the new freight plan.
[0085] Optionally, in one embodiment of the present application, the item center module 801 is also used to send the price of the item to the terminal device.
[0086] Optionally, in one embodiment of the present application, the price module 804 is further used to set a price field for calculating and storing item prices.
[0087] The data processing device provided in the embodiment of the present application accesses the item center to obtain the package attributes of the item; determines the freight plan of the item, and calculates the transportation cost of the item according to the package attributes and the freight plan; obtains the initial price of the item; and calculates the price of the item according to the transportation cost and the initial price of the item. Because the transportation cost and the initial price of the item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the item, and only the freight plan needs to be adjusted to automatically obtain the price of the item.
[0088] Embodiment 4
[0089] Based on the method described in the above embodiment 2, the fourth embodiment of the present application provides a data processing device for executing the method described in the above embodiment 2, referring to Fig. 9 As shown, the data processing device 90 includes:
[0090] The item center module 901 is used to access the item center to obtain the package attributes of the item;
[0091] The freight module 902 is used to determine a target cross-border freight scheme corresponding to the cross-border item in at least one cross-border freight scheme according to the shipping place and the receiving place of the cross-border item, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight scheme. A cross-border freight scheme indicates a freight scheme corresponding to a transportation route between two countries;
[0092] The item cost module 903 is used to obtain the initial price of cross-border items;
[0093] The price module 904 is used to calculate the price of the cross-border item based on the transportation cost and the initial price of the item.
[0094] The data processing device provided in the embodiment of the present application accesses the item center to obtain the parcel attributes of the cross-border item; determines the target cross-border freight plan corresponding to the cross-border item in at least one cross-border freight plan according to the shipping place and the receiving place of the cross-border item, and calculates the transportation cost of the item according to the parcel attributes and the target cross-border freight plan, and a cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtains the initial price of the item; and calculates the price of the item according to the transportation cost and the initial price of the item. Because the transportation cost of the cross-border item and the initial price of the cross-border item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the cross-border item, only the freight plan needs to be adjusted to automatically obtain the price of the item across borders.
[0095] Embodiment 5
[0096] Based on the methods described in the above-mentioned embodiments 1 and 2, the fifth embodiment of the present application provides an electronic device for executing the methods described in the above-mentioned embodiments 1 and 2, referring to Fig.10 As shown, Fig.10 This is a schematic diagram of the structure of an electronic device provided in Example 5 of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device.
[0097] like Fig.10 As shown, the electronic device may include: a processor (processor) 1002 , a communication interface (Communications Interface) 1004 , a memory (memory) 1006 , and a communication bus 1008 .
[0098] in:
[0099] The processor 1002 , the communication interface 1004 , and the memory 1006 communicate with each other via a communication bus 1008 .
[0100] The communication interface 1004 is used to communicate with other electronic devices such as terminal devices or servers.
[0101] The processor 1002 is used to execute the program 1010, and specifically can execute the relevant steps in the above method embodiment.
[0102] Specifically, the program 1010 may include program codes, which include computer operation instructions.
[0103] The processor 1002 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0104] The memory 1006 is used to store the program 1010. The memory 1006 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0105] The program 1010 can be specifically used to enable the processor 1002 to execute any one of the methods in the aforementioned embodiment 1 and embodiment 2.
[0106] The specific implementation of each step in program 1010 can refer to the corresponding description of the corresponding steps and units in the above data processing method embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.
[0107] The electronic device provided in the embodiment of the present application accesses the item center to obtain the package attributes of the item; determines the freight plan of the item, and calculates the transportation cost of the item according to the package attributes and the freight plan; obtains the initial price of the item; and calculates the price of the item according to the transportation cost and the initial price of the item. Because the transportation cost and the initial price of the item are decoupled, if the transportation cost changes, there is no need to manually adjust the price of the item, and only the freight plan needs to be adjusted to automatically obtain the price of the item.
[0108] Embodiment 6
[0109] Based on the methods described in the above-mentioned embodiments 1 and 2, embodiment 6 of the present application provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the methods described in embodiments 1 and 2 are implemented.
[0110] Embodiment 7
[0111] Based on the methods described in the above-mentioned embodiments 1 and 2, embodiment 7 of the present application provides a computer program product, which implements the methods described in embodiments 1 and 2 when executed by a processor.
[0112] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0113] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the data processing method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the data processing method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the data processing method shown here.
[0114] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0115] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A data processing method, comprising: Access the item center to obtain the parcel attributes of cross-border items; the item center contains detailed information on various items; Determine, through the logistics domain, according to the place of shipment and the place of receipt of the cross-border item, in at least one cross-border freight scheme a target cross-border freight scheme corresponding to the cross-border item, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight scheme, wherein the cross-border freight scheme at least includes a distribution rule of the transportation cost, and a cross-border freight scheme indicates a freight scheme corresponding to a transportation route between two countries, and the cross-border freight scheme is obtained according to a freight template in the logistics domain, and the freight template is also used to implement transportation cost management, transportation cost preview, freight template configuration, freight scheme viewing, and service subscription; wherein the logistics domain is used to process logistics data, and the at least one cross-border freight scheme in the logistics domain includes: a freight scheme that contracts all postage, a freight scheme that contracts part of the postage, or a freight scheme that does not contract postage; Obtaining the initial price of the cross-border item through the item domain; wherein the initial price of each item is stored in the item domain, and the initial price of the item is the selling price of the item excluding postage; The query instruction is triggered by the service in the service domain to query the price of the cross-border item, wherein the price of the cross-border item is obtained by weighted summation of the transportation cost and the initial price of the cross-border item; the service domain includes a variety of different services, each of which can trigger a query instruction to query the price of the cross-border item; the logistics domain, the item domain and the service domain are independent of each other; The price of the cross-border item is obtained by weighted summing the transportation cost and the initial price of the cross-border item, including: accessing the logistics domain through the price domain to obtain the transportation cost of the cross-border item, and accessing the item domain through the price domain to obtain the initial price of the cross-border item, and performing weighted summing of the transportation cost and the initial price of the cross-border item through the price domain to obtain the price of the cross-border item.
2. The method according to claim 1, further comprising: Receiving a query instruction for a cross-border item sent by a terminal device, wherein the query instruction includes an identifier of the cross-border item; The accessing the item center to obtain the package attributes of the cross-border item includes: accessing the item center according to the identifier of the cross-border item and obtaining the package attributes of the cross-border item.
3. The method according to claim 2, further comprising: Monitoring template change events in the logistics domain; When the freight plan in the logistics domain changes, the new freight plan is updated and stored.
4. The method according to any one of claims 1 to 3, further comprising: The price field is provided for calculating and storing the price of an item.
5. A data processing device, comprising: The item center module is used to access the item center to obtain the parcel attributes of cross-border items; the item center contains detailed information of various items; A freight module, used to determine a target cross-border freight scheme corresponding to the cross-border item in at least one cross-border freight scheme through the logistics domain according to the place of shipment and the place of receipt of the cross-border item, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight scheme, wherein the cross-border freight scheme at least includes a distribution rule of the transportation cost, and a cross-border freight scheme indicates a freight scheme corresponding to a transportation route between two countries, and the cross-border freight scheme is obtained according to a freight template in the logistics domain, and the freight template is also used to implement transportation cost management, transportation cost preview, freight template configuration, freight scheme viewing, and service subscription; wherein the logistics domain is used to process logistics data, and at least one cross-border freight scheme in the logistics domain includes: a freight scheme for contracting all postage, a freight scheme for contracting part of the postage, or a freight scheme for not contracting postage; An item cost module, used to obtain the initial price of the cross-border item through the item domain; wherein the initial price of each item is stored in the item domain, and the initial price of the item is the selling price of the item without including postage; A price module, used to trigger a query instruction through a service in the service domain to query the price of the cross-border item, wherein the price of the cross-border item is obtained by weighted summation of the transportation cost and the initial price of the cross-border item; the service domain includes a variety of different services, each of which can trigger a query instruction to query the price of the cross-border item; Wherein, the logistics domain in the freight module, the item domain in the item cost module and the service domain in the price module are independent of each other; Among them, the price of the cross-border item is obtained according to the weighted sum of the transportation cost and the initial price of the cross-border item, including: accessing the logistics domain through the price domain to obtain the transportation cost of the cross-border item, and accessing the item domain through the price domain to obtain the initial price of the cross-border item, and performing weighted summation of the transportation cost and the initial price of the cross-border item through the price domain to obtain the price of the cross-border item.
6. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the data processing method according to any one of claims 1 to 4.
7. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the data processing method according to any one of claims 1 to 4 is implemented.
8. A computer program product, which, when executed by a processor, implements the data processing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Search result ordering method and system
CN102081776A
Shipping cost template technique for e-commerce platform
CN107609887A