CN109492019B - Service request response method, device, computer equipment and storage medium - Google Patents

Service request response method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109492019B
CN109492019B CN201811205250.3A CN201811205250A CN109492019B CN 109492019 B CN109492019 B CN 109492019B CN 201811205250 A CN201811205250 A CN 201811205250A CN 109492019 B CN109492019 B CN 109492019B
Authority
CN
China
Prior art keywords
task
identifier
service node
sequence
cache
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
Application number
CN201811205250.3A
Other languages
Chinese (zh)
Other versions
CN109492019A (en
Inventor
冯胜林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811205250.3A priority Critical patent/CN109492019B/en
Publication of CN109492019A publication Critical patent/CN109492019A/en
Application granted granted Critical
Publication of CN109492019B publication Critical patent/CN109492019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application relates to a caching technology and provides a service request response method, a service request response device, computer equipment and a storage medium. The method comprises the following steps: receiving a service request sent by a terminal, wherein the service request carries a product identifier and a service node identifier; acquiring corresponding product identifiers and service node identifiers according to the service request; querying candidate service node identifiers corresponding to the product identifiers in a cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers; inquiring corresponding task identifiers in the cache according to the target service node identifiers; when the task identifier is queried in the cache, querying a corresponding sorting number in the cache according to the task identifier; sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers; and when the execution is finished, feeding back a task execution result to the terminal. The method can improve the response efficiency of the service request.

Description

Service request response method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a service request response method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, online business processes are increasing, for example, users can conduct online autonomous business with the aid of a terminal. Currently, in order to more effectively respond to a service request, each flow step of online handling of the service is configured as a plurality of tasks in a database.
However, if the server receives the service request, the task is queried from the database each time, which reduces the response efficiency of the service request, especially when there are more users who transact the service online, the task is frequently queried from the database, thereby further reducing the response efficiency of the service request, and the problem of low response efficiency of the service request exists.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a service request response method, apparatus, computer device, and storage medium that can improve service request response efficiency.
A service request response method, the method comprising:
receiving a service request sent by a terminal; the service request carries a product identifier and a service node identifier;
Querying candidate service node identifiers corresponding to the product identifiers in a cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers;
inquiring corresponding task identifiers in the cache according to the target service node identifiers;
when the task identifier is queried in the cache, querying a corresponding sorting number in the cache according to the task identifier;
sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers;
and when the execution is finished, feeding back a task execution result to the terminal.
In one embodiment, the sequentially executing the tasks corresponding to the task identifiers according to the sequence of the sequence numbers includes:
acquiring a sequence of sequencing numbers corresponding to a task sequence which is not currently executed;
selecting a sequence number with the maximum sequence number from the sequence of sequence numbers;
executing the task corresponding to the sequence number of the maximum sequence number and taking the task as the current executing task;
stopping executing the step of acquiring the sequence of the sorting numbers corresponding to the currently unexecuted task sequence when the currently executed task fails to execute;
feeding back a task execution result corresponding to the current execution task to the terminal;
And when the execution of the currently executed task is successful, returning to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and continuing to execute until the execution of the tasks in the currently unexecuted task sequence is completed.
In one embodiment, before the tasks corresponding to the task identifiers are sequentially executed according to the sequence of the sequence numbers, the method further includes:
when the task identifier is not queried in the cache, querying a data table corresponding to the product identifier in a database;
and inquiring a task identifier corresponding to the service node identifier and a sequence number corresponding to the task identifier in the data table.
In one embodiment, after the querying the data table for the task identifier corresponding to the service node identifier and the sorting number corresponding to the task identifier, the method further includes:
and when the task identifier and the sequence number are inquired in the data table, the product identifier, the service node identifier, the task identifier and the sequence number which are correspondingly inquired are correspondingly cached in the cache.
In one embodiment, the method further comprises:
Counting the cache time corresponding to the task identifier and the sequence number;
when the cache time reaches the preset cache update time, correspondingly inquiring a target task identifier and a target sequence number in the database according to the corresponding product identifier and service node identifier;
and correspondingly updating the task identifier and the sequence number in the cache corresponding to the product identifier and the service node identifier according to the target task identifier and the target sequence number.
In one embodiment, after receiving the service request sent by the terminal, the method further includes:
matching the product identifier with a preset product identifier list;
when the matching is successful, the product identifier and the service node identifier are sent to a cache server;
and receiving a task identifier fed back by the cache server corresponding to the product identifier and the service node identifier, and a sequence number corresponding to the task identifier.
In one embodiment, the sending the product identifier and the service node identifier to a cache server includes:
selecting a cache server from a plurality of candidate cache servers;
And sending the product identifier and the service node identifier to the selected cache server.
A service request response device, the device comprising:
the receiving module is used for receiving the service request sent by the terminal; the service request carries a product identifier and a service node identifier;
the query module is used for querying candidate service node identifiers corresponding to the product identifiers in the cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers;
the query module is further configured to query the cache for a corresponding task identifier according to the target service node identifier;
the query module is further configured to query a corresponding sorting number in the cache according to the task identifier when the task identifier is queried in the cache;
the task execution module is used for sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers;
and the feedback module is used for feeding back the task execution result to the terminal when the execution is finished.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the service request response method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the service request response method described above.
According to the service request response method, the service request response device, the computer equipment and the storage medium, corresponding product identifiers and service node identifiers are obtained according to the service request sent by the terminal, corresponding candidate service node identifiers are inquired in the cache according to the product identifiers, target service node identifiers matched with the service node identifiers are screened from the candidate service node identifiers, and then corresponding task identifiers are inquired in the cache according to the target service node identifiers. When the task identifier is queried in the cache, the corresponding sequencing number is queried in the cache according to the queried task identifier, and then the corresponding tasks are sequentially executed according to the queried sequence of the sequencing number, so that the response process to the service request is completed, and the corresponding response result is fed back to the terminal. In this way, in the response process of the service request, the corresponding task identification and the sequence number are automatically inquired from the cache, and the corresponding tasks are sequentially executed according to the sequence number, so that the inquiry efficiency of the task identification and the sequence number is improved, and the response efficiency of the service request is improved.
Drawings
FIG. 1 is an application scenario diagram of a service request response method in one embodiment;
FIG. 2 is a flow diagram of a method of responding to a service request in one embodiment;
FIG. 3 is a flow chart of a service request response method in another embodiment;
FIG. 4 is a block diagram of a service request response device in one embodiment;
FIG. 5 is a block diagram of a service request response device according to another embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The service request response method provided by the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 receives a service request carrying a product identifier and a service node identifier sent by a terminal, queries corresponding candidate service node identifiers in a cache according to the product identifier, screens target service node identifiers matched with the service node identifiers from the candidate service node identifiers, and queries corresponding task identifiers in the cache according to the target service node identifiers. When the task identifier is queried in the cache, the sequence number corresponding to the task identifier is queried in the cache, then the tasks corresponding to the corresponding task identifiers are sequentially executed according to the sequence of the sequence number, and when the task execution which is sequentially executed is completed, the corresponding task execution result is fed back to the terminal 102. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a service request response method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
s202, receiving a service request sent by a terminal; the service request carries a product identifier and a service node identifier.
The service request is a request for indicating the server to trigger and execute a service handling sub-process corresponding to a designated service node under a designated product. The service request may carry a product identifier and a service node identifier. In this embodiment, the service may be a loan service, and the service flow may be a loan service transaction flow, that is, a loan flow.
The product identification is used to uniquely identify the product. The product identifier may be a character string composed of at least one of characters such as kanji, numerals, letters, symbols, etc., and may be a name of a product, for example. The product corresponds to the currently transacted business, and the product can be a lending product, and the product identifier can be a lending product identifier. The service node identification is used to uniquely identify the service node. The product identifier may be a character string composed of at least one of Chinese characters, numbers, letters, symbols, and the like. The service node is a functional node corresponding to a service sub-process included in the service sub-process corresponding to the product. The business processes corresponding to one product may include a plurality of business processes, and the business processes corresponding to different products may include different business processes. In other words, one product may correspond to multiple service nodes, and different products may correspond to different service nodes.
For example, the product may specifically correspond to a plurality of service nodes such as an application authentication service node, a binding card service node, an add contact service node, a face recognition service node, an internal audit service node, and a subscription service node.
Specifically, the terminal detects a specified triggering operation of a user, acquires a corresponding product identifier and a service node identifier according to the detected specified triggering operation when the specified triggering operation is detected, generates a corresponding service request according to the acquired product identifier and service node identifier, and sends the generated service request to the server through a specified webpage or a specified client. The server analyzes the received service request to obtain the corresponding product identifier and service node identifier. The specified trigger operation is, for example, a trigger operation of a user on a specified trigger control, or a click, sliding or long press operation of the user on a specified interface.
In one embodiment, the terminal generates a corresponding service request according to the detected specified trigger operation, and sends the generated service request to the server in a wired or wireless manner. And the server acquires the corresponding product identifier and service node identifier from the terminal according to the received service request. The server can actively acquire the corresponding product identifier and service node identifier from the terminal according to the received service request. The server can also generate a corresponding identifier acquisition request according to the received service request, send the generated identifier acquisition request to the terminal, and receive the product identifier and the service node identifier fed back by the terminal corresponding to the identifier acquisition request.
In one embodiment, the server queries and invokes a corresponding service handling program according to the received service request to obtain a corresponding product identifier and a service node identifier.
In one embodiment, the server correspondingly determines which product the terminal currently requests to handle, and in particular, which service node under the product triggers the service handling sub-process according to the product identifier and the service node identifier corresponding to the service request.
S204, searching candidate service node identifiers corresponding to the product identifiers in the cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers.
S206, inquiring the corresponding task identification in the cache according to the target service node identification.
The candidate service node identifiers are service node identifiers which are cached corresponding to the product identifiers and possibly matched with the service node identifiers carried in the service request. A cache is a storage space for temporarily storing data. The task identification is used to uniquely identify the task. The task identity may specifically be a character string consisting of at least one of numbers, letters, symbols, etc. The tasks correspond to business process steps in the business transaction sub-process. Each product identifier may correspond to a plurality of service node identifiers, and each service node identifier may correspond to a plurality of task identifiers. In other words, each business process may correspond to a plurality of business sub-processes, each business sub-process may correspond to a plurality of business process steps, each business process step may be packaged into a corresponding task, and a corresponding task identification is generated. The business process steps may be implemented by performing corresponding tasks.
Specifically, the server queries task identifiers corresponding to the product identifier and the service node identifier in the cache according to the product identifier and the service node identifier carried in the service request. The server queries corresponding candidate service node identifiers in the cache according to the product identifiers carried in the service request, and the target service node identifiers matched with the service node identifiers are screened in the queried candidate service node identifiers. And when the target service node identification matched with the service node identification is screened, inquiring the corresponding task identification in the cache according to the screened target service node identification.
S208, when the task identification is queried in the cache, querying a corresponding sorting number in the cache according to the task identification.
The ordering number refers to ordering numbers of the corresponding task identifications in a plurality of task identifications corresponding to the same service node identification. And for a plurality of task identifiers corresponding to the same service node identifier, sequencing the task identifiers according to the execution sequence of the service flow steps corresponding to each task identifier, and determining the corresponding sequence number. The sequence number may be used to characterize the order in which the tasks corresponding to the same service node identifier are performed. In this embodiment, in the plurality of task identifiers corresponding to the same service node identifier, the sequence numbers corresponding to any two adjacent task identifiers may be two values that are not adjacent to each other, so that when a new service flow step needs to be added between any two adjacent service flow steps corresponding to the service node identifier, the task identifier corresponding to the service node identifier and corresponding to the new service flow step may be directly configured in the database, and the sequence number corresponding to the newly configured task identifier may be configured.
The same service node identity may correspond to a plurality of product identities and the same task identity may correspond to a plurality of service node identities. In other words, different products may correspond to the same business process, and different business processes may correspond to the same business process steps. The service node identifiers corresponding to the same service handling sub-process under different products can be the same or different, and the task identifiers corresponding to the same service process step can be the same or different in sequence numbers corresponding to different service node identifiers.
For example, product identifier S corresponds to service node identifiers X, Y and Z, service node identifier X corresponds to task identifiers A, B and C, service node identifier Y corresponds to task identifiers D, B and E, and service node identifier Z corresponds to task identifiers F, G and B. According to the execution sequence of the corresponding business process steps of each business node identifier and the number of the business process steps, each task identifier ranking number corresponding to each business node identifier can be determined. For example, the sorting numbers corresponding to the task identifiers A, B and C corresponding to the service node identifier X are 85, 60 and 32 respectively; the sorting numbers corresponding to the task identifiers D, B and E corresponding to the service node identifier Y are respectively 80, 42 and 20; the task identifiers F, G and B corresponding to the service node identifier Z have respective ranking numbers 90, 86 and 60.
Specifically, when the task identifier corresponding to the product identifier and the service node identifier is queried in the cache, the fact that the task identifier corresponding to the product identifier and the service node identifier is pre-cached in the cache is indicated, and the server queries a sequence number corresponding to the task identifier in the cache according to the queried task identifier. And the server correspondingly inquires the corresponding relation between the task identification and the sequencing number in the cache according to the inquired task identification, and determines the sequencing number corresponding to the task identification according to the inquired corresponding relation.
In one embodiment, the server queries a corresponding plurality of task identifiers in the cache according to the obtained product identifiers and service node identifiers, and a sequence number corresponding to each task identifier.
In one embodiment, when the server determines that the current service corresponding to the service node under which product is to be executed in the above manner, the server queries the corresponding task identifier according to the product identifier and the service node identifier, so as to implement the determined service sub-process by executing the task corresponding to the task identifier.
S210, sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers.
Specifically, the server sequentially queries the tasks corresponding to the task identifications corresponding to the corresponding sequence numbers according to the sequence of each queried sequence number, and correspondingly executes the queried tasks. And in the process of sequentially inquiring and executing the tasks corresponding to the corresponding task identifiers according to the sequence of the sequence numbers, when the task execution result corresponding to the currently executed task meets the preset execution condition, the server continues to execute the inquiry and execute the relevant steps of the task corresponding to the corresponding task identifier according to the sequence of the sequence numbers until the task corresponding to the task identifier corresponding to the service node identifier is executed, and the completion of the execution of the tasks aiming at the service request is indicated. The preset execution condition may specifically be that the currently executed task is executed successfully, that is, when the currently executed task is executed successfully, the server continues to execute the query according to the sequence of the sequence numbers and executes the relevant steps of the task corresponding to the corresponding task identifier. The sequence of the sequence numbers may be specifically determined according to the size of the sequence numbers.
For example, assuming that task identifications A, B and C and respective ordering numbers 80, 60, and 50 of the three task identifications are queried in the cache according to the product identification and the service node identification, tasks corresponding to the task identifications A, B and C are sequentially executed in order of the ordering numbers.
In one embodiment, in the process of sequentially executing the tasks corresponding to the corresponding task identifiers according to the sequence of the sequence numbers, the server selects the largest sequence number from the sequence numbers of the tasks which are not executed currently, and executes the task corresponding to the task identifier corresponding to the largest sequence number. And when the execution of the currently executed task is successful, returning to the step of selecting the largest sorting number from the sorting numbers of the currently unexecuted corresponding tasks, and continuing to execute until the execution of the tasks corresponding to the inquired sorting numbers is completed.
In one embodiment, different products may correspond to different service nodes, and the same service node may correspond to different tasks under different products. In other words, the business processes corresponding to the same business node under different products may be different, and the corresponding business processes are implemented by executing the preset tasks according to the predefined sequence.
And S212, feeding back a task execution result to the terminal when the execution is finished.
The task execution result refers to an execution result correspondingly generated when the task execution is completed. The task execution result may specifically be a result for characterizing the success or failure of task execution. In this embodiment, the task execution result may specifically be an execution result corresponding to the service node identifier, which is correspondingly generated when the plurality of tasks corresponding to the service node identifier are all executed.
Specifically, when tasks sequentially executed according to the sequence of sequence numbers are all executed, the fact that the tasks corresponding to the task identifiers corresponding to the corresponding service node identifiers are all executed is indicated, the server determines task execution results corresponding to the corresponding service node identifiers according to task execution results corresponding to the task identifiers, and feeds the determined task execution results corresponding to the service node identifiers back to the terminal so as to display the task execution results to the corresponding users through the terminal. Further, when the server feeds back the task execution result corresponding to the service node identifier to the terminal, the service handling information related to the service node identifier can be correspondingly fed back to the terminal for display.
In one embodiment, in the process of sequentially executing the tasks corresponding to the corresponding task identifiers according to the sequence of the sequence numbers, when the task execution of the last executed task according to the sequence of the sequence numbers is completed, the server correspondingly determines the task execution result corresponding to the corresponding service node identifier according to the task execution result corresponding to the last executed task, and feeds back the determined task execution result to the terminal. In one embodiment, the server feeds back the task execution result corresponding to the service node identifier and the task execution result corresponding to each task to the terminal, which are correspondingly determined according to the task execution result corresponding to the last executed task.
In one embodiment, when all tasks executed in sequence are completed and the task execution result corresponding to each task meets a preset execution condition, for example, when the task execution result is true, the server triggers generation of prompt information corresponding to the service node identifier and representing that the task execution is successful, and feeds back the generated prompt information to the terminal.
According to the service request response method, corresponding product identifiers and service node identifiers are obtained according to service requests sent by the terminal, corresponding candidate service node identifiers are queried in the cache according to the product identifiers, target service node identifiers matched with the service node identifiers are screened from the candidate service node identifiers, and corresponding task identifiers are queried in the cache according to the target service node identifiers. When the task identifier is queried in the cache, the corresponding sequencing number is queried in the cache according to the queried task identifier, and then the corresponding tasks are sequentially executed according to the queried sequence of the sequencing number, so that the response process to the service request is completed, and the corresponding response result is fed back to the terminal. In this way, in the response process of the service request, the corresponding task identification and the sequence number are automatically inquired from the cache, and the corresponding tasks are sequentially executed according to the sequence number, so that the inquiry efficiency of the task identification and the sequence number is improved, and the response efficiency of the service request is improved.
In one embodiment, step S210 includes: acquiring a sequence of sequencing numbers corresponding to a task sequence which is not currently executed; selecting a sequence number with the maximum sequence number from the sequence of sequence numbers; the method comprises the steps of carrying out a first treatment on the surface of the Executing the task corresponding to the sequence number with the maximum sequence number and taking the task as the current executing task; stopping executing the step of acquiring the sequence of the task which is not currently executed when the execution of the task which is currently executed fails; feeding back a task execution result corresponding to the current execution task to the terminal; and when the execution of the currently executed task is successful, returning to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and continuing to execute until the tasks in the currently unexecuted task sequence are all executed.
The task sequence is a task set formed by a plurality of tasks according to a preset arrangement sequence. The task sequence may specifically be a task set composed of a plurality of tasks that are not currently executed according to a preset arrangement sequence. The preset arrangement sequence is used for ordering the corresponding tasks according to the sequence of the sequence numbers. The sequence of the sequence numbers is a sequence number set formed by arranging a plurality of sequence numbers according to the size sequence of each sequence number. The sequence number maximum refers to the maximum of the ranking number. The sequence number of the maximum sequence number is the sequence number corresponding to the maximum sequence number in the sequence of sequence numbers.
Specifically, the server acquires a sequence of sequence numbers corresponding to the task sequence which is not currently executed, and selects a sequence number with the maximum sequence number from all sequence numbers in the sequence number sequence. And the server executes the task corresponding to the sequence number of the maximum sequence number, and takes the task corresponding to the sequence number of the maximum sequence number as the current execution task. When the execution of the currently executed task fails, the server stops executing the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and feeds back the task execution result corresponding to the currently executed task to the terminal. When the execution of the currently executed task is successful, the server returns to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence to continue the execution until the execution of the tasks in the currently unexecuted task sequence is completed.
For example, assuming the currently unexecuted task sequences are A, B and C, the corresponding order number sequences are 60, 52 and 38, the maximum number in the order number sequence is 60. The server selects the serial number 60 of the maximum serial number from the serial number sequence, and executes the task A corresponding to the serial number 60.
In one embodiment, before acquiring the sequence of the order numbers corresponding to the task sequence that is not currently executed, the server acquires the task sequence that is not currently executed, and acquires the corresponding sequence of the order numbers according to the task sequence that is not currently executed. When the current task is successfully executed, the server returns to the step of acquiring the task sequence which is not executed currently to continue execution until the task corresponding to the task identification inquired according to the product identification and the service node identification is completed.
In one embodiment, in the process of sequentially executing the tasks corresponding to the corresponding task identifiers according to the sequence of the sequence numbers, the server selects the largest sequence number from the sequence numbers of the tasks which are not executed currently, and executes the task corresponding to the largest sequence number. When the currently executed task corresponding to the maximum sorting number fails to execute, the server stops continuously executing the steps of selecting the maximum sorting number from the sorting numbers of the currently unexecuted corresponding tasks, executing the task corresponding to the maximum sorting number, and feeding back the task execution result corresponding to the currently executed task failing to the terminal. Further, when the task corresponding to the maximum sorting number is successfully executed, the server continues to execute the steps of selecting the maximum sorting number from the sorting numbers of the tasks which are not executed currently, and executing the task corresponding to the maximum sorting number until the task which is executed currently fails to execute, or stopping the iterative process when the task corresponding to each queried task identifier is executed completely.
In one embodiment, in the process of sequentially executing the tasks corresponding to the corresponding task identifiers according to the sequence of the sequence numbers, when the execution of the currently executed task is completed, the server acquires the task execution result corresponding to the currently executed task, matches the acquired task execution result with the preset execution result corresponding to the currently executed task, and when the matching fails, indicates that the execution of the currently executed task fails, and stops continuously executing the queried and currently unexecuted task according to the mode.
In one embodiment, in the process of sequentially executing the corresponding tasks according to the sequence of the sequence numbers, when the execution of the currently executed task is completed, the server acquires the task execution result corresponding to the currently executed task. When the acquired task execution result does not meet the preset execution condition, for example, when the task execution result is false, the server triggers generation of prompt information which corresponds to the service node identifier and indicates that the task execution is failed, and feeds back the generated prompt information to the terminal.
In the above embodiment, in the process of sequentially executing the tasks corresponding to the queried task identifiers according to the sequence of the sequence numbers, if the execution of the currently executed task fails, the task which is not executed currently is stopped to be executed continuously, and the corresponding task execution result is returned, so that the service request response efficiency is improved.
In one embodiment, before step S210, the service request response method further includes: when no task identifier is queried in the cache, querying a data table corresponding to the product identifier in a database; and inquiring the task identifier corresponding to the service node identifier and the sequence number corresponding to the task identifier in the data table.
Wherein the data table is an information table pre-constructed and pre-stored in the database. The data table may be preconfigured with service node identifiers, task identifiers, and sequence numbers corresponding to the task identifiers. The data table may also be preconfigured with a correspondence between service node identifiers and task identifiers.
Specifically, when the task identifier corresponding to the product identifier and the service node identifier is not queried in the cache, the server queries a corresponding data table in the database according to the product identifier, and queries the task identifier corresponding to the service node identifier and the sequence number corresponding to the task identifier in the queried data table according to the service node identifier. The server queries a data table corresponding to the product identifier in the pre-configured candidate data table. And the server respectively matches the product identifier with each candidate data table preconfigured in the database, and determines the candidate data table successfully matched as the data table corresponding to the product identifier. And the server inquires a task identifier corresponding to the service node identifier and a sequence number corresponding to the task identifier in the determined data table according to the service node identifier.
In one embodiment, there are a plurality of candidate data tables that match product identifications that are pre-configured in the database. And the server respectively matches the product identifier with the pre-configured candidate data tables, and when a plurality of candidate data tables are matched successfully, the plurality of candidate data tables are determined to be a plurality of data tables corresponding to the product identifier. And the server respectively matches the service node identifiers with the determined data tables, and determines the data table successfully matched as the data table corresponding to the service node identifiers.
In one embodiment, the server matches the product identifiers with the pre-configured candidate data tables respectively, matches the service node identifiers with the pre-configured candidate data tables in the database respectively, determines the candidate data tables successfully matched with the product identifiers and successfully matched with the service node identifiers as data tables corresponding to the product identifiers and the service node identifiers, and queries task identifiers corresponding to the product identifiers and the service node identifiers and sequence numbers corresponding to the task identifiers from the determined data tables.
In the above embodiment, when the task identifier corresponding to the task for responding to the service request is not queried in the cache, the task identifier is queried from the database, so as to ensure effective response of the service request.
In one embodiment, after querying the task identifier corresponding to the service node identifier and the sorting number corresponding to the task identifier in the data table, the service request response method further includes: when the task identification and the sequence number are queried in the data table, the product identification, the service node identification, the task identification and the sequence number which are correspondingly queried are correspondingly cached in the cache.
Specifically, when a data table corresponding to the product identifier and the service node identifier is queried in the database, and a preconfigured task identifier and a sequence number corresponding to the task identifier are queried in the data table, the server correspondingly caches the product identifier, the service node identifier, the task identifier which is queried correspondingly, and the sequence number corresponding to the task identifier in a cache.
In the above embodiment, the task identifier and the sorting number which are queried in the database are cached in the cache corresponding to the corresponding product identifier and the corresponding service node identifier, so that when the service request is received again, the task identifier is queried from the cache, and the corresponding task is executed, thereby improving the service request response efficiency.
In one embodiment, the service request response method further includes: counting the cache time corresponding to the task identification and the sequencing number; when the caching time reaches the preset caching updating time, correspondingly inquiring a target task identifier and a target sequence number in a database according to the corresponding product identifier and service node identifier; and according to the target task identifier and the target sequence number, correspondingly updating the task identifier and the sequence number of the cache corresponding to the product identifier and the service node identifier in the cache.
Wherein, the buffer time refers to the time length of data buffer in the buffer. The buffering time can be specifically the accumulated buffering time length from the time of buffering the task identifier and the corresponding sequence number. The preset cache update time is a preset time length threshold for comparison with the cache time. The preset cache update time is a basis for determining whether to update the data cached in the cache.
Specifically, the server calculates the cache time in an accumulated manner from the time of caching the product identifier, the service node identifier, the task identifier and the corresponding sequence number in the above manner, and compares the calculated cache time with a preset cache update time. When the caching time reaches the preset caching updating time, the server stores a target task identifier corresponding to the product identifier and the service node identifier and a target sequence number corresponding to the target task identifier in a database according to the corresponding product identifier and service node identifier. And the server correspondingly updates the task identifier and the sequence number which are cached in the cache and correspond to the corresponding product identifier and the service node identifier according to the inquired target task identifier and target sequence number.
In one embodiment, the server updates the cached task identifiers corresponding to the corresponding product identifiers and service node identifiers in the cache according to the target task identifiers, and updates the cached sequence numbers corresponding to the corresponding product identifiers and service node identifiers in the cache according to the target sequence numbers.
In one embodiment, the server counts the buffer time corresponding to the buffered task identifier and the corresponding sequence number in the buffer according to a preset period, and when the counted buffer time reaches the preset buffer time, the server deletes the corresponding task identifier and the sequence number in the buffer, and the product identifier and the service node identifier buffered corresponding to the task identifier. Further, the server queries corresponding task identifiers and sequence numbers corresponding to the task identifiers in the database according to the product identifiers and the service node identifiers which are deleted in the cache, and correspondingly caches the product identifiers and the service node identifiers, the queried task identifiers and the corresponding sequence numbers in the cache. And deleting the corresponding cached product identifier, service node identifier, task identifier and corresponding sequence number in the cache by the server according to the mode, and inquiring the corresponding task identifier and sequence number according to the mode and correspondingly caching the corresponding task identifier and the sequence number in the cache when receiving the service request again.
In the above embodiment, the cache update time is set, and when the cache time reaches the preset cache update time, the task identifier to be updated and the corresponding sequence number are correspondingly updated, so that the task identifier of which the data table is updated, added or deleted is correspondingly updated into the cache in time, thereby improving the response accuracy and efficiency of the service request.
In one embodiment, after step S204, the service request response method further includes: matching the product identifier with a preset product identifier list; when the matching is successful, the product identifier and the service node identifier are sent to a cache server; and receiving a task identifier fed back by the cache server aiming at the product identifier and the service node identifier, and a sequence number corresponding to the task identifier.
The preset product identification list is a preset list formed by a plurality of product identifications. The preset product identifier list may specifically be composed of product identifiers corresponding to products with service request frequencies higher than a preset frequency threshold. In other words, the preset product identifier list is composed of product identifiers whose corresponding service request number is higher than a preset number threshold. The cache server may be a server cluster composed of a plurality of servers. The cache servers can be multiple, each cache server can be cached with a data table corresponding to one or more product identifiers in a preset product identifier list, and the cached one or more data tables are preconfigured with service node identifiers corresponding to the corresponding product identifiers, task identifiers and sequence numbers corresponding to the task identifiers.
Specifically, when the server obtains the corresponding product identifier according to the service request, the obtained product identifier is respectively matched with each product identifier in the preset product identifier list. When the product identifier matched with the obtained product identifier exists in the preset product identifier list, the server judges that the obtained product identifier is successfully matched with the preset product identifier list, and sends the product identifier and the corresponding service node identifier to the cache server. The cache server locally inquires corresponding task identifiers and sequence numbers corresponding to the task identifiers according to the received product identifiers and service node identifiers, and correspondingly feeds the inquired task identifiers and corresponding sequence numbers back to the server so that the server can respond to corresponding service requests according to the received task identifiers and sequence numbers in the mode.
In one embodiment, the cache server locally queries a corresponding data table according to the received product identifier, and queries a task identifier corresponding to the service node identifier and a sequence number corresponding to the task identifier in the queried data table.
In one embodiment, when the product identifier is successfully matched with the preset product identifier list, the server forwards the corresponding service request to the cache server. In one embodiment, the server queries a corresponding cache server identifier according to the successfully matched product identifier, and sends the successfully matched product identifier to the cache server corresponding to the queried cache server identifier.
In the above embodiment, the task identifier corresponding to the product identifier with larger access amount and the corresponding sorting number are cached in the cache server, so that the corresponding task identifier is conveniently obtained from the corresponding cache server according to the received service request, the local cache pressure can be relieved, the problem of local cache avalanche caused by high concurrent service requests can be avoided, the effective response of the service requests is ensured, and the response efficiency is improved.
In one embodiment, sending the product identification and the service node identification to a cache server includes: selecting a cache server from a plurality of candidate cache servers; and sending the product identifier and the service node identifier to the selected cache server.
Specifically, task identifiers corresponding to the product identifiers and the service node identifiers and sequence numbers corresponding to the task identifiers are respectively preconfigured in the plurality of candidate cache servers. When the server obtains the product identification corresponding to the service request, a cache server is selected from a plurality of candidate cache servers according to the obtained product identification. And the server sends the obtained product identifier and the service node identifier to the selected cache server. The server may randomly select one cache server from a plurality of candidate cache servers. The server may also select a cache server from a plurality of candidate cache servers in a round robin fashion. The server may further select a cache server from the plurality of candidate cache servers based on the calculated remainder by taking a remainder from the hash value of the product identifier according to the total number of candidate cache servers.
In one embodiment, the server selects a cache server for querying and corresponding to the feedback task identifier and the corresponding sequence number from a plurality of candidate cache servers in a load balancing manner, and sends the product identifier and the service node identifier to the selected cache server. The server may specifically select a cache server from the plurality of candidate cache servers according to a current load of each candidate cache server.
In the above embodiment, the task identifiers and the corresponding sequence numbers for responding to the service requests are respectively preconfigured in the plurality of cache servers, so that the pressure of a single cache server can be cached under the condition of high concurrency of the service requests, the effective response of the service requests is ensured, and the response efficiency of the service requests is improved.
As shown in fig. 3, in one embodiment, a service request response method is provided, which specifically includes the following steps:
s302, receiving a service request sent by a terminal; the service request carries a product identifier and a service node identifier.
S304, matching the product identifier with a preset product identifier list.
And S306, when the matching is successful, selecting a cache server from the plurality of candidate cache servers.
And S308, transmitting the product identifier and the service node identifier to the selected cache server.
S310, receiving a task identifier fed back by the cache server corresponding to the product identifier and the service node identifier, and a sequence number corresponding to the task identifier.
S312, searching candidate service node identifiers corresponding to the product identifiers in the cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers.
S314, inquiring the corresponding task identification in the cache according to the target service node identification.
S316, when the task identification is queried in the cache, querying a corresponding sorting number in the cache according to the task identification.
S318, when the task identifier is not queried in the cache, querying a data table corresponding to the product identifier in the database.
S320, inquiring task identification corresponding to the service node identification and sequence number corresponding to the task identification in the data table.
S322, acquiring a sequence of sorting numbers corresponding to a task sequence which is not currently executed;
s324, selecting a sequence number with the maximum sequence number from the sequence of sequence numbers;
s326, executing the task corresponding to the sequence number of the maximum sequence number and serving as the current execution task.
And S328, stopping executing the step of acquiring the sequence of the sorting numbers corresponding to the currently unexecuted task sequence when the currently executed task fails to execute.
S330, feeding back a task execution result corresponding to the current execution task to the terminal.
And S332, when the execution of the currently executed task is successful, returning to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and continuing to execute until the execution of the tasks in the currently unexecuted task sequence is completed.
And S334, feeding back a task execution result to the terminal when the execution is finished.
In the above embodiment, various means for acquiring the task identifier and the corresponding sequence number are provided for the received service request, corresponding tasks are sequentially executed according to the queried sequence of the sequence number, and corresponding feedback flows are triggered according to the task execution results corresponding to the currently executed tasks, so that effective response of the service request is ensured, and response efficiency of the service request is improved.
It should be understood that, although the steps in the flowcharts of fig. 2-3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
In one embodiment, as shown in fig. 4, there is provided a service request response apparatus 400, including: a receiving module 402, a querying module 404, a task performing module 406, and a feedback module 408, wherein:
a receiving module 402, configured to receive a service request sent by a terminal; the service request carries a product identifier and a service node identifier.
A query module 404, configured to query the cache for candidate service node identifiers corresponding to the product identifiers, and screen target service node identifiers matched with the service node identifiers from the candidate service node identifiers;
the query module 404 is further configured to query the cache for a corresponding task identifier according to the target service node identifier;
the query module 404 is further configured to query the cache for a corresponding sorting number according to the task identifier when the task identifier is queried in the cache.
The task execution module 406 is configured to sequentially execute tasks corresponding to the task identifiers according to the sequence of the sequence numbers.
And the feedback module 408 is configured to feedback the task execution result to the terminal when the execution is completed.
In one embodiment, the task execution module 406 is further configured to obtain a sequence of sorting numbers corresponding to a task sequence that is not currently executed; selecting a sequence number with the maximum sequence number from the sequence of sequence numbers; the method comprises the steps of carrying out a first treatment on the surface of the Executing the task corresponding to the sequence number with the maximum sequence number and taking the task as the current executing task; stopping executing the step of acquiring the sequence of the task which is not currently executed when the execution of the task which is currently executed fails; feeding back a task execution result corresponding to the current execution task to the terminal; and when the execution of the currently executed task is successful, returning to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and continuing to execute until the tasks in the currently unexecuted task sequence are all executed.
In one embodiment, the query module 404 is further configured to query the database for a data table corresponding to the product identifier when no task identifier is queried in the cache; and inquiring the task identifier corresponding to the service node identifier and the sequence number corresponding to the task identifier in the data table.
As shown in fig. 5, in one embodiment, the service request responding device 400 further includes: a cache module 410;
the caching module 410 is configured to correspondingly cache, when the task identifier and the sequence number are queried in the data table, the product identifier and the service node identifier, and the task identifier and the sequence number that are correspondingly queried in the cache.
In one embodiment, the service request responding device 400 further includes: a cache update module 412;
the cache update module 412 is configured to count a cache time corresponding to the task identifier and the sorting number; when the caching time reaches the preset caching updating time, correspondingly inquiring a target task identifier and a target sequence number in a database according to the corresponding product identifier and service node identifier; and according to the target task identifier and the target sequence number, correspondingly updating the task identifier and the sequence number of the cache corresponding to the product identifier and the service node identifier in the cache.
In one embodiment, the query module 404 is further configured to match the product identifier with a preset product identifier list; when the matching is successful, the product identifier and the service node identifier are sent to a cache server; and receiving a task identifier fed back by the cache server aiming at the product identifier and the service node identifier, and a sequence number corresponding to the task identifier.
In one embodiment, the query module 404 is further configured to select a cache server from a plurality of candidate cache servers; and sending the product identifier and the service node identifier to the selected cache server.
The specific limitation of the service request response device can be referred to the limitation of the service request response method hereinabove, and will not be repeated here. The respective modules in the service request response device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing the preconfigured product identification, the service node identification and the corresponding task identification, and the sequencing number and the task corresponding to the task identification. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a service request response method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the service request response method in the above embodiments when the computer program is executed.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the service request response method in the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A service request response method, the method comprising:
receiving a service request sent by a terminal; the service request carries a product identifier and a service node identifier, and the same service node identifier corresponds to a plurality of product identifiers;
querying candidate service node identifiers corresponding to the product identifiers in a cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers;
Inquiring corresponding task identifications in the cache according to the target service node identifications, wherein the same task identification corresponds to a plurality of service node identifications;
when the task identifier is queried in the cache, querying a corresponding sorting number in the cache according to the task identifier, wherein the sorting number is used for representing the execution sequence of a plurality of tasks corresponding to the same service node identifier;
sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers;
and when the execution is finished, feeding back a task execution result to the terminal.
2. The method according to claim 1, wherein the sequentially executing tasks corresponding to task identifications according to the order of the sequence numbers includes:
acquiring a sequence of sequencing numbers corresponding to a task sequence which is not currently executed;
selecting a sequence number with the maximum sequence number from the sequence of sequence numbers;
executing the task corresponding to the sequence number of the maximum sequence number and taking the task as the current executing task;
stopping executing the step of acquiring the sequence of the sorting numbers corresponding to the currently unexecuted task sequence when the currently executed task fails to execute;
feeding back a task execution result corresponding to the current execution task to the terminal;
And when the execution of the currently executed task is successful, returning to the step of acquiring the sequence of the sorting number corresponding to the currently unexecuted task sequence, and continuing to execute until the execution of the tasks in the currently unexecuted task sequence is completed.
3. The method according to claim 1, wherein before the tasks corresponding to the task identifications are sequentially executed according to the order of the sequence numbers, the method further comprises:
when the task identifier is not queried in the cache, querying a data table corresponding to the product identifier in a database;
and inquiring a task identifier corresponding to the service node identifier and a sequence number corresponding to the task identifier in the data table.
4. A method according to claim 3, wherein after said querying said data table for a task identity corresponding to said service node identity and for a ranking number corresponding to said task identity, said method further comprises:
and when the task identifier and the sequence number are inquired in the data table, the product identifier, the service node identifier, the task identifier and the sequence number which are correspondingly inquired are correspondingly cached in the cache.
5. The method according to claim 4, wherein the method further comprises:
counting the cache time corresponding to the task identifier and the sequence number;
when the cache time reaches the preset cache update time, correspondingly inquiring a target task identifier and a target sequence number in the database according to the corresponding product identifier and service node identifier;
and correspondingly updating the task identifier and the sequence number in the cache corresponding to the product identifier and the service node identifier according to the target task identifier and the target sequence number.
6. The method according to any one of claims 1 to 5, wherein after receiving the service request sent by the terminal, the method further comprises:
matching the product identifier with a preset product identifier list;
when the matching is successful, the product identifier and the service node identifier are sent to a cache server;
and receiving a task identifier fed back by the cache server corresponding to the product identifier and the service node identifier, and a sequence number corresponding to the task identifier.
7. The method of claim 6, wherein the sending the product identification and the service node identification to a cache server comprises:
Selecting a cache server from a plurality of candidate cache servers;
and sending the product identifier and the service node identifier to the selected cache server.
8. A service request response device, the device comprising:
the receiving module is used for receiving the service request sent by the terminal; the service request carries a product identifier and a service node identifier, and the same service node identifier corresponds to a plurality of product identifiers;
the query module is used for querying candidate service node identifiers corresponding to the product identifiers in the cache, and screening target service node identifiers matched with the service node identifiers from the candidate service node identifiers;
the query module is further configured to query the cache for a corresponding task identifier according to the target service node identifier, where the same task identifier corresponds to a plurality of service node identifiers;
the query module is further configured to query, when the task identifier is queried in the cache, a corresponding sorting number in the cache according to the task identifier, where the sorting number is used to characterize a sequence of execution of a plurality of tasks corresponding to the same service node identifier;
The task execution module is used for sequentially executing tasks corresponding to the task identifiers according to the sequence of the sequence numbers;
and the feedback module is used for feeding back the task execution result to the terminal when the execution is finished.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN201811205250.3A 2018-10-16 2018-10-16 Service request response method, device, computer equipment and storage medium Active CN109492019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811205250.3A CN109492019B (en) 2018-10-16 2018-10-16 Service request response method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811205250.3A CN109492019B (en) 2018-10-16 2018-10-16 Service request response method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109492019A CN109492019A (en) 2019-03-19
CN109492019B true CN109492019B (en) 2024-03-08

Family

ID=65691358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811205250.3A Active CN109492019B (en) 2018-10-16 2018-10-16 Service request response method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109492019B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334123A (en) * 2019-05-17 2019-10-15 平安科技(深圳)有限公司 Business datum switching method, device, computer equipment and storage medium
CN110245153A (en) * 2019-05-20 2019-09-17 平安银行股份有限公司 Product data processing method, system, computer equipment and storage medium
CN110502536A (en) * 2019-06-26 2019-11-26 中电万维信息技术有限责任公司 Method, apparatus and storage medium based on cache database verification business uniqueness
CN110365752B (en) * 2019-06-27 2022-04-26 北京大米科技有限公司 Service data processing method and device, electronic equipment and storage medium
CN112540856A (en) * 2019-09-23 2021-03-23 北京轻享科技有限公司 Service processing method and electronic equipment
CN111352626A (en) * 2020-02-04 2020-06-30 北京三快在线科技有限公司 Service request processing method and device, electronic equipment and storage medium
CN111787094B (en) * 2020-06-29 2022-01-28 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and equipment
CN112231108A (en) * 2020-11-02 2021-01-15 网易(杭州)网络有限公司 Task processing method and device, computer readable storage medium and server
CN112214519B (en) * 2020-11-10 2022-03-04 支付宝(杭州)信息技术有限公司 Data query method, device, equipment and readable medium
CN113780812A (en) * 2021-09-13 2021-12-10 深圳一信泰质量技术有限公司 Management method, device, equipment and storage medium for product test

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005317010A (en) * 2005-04-25 2005-11-10 Hitachi Ltd Transaction processing method, implementing device thereof, and medium recording its processing program
CN1949257A (en) * 2006-11-23 2007-04-18 华为技术有限公司 Service realizing method and apparatus
CN102508716A (en) * 2011-09-29 2012-06-20 用友软件股份有限公司 Task control device and task control method
JP2014164664A (en) * 2013-02-27 2014-09-08 Nec Corp Task parallel processing method and device and program
CN106569783A (en) * 2015-10-08 2017-04-19 腾讯科技(深圳)有限公司 Task script executing method and apparatus
CN107229555A (en) * 2017-05-04 2017-10-03 北京小度信息科技有限公司 Mark generating method and device
CN107943600A (en) * 2017-11-21 2018-04-20 杭州财人汇网络股份有限公司 A kind of method and apparatus of tradomation processing
CN108470043A (en) * 2018-02-27 2018-08-31 阿里巴巴集团控股有限公司 A kind of acquisition methods and device of business result

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005317010A (en) * 2005-04-25 2005-11-10 Hitachi Ltd Transaction processing method, implementing device thereof, and medium recording its processing program
CN1949257A (en) * 2006-11-23 2007-04-18 华为技术有限公司 Service realizing method and apparatus
CN102508716A (en) * 2011-09-29 2012-06-20 用友软件股份有限公司 Task control device and task control method
JP2014164664A (en) * 2013-02-27 2014-09-08 Nec Corp Task parallel processing method and device and program
CN106569783A (en) * 2015-10-08 2017-04-19 腾讯科技(深圳)有限公司 Task script executing method and apparatus
CN107229555A (en) * 2017-05-04 2017-10-03 北京小度信息科技有限公司 Mark generating method and device
CN107943600A (en) * 2017-11-21 2018-04-20 杭州财人汇网络股份有限公司 A kind of method and apparatus of tradomation processing
CN108470043A (en) * 2018-02-27 2018-08-31 阿里巴巴集团控股有限公司 A kind of acquisition methods and device of business result

Also Published As

Publication number Publication date
CN109492019A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109492019B (en) Service request response method, device, computer equipment and storage medium
CN106933854B (en) Short link processing method and device and server
CN108491450B (en) Data caching method, device, server and storage medium
CN108829781B (en) Client information query method, device, computer equipment and storage medium
CN111800459A (en) Asynchronous processing method, device and system for download task and storage medium
CN110321480B (en) Recommendation information pushing method and device, computer equipment and storage medium
CN107679077B (en) Paging implementation method and device, computer equipment and storage medium
CN110213392B (en) Data distribution method and device, computer equipment and storage medium
CN111078559B (en) Method, device, medium and computer equipment for extracting function call in java code
CN110795171B (en) Service data processing method, device, computer equipment and storage medium
CN110880147B (en) Transaction processing method, related equipment and computer storage medium
CN110413978B (en) Data paging export method, device, computer equipment and storage medium
CA3128540C (en) Cache system hotspot data access method, apparatus, computer device and storage medium
CN107918673B (en) Subscription data processing method and device, storage medium and computer equipment
CN108512948B (en) Address book updating method and device, computer equipment and storage medium
CN108418809B (en) Chat data processing method and device, computer equipment and storage medium
CN108389124B (en) Data processing method, data processing device, computer equipment and storage medium
CN111159131A (en) Performance optimization method, device, equipment and computer readable storage medium
CN113949889A (en) Object processing method and device, electronic equipment and storage medium
CN113486060A (en) Data access processing method and device, storage medium and electronic equipment
CN110765131B (en) Data compression method and device for goods source data, computer equipment and storage medium
CN109614399B (en) Bitmap data query method and device, computer equipment and storage medium
CN111385360A (en) Terminal equipment identification method and device and computer readable storage medium
CN111767481A (en) Access processing method, device, equipment and storage medium
CN110648052A (en) Wind control decision method and device, computer equipment and storage medium

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