CN106875226A - One kind panic buying behavior monitoring method and system - Google Patents
One kind panic buying behavior monitoring method and system Download PDFInfo
- Publication number
- CN106875226A CN106875226A CN201710103890.2A CN201710103890A CN106875226A CN 106875226 A CN106875226 A CN 106875226A CN 201710103890 A CN201710103890 A CN 201710103890A CN 106875226 A CN106875226 A CN 106875226A
- Authority
- CN
- China
- Prior art keywords
- requests
- purchase
- robbery
- request
- total number
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012544 monitoring process Methods 0.000 title claims abstract description 35
- 238000012797 qualification Methods 0.000 claims description 147
- 238000012216 screening Methods 0.000 claims description 55
- 230000000977 initiatory effect Effects 0.000 claims description 34
- 238000012545 processing Methods 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 2
- 230000004048 modification Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 description 10
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 244000062793 Sorghum vulgare Species 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 235000019713 millet Nutrition 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
Landscapes
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Burglar Alarm Systems (AREA)
Abstract
This application discloses one kind panic buying behavior monitoring method, including:Open panic buying passage corresponding with end article;Difference real time record to default buffer queue and local data base is asked into the panic buying for currently being got by rushing to purchase passage;Wherein, the queue length of the buffer queue end article sum provided with epicycle panic buying is consistent;If monitoring current cache queue to be filled with, panic buying passage is closed, and count the sum of the panic buying request recorded in current local data base, obtain panic buying request sum;Judge whether panic buying request sum is consistent with end article sum, if, then all panic buyings request recorded in current cache queue is responded, if not, then using the information recorded in local data base, it is modified treatment to buffer queue, and all panic buyings request to being recorded in queue after amendment is responded.The application improves the fairness of panic buying process.In addition, disclosed herein as well is one kind panic buying Behavior Monitor System.
Description
Technical Field
The invention relates to the technical field of electronic commerce, in particular to a method and a system for monitoring a shopping behavior.
Background
Currently, with the rapid development of electronic commerce, the number and the types of e-commerce platforms are more and more, so that a great deal of convenience is provided for daily shopping of consumers, and the development of social economy is greatly promoted. The existing e-commerce platforms include self-service e-commerce, such as food only party, millet mall and high quality products, and non-self-service e-commerce, such as e-commerce platforms created after secondary development on Taobao or WeChat, such as Kubei city created on WeChat.
In order to improve the attention and activity of the e-commerce platform and increase the propagation and influence, many e-commerce platforms can select to carry out the shopping activities regularly or irregularly, such as killing the shopping in seconds. Through carrying out the activity of robbery, can attract more users to pay close attention to the electricity merchant platform, promoted the influence of electricity merchant platform.
In the current network preemption process, it is often necessary to store the preemption requests submitted by a large number of users in a cache within a short time, and then determine the users who can successfully purchase goods in the current round of preemption from the preemption requests stored in the cache. However, since the data stored in the cache is easily lost, especially under the condition that a large number of users access the server, the server is easily subjected to catastrophic system crash, and at this time, the data in the cache is more easily lost, so that many users who originally can obtain the purchase qualification finally lose the purchase qualification, the fairness of the shopping process is damaged, and the user experience is reduced.
In conclusion, it can be seen that how to improve the fairness of the shopping process is a problem to be solved at present.
Disclosure of Invention
In view of this, the present invention provides a method and a system for monitoring a shopping procedure, so as to improve the fairness of the shopping procedure. The specific scheme is as follows:
a method for monitoring a shopping behavior comprises the following steps:
opening a first-aid channel corresponding to the target commodity;
respectively recording the current shopping requests acquired through the shopping channels to a preset cache queue and a local database in real time; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase;
if the current cache queue is monitored to be full, closing the robbery channel, and counting the total number of the robbery requests recorded in the current local database to obtain the total number of the robbery requests;
and judging whether the total number of the robbery requests is consistent with the total number of the target commodities, if so, responding to all the robbery requests recorded in the current cache queue, and if not, correcting the cache queue by using the information recorded in the local database, and responding to all the robbery requests recorded in the corrected queue.
Optionally, the process of performing modification processing on the cache queue by using the information recorded in the local database includes:
acquiring the request initiation time of each robbery request recorded in the local database;
taking the request initiation time as a screening basis, and screening K robbery requests with earlier initiation time from the local database; wherein the K value is consistent with the total number of the target commodities;
screening out the first-class preemption requests which are different from the K preemption requests from all the preemption requests recorded by the current cache queue to obtain first-class preemption requests;
screening out the emergency purchase requests which are different from all the emergency purchase requests recorded by the cache queue from the K emergency purchase requests to obtain a second type of emergency purchase requests;
and replacing the first type of the first-kind of the first-.
Optionally, before the opening of the first-aid-purchase channel corresponding to the target commodity, the method further includes:
opening a first-purchase qualification application channel corresponding to the target commodity;
acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel;
screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to the preset total number of the first-purchase qualifications; wherein the value of N is consistent with the total number of the first-time purchase eligibility;
and determining all the terminal users corresponding to the N number of the application requests of the pre-purchase qualification as a target user group.
Optionally, the process of opening a shopping channel corresponding to the target product includes:
and opening a shopping channel corresponding to the target commodity for the terminal users in the target user group. Optionally, the process of screening out N number of the obtained request for the application for eligibility for the first purchase includes:
acquiring request initiation time corresponding to each first-purchase qualification application request;
and screening N pre-purchase qualification application requests with the front request initiation time from all the acquired pre-purchase qualification application requests by taking the request initiation time as a screening basis.
Optionally, the process of screening out N number of the obtained request for the application for eligibility for the first purchase includes:
acquiring request initiation time corresponding to each first-purchase qualification application request;
determining the user grade of the terminal user corresponding to each first-purchase qualification application request;
calculating the acquisition index of the pre-purchase qualification of the corresponding terminal user by utilizing the request initiating time and the user grade;
and screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to each screened first-purchase qualification application request are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
The invention also discloses a system for monitoring the shopping behavior, which comprises:
the shopping channel opening module is used for opening a shopping channel corresponding to the target commodity;
the information recording module is used for respectively recording the current shopping requests acquired through the shopping channels to a preset cache queue and a local database in real time; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase;
the first monitoring module is used for monitoring the current cache queue;
a first monitoring module, configured to monitor that the cache queue is full, and close the first channel;
the request quantity counting module is used for counting the total number of the emergency purchase requests recorded in the local database to obtain the total number of the emergency purchase requests when the emergency purchase channel is closed by the emergency purchase channel closing module;
the information judgment module is used for judging whether the total number of the robbery requests is consistent with the total number of the target commodities;
the first response module is used for responding to all the robbery requests recorded in the current cache queue when the information judgment module judges that the total number of the robbery requests is consistent with the total number of the target commodities;
and the second response module is used for correcting the cache queue by using the information recorded in the local database when the information judgment module judges that the total number of the robbery requests is inconsistent with the total number of the target commodities, and responding to all the robbery requests recorded in the corrected queue.
Optionally, the system for monitoring the emergency purchasing behavior further includes:
the target user group determining module is used for determining the terminal users with the robbery qualification to obtain a target user group;
correspondingly, the shopping channel opening module is specifically configured to open a shopping channel corresponding to the target commodity for the terminal users in the target user group.
Optionally, the target user group determining module includes:
the qualification application channel opening sub-module is used for opening a pre-purchase qualification application channel corresponding to the target commodity;
the qualification application request acquisition sub-module is used for acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel;
the qualification application request screening submodule is used for screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to the preset total number of the first-purchase qualifications; wherein the value of N is consistent with the total number of the first-time purchase eligibility;
and the target user group determining submodule is used for determining all the terminal users corresponding to the N number of the first-purchase qualification application requests as a target user group.
Optionally, the qualification request screening submodule includes:
the information acquisition unit is used for acquiring request initiation time corresponding to each pre-purchase qualification application request;
the grade determining unit is used for determining the user grade of the terminal user corresponding to each pre-purchase qualification application request;
the index calculation unit is used for calculating the acquisition index of the pre-purchase qualification of the corresponding terminal user by utilizing the request initiation time and the user grade;
the qualification application request screening unit is used for screening N number of the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to each screened first-purchase qualification application request are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
In the invention, the monitoring method of the emergency purchasing behavior comprises the following steps: opening a first-aid channel corresponding to the target commodity; respectively recording the current robbery requests acquired through the robbery channels to a preset cache queue and a local database in real time; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase; if the current cache queue is monitored to be fully stored, closing the robbery channel, and counting the total number of the robbery requests recorded in the current local database to obtain the total number of the robbery requests; and judging whether the total number of the robbery requests is consistent with the total number of the target commodities, if so, responding to all the robbery requests recorded in the current cache queue, and if not, correcting the cache queue by using the information recorded in the local database, and responding to all the robbery requests recorded in the corrected queue.
Therefore, before the cache queue is full, the invention respectively records the robbery requests acquired through the robbery channels into the cache queue and the local database, and when the cache queue is full, the invention closes the robbery channels, so that the external robbery requests can not be received, thereby being beneficial to reducing the risk of system breakdown; and whether the total number of the preemptive requests recorded in the local database is consistent with the total number of the target commodities or not is judged, if so, the condition that the requests stored in the cache queue are not lost is indicated, at the moment, all the preemptive requests recorded in the cache queue can be directly responded, and if not, the condition that the data originally stored in the cache queue are lost is indicated, so that some preemptive requests which should not be added into the cache queue are added into the cache queue.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flow chart of a monitoring method for a robbery activity according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific monitoring method for a robbery activity according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system for monitoring a robbery operation according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The embodiment of the invention discloses a method for monitoring a shopping behavior, which is shown in figure 1 and comprises the following steps:
step S11: and opening a pre-purchase channel corresponding to the target commodity.
It can be understood that, the channel opening time can be preset in the embodiment, and when the channel opening time is reached, the robbery channel corresponding to the target commodity can be opened, so that the user can perform the robbery ordering on the target commodity through the robbery channel.
Step S12: respectively recording the current robbery requests acquired through the robbery channels to a preset cache queue and a local database in real time; the queue length of the buffer queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase.
In this embodiment, after the user sends the purchase request to the server through the purchase channel, the server records the purchase request to the cache queue and the local database in real time. In this embodiment, the queue length of the cache queue is equal to the total number of the target commodities provided by the current round of the first-time shopping. Compared with the cache queue, the data stored in the local database has higher security, and the probability of data loss is very low.
It should be noted that, in this embodiment, the preemption request may be simultaneously recorded in the cache queue and the local database, and certainly, the preemption request may be first stored in the cache queue and then written into the local database.
Step S13: and if the current cache queue is monitored to be fully stored, closing the robbery channel, and counting the total number of the robbery requests recorded in the current local database to obtain the total number of the robbery requests.
In this embodiment, after the cache queue is full, the preemption channel is closed, so as to intercept an external preemption request and reduce the probability of server collapse.
Step S14: and judging whether the total number of the robbery requests is consistent with the total number of the target commodities, if so, responding to all the robbery requests recorded in the current cache queue, and if not, correcting the cache queue by using the information recorded in the local database, and responding to all the robbery requests recorded in the corrected queue.
It can be understood that, in this embodiment, the process of responding to the robbery request specifically means that the right to purchase the target product is given to the user initiating the robbery request through the robbery request.
Therefore, before the cache queue is full, the embodiment of the invention respectively records the robbery requests acquired through the robbery channels into the cache queue and the local database, and when the cache queue is full, the embodiment of the invention closes the robbery channels, so that the outside initiated robbery requests can not be received any more, thereby being beneficial to reducing the risk of system breakdown; and whether the total number of the preemption requests recorded in the local database is consistent with the total number of the target commodity or not is judged, if so, the condition that the requests stored in the cache queue are not lost is indicated, at the moment, all the preemption requests recorded in the cache queue can be directly responded, and if not, the condition that the data originally stored in the cache queue are lost is indicated, so that some preemption requests which are not added into the cache queue are added into the cache queue.
Referring to fig. 2, an embodiment of the present invention discloses a specific method for monitoring a robbery activity, including the following steps:
step S21: and opening a pre-purchase qualification application channel corresponding to the target commodity, and acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel.
Step S22: screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to a preset total number of the first-purchase qualifications, and determining all terminal users corresponding to the N number of the first-purchase qualification application requests as a target user group; wherein the value of N is consistent with the total number of the first purchase qualification.
That is, the embodiment of the present invention may determine in advance the user group capable of participating in the current round of the first-time shopping activities. For example, assuming that the total number of target products provided by the current round of the pre-purchase activities is 10, if there is a desire that 1 ten thousand people have to pre-purchase the target products, in order to avoid a phenomenon that the server crashes due to an excessively large request amount during the formal pre-purchase, in this embodiment, before the formal pre-purchase channel is opened, the pre-purchase qualification application channel is opened, and the total number of people capable of obtaining the pre-purchase qualification is set to be 1000, then the pre-purchase qualification application request is obtained through the pre-purchase qualification application channel, then 1000 requests are screened from all the pre-purchase qualification application requests, and the end users corresponding to the 1000 requests are determined as the user group capable of participating in the current round of the pre-purchase activities, so that the number of people participating in the pre-purchase activities can be greatly reduced, and the pressure of the server is reduced.
In addition, the process of screening out N number of the obtained request for the application for the eligibility for the first purchase may specifically include:
and acquiring request initiation time corresponding to each pre-purchase qualification application request, and screening N pre-purchase qualification application requests with the request initiation time before from all the acquired pre-purchase qualification application requests by taking the request initiation time as a screening basis. That is, a group of the emergency purchase qualification application requests with the minimum request initiation time is screened out from all the acquired emergency purchase qualification application requests, and the group of the emergency purchase qualification application requests comprises N emergency purchase qualification application requests in total.
Of course, in addition to only taking the request initiation time as the screening basis, in this embodiment, the request initiation time and the user level of the terminal user may also be taken as the screening basis at the same time, and specifically, the process of screening N number of the obtained number of the pre-purchase qualification application requests from all the obtained pre-purchase qualification application requests may also include:
the method comprises the steps of obtaining request initiation time corresponding to each first-purchase qualification application request, determining a user grade of a terminal user corresponding to each first-purchase qualification application request, calculating first-purchase qualification approval indexes of corresponding terminal users by using the request initiation time and the user grade, and screening N first-purchase qualification application requests from all the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to the screened first-purchase qualification application requests are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
It is understood that, in the present embodiment, in the process of calculating the pre-purchase qualification approval index, the pre-purchase qualification approval index may be calculated in a weighted calculation manner.
Step S23: and opening a shopping channel corresponding to the target commodity for the terminal users in the target user group.
Step S24: and respectively recording the current robbery requests acquired through the robbery channels to a preset cache queue and a local database in real time.
Step S25: and if the current cache queue is monitored to be fully stored, closing the robbery channel, and counting the total number of the robbery requests recorded in the current local database to obtain the total number of the robbery requests.
Step S26: judging whether the total number of the first-purchase requests is consistent with the total number of the target commodities;
step S27: if the total number of the robbery requests is consistent with the total number of the target commodities, responding to all the robbery requests recorded in the current cache queue;
step S28: if the total number of the first-aid-purchase requests is inconsistent with the total number of the target commodities, acquiring the request initiation time of each first-aid-purchase request recorded in a local database, and screening K first-aid-purchase requests with the initiation time before from the local database by taking the request initiation time as a screening basis; wherein the K value is consistent with the total number of the target commodities;
step S29: screening out the first-class robbery requests which are different from the K robbery requests from all the robbery requests recorded in the current cache queue to obtain first-class robbery requests;
step S30: screening out the emergency purchase requests which are different from all the emergency purchase requests recorded by the cache queue from the K emergency purchase requests to obtain a second type of emergency purchase requests;
step S31: and replacing the first-class preemption request in the cache queue with the second-class preemption request to obtain a corrected queue.
Correspondingly, the embodiment of the present invention further discloses a system for monitoring the emergency purchasing behavior, which is shown in fig. 3 and comprises:
the shopping channel opening module 11 is used for opening a shopping channel corresponding to the target commodity;
the information recording module 12 is configured to record, in real time, the current robbery requests acquired through the robbery channels to a preset cache queue and a local database, respectively; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase;
the first monitoring module 13 is configured to monitor a current buffer queue;
a first monitoring module 13, configured to monitor that the current cache queue is full, and close the first channel;
the request quantity counting module 15 is used for counting the total number of the emergency purchase requests recorded in the current local database to obtain the total number of the emergency purchase requests when the emergency purchase channel is closed by the emergency purchase channel closing module;
the information judgment module 16 is used for judging whether the total number of the robbery requests is consistent with the total number of the target commodities;
the first response module 17 is configured to, when the information determination module 16 determines that the total number of the robbery requests is consistent with the total number of the target commodities, respond to all the robbery requests recorded in the current cache queue;
and a second response module 18, configured to, when the information determining module 16 determines that the total number of the robbery requests is inconsistent with the total number of the target commodities, perform correction processing on the cache queue by using the information recorded in the local database, and respond to all the robbery requests recorded in the corrected queue.
Therefore, before the cache queue is full, the embodiment of the invention respectively records the robbery requests acquired through the robbery channels into the cache queue and the local database, and when the cache queue is full, the embodiment of the invention closes the robbery channels, so that the outside initiated robbery requests can not be received any more, thereby being beneficial to reducing the risk of system breakdown; and whether the total number of the preemption requests recorded in the local database is consistent with the total number of the target commodity or not is judged, if so, the condition that the requests stored in the cache queue are not lost is indicated, at the moment, all the preemption requests recorded in the cache queue can be directly responded, and if not, the condition that the data originally stored in the cache queue are lost is indicated, so that some preemption requests which are not added into the cache queue are added into the cache queue.
In this embodiment, the system for monitoring the emergency purchasing behavior may further include: and the target user group determining module is used for determining the terminal users with the robbery qualification to obtain the target user group.
Correspondingly, the shopping channel opening module is specifically configured to open a shopping channel corresponding to the target commodity for the terminal users in the target user group.
Specifically, the target user group determining module includes a qualification application channel opening sub-module, a qualification application request obtaining sub-module, a qualification application request screening sub-module, and a target user group determining sub-module; wherein,
the qualification application channel opening sub-module is used for opening a pre-purchase qualification application channel corresponding to the target commodity;
the qualification application request acquisition sub-module is used for acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel;
the qualification application request screening submodule is used for screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to the preset total number of the first-purchase qualifications; wherein the value of N is consistent with the total number of the first-purchase qualification;
and the target user group determining submodule is used for determining all the terminal users corresponding to the N number of the first-purchase qualification application requests as a target user group.
In addition, the qualification request screening submodule specifically comprises an information acquisition unit, a grade determination unit, an index calculation unit and a qualification request screening unit; wherein,
the information acquisition unit is used for acquiring request initiation time corresponding to each pre-purchase qualification application request;
the grade determining unit is used for determining the user grade of the terminal user corresponding to each pre-purchase qualification application request;
the index calculation unit is used for calculating the acquisition index of the pre-purchase qualification of the corresponding terminal user by utilizing the request initiation time and the user grade;
the qualification application request screening unit is used for screening N number of the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to each screened first-purchase qualification application request are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
For a more specific working process of the above system, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method and the system for monitoring the shopping malls provided by the invention are described in detail, a specific example is applied in the method to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for monitoring a shopping behavior is characterized by comprising the following steps:
opening a first-aid channel corresponding to the target commodity;
respectively recording the current shopping requests acquired through the shopping channels to a preset cache queue and a local database in real time; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase;
if the current cache queue is monitored to be full, closing the robbery channel, and counting the total number of the robbery requests recorded in the current local database to obtain the total number of the robbery requests;
and judging whether the total number of the robbery requests is consistent with the total number of the target commodities, if so, responding to all the robbery requests recorded in the current cache queue, and if not, correcting the cache queue by using the information recorded in the local database, and responding to all the robbery requests recorded in the corrected queue.
2. The method for monitoring the robbery behavior according to claim 1, wherein the process of performing modification processing on the cache queue by using the information recorded in the local database includes:
acquiring the request initiation time of each robbery request recorded in the local database;
taking the request initiation time as a screening basis, and screening K robbery requests with earlier initiation time from the local database; wherein the K value is consistent with the total number of the target commodities;
screening out the first-class preemption requests which are different from the K preemption requests from all the preemption requests recorded by the current cache queue to obtain first-class preemption requests;
screening out the emergency purchase requests which are different from all the emergency purchase requests recorded by the cache queue from the K emergency purchase requests to obtain a second type of emergency purchase requests;
and replacing the first type of the first-kind of the first-.
3. The method for monitoring the robbery behavior according to claim 1, wherein before the opening of the robbery channel corresponding to the target commodity, the method further comprises:
opening a first-purchase qualification application channel corresponding to the target commodity;
acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel;
screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to the preset total number of the first-purchase qualifications; wherein the value of N is consistent with the total number of the first-time purchase eligibility;
and determining all the terminal users corresponding to the N number of the application requests of the pre-purchase qualification as a target user group.
4. The method for monitoring the robbery behavior according to claim 3, wherein the process of opening the robbery channel corresponding to the target commodity includes:
and opening a shopping channel corresponding to the target commodity for the terminal users in the target user group.
5. The method for monitoring the preemption behavior of claim 3 or 4, wherein the process of screening N preemption eligibility application requests from all acquired preemption eligibility application requests comprises:
acquiring request initiation time corresponding to each first-purchase qualification application request;
and screening N pre-purchase qualification application requests with the front request initiation time from all the acquired pre-purchase qualification application requests by taking the request initiation time as a screening basis.
6. The method for monitoring the preemption behavior of claim 3 or 4, wherein the process of screening N preemption eligibility application requests from all acquired preemption eligibility application requests comprises:
acquiring request initiation time corresponding to each first-purchase qualification application request;
determining the user grade of the terminal user corresponding to each first-purchase qualification application request;
calculating the acquisition index of the pre-purchase qualification of the corresponding terminal user by utilizing the request initiating time and the user grade;
and screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to each screened first-purchase qualification application request are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
7. A system for monitoring a preemption behavior, comprising:
the shopping channel opening module is used for opening a shopping channel corresponding to the target commodity;
the information recording module is used for respectively recording the current shopping requests acquired through the shopping channels to a preset cache queue and a local database in real time; the queue length of the cache queue is consistent with the total number of the target commodities provided by the current round of the first-time purchase;
the first monitoring module is used for monitoring the current cache queue;
a first monitoring module, configured to monitor that the cache queue is full, and close the first channel;
the request quantity counting module is used for counting the total number of the emergency purchase requests recorded in the local database to obtain the total number of the emergency purchase requests when the emergency purchase channel is closed by the emergency purchase channel closing module;
the information judgment module is used for judging whether the total number of the robbery requests is consistent with the total number of the target commodities;
the first response module is used for responding to all the robbery requests recorded in the current cache queue when the information judgment module judges that the total number of the robbery requests is consistent with the total number of the target commodities;
and the second response module is used for correcting the cache queue by using the information recorded in the local database when the information judgment module judges that the total number of the robbery requests is inconsistent with the total number of the target commodities, and responding to all the robbery requests recorded in the corrected queue.
8. The system for monitoring preemption behavior of claim 7, further comprising:
the target user group determining module is used for determining the terminal users with the robbery qualification to obtain a target user group;
correspondingly, the shopping channel opening module is specifically configured to open a shopping channel corresponding to the target commodity for the terminal users in the target user group.
9. The system of claim 8, wherein the target user group determination module comprises:
the qualification application channel opening sub-module is used for opening a pre-purchase qualification application channel corresponding to the target commodity;
the qualification application request acquisition sub-module is used for acquiring a pre-purchase qualification application request initiated by a terminal user through the pre-purchase qualification application channel;
the qualification application request screening submodule is used for screening N number of the first-purchase qualification application requests from all the obtained first-purchase qualification application requests according to the preset total number of the first-purchase qualifications; wherein the value of N is consistent with the total number of the first-time purchase eligibility;
and the target user group determining submodule is used for determining all the terminal users corresponding to the N number of the first-purchase qualification application requests as a target user group.
10. A system for monitoring preemption behavior as defined in claim 9, wherein the qualification request screening submodule comprises:
the information acquisition unit is used for acquiring request initiation time corresponding to each pre-purchase qualification application request;
the grade determining unit is used for determining the user grade of the terminal user corresponding to each pre-purchase qualification application request;
the index calculation unit is used for calculating the acquisition index of the pre-purchase qualification of the corresponding terminal user by utilizing the request initiation time and the user grade;
the qualification application request screening unit is used for screening N number of the obtained first-purchase qualification application requests by taking the first-purchase qualification approval indexes as screening bases, wherein the first-purchase qualification approval indexes corresponding to each screened first-purchase qualification application request are all larger than or equal to the first-purchase qualification approval indexes of other non-screened first-purchase qualification application requests.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710103890.2A CN106875226B (en) | 2017-02-24 | 2017-02-24 | Method and system for monitoring shopping behavior |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710103890.2A CN106875226B (en) | 2017-02-24 | 2017-02-24 | Method and system for monitoring shopping behavior |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106875226A true CN106875226A (en) | 2017-06-20 |
CN106875226B CN106875226B (en) | 2020-12-01 |
Family
ID=59168161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710103890.2A Active CN106875226B (en) | 2017-02-24 | 2017-02-24 | Method and system for monitoring shopping behavior |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106875226B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960596A (en) * | 2017-12-26 | 2019-07-02 | 中国移动通信集团公司 | A kind of method and device preventing robot competition for orders |
CN111324622A (en) * | 2020-02-20 | 2020-06-23 | 中国建设银行股份有限公司 | Resource first-aid-purchase processing method, device, equipment and storage medium |
CN113435931A (en) * | 2021-06-29 | 2021-09-24 | 未鲲(上海)科技服务有限公司 | Service data processing method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156309A (en) * | 2016-07-01 | 2016-11-23 | 五八同城信息技术有限公司 | Method for reading data and device |
CN106204232A (en) * | 2016-07-18 | 2016-12-07 | 苏州华车网络科技有限公司 | A kind of system and method processing high concurrent interaction data request |
CN106202505A (en) * | 2016-07-20 | 2016-12-07 | 北京京东尚科信息技术有限公司 | Data processing method and system thereof |
CN106257456A (en) * | 2016-07-08 | 2016-12-28 | 北京京东尚科信息技术有限公司 | The method of data base's stability, Apparatus and system is improved under high concurrent request |
-
2017
- 2017-02-24 CN CN201710103890.2A patent/CN106875226B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156309A (en) * | 2016-07-01 | 2016-11-23 | 五八同城信息技术有限公司 | Method for reading data and device |
CN106257456A (en) * | 2016-07-08 | 2016-12-28 | 北京京东尚科信息技术有限公司 | The method of data base's stability, Apparatus and system is improved under high concurrent request |
CN106204232A (en) * | 2016-07-18 | 2016-12-07 | 苏州华车网络科技有限公司 | A kind of system and method processing high concurrent interaction data request |
CN106202505A (en) * | 2016-07-20 | 2016-12-07 | 北京京东尚科信息技术有限公司 | Data processing method and system thereof |
Non-Patent Citations (1)
Title |
---|
邵斐: "一种基于秒杀应用的业务系统框架设计", 《软件导刊》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960596A (en) * | 2017-12-26 | 2019-07-02 | 中国移动通信集团公司 | A kind of method and device preventing robot competition for orders |
CN109960596B (en) * | 2017-12-26 | 2021-04-02 | 中国移动通信集团公司 | Method and device for preventing robot from robbing order |
CN111324622A (en) * | 2020-02-20 | 2020-06-23 | 中国建设银行股份有限公司 | Resource first-aid-purchase processing method, device, equipment and storage medium |
CN113435931A (en) * | 2021-06-29 | 2021-09-24 | 未鲲(上海)科技服务有限公司 | Service data processing method and device, computer equipment and storage medium |
CN113435931B (en) * | 2021-06-29 | 2024-06-11 | 广州喜淘信息科技有限公司 | Service data processing method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106875226B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11895264B2 (en) | Fraud importance system | |
US11030622B2 (en) | Card systems and methods | |
US11676087B2 (en) | Systems and methods for vulnerability assessment and remedy identification | |
US8645250B2 (en) | Rules suggestion engine | |
US20220084054A1 (en) | Dynamic information probing for classifying an item | |
US20190287182A1 (en) | Transaction Compliance Scoring System | |
US20160071104A1 (en) | Securebuy merchant information analytics decision engine | |
US20080162202A1 (en) | Detecting inappropriate activity by analysis of user interactions | |
CN106875226B (en) | Method and system for monitoring shopping behavior | |
CN107103548A (en) | The monitoring method and system and risk monitoring and control method and system of network behavior data | |
US20210248607A1 (en) | Systems and methods for using machine learning to predict events associated with transactions | |
US20190295086A1 (en) | Quantifying device risk through association | |
CN116501824A (en) | Object handling method and device | |
CN111461827A (en) | Product evaluation information pushing method and device | |
CN116467399A (en) | Object handling method and device | |
CN112085240A (en) | Method and system for processing transaction data of first-order commodities | |
CN111125780A (en) | Method, equipment and medium for recording E-commerce commodity information based on block chain | |
CN113724077A (en) | Loan approval method, device and system | |
KR20150061541A (en) | Providing method and system for preventing fraud trading | |
EP2824624A1 (en) | Fraud management system and method | |
CN109711984B (en) | Pre-loan risk monitoring method and device based on collection urging | |
WO2017105794A1 (en) | System and method for test data provisioning | |
US10902427B2 (en) | System and method for data analytics | |
CN111047341B (en) | Information processing method, device, server and terminal equipment | |
Pierpoint | Headline risk: Forging a crisis communication keystone |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 410000 Room 301, building 1, 512 Furong Middle Road, Tianxin District, Changsha City, Hunan Province Patentee after: Hunan dot information technology Co.,Ltd. Address before: 410000 Room 301, building 1, 512 Furong Middle Road, Tianxin District, Changsha City, Hunan Province Patentee before: HUNAN ANLIANG INFORMATION TECHNOLOGY Co.,Ltd. |