CN108390908A - A kind of data request processing method, apparatus and computer readable storage medium - Google Patents

A kind of data request processing method, apparatus and computer readable storage medium Download PDF

Info

Publication number
CN108390908A
CN108390908A CN201810023830.4A CN201810023830A CN108390908A CN 108390908 A CN108390908 A CN 108390908A CN 201810023830 A CN201810023830 A CN 201810023830A CN 108390908 A CN108390908 A CN 108390908A
Authority
CN
China
Prior art keywords
data
service server
request
interface
current limliting
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.)
Pending
Application number
CN201810023830.4A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810023830.4A priority Critical patent/CN108390908A/en
Publication of CN108390908A publication Critical patent/CN108390908A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A kind of data request processing method, apparatus of present invention offer and computer readable storage medium, the business datum of each service server is cached in advance as interface returned content, when needing to carry out current limliting processing to request of data, the corresponding interface returned content of service server interface is called, is returned interface returned content as the business datum of request of data;In this way, even if service server burden is big etc. to lead to user by current limliting, also pre-stored business datum can be sent user, in the case where not increasing burden to service server, also user response can be given in time, and request content can not be obtained in current limliting user's long-time by solving the problems, such as that existing current-limiting method exists.Invention also provides a kind of data request processing device and computer readable storage mediums to enhance the usage experience of user by implementing said program.

Description

A kind of data request processing method, apparatus and computer readable storage medium
Technical field
The present invention relates to the communications fields, can more specifically to a kind of data request processing method, apparatus and computer Read storage medium.
Background technology
With internet high speed development, network flow is increasing to the impact of service server, in order to ensure that business takes The stable operation of business device, needs to be limited with the flow for accessing peak period user, ensures the normal operation of server.
In the prior art, include to the current-limiting method of user's access progress current limliting:Access cache is asked to wait for user Queue, latency services server handles user's request in the traffic handing capacity free time, or directly asks the user repeated It abandons;These modes will all lead to the content that request can not be obtained in current limliting user's long period, reduce user experience.
Invention content
The technical problem to be solved in the present invention is that existing current-limiting method exists can not be obtained in current limliting user's long-time The problem of request content, provides a kind of data request processing method, apparatus and computer-readable storage medium for the technical problem Matter.
In order to solve the above technical problems, the present invention provides a kind of data request processing method, data request processing method Include the following steps:
Receive request of data;
When receiving request of data, searching data asks corresponding service server interface;
When needing to carry out current limliting processing to request of data, the corresponding interface returned content of service server interface is called;
It is returned interface returned content as the business datum of request of data.
Optionally, the step of searching data request corresponding service server interface includes:
Obtain the destination address of request of data;
Call the mapping relations of preset address and interface;
In mapping relations, the corresponding server interface of inquiry destination address.
Optionally, after the step of searching data asks corresponding service server interface, further include:
It adds up to the corresponding request of data quantity of service server interface, obtains real time data number of requests;
Call the corresponding current limliting parameter of service server interface;
When real time data number of requests is more than current limliting parameter, determines and need to carry out current limliting processing to request of data.
Optionally, before the step of calling service server interface corresponding current limliting parameter, further include:
Detect the running state parameter of the service server of service server interface ownership;
According to running state parameter, the data request processing threshold value of service server interface is calculated;
By data request processing threshold value, stored as current limliting parameter.
Optionally, before the step of detecting the running state parameter of service server of service server interface ownership, Further include:
Receive the arrange parameter of detection time;
According to arrange parameter, detection time is set;
At this point, the step of running state parameter of the service server of detection service server interface ownership, includes:It is examining When surveying time arrival, the running state parameter of the service server of detection service server interface ownership.
Optionally, after the step of searching data asks corresponding service server interface, further include:
Detect the malfunction of the service server of service server interface ownership;
When characterization service server failure of nonserviceabling, determines and need to carry out current limliting processing to request of data.
Optionally, before the step of calling service server interface corresponding interface returned content, further include:
Obtain the business datum of the service server of service server interface ownership;
By business datum, stored as interface returned content.
Optionally, it before the step of obtaining the business datum of service server of service server interface ownership, also wraps It includes:
Receive the undated parameter of service data updating time;
According to undated parameter, renewal time is set;
At this point, the step of obtaining the business datum of the service server of service server interface ownership includes:In update Between when reaching, obtain the business datum of the service server of service server interface ownership.
Further, the present invention also provides a kind of data request processing device, data request processing device includes receiving Module, searching module, calling module and return module, wherein:
Receiving module is for receiving request of data;
Searching module is used for when receiving request of data, and searching data asks corresponding service server interface;
For when needing to carry out current limliting processing to request of data, calling, service server interface is corresponding to be connect calling module Mouth returned content;
Module is returned for being returned interface returned content as the business datum of request of data.
Further, it the present invention also provides a kind of computer readable storage medium, is deposited on computer readable storage medium One or more programs are contained, one or more programs are performed the step for realizing data request processing method provided by the invention Suddenly.
Advantageous effect
A kind of data request processing method, apparatus of present invention offer and computer readable storage medium, for existing current limliting Method there are problems that request content can not be obtained in current limliting user's long-time, and the present invention caches each service server in advance Business datum is as interface returned content, when needing to carry out current limliting processing to request of data, calls service server interface pair The interface returned content answered, returns interface returned content as the business datum of request of data;In this way, even if business takes When business device burden is big etc. to lead to user by current limliting, also pre-stored business datum can be sent user, not give business service In the case that device increases burden, user response can be also given in time, solve existing current-limiting method and exist by current limliting user for a long time Interior the problem of can not obtaining request content, enhance the usage experience of user.
Description of the drawings
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware architecture diagram of Fig. 1 optional mobile terminals of each embodiment one to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart for the data request processing method that first embodiment of the invention provides;
Fig. 4 is the schematic diagram for the data request processing device that first embodiment of the invention provides;
Fig. 5 is the schematic diagram for the data request processing system that second embodiment of the invention provides;
Fig. 6 is the flow chart for the data request processing method that second embodiment of the invention provides;
Fig. 7 is the schematic diagram for the data request processing system that third embodiment of the invention provides;
Fig. 8 is the flow chart for the data request processing method that third embodiment of the invention provides;
Fig. 9 is the schematic diagram for the data request processing system that third embodiment of the invention provides;
Figure 10 is the flow chart for the data request processing method that fourth embodiment of the invention provides;
Figure 11 be the present embodiments relate to configuration interface schematic diagram;
Figure 12 is the structural schematic diagram for the data request processing server that fifth embodiment of the invention provides.
Specific implementation mode
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110, power supply 111 and antenna 112.Wherein, in the mobile terminal 100 shown in Fig. 1 Based on being currently connected to the main transmitting-receiving access of mobile terminal 100 including at least three groups of antennas 112, at least three groups of antennas 112 Antenna, be currently connected to the auxiliary receiving path of mobile terminal 100 supplemented by antenna, it is remaining be spare antenna, processor 110 can To control break-make situation of each group of antenna respectively with main transmitting-receiving access and auxiliary receiving path, when processor 110 controls a certain group When antenna is connected to main transmitting-receiving access, radio frequency unit 101 can be received or be sent signal by this group of antenna, it should be appreciated that At least three groups of antennas 112 can be flexibly arranged on any position of mobile terminal 100, for example, when including on mobile terminal 100 When three groups of antennas 112, this three groups of antennas 112 can be separately positioned on the top, lower left and bottom right at 100 back side of mobile terminal Side.Those skilled in the art are further appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, Mobile terminal may include either combining certain components or different components arrangement than illustrating more or fewer components.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the present invention mobile terminal involved by wireless communication system into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203, the IP operation of operator 204。
Specifically, UE201 can be above-mentioned user terminal 100, and details are not described herein again, including the first user below related to The second user terminal UE 2012 that the first user terminal UE2011 and second user used is used.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc., in the present invention, IP operation 204 can be application service, then corresponding, registrar It also will be by the entity device of realization IP operation 204 or virtual unit realization.
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the present invention is proposed.
First embodiment
Request content can not be obtained in current limliting user's long-time in order to solve the problems, such as that existing current-limiting method exists, is provided The present embodiment;Fig. 3 is the flow chart of data request processing method provided in this embodiment, from the figure 3, it may be seen that the data request processing Method includes the following steps:
S301, request of data is received.
In the present invention, request of data refers to the request generated according to controls operations such as user's selection operation, input operations, These requests from service server for obtaining business datum.Such as user will generate for from video when selecting to play video Server asks the playing request of video data;For another example, it when user scans for, will generate for being searched from data server requests The searching request etc. of rope data.
In the present invention, optionally, this step can be realized by gateway server, the data that can be newly provided by the present invention It asks processing server to be realized, can also realize, will tie below with gateway server and request of data processing server Embodiment is closed to be specifically described.
S302, when receiving request of data, searching data asks corresponding service server interface.
In the present invention, the service server interface of all corresponding service server of request of data (hereinafter referred to as connects Mouthful), for example, when video server provides multiple video datas, each video data corresponds to a service server interface.
In the present invention, these service server interfaces can be the physical interface of entity, can also be virtual interface.
In the present invention, this step includes:Obtain the destination address of request of data;Call reflecting for preset address and interface Penetrate relationship;In mapping relations, the corresponding server interface of inquiry destination address.
Optionally, mapping relations can be realized by way of plain text, can be realized, can also be led to by functional relation The mode for crossing table is realized;By taking mapping relations are realized by the way of table as an example, mapping relations are as shown in table 1 below:
Table 1
As shown in Table 1, the present invention can provide current limliting service at least one service server.One service server can It can be distinguished by different port numbers with providing one or more business datums when providing multiple business data. In table 1, the corresponding different service server of different network address (IP address before colon), same network address then corresponds to phase Same service server, different port numbers (IP address after colon) then correspond to different business datums.
S303, when needing to carry out current limliting processing to request of data, call the corresponding interface of service server interface to return Content.
Current limliting trigger condition can be diversified, such as carry out current limliting for user, or be directed to request of data sheet Body carries out current limliting.
The mode that current limliting is carried out for user is directly to execute current limliting to the user of specific user or specific region, without Consider the malfunction or operating status of service server.For example, 1 corresponding current-limiting mode of interface is carried out to specific user Current limliting further includes such step at this point, before this step:The user identifier that request of data 1 carries is extracted, such as network account Family etc., judges whether this user identifier belongs to 1 corresponding current limliting user list of interface, if so, thinking to need to ask data 1 carry out current limliting processing is asked, if not, then it is assumed that current limliting processing need not be carried out to request of data 1;For another example, 3 corresponding current limliting of interface Mode is to carry out current limliting to specific region user, further includes such step at this point, before this step:Extract request of data 3 The source network address of carrying searches the corresponding position of the source network address, judges whether this position belongs to 3 corresponding limit of interface Region is flowed, if so, thinking to need to carry out current limliting processing to request of data 3, if not, then it is assumed that need not to request of data 3 into The processing of row current limliting.
The operating status or malfunction that current limliting only needs consideration service server are carried out for request of data itself, and User or position are not considered.
For example, the corresponding current-limiting mode of interface is the quantity of request of data pending in the unit interval not above current limliting Parameter further includes such step at this point, before this step:To the corresponding request of data quantity of service server interface into Row is cumulative, obtains real time data number of requests, the corresponding current limliting parameter of service server interface is called, in real time data number of request Amount be more than current limliting parameter when, determine need to request of data carry out current limliting processing, otherwise, then it is assumed that need not to request of data into The processing of row current limliting.
Current limliting parameter can be static, can also be dynamic.Static mode is fairly simple, such as setting current limliting parameter It adds up, obtains real to the request of data quantity in current slot at this time using minute as the unit time for 100/minute When request of data quantity, real time data number of requests (when such as 120) be more than current limliting parameter when, it is believed that need to newest reception Request of data carries out current limliting processing, when real time data number of requests (when such as 20) is less than current limliting parameter, it is believed that need not be to most The request of data newly received carries out current limliting processing.
Dynamical fashion then needs before calling the corresponding current limliting parameter of service server interface, and detection service server connects The running state parameter of the service server of mouth ownership, according to running state parameter, the data for calculating service server interface are asked Processing threshold value is sought, data request processing threshold value is stored as current limliting parameter.Running state parameter may include business clothes The response time of the load condition and interface of business device, service server interface is then calculated according to load condition and response time Data request processing threshold value, this calculation can be diversified, and the bigger, response time is loaded as long as generally meeting Longer, corresponding data request processing threshold value is smaller.
In order to realize that dynamic updates the data request processing threshold value, optionally, in the industry of detection service server interface ownership Before the step of running state parameter of business server, further include:Receive the arrange parameter of detection time;It is set according to arrange parameter Set detection time;At this point, the step of running state parameter of the service server of detection service server interface ownership, includes: When detection time reaches, the running state parameter of the service server of detection service server interface ownership.As shown in figure 11, it examines The arrange parameter for surveying the time includes detection cycle, such as is set as 5 minutes etc., thus is set as examining for 5 minutes by detection time It surveys primary.
For example, the corresponding current-limiting mode of interface is that service server is unable to failure, at this point, being asked in searching data corresponding After the step of service server interface, further include:Detect the malfunction of the service server of service server interface ownership; When characterization service server failure of nonserviceabling, determines and need to carry out current limliting processing to request of data.The present embodiment realizes letter Singly, the response etc. of service server is not received by the keep-alive message interruption, preset duration such as between service server, It can think service server failure, if request of data is forwarded to service server at this time, not only result in business service The failure of device is more serious, also results in user and is unable to get response for a long time, at this point, the present invention is also to the request of data of user Current limliting is carried out, the corresponding interface returned content of interface is returned to user, solves the problems, such as that user is unable to get response for a long time, together When reduce service server fault degree.
It for the corresponding interface returned content of interface, can be fixed, can also be that dynamic is newer;Fixed form Data suitable for user's request are scene of immobilized substance, such as user's request video data etc., and dynamic update mode is then Data suitable for user's request are scene of timeliness content, such as user's request search data etc..For fixed form, it is only necessary to It to be obtained to service server primary;Then the corresponding interface of service server interface is being called to return for dynamic update mode Before the step of returning content, further include:Obtain the business datum of the service server of service server interface ownership;By business number According to being stored as interface returned content.Optionally, in the business for the service server for obtaining service server interface ownership Before the step of data, further include:Receive the undated parameter of service data updating time;When according to undated parameter, update is set Between;At this point, the step of obtaining the business datum of the service server of service server interface ownership includes:It is reached in renewal time When, obtain the business datum of the service server of service server interface ownership.As shown in figure 11, the undated parameter of renewal time It including the update cycle, such as is set as 5 minutes etc., it is primary will to be thus set as detection in 5 minutes renewal time.
S304, it is returned interface returned content as the business datum of request of data.
This step is the step of conventional return business datum is to user, is repeated no more.
As shown in figure 4, the present invention also provides a kind of data request processing device 4, data request processing device 4 includes connecing It receives module 41, searching module 42, calling module 43, return to module 44, policy module 45 and content module 46, wherein:
Receiving module 41 is for receiving request of data;
Searching module 42 is used for when receiving request of data, and searching data asks corresponding service server interface;
Calling module 43 is used to, when needing to carry out current limliting processing to request of data, call service server interface corresponding Interface returned content;
Module 44 is returned for being returned interface returned content as the business datum of request of data;
Policy module 45 is used to receive the arrange parameter of detection time, and detection time is arranged according to arrange parameter, is detecting When time reaches, the running state parameter of the service server of detection service server interface ownership, according to running state parameter, The data request processing threshold value for calculating service server interface is stored data request processing threshold value as current limliting parameter;
Content module 46 is used to receive the undated parameter of service data updating time, when update is arranged according to undated parameter Between, when reaching renewal time, the business datum of the service server of service server interface ownership is obtained, by business datum, It is stored as interface returned content.
Optionally, data request processing device 4 can be realized by gateway server, the data that can be newly provided by the present invention It asks processing server 12 to be realized, can also be realized with gateway server and request of data processing server 12, it will be under Text is specifically described in conjunction with the embodiments.
It in conjunction with some embodiments, is briefly described, device provided in this embodiment includes Back Administration Module (Fig. 4 In policy module 45 and content module 46) and user's request processing module (receiving module 41, searching module 42 in Fig. 4 are adjusted With module 43, return to module 44), Back Administration Module is managed returned content, server interface health examination etc., user Request processing module is to carry out judging whether to trigger current limliting according to server real-time condition for each request.
Back Administration Module includes function:Interface management, administrative staff can configure which interface whether do current limliting, current limliting Threshold value be how many, the content that interface returns is static or dynamic, if it is dynamically needing to configure relevant service server Information;After some interface triggers current limliting, any static content returned for Content Management;Health examination, regular check server shape State, the scope of examination include server load condition, and the interface corresponding time calculates the threshold value that outgoing interface can be born in real time;Timing is appointed Business management, configuring timing tasks, the interface returned content of refreshing content management platform ensure the number that client is returned to when current limliting According to real-time.
User's request processing module using redis+lua+redis components nginx (high performance HTTP and Reverse Proxy) it asks to carry out current limliting judgement, the concurrently support of redis+lua+redis to user when forwarding 10000+ does not interfere with service feature.Using the reason of redis be single because redis is single thread, will not thread switching disappear Consumption, adds up user's request interface by the incr of redis, cut-off current this moment is obtained from backstage in real time, if set out Current limliting, the then content that returned content management platform configures.
The implementation process of the present embodiment is:It is configured according to current limliting interface, obtains threshold value, portal contents information, if content It is dynamic, timing is needed to call service server, the business tine that service server returns is obtained, then the title of interface It is saved in the form of key-value pair with the content of return;User's request is intercepted into server by nginx, and redis is utilized Single thread, the atomicity of inrc, the High Availabitity of lua counts interface requests, obtains in the interface threshold value and interface returns Hold, judge whether to reach threshold value, if reaching threshold value, obtaining the interface as key using interface name from current limliting layer the inside should return The content returned, if not reaching threshold value, entering has service server.
The present embodiment can dynamically limit flow, do not have to human intervention, can ensure the stabilization of server at the first time Property, the current limliting content of return may be implemented quasi real time to promote the overall experience of user.
The present embodiment there are problems that in current limliting user's long-time request content can not be obtained for existing current-limiting method, The business datum of each service server is cached in advance as interface returned content, is needing to carry out current limliting processing to request of data When, the corresponding interface returned content of service server interface is called, using interface returned content as the business datum of request of data It is returned;, also can be by pre-stored business datum in this way, even if service server burden is big etc. when leading to user by current limliting User response can also be given, solve existing current limliting side in time in the case where not increasing burden to service server by sending user Method there are problems that in current limliting user's long-time request content can not be obtained, and enhance the usage experience of user.
In conjunction with specific usage scenario the present invention is described further book.
Second embodiment
The present embodiment is illustrated so that data request processing device is realized by gateway server as an example.
Fig. 5 is the schematic diagram of data request processing system provided in this embodiment, and as shown in Figure 5, which includes user Terminal 51, gateway server 52 and service server 53 (video server 531 and data server 532) composition, gateway service Device 52 carries out data interaction between the request of data and service server using usual manner reception user;Video server 531 Video data is provided a user, since video data needs to change after generation, gateway server 52 uses fixed form The business datum of video server 531 is stored as interface returned content;Data server 532 provides a user search data, Due to the real-time of database, search data can change in different moments, it is therefore desirable to which dynamic updates, it is assumed that update within 5 minutes Once, then gateway server 52 needs 5 minutes once to obtain newest search data from data server 532.
Fig. 6 is the flow chart of data request processing method provided in this embodiment, it will be appreciated from fig. 6 that the data request processing Method includes the following steps:
S601, gateway server obtain the corresponding current limliting parameter of the interface message of each service server, interface, interface returns Content.
This step includes:
S601a, gateway server obtain video data from video server using fixed form and store.
S601b, gateway server obtain search data from data server using period update mode and store.
S601c, gateway server obtain the corresponding current limliting parameter of service server using period update mode and store.
S601d, gateway server obtain the corresponding current limliting parameter of data server using period update mode and store.
By this step, gateway server is stored with multiple service server interfaces, the corresponding network address of each interface, limit Flow parameter and interface returned content.
S602, gateway server receive the request of data for carrying out user terminal.
S603, gateway server determine corresponding interface, and add up to request of data, and the corresponding limit of calling interface Flow parameter.
This step is network address lookup corresponding interface of the gateway server according to request of data.
S604, gateway server judge whether to need to carry out current limliting to request of data.When needing to carry out current limliting, step is executed Rapid S605 executes step S607 when that need not carry out current limliting.
S605, gateway server search the corresponding interface returned content of interface.
Interface returned content is sent to the user terminal by S606, gateway server.
S607, gateway server forward request of data to service server.
This step includes:
S607a, when request of data is to ask the video request of video data, gateway server forwards request of data to regarding Frequency server.
S607b, when request of data is the searching request of request search data, gateway server forwards request of data to number According to server.
S608, service server call the corresponding business datum of request of data.
This step includes:
S608a, video server search the corresponding video data of video request.
S608b, data server generate corresponding search data according to searching request.
S609, service server send business datum to gateway server.
This step includes:
S609a, video server send the corresponding video data of video request to gateway server.
S608b, data server send search data to gateway server.
S610, gateway server send business datum to user terminal.
3rd embodiment
The present embodiment is illustrated so that data request processing device is realized by data request processing server as an example.
Fig. 7 is the schematic diagram of data request processing system provided in this embodiment, and as shown in Figure 7, which includes user Terminal 71, gateway server 72, data request processing server 73 and service server 74 (video server 741 and data clothes Business device 742) composition, gateway server 72 receives the request of data of user using usual manner, and request of data is forwarded to number According to request processing server 73, data interaction is carried out between data request processing server 73 and service server 74;Video takes Business device 741 provides a user video data, since video data needs to change after generation, data request processing server 73 store the business datum of video server 741 as interface returned content using fixed form;Data server 742 is to user Search data being provided, due to the real-time of database, search data can change in different moments, it is therefore desirable to dynamic updates, It is assumed that update in 5 minutes is primary, then data request processing server 73 needs once obtained most from data server 742 for 5 minutes New search data.
Fig. 8 is the flow chart of data request processing method provided in this embodiment, as shown in Figure 8, the data request processing Method includes the following steps:
S801, data request processing server obtain the corresponding current limliting parameter of the interface message of each service server, interface, Interface returned content.
This step includes:
S801a, data request processing server obtain video data from video server using fixed form and store.
S801b, data request processing server obtain search data from data server using period update mode and deposit Storage.
S801c, data request processing server obtain the corresponding current limliting parameter of service server using period update mode And it stores.
S801d, data request processing server obtain the corresponding current limliting parameter of data server using period update mode And it stores.
By this step, data request processing server storage has multiple service server interfaces, the corresponding net of each interface Network address, current limliting parameter and interface returned content.
S802, data request processing server receive request of data.
This step includes:
S802a, gateway server receive the request of data for carrying out user terminal;
S802b, gateway server are forwarded to data request processing server.
S803, data request processing server determine the corresponding interface of request of data.
This step is the corresponding interface of network address lookup of data request processing server based on data request.
S804, data request processing server add up to request of data, and the corresponding current limliting parameter of calling interface.
S805, data request processing server judge whether to need to carry out current limliting to request of data.It is needing to carry out current limliting When, step S806 is executed, when current limliting need not be carried out, executes step S809.
The corresponding interface returned content of S806, data request processing whois lookup interface.
S807, data request processing server transmission interface returned content to gateway server.
Interface returned content is sent to the user terminal by S808, gateway server.
S809, data request processing server forward request of data to service server.
This step includes:
S809a, request of data be ask video data video request when, data request processing server forward data It asks to video server.
S809b, request of data be request search data searching request when, data request processing server forward data It asks to data server.
S810, service server call the corresponding business datum of request of data.
This step includes:
S810a, video server search the corresponding video data of video request.
S810b, data server generate corresponding search data according to searching request.
S811, service server send business datum to data request processing server.
This step includes:
S811a, video server send the corresponding video data of video request to data request processing server.
S811b, data server send search data to data request processing server.
S812, data request processing server send business datum to gateway server.
S813, gateway server send business datum to user terminal.
Fourth embodiment
The present embodiment in data request processing device policy module and content by data request processing server realize, Other modules illustrate for being realized by gateway server.
Fig. 9 is the schematic diagram of data request processing system provided in this embodiment, and as shown in Figure 9, which includes user Terminal 91, gateway server 92, data request processing server 93 and service server 94 (video server 941 and data clothes Business device 942) it forms, gateway server 92 carries out between the request of data and service server 94 using usual manner reception user Data interaction;Video server 941 provides a user video data, since video data needs to change after generation, number The business datum of video server 941 is stored as interface returned content using fixed form according to request processing server 93;Number Search data are provided a user according to server 942, due to the real-time of database, search data can change in different moments, Therefore need dynamic to update, it is assumed that update in 5 minutes is primary, then data request processing server 93 need 5 minutes once from number Newest search data are obtained according to server 942.
Figure 10 is the flow chart of data request processing method provided in this embodiment, as shown in Figure 10, at the request of data Reason method includes the following steps:
S1001, data request processing server obtain the corresponding current limliting ginseng of the interface message of each service server, interface Number, interface returned content.
This step includes:
S1001a, data request processing server obtain video data from video server using fixed form and store.
S1001b, data request processing server obtain search data from data server using period update mode and deposit Storage.
S1001c, data request processing server obtain the corresponding current limliting parameter of service server using period update mode And it stores.
S1001d, data request processing server obtain the corresponding current limliting parameter of data server using period update mode And it stores.
By this step, data request processing server storage has multiple service server interfaces, the corresponding limit of each interface Stream parameter and interface returned content, gateway server are stored with the corresponding network address of each service server interface.
S1002, gateway server receive the request of data for carrying out user terminal.
S1003, gateway server determine the corresponding interface of request of data, add up to request of data.
This step is network address lookup corresponding interface of the gateway server according to request of data.
S1004, gateway server are communicated with data request processing server, obtain the corresponding current limliting parameter of interface and Interface returned content.
S1005, gateway server judge whether to need to carry out current limliting to request of data.When needing to carry out current limliting, execute Step S1006 executes step S1007 when that need not carry out current limliting.
Interface returned content is sent to the user terminal by S1006, gateway server.
S1007, gateway server forward request of data to service server.
This step includes:
S1007a, request of data be ask video data video request when, gateway server forward request of data extremely Video server.
S1007b, request of data be request search data searching request when, gateway server forward request of data extremely Data server.
S1008, service server call the corresponding business datum of request of data.
This step includes:
S1008a, video server search the corresponding video data of video request.
S1008b, data server generate corresponding search data according to searching request.
S1009, service server send business datum to gateway server.
This step includes:
S1009a, video server send the corresponding video data of video request to gateway server.
S1008b, data server send search data to gateway server.
S1010, gateway server send business datum to user terminal.
5th embodiment
A kind of data request processing server is present embodiments provided, it is shown in Figure 12, including processor 1201, storage Device 1202 and communication bus 1203;
Communication bus 1203 is for realizing the connection communication between processor 1201, memory 1202;
Memory 1202 is for executing one or more programs;
Processor 1201 is for executing one or more program stored in memory, to realize following steps:
Receive request of data;
When receiving request of data, searching data asks corresponding service server interface;
When needing to carry out current limliting processing to request of data, the corresponding interface returned content of service server interface is called;
It is returned interface returned content as the business datum of request of data.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
Obtain the destination address of request of data;
Call the mapping relations of preset address and interface;
In mapping relations, the corresponding server interface of inquiry destination address.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
After searching data asks corresponding service server interface, request of data corresponding to service server interface Quantity adds up, and obtains real time data number of requests;
Call the corresponding current limliting parameter of service server interface;
When real time data number of requests is more than current limliting parameter, determines and need to carry out current limliting processing to request of data.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
Before calling the corresponding current limliting parameter of service server interface, the business clothes of detection service server interface ownership The running state parameter of business device;
According to running state parameter, the data request processing threshold value of service server interface is calculated;
By data request processing threshold value, stored as current limliting parameter.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
Receive the arrange parameter of detection time;
According to arrange parameter, detection time is set;
When being reached between when detecting, the running state parameter of the service server of detection service server interface ownership.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
After searching data asks corresponding service server interface, the business clothes of detection service server interface ownership The malfunction of business device;
When characterization service server failure of nonserviceabling, determines and need to carry out current limliting processing to request of data.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
Before calling the corresponding interface returned content of service server interface, the industry of service server interface ownership is obtained The business datum of business server;
By business datum, stored as interface returned content.
In some embodiments, processor 1201 is additionally operable to execute one or more journey stored in memory 1202 Sequence, to realize following steps:
Receive the undated parameter of service data updating time;
According to undated parameter, renewal time is set;
When reaching renewal time, the business datum of the service server of service server interface ownership is obtained.
The present invention also provides a kind of computer readable storage medium, computer-readable recording medium storage there are one or Multiple programs, one or more program can be executed by one or more processor, to realize following steps:
Receive request of data;
When receiving request of data, searching data asks corresponding service server interface;
When needing to carry out current limliting processing to request of data, the corresponding interface returned content of service server interface is called;
It is returned interface returned content as the business datum of request of data.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
Obtain the destination address of request of data;
Call the mapping relations of preset address and interface;
In mapping relations, the corresponding server interface of inquiry destination address.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
After searching data asks corresponding service server interface, request of data corresponding to service server interface Quantity adds up, and obtains real time data number of requests;
Call the corresponding current limliting parameter of service server interface;
When real time data number of requests is more than current limliting parameter, determines and need to carry out current limliting processing to request of data.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
Before calling the corresponding current limliting parameter of service server interface, the business clothes of detection service server interface ownership The running state parameter of business device;
According to running state parameter, the data request processing threshold value of service server interface is calculated;
By data request processing threshold value, stored as current limliting parameter.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
Receive the arrange parameter of detection time;
According to arrange parameter, detection time is set;
When being reached between when detecting, the running state parameter of the service server of detection service server interface ownership.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
After searching data asks corresponding service server interface, the business clothes of detection service server interface ownership The malfunction of business device;
When characterization service server failure of nonserviceabling, determines and need to carry out current limliting processing to request of data.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
Before calling the corresponding interface returned content of service server interface, the industry of service server interface ownership is obtained The business datum of business server;
By business datum, stored as interface returned content.
In some embodiments, one or more program can be executed by one or more processor, following to realize Step:
Receive the undated parameter of service data updating time;
According to undated parameter, renewal time is set;
When reaching renewal time, the business datum of the service server of service server interface ownership is obtained.
A kind of data request processing method, apparatus of present invention offer and computer readable storage medium, for existing current limliting Method there are problems that request content can not be obtained in current limliting user's long-time, and the present invention caches each service server in advance Business datum is as interface returned content, when needing to carry out current limliting processing to request of data, calls service server interface pair The interface returned content answered, returns interface returned content as the business datum of request of data;In this way, even if business takes When business device burden is big etc. to lead to user by current limliting, also pre-stored business datum can be sent user, not give business service In the case that device increases burden, user response can be also given in time, solve existing current-limiting method and exist by current limliting user for a long time Interior the problem of can not obtaining request content, enhance the usage experience of user.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of data request processing method, which is characterized in that the data request processing method includes the following steps:
Receive request of data;
When receiving request of data, the corresponding service server interface of the request of data is searched;
When needing to carry out current limliting processing to the request of data, call in the corresponding interface return of the service server interface Hold;
The interface returned content is returned as the business datum of the request of data.
2. data request processing method as described in claim 1, which is characterized in that the lookup request of data is corresponding The step of service server interface includes:
Obtain the destination address of the request of data;
Call the mapping relations of preset address and interface;
In the mapping relations, the corresponding server interface of the destination address is inquired.
3. data request processing method as described in claim 1, which is characterized in that searching the corresponding industry of the request of data After the step of business server interface, further include:
It adds up to the corresponding request of data quantity of the service server interface, obtains real time data number of requests;
Call the corresponding current limliting parameter of the service server interface;
When the real time data number of requests is more than the current limliting parameter, determines and need to carry out at current limliting the request of data Reason.
4. data request processing method as claimed in claim 3, which is characterized in that calling the service server interface pair Before the step of current limliting parameter answered, further include:
Detect the running state parameter of the service server of the service server interface ownership;
According to the running state parameter, the data request processing threshold value of the service server interface is calculated;
By the data request processing threshold value, stored as the current limliting parameter.
5. data request processing method as claimed in claim 4, which is characterized in that return detecting the service server interface Before the step of running state parameter of the service server of category, further include:
Receive the arrange parameter of detection time;
According to the arrange parameter, detection time is set;
At this point, the step of detecting the running state parameter of the service server of the service server interface ownership includes:It is examining When surveying time arrival, the running state parameter of the service server of the service server interface ownership is detected.
6. data request processing method as described in claim 1, which is characterized in that searching the corresponding industry of the request of data After the step of business server interface, further include:
Detect the malfunction of the service server of the service server interface ownership;
When the malfunction characterizes the service server failure, determines and need to carry out at current limliting the request of data Reason.
7. such as claim 1 to 6 any one of them data request processing method, which is characterized in that calling the business clothes Be engaged in device interface corresponding interface returned content the step of before, further include:
Obtain the business datum of the service server of the service server interface ownership;
By the business datum, stored as the interface returned content.
8. data request processing method as claimed in claim 7, which is characterized in that return obtaining the service server interface Before the step of business datum of the service server of category, further include:
Receive the undated parameter of service data updating time;
According to the undated parameter, renewal time is set;
At this point, the step of obtaining the business datum of the service server of the service server interface ownership includes:In update Between when reaching, obtain the business datum of the service server of the service server interface ownership.
9. a kind of data request processing device, which is characterized in that the data request processing device includes receiving module, searches mould Block, calling module and return module, wherein:
The receiving module is for receiving request of data;
The searching module is used for when receiving request of data, searches the corresponding service server interface of the request of data;
The calling module is used to, when needing to carry out current limliting processing to the request of data, call the service server interface Corresponding interface returned content;
The return module is for returning to the interface returned content as the business datum of the request of data.
10. a kind of computer readable storage medium, which is characterized in that on the computer readable storage medium storage there are one or Multiple programs, one or more of programs are performed realization such as claim 1 to 8 any one of them data request processing The step of method.
CN201810023830.4A 2018-01-10 2018-01-10 A kind of data request processing method, apparatus and computer readable storage medium Pending CN108390908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810023830.4A CN108390908A (en) 2018-01-10 2018-01-10 A kind of data request processing method, apparatus and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810023830.4A CN108390908A (en) 2018-01-10 2018-01-10 A kind of data request processing method, apparatus and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108390908A true CN108390908A (en) 2018-08-10

Family

ID=63076804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810023830.4A Pending CN108390908A (en) 2018-01-10 2018-01-10 A kind of data request processing method, apparatus and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108390908A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582680A (en) * 2018-10-19 2019-04-05 中国平安人寿保险股份有限公司 Method for processing business, electronic device and readable storage medium storing program for executing based on new product development
CN109714265A (en) * 2018-12-25 2019-05-03 广州华多网络科技有限公司 A kind of terminal current-limiting method, server, system and storage medium
CN110554918A (en) * 2019-08-09 2019-12-10 北京字节跳动网络技术有限公司 Current limiting method, current limiting device, electronic equipment and computer readable storage medium
CN110704422A (en) * 2019-08-14 2020-01-17 招联消费金融有限公司 Data query method, device, system, computer equipment and storage medium
CN111061171A (en) * 2019-12-04 2020-04-24 广州穗能通能源科技有限责任公司 Power distribution room monitoring system, power distribution room data processing and calling method and device
CN111343101A (en) * 2020-02-03 2020-06-26 江苏满运软件科技有限公司 Server current limiting method and device, electronic equipment and readable storage medium
CN111478857A (en) * 2019-01-24 2020-07-31 北京嘀嘀无限科技发展有限公司 Interface current limiting control method and device and electronic equipment
CN111970339A (en) * 2020-07-30 2020-11-20 北京金山云网络技术有限公司 Request control method and device and electronic equipment
CN113360307A (en) * 2021-05-31 2021-09-07 珠海大横琴科技发展有限公司 Data processing method and device
CN113726878A (en) * 2021-08-30 2021-11-30 深圳追一科技有限公司 Session processing method, system, device and storage medium in cluster environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618429A (en) * 2014-12-23 2015-05-13 华为技术有限公司 Information interacting method and device
CN106155646A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 A kind of external application that limits calls the method and device of service
US20170272371A1 (en) * 2016-03-21 2017-09-21 Alibaba Group Holding Limited Flow control in connection with an access request
CN107370684A (en) * 2017-06-15 2017-11-21 腾讯科技(深圳)有限公司 Business current-limiting method and business current-limiting apparatus
CN107528885A (en) * 2017-07-17 2017-12-29 阿里巴巴集团控股有限公司 A kind of service request processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618429A (en) * 2014-12-23 2015-05-13 华为技术有限公司 Information interacting method and device
CN106155646A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 A kind of external application that limits calls the method and device of service
US20170272371A1 (en) * 2016-03-21 2017-09-21 Alibaba Group Holding Limited Flow control in connection with an access request
CN107370684A (en) * 2017-06-15 2017-11-21 腾讯科技(深圳)有限公司 Business current-limiting method and business current-limiting apparatus
CN107528885A (en) * 2017-07-17 2017-12-29 阿里巴巴集团控股有限公司 A kind of service request processing method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582680A (en) * 2018-10-19 2019-04-05 中国平安人寿保险股份有限公司 Method for processing business, electronic device and readable storage medium storing program for executing based on new product development
CN109582680B (en) * 2018-10-19 2024-04-16 中国平安人寿保险股份有限公司 Business processing method based on new product development, electronic device and readable storage medium
CN109714265A (en) * 2018-12-25 2019-05-03 广州华多网络科技有限公司 A kind of terminal current-limiting method, server, system and storage medium
CN109714265B (en) * 2018-12-25 2021-03-02 广州方硅信息技术有限公司 Terminal current limiting method, server, system and storage medium
CN111478857B (en) * 2019-01-24 2023-06-13 北京嘀嘀无限科技发展有限公司 Interface current limiting control method and device and electronic equipment
CN111478857A (en) * 2019-01-24 2020-07-31 北京嘀嘀无限科技发展有限公司 Interface current limiting control method and device and electronic equipment
CN110554918A (en) * 2019-08-09 2019-12-10 北京字节跳动网络技术有限公司 Current limiting method, current limiting device, electronic equipment and computer readable storage medium
CN110704422A (en) * 2019-08-14 2020-01-17 招联消费金融有限公司 Data query method, device, system, computer equipment and storage medium
CN110704422B (en) * 2019-08-14 2023-08-15 招联消费金融有限公司 Data query method, device, system, computer equipment and storage medium
CN111061171A (en) * 2019-12-04 2020-04-24 广州穗能通能源科技有限责任公司 Power distribution room monitoring system, power distribution room data processing and calling method and device
CN111343101B (en) * 2020-02-03 2023-04-28 江苏满运软件科技有限公司 Server current limiting method, device, electronic equipment and readable storage medium
CN111343101A (en) * 2020-02-03 2020-06-26 江苏满运软件科技有限公司 Server current limiting method and device, electronic equipment and readable storage medium
CN111970339B (en) * 2020-07-30 2022-05-10 北京金山云网络技术有限公司 Request control method and device and electronic equipment
CN111970339A (en) * 2020-07-30 2020-11-20 北京金山云网络技术有限公司 Request control method and device and electronic equipment
CN113360307B (en) * 2021-05-31 2022-09-20 珠海大横琴科技发展有限公司 Data processing method and device
CN113360307A (en) * 2021-05-31 2021-09-07 珠海大横琴科技发展有限公司 Data processing method and device
CN113726878A (en) * 2021-08-30 2021-11-30 深圳追一科技有限公司 Session processing method, system, device and storage medium in cluster environment

Similar Documents

Publication Publication Date Title
CN108390908A (en) A kind of data request processing method, apparatus and computer readable storage medium
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN108563499A (en) CDN server switching method, mobile terminal and computer readable storage medium
CN107038245A (en) Page switching method, mobile terminal and storage medium
CN109725866A (en) Application interface display methods, terminal and computer readable storage medium
CN108566304A (en) Interface control method, electronic equipment and computer readable storage medium
CN108768775A (en) Information processing method, electronic equipment and computer storage media
CN108600330A (en) Deferred information method for pushing, equipment and computer readable storage medium
CN107832163A (en) A kind of buffering updating method, server and computer-readable recording medium
CN110177177A (en) Message back method, mobile terminal and computer readable storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN107911536A (en) A kind of across application program access method, equipment and computer-readable recording medium
CN107678625A (en) Information Sharing menu display method, mobile terminal and computer-readable recording medium
CN108449513A (en) A kind of interaction regulation and control method, equipment and computer readable storage medium
CN107124466A (en) One kind prevents caching penetrating method and device, computer-readable recording medium
CN110531919A (en) A kind of fingerprint touch-control mapping control method, terminal and computer readable storage medium
CN108509586A (en) The method, apparatus and computer readable storage medium of cache management
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108306856A (en) A kind of interface merging method, client, server and computer readable storage medium
CN107818022A (en) Application programming interfaces merging method, mobile terminal and computer-readable recording medium
CN107222525A (en) Data network connection status display methods, terminal and computer-readable recording medium
CN110052023A (en) Game control method, mobile terminal and computer readable storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN108777734A (en) A kind of application invitation method, terminal and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810

RJ01 Rejection of invention patent application after publication