CN110336881B - Method and device for executing service processing request - Google Patents
Method and device for executing service processing request Download PDFInfo
- Publication number
- CN110336881B CN110336881B CN201910618640.1A CN201910618640A CN110336881B CN 110336881 B CN110336881 B CN 110336881B CN 201910618640 A CN201910618640 A CN 201910618640A CN 110336881 B CN110336881 B CN 110336881B
- Authority
- CN
- China
- Prior art keywords
- time
- service processing
- time window
- processing request
- window
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The application discloses a method and a device for executing a service processing request, and belongs to the technical field of computers. The method comprises the following steps: receiving a service processing request of a target account, wherein the service processing request carries identification of the target account and service activity; acquiring a pre-recorded reference time window and a first number of executed service processing requests with request time in the reference time window, wherein the reference time window is a time window to which the receiving time of the executed service processing request executed last time belongs; determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window; and determining a second number of executed service processing requests of the request time in the time window based on the first number, the reference time window and the time window, and executing the currently received service processing requests if the second number does not reach a preset threshold value. By the method and the device, the technical problem that the response speed of the server is influenced in the related technology can be solved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for executing a service processing request.
Background
In daily life, people often operate on terminals and send service processing requests to servers. For example, after people see media data such as favorite videos, novels and cartoons on the terminal, the terminal can operate to send a request for handling the approval service to the server.
In the related art, after receiving a service processing request of a user, a server immediately executes the service processing request of the user, for example, executes a praise service processing request, and increases praise times.
In the course of implementing the present application, the inventors found that the related art has at least the following problems:
some users perform a lot of operations on the terminal for fun or other purposes, and send a lot of service processing requests to the server in a short time, at this time, the server will sequentially execute the received service processing requests of the users, and in this process, a lot of processing resources of the server are wasted, thereby affecting the response speed of the server.
Disclosure of Invention
In order to solve technical problems in the related art, embodiments of the present application provide a method and an apparatus for executing a service processing request. The technical scheme of the method and the device for executing the service processing request is as follows:
in a first aspect, a method for executing a service processing request is provided, where the method includes:
receiving a service processing request of a target account, wherein the service processing request carries an identifier of the target account and an identifier of a service activity;
acquiring a pre-recorded reference time window and a first number of executed service processing requests with request time within the reference time window based on the identification of the target account and the identification of the service activity, wherein the reference time window is a time window to which the receiving time of the executed service processing request executed last time belongs;
determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window;
and determining a second number of executed service processing requests of request time in the time window based on the first number, the reference time window and the time window, and executing the currently received service processing request if the second number does not reach a preset threshold, wherein the executed service processing request and the currently received service processing request carry the same target account identifier and the same service activity identifier.
Optionally, the determining, based on the reference time window, a time window corresponding to a receiving time of the currently received service processing request includes:
and if the receiving time of the currently received service processing request is in a pre-recorded reference time window, determining that the reference time window is a time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining, based on the reference time window, a time window corresponding to a receiving time of the currently received service processing request includes:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request;
and determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
Optionally, the determining, based on the first number, the reference time window, and the time window, a second number of executed service processing requests whose request time is within the time window, and if the second number does not reach a preset threshold, before executing the currently received service processing request, further includes:
if the pre-recorded reference time window does not exist, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request;
and recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
Optionally, the determining, based on the reference time window, a time window corresponding to a receiving time of the currently received service processing request includes:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, taking the receiving time of the currently received service processing request as the window starting time, and determining a time window based on the preset window duration as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining, based on the reference time window, a time window corresponding to a receiving time of the currently received service processing request includes:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, determining the time window which is the integral multiple of the preset window time and contains the receiving time of the currently received service processing request from the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining, based on the first number, the reference time window, and the time window, a second number of executed service processing requests whose request time is within the time window, and if the second number does not reach a preset threshold, executing a currently received service processing request includes:
if the reference time window and the time window are the same time window, determining that a second number of executed service processing requests of request time in the time window is the first number, and if the second number does not reach a preset threshold value, executing the currently received service processing requests and adding one to the first number;
if the reference time window and the time window are not the same time window, determining that the starting time of the request time in the time window and the number of executed service processing requests after the starting time are the second number, if the second number does not reach a preset threshold value, executing the currently received service processing request, updating the pre-recorded reference time window into the time window, and updating the first number into the second number plus one.
In a second aspect, an apparatus for performing a service processing request is provided, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a service processing request of a target account, and the service processing request carries an identifier of the target account and an identifier of a service activity;
an obtaining module, configured to obtain, based on the identifier of the target account and the identifier of the service activity, a pre-recorded reference time window and a first number of executed service processing requests whose request time is within the reference time window, where the reference time window is a time window to which a reception time of an executed service processing request executed last time belongs;
a determining module, configured to determine, based on the reference time window, a time window corresponding to a receiving time of a currently received service processing request;
and the execution module is used for determining a second number of executed service processing requests of request time in the time window based on the first number, the reference time window and the time window, and executing the currently received service processing request if the second number does not reach a preset threshold, wherein the executed service processing request and the currently received service processing request carry the same target account identifier and the same service activity identifier.
Optionally, the determining module is configured to:
and if the receiving time of the currently received service processing request is in a pre-recorded reference time window, determining that the reference time window is a time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining module is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request;
and determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
Optionally, the apparatus further includes a recording module, configured to:
if the pre-recorded reference time window does not exist, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request;
and recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
Optionally, the determining module is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, taking the receiving time of the currently received service processing request as the window starting time, and determining a time window based on the preset window duration as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining module is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, determining the time window which is the integral multiple of the preset window time and contains the receiving time of the currently received service processing request from the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the execution module is configured to:
if the reference time window and the time window are the same time window, determining that a second number of executed service processing requests of request time in the time window is the first number, and if the second number does not reach a preset threshold value, executing the currently received service processing requests and adding one to the first number;
if the reference time window and the time window are not the same time window, determining that the starting time of the request time in the time window and the number of executed service processing requests after the starting time are the second number, if the second number does not reach a preset threshold value, executing the currently received service processing request, updating the pre-recorded reference time window into the time window, and updating the first number into the second number plus one.
In a third aspect, a computer device is provided, the computer device comprising a processor and a memory, the memory having stored therein at least one instruction, the at least one instruction being loaded and executed by the processor to implement the method for executing a service processing request according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the method for executing a service processing request according to the first aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when the method for executing the service processing request provided by the embodiment of the application is applied, when the server receives a large number of service processing requests in a short time, in each time window, for the service processing requests carrying the same target account identifier and the same service activity identifier, the server only executes the service processing request of the initially received preset threshold, and for the service processing requests exceeding the preset threshold in each time window, the server does not execute any more. Therefore, waste of server processing resources is reduced, and further influence on the response speed of the server is reduced.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a method for executing a service processing request according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for executing a service processing request according to an embodiment of the present application;
fig. 3 is a block diagram of a terminal according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a method for executing a service processing request, which can be realized by computer equipment. The computer device may be a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, or the like, or a fixed terminal such as a desktop computer, or a server.
The method provided by the embodiment of the application can be applied to computer equipment and is used for controlling the frequency of participation of users in activities, wherein the activities can be praise activities, lottery activities, check-in activities, coupon activities and the like. By applying the method provided by the embodiment of the application, for the service processing requests carrying the same target account identifier and the same service activity identifier, the computer device only executes the service processing request with the preset threshold value in a time window, and for the service processing requests exceeding the preset threshold value, the computer device is not executed any more, so that the participation times of the users participating in the activities are controlled, the waste of processing resources of the computer device is reduced, and the influence on the response speed of the computer device is further reduced.
As shown in fig. 1, the processing flow of the method may include the following steps:
in step 101, a business process request for a target account is received.
The service processing request carries the identifier of the target account and the identifier of the service activity. The identification of the target account may be an ID (identification) of the target account, and the identification of the business activity may be an ID of the business activity. The service processing request may be a praise service processing request, an attendance service processing request, a lottery service processing request, a coupon service processing request, or the like.
In implementation, in daily life, people often participate in activities such as praise, lottery, check-in and coupon on the network, and these activities often need to limit the participation times of users, so the method for executing the service processing request provided by the embodiment of the present application may be adopted to limit the participation times of users. The participating user logs in the target account, then operates to send a corresponding approval service processing request, a lottery service processing request, a sign-in service processing request or a coupon service processing request to the server, and the server receives the service processing request sent by the target account, wherein each service processing request carries an account identifier and a service activity identifier corresponding to the service processing request. For example, the approval service processing request carries an account identifier and an approval service activity identifier, the lottery service processing request carries an account identifier and a lottery service activity identifier, the check-in service processing request carries an account identifier and a check-in service activity identifier, and the coupon service processing request carries an account identifier and a coupon service activity identifier, and then the processing of step 102 is performed.
In step 102, a pre-recorded reference time window and a first number of executed business process requests with request times within the reference time window are obtained based on the identification of the target account and the identification of the business activity.
Wherein the reference time window is a time window to which a reception time of the executed service processing request executed last time belongs. The executed service processing request and the currently received service processing request carry the same identifier of the target account and the same identifier of the service activity. The executed service processing request is an executed service processing request. The reference time window may be a sliding time window or a fixed time window.
The window start time of the sliding time window may be any time, for example, for the sliding time window of the last three days, the window start time changes with the passage of the current time, for example, when the current time is 3 months, 13 days, 0 minutes and 0 seconds, the window start time is 3 months, 10 days, 0 minutes and 0 seconds, when the current time is 3 months, 13 days, 1 hours, 0 minutes and 0 seconds, the window start time is 3 months, 10 days, 1 hours, 0 minutes and 0 seconds, and the window start time changes with the passage of the current time.
The window start time of the fixed time window may not be set arbitrarily, for example, 0 o 'clock to 24 o' clock of each day is a time window for which the window start time of the time window does not change within each day.
For the sliding time window, there may be a case that there is no pre-recorded reference time window, if there is no reference time window, it indicates that the target account has not participated in the business activity before, this time, the target account participates in the business activity for the first time; if so, the target account is said to have previously participated in the business activity.
For a fixed time window, when an activity starts, i.e. the time window in which the activity start time is recorded, is taken as a pre-recorded reference time window, therefore for the fixed time window there must be a pre-recorded reference time window. The reference time window may also be the time window in which the activity start time is located.
In implementation, the computer device obtains the identifier of the target account and the identifier of the business activity carried in the business processing request, and then determines the identifier of the counting object based on the identifier of the target account and the identifier of the business activity. Then, according to the determined counting object identifier, a pre-recorded reference time window corresponding to the counting object identifier and a first number of executed service processing requests of the request time in the reference time window are obtained. The counting object identification comprises identification of the target account and identification of the business activity, so that the identification of one target account can record the reference time window and the first number respectively in different business activities. Furthermore, confusion of the reference time window and the first number of recordings of different business activities is avoided.
The mode of recording the reference time window may be to record the start time and the window duration of the reference time window, or to record the end time and the window duration of the reference time window, or to record the start time and the end time of the reference time window.
As shown in table 1, there is provided a form of recording the reference time window and the first number, in table 1, the counting object identification contains information of identification of the target account and information of identification of the business activity, a denotes identification of the target account, B denotes identification of the business activity, the counter entry is recorded as the first number, and the reference time window is recorded by recording the window start time.
After the computer equipment acquires the identification A of the target account and the identification B of the business activity carried in the business processing request, determining a counting object identification A + B, and looking up a table 1 based on the counting object identification A + B to obtain a reference time window with the window starting time of 3 months, 12 days, 0 minute and 0 second and a first number 5.
Counting object identifiers | Counter with a memory | Window start time |
A+B | 5 | 3 months, 12 days, 0 hour, 0 minute and 0 second |
TABLE 1
Optionally, for the sliding time window, if there is no pre-recorded reference time window, the corresponding processing procedure may be as follows, if there is no pre-recorded reference time window, the receiving time of the currently received service processing request is taken as the window start time, and based on the preset window duration, the time window is determined as the time window corresponding to the receiving time of the currently received service processing request. And recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
Wherein the time window is of the sliding time window type.
In practice, if there is no pre-recorded time window, it is said that the transaction request for the target account is received for the first time. At this time, a time window is determined by taking the receiving time of the currently received service processing request as the window starting time and taking the preset window duration as the window duration, and the time window is the time window corresponding to the receiving time of the currently received service processing request. Optionally, the window start time of the time window corresponding to the receiving time of the currently received service processing request may be recorded as the window start time of the pre-recorded reference time window, and the window duration of the time window corresponding to the receiving time of the currently received service processing request may be recorded as the window duration of the pre-recorded reference time window. And, the first number is recorded to be 0.
For example, there is no pre-recorded reference time window, the preset window duration is 24 hours, and the receiving time of the currently received service processing request is 3 months, 12 days, 12 hours, 0 minutes and 0 seconds. Determining the receiving time (3 months, 12 days, 0 minutes and 0 seconds) of the currently received service processing request as the window starting time, and determining a time window by taking the preset window duration (24 hours) as the window duration, wherein the time window is the time window corresponding to the receiving time of the currently received service processing request, the window starting time of the time window is 3 months, 12 days, 12 hours, 0 minutes and 0 seconds, and the window ending time of the time window is 3 months, 13 days, 12 hours, 0 minutes and 0 seconds. Then, 3 months, 12 days, 12 hours, 0 minutes, 0 seconds may be recorded as the window start time of the pre-recorded reference time window, the window duration being 24 hours, the first number being recorded as 0.
In step 103, a time window corresponding to the receiving time of the currently received service processing request is determined based on the reference time window.
The time window corresponding to the receiving time of the currently received service processing request is the time window to which the receiving time of the currently received service processing request belongs. The time window may be a sliding time window or a fixed time window.
In an implementation, it should be determined whether the reception time of the currently received service processing request is within a pre-recorded reference time window. The specific determination method differs depending on the method of recording of the reference time window. For example, the reference time window may be recorded by recording a window start time and a window duration of the reference time window, and the reference time window may be recorded by recording a window end time and a window duration of the reference time window. Taking the window start time and the window duration of the reference time window as an example, a specific method for determining whether the receiving time of the currently received service processing request is within the pre-recorded reference time window may be as follows:
firstly, the window start time and the window duration of a reference time window which are recorded in advance are obtained, and then the window start time and the window duration are added to obtain the window end time of the reference time window. And finally, comparing the receiving time of the currently received service processing request with the window end time, and if the receiving time of the currently received service processing request is before the window end time, indicating that the receiving time of the currently received service processing request is still in the time range of the reference time window, and determining the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
If the receiving time of the currently received service processing request is after the window ending time, it indicates that the receiving time of the currently received service processing request is not within the time range of the reference time window, and a time window corresponding to the receiving time of the currently received service processing request needs to be calculated.
For example, the window start time of the obtained pre-recorded reference time window is 3 months, 12 days, 0 minutes and 0 seconds, the window duration is 24 hours, and the window end time is 3 months, 13 days, 0 minutes and 0 seconds, if the receiving time of the currently received service processing request is before 3 months, 13 days, 0 minutes and 0 seconds (such as 3 months, 12 days, 0 minutes and 0 seconds), it indicates that the receiving time of the currently received service processing request is still within the time range of the reference time window, and at this time, the reference time window is determined to be the time window corresponding to the receiving time of the currently received service processing request; if the receiving time of the currently received service processing request is after 0 min 0 s at day 0 at day 13/3 (for example, 0 min 1 s at day 0 at day 13/3), it indicates that the receiving time of the currently received service processing request is not within the time range of the reference time window, and a time window corresponding to the receiving time of the currently received service processing request needs to be calculated.
The specific method for calculating the time window corresponding to the receiving time of the currently received service processing request is different according to the types of the windows to which the time windows belong, and the specific calculation method is described in detail in the following embodiments.
Optionally, when the receiving time of the currently received service processing request is within the pre-recorded reference time window, the corresponding processing procedure of step 103 may be as follows: and if the receiving time of the currently received service processing request is in the pre-recorded reference time window, determining the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
Wherein the reference time window is a time window to which a reception time of the executed service processing request executed last time belongs.
Optionally, when the receiving time of the currently received service processing request is not within the pre-recorded reference time window, and the current time window belongs to the sliding time window type, the corresponding processing procedure in step 103 may also be as follows: and if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request. And determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
The preset window duration is equal to the window duration of a pre-recorded reference time window, and is also equal to a time window corresponding to the receiving time of the currently received service processing request.
In implementation, first, in a time range of a preset window duration before the receiving time of the currently received service processing request, the receiving times of all executed service processing requests are obtained. And then, determining the earliest receiving time in the receiving times of all the executed service processing requests, and determining a time window by taking the earliest receiving time as the window starting time and the preset window duration as the window duration, wherein the time window is the time window corresponding to the receiving time of the currently received service processing request.
For example, if the window start time of the pre-recorded time window is 3 months, 10 days, 12 hours, 0 minutes and 0 seconds, the preset window time length is 24 hours, and the reception time of the currently received service processing request is 3 months, 12 days, 0 minutes and 0 seconds, all the reception times for which the service processing request has been executed are acquired within the time range of 3 months, 11 days, 12 days, 0 minutes and 0 seconds to 3 months, 12 days, 12 hours, 0 minutes and 0 seconds, assuming that the reception times of the acquired service processing requests are 3 months, 11 days, 12 days, 0 minutes and 5 seconds, 3 months, 11 days, 12 days, 5 minutes and 0 seconds, 3 minutes and 12 days, 10 minutes and 0 seconds, 3 months, 11 days, 12 hours, 0 minutes and 5 seconds are the earliest reception time among the reception times of the service processing requests is determined, and the time window start time length is determined with the preset time length window (24 hours) as the window time length, the time window is a time window corresponding to the receiving time of the currently received service processing request, the window start time of the time window is 3 months, 11 days, 12 hours, 0 minutes and 5 seconds, and the window end time of the time window is 3 months, 12 days, 12 hours, 0 minutes and 5 seconds.
Optionally, when the receiving time of the currently received service processing request is not within the pre-recorded reference time window, and the current time window belongs to the sliding time window type, the corresponding processing procedure in step 103 may also be as follows: if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request.
In implementation, when the receiving time of the currently received service processing request is longer than the receiving time of the last executed service processing request by more than the preset window. At this time, a time window may be determined by using the receiving time of the currently received service processing request as the window start time and using the preset window duration as the window duration, and the time window is the time window corresponding to the receiving time of the currently received service processing request.
For example, the window start time of the pre-recorded time window is 3 months, 10 days, 12 hours, 0 minutes and 0 seconds, the preset window duration is 24 hours, the receiving time of the currently received service processing request is 3 months, 12 days, 12 hours, 0 minutes and 0 seconds, and no service processing request is executed in the time range from 3 months, 11 days, 12 hours, 0 minutes and 0 seconds to 3 months, 12 days, 12 hours, 0 minutes and 0 seconds. Determining the receiving time (3 months, 12 days, 0 minutes and 0 seconds) of the currently received service processing request as the window starting time, and determining a time window by taking the preset window duration (24 hours) as the window duration, wherein the time window is the time window corresponding to the receiving time of the currently received service processing request, the window starting time of the time window is 3 months, 12 days, 12 hours, 0 minutes and 0 seconds, and the window ending time of the time window is 3 months, 13 days, 12 hours, 0 minutes and 0 seconds.
Optionally, when the receiving time of the currently received service processing request is not within the pre-recorded reference time window, and the current time window belongs to the fixed time window type, the corresponding processing procedure of step 103 may be as follows: if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, determining the time window which is the integral multiple of the preset window time from the time of the reference time window and contains the receiving time of the currently received service processing request as the time window corresponding to the receiving time of the currently received service processing request.
In an implementation, for a fixed time window, when an activity starts, i.e. the time window in which the activity start time is recorded, is taken as a pre-recorded reference time window, therefore, for the fixed time window, there is certainly a pre-recorded reference time window, and therefore, it is not necessary to determine whether there is a pre-recorded reference time window.
If the receiving time of the currently received service processing request is not in the pre-recorded reference time window, firstly determining the window starting time and the window ending time of the reference time window, then adding the window starting time and the window duration, adding the window ending time and the window duration to obtain a next time window, then comparing the window ending time of the next time window with the receiving time of the currently received service processing request, and if the receiving time of the currently received service processing request is before the window ending time, determining the time window corresponding to the receiving time of the currently received service processing request as the time window. Otherwise, the above process is continued until the receiving time of the currently received service processing request is before the window ending time.
For example, the window start time of the pre-recorded time window is 3 months, 10 days, 12 hours, 0 minutes and 0 seconds, the preset window duration is 24 hours, and the receiving time of the currently received service processing request is 3 months, 13 days, 11 hours, 0 minutes and 0 seconds. Firstly, adding the window starting time of the pre-recorded time window and the preset window duration to obtain the window ending time of the pre-recorded time window, which is 3 months, 11 days, 12 hours, 0 minute and 0 second. Then compare 3 months, 11 days, 12 hours, 0 minutes and 0 seconds with 3 months, 13 days, 11 hours, 0 minutes and 0 seconds, since 3 months, 13 days, 11 hours, 0 minutes and 0 seconds are after 3 months, 11 days, 12 hours, 0 minutes and 0 seconds, the window end time 3 months, 11 days, 12 hours, 0 minutes and 0 seconds are added with the preset window time length, and the window end time 3 months, 12 days, 12 hours, 0 minutes and 0 seconds of the next time window are obtained. Then, comparing 0 minute 0 second at 12 days of 3 months, 12 days and 0 minute 0 second at 11 days of 3 months, 13 days, 11 hours, 0 minute 0 second at 3 months, 13 days and 0 minute 0 second at 3 months, 12 days, 12 hours, 0 second at 12 days of 3 months, 12 days and 0 second at 3 months and 13 days with the preset window duration, and obtaining the window end time of the next time window, 3 months, 13 days, 12 hours, 0 minute 0 second. Then, comparing 0 minute 0 second at 12 days of 3 months, 13 days and 0 minute 0 second at 11 days of 3 months, 13 days, 11 hours, 0 minute 0 second at 3 months, 13 days, 12 hours, 0 second before 3 months, 13 days, 12 hours, 0 second, the window ending time of the time window corresponding to the receiving time of the currently received service processing request is determined to be 0 minute 0 second at 12 hours of 3 months, 13 days, 12 hours, 0 second at 3 months, 12 days, 12 hours, 0 second.
In step 104, a second number of executed service processing requests with request time within the time window is determined based on the first number, the reference time window and the time window, and if the second number does not reach a preset threshold, the currently received service processing request is executed.
The executed service processing request and the currently received service processing request carry the same identification of the target account and the same identification of the service activity. The preset threshold value can be set according to actual conditions. For example, if the number of check-ins per day is limited to not more than three, the preset threshold is set to 3. As another example, if the number of praise per day is limited to not more than ten times, the preset threshold is set to 10.
In implementation, if the reference time window and the time window corresponding to the receiving time of the currently received service processing request are the same time window, which indicates that the receiving time of the currently received service processing request is still inside the reference time window, it is determined that the second number of executed service processing requests of the request time inside the time window is the first number, and if the second number does not reach the preset threshold, the currently received service processing request is executed, and the first number is increased by one.
If the reference time window and the time window corresponding to the receiving time of the currently received service processing request are not the same time window, which indicates that the receiving time of the currently received service processing request is not in the reference time window, determining that the number of executed service processing requests with the request time at the starting time of the time window and after the starting time is the second number, if the second number does not reach the preset threshold, executing the currently received service processing request, updating the pre-recorded reference time window to the time window, and updating the first number to the second number plus one.
The updating method for updating the pre-recorded reference time window to the time window corresponding to the receiving time of the currently received service processing request is different according to different recording methods of the reference time window, for example, if the recording method of the reference time window is the recording window start time and the window duration, the pre-recorded window start time window is updated to the start time of the time window corresponding to the receiving time of the currently received service processing request during updating.
In the method, the pre-recorded reference time window is a time window to which the receiving time of the executed service processing request executed last time belongs. Optionally, the pre-recorded reference time window may also be a time window to which the reception time of the last service processing request belongs, and at this time, when the service processing request is received each time, whether the service request is subsequently executed or not, it needs to be determined whether the reception time of the service processing request received this time is within the time range of the pre-recorded reference time window, and when the reception time exceeds the time range of the pre-recorded reference time window, the pre-recorded reference time window is updated to the time window to which the reception time of the currently received service processing request belongs. I.e. the reference time window, which is pre-recorded at this time, changes with the reception time of the received service processing request, regardless of whether the service processing request is executed or not. The first number is still the number of business process requests for which the requested time of the executed target account is within the reference time window.
By the method, the execution times in each time window can be limited, so that the participation frequency of the participating users is controlled, and the waste of computer equipment resources is reduced. For example, if the preset threshold is 3 and the number of executed service processing requests in the time window of the request time is 2, executing the currently received service processing request; for another example, if the preset threshold is 3, and the number of executed service processing requests in the time window of the request time is 3, the currently received service processing request is not executed.
When the method for executing the service processing request provided by the embodiment of the application is applied, when the server receives a large number of service processing requests in a short time, in each time window, for the service processing requests carrying the same target account identifier and the same service activity identifier, the server only executes the service processing request with the initially received preset threshold, and for the service processing requests exceeding the preset threshold in each time window, the server does not execute any more. Therefore, waste of server processing resources is reduced, and further influence on the response speed of the server is reduced.
Based on the same technical concept, an embodiment of the present application further provides a device for executing a service processing request, where the device may be a terminal in the foregoing embodiment, and as shown in fig. 2, the device includes:
a receiving module 201, configured to receive a service processing request of a target account, where the service processing request carries an identifier of the target account and an identifier of a service activity;
an obtaining module 202, configured to obtain, based on the identifier of the target account and the identifier of the service activity, a reference time window that is pre-recorded, and a first number of executed service processing requests whose request time is within the reference time window, where the reference time window is a time window to which a receiving time of an executed service processing request executed last time by the target account belongs;
a determining module 203, configured to determine, based on the reference time window, a time window corresponding to a receiving time of the currently received service processing request;
the executing module 204 is configured to determine, based on the first number, the reference time window, and the time window, a second number of executed service processing requests for which the request time is within the time window, and execute the currently received service processing request if the second number does not reach a preset threshold, where the executed service processing request and the currently received service processing request carry the same identifier of the target account and the same identifier of the service activity.
Optionally, the determining module 203 is configured to:
and if the receiving time of the currently received service processing request is in the pre-recorded reference time window, determining the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining module 203 is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request;
and determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
Optionally, the apparatus further comprises a recording module, configured to:
if the pre-recorded reference time window does not exist, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request;
and recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
Optionally, the determining module 203 is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the determining module 203 is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, determining the time window which is the integral multiple of the preset window time from the time of the reference time window and contains the receiving time of the currently received service processing request as the time window corresponding to the receiving time of the currently received service processing request.
Optionally, the executing module 204 is configured to:
if the reference time window and the time window are the same time window, determining that a second number of executed service processing requests of the request time in the time window is a first number, and if the second number does not reach a preset threshold value, executing the currently received service processing requests and adding one to the first number;
if the reference time window and the time window are not the same time window, determining that the starting time of the request time in the time window and the number of executed service processing requests after the starting time are the second number, if the second number does not reach a preset threshold value, executing the currently received service processing requests, updating the pre-recorded reference time window into the time window, and updating the first number into the second number plus one.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the device for executing a service processing request according to the foregoing embodiment, when executing a service processing request, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus for executing a service processing request and the method embodiment for executing a service processing request provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
Fig. 3 is a block diagram of a terminal according to an embodiment of the present disclosure. The terminal 300 may be a portable mobile terminal such as: smart phones, tablet computers. The terminal 300 may also be referred to by other names such as user equipment, portable terminal, etc.
Generally, the terminal 300 includes: a processor 301 and a memory 302.
The processor 301 may include one or more processing cores, such as a 4-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 301 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 300 may further include: a peripheral interface 303 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, display screen 305, camera assembly 306, audio circuitry 307, positioning assembly 308, and power supply 309.
The peripheral interface 303 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and peripheral interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the peripheral interface 303 may be implemented on a separate chip or circuit board, which is not limited by the embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. The display screen 305 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 305 may be one, providing the front panel of the terminal 300; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the terminal 300 or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 300. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 306 is used to capture images or video. Optionally, camera assembly 306 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The positioning component 308 is used to locate the current geographic Location of the terminal 300 to implement navigation or LBS (Location Based Service). The Positioning component 308 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 309 is used to supply power to the various components in the terminal 300. The power source 309 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 309 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 300 also includes one or more sensors 310. The one or more sensors 310 include, but are not limited to: acceleration sensor 311, gyro sensor 312, pressure sensor 313, fingerprint sensor 314, optical sensor 315, and proximity sensor 316.
The acceleration sensor 311 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 300. For example, the acceleration sensor 311 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 301 may control the display screen 305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 311. The acceleration sensor 311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 312 may detect a body direction and a rotation angle of the terminal 300, and the gyro sensor 312 may cooperate with the acceleration sensor 311 to acquire a 3D motion of the user on the terminal 300. The processor 301 may implement the following functions according to the data collected by the gyro sensor 312: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 313 may be disposed on a side bezel of the terminal 300 and/or on a lower layer of the display screen 305. When the pressure sensor 313 is disposed at the side frame of the terminal 300, a user's grip signal of the terminal 300 can be detected, and left-right hand recognition or shortcut operation can be performed according to the grip signal. When the pressure sensor 313 is disposed at the lower layer of the display screen 305, the operability control on the UI interface can be controlled according to the pressure operation of the user on the display screen 305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 314 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, processor 301 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 314 may be disposed on the front, back, or side of the terminal 300. When a physical button or a vendor Logo is provided on the terminal 300, the fingerprint sensor 314 may be integrated with the physical button or the vendor Logo.
The optical sensor 315 is used to collect the ambient light intensity. In one embodiment, the processor 301 may control the display brightness of the display screen 305 based on the ambient light intensity collected by the optical sensor 315. Specifically, when the ambient light intensity is high, the display brightness of the display screen 305 is increased; when the ambient light intensity is low, the display brightness of the display screen 305 is reduced. In another embodiment, the processor 301 may also dynamically adjust the shooting parameters of the camera head assembly 306 according to the ambient light intensity collected by the optical sensor 315.
A proximity sensor 316, also known as a distance sensor, is typically provided on the front face of the terminal 300. The proximity sensor 316 is used to collect the distance between the user and the front surface of the terminal 300. In one embodiment, when the proximity sensor 316 detects that the distance between the user and the front surface of the terminal 300 gradually decreases, the processor 301 controls the display screen 305 to switch from the bright screen state to the dark screen state; when the proximity sensor 316 detects that the distance between the user and the front surface of the terminal 300 is gradually increased, the display screen 305 is controlled by the processor 301 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is not intended to be limiting of terminal 300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 4 is a schematic structural diagram of a server 400 according to an embodiment of the present invention, where the server 400 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 401 and one or more memories 402, where the memory 402 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 401 to implement the method for executing a service processing request.
In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the method for executing a service processing request in the foregoing embodiments. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (11)
1. A method of performing a service processing request, the method comprising:
receiving a service processing request of a target account, wherein the service processing request carries an identifier of the target account and an identifier of a service activity;
acquiring a pre-recorded reference time window and a first number of executed service processing requests with request time within the reference time window based on the identification of the target account and the identification of the service activity, wherein the reference time window is a time window to which the receiving time of the executed service processing request executed last time belongs;
determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window;
if the reference time window and the time window are the same time window, determining that a second number of executed service processing requests of request time in the time window is the first number, and if the second number does not reach a preset threshold value, executing the currently received service processing requests and adding one to the first number;
if the reference time window and the time window are not the same time window, determining that the starting time of the request time in the time window and the number of executed service processing requests after the starting time are a second number, if the second number does not reach a preset threshold value, executing the currently received service processing request, updating the pre-recorded reference time window into the time window, and updating the first number into the second number plus one;
the executed service processing request and the currently received service processing request carry the same identification of a target account and the same identification of service activity, and the types of the reference time window and the time window are a sliding time window or a fixed time window;
the determining, based on the reference time window, a time window corresponding to a reception time of the currently received service processing request includes:
and if the receiving time of the currently received service processing request is in a pre-recorded reference time window, determining that the reference time window is a time window corresponding to the receiving time of the currently received service processing request.
2. The method of claim 1, wherein the determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window comprises:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request;
and determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
3. The method of claim 1, wherein the determining a second number of executed traffic processing requests with request times within the time window based on the first number, the reference time window, and the time window, and if the second number does not reach a preset threshold, before executing the currently received traffic processing request, further comprises:
if the pre-recorded reference time window does not exist, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request;
and recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
4. The method of claim 1, wherein the determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window comprises:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, taking the receiving time of the currently received service processing request as the window starting time, and determining a time window based on the preset window duration as the time window corresponding to the receiving time of the currently received service processing request.
5. The method of claim 1, wherein the determining a time window corresponding to the receiving time of the currently received service processing request based on the reference time window comprises:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, determining the time window which is the integral multiple of the preset window time and contains the receiving time of the currently received service processing request from the reference time window as the time window corresponding to the receiving time of the currently received service processing request.
6. An apparatus for performing a service processing request, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a service processing request of a target account, and the service processing request carries an identifier of the target account and an identifier of a service activity;
an obtaining module, configured to obtain, based on the identifier of the target account and the identifier of the service activity, a pre-recorded reference time window and a first number of executed service processing requests whose request time is within the reference time window, where the reference time window is a time window to which a reception time of an executed service processing request executed last time belongs;
a determining module, configured to determine, based on the reference time window, a time window corresponding to a receiving time of a currently received service processing request;
an execution module, configured to determine that a second number of executed service processing requests of request time within the time window is the first number if the reference time window and the time window are the same time window, execute a currently received service processing request if the second number does not reach a preset threshold, and add one to the first number;
if the reference time window and the time window are not the same time window, determining that the starting time of the request time in the time window and the number of executed service processing requests after the starting time are the second number, if the second number does not reach a preset threshold value, executing the currently received service processing request, updating the pre-recorded reference time window into the time window, and updating the first number into the second number plus one;
the executed service processing request and the currently received service processing request carry the same identification of a target account and the same identification of service activity, and the types of the reference time window and the time window are a sliding time window or a fixed time window;
the determining module is configured to:
and if the receiving time of the currently received service processing request is in a pre-recorded reference time window, determining that the reference time window is a time window corresponding to the receiving time of the currently received service processing request.
7. The apparatus of claim 6, wherein the determining module is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window, acquiring the receiving time of all executed service processing requests in the time range of the preset window duration before the receiving time of the currently received service processing request;
and determining a time window as a time window corresponding to the receiving time of the currently received service processing request by taking the earliest receiving time in the receiving times of all the executed service processing requests as the window starting time and based on the preset window duration.
8. The apparatus of claim 6, further comprising a logging module to:
if the pre-recorded reference time window does not exist, the receiving time of the currently received service processing request is taken as the window starting time, and the time window is determined based on the preset window duration and taken as the time window corresponding to the receiving time of the currently received service processing request;
and recording a time window corresponding to the receiving time of the currently received service processing request as a pre-recorded reference time window.
9. The apparatus of claim 6, wherein the determining module is configured to:
if the receiving time of the currently received service processing request is not in the pre-recorded reference time window and no executed service processing request exists in the time range of the preset window duration before the receiving time of the currently received service processing request, taking the receiving time of the currently received service processing request as the window starting time, and determining a time window based on the preset window duration as the time window corresponding to the receiving time of the currently received service processing request.
10. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement a method of performing business process requests according to any of claims 1-5.
11. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor, to implement the method of performing service processing requests according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910618640.1A CN110336881B (en) | 2019-07-10 | 2019-07-10 | Method and device for executing service processing request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910618640.1A CN110336881B (en) | 2019-07-10 | 2019-07-10 | Method and device for executing service processing request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110336881A CN110336881A (en) | 2019-10-15 |
CN110336881B true CN110336881B (en) | 2020-11-20 |
Family
ID=68145596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910618640.1A Active CN110336881B (en) | 2019-07-10 | 2019-07-10 | Method and device for executing service processing request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336881B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110719337A (en) * | 2019-10-23 | 2020-01-21 | 北京悠易网际科技发展有限公司 | Service system, service request processing method, device and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102456069A (en) * | 2011-08-03 | 2012-05-16 | 中国人民解放军国防科学技术大学 | Data stream increment aggregation statistics and query method and query system |
CN102769549A (en) * | 2011-05-05 | 2012-11-07 | 腾讯科技(深圳)有限公司 | Network security monitoring method and device |
CN106878282A (en) * | 2017-01-11 | 2017-06-20 | 北京百度网讯科技有限公司 | The method and apparatus of gateway attack protection |
CN106911589A (en) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment |
CN107920095A (en) * | 2016-10-08 | 2018-04-17 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus of sender and recipient's flow restriction under P2P environment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002044147A (en) * | 2000-07-31 | 2002-02-08 | Toshiba Corp | Data exchange system and its control method |
JP5146725B2 (en) * | 2007-09-19 | 2013-02-20 | 日本電気株式会社 | Communication apparatus and communication method |
JP2013191924A (en) * | 2012-03-12 | 2013-09-26 | Nippon Telegr & Teleph Corp <Ntt> | Data communication system and data communication method |
CN104239758B (en) * | 2013-06-13 | 2018-04-27 | 阿里巴巴集团控股有限公司 | A kind of man-machine recognition methods and corresponding man-machine identifying system |
-
2019
- 2019-07-10 CN CN201910618640.1A patent/CN110336881B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769549A (en) * | 2011-05-05 | 2012-11-07 | 腾讯科技(深圳)有限公司 | Network security monitoring method and device |
CN102456069A (en) * | 2011-08-03 | 2012-05-16 | 中国人民解放军国防科学技术大学 | Data stream increment aggregation statistics and query method and query system |
CN106911589A (en) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment |
CN107920095A (en) * | 2016-10-08 | 2018-04-17 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus of sender and recipient's flow restriction under P2P environment |
CN106878282A (en) * | 2017-01-11 | 2017-06-20 | 北京百度网讯科技有限公司 | The method and apparatus of gateway attack protection |
Also Published As
Publication number | Publication date |
---|---|
CN110336881A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110278464B (en) | Method and device for displaying list | |
CN110971930A (en) | Live virtual image broadcasting method, device, terminal and storage medium | |
CN111083516B (en) | Live broadcast processing method and device | |
CN111127509B (en) | Target tracking method, apparatus and computer readable storage medium | |
CN112965683A (en) | Volume adjusting method and device, electronic equipment and medium | |
CN111031170A (en) | Method, apparatus, electronic device and medium for selecting communication mode | |
CN111862972A (en) | Voice interaction service method, device, equipment and storage medium | |
CN110769120A (en) | Method, device, equipment and storage medium for message reminding | |
CN110890969B (en) | Method and device for mass-sending message, electronic equipment and storage medium | |
CN112269559A (en) | Volume adjustment method and device, electronic equipment and storage medium | |
CN109783176B (en) | Page switching method and device | |
CN113099378B (en) | Positioning method, device, equipment and storage medium | |
CN110933454B (en) | Method, device, equipment and storage medium for processing live broadcast budding gift | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN110336881B (en) | Method and device for executing service processing request | |
CN112015612B (en) | Method and device for acquiring stuck information | |
CN114143280A (en) | Session display method and device, electronic equipment and storage medium | |
CN113935678A (en) | Method, device, equipment and storage medium for determining multiple distribution terminals held by distributor | |
CN112132472A (en) | Resource management method and device, electronic equipment and computer readable storage medium | |
CN112990424A (en) | Method and device for training neural network model | |
CN112749583A (en) | Face image grouping method and device, computer equipment and storage medium | |
CN111158780A (en) | Method, device, electronic equipment and medium for storing application data | |
CN112260845A (en) | Method and device for accelerating data transmission | |
CN112135256A (en) | Method, device and equipment for determining movement track and readable storage medium | |
CN113220935B (en) | Video data storage and query method and device |
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 |