Order processing method and system of CRM system, equipment and medium

By predicting active traffic and verifying appointment accounts, generating and optimizing active traffic, and opening a current limiter, the problem of insufficient performance of flash sale order processing system in the telecom industry is solved, and high concurrency and low latency order processing is achieved.

CN119599756APending Publication Date: 2025-03-11SI-TECH INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411459564.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively handle mid-to-high concurrency and low-latency flash sale orders in the telecommunications industry, resulting in insufficient system performance and difficult to meet the needs of a huge number of customers.

Method used

By obtaining the number of reservations for active products, predicting the activity traffic, and verifying the reservation account, removing the unverified accounts, generating and optimizing the activity traffic, opening a flow limiter, and processing the reservation orders in chronological order.

Benefits of technology

It realizes efficient processing of flash sale orders, avoids system lag, and ensures the authenticity of orders and the high performance and high availability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599756A_ABST
    Figure CN119599756A_ABST
Patent Text Reader

Abstract

The invention discloses an order processing method, system and device of a CRM system and a medium, and relates to the technical field of order processing, and the method comprises the steps: obtaining the reservation number of activity commodities, predicting the activity flow according to the reservation number, and enabling the activity flow to represent the maximum purchase amount of the activity commodities; performing account verification on each reserved account, eliminating the number of accounts which do not pass verification from the activity traffic, and generating optimized activity traffic; and opening a flow limiter according to the optimized activity flow, and processing reservation orders in sequence according to a time sequence. According to the method, the activity traffic is predicted in advance, a traffic limiter matched with the activity traffic can be planned in advance, the situation that the system is blocked due to the fact that the activity traffic is too large is avoided, and in addition, the authenticity of the reserved order is guaranteed in the mode that the reserved account is subjected to account verification.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the popularization of online shopping, the telecommunications industry also often offers discounts and promotions in the form of "flash sales" for the purpose of attracting traffic, advertising, and seizing the market. Consumers can purchase goods at low prices as long as the "flash sale" is successful, which means that merchants need to process "flash sale" orders in a timely manner.

[0003] A relatively simple and traditional solution is to queue requests in a single thread and add locks to resources to prevent overselling. However, this is far from meeting the huge number of customers in the telecommunications industry.

[0004] The processing system for "flash sale" orders needs to support:

[0005] 1) High concurrency: Ensure that the system can process many requests in parallel.

[0006] 2) High performance: The program processes very quickly, takes up little memory and has low CPU usage.

[0007] 3) High availability: Maintain high availability of its services.

[0008] 4) Consistency: There is no problem of overselling or underselling of goods.

[0009] However, there is no solution to the above problems in the prior art. Summary of the invention

[0010] The technical problem to be solved by the present invention is to address the deficiencies of the prior art, specifically the problems of slow development cycle and long debugging time, and specifically provide an order processing method, system, device and medium for a CRM system, as follows:

[0011] 1) In the first aspect, the present invention provides an order processing method of a CRM system, and the specific technical solution is as follows:

[0012] Obtaining the number of reservations for the promotional product, and predicting the promotional flow according to the number of reservations, wherein the promotional flow represents the maximum purchase amount of the promotional product;

[0013] Perform account verification on each reservation account, remove accounts that fail the verification from the activity flow, and generate optimized activity flow;

[0014] The flow limiter is opened according to the optimized activity flow, and the reservation orders are processed sequentially in chronological order.

[0015] The beneficial effects of the order processing method of a CRM system provided by the present invention are as follows:

[0016] By predicting the activity traffic in advance, it is convenient to plan the matching flow limiter in advance to avoid system freezes caused by excessive activity traffic. In addition, by verifying the reservation account, the authenticity of the reservation order is guaranteed.

[0017] Based on the above solution, the present invention can also be improved as follows.

[0018] Furthermore, the process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

[0019] Furthermore, it also includes: determining whether any reservation account is in a blacklist, and removing the number of reservation accounts in the blacklist from the activity traffic.

[0020] Furthermore, it also includes: after obtaining feedback that any reservation account has made a successful payment, subtracting one from the optimized activity flow and feeding back the result to the flow limiter.

[0021] 2) In the second aspect, the present invention also provides an order processing system for a CRM system, and the specific technical solution is as follows:

[0022] The acquisition module is used to: acquire the number of reservations for the activity product, and predict the activity flow according to the number of reservations, wherein the activity flow represents the maximum purchase amount of the activity product;

[0023] The verification module is used to verify each reservation account, remove the number of accounts that have not passed the verification from the activity flow, and generate optimized activity flow;

[0024] The processing module is used to: open the flow limiter according to the optimized activity flow, and process the reservation orders in sequence according to the time sequence.

[0025] Based on the above solution, the present invention can also be improved as follows.

[0026] Furthermore, the process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

[0027] Furthermore, it also includes: a confirmation module for determining whether any reservation account is in a blacklist, and removing the number of reservation accounts in the blacklist from the activity traffic.

[0028] Furthermore, it also includes: an adjustment module is used to: after obtaining feedback that any reservation account has made a successful payment, subtract one from the optimized activity flow and feed it back to the flow limiter.

[0029] 3) In a third aspect, the present invention further provides an electronic device, comprising a processor, wherein the processor is coupled to a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements any of the above methods.

[0030] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor so that a computer implements any of the above methods.

[0031] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0033] Figure 1 A schematic diagram of a flow chart of an order processing method of a CRM system according to an embodiment of the present invention;

[0034] Figure 2 The present invention is a structural framework diagram of an electronic device. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0036] like Figure 1 As shown, an order processing method of a CRM system according to an embodiment of the present invention comprises the following steps:

[0037] S1, obtaining the number of reservations for the promotional product, and predicting the promotional flow according to the number of reservations, wherein the promotional flow represents the maximum purchase amount of the promotional product;

[0038] S2, performing account verification on each reservation account, removing the number of accounts that fail the verification from the activity flow, and generating optimized activity flow;

[0039] S3, opening the flow limiter according to the optimized activity flow, and processing the reservation orders in sequence according to the chronological order.

[0040] The beneficial effects of the order processing method of a CRM system provided by the present invention are as follows:

[0041] By predicting the activity traffic in advance, it is convenient to plan the matching flow limiter in advance to avoid system freezes caused by excessive activity traffic. In addition, by verifying the reservation account, the authenticity of the reservation order is guaranteed.

[0042] S1, obtaining the number of reservations for the promotional products, and predicting the promotional flow according to the number of reservations, wherein the promotional flow represents the maximum purchase volume of the promotional products.

[0043] The promotional products can be flash sale products or products participating in price discount activities, and there is no specific limitation on the types of products.

[0044] The number of reservations can be counted in the following ways:

[0045] Get the reservation account for the active product and the purchase quantity of the active product corresponding to each reservation account, count the purchase quantity corresponding to all reservation accounts, and get the reservation quantity.

[0046] The process of predicting activity traffic based on the number of reservations is as follows:

[0047] Determine the categories, prices, and favorable reviews of different promotional products, and determine whether the name of the promotional product is included in the historical database. If included, directly call the historical reservation quantity corresponding to the historical promotional product as the reservation quantity;

[0048] If it is not included, then according to the category of the promotional product, at least one historical promotional product corresponding to the category of the promotional product is retrieved from the historical database, and among all the historical promotional products, at least one historical price promotional product whose price is closest to the promotional product is determined (the determination method may be to preset a price range and select all historical promotional products within the price range), and among all the historical price promotional products, according to the popularity of the promotional product, the historical price promotional product whose popularity is closest to the promotional product is selected, and the historical reservation quantity corresponding to the historical price promotional product is used as the reservation quantity.

[0049] S2, performing account verification on each reservation account, removing the number of accounts that fail the verification from the activity flow, and generating optimized activity flow;

[0050] In the process of determining the number of reservations, this plan may also include:

[0051] Verify the reservation account in advance. The verification methods include but are not limited to:

[0052] 1) Client account verification, check the mutually exclusive relationship between the products ordered by the user and the products of this event to ensure that the customer is eligible to participate in the flash sale.

[0053] For example: the product of this event is tissue paper, and the product the user has ordered is toilet paper rolls. It can be determined that the product of this event and the product the user has ordered are substitute products, or similar products. At this time, it is determined that the product the user has ordered and the product of this event are mutually exclusive.

[0054] It should be further explained that the specific process of mutually exclusive relationship verification is as follows:

[0055] Extract the product names and functions of the products that the user has ordered and the products in this event. Use the preset model to analyze the similarity of the products between the two, and determine whether there is a mutually exclusive relationship based on the analysis results. That is, when the probability value corresponding to the analysis result exceeds the preset probability value, it is determined that there is a mutually exclusive relationship.

[0056] 2) Client version security verification, system security verification, to prevent decompilation and modification of client code.

[0057] 3) The flash sale interface is dynamically generated to prevent plug-in software from using mechanisms such as order-brushing scripts.

[0058] The reservation accounts that have passed the verification are determined as normal reservation accounts, and the reservation accounts that have not passed the verification are determined as abnormal reservation accounts. The number of abnormal reservation accounts is determined, and the number of abnormal reservation accounts is subtracted from the activity flow value to obtain the optimized activity flow.

[0059] S3, opening the flow limiter according to the optimized activity flow, and processing the reservation orders in sequence according to the chronological order.

[0060] For example, if the inventory of a flash sale product is N pieces, once the rate limiter receives N*k requests, it will stop accepting all requests for the product. k is estimated based on the previous flash sale transaction volume / traffic. If there are multiple products in a flash sale event, the rate limit quantity is calculated separately for each product.

[0061] In addition, this program also includes:

[0062] The flash sale request corresponding to the verified reservation account enters the message queue and waits. Generate a reservation order and reserve resources. Guide the customer to pay. If the payment is successful, the resources are used; if the payment fails, the resources are released. The reservation order is converted into an order and the product is ordered.

[0063] Initialize the number of resources and synchronize them to the current limiting management module. When a customer generates a reservation order, resources are occupied and the number of resources decreases by one. When the customer pays successfully, the number of resources is synchronized to the current limiting management module. When the customer fails to pay or times out, the resources are released, the number of resources increases by one, and the number of resources is synchronized to the current limiting module.

[0064] Furthermore, the process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

[0065] Furthermore, it also includes: determining whether any reservation account is in a blacklist, and removing the number of reservation accounts in the blacklist from the activity traffic.

[0066] Furthermore, it also includes: after obtaining feedback that any reservation account has made a successful payment, subtracting one from the optimized activity flow and feeding back the result to the flow limiter.

[0067] Example 1: 1. A customer logs in to the client and participates in a flash sale.

[0068] 2. The client sends the request to the gateway.

[0069] 3. The first part is the front-end verification, client account verification, and verification of the mutually exclusive relationship between the goods ordered by the user and the goods of this session; the second part is the client version security verification, system security verification, and whether it is a disguised client.

[0070] 4. The request result is returned. The client prompts "Processing..."

[0071] 5. Add the request to the request queue.

[0072] 6. The server takes the messages in the message queue one by one and enters the backend for verification.

[0073] 6.1 Verification successful, continue to 7.

[0074] 6.2 If verification fails, the processing result is returned. The client prompts "Processing, please do not repeat the operation..." or "Login failed, please log in again..."

[0075] 7. Generate a pre-order.

[0076] 8. Reserve resources in advance.

[0077] 9. Open the payment page, and the client prompts the customer to prepare for payment.

[0078] 10. The customer makes payment according to the client prompts.

[0079] 11. Determine the payment result.

[0080] 11.1 Payment is successful and the goods are ordered.

[0081] 11.2 Payment failed, release resources.

[0082] 12. The server returns the order result to the client. "You have successfully purchased the product..." "Sorry, the purchase failed. Please try again..."

[0083] 13. Set the threshold value. When the number of resource changes exceeds N / 10, notify the flow control module. The flow control module determines whether to allow more clients to log in based on the preset maximum flow value.

[0084] The beneficial effects that this program can achieve are:

[0085] 1. Reasonable use of message queues can not only solve concurrency security issues, but also decouple business and facilitate horizontal expansion.

[0086] 2. The front-end traffic limitation and security verification block most of the invalid traffic before the server.

[0087] 3. The server puts the verification logic in front, effectively reducing the number of interactions with the database and alleviating database pressure.

[0088] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the protection scope of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.

[0089] The present invention also provides an order processing system for a CRM system, and the specific technical solution is as follows:

[0090] The acquisition module is used to: acquire the number of reservations for the activity product, and predict the activity flow according to the number of reservations, wherein the activity flow represents the maximum purchase amount of the activity product;

[0091] The verification module is used to verify each reservation account, remove the number of accounts that have not passed the verification from the activity flow, and generate optimized activity flow;

[0092] The processing module is used to: open the flow limiter according to the optimized activity flow, and process the reservation orders in sequence according to the time sequence.

[0093] Based on the above solution, the present invention can also be improved as follows.

[0094] Furthermore, the process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

[0095] Furthermore, it also includes: a confirmation module for determining whether any reservation account is in a blacklist, and removing the number of reservation accounts in the blacklist from the activity traffic.

[0096] Furthermore, it also includes: an adjustment module is used to: after obtaining feedback that any reservation account has made a successful payment, subtract one from the optimized activity flow and feed it back to the flow limiter.

[0097] It should be noted that the beneficial effects of the order processing system of a CRM system provided in the above embodiment are the same as the beneficial effects of the order processing method of the above CRM system, which will not be described in detail here. In addition, when the system provided in the above embodiment realizes its functions, it only takes the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described in detail here.

[0098] like Figure 2 As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, the processor 320 is coupled to a memory 310, and the memory 310 stores at least one computer program 330, and the at least one computer program 330 is loaded and executed by the processor 320, so that the electronic device 300 implements any of the above methods, specifically:

[0099] The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, wherein the one or more memories 310 store at least one computer program 330, and the at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 implements the order processing method of a CRM system provided in the above embodiment. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the electronic device 300 may also include other components for realizing device functions, which will not be described in detail here.

[0100] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements any one of the above methods.

[0101] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0102] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs any of the above methods.

[0103] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects and represent the definition of a specific order or sequence. The order of use of similar objects can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.

[0104] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.

[0105] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.

[0106] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. An order processing method for a CRM system, characterized in that: include: Obtaining the number of reservations for the promotional product, and predicting the promotional flow according to the number of reservations, wherein the promotional flow represents the maximum purchase amount of the promotional product; Perform account verification on each reservation account, remove accounts that fail the verification from the activity flow, and generate optimized activity flow; The flow limiter is opened according to the optimized activity flow, and the reservation orders are processed sequentially in chronological order.

2. The order processing method of a CRM system according to claim 1, characterized in that: The process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

3. The order processing method of a CRM system according to claim 2, characterized in that: Also includes: Determine whether any reservation account is in the blacklist, and remove the number of reservation accounts in the blacklist from the activity traffic.

4. The order processing method of a CRM system according to claim 1, characterized in that: Also includes: After obtaining feedback that any reservation account has made a successful payment, the optimized activity flow is subtracted by one and fed back to the flow limiter.

5. An order processing system for a CRM system, characterized in that: include: The acquisition module is used to: acquire the number of reservations for the activity product, and predict the activity flow according to the number of reservations, wherein the activity flow represents the maximum purchase amount of the activity product; The verification module is used to verify each reservation account, remove the number of accounts that have not passed the verification from the activity flow, and generate optimized activity flow; The processing module is used to: open the flow limiter according to the optimized activity flow, and process the reservation orders in sequence according to the time sequence.

6. The order processing system of a CRM system according to claim 5, characterized in that: The process of performing account verification on each reservation account specifically includes: performing security verification on the client version of the reservation account and performing security verification on whether the client of the reservation account is bound to plug-in software.

7. The order processing system of a CRM system according to claim 5, characterized in that: Also includes: The confirmation module is used to determine whether any reservation account is in the blacklist, and remove the number of reservation accounts in the blacklist from the activity flow.

8. The order processing system of a CRM system according to claim 5, characterized in that: Also includes: The adjustment module is used to: after obtaining feedback that any reservation account has made a successful payment, subtract one from the optimized activity flow and feed it back to the flow limiter.

9. An electronic device, characterized in that: The electronic device comprises a processor, the processor is coupled to a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements the method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements the method according to any one of claims 1 to 4.