CN106254331A - A kind of terminal applies request managing device and method, communication system - Google Patents
A kind of terminal applies request managing device and method, communication system Download PDFInfo
- Publication number
- CN106254331A CN106254331A CN201610617198.7A CN201610617198A CN106254331A CN 106254331 A CN106254331 A CN 106254331A CN 201610617198 A CN201610617198 A CN 201610617198A CN 106254331 A CN106254331 A CN 106254331A
- Authority
- CN
- China
- Prior art keywords
- mode
- terminal applies
- request
- current operation
- operation mode
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1063—Application servers providing network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Abstract
The invention discloses a kind of terminal applies request managing device and method, communication system, the method includes: obtain the current operating conditions of application server, and according to the corresponding relation of default running status Yu mode of operation, configures current operation mode;Receive the terminal applies request of self terminal;According to current operation mode, process the terminal applies request received.The present invention is by obtaining the current operating conditions of application server, and according to the corresponding relation of default running status Yu mode of operation, configuration current operation mode, on this basis, when the terminal applies receiving self terminal is asked, according to current operation mode, process the terminal applies request received;Rather than directly ask all to send to process to application server by all of terminal applies as prior art, reduce the burden of application server, it is also possible to make terminal quickly meet with a response, enhance the experience of user.
Description
Technical field
The present invention relates to terminal management field, particularly relate to a kind of terminal applies request managing device and method, communication system
System.
Background technology
Along with cost performance increasing of intelligent terminal, the volume of holding of intelligent terminal increases day by day, more preferable in order to provide
Service, a lot of cell phone manufacturers, both provide application server, download application etc. for user.
This application server there will be such problem: owing to all mobile phones of same brand are required for accessing same answering
With server, when same time period terminal access amount is excessive, such as when carrying out cell phone system edition upgrading, may result in should
Responding slowly with server, without phenomenons such as responses, the now embodiment in end side is then to meet with a response, and has a strong impact on user
Experience.
Summary of the invention
Present invention is primarily targeted at a kind of terminal applies request managing device of proposition and method, communication system, it is intended to
The problem causing application server cannot respond to when terminal applies request is the most intensive present in solution prior art.
For achieving the above object, the present invention proposes a kind of terminal applies request managing device, including:
Pattern configurations module, for obtaining the current operating conditions of application server, and according to default running status with
The corresponding relation of mode of operation, configures current operation mode, and mode of operation includes full forward mode, part blocks pattern and entirely hinders
Disconnected pattern;
Request management module, for according to current operation mode, processing the terminal applies request received.
Optionally, also including fuse, pattern configurations module is for calling the state machine state of mode of operation and fuse
Pair relationhip, according to current operation mode and pair relationhip, the state machine state that configuration fuse is current.
Optionally, running status includes accessing normal, access exception, and corresponding relation includes accessing normal and full forward mode
Correspondence, access exception and persistent period are more than threshold value less than, access exception corresponding with full blocking mode during threshold value and persistent period
Time corresponding with part blocks pattern;Pattern configurations module is for when running status is for accessing normal, joining current operation mode
It is set to full forward mode, when running status is access exception and the persistent period is less than threshold value, current operation mode is configured to
Full blocking mode, when running status is access exception and the persistent period is more than threshold value, is configured to part by current operation mode
Blocking mode;State machine state includes normal condition, half blown state and full blown state, and pair relationhip includes: normal condition
Match with full blocking mode with the pairing of part blocks pattern, full blown state with the pairing of full forward mode, half blown state;Pattern
The state machine state of fuse, for when current operation mode is full forward mode, is configured to normal condition by configuration module,
When current operation mode is part blocks pattern, the state machine state of fuse is configured to half blown state, when current work
When operation mode is full blocking mode, the state machine state of fuse is configured to full blown state.
Optionally, request management module is used for when current operation mode is full forward mode, all ends that will receive
End application request is forwarded to application server, when current operation mode is part blocks pattern, and the part terminal that will receive
Application request is forwarded to application server, and when current operation mode is full blocking mode, all terminals that rejection is arrived should
With request.
The present invention proposes a kind of communication system, and the terminal applies provided including terminal, application server and the present invention please
Ask managing device as agent equipment, wherein,
Terminal is for when needs request application, sending terminal applies and ask to agent equipment;
The terminal applies request that application server forwards for processing agent equipment, and return result;
Agent equipment, for the current operating conditions according to application server, configures current operation mode, and process receives
Terminal applies request, mode of operation includes full forward mode, part blocks pattern and full blocking mode.
The present invention proposes a kind of terminal applies request management method, including:
Obtain the current operating conditions of application server, and close according to default running status is corresponding with mode of operation
System, configures current operation mode, and mode of operation includes full forward mode, part blocks pattern and full blocking mode;
Receive the terminal applies request of self terminal;
According to current operation mode, process the terminal applies request received.
Optionally, configuration current operation mode includes:
Call fuse;
Call the pair relationhip of mode of operation and the state machine state of fuse;
According to current operation mode and pair relationhip, the state machine state that configuration fuse is current.
Optionally, state machine state includes normal condition, half blown state and full blown state, and pair relationhip includes: just
Often state is matched with full forward mode, half blown state is matched with part blocks pattern, full blown state is joined with full blocking mode
Right;According to current operation mode and pair relationhip, the state machine state configuring fuse current includes:
When current operation mode is full forward mode, the state machine state of fuse is configured to normal condition;
Or,
When current operation mode is part blocks pattern, the state machine state of fuse is configured to half blown state;
Or,
When current operation mode is full blocking mode, the state machine state of fuse is configured to full blown state.
Optionally, running status includes accessing normal, access exception, and corresponding relation includes accessing normal and full forward mode
Correspondence, access exception and persistent period are more than threshold value less than, access exception corresponding with full blocking mode during threshold value and persistent period
Time corresponding with part blocks pattern;According to the corresponding relation of default running status Yu mode of operation, configure current operation mode
Including:
When running status is for accessing normal, current operation mode is configured to full forward mode;
Or,
When running status is access exception and the persistent period is less than threshold value, it is configured to current operation mode entirely block mould
Formula;
Or,
When running status is access exception and the persistent period is more than threshold value, current operation mode is configured to part blocks
Pattern.
Optionally, according to current operation mode, process the terminal applies request received and include:
When current operation mode is full forward mode, all terminal applies received request is forwarded to application service
Device;
Or,
When current operation mode is part blocks pattern, according to preset rules from all terminal applies request received
In, select the request of part terminal applies as test, be forwarded to application server;
Or,
When current operation mode is full blocking mode, all terminal applies request that rejection is arrived.
The embodiment of the present invention proposes a kind of terminal applies request management method, and the method is by obtaining working as of application server
Front running status, and according to the corresponding relation of default running status Yu mode of operation, configure current operation mode, basis at this
On, when the terminal applies receiving self terminal is asked, according to current operation mode, processing the terminal applies received please
Ask;Rather than directly ask all of terminal applies all to send as prior art to process to application server, drop
The low burden of application server, it is also possible to make terminal quickly meet with a response, solve present in prior art when
The problem that terminal applies request causes application server cannot respond to time the most intensive, enhances the experience of user.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the structural representation of terminal applies of the present invention request managing device;
Fig. 4 is a kind of structural representation of agent equipment of the present invention;
Fig. 5 is the another kind of structural representation of agent equipment of the present invention;
Fig. 6 is the flow chart of terminal applies of the present invention request management method first embodiment;
Fig. 7 is the flow chart of terminal applies of the present invention request management method the second embodiment;
Fig. 8 is the composition schematic diagram of the existing communication system that the present invention relates to;
The composition schematic diagram of the communication system that Fig. 9 provides for the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use
For representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itself
Not specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc.
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for
Outside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 120, output unit 130, memorizer
140, controller 150 and power subsystem 160 etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that
It is, it is not required that implement all assemblies illustrated, can alternatively implement more or less of assembly, will be discussed in more detail below
The element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system
Or the radio communication between network is to download application etc..Such as, wireless communication unit can include mobile communication module 111,
At least one in wireless Internet module 112.
Mobile communication module 111 sends radio signals to base station (such as, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to
Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
In the present invention, mobile communication module 111 is mainly used according to ginsengs such as user operation/default configuration (as application automatically updates)
Number, when application is updated by needs, or during request new opplication, sends terminal applies request, is additionally operable to receive request and rings
Should, as asked unsuccessfully etc..
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..In the present invention
In, wireless Internet module 112 be mainly used according to user operation/default configuration (as application automatically update) etc. parameter,
When needing application is updated, or during request new opplication, send terminal applies request, be additionally operable to receive for servicing simultaneously
The application file that device returns, such as installation kit, wallpaper etc..
User input unit 120 can generate key input data to control each of mobile terminal according to the order of user's input
Plant operation.User input unit 120 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display module 131 as a layer, touch screen can be formed.In the present invention,
User input unit 120 is mainly used in receiving the operations such as user's click on a display screen, generates terminal applies request.
Output unit 130 can include display module 131 etc..Display module 131 may be displayed in mobile terminal 100 to be located
The information of reason.Such as, when mobile terminal 100 is in telephone calling model, display module 131 can show and converse or other
User interface (UI) that communication (such as, text messaging, multimedia file download etc.) is relevant or graphic user interface
(GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display module 131 can show capture
Image and/or the image of reception, UI or GUI illustrating video or image and correlation function etc..In the present invention, output
Unit 130 is mainly used on a display screen, shows request response etc..
Meanwhile, when display module 131 and touch pad the most superposed on one another with formed touch screen time, display module
131 can serve as input equipment and output device.Display module 131 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent
Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 100 can include two or more display modules (or other display device), such as, move
Dynamic terminal can include outside display module (not shown) and internal display module (not shown).Touch screen can be used for detection and touches
Input pressure and touch input position and touch input area.
Memorizer 140 can store the process performed by controller 150 and the software program controlling operation etc., or can
With temporarily store oneself through output maybe will export data (such as, garbage files list, system file/encryption listed files,
White list adds list of object etc.).And, memorizer 140 can store and export about when touch is applied to touch screen
The vibration of various modes and the data of audio signal.
Memorizer 140 can include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia
Card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory
(SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network
The network storage device cooperation of the storage function of 140.
Controller 150 generally controls the overall operation of mobile terminal.Such as, controller 150 performs and voice call, data
Control that communication, video calling etc. are relevant and process.It addition, controller 150 can include for reproducing (or playback) many matchmakers
The multi-media module 151 of volume data, multi-media module 151 can construct in controller 150, or it is so structured that with control
Device 150 separates.Controller 150 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 160 receives external power or internal power under control of the controller 150 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 150.
Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language
Implementing, software code can be stored in memorizer 140 and be performed by controller 150.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any
Line and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.
If back haul link can construct according to any one in the interface that Ganji knows, interface includes such as E1/T1, ATM, IP, PPP,
Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC275.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception
Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum
(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295
100.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals 100
In at least one.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful
Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1
Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of
Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead
Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call
Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
As it is shown on figure 3, based on above-mentioned mobile terminal hardware configuration and communication system, the terminal applies proposing the present invention please
Seeking the embodiment of managing device, concrete, the terminal applies request managing device that the present invention provides includes:
Pattern configurations module 31, for obtaining the current operating conditions of application server, and according to default running status
With the corresponding relation of mode of operation, configuring current operation mode, mode of operation includes full forward mode, part blocks pattern and complete
Blocking mode.
In actual applications, running status includes accessing normal, access exception.The current operating conditions of application server is
Refer to the current operating state of application server, whether can come really with the request of normal response terminal applies according to application server
Fixed, such as when application server can be asked with normal response terminal applies, it is simply that to illustrate that terminal can normally access application clothes
Business device, now represents current operating state normal for accessing, corresponding, if application server cannot normal response terminal should
During with request, it is simply that illustrate that terminal cannot normally access application server, even if now terminal transmission terminal applies is asked
Application server can not be applied the response of server, and now represent current operating state is access exception.
In actual applications, for how obtaining the current operating conditions of application server, can by include following in the way of:
Mode 1, actively, the running status of real-time monitoring application server, this pattern is mainly used in application server
In the case of normally providing service, mainly by judging that application server, after receiving a terminal applies request, is located
Manage this terminal applies ask and return the time span of result the most normally, such as, under normal circumstances, application server
Process the request of terminal applies time a length of 1 second, if in the T0 moment, monitoring one terminal applies of application server processes please
The duration asked become 30 seconds the most long, then it is assumed that the running status of application server is access exception, if in the T1 moment, monitoring
Duration to one terminal applies request of application server processes becomes 1 second, then it is assumed that the running status of application server is to visit
Ask normal.In actual applications, the request of the manner relates to terminal applies can time the real terminal applies that sends of terminal please
Ask, it is also possible to be the terminal applies request of the virtual/simulation for test that terminal applies request managing device periodically sends.
The status information that mode 2, reception application server send, determines running status, and this pattern is mainly used in application clothes
Business device, when can not normally provide the situation of service, such as application server to need to be updated the operations such as maintenance, actively sends
Status information asks managing device to terminal applies, informs that the running status of application server, for not to be provided that service, accesses different
Often.
In actual applications, full forward mode refers to all carry out being forwarded to application by all terminal applies received request
Server, operation principle and the realization of this pattern are the most fairly simple, only the forwarding of terminal applies request.
In actual applications, full blocking mode is then directly to block the request of all terminal applies, and returning to counterpart terminal please
The request asking failure responds, and the response contents of request response can include failure cause and suggestion, such as, inform that user asks to lose
Lose reason to be because currently having many consumers and ask identical application simultaneously, it is proposed that when user attempts, certainly,
When generating request response, different response contents can be generated for different users, such as, advise that first user is 11
Point re-request, and advise that second batch user even can also carry timing information in 12 re-requests, request response, this
Timing information for triggering terminal at the appointed time, automatically triggers re-request, and does not manually trigger request needs user,
Strengthen user's experience.
In actual applications, part blocks pattern is then an attempt to return to the stage die of full forward mode from full blocking mode
Formula, after being in full blocking mode certain time, after 10 minutes, can attempt entering full forward mode, and now equipment is in
Part blocks pattern, according to preset rules from the terminal applies request received, selects one or more being forwarded to apply clothes
Business device, it is judged that application server, after receiving a terminal applies request, processes this terminal applies and asks and return process knot
The time span of fruit is the most normal, if normally, then enters full forward mode, if the most abnormal, then backs into full resistance
Disconnected pattern.In actual applications, according to preset rules from the terminal applies request received, one or more terminal is selected to answer
With request, can be one the terminal applies request of selection according to periodic intervals, it is also possible to contact selects the end of specified quantity
End application request, it is judged that application server is that real recovery accesses normally, still falls within and can not the multiple terminal of normal process answer
With request false normally.Certainly, in part blocks pattern, for selected terminal applies request, if in normal response
The response of application server it is not received by, then directly to counterpart terminal, feedback request failure response in time.
In actual applications, corresponding relation includes accessing normal, access exception corresponding with full forward mode and persistent period
Less than during threshold value, access exception corresponding with full blocking mode and persistent period are corresponding with part blocks pattern more than during threshold value;Mould
Formula configuration module for when running status is for accessing normal, being configured to full forward mode by current operation mode, when running shape
State be access exception and persistent period less than threshold value time, current operation mode is configured to full blocking mode, when running status is
When access exception and persistent period are more than threshold value, current operation mode is configured to part blocks pattern.
Request management module 32, for according to current operation mode, processing the terminal applies request received.
In actual applications, request management module 32, for when current operation mode is full forward mode, will receive
All terminal applies request be forwarded to application server, when current operation mode is part blocks pattern, by receive
The request of part terminal applies is forwarded to application server, when current operation mode is full blocking mode, and the institute that rejection is arrived
Terminal applies is had to ask.
In actual applications, all functional modules of terminal applies request managing device can be by processor and memorizer
Cooperation realize.
In actual applications, the realization of the mode of operation of terminal applies request managing device can be by the way of pure software
Realize, it is also possible to realize by the way of hardware circuit, for software realization mode, it is only necessary to corresponding program, and pin
To by the implementation of hardware circuit, fuse can be used to realize, now, pattern configurations module is used for calling Working mould
Formula and the pair relationhip of the state machine state of fuse, according to current operation mode and pair relationhip, configure fuse current
State machine state.
In actual applications, the state machine state of fuse includes normal condition, half blown state and full blown state, joins
Relation is included: the pairing of normal condition and full forward mode, half blown state and the pairing of part blocks pattern, full blown state with
Full blocking mode pairing;Pattern configurations module is for when current operation mode is full forward mode, by the state machine of fuse
State is configured to normal condition, when current operation mode is part blocks pattern, the state machine state of fuse is configured to
Half blown state, when current operation mode is full blocking mode, is configured to full blown state by the state machine state of fuse.
In the prior art, asking for the terminal applies carrying out self terminal, no matter whether application server can normally ring
Should, all can send to application server processes, if application server starts occur extremely, terminal applies request will be received
Accumulate, and then cause the abnormal deterioration even collapse of application server, it will bring serious loss, especially user to make
With experiencing this invisible loss that is deteriorated, the consequence that this loss causes is then unthinkable.The present embodiment then obtains
Take the running status of application server, when the running status of application server is access exception, be set to equipment entirely block
Pattern, directly blocks the request of all of terminal applies, for each terminal, feedback request failure response, it is not necessary to terminal use talks about
Take and unwanted wait until the time, for application server, new burden will not be increased, also would not cause pernicious accumulation, it is simple to
Application server recovers normal as early as possible.
Such as, the most increasing mobile phone users starts with having played mobile phone theme, allows the mobile phone background of oneself see
Getting up unusual, in order to cater to consumption demand, Ge great terminal unit manufacturer all establishes online theme shop, for consumer
Download the theme changing oneself mobile phone.Reality is, mobile terminal quantity is the hugest, and user updates the frequency of theme and also gets over
Come the highest.Consumer is frequently encountered by the online theme shop situation without response, have impact on user to a certain extent to mobile whole
The satisfaction of end equipment Brand Service.In order to solve the problems referred to above, the present embodiment can be online main by preventing from fusing mechanism
Subject-trader shop excessively asks due to user to cause collapse, promotes the satisfaction of user to a certain extent, leads online at mobile terminal
The back-end services in subject-trader shop introduce from fusing mechanism so that these be may result in the failed remote service of request and carry out
Packaging, when remote service occurs abnormal, can return errored response to the request come in immediately, and inform system manager,
By Wrong control in subrange, prevent background system from collapsing, thus improve stability and the reliability of system, promote user
Satisfaction.
To sum up, the terminal applies request managing device that the present embodiment proposes, by obtaining the current operation of application server
State, and according to the corresponding relation of default running status Yu mode of operation, configures current operation mode, on this basis, when
When receiving the terminal applies request of self terminal, according to current operation mode, process the terminal applies request received;And not
It is directly all to send the request of all of terminal applies as prior art to process to application server, reduces application
The burden of server, it is also possible to make terminal quickly meet with a response, solves and works as terminal applies present in prior art
The problem causing application server cannot respond to when asking the most intensive, enhances the experience of user.
In an embodiment of the present invention, the present invention provide terminal applies request managing device can as agent equipment,
Increasing in communication system as described in Figure 2, now, this communication system includes: at least one terminal, at least one application service
The terminal applies request managing device that device and the present invention provide is as agent equipment, and agent equipment is arranged on terminal and application
Between server, wherein,
Terminal is for when needs request application, sending terminal applies and ask to agent equipment;
The terminal applies request that application server forwards for processing agent equipment, and return result;
In actual applications, result can directly be sent to terminal by communication network, it is also possible to is set by agency
Preparation delivers to terminal, but, in order to reduce the work load of agent equipment, the present embodiment arranges the result of application server
Directly sent to terminal by communication network.
Agent equipment, for the current operating conditions according to application server, configures current operation mode, and process receives
Terminal applies request, mode of operation includes full forward mode, part blocks pattern and full blocking mode.
The communication system that the present embodiment provides, agent equipment is by obtaining the current operating conditions of application server, and root
According to the corresponding relation of default running status Yu mode of operation, configure current operation mode, on this basis, when receive from
When the terminal applies of terminal is asked, according to current operation mode, process the terminal applies request received;Rather than such as existing skill
The request of all of terminal applies is like that directly all sent and processes to application server by art, reduces the negative of application server
Load, it is also possible to make terminal quickly meet with a response, solves present in prior art when terminal applies request is the closeest
The problem causing application server cannot respond to during collection, enhances the experience of user.
Fig. 4 is a kind of structural representation of agent equipment of the present invention, as shown in Figure 4, and the agent equipment that the present embodiment provides
At least include: input and output (IO) bus 41, processor 42, RAM 43, internal memory 44 and communicator 45.Wherein,
Input and output (IO) bus 41 is (processor 42, memorizer 43, interior with other parts of self affiliated terminal respectively
Deposit 44 and communicator 45) connect, and for other parts provide transmission lines.
Processor 42 generally controls the overall operation of self affiliated server.Such as, processor 42 performs to calculate and true
The operation such as recognize.Wherein, processor 42 can be central processing unit (CPU).In the present embodiment, processor 42 at least needs to possess
Such function: obtain the current operating conditions of application server, and corresponding with mode of operation according to default running status
Relation, configures current operation mode, and mode of operation includes full forward mode, part blocks pattern and full blocking mode;According to working as
Front mode of operation, processes the terminal applies request received.
RAM 43 stores that processor is readable, the executable software code of processor, and it comprises holds for controlling processor 42
The instruction (i.e. software execution function) of row functions described herein.In the present embodiment, RAM43 at least needs storage to have at realization
Reason device 42 performs the program that above-mentioned functions needs.
Wherein, in the terminal document managing device that the present invention provides, it is achieved computing module 31, mark module 32, screening mould
The software code of block 33, removing module 34 and display module 35 function is storable in memorizer 43, and is performed by processor 42
Or perform after compiling.
Internal memory 44, typically uses semiconductor memory cell, including random access memory (RAM), and read only memory (ROM), with
And cache (CACHE), RAM is most important of which memorizer.Internal memory 44 is one of parts important in computer, and it is
Carrying out, with CPU, the bridge linked up, in computer, the operation of all programs is all carried out in internal memory, and its effect is for temporarily
Deposit the operational data in CPU, and with the data of the external memory storage exchange such as hard disk, as long as computer is in operation, CPU is just
The data needing computing can be transferred in internal memory carry out computing, after computing completes, result is sent out by CPU again, the fortune of internal memory
Row also determines the stable operation of computer.
Communicator 45, generally includes one or more assembly, and it allows to work under processor 42 controls, should as obtained
By the running status of server, receiving the terminal applies request of self terminal, the terminal applies request of self terminal in the future is forwarded to
Application server, to the terminal feedback request failure response etc. that the request of each terminal applies is corresponding.
On the member base shown in Fig. 4, the agent equipment that the present embodiment provides can so work:
Processor 42 obtains the running status of application server by communicator 45;
Processor 42, according to the corresponding relation of default running status Yu mode of operation, configures current operation mode;
Communicator 45 receives the terminal applies request of self terminal;
Processor 42, according to current operation mode, processes the terminal applies request received, generates result, as directly
Forwarding, direct blocking-up etc.;
Communicator 45 is under the control of processor 42, for the terminal applies request directly forwarded, self terminal in the future
Terminal applies request is forwarded to application server, for the terminal applies request directly blocked, to each terminal applies request correspondence
Terminal feedback request failure response etc..
The agent equipment that the present embodiment provides, by obtaining the current operating conditions of application server, and according to default
Running status and the corresponding relation of mode of operation, configure current operation mode, on this basis, when the end receiving self terminal
During end application request, according to current operation mode, process the terminal applies request received;Rather than it is the most straight
Connect and the request of all of terminal applies is all sent and processes to application server, reduce the burden of application server, meanwhile,
It is also possible that terminal quickly meets with a response, solve and cause when terminal applies request is the most intensive present in prior art
The problem that application server cannot respond to, enhances the experience of user.
Fig. 5 is the another kind of structural representation of agent equipment of the present invention, as it is shown in figure 5, the agency that the present embodiment provides sets
Include less: front end services proxy module 51, certainly fusing module 52 and back-end services proxy module 53, wherein,
The major function of front end services proxy module 51 is to receive the service request of mobile terminal, is forwarded to from fusing mould
Block.And result is forwarded to mobile terminal.The purpose introducing front end services agency is that nucleus module-fuse mould certainly in reduction
Block couples with mobile terminal so that it is function is more single, clear.
From the major function of fusing module 52 be when application server exception time, such as destination service slowly or in a large number time-out,
Can actively fuse from fusing module, to prevent service from being worn down further;If situation takes a turn for the better again, accessing again can be the most extensive
Multiple.Use the form of state machine from fusing mechanism in inside, be divided into normal condition, blown state and half blown state.Normal shape
Under state, fuse is closed, and now when after the request receiving front end services proxy module, forwards the request to rear end
Service agent module.And result is forwarded to front end services proxy module.Persistently makeing mistakes or time-out if called, circuit is beaten
Driving into into blown state, all the calling in follow-up a period of time all can be rejected, and protects back-end services, a period of time
After, protector can be attempted entering half blown state.Under half blown state, it is allowed to a small amount of request comes in attempt, if called still
So failure, then returning to blown state, if calling successfully, then returning to circuit closed condition.
The major function of back-end services proxy module 53 is the duty constantly monitoring back-end services, if it find that clothes
Business exception or overload, backward reference error message, otherwise forward the request to the background service of response, and process is tied
Fruit returns to front end.
The agent equipment that the present embodiment provides is by introducing from fusing mechanism, and the overload that can effectively filter front end is visited
Ask, be effectively protected the reliability service of background service.
As shown in Figure 6, terminal applies request management method first embodiment of the present invention, in the present embodiment, terminal are proposed
Application request management method comprises the following steps:
S601: obtain the current operating conditions of application server.
In actual applications, running status includes accessing normal, access exception.The current operating conditions of application server is
Refer to the current operating state of application server, whether can come really with the request of normal response terminal applies according to application server
Fixed, such as when application server can be asked with normal response terminal applies, it is simply that to illustrate that terminal can normally access application clothes
Business device, now represents current operating state normal for accessing, corresponding, if application server cannot normal response terminal should
During with request, it is simply that illustrate that terminal cannot normally access application server, even if now terminal transmission terminal applies is asked
Application server can not be applied the response of server, and now represent current operating state is access exception.
In actual applications, for how obtaining the current operating conditions of application server, can by include following in the way of:
Mode 1, actively, the running status of real-time monitoring application server, this pattern is mainly used in application server
In the case of normally providing service, mainly by judging that application server, after receiving a terminal applies request, is located
Manage this terminal applies ask and return the time span of result the most normally, such as, under normal circumstances, application server
Process the request of terminal applies time a length of 1 second, if in the T0 moment, monitoring one terminal applies of application server processes please
The duration asked become 30 seconds the most long, then it is assumed that the running status of application server is access exception, if in the T1 moment, monitoring
Duration to one terminal applies request of application server processes becomes 1 second, then it is assumed that the running status of application server is to visit
Ask normal.In actual applications, the request of the manner relates to terminal applies can time the real terminal applies that sends of terminal please
Ask, it is also possible to be the terminal applies request of the virtual/simulation for test that terminal applies request managing device periodically sends.
The status information that mode 2, reception application server send, determines running status, and this pattern is mainly used in application clothes
Business device, when can not normally provide the situation of service, such as application server to need to be updated the operations such as maintenance, actively sends
Status information asks managing device to terminal applies, informs that the running status of application server, for not to be provided that service, accesses different
Often.
S602: according to the corresponding relation of default running status Yu mode of operation, configures current operation mode, mode of operation
Including full forward mode, part blocks pattern and full blocking mode.
In actual applications, full forward mode refers to all carry out being forwarded to application by all terminal applies received request
Server, operation principle and the realization of this pattern are the most fairly simple, only the forwarding of terminal applies request.
In actual applications, full blocking mode is then directly to block the request of all terminal applies, and returning to counterpart terminal please
The request asking failure responds, and the response contents of request response can include failure cause and suggestion, such as, inform that user asks to lose
Lose reason to be because currently having many consumers and ask identical application simultaneously, it is proposed that when user attempts, certainly,
When generating request response, different response contents can be generated for different users, such as, advise that first user is 11
Point re-request, and advise that second batch user even can also carry timing information in 12 re-requests, request response, this
Timing information for triggering terminal at the appointed time, automatically triggers re-request, and does not manually trigger request needs user,
Strengthen user's experience.
In actual applications, part blocks pattern is then an attempt to return to the stage die of full forward mode from full blocking mode
Formula, after being in full blocking mode certain time, after 10 minutes, can attempt entering full forward mode, and now equipment is in
Part blocks pattern, according to preset rules from the terminal applies request received, selects one or more being forwarded to apply clothes
Business device, it is judged that application server, after receiving a terminal applies request, processes this terminal applies and asks and return process knot
The time span of fruit is the most normal, if normally, then enters full forward mode, if the most abnormal, then backs into full resistance
Disconnected pattern.In actual applications, according to preset rules from the terminal applies request received, one or more terminal is selected to answer
With request, can be one the terminal applies request of selection according to periodic intervals, it is also possible to contact selects the end of specified quantity
End application request, it is judged that application server is that real recovery accesses normally, still falls within and can not the multiple terminal of normal process answer
With request false normally.Certainly, in part blocks pattern, for selected terminal applies request, if in normal response
The response of application server it is not received by, then directly to counterpart terminal, feedback request failure response in time.
In actual applications, corresponding relation includes accessing normal, access exception corresponding with full forward mode and persistent period
Less than during threshold value, access exception corresponding with full blocking mode and persistent period are corresponding with part blocks pattern more than during threshold value;When
When running status is for accessing normal, current operation mode is configured to full forward mode, when running status is access exception and holds
When the continuous time is less than threshold value, current operation mode is configured to full blocking mode, when running status be access exception and lasting time
Between more than threshold value time, current operation mode is configured to part blocks pattern.
In actual applications, fuse can be used to realize, now, this step includes: call fuse;Call work
The pair relationhip of the state machine state of pattern and fuse;According to current operation mode and pair relationhip, configuration fuse is current
State machine state.In actual applications, the state machine state of fuse includes that normal condition, half blown state and fine melt break shape
State, pair relationhip includes: normal condition breaks with the pairing of part blocks pattern, fine melt with the pairing of full forward mode, half blown state
State is matched with full blocking mode;Pattern configurations module is for when current operation mode is full forward mode, by fuse
State machine state is configured to normal condition, when current operation mode is part blocks pattern, by the state machine state of fuse
It is configured to half blown state, when current operation mode is full blocking mode, the state machine state of fuse is configured to fine melt
Disconnected state.
S603: receive the terminal applies request of self terminal.
By communication system as shown in Figure 2, receive the terminal applies request of self terminal.
S604: according to current operation mode, process the terminal applies request received.
In actual applications, when current operation mode is full forward mode, all terminal applies request that will receive
It is forwarded to application server, when current operation mode is part blocks pattern, the part terminal applies request received is turned
Send to application server, when current operation mode is full blocking mode, all terminal applies request that rejection is arrived.
In the prior art, asking for the terminal applies carrying out self terminal, no matter whether application server can normally ring
Should, all can send to application server processes, if application server starts occur extremely, terminal applies request will be received
Accumulate, and then cause the abnormal deterioration even collapse of application server, it will bring serious loss, especially user to make
With experiencing this invisible loss that is deteriorated, the consequence that this loss causes is then unthinkable.The present embodiment then obtains
Take the running status of application server, when the running status of application server is access exception, be set to equipment entirely block
Pattern, directly blocks the request of all of terminal applies, for each terminal, feedback request failure response, it is not necessary to terminal use talks about
Take and unwanted wait until the time, for application server, new burden will not be increased, also would not cause pernicious accumulation, it is simple to
Application server recovers normal as early as possible.
To sum up, the terminal applies request management method that the present embodiment proposes, by obtaining the current operation of application server
State, and according to the corresponding relation of default running status Yu mode of operation, configures current operation mode, on this basis, when
When receiving the terminal applies request of self terminal, according to current operation mode, process the terminal applies request received;And not
It is directly all to send the request of all of terminal applies as prior art to process to application server, reduces application
The burden of server, it is also possible to make terminal quickly meet with a response, solves and works as terminal applies present in prior art
The problem causing application server cannot respond to when asking the most intensive, enhances the experience of user.
As it is shown in fig. 7, propose terminal applies request management method the second embodiment of the present invention, in the present embodiment, terminal
Application request management method comprises the following steps:
S701: direct with application server in terminal, sets up agent equipment.
Communication construction between existing terminal and application server, as shown in Figure 8, mobile phone users accesses online main
During subject-trader shop, theme application can go to call long-range service or resource, and these remote service or resource are called possibility
Can be failed, or hang-up does not responds to, until the generation of time-out.In some extreme environments, substantial amounts of request can be blocked in right
Calling of the remote service of these exceptions, can cause some critical system resource exhaustion, thus cause the failure of cascade,
Thus wear whole system down.
In order to solve the problem that existing communication framework exists, this step is direct with application server in terminal, sets up agency
Equipment, disposes such as the communication system of Fig. 9, and agent equipment uses and prevents the overload of background service from asking from fusing mechanism, fusing machine
The introducing of system makes that these be may result in the failed remote service of request and is protected, when remote service occurs abnormal
Time, immediately the request come in can be returned errored response, and inform system manager, by Wrong control in subrange,
Thus improve stability and the reliability of system, promote the Experience Degree of user.
S702: agent equipment obtains the running status of application server.
Agent equipment constantly monitors the duty of back-end services by back-end services proxy module.If it find that service
Exception or overload, backward reference error message, determine that the running status of application server is operation exception.Otherwise, really
The running status determining application server is normal operation, forwards the request to the background service of response, and result is returned.
S703: agent equipment configuration mode of operation.
This step can be: when running status is for accessing normal, current operation mode is configured to full forward mode, when
Running status be access exception and persistent period less than threshold value time, current operation mode is configured to full blocking mode, works as operation
State be access exception and persistent period more than threshold value time, current operation mode is configured to part blocks pattern.
Can be accomplished by: when current operation mode is full forward mode, by the state machines of fuse
State is configured to normal condition, when current operation mode is part blocks pattern, the state machine state of fuse is configured to half
Blown state, when current operation mode is full blocking mode, is configured to full blown state by the state machine state of fuse.
S704: agent equipment, according to mode of operation, processes the terminal applies request received.
This step is: when current operation mode is full forward mode, all terminal applies request received is forwarded
To application server, when current operation mode is part blocks pattern, the part terminal applies received request is forwarded to
Application server, when current operation mode is full blocking mode, all terminal applies request that rejection is arrived.
The embodiment of the present invention proposes a kind of terminal applies request management method, and the method is by disposing agent equipment, and generation
Reason equipment obtains the current operating conditions of application server, and according to the corresponding relation of default running status Yu mode of operation,
Configuration current operation mode, on this basis, when the terminal applies receiving self terminal is asked, according to work at present mould
Formula, processes the terminal applies request received;Rather than directly the request of all of terminal applies is all sent out as prior art
Deliver to application server process, reduce the burden of application server, it is also possible to make terminal quickly be rung
Should, solve and cause when terminal applies request is the most intensive present in prior art what application server cannot respond to ask
Topic, enhances the experience of user.
The terminal applies request management method that the embodiment of the present invention is proposed, by obtaining the current operation of application server
State, and according to the corresponding relation of default running status Yu mode of operation, configures current operation mode, on this basis, when
When receiving the terminal applies request of self terminal, according to current operation mode, process the terminal applies request received;And not
It is directly all to send the request of all of terminal applies as prior art to process to application server, reduces application
The burden of server, it is also possible to make terminal quickly meet with a response, solves and works as terminal applies present in prior art
The problem causing application server cannot respond to when asking the most intensive, enhances the experience of user.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row
Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and
And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device
Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this
The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of
The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words
The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take
Business device, air-conditioner is, or the network equipment etc.) method that performs each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a terminal applies request managing device, it is characterised in that including:
Pattern configurations module, for obtaining the current operating conditions of application server, and according to default running status and work
The corresponding relation of pattern, configures current operation mode, and described mode of operation includes full forward mode, part blocks pattern and entirely hinders
Disconnected pattern;
Request management module, for according to described current operation mode, processing the terminal applies request received.
2. terminal applies request managing device as claimed in claim 1, it is characterised in that also include fuse, described pattern
Configuration module is for calling the pair relationhip of mode of operation and the state machine state of described fuse, according to described work at present mould
Formula and described pair relationhip, configure the state machine state that described fuse is current.
3. terminal applies request managing device as claimed in claim 2, it is characterised in that
Described running status includes accessing normal, access exception, described corresponding relation include described access normal with described complete turn
Send out pattern access exception corresponding, described and persistent period less than access exception corresponding, described with described full blocking mode during threshold value
And the persistent period is corresponding with described part blocks pattern more than during threshold value;Described pattern configurations module is for when described running status
During for accessing normal, described current operation mode is configured to full forward mode, when described running status is access exception and holds
When the continuous time is less than threshold value, described current operation mode is configured to full blocking mode, when described running status is access exception
And the persistent period more than threshold value time, described current operation mode is configured to part blocks pattern;
Described state machine state includes normal condition, half blown state and full blown state, and described pair relationhip includes: described just
Often state is with the pairing of described full forward mode, described half blown state is matched with described part blocks pattern, described fine melt breaks shape
State is matched with described full blocking mode;Described pattern configurations module is used for when described current operation mode is full forward mode,
The state machine state of described fuse is configured to normal condition, when described current operation mode is part blocks pattern, will
The state machine state of described fuse is configured to half blown state, when described current operation mode is full blocking mode, by institute
The state machine state stating fuse is configured to full blown state.
4. the terminal applies request managing device as described in any one of claims 1 to 3, it is characterised in that described request manages
The all terminal applies received request, for when described current operation mode is full forward mode, is forwarded to application by module
Server, when described current operation mode is part blocks pattern, the part terminal applies received request being forwarded to should
With server, when described current operation mode is full blocking mode, all terminal applies request that rejection is arrived.
5. a communication system, it is characterised in that include terminal, application server and such as any one of Claims 1-4 institute
The terminal applies request managing device stated is as agent equipment, wherein,
Described terminal is for when needs request application, sending terminal applies request to described agent equipment;
The terminal applies request that described application server forwards for processing described agent equipment, and return result;
Described agent equipment, for the current operating conditions according to described application server, configures current operation mode, and process connects
The terminal applies request received, described mode of operation includes full forward mode, part blocks pattern and full blocking mode.
6. a terminal applies request management method, it is characterised in that including:
Obtain the current operating conditions of application server, and according to the corresponding relation of default running status Yu mode of operation, join
Putting current operation mode, described mode of operation includes full forward mode, part blocks pattern and full blocking mode;
Receive the terminal applies request of self terminal;
According to described current operation mode, process the terminal applies request received.
7. terminal applies request management method as claimed in claim 6, it is characterised in that described configuration current operation mode bag
Include:
Call fuse;
Call the pair relationhip of mode of operation and the state machine state of described fuse;
According to described current operation mode and described pair relationhip, configure the state machine state that described fuse is current.
8. terminal applies request management method as claimed in claim 7, it is characterised in that described state machine state includes normally
State, half blown state and full blown state, described pair relationhip includes: described normal condition is joined with described full forward mode
, described half blown state is matched with described full blocking mode with the pairing of described part blocks pattern, described full blown state;Institute
Stating according to described current operation mode and described pair relationhip, the state machine state configuring described fuse current includes:
When described current operation mode is full forward mode, the state machine state of described fuse is configured to normal condition;
Or,
When described current operation mode is part blocks pattern, the state machine state of described fuse is configured to half fusing shape
State;
Or,
When described current operation mode is full blocking mode, the state machine state of described fuse is configured to fine melt and breaks shape
State.
9. terminal applies request management method as claimed in claim 6, it is characterised in that described running status includes just accessing
Often, access exception, described corresponding relation includes the normal access exception corresponding, described with described full forward mode of described access and holds
When the continuous time is less than threshold value, access exception corresponding, described with described full blocking mode and persistent period are more than during threshold value and described portion
Divide blocking mode corresponding;The running status that described basis is preset and the corresponding relation of mode of operation, configure current operation mode bag
Include:
When described running status is for accessing normal, described current operation mode is configured to full forward mode;
Or,
When described running status is access exception and the persistent period is less than threshold value, it is configured to entirely hinder by described current operation mode
Disconnected pattern;
Or,
When described running status is access exception and the persistent period is more than threshold value, described current operation mode is configured to part
Blocking mode.
10. the terminal applies request management method as described in any one of claim 6 to 9, it is characterised in that described in described basis
Current operation mode, processes the terminal applies request received and includes:
When described current operation mode is full forward mode, all terminal applies received request is forwarded to application service
Device;
Or,
When described current operation mode is part blocks pattern, according to preset rules from all terminal applies request received
In, select the request of part terminal applies as test, be forwarded to application server;
Or,
When described current operation mode is full blocking mode, all terminal applies request that rejection is arrived.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617198.7A CN106254331A (en) | 2016-07-28 | 2016-07-28 | A kind of terminal applies request managing device and method, communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617198.7A CN106254331A (en) | 2016-07-28 | 2016-07-28 | A kind of terminal applies request managing device and method, communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106254331A true CN106254331A (en) | 2016-12-21 |
Family
ID=57606120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610617198.7A Pending CN106254331A (en) | 2016-07-28 | 2016-07-28 | A kind of terminal applies request managing device and method, communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254331A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171828A (en) * | 2017-04-18 | 2017-09-15 | 北京思特奇信息技术股份有限公司 | It is a kind of to tackle overtime blowout method and the system that far call is relied on |
CN107659431A (en) * | 2017-08-15 | 2018-02-02 | 北京趣拿软件科技有限公司 | Interface processing method, apparatus, storage medium and processor |
CN108009075A (en) * | 2017-11-27 | 2018-05-08 | 南京联创信息科技有限公司 | Dynamic fusing determination methods based on Hystrix frames |
WO2018171287A1 (en) * | 2017-03-22 | 2018-09-27 | 武汉斗鱼网络科技有限公司 | Remote invoking method and remote invoking apparatus |
CN108600354A (en) * | 2018-04-13 | 2018-09-28 | 中国民航信息网络股份有限公司 | System response time fluctuates suppressing method and system |
CN109104336A (en) * | 2018-09-27 | 2018-12-28 | 平安普惠企业管理有限公司 | Service request processing method, device, computer equipment and storage medium |
CN111324477A (en) * | 2020-02-03 | 2020-06-23 | 北京同邦卓益科技有限公司 | Processing method and device for distributed fusing |
CN111343222A (en) * | 2018-12-18 | 2020-06-26 | 珠海格力电器股份有限公司 | Method and device for monitoring subsystem to limit flow, storage medium and server |
CN111770134A (en) * | 2020-05-25 | 2020-10-13 | 国电南瑞科技股份有限公司 | Service fusing method based on service quality |
CN111932235A (en) * | 2019-05-13 | 2020-11-13 | 中国移动通信集团湖北有限公司 | Business processing method, data accessor, state manager and computing equipment |
CN113905091A (en) * | 2021-09-15 | 2022-01-07 | 盐城金堤科技有限公司 | Method and device for processing access request |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009278532A (en) * | 2008-05-16 | 2009-11-26 | Fujitsu Ltd | Transmission apparatus and congestion control method |
CN101754471A (en) * | 2008-12-09 | 2010-06-23 | 中兴通讯股份有限公司 | Method and device for switching work modes of wireless local area network access device |
CN104767689A (en) * | 2014-01-07 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Method of controlling network access amount and server |
WO2016029195A2 (en) * | 2014-08-22 | 2016-02-25 | Seven Networks, Llc | Mobile device equipped with mobile network congestion recognition to make intelligent decisions regarding connecting to an operator network for optimize user experience |
-
2016
- 2016-07-28 CN CN201610617198.7A patent/CN106254331A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009278532A (en) * | 2008-05-16 | 2009-11-26 | Fujitsu Ltd | Transmission apparatus and congestion control method |
CN101754471A (en) * | 2008-12-09 | 2010-06-23 | 中兴通讯股份有限公司 | Method and device for switching work modes of wireless local area network access device |
CN104767689A (en) * | 2014-01-07 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Method of controlling network access amount and server |
WO2016029195A2 (en) * | 2014-08-22 | 2016-02-25 | Seven Networks, Llc | Mobile device equipped with mobile network congestion recognition to make intelligent decisions regarding connecting to an operator network for optimize user experience |
Non-Patent Citations (2)
Title |
---|
MATT JACOBS和DAVID GROSS: "Netfrix/Hystrix", 《GITHUB》 * |
YBAK: "防雪崩利器:熔断器Hystirx的原理与使用", 《编程随笔-SEGMENTFAULT思否》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018171287A1 (en) * | 2017-03-22 | 2018-09-27 | 武汉斗鱼网络科技有限公司 | Remote invoking method and remote invoking apparatus |
CN107171828B (en) * | 2017-04-18 | 2020-04-10 | 北京思特奇信息技术股份有限公司 | Overtime fusing method and system for coping with remote call dependence |
CN107171828A (en) * | 2017-04-18 | 2017-09-15 | 北京思特奇信息技术股份有限公司 | It is a kind of to tackle overtime blowout method and the system that far call is relied on |
CN107659431A (en) * | 2017-08-15 | 2018-02-02 | 北京趣拿软件科技有限公司 | Interface processing method, apparatus, storage medium and processor |
CN108009075A (en) * | 2017-11-27 | 2018-05-08 | 南京联创信息科技有限公司 | Dynamic fusing determination methods based on Hystrix frames |
CN108009075B (en) * | 2017-11-27 | 2018-10-09 | 南京联创信息科技有限公司 | Dynamic fusing judgment method based on Hystrix frames |
CN108600354A (en) * | 2018-04-13 | 2018-09-28 | 中国民航信息网络股份有限公司 | System response time fluctuates suppressing method and system |
CN108600354B (en) * | 2018-04-13 | 2020-01-07 | 中国民航信息网络股份有限公司 | System response time fluctuation suppression method and system |
CN109104336A (en) * | 2018-09-27 | 2018-12-28 | 平安普惠企业管理有限公司 | Service request processing method, device, computer equipment and storage medium |
CN111343222A (en) * | 2018-12-18 | 2020-06-26 | 珠海格力电器股份有限公司 | Method and device for monitoring subsystem to limit flow, storage medium and server |
CN111932235A (en) * | 2019-05-13 | 2020-11-13 | 中国移动通信集团湖北有限公司 | Business processing method, data accessor, state manager and computing equipment |
CN111932235B (en) * | 2019-05-13 | 2024-04-19 | 中国移动通信集团湖北有限公司 | Service processing method, data accessor, state manager and computing device |
CN111324477A (en) * | 2020-02-03 | 2020-06-23 | 北京同邦卓益科技有限公司 | Processing method and device for distributed fusing |
CN111770134A (en) * | 2020-05-25 | 2020-10-13 | 国电南瑞科技股份有限公司 | Service fusing method based on service quality |
CN111770134B (en) * | 2020-05-25 | 2024-03-29 | 国电南瑞科技股份有限公司 | Service fusing method based on service quality |
CN113905091A (en) * | 2021-09-15 | 2022-01-07 | 盐城金堤科技有限公司 | Method and device for processing access request |
CN113905091B (en) * | 2021-09-15 | 2023-09-01 | 盐城天眼察微科技有限公司 | Method and device for processing access request |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254331A (en) | A kind of terminal applies request managing device and method, communication system | |
CN106201756B (en) | Log acquisition device, mobile terminal and method | |
CN105511928B (en) | System upgrade device and method | |
CN106095568B (en) | Memory management device, mobile terminal and method | |
CN106095217A (en) | Application sharing apparatus, system and method | |
CN105681561B (en) | Ad blocking device and method | |
CN105242898A (en) | Split-screen display device and method of mobile terminal | |
CN104731712A (en) | Method for automatically cleaning up caching data and mobile terminal | |
CN106682908A (en) | Payment device and method | |
CN106227744A (en) | Terminal document managing device, terminal and terminal document management method | |
CN106412334A (en) | Notification message shielding device and method | |
CN106657611A (en) | Device and method for changing application theme | |
CN105739820A (en) | Message prompt display method and device | |
CN104731411A (en) | Single-click action recognition method and device of mobile terminal | |
CN105302864A (en) | Picture loading apparatus and method according to screen resolution | |
CN106559579A (en) | Mobile terminal and CPU/GPU scheduling parameter update methods | |
CN105471988A (en) | contact person information pushing method, server and terminal | |
CN105677517A (en) | Data backup device, terminal and data backup method | |
CN106445830A (en) | Application program running environment detection method and mobile terminal | |
CN106412103A (en) | Display device and method of push information | |
CN105897436B (en) | Flow monitoring device and method | |
CN106066865B (en) | Application recommendation device and method | |
CN105224647A (en) | Image display method and device | |
CN106547565A (en) | A kind of browser exception report method and system | |
CN105722142A (en) | Mobile terminal and multilink-based data streaming method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161221 |