CN113919916A - Order splitting method and device and electronic equipment - Google Patents

Order splitting method and device and electronic equipment Download PDF

Info

Publication number
CN113919916A
CN113919916A CN202111222695.4A CN202111222695A CN113919916A CN 113919916 A CN113919916 A CN 113919916A CN 202111222695 A CN202111222695 A CN 202111222695A CN 113919916 A CN113919916 A CN 113919916A
Authority
CN
China
Prior art keywords
order
splitting
result
generating
message
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111222695.4A
Other languages
Chinese (zh)
Inventor
田丹
梁冠辉
陈声琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software Co Ltd
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 Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN202111222695.4A priority Critical patent/CN113919916A/en
Publication of CN113919916A publication Critical patent/CN113919916A/en
Pending legal-status Critical Current

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/522Barrier synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an order splitting method, which comprises the following steps: generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order; according to order information corresponding to the order, acquiring order splitting dimension information and order preference information corresponding to the order from the e-commerce platform; generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library; generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and generating a target splitting result according to the first splitting result and the order preference information. The method and the system realize quick response to business change under the condition of high-flow concurrency of the E-commerce platform, further realize reduction of transportation cost, cross-shop joint promotion, improvement of delivery timeliness and control of capital loss risks.

Description

Order splitting method and device and electronic equipment
Technical Field
The application relates to the field of e-commerce, in particular to an order splitting method and device and electronic equipment.
Background
The development of the internet greatly promotes the development of electronic commerce, each large e-commerce platform develops rapidly, consumers are used to the home, shopping is carried out through the e-commerce platform, and in the face of increasing orders, the orders need to be split to reduce the operation cost of the e-commerce platform and provide better services for the consumers.
In the prior art, methods for splitting orders exist, but the methods are simple, the realized functions are single, and quick iteration of e-commerce services cannot be realized; and meanwhile, the test of promoting high concurrent flow through an electronic commerce platform is not available.
Therefore, an order splitting method capable of quickly responding to business change under the condition of high-traffic concurrence of an e-commerce platform, reducing transportation cost, jointly promoting sales across shops, improving delivery timeliness and controlling capital loss risk is needed.
Disclosure of Invention
The present application mainly aims to provide an order splitting method, an order splitting device and an electronic device, so as to solve the above technical problems in the prior art.
In order to achieve the above object, in a first aspect, the present application provides an order splitting method, including: generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order; according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform; generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library; generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and generating a target splitting result according to the first splitting result and the order preferential information.
Further, the generating a commodity grouping result according to the order and a preset splitting strategy library includes: generating a grouping rule meeting the grouping requirement according to the grouping requirement and the bill splitting strategy library; and according to the grouping rule and the order splitting dimension information, grouping the orders contained in the to-be-split order message to generate the commodity grouping result.
Further, the generating a grouping rule meeting the grouping requirement according to the grouping requirement and the policy bank for splitting the order includes: the bill splitting strategy library comprises bill splitting rules and a sale mode; and freely combining the order splitting rule and the sales mode according to the grouping requirement to generate the grouping rule.
Further, the generating a to-be-torn-down order message according to the order state, where the to-be-torn-down order message includes at least one order, includes: writing the order which is successfully paid and successfully created into the to-be-torn-down order message, and writing the to-be-torn-down order message into a message queue; and the user monitors the message queue, and after acquiring the to-be-torn-down order message, splits the order in the to-be-torn-down order message.
Further, the generating a first splitting result according to the commodity grouping result and the order includes: when the quantity of the commodity grouping result is one, the first splitting result is the order, and the order does not need to be split; and splitting the order according to the commodity grouping result to generate a first splitting result when the quantity of the commodity grouping result is at least two.
Further, the generating a target splitting result according to the first splitting result and the order offer information includes: calculating the sub-order amount and the sub-order preference corresponding to the sub-order according to the first splitting result and the order preference information; and generating the target splitting result according to the first splitting result, the sub-order amount and the sub-order privilege.
Further, the method further comprises: locking the order by utilizing a Redis global lock; and when the order subjected to the locking operation is operated, the permission of the Redis global lock must be acquired.
Further, the method further comprises: and sending the target splitting result to a peripheral system, wherein the peripheral system comprises at least one of a payment system, a financial system and a scoring system.
In a second aspect, the present application provides an order splitting apparatus, the apparatus comprising: the system comprises a preparation module, a form releasing module and a form releasing module, wherein the preparation module is used for generating a form releasing message according to the state of an order, and the form releasing message comprises at least one order; the preparation module is further used for acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform according to the order information corresponding to the order; the splitting module is used for generating at least one commodity grouping result according to the to-be-split order message and a preset splitting strategy library; the splitting module is further used for generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and the calculation module is used for generating a target splitting result according to the first splitting result and the order preference information.
In a third aspect, the present application provides an electronic device, comprising:
one or more processors;
and memory associated with the one or more processors, the memory for storing program instructions that, when read and executed by the one or more processors, perform operations comprising: generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order; according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform; generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library; generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and generating a target splitting result according to the first splitting result and the order preferential information.
The beneficial effect of the realization of this application does:
the application provides an order splitting method, which comprises the following steps: generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order; according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform; generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library; generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and generating a target splitting result according to the first splitting result and the order preferential information. The method and the device have the advantages that the characteristics of the message queue are utilized, the decoupling of the order forming operation, the payment operation and the order removing operation is realized, and the performance requirement of the E-commerce platform for mass flow and order removing can be supported; in addition, the independent policy bank for removing the order is established, so that the rule for removing the order can be supported to be added or deleted quickly, and the user can freely split the order from the rule for removing the order by combination based on the dimensions such as cost, user experience and safety so as to adapt to the characteristics of changeable and quick alternation of the business of the e-commerce platform; meanwhile, the method and the device support activity splitting, freight splitting and gift splitting, and improve the experience of the user; and the global redis lock is added, so that the simultaneous occurrence of repeated consumption, order cancellation, order modification and order creation is effectively avoided, the loss risk of merchants is controlled, and the behavior of wool weeding out a gift is effectively struck.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a diagram of a split system logic architecture provided by an embodiment of the present application;
FIG. 2 is a flow chart of order splitting provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of an order splitting method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an order splitting apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
An order splitting method disclosed by the present application can be applied to an order splitting system, and referring to fig. 1, first, an order splitting system is introduced:
the bill disassembling system comprises: the system comprises an order service system, a message queue, a list splitting engine system and a peripheral system.
And the order service system is used for updating the order state in real time, storing all order information corresponding to the order and pushing the information of the order to be disassembled into the information queue. When the order state changes, whether the corresponding order needs to be written into the to-be-removed order message and the to-be-removed order message is pushed into the message queue is judged, and if the user sends the operation of creating the order, paying the order or modifying the payment mode to pay for goods, the corresponding order information is written into the to-be-removed order message.
And the message queue is used for receiving the to-be-dissembled order message forwarded by the order service system and forwarding the to-be-dissembled order message to the order dissembled engine system.
And the order splitting engine system is used for receiving the order to be split information forwarded by the information queue, splitting the order contained in the order to be split information, generating a target splitting result and sending the target splitting result to the peripheral system.
And the peripheral system is used for receiving the target splitting result.
Specifically, as shown in fig. 2, the process of splitting an order by applying the order splitting method disclosed in the embodiment of the present application includes:
s100, monitoring a message queue;
and writing the operation information of the user for creating the order, paying the order or modifying the payment mode to pay for the goods into the to-be-torn-down order message, and then pushing the to-be-torn-down order message into the message queue. And the user carries out asynchronous monitoring on the message queue, and when monitoring the message of the order to be detached, the user starts to split the order contained in the message of the order to be detached.
The message queue may be considered as a repeater, and a user may push a message into the queue, then take the message out of the queue, and finally forward the message to other users. The message is data to be transmitted, and the order information corresponding to the order in the application can be the simplest text character string or a customized complex format, as long as the order information can be analyzed according to a preset format, and the application is not limited herein; the queue is a first-in first-out data structure and is a container for storing messages, wherein the messages are enqueued from the tail of the queue and dequeued from the head of the queue, the enqueuing is a message sending process, and the dequeuing is a message receiving process.
By introducing the message queue, the order service system only needs to update the order state, and other operations are forwarded by the message queue, so that the decoupling of order forming operation, payment operation and order splitting operation is realized; meanwhile, after the message queue is introduced, the updating of the order state in the order service system and the order splitting processing in the order splitting engine system can be reduced, asynchronous execution is changed, the integral time consumption of order splitting can be reduced, and the throughput of the order splitting system is improved; in addition, the method and the device can perform current-limiting protection according to the characteristic that the message queue can forward and store messages, so that the performance requirements of massive flow and bill removal of the e-commerce platform can be supported, and peak flow tests of each large promotion of the e-commerce platform can be accepted.
S200, preparing all information required by bill dismantling;
specifically, the steps include: and according to the order information corresponding to the order, acquiring order splitting dimension information and order preference information corresponding to the order from the E-commerce platform.
The order splitting dimension information at least comprises order basic information, commodity dimension information, inventory dimension information, supplier dimension information and sales mode information; the order preferential information at least comprises order activity information, order freight information and order gift information.
S300, performing anti-concurrency processing on the order;
when the user monitors the message queue to obtain the to-be-torn-down order message, the to-be-torn-down order system starts to split the order contained in the to-be-torn-down order message, and the order contained in the to-be-torn-down order message enters the to-be-torn-down order engine system. After the order enters the order splitting engine system, the order splitting system locks the order in a Remote Dictionary Server (Redis), and any other actions (except splitting the order) need to be executed to acquire the lock authority first to be further operated.
Redis is a high-performance database, a standard C language is used, the reading and writing speed is high, and the data are completed in an internal memory; meanwhile, Redis supports persistent operation, and data update can be asynchronously stored on a disk, so that the method is a better means for preventing data loss; besides, the Redis is automatic in operation on different data types, and is safe and reliable.
Through the technical scheme, the method and the device can avoid the simultaneous occurrence of repeated consumption, order cancellation, order modification and order splitting actions, which causes the property loss of a merchant, and effectively control the risk of the pulled wool.
In particular, it can be understood by those skilled in the art that the preparation process of all the information required for the order splitting can be performed first, or the anti-concurrency processing process performed on the order can be performed first, or the preparation process of all the information required for the order splitting and the anti-concurrency processing process performed on the order can be performed simultaneously.
S400, pre-splitting the order to generate a commodity grouping result;
specifically, at least one commodity grouping result is generated according to the to-be-torn-down order message and a preset splitting strategy library, and the steps comprise:
and establishing a splitting strategy library, wherein the splitting strategy library comprises a splitting rule and a selling mode. As shown in table 1, the policy splitting rule may specifically include contents shown in a table, but is not limited to the contents shown in the table.
Figure BDA0003313206800000061
TABLE 1
The bill splitting strategy library established by the method is independent of a bill splitting system and is independently realized as an independent subsystem, namely, the bill splitting strategy library and the bill splitting system are decoupled, so that the method supports quick addition and deletion of a bill splitting rule, and a user can generate a grouping rule or customize the grouping rule according to a sales mode by combining the bill splitting rule according to requirements, such as the dimensionality based on cost, user experience, safety and the like. Therefore, the order splitting method disclosed by the application can adapt to the characteristics of changeable and rapid alternation of the business of the e-commerce platform and the like.
Taking a simple example for illustration, the order includes badminton, table tennis bat and cosmetic products, the location of the badminton warehouse is east China, and the location of the table tennis and table tennis bat warehouse is south China; the location of the cosmetic product warehouse is east China. The items in the order may be divided into two groups according to the item type (first order splitting rule): sports and cosmetic product groups; and the commodities in the order can also be divided into two groups according to the warehouse location (second order splitting rule): east china group and south china group. Based on the transportation cost, the user can select the second order splitting rule as a grouping rule to group the orders into commodities, and a first commodity grouping result (where the warehouse is located in east China) and a second commodity grouping result (where the warehouse is located in south China) are generated.
S500, generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order;
judging whether to further split the order according to the commodity grouping result, if only one commodity grouping result generated by the pre-splitting process indicates that the order does not need to be split, and at the moment, sending the original order to a peripheral system by the order splitting engine system; if at least two commodity grouping results are generated through the pre-splitting processing, splitting the order according to the generated commodity grouping results to generate a first splitting result; the first splitting result comprises a sub order corresponding to the commodity grouping result.
S600, generating a target splitting result according to the first splitting result and the order preference information.
And calculating the original order amount and the sub-order amount and the discount of the original order discount distributed to each sub-order according to the order discount information. And combining the sub-order, the sub-order amount and the sub-order preference to generate a target splitting result. The method and the device can support split of sales promotion activities, split of freight charges and split of gifts, and improve experience of users.
S700, sending the target splitting result to a peripheral system, wherein the peripheral system comprises at least one of a payment system, a financial system and a scoring system.
The order splitting engine system can write the target splitting result into the splitting result message, push the splitting result message into a message queue, and forward the target splitting result to the peripheral system through the message queue.
Example two
In this embodiment, the same or similar contents as those in the first embodiment may be referred to the above description, and are not repeated herein. As shown in fig. 3, the method includes:
310. generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order;
preferably, the generating a to-be-torn-down order message according to the order status, where the to-be-torn-down order message includes at least one order, includes:
311. writing the order which is successfully paid and successfully created into the to-be-torn-down order message, and writing the to-be-torn-down order message into a message queue;
312. and the user monitors the message queue, and after acquiring the to-be-torn-down order message, splits the order in the to-be-torn-down order message.
320. According to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform;
preferably, the method further comprises:
321. locking the order by utilizing a Redis global lock;
322. and when the order subjected to the locking operation is operated, the permission of the Redis global lock must be acquired.
330. Generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library;
preferably, the generating a commodity grouping result according to the order and a preset splitting policy library includes:
331. generating a grouping rule meeting the grouping requirement according to the grouping requirement and the bill splitting strategy library;
332. and according to the grouping rule and the order splitting dimension information, grouping the orders contained in the to-be-split order message to generate the commodity grouping result.
Preferably, the generating a grouping rule meeting the grouping requirement according to the grouping requirement and the policy bank for splitting the order includes:
333. the bill splitting strategy library comprises bill splitting rules and a sale mode; and freely combining the order splitting rule and the sales mode according to the grouping requirement to generate the grouping rule.
340. Generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order;
preferably, the generating a first splitting result according to the commodity grouping result and the order includes:
341. when the quantity of the commodity grouping result is one, the first splitting result is the order, and the order does not need to be split;
342. and splitting the order according to the commodity grouping result to generate a first splitting result when the quantity of the commodity grouping result is at least two.
350. And generating a target splitting result according to the first splitting result and the order preferential information.
Preferably, the generating a target splitting result according to the first splitting result and the order offer information includes:
351. calculating the sub-order amount and the sub-order preference corresponding to the sub-order according to the first splitting result and the order preference information;
352. and generating the target splitting result according to the first splitting result, the sub-order amount and the sub-order privilege.
Preferably, the method further comprises:
353. and sending the target splitting result to a peripheral system, wherein the peripheral system comprises at least one of a payment system, a financial system and a scoring system.
EXAMPLE III
Corresponding to the first and second embodiments, the present application provides an order splitting device, wherein in this embodiment, the same or similar contents as those in the first and second embodiments may be referred to the above description, and the details are not repeated.
As shown in fig. 4, the apparatus includes: the system comprises a preparation module, a form releasing module and a form releasing module, wherein the preparation module is used for generating a form releasing message according to the state of an order, and the form releasing message comprises at least one order; the preparation module is further used for acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform according to the order information corresponding to the order; the splitting module is used for generating at least one commodity grouping result according to the to-be-split order message and a preset splitting strategy library; the splitting module is further used for generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and the calculation module is used for generating a target splitting result according to the first splitting result and the order preference information.
Preferably, the splitting module is further configured to: generating a grouping rule meeting the grouping requirement according to the grouping requirement and the bill splitting strategy library; and according to the grouping rule and the order splitting dimension information, grouping the orders contained in the to-be-split order message to generate the commodity grouping result.
Preferably, the policy bank for splitting orders comprises rules for splitting orders and a sales mode; the splitting module: and the system is also used for freely combining the order splitting rule and the sales mode according to the grouping requirement to generate the grouping rule.
Preferably, the preparation module is further configured to: writing the order which is successfully paid and successfully created into the to-be-torn-down order message, and writing the to-be-torn-down order message into a message queue; and the user monitors the message queue, and after acquiring the to-be-torn-down order message, splits the order in the to-be-torn-down order message.
Preferably, the splitting module is further configured to: when the quantity of the commodity grouping result is one, the first splitting result is the order, and the order does not need to be split; and splitting the order according to the commodity grouping result to generate a first splitting result when the quantity of the commodity grouping result is at least two.
Preferably, the calculation module is further configured to: calculating the sub-order amount and the sub-order preference corresponding to the sub-order according to the first splitting result and the order preference information; and generating the target splitting result according to the first splitting result, the sub-order amount and the sub-order privilege.
Preferably, the preparation module is further configured to: locking the order by utilizing a Redis global lock; and when the order subjected to the locking operation is operated, the permission of the Redis global lock must be acquired.
Specifically, each module included in the apparatus may further perform each step or operation included in the method shown in the first embodiment or the second embodiment, and for the specific content, reference may be made to the above detailed description, and for simplicity and convenience of description, no further description is provided here.
Example four
Corresponding to all the above embodiments, an embodiment of the present application provides an electronic device, including:
one or more processors; and memory associated with the one or more processors, the memory for storing program instructions that, when read and executed by the one or more processors, perform operations comprising:
generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order; according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform; generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library; generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order; and generating a target splitting result according to the first splitting result and the order preferential information.
Specifically, when the program instructions are read and executed by the one or more processors, each step or operation in the method shown in the first embodiment or the second embodiment may also be executed, and details are not described herein for simplicity and convenience of description.
Fig. 5 exemplarily shows an architecture of an electronic device, and may specifically include a processor 510, a video display adapter 511, a disk drive 512, an input/output interface 513, a network interface 514, and a memory 520. The processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 514, and the memory 520 may be communicatively connected by a bus 530.
The processor 510 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided in the present Application.
The Memory 520 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 520 may store an operating system 521 for controlling the operation of the electronic device 500, and a Basic Input Output System (BIOS)522 for controlling low-level operations of the electronic device 500. In addition, a web browser 523, a data storage management system 524, an icon font processing system 525, and the like may also be stored. The icon font processing system 525 may be an application program that implements the operations of the foregoing steps in this embodiment of the application. In summary, when the technical solution provided in the present application is implemented by software or firmware, the relevant program codes are stored in the memory 520 and called to be executed by the processor 510. The input/output interface 513 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc. The network interface 514 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like). Bus 530 includes a path that transfers information between the various components of the device, such as processor 510, video display adapter 511, disk drive 512, input/output interface 513, network interface 514, and memory 520. In addition, the electronic device 500 may also obtain information of specific pickup conditions from a virtual resource object pickup condition information database for performing condition judgment, and the like.
It should be noted that although the above-mentioned devices only show the processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 514, the memory 520, the bus 530, etc., in a specific implementation, the device may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a cloud server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. An order splitting method, characterized in that the method comprises:
generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order;
according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform;
generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library;
generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order;
and generating a target splitting result according to the first splitting result and the order preferential information.
2. The method according to claim 1, wherein the generating a commodity grouping result according to the order and a preset splitting policy library comprises:
generating a grouping rule meeting the grouping requirement according to the grouping requirement and the bill splitting strategy library;
and according to the grouping rule and the order splitting dimension information, grouping the orders contained in the to-be-split order message to generate the commodity grouping result.
3. The method according to claim 2, wherein the generating a grouping rule that satisfies the grouping requirement according to the grouping requirement and the policy bank for splitting orders comprises:
the bill splitting strategy library comprises bill splitting rules and a sale mode;
and freely combining the order splitting rule and the sales mode according to the grouping requirement to generate the grouping rule.
4. The method according to any one of claims 1, wherein the generating a to-be-torn-down order message according to the order status, the to-be-torn-down order message including at least one order, comprises:
writing the order which is successfully paid and successfully created into the to-be-torn-down order message, and writing the to-be-torn-down order message into a message queue;
and the user monitors the message queue, and after acquiring the to-be-torn-down order message, splits the order in the to-be-torn-down order message.
5. The method of any of claims 1-4, wherein generating a first split result from the merchandise grouping result and the order comprises:
when the quantity of the commodity grouping result is one, the first splitting result is the order, and the order does not need to be split;
and splitting the order according to the commodity grouping result to generate a first splitting result when the quantity of the commodity grouping result is at least two.
6. The method according to any one of claims 1 to 4, wherein the generating a target splitting result according to the first splitting result and order offer information includes:
calculating the sub-order amount and the sub-order preference corresponding to the sub-order according to the first splitting result and the order preference information;
and generating the target splitting result according to the first splitting result, the sub-order amount and the sub-order privilege.
7. The method according to any one of claims 1-4, characterized in that the method comprises:
locking the order by utilizing a Redis global lock;
and when the order subjected to the locking operation is operated, the permission of the Redis global lock must be acquired.
8. The method according to any one of claims 1-4, further comprising:
and sending the target splitting result to a peripheral system, wherein the peripheral system comprises at least one of a payment system, a financial system and a scoring system.
9. An order splitting apparatus, the apparatus comprising:
the system comprises a preparation module, a form releasing module and a form releasing module, wherein the preparation module is used for generating a form releasing message according to the state of an order, and the form releasing message comprises at least one order;
the preparation module is further used for acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform according to the order information corresponding to the order;
the splitting module is used for generating at least one commodity grouping result according to the to-be-split order message and a preset splitting strategy library;
the splitting module is further used for generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order;
and the calculation module is used for generating a target splitting result according to the first splitting result and the order preference information.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
and memory associated with the one or more processors, the memory for storing program instructions that, when read and executed by the one or more processors, perform operations comprising:
generating a to-be-torn-down order message according to the order state, wherein the to-be-torn-down order message comprises at least one order;
according to the order information corresponding to the order, acquiring order splitting dimension information and order discount information corresponding to the order from an e-commerce platform;
generating at least one commodity grouping result according to the to-be-disassembled list message and a preset disassembling strategy library;
generating a first splitting result according to the commodity grouping result and the order, wherein the first splitting result comprises at least one sub-order;
and generating a target splitting result according to the first splitting result and the order preferential information.
CN202111222695.4A 2021-10-20 2021-10-20 Order splitting method and device and electronic equipment Pending CN113919916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111222695.4A CN113919916A (en) 2021-10-20 2021-10-20 Order splitting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111222695.4A CN113919916A (en) 2021-10-20 2021-10-20 Order splitting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113919916A true CN113919916A (en) 2022-01-11

Family

ID=79241535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111222695.4A Pending CN113919916A (en) 2021-10-20 2021-10-20 Order splitting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113919916A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115511559A (en) * 2022-09-16 2022-12-23 广州方舟信息科技有限公司 Order fulfillment method and system including virtual commodity transaction
CN117474617A (en) * 2023-09-28 2024-01-30 威科寰球(武汉)电子商务有限公司 Online business order dismantling business model and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054592A1 (en) * 2002-09-13 2004-03-18 Konrad Hernblad Customer-based wireless ordering and payment system for food service establishments using terminals and mobile devices
CN104463544A (en) * 2014-12-16 2015-03-25 北京京东尚科信息技术有限公司 Method and system for preventing order separation extracting
CN104537515A (en) * 2015-01-20 2015-04-22 北京京东尚科信息技术有限公司 Order splitting method and device
CN106886874A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 A kind of order splits delivery system and splits delivery method
CN106991588A (en) * 2017-02-21 2017-07-28 河北翼虎网络科技有限公司 A kind of order splitting method and order generation method
CN109146646A (en) * 2018-09-25 2019-01-04 北京三快在线科技有限公司 Singulated settlement method, device, electronic equipment and computer-readable medium
CN111144970A (en) * 2019-11-18 2020-05-12 珠海随变科技有限公司 Order splitting method and device, electronic equipment and readable medium
WO2020244202A1 (en) * 2019-06-05 2020-12-10 北京极智嘉科技有限公司 Order processing method, apparatus and device, and storage medium
CN112990823A (en) * 2021-03-29 2021-06-18 武汉虹信技术服务有限责任公司 Method, system and storage medium for realizing inventory management

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054592A1 (en) * 2002-09-13 2004-03-18 Konrad Hernblad Customer-based wireless ordering and payment system for food service establishments using terminals and mobile devices
CN104463544A (en) * 2014-12-16 2015-03-25 北京京东尚科信息技术有限公司 Method and system for preventing order separation extracting
CN104537515A (en) * 2015-01-20 2015-04-22 北京京东尚科信息技术有限公司 Order splitting method and device
CN106886874A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 A kind of order splits delivery system and splits delivery method
CN106991588A (en) * 2017-02-21 2017-07-28 河北翼虎网络科技有限公司 A kind of order splitting method and order generation method
CN109146646A (en) * 2018-09-25 2019-01-04 北京三快在线科技有限公司 Singulated settlement method, device, electronic equipment and computer-readable medium
WO2020244202A1 (en) * 2019-06-05 2020-12-10 北京极智嘉科技有限公司 Order processing method, apparatus and device, and storage medium
CN111144970A (en) * 2019-11-18 2020-05-12 珠海随变科技有限公司 Order splitting method and device, electronic equipment and readable medium
CN112990823A (en) * 2021-03-29 2021-06-18 武汉虹信技术服务有限责任公司 Method, system and storage medium for realizing inventory management

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CSDN博客: "RabbitMQ应用场景(二)", pages 2, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_43276786/article/details/93111625> *
百家号: "订单中心:订单拆分的设计思路", pages 1, Retrieved from the Internet <URL:https://baijiahao.baidu.com/s?id=1673878388825976491&wfr=spider&for=pc> *
脚本之家: "PHP实现Redis单据锁以及防止并发重复写入", pages 1, Retrieved from the Internet <URL:https://www.jb51.net/article/137992.htm> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115511559A (en) * 2022-09-16 2022-12-23 广州方舟信息科技有限公司 Order fulfillment method and system including virtual commodity transaction
CN117474617A (en) * 2023-09-28 2024-01-30 威科寰球(武汉)电子商务有限公司 Online business order dismantling business model and system
CN117474617B (en) * 2023-09-28 2024-04-26 伟吉鑫(湖北)电子科技有限公司 Online business bill disassembling method

Similar Documents

Publication Publication Date Title
CN113919916A (en) Order splitting method and device and electronic equipment
US11587111B2 (en) Methods and systems for automatically testing and applying codes to electronic shopping carts
WO2014083880A1 (en) Out-of-stock notification system, out-of-stock notification device, out-of-stock notification method, and program
CN109191233B (en) Second order-killing request processing method and device and storage medium
CN108985809A (en) Motivate method, apparatus, electronic equipment and the storage medium of push
WO2016014986A1 (en) Methods and apparatus for unified inventory and financial transaction management
US11100531B2 (en) Method and apparatus for clustering platform sessions and user accounts associated with the platform sessions
CN110866008B (en) Data processing method, device and system
WO2012045154A1 (en) System and method of capturing point-of-sale data and providing real-time advertising content
CN111192089B (en) Electronic ticket generation method and device and computer system
US9201851B2 (en) Methods and apparatus for in-line editing of web page content stored in multiple data stores
US9626716B1 (en) Method, medium, and system for associating graphical icons with destination addresses using drag and drop
JP2010205023A (en) Internet shopping management device
CN108805541B (en) Payment method and system, and storage medium
US9672561B1 (en) Fail-safe ordering
CN111435484A (en) Task cooperative processing method, device, equipment and system
CN113592470A (en) Service processing method and device, electronic equipment and storage medium
US9384012B2 (en) Standalone data entry for backend system
CN107705070B (en) Material information input method and device in ERP system and computer equipment
Athreya et al. A public cloud based soa workflow for machine learning based recommendation algorithms
JP7442831B2 (en) Listing management support device and listing management support method
JP7477705B1 (en) Information processing terminal and code payment control program
JP7440165B2 (en) Payment history management system, information processing device, payment history management method and program
JP7234642B2 (en) Processing device, processing method and program
US10032206B2 (en) Collaborative electronic commerce

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination