WO2022206224A1 - Data processing method and apparatus, and device, computer storage medium and computer program product - Google Patents

Data processing method and apparatus, and device, computer storage medium and computer program product Download PDF

Info

Publication number
WO2022206224A1
WO2022206224A1 PCT/CN2022/077653 CN2022077653W WO2022206224A1 WO 2022206224 A1 WO2022206224 A1 WO 2022206224A1 CN 2022077653 W CN2022077653 W CN 2022077653W WO 2022206224 A1 WO2022206224 A1 WO 2022206224A1
Authority
WO
WIPO (PCT)
Prior art keywords
item
price
freight
border
plan
Prior art date
Application number
PCT/CN2022/077653
Other languages
French (fr)
Chinese (zh)
Inventor
凌宇
马晓晖
Original Assignee
阿里巴巴(中国)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴(中国)有限公司 filed Critical 阿里巴巴(中国)有限公司
Publication of WO2022206224A1 publication Critical patent/WO2022206224A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0834Choice of carriers
    • G06Q10/08345Pricing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0831Overseas transactions

Definitions

  • the embodiments of the present application relate to the field of electronic information technology, and in particular, to a data processing method, apparatus, device, computer storage medium, and computer program product.
  • 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.
  • a data processing method including: accessing an item center to obtain package attributes of an item; determining a freight plan for the item, and calculating the transportation cost of the item according to the package attribute and the freight plan; obtaining the item The initial price of the item; the price of the item is calculated based on the shipping cost and the initial price of the item.
  • a data processing method including: accessing an item center to obtain package attributes of cross-border items; In the plan, the target cross-border freight plan corresponding to the cross-border item is determined, and the transportation cost of the cross-border item is calculated according to the package attributes and the target cross-border freight plan.
  • a cross-border freight plan indicates the freight plan corresponding to the transportation route between the two countries. ; Get the initial price of the cross-border item; calculate the price of the cross-border item based on the shipping cost and the initial price of the item.
  • a data processing apparatus including: an item center module, used for accessing the item center to obtain package attributes of items; and the freight plan to calculate the transportation cost of the item; the item cost module is used to obtain the initial price of the item; the price module is used to calculate the price of the item based on the transportation cost and the initial price of the item.
  • an electronic device including: a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used for storing At least one executable instruction, the executable instruction enables the processor to perform operations corresponding to the data processing method of the first aspect.
  • 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.
  • a computer program product which implements the data processing method of the first aspect when the computer program product is executed by a processor.
  • the data processing method, device, device, computer storage medium and computer program product provided by the embodiments of this application access the item center to obtain the package attribute of the item; determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan; Get the item's initial price; calculate the item's price based on the shipping cost and the item's initial price. 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
  • FIG. 1 is a schematic diagram of a scenario of a data processing method provided in Embodiment 1 of the present application;
  • FIG. 3 is a schematic diagram of a domain structure provided in Embodiment 1 of the present application.
  • FIG. 4 is a schematic interface diagram of a freight template provided in Embodiment 1 of the present application.
  • FIG. 5 is a schematic diagram of a data structure provided in Embodiment 1 of the present application.
  • FIG. 6 is a flowchart of another data processing method provided in Embodiment 1 of the present application.
  • FIG. 7 is a flowchart of a data processing method provided in Embodiment 2 of the present application.
  • FIG. 8 is a structural block diagram of a data processing apparatus according to Embodiment 3 of the present application.
  • FIG. 9 is a structural block diagram of a data processing apparatus according to Embodiment 4 of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present application.
  • Embodiment 1 of the present application provides a data processing method, which is applied to an electronic device.
  • a data processing method which is applied to an electronic device.
  • FIG. 1 is an implementation of the present application.
  • Example 1 provides a scene diagram of a data processing method.
  • the scene shown in FIG. 1 includes an electronic device 101 .
  • the electronic device 101 may be a device that executes the data processing method provided in Embodiment 1 of the present application.
  • the electronic device 101 may be a terminal device such as a smart phone, a tablet computer, a notebook computer, or the like, and the electronic device 101 may also be a network device such as a server, which is not limited in this application.
  • the electronic device 101 may be a network device in the cloud, and is connected to a terminal device through a network.
  • the network includes a local area network (English: Local Area Network, LAN), a wide area network (English: Wide Area Network, WAN), and mobile communication networks; Such as World Wide Web (English: World Wide Web, WWW), Long Term Evolution (English: Long Term Evolution, LTE) network, 2G network (English: 2th Generation Mobile Network), 3G network (English: 3th Generation Mobile Network), 5G network ( English: 5th Generation Mobile Network) and so on.
  • LAN Local Area Network
  • WAN Wide Area Network
  • mobile communication networks Such as World Wide Web (English: World Wide Web, WWW), Long Term Evolution (English: Long Term Evolution, LTE) network, 2G network (English: 2th Generation Mobile Network), 3G network (English: 3th Generation Mobile Network), 5G network ( English: 5th Generation Mobile Network) and so on.
  • WWW World Wide Web
  • 2G network English: 2th Generation Mobile Network
  • 3G network
  • the electronic device 101 can access the item center, the logistics field, the item field and the price field, and obtain the package attribute of the item by accessing the item center; determine the freight plan of the item based on the logistics field, and calculate the transportation cost of the item according to the package attribute and the freight plan;
  • the item field obtains the initial price of the item; according to the shipping cost and the initial price of the item, the price of the item is calculated based on the price field.
  • FIG. 1 is only an application scenario of the data processing method provided by Embodiment 1 of the present application, and does not represent the data The processing method must be applied to the scenario shown in FIG. 1 .
  • the data processing method provided by this embodiment of the present application may be applied to an electronic device, that is, the electronic device is the execution body of the data processing method provided by the embodiment of the present application, and the electronic The device may be a network device such as a server, or a terminal device such as a smart phone, a tablet computer, a notebook computer, etc.
  • FIG. 2 is a flowchart of a data processing method provided in Embodiment 1 of the present application. The method includes the following steps:
  • Step 201 Access the item center to obtain the package attribute of the item.
  • the item center may be set on the electronic device or other devices, and the item center may contain detailed information of various items, such as the name, appearance, and function of the item.
  • the package attribute of the item may include the type, size (length, width and height), weight and other information of the item.
  • the method may further include: receiving a query instruction for the item sent by the terminal device, where the query instruction includes the identifier of the item; visiting the item center Obtaining the package property of an item includes: accessing the item center according to the item's identifier and obtaining the package property of the item.
  • the query instruction may be caused by various requests such as a query request, a search request, and a transaction order initiated by the user.
  • the identifier (English: Identity, ID) of an item may refer to a type of item, and may be a character string corresponding to this type of item, for example, "100001, 210001.", of course, this is just an exemplary description.
  • Step 202 Determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan.
  • the freight plan of an item may 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 freight plan can indicate the strategy for calculating the freight of a certain item, for example, contract all the postage, contract a part of the postage, or not contract the postage, etc.
  • the freight plan is used to calculate the transportation cost.
  • One item can correspond to one shipping plan, and one shipping plan can correspond to one or more items.
  • the regional level of the place of origin and the place of receipt may be national, municipal, etc. Of course, this is just an exemplary illustration.
  • the query instruction further includes the origin and destination of the item; the transportation of the item is calculated according to the package attribute and the freight plan.
  • Fees including: Calculate the shipping cost of an item based on the shipping plan, package attributes, and where the item is shipped from and received.
  • the place of delivery can be China, and the place of delivery can be France or Spain; another example, the place of delivery can be Belgium, and the place of delivery can be the United Kingdom or the United States, etc.
  • Shipping plans and package attributes determine shipping costs. Some places of receipt and origin may not support free shipping, and some places of receipt and origin may support partial free shipping, that is, part of the freight is borne in proportion. Of course, this is just an example description, different Regions can set shipping plans based on different policies.
  • the freight plan can be updated, and in an optional implementation manner, the method further includes: monitoring a template change event in the logistics domain; when the freight plan in the logistics domain is changed, updating and storing the new freight plan .
  • the change of the shipping plan can be adjusted by the user, or it can be changed according to the regional policy. Of course, this is just an example description.
  • Step 203 Obtain the initial price of the item.
  • the initial price of the item can be obtained through the item field.
  • the item field may include a field for processing and storing the initial price of the item.
  • Item domains can be set on electronic devices or on other devices.
  • the item field can store the initial price of various items, the initial price of the item can be the selling price on the premise that the item does not include postage, and the initial price of the item can be set by the seller.
  • Step 204 Calculate the price of the item according to the transportation cost and the initial price of the item.
  • the price of the item can be calculated based on the price field.
  • the price field may include a field that processes and stores the price of an item.
  • the price field can be set on electronic devices or on other devices.
  • the price of the item may be the sum of the shipping cost and the initial price of the item; or, in another specific implementation, the price of the item may be the shipping cost and the item's initial price. Weighted summation of initial prices.
  • this is just an exemplary illustration.
  • the method before calculating the price of the item based on the price field according to the shipping cost and the initial price of the item, the method further includes: setting a price field for calculating and storing the price of the item. After the price field is set, it can be used to calculate the price of all subsequent items. After a certain type of item uses the price field to calculate the price of the item for the first time, the price of the item can be stored in the price field. If you query again, you can directly Extract the price of the item from the price field, without recalculation.
  • the method further includes: sending the price of the item to the terminal device. After receiving the price of the item, the terminal device can display it to the user.
  • FIG. 3 is a schematic diagram of a domain structure provided in Embodiment 1 of the application.
  • FIG. 3 shows a service domain, a price domain, a logistics domain, and an item domain.
  • the service domain, price domain, The logistics domain and the item domain can be set on 1-N devices, where N is an integer greater than or equal to 4.
  • the service domain, the price domain, the logistics domain, and the item domain are set on a separate device.
  • the service domain, price domain, logistics domain, and item domain can be set on the same electronic device.
  • this is just an exemplary illustration.
  • the service domain may include services such as search, item details, shopping cart, transaction ordering, marketing, investment promotion, data, etc. Each service may cause a query instruction to query the price of the item.
  • the logistics domain can include freight calculation, freight template, and the freight template includes 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, and the electronic device can access the logistics domain through the price domain to obtain transportation costs, and can also access the item domain through the price domain to obtain the initial price of the item.
  • FIG. 4 is a schematic interface diagram of a freight template provided in Embodiment 1 of the application.
  • FIG. 4 includes at least one setting option of an order, and also includes at least one of the logistics A setup option that also shows various shipping templates.
  • FIG. 4 is only an exemplary illustration, which does not mean that the present application is limited thereto.
  • FIG. 5 is a schematic diagram of a data structure provided in Embodiment 1 of the application, wherein the item center is used to separate the published products and prices;
  • the 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 broker module, a freight template module and an expression module.
  • Open Data Processing Service English: Open Data Processing Service, ODPS
  • 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 broker module is used to monitor template change events;
  • the freight template module can realize freight plan configuration , transportation cost management, transportation cost preview, freight template configuration, freight plan view, service subscription and other functions;
  • the expression module can use expressions to calculate the transportation cost.
  • FIG. 6 is a flowchart of another data processing method provided by Embodiment 1 of the present application.
  • Figure 6 shows an administrator, a merchant, a shipping template module, an expression module, a price field, and an item center, and the method includes the following steps:
  • Step 601 the freight template module sets the grayscale seller according to the setting operation of the administrator.
  • a grayscale seller refers to a merchant that does not calculate the price of an item by using the data processing method provided in the embodiment of the present application.
  • Step 602 the freight template module performs service ordering according to the operation of the merchant.
  • the service ordering here refers to ordering the price of an item calculated by using the data processing method provided by the embodiment of the present application.
  • Step 603 the freight template module configures the freight plan.
  • Step 604 The shipping cost template module obtains a request for previewing shipping costs initiated by the merchant.
  • Step 605 The freight template module obtains the package attribute of the item from the item center.
  • step 606 the freight template module inputs the package attributes into the expression module to calculate the transportation cost.
  • Step 607 The shipping cost template module returns the shipping cost to the merchant for display.
  • Step 608 The freight template module saves the freight plan in the expression module.
  • steps 601-608 complete the configuration of the shipping plan, and show the shipping cost to the merchant, and the price of the item can be calculated later.
  • the method further includes the following steps:
  • Step 609 the price domain obtains the query instruction for the item through the item center.
  • Step 610 Send an instruction to calculate the shipping cost to the shipping cost template module.
  • Step 611 The shipping template module obtains the package attribute of the item from the item center.
  • Step 612 The shipping template module inputs the package attributes into the expression module to calculate shipping costs.
  • Step 613 The freight template module outputs the freight cost to the price field.
  • Step 614 the price field calculates the price of the item according to the shipping cost and the initial price of the item, and returns it to the item center.
  • the package attribute of the item is obtained by accessing the item center; the freight plan of the item is determined, and the transportation cost of the item is calculated according to the package attribute and the freight plan; the initial price of the item is obtained; Initial price, calculates the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
  • Embodiment 2 of the present application provides another data processing method to describe cross-border items.
  • Cross-border items are items that are transported between different countries.
  • the data processing method includes the following steps:
  • Step 701 Access the item center to obtain the package attribute of the cross-border item.
  • the cross-border item belongs to the item described in the first embodiment, except that the place of receipt and the place of delivery are in different countries.
  • the place of receipt and the place of delivery are in different countries.
  • Step 702 Determine the target cross-border freight rate plan corresponding to the cross-border item in at least one cross-border freight rate plan according to the origin and destination of the cross-border item, and calculate the transportation of the item according to the package attributes and the target cross-border freight rate plan cost.
  • a cross-border shipping rate scheme indicates the corresponding shipping rate scheme for a shipping line between two countries.
  • the place of delivery and the place of receipt of the cross-border item may be determined according to the query instruction, and the specific method may refer to the description of step 202, which will not be repeated here.
  • Step 703 Obtain the initial price of the cross-border item.
  • Step 704 Calculate the price of the cross-border item according to the transportation cost and the initial price of the item.
  • the transportation cost of cross-border items is dynamically superimposed within the price of the item, and dynamic transportation costs are set for transportation routes in different countries to facilitate price adjustment.
  • the package attribute of the cross-border item is obtained by accessing the item center; the target cross-border item corresponding to the cross-border item is determined in at least one cross-border freight scheme according to the origin and destination of the cross-border item.
  • Cross-border freight plan and calculate the transportation cost of the item according to the package attributes and the target cross-border freight plan.
  • a cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtain the initial price of the item; according to the transportation cost and the item The initial price to calculate the price of the item. Because the transportation cost of cross-border items and the initial price of cross-border items are decoupled, if the transportation cost changes, there is no need to manually adjust the price of cross-border items. You only need to adjust the freight plan to automatically obtain the price of items across borders.
  • Embodiment 3 of the present application provides a data processing apparatus for executing the method described in Embodiment 1 or Embodiment 2 above.
  • the data processing apparatus 80 includes :
  • the item center module 801 is used to access the item center to obtain the package attribute of the item;
  • the freight module 802 is used to determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan;
  • the price module 804 is used to calculate the price of the item according to the shipping cost and the initial price of the item.
  • the item center module 801 is further configured to receive a query instruction for the item sent by the terminal device, where the query instruction includes the identifier of the item; access the item center according to the identifier of the item and obtain the information of the item. Wrap properties.
  • the query instruction further includes the place of origin and destination of the item;
  • the freight module 802 is configured to calculate the origin and destination of the item according to the freight plan, package attributes, and the place of origin and destination of the item Shipping costs for the item.
  • the freight module 802 is further configured to monitor a template change event in the logistics domain; when the freight scheme in the logistics domain is changed, update and store the new freight scheme.
  • the item center module 801 is further configured to send the price of the item to the terminal device.
  • the price module 804 is further configured to set a price field for calculating and storing the price of the item.
  • the data processing device accesses the item center to obtain the package attributes of the items; determines the freight plan of the items, and calculates the transportation cost of the items according to the package attributes and the freight plan; obtains the initial price of the items; Initial price, calculates the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
  • Embodiment 4 of the present application provides a data processing apparatus for executing the method described in Embodiment 2 above.
  • the data processing apparatus 90 includes:
  • the item center module 901 is used to access the item center to obtain the package attribute of the item;
  • the freight module 902 is used to determine the target cross-border freight scheme corresponding to the cross-border item in at least one cross-border freight scheme according to the origin and the destination of the cross-border item, and calculate it according to the package attributes and the target cross-border freight scheme
  • the transportation cost of the item, a cross-border freight plan indicates the freight plan corresponding to the transportation route between the two countries;
  • the price module 904 is used to calculate the price of the cross-border item according to the shipping cost and the initial price of the item.
  • the data processing device accesses the item center to obtain the package attributes of the cross-border item; and determines the target cross-border item corresponding to the cross-border item in at least one cross-border freight scheme according to the origin and destination of the cross-border item.
  • Cross-border freight plan and calculate the transportation cost of the item according to the package attributes and the target cross-border freight plan.
  • a cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtain the initial price of the item; according to the transportation cost and the item The initial price to calculate the price of the item. Because the transportation cost of cross-border items and the initial price of cross-border items are decoupled, if the transportation cost changes, there is no need to manually adjust the price of cross-border items. You only need to adjust the freight plan to automatically obtain the price of items across borders.
  • Embodiment 5 of the present application provides an electronic device for executing the methods described in Embodiment 1 and Embodiment 2 above.
  • FIG. 10 shows The fifth embodiment of the present application provides a schematic structural diagram of an electronic device, and the specific embodiments of the present application do not limit the specific implementation of the electronic device.
  • the electronic device may include: a processor (processor) 1002 , a communication interface (Communications Interface) 1004 , a memory (memory) 1006 , and a communication bus 1008 .
  • processor processor
  • Communication interface Communication interface
  • memory memory
  • communication bus 1008
  • the processor 1002 , the communication interface 1004 , and the memory 1006 communicate with each other through the communication bus 1008 .
  • the communication interface 1004 is used to communicate with other electronic devices such as terminal devices or servers.
  • the processor 1002 is configured to execute the program 1010, and specifically may execute the relevant steps in the foregoing method embodiments.
  • the program 1010 may include program code including computer operation instructions.
  • the processor 1002 may be a central processing unit (CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), 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 the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 1006 is used to store the program 1010 .
  • Memory 1006 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
  • the program 1010 may specifically be used to cause the processor 1002 to execute any one of the methods in the first embodiment and the second embodiment.
  • the electronic device 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 attribute and the freight plan; obtains the initial price of the item; price, calculate the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
  • Embodiment 6 of the present application provides a computer storage medium on which a computer program is stored.
  • the program is executed by a processor, the implementation of Embodiment 1 and Embodiment 2 is implemented method described.
  • Embodiment 7 of the present application provides a computer program product, which implements the methods described in Embodiment 1 and Embodiment 2 when the computer program product is executed by a processor.
  • each component/step described in the embodiments of the present application may be split into more components/steps, or two or more components/steps or part of operations of components/steps may be combined into New components/steps to achieve the purpose of the embodiments of the present application.
  • the above-mentioned methods according to the embodiments of the present application can be implemented in hardware, firmware, or as software or computer codes that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented through Network downloaded computer code originally stored in a remote recording medium or non-transitory machine-readable medium and will be stored in a local recording medium so that the methods described herein can be stored on a computer using a general purpose computer, special purpose processor or programmable or such software processing on a recording medium of dedicated hardware such as ASIC or FPGA.
  • a recording medium such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk
  • Network downloaded computer code originally stored in a remote recording medium or non-transitory machine-readable medium and will be stored in a local recording medium so that the methods described herein can be stored on a computer using a general purpose computer, special purpose processor or programmable or such software processing on a recording medium of dedicated hardware such as A
  • a computer, processor, microprocessor controller or programmable hardware includes storage components (eg, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is executed by a computer, processor or hardware when accessed and executed, implements the data processing methods described herein.
  • storage components eg, RAM, ROM, flash memory, etc.
  • execution of the code converts the general-purpose computer into a special-purpose computer for executing the data processing methods shown herein.

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Provided in the embodiments of the present application are a data processing method and apparatus, and a device, a computer storage medium and a computer program product. The data processing method comprises: accessing an item center to acquire parcel attributes of an item; determining a shipping plan for the item, and calculating a shipping expense for the item according to the parcel attributes and the shipping plan; acquiring an initial price of the item; and calculating the price of the item according to the shipping expense and the initial price of the item. The shipping expense is decoupled from an initial price of an item. In this way, if the shipping expense changes, the price of the item does not need to be manually adjusted, and can be automatically obtained simply by adjusting the shipping plan.

Description

数据处理方法、装置、设备、计算机存储介质及计算机程序产品Data processing method, apparatus, apparatus, computer storage medium and computer program product 技术领域technical field
本申请实施例涉及电子信息技术领域,尤其涉及数据处理方法、装置、设备、计算机存储介质及计算机程序产品。The embodiments of the present application relate to the field of electronic information technology, and in particular, to a data processing method, apparatus, device, computer storage medium, and computer program product.
背景技术Background technique
随着电子信息技术的发展,越来越多的物品购买和运输都可以通过互联网进行展示和预定。例如,在一些电子平台网站,用户可以浏览各种物品的详细信息及价格,通常,许多物品是包邮的,但不同地区的运费各不相同,而且也会随着各地区的政策进行变化,如果运费发生变化,需要人工对物品价格进行调节,效率很低而且十分不便。With the development of electronic information technology, more and more items can be displayed and booked through the Internet for purchase and transportation. 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 cost varies in different regions, and it will also change with the policies of each region. If the shipping fee changes, it is necessary to manually adjust the item price, which is inefficient and inconvenient.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供一种数据处理方法、装置、设备、计算机存储介质及计算机程序产品,以解决上述部分或全部问题。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.
根据本申请实施例的第一方面,提供了一种数据处理方法,包括:访问物品中心获取物品的包裹属性;确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。According to a first aspect of the embodiments of the present application, a data processing method is provided, including: accessing an item center to obtain package attributes of an item; determining a freight plan for the item, and calculating the transportation cost of the item according to the package attribute and the freight plan; obtaining the item The initial price of the item; the price of the item is calculated based on the shipping cost and the initial price of the item.
根据本申请实施例的第二方面,提供了一种数据处理方法,包括:访问物品中心获取跨境物品的包裹属性;根据跨境物品的发货地和收货地,在至少一个跨境运费方案中确定跨境物品对应的目标跨境运费方案,并根据包裹属性和目标跨境运费方案计算跨境物品的运输费用,一个跨境运费方案指示两个国家之间的运输线路对应的运费方案;获取跨境物品的初始价;根据运输费用和物品的初始价,计算跨境物品的价格。According to a second aspect of the embodiments of the present application, a data processing method is provided, including: accessing an item center to obtain package attributes of cross-border items; In the plan, the target cross-border freight plan corresponding to the cross-border item is determined, and the transportation cost of the cross-border item is calculated according to the package attributes and the target cross-border freight plan. A cross-border freight plan indicates the freight plan corresponding to the transportation route between the two countries. ; Get the initial price of the cross-border item; calculate the price of the cross-border item based on the shipping cost and the initial price of the item.
根据本申请实施例的第三方面,提供了一种数据处理装置,包括:物品中心模块,用于访问物品中心获取物品的包裹属性;运费模块,用于确定物 品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;物品成本模块,用于获取物品的初始价;价格模块,用于根据运输费用和物品的初始价,计算物品的价格。According to a third aspect of the embodiments of the present application, a data processing apparatus is provided, including: an item center module, used for accessing the item center to obtain package attributes of items; and the freight plan to calculate the transportation cost of the item; the item cost module is used to obtain the initial price of the item; the price module is used to calculate the price of the item based on the transportation cost and the initial price of the item.
根据本申请实施例的第四方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;存储器用于存放至少一可执行指令,可执行指令使处理器执行如第一方面的数据处理方法对应的操作。According to a fourth aspect of the embodiments of the present application, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used for storing At least one executable instruction, the executable instruction enables the processor to perform operations corresponding to the data processing method of the first aspect.
根据本申请实施例的第五方面,提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面的数据处理方法。According to a fifth aspect of the embodiments 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.
根据本申请实施例的第六方面,提供了一种计算机程序产品,该计算机程序产品被处理器执行时实现如第一方面的数据处理方法。According to a sixth aspect of the embodiments of the present application, a computer program product is provided, which implements the data processing method of the first aspect when the computer program product is executed by a processor.
本申请实施例提供的数据处理方法、装置、设备、计算机存储介质及计算机程序产品,访问物品中心获取物品的包裹属性;确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为将运输费用和物品的初始价进行了解耦,如果运输费用变化,不需要人工调整物品的价格,只需要调整运费方案,即可自动获取物品的价格。The data processing method, device, device, computer storage medium and computer program product provided by the embodiments of this application, access the item center to obtain the package attribute of the item; determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan; Get the item's initial price; calculate the item's price based on the shipping cost and the item's initial price. 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in the embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings.
图1为本申请实施例一提供的一种数据处理方法的场景示意图;FIG. 1 is a schematic diagram of a scenario of a data processing method provided in Embodiment 1 of the present application;
图2为本申请实施例一提供的一种数据处理方法的流程图;2 is a flowchart of a data processing method provided in Embodiment 1 of the present application;
图3为本申请实施例一提供的一种域结构示意图;3 is a schematic diagram of a domain structure provided in Embodiment 1 of the present application;
图4为本申请实施例一提供的一种运费模板的界面示意图;4 is a schematic interface diagram of a freight template provided in Embodiment 1 of the present application;
图5为本申请实施例一提供的一种数据结构示意图;FIG. 5 is a schematic diagram of a data structure provided in Embodiment 1 of the present application;
图6为本申请实施例一提供的另一种数据处理方法的流程图;6 is a flowchart of another data processing method provided in Embodiment 1 of the present application;
图7为本申请实施例二提供的一种数据处理方法的流程图;7 is a flowchart of a data processing method provided in Embodiment 2 of the present application;
图8为本申请实施例三提供的一种数据处理装置的结构框图;FIG. 8 is a structural block diagram of a data processing apparatus according to Embodiment 3 of the present application;
图9为本申请实施例四提供的一种数据处理装置的结构框图;FIG. 9 is a structural block diagram of a data processing apparatus according to Embodiment 4 of the present application;
图10为本申请实施例五提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present application.
具体实施方式Detailed ways
为了使本领域的人员更好地理解本申请实施例中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请实施例保护的范围。In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. The embodiments described above are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the embodiments of the present application should fall within the protection scope of the embodiments of the present application.
下面结合本申请实施例附图进一步说明本申请实施例具体实现。The specific implementation of the embodiments of the present application is further described below with reference to the accompanying drawings of the embodiments of the present application.
实施例一Example 1
本申请实施例一提供一种数据处理方法,应用于电子设备,为了便于理解,对本申请实施例一所提供的数据处理方法的应用场景进行说明,参照图1所示,图1为本申请实施例一提供的一种数据处理方法的场景示意图。图1所示的场景中包括电子设备101。电子设备101可以是执行本申请实施例一提供的数据处理方法的设备。Embodiment 1 of the present application provides a data processing method, which is applied to an electronic device. For ease of understanding, an application scenario of the data processing method provided by Embodiment 1 of the present application is described. Referring to FIG. 1 , FIG. 1 is an implementation of the present application. Example 1 provides a scene diagram of a data processing method. The scene shown in FIG. 1 includes an electronic device 101 . The electronic device 101 may be a device that executes the data processing method provided in Embodiment 1 of the present application.
电子设备101可以是智能手机、平板电脑、笔记本电脑、等终端设备,电子设备101也可以是服务器等网络设备,本申请对此不作限制。The electronic device 101 may be a terminal device such as a smart phone, a tablet computer, a notebook computer, or the like, and the electronic device 101 may also be a network device such as a server, which is not limited in this application.
电子设备101可以是云端的网路设备,通过网络与终端设备连接,本申请中,网络包括局域网(英文:Local Area Network,LAN)、广域网(英文:Wide Area Network,WAN)、移动通信网络;如万维网(英文:World Wide Web,WWW)、长期演进(英文:Long Term Evolution,LTE)网络、2G网络(英文:2th Generation Mobile Network)、3G网络(英文:3th Generation Mobile Network),5G网络(英文:5th Generation Mobile Network)等。当然,此处只是示例性说明,并不代表本申请局限于此。The electronic device 101 may be a network device in the cloud, and is connected to a terminal device through a network. In this application, the network includes a local area network (English: Local Area Network, LAN), a wide area network (English: Wide Area Network, WAN), and mobile communication networks; Such as World Wide Web (English: World Wide Web, WWW), Long Term Evolution (English: Long Term Evolution, LTE) network, 2G network (English: 2th Generation Mobile Network), 3G network (English: 3th Generation Mobile Network), 5G network ( English: 5th Generation Mobile Network) and so on. Of course, this is only an exemplary description, which does not mean that the present application is limited thereto.
电子设备101可以访问物品中心、物流域、物品域和价格域,通过访问物品中心获取物品的包裹属性;基于物流域确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;通过物品域获取物品的初始价;根 据运输费用和物品的初始价,基于价格域计算物品的价格。将物品的价格独立于物品域和物流域之外,设置在单独的价格域中,将运输费用和物品的初始价进行了解耦,如果运输费用变化,不需要人工调整物品的价格,只需要调整运费方案,即可自动获取物品的价格。The electronic device 101 can access the item center, the logistics field, the item field and the price field, and obtain the package attribute of the item by accessing the item center; determine the freight plan of the item based on the logistics field, and calculate the transportation cost of the item according to the package attribute and the freight plan; The item field obtains the initial price of the item; according to the shipping cost and the initial price of the item, the price of the item is calculated based on the price field. Set the price of the item independent of the item domain and logistics domain, set it in a separate price domain, and decouple the transportation cost from the initial price of the item. If the transportation cost changes, there is no need to manually adjust the price of the item, just need Adjust the shipping plan to automatically get the price of the item.
结合图1所示的场景,详细说明本申请实施例一提供的数据处理方法,需要说明的是,图1只是本申请实施例一提供的数据处理方法的一种应用场景,并不代表该数据处理方法必须应用于图1所示的场景,可选地,本申请实施例提供的数据处理方法可以应用于电子设备,即电子设备为本申请实施例提供的数据处理方法的执行主体,该电子设备可以是服务器等网络设备,也可以是如智能手机、平板电脑、笔记本电脑等终端设备,参照图2所示,图2为本申请实施例一提供的一种数据处理方法的流程图,该方法包括以下步骤:The data processing method provided by Embodiment 1 of the present application is described in detail with reference to the scenario shown in FIG. 1 . It should be noted that FIG. 1 is only an application scenario of the data processing method provided by Embodiment 1 of the present application, and does not represent the data The processing method must be applied to the scenario shown in FIG. 1 . Optionally, the data processing method provided by this embodiment of the present application may be applied to an electronic device, that is, the electronic device is the execution body of the data processing method provided by the embodiment of the present application, and the electronic The device may be a network device such as a server, or a terminal device such as a smart phone, a tablet computer, a notebook computer, etc. Referring to FIG. 2 , FIG. 2 is a flowchart of a data processing method provided in Embodiment 1 of the present application. The method includes the following steps:
步骤201、访问物品中心获取物品的包裹属性。Step 201: Access the item center to obtain the package attribute of the item.
需要说明的是,物品中心可以设置在电子设备上,也可以设置在其他设备上,物品中心可以包含各种物品的详细信息,例如,物品的名称、外观、功能等。物品的包裹属性可以包括物品的类型、大小(长宽高)、重量等信息。It should be noted that the item center may be set on the electronic device or other devices, and the item center may contain detailed information of various items, such as the name, appearance, and function of the item. The package attribute of the item may include the type, size (length, width and height), weight and other information of the item.
可选地,在一具体示例中,在用户发起查询时,可以获取包裹属性,例如,该方法还可以包括:接收终端设备发送的对于物品的查询指令,查询指令包括物品的标识;访问物品中心获取物品的包裹属性,包括:根据物品的标识访问物品中心并获取物品的包裹属性。需要说明的是,查询指令可以是用户发起的查询请求、搜索请求、交易下单等各种请求引起的。物品的标识(英文:Identity,ID)可以指代一类物品,可以是该类物品对应的字符串,例如,“100001,210001……”,当然,此处只是示例性说明。Optionally, in a specific example, when the user initiates a query, the package attribute can be obtained. For example, the method may further include: receiving a query instruction for the item sent by the terminal device, where the query instruction includes the identifier of the item; visiting the item center Obtaining the package property of an item includes: accessing the item center according to the item's identifier and obtaining the package property of the item. It should be noted that the query instruction may be caused by various requests such as a query request, a search request, and a transaction order initiated by the user. The identifier (English: Identity, ID) of an item may refer to a type of item, and may be a character string corresponding to this type of item, for example, "100001, 210001...", of course, this is just an exemplary description.
步骤202、确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用。Step 202: Determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan.
示例性地,可以基于物理域或物流数据库确定物品的运费方案,物流域可以包括对物流数据进行处理、存储的域,物流域可以设置在电子设备上,也可以设置在其他设备上,物流域中可以设置有多种运费方案,一个运费方案可以指示某一种物品计算运费的策略,例如,承包全部邮费,承包一部分 邮费或者不承包邮费等,运费方案用于计算运输费用。一个物品可以对应一个运费方案,一个运费方案可以对应一个或多个物品。发货地和收货地的地区等级可以是省级、市级等,当然,此处只是示例性说明。Exemplarily, the freight plan of an item may 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. There can be multiple freight plans in the . A freight plan can indicate the strategy for calculating the freight of a certain item, for example, contract all the postage, contract a part of the postage, or not contract the postage, etc. The freight plan is used to calculate the transportation cost. One item can correspond to one shipping plan, and one shipping plan can correspond to one or more items. The regional level of the place of origin and the place of receipt may be provincial, municipal, etc. Of course, this is just an exemplary illustration.
示例性地,此处列举一具体示例说明如何计算运输费用,基于步骤201中的示例,进一步地,查询指令还包括物品的发货地和收货地;根据包裹属性和运费方案计算物品的运输费用,包括:根据运费方案、包裹属性以及物品的发货地和收货地计算物品的运输费用。例如,发货地可以是中国,收货地可以是法国或西班牙;又如发货地可以是比利时,收货地可以是英国或美国等,根据收发地(收货地和发货地)、运费方案和包裹属性即可确定运输费用。有些收货地和发货地之间可能不支持包邮,有的收货地和发货地之间可能支持部分包邮,即按照比例承担部分运费,当然,此处只是示例性说明,不同地区可以根据不同政策设定运费方案。Exemplarily, a specific example is given here to illustrate how to calculate the transportation cost. Based on the example in step 201, further, the query instruction further includes the origin and destination of the item; the transportation of the item is calculated according to the package attribute and the freight plan. Fees, including: Calculate the shipping cost of an item based on the shipping plan, package attributes, and where the item is shipped from and received. For example, the place of delivery can be China, and the place of delivery can be France or Spain; another example, the place of delivery can be Belgium, and the place of delivery can be the United Kingdom or the United States, etc. Shipping plans and package attributes determine shipping costs. Some places of receipt and origin may not support free shipping, and some places of receipt and origin may support partial free shipping, that is, part of the freight is borne in proportion. Of course, this is just an example description, different Regions can set shipping plans based on different policies.
进一步地,运费方案可以更新,在一种可选地实现方式中,该方法还包括:监听物流域中的模板变更事件;在物流域中的运费方案发生变更时,更新并存储新的运费方案。运费方案的变更可以是用户自行调整,也可以是根据地区政策进行变更,当然,此处只是示例性说明。Further, the freight plan can be updated, and in an optional implementation manner, the method further includes: monitoring a template change event in the logistics domain; when the freight plan in the logistics domain is changed, updating and storing the new freight plan . The change of the shipping plan can be adjusted by the user, or it can be changed according to the regional policy. Of course, this is just an example description.
步骤203、获取物品的初始价。Step 203: Obtain the initial price of the item.
示例性地,可以通过物品域获取物品的初始价。其中,物品域可以包括对物品的初始价进行处理、存储的域。物品域可以设置在电子设备上,也可以设置在其他设备上。可选地,物品域中可以存储各类物品的初始价,物品的初始价可以是物品不包含邮费的前提下的售卖价格,物品的初始价可以由卖家自行设定。Exemplarily, the initial price of the item can be obtained through the item field. The item field may include a field for processing and storing the initial price of the item. Item domains can be set on electronic devices or on other devices. Optionally, the item field can store the initial price of various items, the initial price of the item can be the selling price on the premise that the item does not include postage, and the initial price of the item can be set by the seller.
步骤204、根据运输费用和物品的初始价,计算物品的价格。Step 204: Calculate the price of the item according to the transportation cost and the initial price of the item.
需要说明的是,可以基于价格域计算物品的价格。价格域可以包括对物品的价格进行处理、存储的域。价格域可以设置在电子设备上,也可以设置在其他设备上。可选地,在一种具体的实现方式中,物品的价格可以是运输费用和物品的初始价之和;或者,在另一种具体的实现方式中,物品的价格可以是运输费用和物品的初始价加权求和得到的。当然,此处只是示例性说明。It should be noted that the price of the item can be calculated based on the price field. The price field may include a field that processes and stores the price of an item. The price field can be set on electronic devices or on other devices. Optionally, in a specific implementation, the price of the item may be the sum of the shipping cost and the initial price of the item; or, in another specific implementation, the price of the item may be the shipping cost and the item's initial price. Weighted summation of initial prices. Of course, this is just an exemplary illustration.
可选地,在一种实施例中,根据运输费用和物品的初始价,基于价格域计算物品的价格之前,该方法还包括:设置用于计算并存储物品价格的价格域。设置好价格域之后,可以用于后续所有物品计算价格,在某一类物品第一次利用价格域计算物品的价格之后,可以在价格域中存储该物品的价格,如果再次查询,则可以直接从价格域提取该物品的价格,不需要重新计算。Optionally, in one embodiment, before calculating the price of the item based on the price field according to the shipping cost and the initial price of the item, the method further includes: setting a price field for calculating and storing the price of the item. After the price field is set, it can be used to calculate the price of all subsequent items. After a certain type of item uses the price field to calculate the price of the item for the first time, the price of the item can be stored in the price field. If you query again, you can directly Extract the price of the item from the price field, without recalculation.
可选地,在另一种实施例中,基于步骤201中的示例,该方法还包括:向终端设备发送物品的价格。终端设备接收到物品的价格后,可以向用户展示。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 can display it to the user.
结合上述步骤201-204所描述的数据处理方法以及图1所示的场景,此处,列举另一个具体的应用场景进一步进行说明。如图3所示,图3为本申请实施例一提供的一种域结构示意图,图3示出了服务域、价格域、物流域以及物品域,需要说明的是,服务域、价格域、物流域以及物品域可以设置在1-N个设备上,N为大于或等于4的整数,例如,服务域、价格域、物流域以及物品域分别在一个单独的设备上设置,又如,服务域、价格域、物流域以及物品域可以设置在同一个电子设备上。当然,此处只是示例性说明。With reference to the data processing method described in the above steps 201-204 and the scenario shown in FIG. 1 , another specific application scenario is listed here for further description. As shown in FIG. 3, FIG. 3 is a schematic diagram of a domain structure provided in Embodiment 1 of the application. FIG. 3 shows a service domain, a price domain, a logistics domain, and an item domain. It should be noted that the service domain, price domain, The logistics domain and the 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, the price domain, the logistics domain, and the item domain are set on a separate device. For example, the service domain The domain, price domain, logistics domain, and item domain can be set on the same electronic device. Of course, this is just an exemplary illustration.
其中,服务域可以包括搜索、物品详情、购物车、交易下单、营销、招商、数据等服务,每项服务都可能引起查询指令查询物品的价格。物流域可以包括运费计算、运费模板,其中运费模板包括运费方案。价格域和服务域之间可以相互访问,价格域可以访问物流域和物品域,电子设备可以通过价格域访问物流域获取运输费用,也可以通过价格域访问物品域获取物品的初始价。此处,结合图4,对运费模板进行示例性说明,图4为本申请实施例一提供的一种运费模板的界面示意图,图4中包括订单的至少一项设置选项,还包括物流的至少一项设置选项,还示出了多种运费模板。当然,图4只是示例性说明,并不代表本申请局限于此。Among them, the service domain may include services such as search, item details, shopping cart, transaction ordering, marketing, investment promotion, data, etc. Each service may cause a query instruction to query the price of the item. The logistics domain can include freight calculation, freight template, and the freight template includes 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, and the electronic device can access the logistics domain through the price domain to obtain transportation costs, and can also access the item domain through the price domain to obtain the initial price of the item. Here, with reference to FIG. 4 , an exemplary description of the freight template is given. FIG. 4 is a schematic interface diagram of a freight template provided in Embodiment 1 of the application. FIG. 4 includes at least one setting option of an order, and also includes at least one of the logistics A setup option that also shows various shipping templates. Of course, FIG. 4 is only an exemplary illustration, which does not mean that the present application is limited thereto.
基于图3的说明,进一步详细说明数据之间的关系,如图5所示,图5为本申请实施例一提供的一种数据结构示意图,其中,物品中心用于发布商品和价格分离;价格域可以访问物品域以及物流域;物流域可以包括开放式数据处理服务(英文:Open Data Processing Service,ODPS)模块、消息代理模块、运费模板模块以及表达模块。其中,开放式数据处理服务模块用于向用户提供完善的数据导入以及分布式计算模型,能够更快速的解决数据计算问题;消息代理模块用于监听模板变更事件;运费模板模块可以实现运费 方案配置、运输费用管理、运输费用预览、运费模板配置、运费方案查看、服务订阅等功能;表达模块可以利用表达式计算运输费用。Based on the description of FIG. 3 , the relationship between data is further described in detail, as shown in FIG. 5 , which is a schematic diagram of a data structure provided in Embodiment 1 of the application, wherein the item center is used to separate the published products and prices; The 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 broker 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 broker module is used to monitor template change events; the freight template module can realize freight plan configuration , transportation cost management, transportation cost preview, freight template configuration, freight plan view, service subscription and other functions; the expression module can use expressions to calculate the transportation cost.
基于上述图5的说明,对各个模块的功能进一步进行说明,如图6所示,图6为本申请实施例一提供的另一种数据处理方法的流程图。图6示出了管理员、商家、运费模板模块、表达模块、价格域以及物品中心,该方法包括以下步骤:Based on the description of FIG. 5 , the functions of each module are further described. As shown in FIG. 6 , FIG. 6 is a flowchart of another data processing method provided by Embodiment 1 of the present application. Figure 6 shows an administrator, a merchant, a shipping template module, an expression module, a price field, and an item center, and the method includes the following steps:
步骤601、运费模板模块根据管理员的设置操作设置灰度卖家。Step 601 , the freight template module sets the grayscale seller according to the setting operation of the administrator.
灰度卖家指的是不采取本申请实施例提供的数据处理方法计算物品的价格的商家。A grayscale seller refers to a merchant that does not calculate the price of an item by using the data processing method provided in the embodiment of the present application.
步骤602、运费模板模块根据商家操作进行服务订购。Step 602, the freight template module performs service ordering according to the operation of the merchant.
此处服务订购指的是订购利用本申请实施例提供的数据处理方法计算物品的价格。The service ordering here refers to ordering the price of an item calculated by using the data processing method provided by the embodiment of the present application.
步骤603、运费模板模块配置运费方案。Step 603, the freight template module configures the freight plan.
需要说明的是,不同物品可以配置不同的运费方案。It should be noted that different items can be configured with different shipping plans.
步骤604、运费模板模块获取商家发起的预览运输费用的请求。Step 604: The shipping cost template module obtains a request for previewing shipping costs initiated by the merchant.
步骤605、运费模板模块从物品中心获取物品的包裹属性。Step 605: The freight template module obtains the package attribute of the item from the item center.
步骤606、运费模板模块将包裹属性输入表达模块计算运输费用。In step 606, the freight template module inputs the package attributes into the expression module to calculate the transportation cost.
步骤607、运费模板模块向商家返回运输费用,以进行展示。Step 607: The shipping cost template module returns the shipping cost to the merchant for display.
步骤608、运费模板模块在表达模块中保存运费方案。Step 608: The freight template module saves the freight plan in the expression module.
需要说明的是,步骤601-608完成运费方案的配置,并且向商家展示了运输费用,后续可以计算物品的价格。如图6所示,该方法还包括以下步骤:It should be noted that steps 601-608 complete the configuration of the shipping plan, and show the shipping cost to the merchant, and the price of the item can be calculated later. As shown in Figure 6, the method further includes the following steps:
步骤609、价格域通过物品中心获取对于物品的查询指令。Step 609, the price domain obtains the query instruction for the item through the item center.
步骤610、向运费模板模块发起计算运输费用的指令。Step 610: Send an instruction to calculate the shipping cost to the shipping cost template module.
步骤611、运费模板模块从物品中心获取物品的包裹属性。Step 611: The shipping template module obtains the package attribute of the item from the item center.
步骤612、运费模板模块将包裹属性输入表达模块计算运输费用。Step 612: The shipping template module inputs the package attributes into the expression module to calculate shipping costs.
步骤613、运费模板模块向价格域输出运输费用。Step 613: The freight template module outputs the freight cost to the price field.
步骤614、价格域根据运输费用和物品的初始价计算物品的价格,并返回给物品中心。Step 614, the price field calculates the price of the item according to the shipping cost and the initial price of the item, and returns it to the item center.
本申请实施例提供的数据处理方法,访问物品中心获取物品的包裹属性;确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为将运输费用和物品的初始价进行了解耦,如果运输费用变化,不需要人工调整物品的价格,只需要调整运费方案,即可自动获取物品的价格。In the data processing method provided by the embodiment of this application, the package attribute of the item is obtained by accessing the item center; the freight plan of the item is determined, and the transportation cost of the item is calculated according to the package attribute and the freight plan; the initial price of the item is obtained; Initial price, calculates the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
实施例二Embodiment 2
基于上述实施例一所描述的方法,本申请实施例二提供另一种数据处理方法,对跨境物品进行说明,跨境物品即为在不同国家之间运输的物品,参照图7所示,该数据处理方法包括以下步骤:Based on the method described in Embodiment 1 above, Embodiment 2 of the present application provides another data processing method to describe cross-border items. Cross-border items are items that are transported between different countries. Referring to FIG. 7 , The data processing method includes the following steps:
步骤701、访问物品中心获取跨境物品的包裹属性。Step 701: Access the item center to obtain the package attribute of the cross-border item.
跨境物品属于实施例一种所描述的物品,只不过其收货地和发货地是不同的国家,相关解释说明可以参考上述实施例一中对应的描述,此处不再赘述。The cross-border item belongs to the item described in the first embodiment, except that the place of receipt and the place of delivery are in different countries. For relevant explanations, please refer to the corresponding description in the above-mentioned embodiment 1, which will not be repeated here.
步骤702、根据跨境物品的发货地和收货地,在至少一个跨境运费方案中确定跨境物品对应的目标跨境运费方案,并根据包裹属性和目标跨境运费方案计算物品的运输费用。Step 702: Determine the target cross-border freight rate plan corresponding to the cross-border item in at least one cross-border freight rate plan according to the origin and destination of the cross-border item, and calculate the transportation of the item according to the package attributes and the target cross-border freight rate plan cost.
一个跨境运费方案指示两个国家之间的运输线路对应的运费方案。跨境物品的发货地和收货地可以根据查询指令确定,具体方式可以参考步骤202的说明,此处不再赘述。A cross-border shipping rate scheme indicates the corresponding shipping rate scheme for a shipping line between two countries. The place of delivery and the place of receipt of the cross-border item may be determined according to the query instruction, and the specific method may refer to the description of step 202, which will not be repeated here.
步骤703、获取跨境物品的初始价。Step 703: Obtain the initial price of the cross-border item.
步骤704、根据运输费用和物品的初始价,计算跨境物品的价格。Step 704: Calculate the price of the cross-border item according to the transportation cost and the initial price of the item.
结合步骤701-704所描述的方法,将跨境物品的运输费用动态叠加在物品的价格之内,对于不同国家的运输线路,设置了动态的运输费用,便于价格调整。Combined with the methods described in steps 701-704, the transportation cost of cross-border items is dynamically superimposed within the price of the item, and dynamic transportation costs are set for transportation routes in different countries to facilitate price adjustment.
本申请实施例提供的数据处理方法,访问物品中心获取跨境物品的包裹属性;根据跨境物品的发货地和收货地,在至少一个跨境运费方案中确定跨境物品对应的目标跨境运费方案,并根据包裹属性和目标跨境运费方案计算 物品的运输费用,一个跨境运费方案指示两个国家之间的运输线路对应的运费方案;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为跨境物品的运输费用和跨境物品的初始价进行了解耦,如果运输费用变化,不需要人工调整跨境物品的价格,只需要调整运费方案,即可自动跨境获取物品的价格。In the data processing method provided by the embodiment of the present application, the package attribute of the cross-border item is obtained by accessing the item center; the target cross-border item corresponding to the cross-border item is determined in at least one cross-border freight scheme according to the origin and destination of the cross-border item. Cross-border freight plan, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight plan. A cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtain the initial price of the item; according to the transportation cost and the item The initial price to calculate the price of the item. Because the transportation cost of cross-border items and the initial price of cross-border items are decoupled, if the transportation cost changes, there is no need to manually adjust the price of cross-border items. You only need to adjust the freight plan to automatically obtain the price of items across borders.
实施例三Embodiment 3
基于上述实施例一所描述的方法,本申请实施例三提供一种数据处理装置,用于执行上述实施例一或实施例二所描述的方法,参照图8所示,该数据处理装置80包括:Based on the method described in Embodiment 1 above, Embodiment 3 of the present application provides a data processing apparatus for executing the method described in Embodiment 1 or Embodiment 2 above. Referring to FIG. 8 , the data processing apparatus 80 includes :
物品中心模块801,用于访问物品中心获取物品的包裹属性;The item center module 801 is used to access the item center to obtain the package attribute of the item;
运费模块802,用于确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;The freight module 802 is used to determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan;
物品成本模块803,用于获取物品的初始价;an item cost module 803, used to obtain the initial price of the item;
价格模块804,用于根据运输费用和物品的初始价,计算物品的价格。The price module 804 is used to calculate the price of the item according to the shipping cost and the initial price of the item.
可选地,在本申请的一个实施例中,物品中心模块801,还用于接收终端设备发送的对于物品的查询指令,查询指令包括物品的标识;根据物品的标识访问物品中心并获取物品的包裹属性。Optionally, in an embodiment of the present application, the item center module 801 is further configured to receive a query instruction for the item sent by the terminal device, where the query instruction includes the identifier of the item; access the item center according to the identifier of the item and obtain the information of the item. Wrap properties.
可选地,在本申请的一个实施例中,查询指令还包括物品的发货地和收货地;运费模块802,用于根据运费方案、包裹属性以及物品的发货地和收货地计算物品的运输费用。Optionally, in an embodiment of the present application, the query instruction further includes the place of origin and destination of the item; the freight module 802 is configured to calculate the origin and destination of the item according to the freight plan, package attributes, and the place of origin and destination of the item Shipping costs for the item.
可选地,在本申请的一个实施例中,运费模块802,还用于监听物流域中的模板变更事件;在物流域中的运费方案发生变更时,更新并存储新的运费方案。Optionally, in an embodiment of the present application, the freight module 802 is further configured to monitor a template change event in the logistics domain; when the freight scheme in the logistics domain is changed, update and store the new freight scheme.
可选地,在本申请的一个实施例中,物品中心模块801,还用于向终端设备发送物品的价格。Optionally, in an embodiment of the present application, the item center module 801 is further configured to send the price of the item to the terminal device.
可选地,在本申请的一个实施例中,价格模块804,还用于设置用于计算并存储物品价格的价格域。Optionally, in an embodiment of the present application, the price module 804 is further configured to set a price field for calculating and storing the price of the item.
本申请实施例提供的数据处理装置,访问物品中心获取物品的包裹属性;确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;获 取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为将运输费用和物品的初始价进行了解耦,如果运输费用变化,不需要人工调整物品的价格,只需要调整运费方案,即可自动获取物品的价格。The data processing device provided by the embodiment of the present application accesses the item center to obtain the package attributes of the items; determines the freight plan of the items, and calculates the transportation cost of the items according to the package attributes and the freight plan; obtains the initial price of the items; Initial price, calculates the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
实施例四Embodiment 4
基于上述实施例二所描述的方法,本申请实施例四提供一种数据处理装置,用于执行上述实施例二所描述的方法,参照图9所示,该数据处理装置90包括:Based on the method described in Embodiment 2 above, Embodiment 4 of the present application provides a data processing apparatus for executing the method described in Embodiment 2 above. Referring to FIG. 9 , the data processing apparatus 90 includes:
物品中心模块901,用于访问物品中心获取物品的包裹属性;The item center module 901 is used to access the item center to obtain the package attribute of the item;
运费模块902,用于根据跨境物品的发货地和收货地,在至少一个跨境运费方案中确定跨境物品对应的目标跨境运费方案,并根据包裹属性和目标跨境运费方案计算物品的运输费用,一个跨境运费方案指示两个国家之间的运输线路对应的运费方案;The freight module 902 is used to determine the target cross-border freight scheme corresponding to the cross-border item in at least one cross-border freight scheme according to the origin and the destination of the cross-border item, and calculate it according to the package attributes and the target cross-border freight scheme The transportation cost of the item, a cross-border freight plan indicates the freight plan corresponding to the transportation route between the two countries;
物品成本模块903,用于获取跨境物品的初始价; Item cost module 903, used to obtain the initial price of cross-border items;
价格模块904,用于根据运输费用和物品的初始价,计算跨境物品的价格。The price module 904 is used to calculate the price of the cross-border item according to the shipping cost and the initial price of the item.
本申请实施例提供的数据处理装置,访问物品中心获取跨境物品的包裹属性;根据跨境物品的发货地和收货地,在至少一个跨境运费方案中确定跨境物品对应的目标跨境运费方案,并根据包裹属性和目标跨境运费方案计算物品的运输费用,一个跨境运费方案指示两个国家之间的运输线路对应的运费方案;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为跨境物品的运输费用和跨境物品的初始价进行了解耦,如果运输费用变化,不需要人工调整跨境物品的价格,只需要调整运费方案,即可自动跨境获取物品的价格。The data processing device provided in the embodiment of the present application accesses the item center to obtain the package attributes of the cross-border item; and determines the target cross-border item corresponding to the cross-border item in at least one cross-border freight scheme according to the origin and destination of the cross-border item. Cross-border freight plan, and calculate the transportation cost of the item according to the package attributes and the target cross-border freight plan. A cross-border freight plan indicates the freight plan corresponding to the transportation route between two countries; obtain the initial price of the item; according to the transportation cost and the item The initial price to calculate the price of the item. Because the transportation cost of cross-border items and the initial price of cross-border items are decoupled, if the transportation cost changes, there is no need to manually adjust the price of cross-border items. You only need to adjust the freight plan to automatically obtain the price of items across borders.
实施例五Embodiment 5
基于上述实施例一和实施例二所描述的方法,本申请实施例五提供一种电子设备,用于执行上述实施例一和实施例二所描述的方法,参照图10所示,图10为本申请实施例五提供的一种电子设备的结构示意图,本申请具体实施例并不对电子设备的具体实现做限定。Based on the methods described in Embodiment 1 and Embodiment 2 above, Embodiment 5 of the present application provides an electronic device for executing the methods described in Embodiment 1 and Embodiment 2 above. Referring to FIG. 10 , FIG. 10 shows The fifth embodiment of the present application provides a schematic structural diagram of an electronic device, and the specific embodiments of the present application do not limit the specific implementation of the electronic device.
如图10所示,该电子设备可以包括:处理器(processor)1002、通信接口(Communications Interface)1004、存储器(memory)1006、以及通信总线1008。As shown in FIG. 10 , the electronic device may include: a processor (processor) 1002 , a communication interface (Communications Interface) 1004 , a memory (memory) 1006 , and a communication bus 1008 .
其中:in:
处理器1002、通信接口1004、以及存储器1006通过通信总线1008完成相互间的通信。The processor 1002 , the communication interface 1004 , and the memory 1006 communicate with each other through the communication bus 1008 .
通信接口1004,用于与其它电子设备如终端设备或服务器进行通信。The communication interface 1004 is used to communicate with other electronic devices such as terminal devices or servers.
处理器1002,用于执行程序1010,具体可以执行上述方法实施例中的相关步骤。The processor 1002 is configured to execute the program 1010, and specifically may execute the relevant steps in the foregoing method embodiments.
具体地,程序1010可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 1010 may include program code including computer operation instructions.
处理器1002可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 1002 may be a central processing unit (CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), 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 the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器1006,用于存放程序1010。存储器1006可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1006 is used to store the program 1010 . Memory 1006 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
程序1010具体可以用于使得处理器1002执行前述实施例一和实施例二中任一方法。The program 1010 may specifically be used to cause the processor 1002 to execute any one of the methods in the first embodiment and the second embodiment.
程序1010中各步骤的具体实现可以参见上述数据处理方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。For the specific implementation of each step in the program 1010, reference may be made to the corresponding description in the corresponding steps and units in the above data processing method embodiments, which are not repeated here. Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding process descriptions in the foregoing method embodiments, which will not be repeated here.
本申请实施例提供的电子设备,访问物品中心获取物品的包裹属性;确定物品的运费方案,并根据包裹属性和运费方案计算物品的运输费用;获取物品的初始价;根据运输费用和物品的初始价,计算物品的价格。因为将运输费用和物品的初始价进行了解耦,如果运输费用变化,不需要人工调整物品的价格,只需要调整运费方案,即可自动获取物品的价格。The electronic device provided by 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 attribute and the freight plan; obtains the initial price of the item; price, calculate the 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, just adjust the shipping plan, and the price of the item can be automatically obtained.
实施例六Embodiment 6
基于上述实施例一和实施例二所描述的方法,本申请实施例六提供一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如实施例一和实施例二所描述的方法。Based on the methods described in Embodiment 1 and Embodiment 2 above, 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 implementation of Embodiment 1 and Embodiment 2 is implemented method described.
实施例七Embodiment 7
基于上述实施例一和实施例二所描述的方法,本申请实施例七提供一种计算机程序产品,该计算机程序产品被处理器执行时实现如实施例一和实施例二所描述的方法。Based on the methods described in Embodiment 1 and Embodiment 2 above, Embodiment 7 of the present application provides a computer program product, which implements the methods described in Embodiment 1 and Embodiment 2 when the computer program product is executed by a processor.
需要指出,根据实施的需要,可将本申请实施例中描述的各个部件/步骤拆分为更多部件/步骤,也可将两个或多个部件/步骤或者部件/步骤的部分操作组合成新的部件/步骤,以实现本申请实施例的目的。It should be pointed out that, according to the needs of implementation, each component/step described in the embodiments of the present application may be split into more components/steps, or two or more components/steps or part of operations of components/steps may be combined into New components/steps to achieve the purpose of the embodiments of the present application.
上述根据本申请实施例的方法可在硬件、固件中实现,或者被实现为可存储在记录介质(诸如CD ROM、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码,或者被实现通过网络下载的原始存储在远程记录介质或非暂时机器可读介质中并将被存储在本地记录介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件(诸如ASIC或FPGA)的记录介质上的这样的软件处理。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件(例如,RAM、ROM、闪存等),当软件或计算机代码被计算机、处理器或硬件访问且执行时,实现在此描述的数据处理方法。此外,当通用计算机访问用于实现在此示出的数据处理方法的代码时,代码的执行将通用计算机转换为用于执行在此示出的数据处理方法的专用计算机。The above-mentioned methods according to the embodiments of the present application can be implemented in hardware, firmware, or as software or computer codes that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented through Network downloaded computer code originally stored in a remote recording medium or non-transitory machine-readable medium and will be stored in a local recording medium so that the methods described herein can be stored on a computer using a general purpose computer, special purpose processor or programmable or such software processing on a recording medium of dedicated hardware such as ASIC or FPGA. It is understood that a computer, processor, microprocessor controller or programmable hardware includes storage components (eg, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is executed by a computer, processor or hardware when accessed and executed, implements the data processing methods described herein. Furthermore, when a general-purpose computer accesses code for implementing the data processing methods shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the data processing methods shown herein.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。Those of ordinary skill in the art can realize 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. Experts may use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present application.
以上实施方式仅用于说明本申请实施例,而并非对本申请实施例的限制,有关技术领域的普通技术人员,在不脱离本申请实施例的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本申请实施例的范畴,本申请实施例的专利保护范围应由权利要求限定。The above embodiments are only used to illustrate the embodiments of the present application, but are not intended to limit the embodiments of the present application. Those of ordinary skill in the relevant technical field can also make various Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.

Claims (10)

  1. 一种数据处理方法,其包括:A data processing method comprising:
    访问物品中心获取物品的包裹属性;Visit the Item Center to get the package properties of the item;
    确定所述物品的运费方案,并根据所述包裹属性和所述运费方案计算所述物品的运输费用;determining a shipping fee plan for the item, and calculating a shipping fee for the item based on the package attribute and the shipping fee schedule;
    获取所述物品的初始价;Get the initial price of the item;
    根据所述运输费用和所述物品的初始价,计算所述物品的价格。The price of the item is calculated based on the shipping cost and the initial price of the item.
  2. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1, further comprising:
    接收终端设备发送的对于物品的查询指令,所述查询指令包括所述物品的标识;receiving an inquiry instruction for an item sent by a terminal device, where the inquiry instruction includes an identifier of the item;
    所述访问物品中心获取物品的包裹属性,包括:根据所述物品的标识访问所述物品中心并获取所述物品的包裹属性。The accessing the item center to acquire the package attribute of the item includes: accessing the item center according to the identifier of the item and acquiring the package attribute of the item.
  3. 根据权利要求2所述的方法,所述查询指令还包括所述物品的发货地和收货地;根据所述包裹属性和所述运费方案计算所述物品的运输费用,包括:The method according to claim 2, wherein the query instruction further includes the place of origin and the place of receipt of the item; calculating the transportation cost of the item according to the package attribute and the freight plan, including:
    根据所述运费方案、所述包裹属性以及所述物品的发货地和收货地计算所述物品的运输费用。A shipping fee for the item is calculated based on the shipping plan, the package attributes, and the origin and destination of the item.
  4. 根据权利要求2所述的方法,所述方法还包括:The method of claim 2, further comprising:
    监听所述物流域中的模板变更事件;monitor the template change event in the logistics domain;
    在所述物流域中的运费方案发生变更时,更新并存储新的运费方案。When the freight plan in the logistics domain is changed, the new freight plan is updated and stored.
  5. 根据权利要求1-4任一项所述的方法,所述方法还包括:The method according to any one of claims 1-4, further comprising:
    设置用于计算并存储物品价格的所述价格域。The price field used to calculate and store the item price is set.
  6. 一种数据处理方法,其包括:A data processing method comprising:
    访问物品中心获取跨境物品的包裹属性;Visit the Item Center to obtain the package attributes of cross-border items;
    根据所述跨境物品的发货地和收货地,在至少一个跨境运费方案中确定所述跨境物品对应的目标跨境运费方案,并根据所述包裹属性和所述目标跨 境运费方案计算所述物品的运输费用,一个跨境运费方案指示两个国家之间的运输线路对应的运费方案;Determine a target cross-border freight rate plan corresponding to the cross-border item in at least one cross-border freight rate plan according to the origin and destination of the cross-border item, and determine the target cross-border freight rate according to the package attribute and the target cross-border freight rate The scheme calculates the transportation cost of the item, and a cross-border freight scheme indicates the freight scheme corresponding to the transportation route between the two countries;
    获取所述跨境物品的初始价;Obtain the initial price of the cross-border item;
    根据所述运输费用和所述跨境物品的初始价,计算所述跨境物品的价格。Calculate the price of the cross-border item based on the shipping fee and the initial price of the cross-border item.
  7. 一种数据处理装置,包括:A data processing device, comprising:
    物品中心模块,用于访问物品中心获取物品的包裹属性;The item center module is used to access the item center to obtain the package attributes of the item;
    运费模块,用于确定所述物品的运费方案,并根据所述包裹属性和所述运费方案计算所述物品的运输费用;A freight module, configured to determine the freight plan of the item, and calculate the transportation cost of the item according to the package attribute and the freight plan;
    物品成本模块,用于获取所述物品的初始价;an item cost module, used to obtain the initial price of the item;
    价格模块,用于根据所述运输费用和所述物品的初始价,计算所述物品的价格。A price module, configured to calculate the price of the item according to the transportation fee and the initial price of the item.
  8. 一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;An electronic device, comprising: a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface communicate with each other through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-6中任一项所述的数据处理方法对应的操作。The memory is used for storing 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-6.
  9. 一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-6中任一所述的数据处理方法。A computer storage medium on which a computer program is stored, which implements the data processing method according to any one of claims 1-6 when the program is executed by a processor.
  10. 一种计算机程序产品,该计算机程序产品被处理器执行时实现如权利要求1-6中任一所述的数据处理方法。A computer program product that, when executed by a processor, implements the data processing method according to any one of claims 1-6.
PCT/CN2022/077653 2021-03-31 2022-02-24 Data processing method and apparatus, and device, computer storage medium and computer program product WO2022206224A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110351733.X 2021-03-31
CN202110351733.XA CN113313442A (en) 2021-03-31 2021-03-31 Data processing method, device, equipment, computer storage medium and computer program product

Publications (1)

Publication Number Publication Date
WO2022206224A1 true WO2022206224A1 (en) 2022-10-06

Family

ID=77371968

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077653 WO2022206224A1 (en) 2021-03-31 2022-02-24 Data processing method and apparatus, and device, computer storage medium and computer program product

Country Status (2)

Country Link
CN (1) CN113313442A (en)
WO (1) WO2022206224A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113313442A (en) * 2021-03-31 2021-08-27 阿里巴巴新加坡控股有限公司 Data processing method, device, equipment, computer storage medium and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101371091B1 (en) * 2013-04-16 2014-03-07 이혜진 Agency system for delivering preparing products
CN109389433A (en) * 2018-10-12 2019-02-26 晋中职业技术学院 A kind of managing eBusiness method and system
CN109472643A (en) * 2018-11-12 2019-03-15 德邦物流股份有限公司 Product price calculation method and device
CN113313442A (en) * 2021-03-31 2021-08-27 阿里巴巴新加坡控股有限公司 Data processing method, device, equipment, computer storage medium and computer program product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081776A (en) * 2010-12-30 2011-06-01 百度在线网络技术(北京)有限公司 Search result ordering method and system
CN107609887A (en) * 2016-07-12 2018-01-19 长沙海商网络技术有限公司 Apply to electric business platform freight charges mould plate technique
CN109118278A (en) * 2018-08-06 2019-01-01 谢忠新 It is a kind of to identify automatic price quoting method and system
CN110956501A (en) * 2019-11-28 2020-04-03 珠海采筑电子商务有限公司 Price system implementation method and related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101371091B1 (en) * 2013-04-16 2014-03-07 이혜진 Agency system for delivering preparing products
CN109389433A (en) * 2018-10-12 2019-02-26 晋中职业技术学院 A kind of managing eBusiness method and system
CN109472643A (en) * 2018-11-12 2019-03-15 德邦物流股份有限公司 Product price calculation method and device
CN113313442A (en) * 2021-03-31 2021-08-27 阿里巴巴新加坡控股有限公司 Data processing method, device, equipment, computer storage medium and computer program product

Also Published As

Publication number Publication date
CN113313442A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US11093986B2 (en) Personalized delivery time estimate system
US11848996B2 (en) Device identification techniques using shared device graph
US20170300986A1 (en) Providing secure restriction-based api access to a networked software service
US20030018951A1 (en) System and method for developing software applications using an extended XML-based framework
US20070299732A1 (en) Electronic commerce system utilizing custom merchant calculations
US20140019298A1 (en) Systems and methods for universal online checkout
US20130117380A1 (en) Dynamic content generation in email messages
CA2995355C (en) Order management and processing using a distributed commerce platform
US9424582B2 (en) System and method for managing customer address information in electronic commerce using the internet
WO2022206224A1 (en) Data processing method and apparatus, and device, computer storage medium and computer program product
US20010034735A1 (en) System and method for supporting user registration, and recording medium which records the same
US20130060645A1 (en) Generating fees and revenues from modified logos
US20100131367A1 (en) Systems and methods to search with a mobile device
TW201606669A (en) Information operation
RU2706473C1 (en) Search system and method with automated provision of content of goods and / or services through a data network
KR20160132520A (en) Method for providing marketing service using ict
US20170017969A1 (en) Methods and systems for auditing and editing content of an e-commerce site
US8793229B1 (en) Management of legal documents for transactions
US11496605B1 (en) Management of network resource transfers via network portals and physical portals
US11496411B1 (en) Management of network resources accessible via multiple network portals
US9904926B2 (en) Reducing overhead associated with large-scale purchasing
KR102560083B1 (en) Method and apparatus for providing a delivery information of product
KR102598665B1 (en) System and method for direct transaction of artificial intelligence-based food materials wholesale
US20230281661A1 (en) Probabilistic frequency capping
US20240127316A1 (en) Order management systems and methods

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22778409

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778409

Country of ref document: EP

Kind code of ref document: A1