CN109617829A - A kind of processing method of service request data, apparatus and system - Google Patents

A kind of processing method of service request data, apparatus and system Download PDF

Info

Publication number
CN109617829A
CN109617829A CN201811293024.5A CN201811293024A CN109617829A CN 109617829 A CN109617829 A CN 109617829A CN 201811293024 A CN201811293024 A CN 201811293024A CN 109617829 A CN109617829 A CN 109617829A
Authority
CN
China
Prior art keywords
service request
request data
flood
configuration parameter
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811293024.5A
Other languages
Chinese (zh)
Other versions
CN109617829B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811293024.5A priority Critical patent/CN109617829B/en
Publication of CN109617829A publication Critical patent/CN109617829A/en
Application granted granted Critical
Publication of CN109617829B publication Critical patent/CN109617829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/215Flow control; Congestion control using token-bucket
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A10/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
    • Y02A10/40Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping

Abstract

This specification provides a kind of processing method of service request data, apparatus and system; according to the configuration parameter of service request data; service request data is forwarded according to certain business rule or flood storage is handled; it avoids because service request data is excessive; excessive pressure is brought to down-stream system, protects the performance of down-stream system, realizes the flexible processing of service request data; the data-handling capacity for improving system, the system bigger for data request amount can be equally applicable in.

Description

A kind of processing method of service request data, apparatus and system
Technical field
This specification belong to field of computer technology more particularly to a kind of processing method of service request data, device and System.
Background technique
During daily system operation, the problem of reply big flow is requested often may require that, especially internet is looked forward to Industry, the processing of the service request data of big flow are even more indispensable ability.It is bigger in service request amount, the processing capacity of system When limited, how reasonably to carry out the processing of service request data is a more crucial technology.
Summary of the invention
This specification is designed to provide a kind of processing method of service request data, apparatus and system, realizes business The flexible processing of request data, improves the treatment effeciency of service request data.
One side this specification embodiment provides a kind of processing method of service request data, comprising:
Receive service request data;
Obtain the corresponding configuration parameter of the service request data, the configuration parameter includes: direct forwarding, from turn Hair, flood storage processing;
According to the configuration parameter, the service request data is forwarded or flood storage.
Further, described according to the configuration parameter in another embodiment of the method, by the service request Data are forwarded or flood storage, comprising:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
Further, in another embodiment of the method, the method also includes:
According to the response time of the flow of service request data and/or down-stream system, the flood storage threshold value, institute are dynamically adjusted State flood discharge threshold value.
Further, described according to the configuration parameter in another embodiment of the method, by the service request Data are forwarded or flood storage, comprising:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage Queue obtains forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage Pond reenters the flood storage queue, obtains the forwarding token when waiting flood discharge, until the service request data obtains Terminate to the forwarding token or life cycle.
Further, described according to the configuration parameter in another embodiment of the method, by the service request Data are forwarded or flood storage, comprising:
If the configuration parameter of the service request data is directly to forward, the service request data is directly forwarded.
On the other hand, present description provides a kind of processing units of service request data, comprising:
Data reception module, for receiving service request data;
Configuration parameter obtains module, for obtaining the corresponding configuration parameter of the service request data, the configuration parameter It include: direct forwarding, automatic forwarding, flood storage processing;
The service request data is forwarded or flood storage for according to the configuration parameter by data processing module.
Further, in another embodiment of described device, the data processing module includes automatic retransmission unit, is used In:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
Further, in another embodiment of described device, the automatic retransmission unit is also used to:
According to the response time of the flow of service request data and/or down-stream system, the flood storage threshold value, institute are dynamically adjusted State flood discharge threshold value.
Further, in another embodiment of described device, the data processing module includes flood storage processing unit, is used In:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage Queue obtains forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage Pond reenters the flood storage queue, obtains the forwarding token when waiting flood discharge, until the service request data obtains Terminate to the forwarding token or life cycle.
Further, in another embodiment of described device, the data processing module includes direct retransmission unit, is used In:
If the configuration parameter of the service request data is directly to forward, the service request data is directly forwarded.
In another aspect, present description provides the processing systems of service request data, comprising:
Service access module provides business interface, the configuration parameter packet for the configuration parameter of configuration service scene It includes: directly forwarding, automatic forwarding, flood storage processing;
Decision Control module, for according to the corresponding configuration parameter of service request data, by the service request data into Row forwarding or flood storage;
Service Processing Module, for executing the corresponding task of the service request data.
Further, in another embodiment of the system, the Decision Control module is also used to:
According to the service request data received, and/or, according to the historical data of service request data, determine the industry The flow for request data of being engaged in;
According to the response time of the flow of the service request data, down-stream system, dynamic adjusts flood storage threshold value, flood discharge threshold Value.
Further, in another embodiment of the system, the Service Processing Module includes: operational processor, industry Business router, message listener, the operational processor is used to execute corresponding task according to the service request data, described Business router is used to for the service request data being sent to corresponding operational processor, and the message listener is for monitoring The Decision Control module.
Also on the one hand, present description provides the processing equipments of service request data, comprising: at least one processor and For the memory of storage processor executable instruction, the processor realizes above-mentioned service request data when executing described instruction Processing method.
In another aspect, present description provides a kind of processing systems of service request data, including at least one processor And the memory for storage processor executable instruction, the processor realize above-mentioned service request when executing described instruction The processing method of data.
Processing method, device, processing equipment, the system for the service request data that this specification provides, by pending data Attribute conversion is carried out, the data after conversion data splicing is subjected to, and Hash mapping is carried out to the splicing data of acquisition, utilizes Kazakhstan Characteristic value after uncommon mapping carries out Feature Selection, filters out the more significant characteristic of attributive character.It can quickly find The attribute category feature or Attribute class derivative feature of standby conspicuousness are provided, this feature has very strong interpretation, can be for business Expert understands and quickly runs into business.Meanwhile Hash (hash algorithm) method that this specification embodiment uses can incite somebody to action Data are quickly converted, and a kind of derivative implementation method of violence of lightweight is realized, so that all attributes and its enumerating It can guarantee the completeness of feature within the scope of input feature vector, improve the accuracy of characteristic generation.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of the processing method of service request data in this specification one embodiment;
Fig. 2 is the processing flow schematic diagram of service request data in another embodiment of this specification;
Fig. 3 is the modular structure schematic diagram of the processing unit one embodiment for the service request data that this specification provides;
Fig. 4 is the structural schematic diagram of the processing system of service request data in this specification one embodiment;
Fig. 5 is the hardware block diagram using the service request data processing server of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to The range of this specification protection.
System needs to handle different requests during operation, when service request amount is bigger, the duty factor of system Larger, ability to bear is limited, and the processing speed of request will be reduced, or even affects to the performance of system.
A kind of processing method of service request data is provided in this specification embodiment, it is corresponding according to service request data Configuration parameter service request data is sent to down-stream system, protects downstream according to configuration parameter corresponding sending method System realizes the reasonable processing of service request data.
The processing method of service request data can be applied in client or server in this specification, and client can be with It is smart phone, tablet computer, intelligent wearable device (smartwatch, virtual reality glasses, virtual implementing helmet etc.), intelligence The electronic equipments such as mobile unit.
" flood storage " in this specification embodiment can indicate to propose current service request by this specification embodiment The technical solution of confession is stored according to certain rules, such as: will do it storage when system can not carry current service request Flood temporarily stores service request, handle until meeting business rule, then to service request." flood discharge " can To indicate the ability to bear to already existing service request according to system, service request is sent out according to certain rules It send.
Specifically, Fig. 1 is the flow diagram of the processing method of service request data in this specification one embodiment, such as Shown in Fig. 1, the overall process of the processing method of the service request data provided in this specification one embodiment may include:
Step 102 receives service request data.
In the specific implementation process, when some business scenarios need to be implemented corresponding task, industry can be sent to system It is engaged in request data, can appoint with what business scenario mark, the Data Identification of request, request executed in service request data Business order etc..As: service request data may include: the request for obtaining the sesame credit score of certain user, obtain certain commodity The request etc. of information.In this specification embodiment, business interface can be provided, the business datum of different business scene can pass through Business interface accesses the processing unit of the service request data in this specification embodiment.
Step 104 obtains the corresponding configuration parameter of the service request data, the configuration parameter include: direct forwarding, Automatic forwarding, flood storage processing.
In the specific implementation process, this specification one embodiment, can be according to practical need when business datum accesses Carry out parameter configuration, the configuration parameter in this specification embodiment may include the processing rule of business datum such as: directly turn Hair, automatic forwarding, flood storage processing.Certainly configuration parameter can also include other parameters according to actual needs, as: flood storage pond Size, flood storage, the time of flood discharge, flood storage threshold value, flood discharge threshold value etc..In this specification one embodiment, asked in the business of receiving When seeking data, the corresponding configuration parameter of available service request data, i.e. the corresponding processing of acquisition service request data is regular.
When carrying out the configuration of parameter, configuration parameter, i.e., the business of one business scenario can be arranged according to business scenario Request data can correspond to identical configuration parameter, and business scenario can indicate different types of service, such as may include: sesame Numb fiduciary work, merchandise query business, order processing business, transferred account service etc..Service request number in this specification embodiment According to processing unit can access different business scenarios, different business scene can be joined in access by business interface Number configuration.When receiving service request data, which can be got according to the corresponding business scenario of service request data The corresponding configuration parameter of request data.
Step 106, according to the configuration parameter, the service request data is forwarded or flood storage.
After getting the configuration parameter of service request data, each configuration parameter can be corresponding with a business processing rule Then, the service request data can be performed corresponding processing according to corresponding business process rule according to configuration parameter.Such as: If configuration parameter is directly to forward, service request data can be forwarded directly to down-stream system;If configuration parameter is automatic Forwarding then directly can be forwarded or be waited after a certain period of time again according to the processing capacity of current system and the request amount of system Forward the service request data;If configuration parameter is flood storage processing, service request data can be carried out to flood storage, wait flood discharge When be forwarded again.
The processing method for the service request data that this specification embodiment provides is joined according to the configuration of service request data Number, is forwarded service request data according to certain business rule or flood storage is handled, and avoids because of service request data mistake It is more, excessive pressure is brought to down-stream system, protects the performance of down-stream system, realizes the flexible place of service request data Reason, improves the data-handling capacity of system, the system bigger for data request amount can be equally applicable in.
On the basis of the above embodiments, described according to the configuration parameter in this specification one embodiment, it will be described Service request data is forwarded or flood storage, comprising:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
In the specific implementation process, after receiving service request data, the corresponding configuration ginseng of service request data is obtained Number may determine that whether current system meets flood storage threshold value or flood discharge threshold value if configuration parameter is automatic forwarding, such as: it can To judge whether the service data request amount of current system reaches the down-stream system of flood storage threshold value or flood discharge threshold value or current system Response time whether reach flood storage threshold value or flood discharge threshold value or response time and request amount meets flood storage threshold value or flood discharge Threshold value.If system meets flood storage threshold value, such as when receiving service request data: it is corresponding that the response time is greater than flood storage threshold value Response time or service data request amount are greater than the corresponding request amount of flood storage threshold value or response time and service data request amount Respectively greater than flood storage threshold value corresponding response time, request amount can then save the service request data received to flood storage Queue.When system meets flood discharge threshold value such as: the response time reaches flood discharge threshold value or when service request data amount reaches flood discharge threshold value, Then the service request data of storage to flood storage queue can be subjected to flood discharge processing, that is, down-stream system is forwarded to, alternatively, can also be with The service request data by storage to flood storage queue is forwarded processing at the appointed time.
If the corresponding parameter configuration of service request data is automatic forwarding, and when receiving service request data, system is full Sufficient flood discharge threshold value, such as: the request amount that the response time is less than or equal to flood discharge threshold value corresponding response time and/or system is less than etc. In the corresponding request amount of flood discharge threshold value, it may be considered that the processing capacity of current system is relatively good, the business that can will be received Request data is forwarded directly to down-stream system.
In addition, the service request data in flood storage queue can be successively when service request data is saved to when flood storage queue Forwarding, such as: if there is 100 service request datas in flood storage queue, 100 service request datas can according to send request when Between be lined up, when system bearing ability meets, be successively forwarded to down-stream system.
Wherein, flood storage threshold value, flood discharge threshold value can be carried out according to bearing capacity, priori knowledge, expertise of system etc. Setting, can be according to the history number of system if configuration parameter is automatic forwarding when configuring to service request data According to, priori knowledge, expertise etc. set flood storage threshold value, flood discharge threshold value.It, can also basis in this specification one embodiment The flow of service request data and/or the response time of down-stream system dynamically adjust the flood storage threshold value, the flood discharge threshold value. , can be according to the real time data of system the service request data processing during, dynamic adjusts flood storage threshold value, flood discharge threshold value Size, further according to flood storage threshold value, flood discharge threshold value, the processing mode of decision business request data.
Wherein, flow, that is, request amount of service request data can be by service request number that real-time statistics system receives According to acquisition, can also predict to obtain according to the historical data of system, the response time of down-stream system can also be according to real-time monitoring The response time of down-stream system is predicted to obtain according to the historical data of down-stream system.According to the service request number of the system of acquisition According to flow and/or down-stream system response time after, the flood storage threshold value of setting and flood discharge threshold value can be adjusted in real time. Such as: if pre-set flood storage threshold value is A, flood discharge threshold value is B, according to real-time statistics as a result, the response of discovery down-stream system Time reduces, i.e. the processing capacity of down-stream system increases, then can reduce flood storage threshold value A, flood discharge threshold value B, so that Service request data can be handled in time.It can also be according to the ratio of the response time of the request amount and down-stream system of system Example, is adjusted flood storage threshold value and flood discharge threshold value, such as: if the request amount of current system is far longer than the response time of system, It may be considered that the bearing capacity of current system is bigger, processing capacity is insufficient, can increase flood storage threshold value, flood discharge threshold value, by industry Business request data is first stored.If the request amount of system is less than the response time of system,
This specification embodiment can holding according to system when the configuration parameter of service request data is automatic forwarding Loading capability, request amount and flood storage threshold value, flood discharge threshold value, automatically carry out the processing of service request data, and the business of realizing is asked Ask automatically processing for data.In addition, this specification embodiment can also flow according to system and response time, it is dynamic to adjust Flood storage threshold value, flood discharge threshold value improve the treatment effeciency of service request data to ensure that system is in relatively high processing capacity.
On the basis of the above embodiments, described according to the configuration parameter, the service request data is forwarded Or flood storage, comprising:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage Queue obtains forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage Pond reenters the flood storage queue, obtains the forwarding token when waiting flood discharge, until the service request data obtains Terminate to the forwarding token or life cycle.
In the specific implementation process, if the configuration parameter of the service request data received be flood storage processing (such as: for Handle the more relaxed data of time requirement), then flood storage queue can be added in service request data, forwarding to be obtained is waited to enable Board.Forwarding token can indicate forwarding mark, obtain forwarding token be understood that for according to enter flood storage queue time order and function, The service request data being followed successively by into flood storage queue sticks forwarding mark.Forward token quantity can according to actual needs into Service request data can be then forwarded by row setting when service request data gets forwarding token.If service request Data do not get forwarding token, then can store service request data to flood storage pond, when waiting flood discharge, reenter storage Big vast queue obtains forwarding token.If service request data still without forwarding token is got, enters back into flood storage pond, in repetition Movement is stated, is terminated up to service request data gets forwarding token or the life cycle of service request data, i.e. service request Data failure.Flood storage pond can indicate the storage region for storing the service request data not handled temporarily.
Wherein, flood discharge rule can be configured according to actual needs, such as: when the service request data amount in flood storage pond reaches When to preset value or after flood storage pond reaches certain bearing capacity, flood discharge is carried out;Or the setting flood discharge time is such as: at the appointed time Duan Jinhang flood discharge etc..It can be set according to actual needs flood discharge rule, this specification embodiment is not specifically limited.
Such as: if presetting 100 forwarding tokens of transmission per second, into flood storage queue service request data according to when Between successively, successively obtain forwarding token, get forwarding token service request data can be forwarded directly to down-stream system.When When 101 service request datas are come in, forwarding token is had run out, can be by the service request data storage value flood storage pond.? When reaching the flood discharge time, the service request data in flood storage pond is again introduced into flood storage queue, continues to be lined up obtaining forwarding token, obtains The service request data for getting forwarding token can be forwarded directly, if not getting service request data yet, be then stored into storage Hong Chi enters back into flood storage queue when waiting flood discharge next time, until the service request data gets forwarding token or Life Cycle Phase terminates.
This specification embodiment, when the configuration parameter of service request data is that flood storage is handled, by service request data plus Enter flood storage queue, according to flood storage rule and flood discharge rule, service request data is handled, service request data is realized Flexible flood storage and flood discharge, improve the performance of system, protect down-stream system.
In another embodiment of this specification, if the configuration parameter of the service request data received is directly forwarding, such as: The data relatively high for processing time requirement, then directly can be forwarded to down-stream system for the service request data received, It is timely handled with ensuring that the service request data is available.
In this specification embodiment, can the different business scene of requirement according to to(for) data processing time it is different, setting Configuration parameter carries out corresponding processing to the service request data received, both protected according to the configuration parameter of service request data The timeliness of service request data processing has been demonstrate,proved, it also can be in conjunction with processing capacity, the request amount etc. of system, to service request data It is flexibly handled, it is ensured that system is able to maintain the performance and service request that system is improved in a higher processing capacity The treatment effeciency of data.
Fig. 2 is the processing flow schematic diagram of service request data in another embodiment of this specification, as shown in Fig. 2, this The treatment process of service request data in specification one embodiment can refer to as follows:
1, receiving service request data first can identify that business is asked according to the label of the service request data received The corresponding business scenario of data is sought, the configuration parameter of service request data is further obtained, configuration parameter may include: directly to turn Hair, automatic forwarding, flood storage processing.Wherein the configuration parameter of service request data can press according to actual needs in access system It is configured according to pre-set configuration parameter, this specification embodiment is not especially limited.
If 2, the configuration parameter of service request data is directly to forward, direct forwarding service request data, such as Fig. 2 institute Show, service request data can be grabbed and be sent in the i.e. corresponding operational processor of down-stream system, business is executed by operational processor The corresponding task of request data.
If 3, the configuration parameter of service request data is automatic forwarding, flow control module and flood storage flood discharge module can be passed through The processing of service request data is carried out, flow control module can be let out with the response time of real-time statistics request amount and business processing, flood storage Big vast module can deploy flood storage threshold value and flood discharge threshold value according to the two ratio in real time.When system reaches flood storage threshold value, then will Service request data carries out flood storage processing and service request data is then forwarded to down-stream system when system reaches flood discharge threshold value. As shown in Fig. 2, the service request data received can enter flood storage queue when system is in flood storage threshold value, flood storage is carried out The process of processing, flood storage processing can refer to next step.
If 4, the configuration parameter of service request data is flood storage processing, the rule of flood storage processing can hand according to actual needs Dynamic configuration, will not automatic decision.Configuration parameter is the service request data of flood storage processing, can enter flood storage queue first, obtain Forward token.Forward token quantity be it is pre-configured, get forwarding token then direct forwarding service request data, otherwise Into flood storage pond, flood storage queue is reentered when flood discharge obtain standard and issue an order board, terminate until going out team or life cycle.Flood discharge rule It can then be configured according to actual needs, such as: the requirement in setting flood discharge time or flood discharge space can specifically refer to above-mentioned The record of embodiment, details are not described herein again.
As shown in Fig. 2, downstream system can also be counted after service request data is forwarded to down-stream system i.e. operational processor The response data of system counts the response time of down-stream system, in conjunction with the request amount of the system counted, for adjusting flood storage threshold Value, flood discharge threshold value.Under the configuring condition forwarded automatically, dynamically decision flood storage, flood discharge rule can be handled, so that business is asked The processing of data is asked to be able to maintain higher efficiency.
This specification embodiment can support operation system to carry out flood storage and flood discharge by certain business rule, to protect Protect the operation system in downstream, the traffic handing capacity dynamic decision flood storage in the upstream traffic that can also follow up and downstream or flood discharge Threshold values realizes the flexible processing of service request data, improves the treatment effeciency of service request data.
Various embodiments are described in a progressive manner for the above method in this specification, identical between each embodiment Or similar part may refer to each other, each embodiment focuses on the differences from other embodiments.It is related Place illustrates referring to the part of embodiment of the method.
Based on the processing method of service request data described above, this specification one or more embodiment also provides one The processing unit of kind service request data.The device may include the system for having used this specification embodiment the method (including distributed system), software (application), module, component, server, client etc. simultaneously combine the necessary dress for implementing hardware It sets.Based on same innovation thinking, for example following implementation of the device in one or more embodiments that this specification embodiment provides Described in example.Since the implementation that device solves the problems, such as is similar to method, the reality of the specific device of this specification embodiment The implementation that may refer to preceding method is applied, overlaps will not be repeated.Used below, term " unit " or " module " can To realize the combination of the software and/or hardware of predetermined function.Although device described in following embodiment is preferably come with software It realizes, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Specifically, Fig. 3 is the modular structure of the processing unit one embodiment for the service request data that this specification provides Schematic diagram, as shown in figure 3, the processing unit of the service request data provided in this specification includes: data reception module 31, matches Set parameter acquisition module 32, data processing module 33, in which:
Data reception module 31 can be used for receiving service request data;
Configuration parameter obtains module 32, can be used for obtaining the corresponding configuration parameter of service request data, the configuration ginseng Number includes: direct forwarding, automatic forwarding, flood storage processing;
Data processing module 33, can be used for according to the configuration parameter, the service request data is forwarded or Flood storage.
The processing unit for the service request data that this specification embodiment provides is joined according to the configuration of service request data Number, is forwarded service request data according to certain business rule or flood storage is handled, and avoids because of service request data mistake It is more, excessive pressure is brought to down-stream system, protects the performance of down-stream system, realizes the flexible place of service request data Reason, improves the data-handling capacity of system.
On the basis of the above embodiments, the data processing module includes automatic retransmission unit, is used for:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, business Request amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
This specification embodiment can holding according to system when the configuration parameter of service request data is automatic forwarding Loading capability, request amount and flood storage threshold value, flood discharge threshold value, automatically carry out the processing of service request data, and the business of realizing is asked Ask automatically processing for data.In addition, this specification embodiment can also flow according to system and response time, it is dynamic to adjust Flood storage threshold value, flood discharge threshold value improve the treatment effeciency of service request data to ensure that system is in relatively high processing capacity.
On the basis of the above embodiments, the automatic retransmission unit is also used to:
According to the response time of the flow of service request data and/or down-stream system, the flood storage threshold value, institute are dynamically adjusted State flood discharge threshold value.
The processing unit for the service request data that this specification embodiment provides, according to the request amount, that is, flow and sound of system Flood storage threshold value, flood discharge threshold value are dynamically adjusted between seasonable, so that flood storage or the flood discharge processing of service request data are more reasonable, is adapted to In the state of system, the treatment effeciency of service request data is improved.
On the basis of the above embodiments, the data processing module includes flood storage processing unit, is used for:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage Queue obtains forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage Pond reenters the flood storage queue, obtains the forwarding token when waiting flood discharge, until the service request data obtains Terminate to the forwarding token or life cycle.
The processing unit for the service request data that this specification embodiment provides, when the configuration parameter of service request data is Flood storage handle when, by service request data be added flood storage queue, according to flood storage rule and flood discharge rule, to service request data into Row processing, realizes the flexible flood storage and flood discharge of service request data, improves the performance of system, protect down-stream system.
On the basis of the above embodiments, the data processing module includes direct retransmission unit, is used for:
If the configuration parameter of the service request data is directly to forward, the service request data is directly forwarded.
This specification embodiment, can the different business scene of requirement according to to(for) data processing time it is different, setting is matched Parameter is set, according to the configuration parameter of service request data, corresponding processing is carried out to the service request data received, was both guaranteed The timeliness of service request data processing can also carry out service request data in conjunction with processing capacity, the flow etc. of system Flexibly processing, it is ensured that system is able to maintain the performance and service request data that system is improved in a higher processing capacity Treatment effeciency.
It should be noted that device described above can also include other embodiment party according to the description of embodiment of the method Formula.Concrete implementation mode is referred to the description of related method embodiment, does not repeat one by one herein.
This specification embodiment also provides a kind of processing equipment of service request data, comprising: at least one processor with And the memory for storage processor executable instruction, the processor realize the industry of above-described embodiment when executing described instruction The processing method for request data of being engaged in, such as:
Receive service request data;
Obtain the corresponding configuration parameter of the service request data, the configuration parameter includes: direct forwarding, from turn Hair, flood storage processing;
According to the configuration parameter, the service request data is forwarded or flood storage.
The storage medium may include the physical unit for storing information, usually by after information digitalization again with benefit The media of the modes such as electricity consumption, magnetic or optics are stored.It may include: that letter is stored in the way of electric energy that the storage medium, which has, The device of breath such as, various memory, such as RAM, ROM;The device of information is stored in the way of magnetic energy such as, hard disk, floppy disk, magnetic Band, core memory, magnetic bubble memory, USB flash disk;Using optical mode storage information device such as, CD or DVD.Certainly, there are also it Readable storage medium storing program for executing of his mode, such as quantum memory, graphene memory etc..
It should be noted that processing equipment described above can also include other implement according to the description of embodiment of the method Mode.Concrete implementation mode is referred to the description of related method embodiment, does not repeat one by one herein.
Fig. 4 is the structural schematic diagram of the processing system of service request data in this specification one embodiment, such as Fig. 4 institute Show, a kind of processing system of service request data can be provided in this specification one embodiment, can specifically include:
Service access module can be used for the configuration parameter of configuration service scene, provide business interface, the configuration parameter It include: direct forwarding, automatic forwarding, flood storage processing;
Decision Control module can be used for according to the corresponding configuration parameter of service request data, by the service request number According to being forwarded or flood storage;
Service Processing Module can be used for executing the corresponding task of the service request data.
As shown in figure 4, the processing system for the service request data that this specification embodiment provides is in processing business number of request According to when mainly include 4 stages: service access, decision-flow control stage, business execute the stage, the decision phase and flow control in Fig. 4 Stage can be regarded as a stage.The service access stage can indicate through business interface and parameter configuration, will be different Operation system is linked into the processing system of service request data.Decision-flow control stage can indicate to be asked according to the business received The configuration parameter of data is asked to carry out flood storage, flood discharge processing to service request data.The execution stage can indicate according to service request The request of data executes corresponding task, such as: the sesame credit score of service request data request user then executes rank The operational processor of section then obtains and returns to the sesame credit score of the user.
In the specific implementation process, as shown in figure 4, the uniform service shop front in Fig. 4 can indicate business interface such as API ((Application Programming Interface, application programming interface) interface, access service and system in Fig. 4 One service the shop front can indicate service access module, have demand business can by way of configuration parameter with unified service Shop front butt-joint accesses the processing system of the service request data in this specification embodiment.In Fig. 4, decision-making level can be with table Show Decision Control module, when there is service request data to come, initially enters decision-making level, decision-making level can real-time statistics service request TPS (Transaction Per Second, the message count of processing per second), while can also be according to the historical data of business scenario The predicted flow rate of prediction acquisition system is carried out to TPS.The flow for the service request data that decision-making level can also obtain according to statistics That is the response time of TPS and/or down-stream system, dynamic adjust flood storage threshold value, flood discharge threshold value.Decision-making level is according to service request data Corresponding configuration parameter is different, and service request data is forwarded or flood storage is handled.Configuration ginseng in this specification embodiment Number may include: direct forwarding: not flood storage, and flow arrives down-stream system in real time.Automatic forwarding: automatically according to the flow of up-stream system Systematic processing capacity dynamic adjusts the configuration of flood storage and flood discharge under and, carries out the dynamic processing of service request data.Flood storage Processing: flood storage and flood discharge are carried out according to the parameter configured in business scenario, will not dynamically be adjusted.Operational processor in Fig. 4 can To indicate Service Processing Module, service request data can be sent to Service Processing Module, business processing by Decision Control module After module receives service request data, service request data is performed corresponding processing.
As shown in figure 4, the Service Processing Module in the stage of execution may include: operational processor, business router, message prison Device is listened, it may include more in operational processor that operational processor, which is used to execute corresponding task according to the service request data, A business scenario processor, according to actual needs, the service request data of different business scenarios can be by specified industry Business scene processor is handled.Business router can then ask business according to the corresponding business scenario of service request data Data are asked to be sent to the i.e. corresponding business scenario processor of corresponding operational processor.In addition, Service Processing Module can also wrap Message listener is included for monitoring Decision Control module, when service request data is sent to business processing mould by Decision Control module When block, then business router is notified to carry out the forwarding of data.
In addition, Service Processing Module can assess downstream traffic system by the response time of each operational processor The response time of the down-stream system evaluated can be fed back to Decision Control module by ability, by Decision Control module according to being The request amount of system and response time dynamic adjustment flood storage threshold value, flood discharge threshold value.May be used also simultaneously in execution stage Decision Control module Component capability with the basis provided for each operational processor, such as: idempotent control assembly, concurrent component, task compensation component It can be used for having controlled whether that service request data repeats to forward Deng, idempotent control assembly, concurrent component can be used for will be a plurality of Service request data forwards together, and task compensation component can be collected the request for sending failure, then compensates weight It is new to send.
The processing system for the service request data that this specification embodiment provides, can access different business scenarios, right The service request data of different business scene carries out parameter configuration, carries out the processing of data automatically according to configuration parameter.It realizes Flood storage, the flood discharge that service request data is carried out based on certain business rule, protect down-stream system, and can be based on system Portfolio and down-stream system the flood storage of processing capacity dynamic decision or flood discharge threshold value so that the processing of service request data is suitable The state for answering system improves the efficiency and flexibility of service request data processing.
The processing system for the service request data that this specification provides can be the processing system of individual service request data System, can also apply in a variety of Data Analysis Services systems.The system may include any one industry in above-described embodiment The processing unit for request data of being engaged in.The system can be individual server, also may include having used this specification It is the server cluster of one or more the methods or one or more embodiment device, system (including distributed system), soft Part (application), practical operation device, logic gates device, quantum computer etc. simultaneously combine the necessary terminal dress for implementing hardware It sets.The detection system of the verification variance data may include at least one processor and storage computer executable instructions Memory, the processor realize the step of method described in above-mentioned any one or multiple embodiments when executing described instruction Suddenly.
Embodiment of the method provided by this specification embodiment can mobile terminal, terminal, server or It is executed in similar arithmetic unit.For running on the server, Fig. 5 is the service request data using the embodiment of the present application The hardware block diagram of processing server.As shown in figure 5, server 10 may include one or more (only showing one in figure) (processor 100 can include but is not limited to the processing dress of Micro-processor MCV or programmable logic device FPGA etc. to processor 100 Set), memory 200 for storing data and the transmission module 300 for communication function.This neighborhood those of ordinary skill It is appreciated that structure shown in fig. 5 is only to illustrate, the structure of above-mentioned electronic device is not caused to limit.For example, server 10 may also include the more or less component than shown in Fig. 5, such as can also include other processing hardware, such as database Or multi-level buffer, GPU, or with the configuration different from shown in Fig. 5.
Memory 200 can be used for storing the software program and module of application software, such as the industry in this specification embodiment Corresponding program instruction/the module of processing method for request data of being engaged in, processor 100 are stored in memory 200 by operation Software program and module, thereby executing various function application and data processing.Memory 200 may include high speed random storage Device may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile solid State memory.In some instances, memory 200 can further comprise the memory remotely located relative to processor 100, this A little remote memories can pass through network connection to terminal.The example of above-mentioned network includes but is not limited to internet, enterprise Industry intranet, local area network, mobile radio communication and combinations thereof.
Transmission module 300 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal provide.In an example, transmission module 300 includes a Network adaptation Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual Networking is communicated.In an example, transmission module 300 can be radio frequency (Radio Frequency, RF) module, use In wirelessly being communicated with internet.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
Method or apparatus described in above-described embodiment that this specification provides can realize that business is patrolled by computer program It collects and records on a storage medium, the storage medium can be read and be executed with computer, realize this specification embodiment institute The effect of description scheme.
This specification embodiment provide above-mentioned service request data processing method or device can in a computer by Processor executes corresponding program instruction to realize, such as using the c++ language of windows operating system in the realization of the end PC, linux System is realized or other are for example realized using android, iOS system programming language in intelligent terminal, and is based on quantum Processing logic realization of computer etc..
It should be noted that specification device described above, computer storage medium, system are implemented according to correlation technique The description of example can also include other embodiments, and concrete implementation mode is referred to the description of corresponding method embodiment, It does not repeat one by one herein.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for hardware+ For program class embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side The part of method embodiment illustrates.
Although the data for mentioning data receiver, parameter configuration, data forwarding or the like in this specification embodiment content obtain The operations and data description such as take, interact, calculating, judging, still, this specification embodiment is not limited to meet industry Communication standard, standard computer data processing and data storage rule, communication protocol and normal data model/template or this explanation Situation described in book embodiment.It is omited on certain professional standards or the practice processes described using customized mode or embodiment Add modified embodiment also and may be implemented above-described embodiment is identical, after equivalent or close or deformation it is anticipated that implementation effect Fruit.Using the embodiment of the acquisitions such as these modifications or deformed data acquisition, storage, judgement, processing mode, still can belong to Within the scope of the optional embodiment of this specification.
This specification embodiment is not limited to meet industry communication standard, standard computer data processing sum number According to situation described in storage rule or this specification one or more embodiment.The right way of conduct is made in certain professional standards or use by oneself In formula or the practice processes of embodiment description embodiment modified slightly also may be implemented above-described embodiment it is identical, it is equivalent or The implementation result being anticipated that after close or deformation.Using these modifications or deformed data acquisition, storage, judgement, processing side The embodiment of the acquisitions such as formula still may belong within the scope of the optional embodiment of this specification embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart, It but may include more or less operating procedure based on conventional or without creativeness means.The step of being enumerated in embodiment Sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.Device in practice or When end product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as it is parallel The environment of processor or multiple threads, even distributed data processing environment).The terms "include", "comprise" or its Any other variant is intended to non-exclusive inclusion so that include the process, methods of a series of elements, product or Equipment not only includes those elements, but also including other elements that are not explicitly listed, or further include for this process, Method, product or the intrinsic element of equipment.In the absence of more restrictions, being not precluded is including the element There is also other identical or equivalent elements in process, method, product or equipment.The first, the second equal words are used to indicate name Claim, and does not indicate any particular order.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this The function of each module can be realized in the same or multiple software and or hardware when specification one or more, it can also be with The module for realizing same function is realized by the combination of multiple submodule or subelement etc..Installation practice described above is only It is only illustrative, for example, in addition the division of the unit, only a kind of logical function partition can have in actual implementation Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with Ignore, or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be logical Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation Signal and carrier wave.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type Routine, programs, objects, component, data structure etc..This this specification one can also be practiced in a distributed computing environment Or multiple embodiments, in these distributed computing environments, by being held by the connected remote processing devices of communication network Row task.In a distributed computing environment, program module can be located at the local and remote computer including storage equipment In storage medium.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material Or feature is contained at least one embodiment or example of this specification.In the present specification, to the signal of above-mentioned term Property statement be necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to book explanation Book one or more embodiment.To those skilled in the art, this specification one or more embodiment can have various Change and variation.All any modification, equivalent replacement, improvement and so within the spirit and principle of this specification, should all wrap It is contained within scope of the claims.

Claims (14)

1. a kind of processing method of service request data, comprising:
Receive service request data;
The corresponding configuration parameter of the service request data is obtained, the configuration parameter includes: direct forwarding, automatic forwarding, stores Flood processing;
According to the configuration parameter, the service request data is forwarded or flood storage.
It is described according to the configuration parameter 2. the method as described in claim 1, the service request data is forwarded or Flood storage, comprising:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, service request Amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, service request Amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
3. method according to claim 2, the method also includes:
According to the response time of the flow of service request data and/or down-stream system, dynamically adjusts the flood storage threshold value, described lets out Big vast threshold value.
It is described according to the configuration parameter 4. the method as described in claim 1, the service request data is forwarded or Flood storage, comprising:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage team Column obtain forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage pond, When waiting flood discharge, the flood storage queue is reentered, the forwarding token is obtained, until the service request data gets institute Stating forwarding token or life cycle terminates.
It is described according to the configuration parameter 5. the method as described in claim 1, the service request data is forwarded or Flood storage, comprising:
If the configuration parameter of the service request data is directly to forward, the service request data is directly forwarded.
6. a kind of processing unit of service request data, comprising:
Data reception module, for receiving service request data;
Configuration parameter obtains module, and for obtaining the corresponding configuration parameter of the service request data, the configuration parameter includes: Directly forwarding, automatic forwarding, flood storage processing;
The service request data is forwarded or flood storage for according to the configuration parameter by data processing module.
7. device as claimed in claim 6, the data processing module includes automatic retransmission unit, is used for:
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, service request Amount and/or response time meet flood storage threshold value, then save the service request data to flood storage queue;
If the configuration parameter of the service request data is automatic forwarding, and when the reception service request data, service request Amount and/or response time meet flood discharge threshold value, then are forwarded the service request data.
8. device as claimed in claim 7, the automatic retransmission unit is also used to:
According to the response time of the flow of service request data and/or down-stream system, dynamically adjusts the flood storage threshold value, described lets out Big vast threshold value.
9. device as claimed in claim 6, the data processing module includes flood storage processing unit, is used for:
If the configuration parameter of the service request data is flood storage processing, the service request data is saved to flood storage team Column obtain forwarding token;
If the service request data gets the forwarding token, the service request data is forwarded;
If the forwarding token has not been obtained in the service request data, the service request data is saved to flood storage pond, When waiting flood discharge, the flood storage queue is reentered, the forwarding token is obtained, until the service request data gets institute Stating forwarding token or life cycle terminates.
10. device as claimed in claim 6, the data processing module includes direct retransmission unit, is used for:
If the configuration parameter of the service request data is directly to forward, the service request data is directly forwarded.
11. a kind of processing system of service request data, comprising:
Service access module provides business interface for the configuration parameter of configuration service scene, and the configuration parameter includes: straight Switch through hair, automatic forwarding, flood storage processing;
Decision Control module, for according to the corresponding configuration parameter of service request data, the service request data to be turned Hair or flood storage;
Service Processing Module, for executing the corresponding task of the service request data.
12. system as claimed in claim 11, the Decision Control module is also used to:
According to the service request data received, and/or, according to the historical data of service request data, determine that the business is asked Seek the flow of data;
According to the response time of the flow of the service request data, down-stream system, dynamic adjusts flood storage threshold value, flood discharge threshold value.
13. system as claimed in claim 11, the Service Processing Module includes: operational processor, business router, message Monitor, the operational processor are used to execute corresponding task according to the service request data, and the business router is used In the service request data is sent to corresponding operational processor, the message listener is for monitoring the Decision Control Module.
14. a kind of processing equipment of service request data, comprising: at least one processor and executable for storage processor The memory of instruction, the processor realize the described in any item methods of claim 1-5 when executing described instruction.
CN201811293024.5A 2018-11-01 2018-11-01 Method, device and system for processing service request data Active CN109617829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811293024.5A CN109617829B (en) 2018-11-01 2018-11-01 Method, device and system for processing service request data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811293024.5A CN109617829B (en) 2018-11-01 2018-11-01 Method, device and system for processing service request data

Publications (2)

Publication Number Publication Date
CN109617829A true CN109617829A (en) 2019-04-12
CN109617829B CN109617829B (en) 2023-03-24

Family

ID=66002449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811293024.5A Active CN109617829B (en) 2018-11-01 2018-11-01 Method, device and system for processing service request data

Country Status (1)

Country Link
CN (1) CN109617829B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263241A (en) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 A kind of data batch processed method and device
CN111161437A (en) * 2019-12-04 2020-05-15 江苏苏宁物流有限公司 General receiving, subscribing and distributing method and system for logistics box codes
CN111770150A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device
CN112600760A (en) * 2020-12-08 2021-04-02 厦门服云信息科技有限公司 Application layer flow rate limiting method, terminal equipment and storage medium
CN112612674A (en) * 2020-12-25 2021-04-06 北京三快在线科技有限公司 Method, device, equipment and computer readable storage medium for monitoring buried point data
CN113051076A (en) * 2021-03-23 2021-06-29 湖南快乐阳光互动娱乐传媒有限公司 Request data processing method and device
CN113067778A (en) * 2021-06-04 2021-07-02 新华三半导体技术有限公司 Flow management method and flow management chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333882A (en) * 2014-10-27 2015-02-04 浪潮电子信息产业股份有限公司 Wireless network traffic control method
CN106506393A (en) * 2016-02-05 2017-03-15 华为技术有限公司 A kind of data flow processing method, device and system
CN106547609A (en) * 2015-09-18 2017-03-29 阿里巴巴集团控股有限公司 A kind of event-handling method and equipment
WO2017118009A1 (en) * 2016-01-07 2017-07-13 中兴通讯股份有限公司 Data packet transmission control method and device
CN108345594A (en) * 2017-01-22 2018-07-31 中国移动通信集团安徽有限公司 Control method, control device and the control system of database access request
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333882A (en) * 2014-10-27 2015-02-04 浪潮电子信息产业股份有限公司 Wireless network traffic control method
CN106547609A (en) * 2015-09-18 2017-03-29 阿里巴巴集团控股有限公司 A kind of event-handling method and equipment
WO2017118009A1 (en) * 2016-01-07 2017-07-13 中兴通讯股份有限公司 Data packet transmission control method and device
CN106506393A (en) * 2016-02-05 2017-03-15 华为技术有限公司 A kind of data flow processing method, device and system
CN108345594A (en) * 2017-01-22 2018-07-31 中国移动通信集团安徽有限公司 Control method, control device and the control system of database access request
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263241A (en) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 A kind of data batch processed method and device
CN110263241B (en) * 2019-05-06 2023-02-28 创新先进技术有限公司 Data batch processing method and device
CN111161437A (en) * 2019-12-04 2020-05-15 江苏苏宁物流有限公司 General receiving, subscribing and distributing method and system for logistics box codes
CN111770150A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN111770150B (en) * 2020-06-24 2022-10-18 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device
CN112337099B (en) * 2020-10-27 2024-01-12 腾讯科技(北京)有限公司 Service management method and device
CN112600760A (en) * 2020-12-08 2021-04-02 厦门服云信息科技有限公司 Application layer flow rate limiting method, terminal equipment and storage medium
CN112600760B (en) * 2020-12-08 2022-06-14 厦门服云信息科技有限公司 Application layer flow rate limiting method, terminal equipment and storage medium
CN112612674A (en) * 2020-12-25 2021-04-06 北京三快在线科技有限公司 Method, device, equipment and computer readable storage medium for monitoring buried point data
CN113051076A (en) * 2021-03-23 2021-06-29 湖南快乐阳光互动娱乐传媒有限公司 Request data processing method and device
CN113067778A (en) * 2021-06-04 2021-07-02 新华三半导体技术有限公司 Flow management method and flow management chip

Also Published As

Publication number Publication date
CN109617829B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN109617829A (en) A kind of processing method of service request data, apparatus and system
JP6716149B2 (en) Blockchain-based data processing method and apparatus
CN108492124A (en) Store information recommends method, apparatus and client
CN108460523A (en) A kind of air control rule generating method and device
CN109634561A (en) A kind of online visual programming method and device
US20200225995A1 (en) Application cleaning method, storage medium and electronic device
CN107679700A (en) Business flow processing method, apparatus and server
CN107368510B (en) A kind of shop search ordering method and device
CN108345977A (en) A kind of method for processing business and device
CN109271587A (en) A kind of page generation method and device
CN109615081A (en) A kind of Model forecast system and method
CN110401700A (en) Model loading method and system, control node and execution node
CN109104327A (en) A kind of business diary generation method, device and equipment
CN108345644A (en) A kind of method and device of data processing
CN109391680A (en) A kind of timed task data processing method, apparatus and system
CN109002357A (en) Resource allocation methods, device and Internet of things system
CN109241026A (en) The method, apparatus and system of data management
CN109922298A (en) Meeting room monitoring method and device
CN108491468A (en) A kind of document processing method, device and server
CN107562496A (en) A kind of method and device of page configuration and page presentation
CN107038058A (en) A kind of code process method and device
CN110046187A (en) Data processing system, method and device
CN109345221A (en) The checking method and device of resource circulation
CN108920183A (en) A kind of operational decision making method, device and equipment
CN108830705A (en) A kind of method of summary of transaction data, device and equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant