Multi-business order processing method and device, equipment and storage medium

By analyzing order requests and rolling back the order status, the complex shopping operation of multi-business e-commerce platforms is solved, unified order processing is realized, and user experience and inventory update efficiency is improved.

CN119027211AInactive Publication Date: 2024-11-26深圳市灵智数字科技有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410927160.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When shopping on e-commerce platforms with multiple formats, users need to settle the products of each format separately, which is complicated and is not conducive to improving user experience.

Method used

By receiving order requests, analyzing the business attributes of the product, sending order sub-requests to the corresponding business system, and determining the order status based on the feedback order response information, rolling back the order status, so that the business system updates the inventory information, and realizing unified order processing.

Benefits of technology

It greatly improves the convenience of users shopping in multi-business systems, simplifies the shopping process, improves user experience, and effectively updates inventory information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027211A_ABST
    Figure CN119027211A_ABST
Patent Text Reader

Abstract

The invention relates to the field of electronic commerce, in particular to a multi-business order processing method and device, equipment and a storage medium. The method comprises the following steps: receiving an order request, wherein the order request comprises two or more than two commodities with business state attributes; analyzing the order request, and determining an industry state system corresponding to the industry state attribute of the commodity; according to the business state systems corresponding to the business state attributes of the commodities, order sub-requests are sent to different business state systems; and determining an order state according to order response information fed back by different business state systems, and rolling back the order state to the business state systems. According to the method, the commodity purchase operation of different business systems can be completed through a unified order request, the convenience of shopping in different business systems by a user is greatly improved, and the shopping experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of e-commerce, and in particular to a method, device, equipment and storage medium for processing orders in multiple formats. Background Art

[0002] With the rapid development of e-commerce technology, e-commerce platforms are becoming more and more diversified. When shopping, users may choose items for one-time purchase on e-commerce platforms of different business types, including department stores, e-commerce platforms, and supermarkets.

[0003] In general, e-commerce platforms of different business formats use independent business format management systems. Each business format has a separate database and order processing process. In order to complete shopping, users often need to settle the goods of each business format separately, which means that they need to submit orders and make payments multiple times. The operation is more cumbersome and is not conducive to improving the user's shopping experience. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a multi-format order processing method, device, equipment and storage medium to solve the problem in the prior art that when shopping on multi-format e-commerce platforms, the operation is cumbersome and not conducive to improving the user's shopping experience.

[0005] A first aspect of an embodiment of the present application provides a multi-format order processing method, the method comprising:

[0006] Receiving an order request, wherein the order request includes commodities of two or more business attributes;

[0007] Parsing the order request to determine the business system corresponding to the business attribute of the commodity;

[0008] Sending order sub-requests to different business format systems according to the business format systems corresponding to the business format attributes of the commodity;

[0009] The order status is determined according to the order response information fed back by different business systems, and the order status is rolled back to the business systems.

[0010] In combination with the first aspect, in a first possible implementation manner of the first aspect, determining an order status according to order response information fed back by different business format systems, and rolling back the order status to the business format systems includes:

[0011] When the order response information fed back by the different business format systems includes order response information of an abnormal order, determining that the order status is an abnormal order status;

[0012] According to the abnormal state of the order, a status message of order creation failure is rolled back to the business system corresponding to the order request.

[0013] In combination with the first aspect, in a second possible implementation manner of the first aspect, determining the order status according to order response information fed back by different business format systems, and rolling back the order status to the business format systems include:

[0014] When the order response information fed back by the same business system indicates that the order was successfully created, the order status is determined to be a valid order status;

[0015] The shopping status is updated to a pending payment status according to the valid status of the order, and a status message of successful order creation is rolled back to the business system corresponding to the order request.

[0016] In combination with the first aspect, in a third possible implementation manner of the first aspect, determining the order status according to order response information fed back by different business format systems, and rolling back the order status to the business format systems include:

[0017] When no order response information indicating successful order creation of all business systems corresponding to the order request is received within a predetermined first period of time, determining that the order status is an order abnormality status;

[0018] According to the abnormal state of the order, a status message of order creation failure is rolled back to the business system corresponding to the order request.

[0019] In combination with the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, when order response information indicating successful order creation of all business systems corresponding to the order request is not received within a predetermined first time period, determining that the order status is an order abnormal status includes:

[0020] If an order response message indicating that the order creation failed is received within the predetermined first time period, the order sub-request is repeatedly sent to the business system corresponding to the order response message;

[0021] If, at the end of the first time period, no order response information indicating successful order creation of all business systems corresponding to the order request is received, it is determined that the order status is an abnormal order status.

[0022] In combination with the first aspect, in a fifth possible implementation manner of the first aspect, after receiving the order request, the method further includes:

[0023] Obtaining preferential attributes of the product in the order request;

[0024] Grouping the commodities in the order request according to the preferential attributes, and determining commodity combinations corresponding to different preferential attributes;

[0025] Determine order discount information of the order request according to the product combination.

[0026] In combination with the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, determining the order discount information of the order request according to the product combination includes at least one of the following methods:

[0027] Determine the order discount information of the product combination according to the combined amount of the product combination determined by the discounted product;

[0028] Determine order discount information of the product combination according to the product combination determined by the store to which the product belongs and in combination with discount information of the store;

[0029] The freight discount information of the commodity combination is determined according to the freight attribute information of the commodity, the delivery address information and / or the delivery method.

[0030] A second aspect of an embodiment of the present application provides a multi-format order processing device, the device comprising:

[0031] An order request receiving unit, configured to receive an order request, wherein the order request includes commodities of two or more business attributes;

[0032] An order request parsing unit, used to parse the order request and determine the business system corresponding to the business attribute of the commodity;

[0033] A forwarding unit, configured to send order sub-requests to different business format systems according to the business format systems corresponding to the business format attributes of the commodity;

[0034] The status determination unit is used to determine the order status according to the order response information fed back by different business system formats, and roll back the order status to the business system formats.

[0035] A third aspect of an embodiment of the present application provides a multi-format order processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0036] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of the first aspects are implemented.

[0037] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application parse the received order request to determine the business system to which the business attribute of the commodity in the order request belongs, send an order sub-request to the determined business system, and determine the order status of the order request according to the order response information fed back by different business systems, including the status of successful order creation or failed order creation. After determining the order status, the order status is rolled back to the business system, so that the business system can effectively update the inventory information in the business system according to the determined order status. Since this method can complete the commodity purchase operation of different business systems through a unified order request, it greatly improves the convenience of users shopping in different business systems, which is conducive to improving the user shopping experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 This is a schematic diagram of the implementation process of a multi-format order processing method provided in an embodiment of the present application;

[0040] Figure 2 This is a schematic diagram of a processing flow of an order validity status provided by an embodiment of the present application;

[0041] Figure 3 This is a schematic diagram of a processing flow of an abnormal order status provided by an embodiment of the present application;

[0042] Figure 4 It is a schematic diagram of a multi-format order processing device provided in an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of a multi-format order processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0045] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0046] In the rapidly developing e-commerce and retail industries, user experience is a key factor in improving user satisfaction and loyalty. Therefore, it is very important to improve the user shopping experience. With the diversification of e-commerce platforms, users often need to purchase goods or services from multiple formats (types of shopping platforms) during one shopping process. For example, during one shopping process, users may purchase different categories of goods such as food, daily necessities, and electronic products.

[0047] However, when dealing with comprehensive shopping needs, current e-commerce platforms usually use independent business management systems, in which each business has a separate database and order processing process. This decentralized data management method requires users to settle the goods under each business system separately when checking out in the shopping cart. As a result, users need to submit orders and payments multiple times, which is more complicated and not conducive to improving user experience. In addition, when users make separate settlements, it is not convenient to use the discounts corresponding to the goods in the shopping cart, which increases the user consumption threshold.

[0048] In order to solve the above problems, the present application embodiment proposes a multi-format order processing method, such as Figure 1 As shown, the method includes:

[0049] In S101, an order request is received, where the order request includes commodities of two or more business attributes.

[0050] The business format in the embodiments of the present application may refer to the form or mode of business operation. For example, common e-commerce business types may include department stores, e-commerce and supermarkets. Among them, department stores usually refer to large retail stores that provide a variety of goods, including clothing, shoes and hats, cosmetics, jewelry and household items. E-commerce usually provides electronic products, books, toys and other commodities. Supermarkets usually provide food, beverages and daily necessities.

[0051] When shopping, users may need to purchase goods from systems in different formats. For example, users may need to purchase clothing, books, food and other commodities at the same time. In this case, users need to select commodities in systems of department stores, e-commerce and supermarkets, and submit order requests to the systems based on the selected commodities.

[0052] When the embodiment of the present application receives an order request from the user, the order request is processed and settled through a unified interface module (or it can also be an order processing device for multiple business formats). There is no need to send the order request to systems of different business formats for separate settlement, that is, there is no need for each business format to separately generate a payment request corresponding to the order, and there is no need to receive multiple payment operations from the user.

[0053] In S102, the order request is parsed to determine the business system corresponding to the business attribute of the commodity.

[0054] After the embodiment of the present application receives an order request for goods including two or more business attributes through a unified interface module, in order to effectively respond to the order request, it is necessary to parse the order request and obtain the business system where the goods required in the order request are located.

[0055] The business attributes of commodities may include department store business attributes, e-commerce business attributes, and supermarket business attributes, etc.

[0056] The commodity in the order request can generate a selection instruction when the order request is made, and determine the business attribute of the commodity, that is, determine the business attribute of the commodity according to the business system that receives the selection instruction. For example, when a commodity selection instruction is received through a department store business system, the business attribute of the commodity selected by the commodity selection instruction is the department store business attribute.

[0057] In the embodiment of the present application, the goods in the order request include relevant information of the business attributes of the business. By parsing the order request, the goods included in the order request and the business attributes of each good can be obtained. According to the business attributes of the goods, the goods in the order request can be grouped, and goods with the same business attributes can be grouped into the same group, so as to send an order sub-request to the corresponding business system according to the grouping result.

[0058] In a possible implementation, the order request in the embodiment of the present application may also include preferential attributes of the product. For example, preferential attributes may include preferential attributes for purchases above a certain amount, preferential attributes for stores, and preferential attributes for shipping costs. The products in the order request are grouped according to the preferential attributes, and the product combinations corresponding to the different preferential attributes are determined, and the preferential information of the products is determined based on the product combinations.

[0059] Among them, the full-reduction discount can include full-reduction discount types with different values, and the goods can be grouped according to the specific values. It is understandable that the same product can have one or more discount attributes. For example, the same product can have multiple full-reduction discount attributes with different values, or it can also have a freight discount attribute, or it can also have a store discount attribute, etc. Therefore, when grouping goods, the same product can belong to two or more groups at the same time. According to the grouping results of the goods in the order request, the discount calculation can be performed on each group, such as calculating the total amount of the group, and the discount enjoyed by the goods in the order request can be calculated and displayed based on the total. The closest and unreached discount can be found according to the grouping results, and the amount of the discount that needs to be supplemented or the goods that can meet the supplementary conditions can be recommended to the user end.

[0060] Store discounts may include discount information of products in the same store, such as discount information of the same store, or discount information of some categories of products in the same store, etc. According to the limiting conditions of the store discounts and the stores to which the products belong, the products in the order request are grouped, and the products that meet the same store discount conditions are grouped into the same group, so that the discount information of the products in the user's order request can be determined according to the grouping results.

[0061] Freight attribute information may include, for example, delivery range information, free freight range information, the correspondence between delivery methods and delivery ranges, the correspondence between commodity amounts and freight, the correspondence between different delivery methods and freight, etc. The discounts that can be enjoyed by the commodities in the order request can be determined based on different freight attribute information. After the commodity selection is completed and before the order request is submitted, the discounts that can be enjoyed by the selected commodities can be displayed. The discounts enjoyed can be directly presented through the unified interface module, which is conducive to improving the user experience.

[0062] In S103, order sub-requests are sent to different business format systems according to the business format systems corresponding to the business format attributes of the commodity.

[0063] After determining the grouping of the goods in the order request, the goods belonging to the same business system (having the same business attributes) can be regenerated into order sub-requests according to the correspondence between the grouping and the business system. If the goods in the order request belong to two or more business systems, two or more order sub-requests are generated.

[0064] For example, the order request includes commodities A, B, C, D, E, and F, and commodities A and B belong to the department store system, commodities C and D belong to the e-commerce system, and commodities E and F belong to the supermarket system. Then, a first order sub-request including commodities A and B, a second order sub-request including commodities C and D, and a third order sub-request including commodities E and F can be generated. The first order sub-request is sent to the department store system, the second order sub-request is sent to the e-commerce system, and the third order sub-request is sent to the supermarket system.

[0065] In S104, the order status is determined according to the order response information fed back by the different business system, and the order status is rolled back to the business system.

[0066] After the unified interface module parses the order request and generates two or more order sub-requests, which are sent to the corresponding business system, the business system can process the order sub-requests, including checking whether the inventory quantity of the goods in the order sub-request meets the requirements of the order sub-request, whether the delivery address of the order sub-request meets the delivery requirements, and price calculation, etc. When the business system verifies that the order sub-request is legal and valid, it returns the order response information that the order sub-request is valid. If the business system verifies that the order sub-request is invalid, including insufficient inventory, or the delivery address exceeds the delivery range, etc., it will return the order response information of the order exception, and can indicate the specific content of the order exception.

[0067] The unified interface module determines whether the order request is valid based on the order response information fed back by two or more business systems. The order status determined by the order response information includes the order abnormal status and the order valid status. The process of determining the order valid status is as follows: Figure 2 As shown, including:

[0068] In S201, when the order response information fed back by the same business system indicates that the order is successfully created, it is determined that the order status is a valid order status.

[0069] If all order sub-requests generated by the order request are order response information indicating successful order creation, the order request is valid and the order status is the order valid status.

[0070] For example, after the unified interface platform sends three order sub-requests to the three business systems of department stores, supermarkets and e-commerce, when the order response information fed back by the business systems all indicates that the order has been successfully created, the order status can be determined to be a valid order status based on all the order response information.

[0071] In other words, the successful order creation feedback from some business systems cannot determine that the order status of the order request submitted by the user end is a valid order status. The order response information of all order sub-requests must be that the order is successfully created before the order status of the order request can be determined to be a valid order status.

[0072] In S202, the shopping status is updated to a pending payment status according to the valid status of the order, and a status message of successful order creation is rolled back to the business system corresponding to the order request.

[0073] When it is determined that the order status of the order request is an order valid status, the shopping status can be updated to a pending payment status. The pending payment status at this time is the sum of the prices of all the commodities included in the order request.

[0074] When the order status of the order request is a valid order status, the valid order status can be further rolled back to the business system, so that the business system updates the inventory quantity of the goods according to the rolled back valid order status, and subtracts the quantity of the goods requested in the order sub-request from the inventory.

[0075] In the process of determining the abnormal status of an order, Figure 3 As shown, including:

[0076] In S301, when the order response information fed back by the different business format systems includes order response information of order abnormality, it is determined that the order status is an order abnormality status.

[0077] Among them, the order response information fed back by different business systems includes order response information of abnormal orders, which may include the following situations:

[0078] First: within the first predetermined period of time, order response information indicating that the order status is an abnormal order status is received from the business system.

[0079] Second: within the first predetermined time period, no order response information fed back by the business system is received. At this time, it can also be considered that the business system fails to correctly respond to the order sub-request.

[0080] Third: within the first predetermined time period, order response information indicating that the order status is an abnormal order status is received from the business system, and after repeatedly sending order sub-requests to the business system for multiple times, order response information indicating that the order was successfully created is still not received from the business system.

[0081] Among them, the first scheduled time is longer than the maximum time when each business system normally feeds back order response information.

[0082] That is to say, if there is at least one order response information of an order exception among the multiple order sub-requests corresponding to the order request, the order status is an order exception status.

[0083] In S302, according to the abnormal state of the order, a status message of order creation failure is rolled back to the business system corresponding to the order request.

[0084] After the order status is determined, the order status can be fed back to the user end, and the order status can be rolled back to the business system.

[0085] That is to say, when all business terminals have fed back order response information indicating that the order was successfully created, the order status can be fed back to the user end as a valid order status, and the status message of successful order creation can be rolled back to the business system, so that the business system can update the quantity of goods in inventory based on the status message.

[0086] When there is at least one order response message of failed order creation in the business terminal, or no order response message of successful order creation is received, the order status can be fed back to the user end as an abnormal order status, and the specific reasons for the abnormal order can be output to the user end, including insufficient inventory, network abnormality, or out of delivery range.

[0087] When the order status is an order exception status, the business system may feedback order response information of successful order creation and failed order creation. Under normal circumstances, the business system will update the commodity inventory according to the order response information, but updating the inventory according to the order response information will cause errors in the commodity inventory, because the order response information includes that when the order is successfully created, the order status of the order request may be an order exception status. Therefore, the embodiment of the present application rolls back the order status to the business system corresponding to the order request, that is, two or more business systems, and determines whether it is necessary to update the quantity of goods in the inventory according to the rolled back order status. That is, the business system does not update the commodity inventory when it receives the order sub-request and feedbacks the order response information of successful order creation. When the order status is rolled back to the business system, if the order status is an order valid status, the inventory goods are updated. If the order status is an order exception status, the inventory goods do not need to be updated.

[0088] Since the embodiment of the present application can generate an order sub-request corresponding to the business format system for an order request for a commodity including two or more business format attributes through a unified interface module, that is, a multi-format order processing device, and determine the order status of the order request based on the order response information fed back by the business format system, by rolling back the order status to the business format system, the business format system can effectively update data such as inventory. In addition, the entire order operation process only requires submitting an order request, and the commodity purchase can be completed through a payment operation determined by the order request, which greatly improves the shopping convenience of users in the multi-format system, and by grouping commodities through a unified interface module and automatically calculating discount information, it can improve the convenience of users using discount information for shopping, which is conducive to improving the user experience.

[0089] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0090] Figure 4 A schematic diagram of a multi-format order processing device provided in an embodiment of the present application, the device comprising:

[0091] An order request receiving unit 401 is used to receive an order request, wherein the order request includes commodities of two or more business attributes;

[0092] An order request parsing unit 402, configured to parse the order request and determine a business system corresponding to the business attribute of the commodity;

[0093] The forwarding unit 403 is used to send order sub-requests to different business format systems according to the business format systems corresponding to the business format attributes of the commodity;

[0094] The status determination unit 404 is used to determine the order status according to the order response information fed back by different business system, and roll back the order status to the business system.

[0095] Figure 4 The multi-format order processing device shown in FIG. Figure 1 The multi-format order processing method shown corresponds to this.

[0096] Figure 5 Schematic diagram of a multi-format order processing device provided in an embodiment of the present application. Figure 5 As shown, the multi-format order processing device 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50, such as a multi-format order processing program. When the processor 50 executes the computer program 52, the steps in the above-mentioned various multi-format order processing method embodiments are implemented. Alternatively, when the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned various device embodiments are implemented.

[0097] Exemplarily, the computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 52 in the multi-format order processing device 5.

[0098] The multi-format order processing device 5 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The multi-format order processing device may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5 It is merely an example of a multi-format order processing device 5 and does not constitute a limitation on the multi-format order processing device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the multi-format order processing device may also include input and output devices, network access devices, buses, etc.

[0099] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0100] The memory 51 may be an internal storage unit of the multi-format order processing device 5, such as a hard disk or memory of the multi-format order processing device 5. The memory 51 may also be an external storage device of the multi-format order processing device 5, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the multi-format order processing device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the multi-format order processing device 5. The memory 51 is used to store the computer program and other programs and data required by the multi-format order processing device. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0101] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0102] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0103] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0104] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0106] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0107] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0108] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A multi-format order processing method, It is characterized in that The method comprises: Receiving an order request, wherein the order request includes commodities of two or more business attributes; Parsing the order request to determine the business system corresponding to the business attribute of the commodity; Sending order sub-requests to different business format systems according to the business format systems corresponding to the business format attributes of the commodity; The order status is determined according to the order response information fed back by different business systems, and the order status is rolled back to the business systems.

2. The method according to claim 1, It is characterized in that Determining the order status according to the order response information fed back by the different business systems, and rolling back the order status to the business systems, including: When the order response information fed back by the different business format systems includes order response information of an abnormal order, determining that the order status is an abnormal order status; According to the abnormal state of the order, a status message of order creation failure is rolled back to the business system corresponding to the order request.

3. The method according to claim 1, It is characterized in that Determining the order status according to the order response information fed back by the different business systems, and rolling back the order status to the business systems, including: When the order response information fed back by the same business system indicates that the order was successfully created, the order status is determined to be a valid order status; The shopping status is updated to a pending payment status according to the valid status of the order, and a status message of successful order creation is rolled back to the business system corresponding to the order request.

4. The method according to claim 1, It is characterized in that Determining the order status according to the order response information fed back by the different business systems, and rolling back the order status to the business systems, including: When no order response information indicating successful order creation of all business systems corresponding to the order request is received within a predetermined first period of time, determining that the order status is an order abnormality status; According to the abnormal state of the order, a status message of order creation failure is rolled back to the business system corresponding to the order request.

5. The method according to claim 4, It is characterized in that When no order response information indicating successful order creation of all business systems corresponding to the order request is received within a predetermined first time period, determining that the order status is an order abnormal status includes: If an order response message indicating that the order creation failed is received within the predetermined first time period, the order sub-request is repeatedly sent to the business system corresponding to the order response message; If, at the end of the first time period, no order response information indicating successful order creation of all business systems corresponding to the order request is received, it is determined that the order status is an abnormal order status.

6. The method according to claim 1, It is characterized in that After receiving the order request, the method further includes: Obtaining preferential attributes of the product in the order request; Grouping the commodities in the order request according to the preferential attributes, and determining commodity combinations corresponding to different preferential attributes; Determine order discount information of the order request according to the product combination.

7. The method according to claim 6, It is characterized in that Determining the order discount information of the order request according to the product combination includes at least one of the following methods: Determine the order discount information of the product combination according to the combined amount of the product combination determined by the discounted product; Determine order discount information of the product combination according to the product combination determined by the store to which the product belongs and in combination with discount information of the store; The freight discount information of the commodity combination is determined according to the freight attribute information of the commodity, the delivery address information and / or the delivery method.

8. A multi-format order processing device, It is characterized in that The device comprises: An order request receiving unit, configured to receive an order request, wherein the order request includes commodities of two or more business attributes; An order request parsing unit, used to parse the order request and determine the business system corresponding to the business attribute of the commodity; A forwarding unit, configured to send order sub-requests to different business format systems according to the business format systems corresponding to the business format attributes of the commodity; The status determination unit is used to determine the order status according to the order response information fed back by different business system formats, and roll back the order status to the business system formats.

9. A multi-format order processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Inventory management method and apparatus

    CN108268474A

  • Multi-platform combined payment method, electronic equipment and storage medium

    CN110060120A

  • Order processing method based on micro-service e-commerce system

    CN110888893A

  • Order processing method and device, electronic equipment and storage medium

    CN112330421A

  • Method and device for shopping, medium and program product

    CN115187324A