CN109218041A - Request processing method and device for server system - Google Patents
Request processing method and device for server system Download PDFInfo
- Publication number
- CN109218041A CN109218041A CN201710512695.5A CN201710512695A CN109218041A CN 109218041 A CN109218041 A CN 109218041A CN 201710512695 A CN201710512695 A CN 201710512695A CN 109218041 A CN109218041 A CN 109218041A
- Authority
- CN
- China
- Prior art keywords
- request
- processing server
- processing
- server
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Abstract
This application discloses the request processing methods and device for server system.One specific embodiment of the method includes: the debugging request for receiving processing server and sending, above-mentioned debugging request, which is above-mentioned processing server, to be sent when not receiving and receiveing the response to above-mentioned debugging server, and above-mentioned debugging request includes the mark of the request sent between each processing server;According to above-mentioned debugging request, the mark of the request sent between each processing server is determined;Obtain the request processing log of each processing server;According to each above-mentioned request processing log and above-mentioned mark, the mark for not returning to the above-mentioned processing server receiveed the response is determined.The embodiment can rapidly position the mark for calling abnormal processing server in joint debugging test process, reduce the time of joint debugging test, improve the efficiency of joint debugging test.
Description
Technical field
This application involves field of computer technology, and in particular to Internet technical field, more particularly to it is a kind of for servicing
The request processing method and device of device system.
Background technique
With the development of terminal technology and Internet technology, the function for the application program installed in terminal is more and more, this
A little functions are realized by the coordination of each service module.Each service module may be supported by multiple servers.It is answering
Under trend with program micro services, the service module of application program is more and more, and the degree of coupling between each service module is more next
It is lower.In the joint debugging test for carrying out each service module, the mutual calling between multiple servers is needed to realize test.
In this case, how to be positioned in joint debugging test process and call abnormal problem, for improving joint debugging test
Efficiency be of great significance.
Summary of the invention
The purpose of the application is to propose a kind of request processing method and device for server system, more than solving
The technical issues of background technology part is mentioned.
In a first aspect, the embodiment of the present application provides a kind of request processing method for server system, above-mentioned service
Device system includes debugging server and multiple processing servers, each processing server according to preset call relation to itself or
Other processing servers send request, and receive and receive the response, each processing server and terminal interaction, and in interactive process,
The mark of the request sent between each processing server is identical, and the above method includes: to receive the debugging that processing server is sent to ask
It asks, above-mentioned debugging request, which is above-mentioned processing server, to be sent when not receiving and receiveing the response to above-mentioned debugging server, on
State the mark that debugging request includes the request sent between each processing server;According to above-mentioned debugging request, each processing clothes are determined
The mark of the request sent between business device;Obtain the request processing log of each processing server;Day is handled according to each above-mentioned request
Will and above-mentioned mark determine the mark for not returning to the above-mentioned processing server receiveed the response.
In some embodiments, the request sent between each processing server includes the processing server for receiving above-mentioned request
Mark;And it is above-mentioned according to each above-mentioned request processing log and above-mentioned mark, determination does not return to the above-mentioned place receiveed the response
Manage the mark of server, comprising: log is handled according to each above-mentioned request, determines that send between each processing server first asks
It asks;Based on above-mentioned first request, execute step identified below: above-mentioned first request of parsing determines and receives above-mentioned first request
The mark of first processing server;Log is handled according to the request of above-mentioned first processing server, determines above-mentioned first processing clothes
Whether business device issues the second request;Above-mentioned second request is issued in response to above-mentioned first processing server, is determined at above-mentioned first
Whether reason server, which receives, receives the response;It does not receive and receives the response in response to above-mentioned first processing server, determine and receive
The mark of the processing server of above-mentioned second request;It receives and receives the response in response to above-mentioned first processing server, in determination
Stating the second request is the first request, continues to execute above-mentioned determining step.
In some embodiments, above-mentioned according to each above-mentioned request processing log and above-mentioned mark, determination does not return above-mentioned
The mark for the processing server receiveed the response, further includes: above-mentioned second request is not issued in response to above-mentioned first processing server,
Determine the mark of above-mentioned first processing server.
In some embodiments, the request of each processing server of above-mentioned acquisition handles log, comprising: interval preset time obtains
The request of each processing server is taken to handle log.
In some embodiments, according to each above-mentioned request processing log and above-mentioned mark, determination does not return to above-mentioned response
The mark of the processing server of message, further includes: each above-mentioned request of fusion handles log.
Second aspect, the embodiment of the present application provide a kind of request processing unit for server system, above-mentioned service
Device system includes debugging server and multiple processing servers, each processing server according to preset call relation to itself or
Other processing servers send request, and receive and receive the response, each processing server and terminal interaction, and in interactive process,
The mark of the request sent between each processing server is identical, and above-mentioned apparatus includes: request reception unit, for receiving processing clothes
Be engaged in the debugging request that device sends, above-mentioned debugging request be above-mentioned processing server do not receive receive the response when to above-mentioned debugging
What server was sent, above-mentioned debugging request includes the mark of the request sent between each processing server;Request mark determines single
Member, for determining the mark of the request sent between each processing server according to above-mentioned debugging request;Log acquisition unit is used
Log is handled in the request for obtaining each processing server;Server identification determination unit, for handling day according to each above-mentioned request
Will and above-mentioned mark determine the mark for not returning to the above-mentioned processing server receiveed the response.
In some embodiments, the request sent between each processing server includes the processing server for receiving above-mentioned request
Mark;And above-mentioned server identification determination unit includes: the first request determining module, for being handled according to each above-mentioned request
Log determines the first request sent between each processing server;First identifier determining module, for being asked based on above-mentioned first
Ask, execute step identified below: above-mentioned first request of parsing determines the mark for receiving the first processing server of above-mentioned first request
Know;Log is handled according to the request of above-mentioned first processing server, determines whether above-mentioned first processing server issues second and ask
It asks;Above-mentioned second request is issued in response to above-mentioned first processing server, determines whether above-mentioned first processing server receives
It receives the response;It does not receive and receives the response in response to above-mentioned first processing server, determine the processing for receiving above-mentioned second request
The mark of server;Feedback module receives the response for receiving in response to above-mentioned first processing server, determines above-mentioned second
Request is the first request, feeds back to above-mentioned first identifier determining module.
In some embodiments, above-mentioned server identification determination unit further include: second identifier determining module, for responding
Above-mentioned second request is not issued in above-mentioned first processing server, determines the mark of above-mentioned first processing server.
In some embodiments, above-mentioned log acquisition unit is further used for: interval preset time obtains each processing service
The request of device handles log.
In some embodiments, above-mentioned server identification determination unit is further used for: each above-mentioned request of fusion handles day
Will.
The third aspect, the embodiment of the present application provide a kind of server, comprising: one or more processors;Storage device,
For storing one or more programs, when said one or multiple programs are executed by said one or multiple processors, so that on
It states one or more processors and realizes method described in any of the above-described embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence, the program realize method described in any of the above-described embodiment when being executed by processor.
The request processing method and device provided by the above embodiment for server system of the application, suitable for including
The system of debugging server and multiple processing servers, wherein can be closed according to preset calling between each processing server
It is to send request to itself or other processing servers, and receive and receive the response.Simultaneously each processing server can with terminal into
Row interaction, to receive the request of terminal transmission and receive the response after handling above-mentioned request to terminal.It was interacted above-mentioned
The mark of Cheng Zhong, the request sent between each processing server are identical.In the present embodiment, when each processing server does not receive back
When answering message, debugging request can be sent to debugging server, include sending between each processing server in above-mentioned debugging request
The mark of request, debugging server can obtain each processing server and request in processing after the mark that above-mentioned request has been determined
The request processing log generated in the process, finally according to the mark of each request processing log and request, determination does not return to response
The mark of the processing server of message can be positioned rapidly in joint debugging test process call abnormal processing server in this way
Mark, reduce joint debugging test time, improve joint debugging test efficiency.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the request processing method for server system of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the request processing method for server system of the application;
Fig. 4 is that determination does not return to the place receiveed the response in the request processing method for server system according to the application
Manage the flow chart of one embodiment of the mark of server;
Fig. 5 is the structural representation according to one embodiment of the request processing unit for server system of the application
Figure;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the debugging server of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the application for the request processing method of server system or for server system
Request processing unit embodiment exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include debugging server 101, processing server 102,103,104, network
105 and terminal device 106,107,108.Network 105 to processing server 102,103,104 and terminal device 106,
107, the medium of communication link is provided between 108.Network 105 may include various connection types, such as wired, wireless communication link
Road or fiber optic cables etc..
Debugging server 101 can be the server interacted with each processing server 102,103,104, can position each
The abnormal problem that processing server occurs in calling process, such as there are network problem, cannot be sent out between each processing server
Send request etc..
Processing server 102,103,104 can be processing request server, both can handle terminal device 106,
107,108 request sent, and can handle the request that each processing server is sent, and return and respond after handling each request
Message.Receiving a request that terminal is sent to during returning to the terminal and receive the response, between each processing server
The mark of the request of transmission is fixed and unique.Above-mentioned mark can be the processing server for receiving the request of terminal transmission
It generates, and above-mentioned mark is added in the request for being sent to other processing servers.
User can be used terminal device 106,107,108 and be handed over by network 105 and processing server 102,103,104
Mutually, to receive or send message etc..Various telecommunication customer end applications can be installed on terminal device 106,107,108, such as
Web browser applications, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable
Computer and desktop computer etc..
It should be noted that the request processing method provided by the embodiment of the present application for server system is generally by adjusting
It tries server 101 to execute, correspondingly, the request processing unit for server system is generally positioned in debugging server 101.
It should be understood that the number of debugging server, processing server, network and terminal device in Fig. 1 is only to illustrate
Property.According to needs are realized, any number of server, processing server, network and terminal device can have.
With continued reference to Fig. 2, an implementation of the request processing method for server system according to the application is shown
The process 200 of example.In the present embodiment, above-mentioned server system includes debugging server and multiple processing servers, each processing
Server sends request to itself or other processing servers according to preset call relation, and receives and receive the response, each to handle
Server and terminal interaction, and in interactive process, the mark of the request sent between each processing server is identical.
The request processing method for server system of the present embodiment, comprising the following steps:
Step 201, the debugging request that processing server is sent is received.
In the present embodiment, electronic equipment (such as Fig. 1 for the request processing method operation of server system thereon
Shown in debugging server) can be received from processing server by wired connection mode or radio connection debugging ask
It asks.Wherein, to be processing server send when not receiving and receiveing the response to debugging server above-mentioned debugging request, that is, debugs
It is sent when as a result not knowing to debugging server.It include the request sent between each processing server in above-mentioned debugging request
Mark.Above-mentioned mark can be between each processing server according to the mark create-rule generation made an appointment, and can be
Character string.This mark can be all carried when with request is sent in terminal a interactive process, between each processing server.
It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G connection, WiFi connection, bluetooth
Connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other currently known or exploitations in the future
Radio connection.
Step 202, according to debugging request, the mark of the request sent between each processing server is determined.
Due to including the mark for sending request between each processing server in above-mentioned debugging request, debugging services
Device parses above-mentioned debugging request i.e. and can determine the request sent between reason server everywhere after receiving above-mentioned debugging request
Mark.
Step 203, the request processing log of each processing server is obtained.
Debugging server can also obtain the request processing log of each processing server, and above-mentioned request processing log can be
The record file that each processing server generates during the request that processing terminal or processing server are sent.It is specific above-mentioned
Request processing log can be including sending mark, the title of request, sending time of request of equipment for requesting etc. and request
The journal file or tables of data of relevant information are also possible to record the text of interface parameters when calling between each processing server
Part.
In some optional implementations of the present embodiment, debugging server can be spaced preset time and obtain each processing
The request of server handles log.In this way, can after the debugging request for receiving processing server transmission quickly and effectively base
It is analyzed in debugging request, determines the mark of the server occurred extremely.
Step 204, log and above-mentioned mark are handled according to each request, determination does not return to the processing server receiveed the response
Mark.
Debugging server is obtaining each request processing log, and is being determined that is sent between each processing server ask
The mark asked can determine the mark for not returning to the processing server receiveed the response.Specifically, debugging server can be according to upper
Mark is stated, inquiry sends the mark of the processing server of above-mentioned request in each request processing log, then successively analyzes everywhere
Whether reason server, which receives to receive the response, can determine.
With continued reference to the application scenarios that Fig. 3, Fig. 3 are according to the request processing method for server system of the present embodiment
A schematic diagram.In the application scenarios of Fig. 3, user browses webpage 311 using terminal 31, in clicking webpage 311
After " mobile phone special show ", terminal 31 has sent page browsing request to processing server 32, and processing server 32 is receiving terminal
After 31 requests sent, to the transmission mobile phone promotion page request of processing server 33 for being used to support " mobile phone special show promotion ", but
Processing server 32 does not receive receiveing the response for the return of processing server 33, then processing server 32 is sent out to debugging server 34
Debugging request is sent, debugging server finally determines that processing server 33 does not return and receives the response.Processing server 32 simultaneously also to
Terminal 31 returns to receiveing the response for request failure, then 31 display buffer interface 312 of terminal.
The request processing method provided by the above embodiment for server system of the application, when each processing server not
Receive when receiveing the response, debugging request can be sent to debugging server, include in above-mentioned debugging request each processing server it
Between the mark of request that sends, debugging server can obtain each processing server and locate after the mark that above-mentioned request has been determined
The request processing log generated during reason request determines not finally according to the mark of each request processing log and request
The mark for the processing server receiveed the response, in this way can it is quick=the positioning in joint debugging test process call it is abnormal
The mark of processing server reduces the time of joint debugging test, improves the efficiency of joint debugging test.
With continued reference to Fig. 4, it illustrates determine not in the request processing method for server system according to the application
The process 400 of the mark for the processing server receiveed the response.In the present embodiment, the request that is sent between each processing server
It can also include the mark for receiving the processing server of the request.As shown in figure 4, in the present embodiment can by following steps come
Determine the mark for not returning to the processing server receiveed the response:
Step 401, log is handled according to each request, determines the first request sent between each processing server.
In the present embodiment, above-mentioned first request is is receiving request that terminal is sent to the mistake for returning to terminal and receiveing the response
Cheng Zhong, any request in multiple requests sent between each processing server.
Step 402, based on above-mentioned first request, step identified below is executed:
Step 4021, the first request of parsing determines the mark for receiving the first processing server of the first request.
Due to including the mark for receiving the processing server of first request, debugging services in above-mentioned first request
Device can be parsed the mark to determine the first processing server to above-mentioned first request.
Step 4022, log is handled according to the request of the first processing server, determines whether the first processing server issues
Second request.
After the mark that the first processing server has been determined, then debugging server can be according to the first processing server
Request processing log, determines whether the first processing server issues the second request.It is understood that in the present embodiment, it is above-mentioned
Second request is the first processing server after receiving the first request, according to preset call relation to itself or other processing
The request that server issues.
Step 4023, the second request is issued in response to the first processing server, determines whether the first processing server receives
To receiveing the response.
After detecting that the first processing server has issued the second request, whether the first processing server of detection is received back
Answer message.It is understood that debugging server can handle log according to the request of first server to determine the first processing
Whether server, which receives, receives the response.
Step 4024, it does not receive and receives the response in response to the first processing server, determine the processing for receiving the second request
The mark of server.
After determining that the first processing server is not received and receiveed the response, the processing service for receiving the second request can be determined
Device is not receiveed the response to the first processing server, thus may determine that receiving the mark of the processing server of the second request.
The mark for the processing server that above-mentioned reception second is requested can be determined by the second request.
Step 403, it receives and receives the response in response to the first processing server, determine that the second request is the first request, after
It is continuous to execute above-mentioned determining step 4021~4024.
After determining that the first processing server is received and receiveed the response, it can determine the first processing server and receive second
Interaction between the processing server of request is that normally, do not occur abnormal conditions.It therefore, can be by above-mentioned second request conduct
First request, continues to execute above-mentioned steps 4021~4024.
In some optional implementations of the present embodiment, the above method can also include unshowned following in Fig. 4
Step:
The second request is not issued in response to the first processing server, determines the mark of the first processing server.
If the first processing server is to issue the second request, then it is assumed that there is exception in the network of the first processing server,
Then the first processing server will not be returned and be receiveed the response, it is determined that the mark of the first processing server.
In some optional implementations of the present embodiment, debugging server can also by with each processing server it
Between interface come obtain receive request processing server mark, reception can also be obtained by way of reading database
The mark of the processing server of request.
In some optional implementations of the present embodiment, debugging server is in the request for getting each processing server
After handling log, log can be handled to each request is merged, quickly and effectively be analyzed with facilitating.Specifically, debugging services
Device can realize collection and fusion by the log collection application of some open sources.When debugging server is obtained using interface mode
When the mark of processing server, collection and fusion can be realized by Socket/HTTP mode;When debugging server passes through reading
When taking mark of the mode of database to obtain processing server, can be realized in such a way that database table is synchronous collect and
Fusion.
The request processing method provided by the above embodiment for server system of the application, can quickly position and ask
Topic reduces the number of repetition joint debugging test;The maintenance personnel for not needing multiple servers in the process simultaneously participates in, and saves
Human resources.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind to be used for server
One embodiment of the request processing method device of system, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, should
Device specifically can be applied in various electronic equipments.
As shown in figure 5, the request processing method device 500 for server system of the present embodiment includes: that request receives
Unit 501, request mark determination unit 502, log acquisition unit 503 and server identification determination unit 504.
Wherein, request reception unit 501, for receiving the debugging request of processing server transmission.
Above-mentioned debugging request, which is processing server, to be sent when not receiving and receiveing the response to debugging server, above-mentioned tune
Examination request includes managing the mark of the request sent between server everywhere.
Request mark determination unit 502, for determining the request sent between each processing server according to debugging request
Mark.
Log acquisition unit 503, the request for obtaining each processing server handle log.
Server identification determination unit 504 determines that not returning to response disappears for handling log and mark according to each request
The mark of the processing server of breath.
In some optional implementations of the present embodiment, the request sent between each processing server includes receiving to ask
The mark for the processing server asked.Then above-mentioned server identification determination unit 504 may include unshowned first request in Fig. 5
Determining module, first identifier determining module and feedback module.
Wherein, the first request determining module is determined and is sent between each processing server for handling log according to each request
First request.
First identifier determining module, for executing step identified below based on the first request: the first request of parsing determines
Receive the mark of the first processing server of the first request;Log is handled according to the request of the first processing server, determines first
Whether processing server issues the second request;The second request is issued in response to the first processing server, determines the first processing service
Whether device, which receives, receives the response;It does not receive and receives the response in response to the first processing server, determine and receive the second request
The mark of processing server.
Feedback module is receiveed the response for receiving in response to the first processing server, determines that the second request is asked for first
It asks, feeds back to first identifier determining module.
In some optional implementations of the present embodiment, above-mentioned server identification determination unit 504 may include Fig. 5
In unshowned second identifier determining module, in response to first processing server do not issue it is described second request, really
The mark of fixed first processing server.
In some optional implementations of the present embodiment, above-mentioned log acquisition unit 503 can be further used for:
Log is handled every the request that preset time obtains each processing server.
In some optional implementations of the present embodiment, above-mentioned server identification determination unit 504 can be further
For: each request of fusion handles log.
The request processing unit provided by the above embodiment for server system of the application, when each processing server not
Receive when receiveing the response, debugging request can be sent to debugging server, include in above-mentioned debugging request each processing server it
Between the mark of request that sends, debugging server can obtain each processing server and locate after the mark that above-mentioned request has been determined
The request processing log generated during reason request determines not finally according to the mark of each request processing log and request
The mark for the processing server receiveed the response, in this way can it is quick=the positioning in joint debugging test process call it is abnormal
The mark of processing server reduces the time of joint debugging test, improves the efficiency of joint debugging test.
It should be appreciated that unit 501 to the unit 504 for recording in the request processing unit 500 of server system is distinguished
It is corresponding with each step in method described in reference Fig. 2.As a result, above with respect to the request processing for server system
The operation of method description and feature are equally applicable to device 500 and unit wherein included, and details are not described herein.Device 500
Corresponding units can be cooperated with the unit in server to realize the scheme of the embodiment of the present application.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the server for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Server shown in Fig. 6 is only an example, should not function and use scope band to the embodiment of the present application
Carry out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising carrying is on a machine-readable medium
Computer program, which includes the program code for method shown in execution flow chart.In such implementation
In example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611
It is mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes upper
State function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this application, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In application, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include request reception unit, request mark determination unit, log acquisition unit and server identification determination unit.Wherein, these lists
The title of member does not constitute the restriction to the unit itself under certain conditions, for example, request reception unit can also be described
For " unit for receiving the debugging request that processing server is sent ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when one or more of programs are executed by the device, so that should
Device: the debugging request that processing server is sent is received, above-mentioned debugging request is that above-mentioned processing server is not receiving response
It is sent when message to above-mentioned debugging server, above-mentioned debugging request includes the mark of the request sent between each processing server
Know;According to above-mentioned debugging request, the mark of the request sent between each processing server is determined;Obtain asking for each processing server
Ask processing log;According to each above-mentioned request processing log and above-mentioned mark, determines and do not return to the above-mentioned processing clothes receiveed the response
The mark of business device.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of request processing method for server system, which is characterized in that the server system includes debugging services
Device and multiple processing servers, each processing server are sent according to preset call relation to itself or other processing servers
Request, and receive and receive the response, each processing server and terminal interaction, and in interactive process, it is sent out between each processing server
The mark for the request sent is identical, which comprises
Receive the debugging request that processing server is sent, the debugging request, which is the processing server, to disappear not receiving response
It is sent when breath to the debugging server, the debugging request includes the mark of the request sent between each processing server;
According to the debugging request, the mark of the request sent between each processing server is determined;
Obtain the request processing log of each processing server;
According to each request processing log and the mark, the mark for not returning to the processing server receiveed the response is determined
Know.
2. the method according to claim 1, wherein the request sent between each processing server includes receiving institute
State the mark of the processing server of request;And
It is described that log and the mark are handled according to each request, it determines and does not return to the processing server receiveed the response
Mark, comprising:
Log is handled according to each request, determines the first request sent between each processing server;
Based on first request, execute step identified below: parsing first request determines and receives first request
The mark of first processing server;Log is handled according to the request of first processing server, determines the first processing clothes
Whether business device issues the second request;Second request is issued in response to first processing server, is determined at described first
Whether reason server, which receives, receives the response;It does not receive and receives the response in response to first processing server, determine and receive
The mark of the processing server of second request;
It receives and receives the response in response to first processing server, determine that second request for the first request, continues to hold
The row determining step.
3. according to the method described in claim 2, it is characterized in that, described according to each request processing log and the mark
Know, determine the mark for not returning to the processing server receiveed the response, further includes:
Second request is not issued in response to first processing server, determines the mark of first processing server.
4. described in any item methods according to claim 1~3, which is characterized in that the request for obtaining each processing server
Handle log, comprising:
Interval preset time obtains the request processing log of each processing server.
5. according to the method described in claim 4, it is characterized in that, according to each request processing log and the mark,
Determine the mark for not returning to the processing server receiveed the response, further includes:
Merge each request processing log.
6. a kind of request processing unit for server system, which is characterized in that the server system includes debugging services
Device and multiple processing servers, each processing server are sent according to preset call relation to itself or other processing servers
Request, and receive and receive the response, each processing server and terminal interaction, and in interactive process, it is sent out between each processing server
The mark for the request sent is identical, and described device includes:
Request reception unit, for receiving the debugging request of processing server transmission, the debugging request is the processing service
What device was sent when not receiving and receiveing the response to the debugging server, the debugging request includes between each processing server
The mark of the request of transmission;
Request mark determination unit, for determining the mark of the request sent between each processing server according to the debugging request
Know;
Log acquisition unit, the request for obtaining each processing server handle log;
Server identification determination unit, for determining described in not returning according to each request processing log and the mark
The mark for the processing server receiveed the response.
7. device according to claim 6, which is characterized in that the request sent between each processing server includes receiving institute
State the mark of the processing server of request;And
The server identification determination unit includes:
First request determining module, for according to each request processing log, determining send between each processing server the
One request;
First identifier determining module, for executing step identified below based on first request: parsing first request,
Determine the mark for receiving the first processing server of first request;Day is handled according to the request of first processing server
Will, determines whether first processing server issues the second request;Described the is issued in response to first processing server
Two requests, determine whether first processing server receives and receive the response;It is not connect in response to first processing server
It receives and receives the response, determine the mark for receiving the processing server of second request;
Feedback module is receiveed the response for receiving in response to first processing server, determines that second request is the
One request, feeds back to the first identifier determining module.
8. device according to claim 7, which is characterized in that the server identification determination unit further include:
Second identifier determining module is requested for not issuing described second in response to first processing server, described in determination
The mark of first processing server.
9. according to the described in any item devices of claim 6~8, which is characterized in that the log acquisition unit is further used for:
Interval preset time obtains the request processing log of each processing server.
10. device according to claim 9, which is characterized in that the server identification determination unit is further used for:
Merge each request processing log.
11. a kind of server characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as method as claimed in any one of claims 1 to 5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710512695.5A CN109218041B (en) | 2017-06-29 | 2017-06-29 | Request processing method and device for server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710512695.5A CN109218041B (en) | 2017-06-29 | 2017-06-29 | Request processing method and device for server system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109218041A true CN109218041A (en) | 2019-01-15 |
CN109218041B CN109218041B (en) | 2022-03-11 |
Family
ID=64960601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710512695.5A Active CN109218041B (en) | 2017-06-29 | 2017-06-29 | Request processing method and device for server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218041B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427324A (en) * | 2019-07-30 | 2019-11-08 | 中国工商银行股份有限公司 | Joint debugging system, joint debugging method, computer equipment and storage medium |
CN110704390A (en) * | 2019-09-17 | 2020-01-17 | 平安科技(深圳)有限公司 | Method, device, electronic equipment and medium for obtaining server maintenance script |
CN111274150A (en) * | 2020-02-07 | 2020-06-12 | 北京字节跳动网络技术有限公司 | Service instance access method and device and electronic equipment |
CN111782445A (en) * | 2020-06-28 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Configuration method and device of equipment debugging environment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
CN105207806A (en) * | 2015-08-20 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Monitoring method and apparatus of distributed service |
CN106100913A (en) * | 2016-08-25 | 2016-11-09 | 北京票之家科技有限公司 | Error message alignment system and method |
CN106254145A (en) * | 2016-09-06 | 2016-12-21 | 腾讯科技(深圳)有限公司 | network request tracking processing method and device |
CN106254144A (en) * | 2016-09-06 | 2016-12-21 | 华为技术有限公司 | Fault location platform, Fault Locating Method and device |
CN106330576A (en) * | 2016-11-18 | 2017-01-11 | 北京红马传媒文化发展有限公司 | Automatic scaling and migration scheduling method, system and device for containerization micro-service |
CN106534242A (en) * | 2015-09-14 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Processing method and device for requests in distributed system |
US20170161026A1 (en) * | 2015-12-08 | 2017-06-08 | Paypal, Inc. | Deployment of development environments |
CN106850782A (en) * | 2017-01-17 | 2017-06-13 | 泰康保险集团股份有限公司 | For the method and system of log processing |
-
2017
- 2017-06-29 CN CN201710512695.5A patent/CN109218041B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
CN105207806A (en) * | 2015-08-20 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Monitoring method and apparatus of distributed service |
CN106534242A (en) * | 2015-09-14 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Processing method and device for requests in distributed system |
US20170161026A1 (en) * | 2015-12-08 | 2017-06-08 | Paypal, Inc. | Deployment of development environments |
CN106100913A (en) * | 2016-08-25 | 2016-11-09 | 北京票之家科技有限公司 | Error message alignment system and method |
CN106254145A (en) * | 2016-09-06 | 2016-12-21 | 腾讯科技(深圳)有限公司 | network request tracking processing method and device |
CN106254144A (en) * | 2016-09-06 | 2016-12-21 | 华为技术有限公司 | Fault location platform, Fault Locating Method and device |
CN106330576A (en) * | 2016-11-18 | 2017-01-11 | 北京红马传媒文化发展有限公司 | Automatic scaling and migration scheduling method, system and device for containerization micro-service |
CN106850782A (en) * | 2017-01-17 | 2017-06-13 | 泰康保险集团股份有限公司 | For the method and system of log processing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427324A (en) * | 2019-07-30 | 2019-11-08 | 中国工商银行股份有限公司 | Joint debugging system, joint debugging method, computer equipment and storage medium |
CN110427324B (en) * | 2019-07-30 | 2023-09-08 | 中国工商银行股份有限公司 | Joint debugging system, joint debugging method, computer equipment and storage medium |
CN110704390A (en) * | 2019-09-17 | 2020-01-17 | 平安科技(深圳)有限公司 | Method, device, electronic equipment and medium for obtaining server maintenance script |
CN111274150A (en) * | 2020-02-07 | 2020-06-12 | 北京字节跳动网络技术有限公司 | Service instance access method and device and electronic equipment |
CN111274150B (en) * | 2020-02-07 | 2023-08-22 | 北京字节跳动网络技术有限公司 | Service instance access method and device and electronic equipment |
CN111782445A (en) * | 2020-06-28 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Configuration method and device of equipment debugging environment |
CN111782445B (en) * | 2020-06-28 | 2023-08-15 | 百度在线网络技术(北京)有限公司 | Configuration method and device of equipment debugging environment |
Also Published As
Publication number | Publication date |
---|---|
CN109218041B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357914B (en) | Information processing method and device | |
CN110019350A (en) | Data query method and apparatus based on configuration information | |
CN108960691A (en) | The method and apparatus of determination article inventory for server system | |
CN109218041A (en) | Request processing method and device for server system | |
CN107844324A (en) | Customer terminal webpage redirects treating method and apparatus | |
CN108494860A (en) | WEB accesses system, WEB access methods and device for client | |
CN109684188A (en) | Test method and device | |
CN109992732A (en) | Information sharing method, device, electronic equipment and storage medium | |
CN109992406A (en) | The method and client that picture requesting method, response picture are requested | |
CN109815105A (en) | Applied program testing method and device based on Btrace | |
CN110198248A (en) | The method and apparatus for detecting IP address | |
CN110020329A (en) | For generating the methods, devices and systems of webpage | |
CN110232091A (en) | Mthods, systems and devices for synchrodata | |
CN110019263A (en) | Information storage means and device | |
CN109241722A (en) | For obtaining method, electronic equipment and the computer-readable medium of information | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
CN109918146A (en) | Page generation method and device | |
CN109582317A (en) | Method and apparatus for debugging boarding application | |
CN109656799A (en) | Test method and device | |
CN107347093A (en) | Collocation method and device for distributed server system | |
CN108880923A (en) | The method and apparatus that policer operation applied to application server is requested | |
CN109981546A (en) | The method and apparatus for obtaining the far call relationship between application module | |
CN109150928A (en) | Method and apparatus for handling request | |
CN109818994A (en) | Information processing method and device for agent side | |
CN110827037A (en) | Data interaction method and device based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |