CN107948317A - Adjustment method, device, storage medium and the computer equipment of Distributed Services - Google Patents
Adjustment method, device, storage medium and the computer equipment of Distributed Services Download PDFInfo
- Publication number
- CN107948317A CN107948317A CN201711433640.1A CN201711433640A CN107948317A CN 107948317 A CN107948317 A CN 107948317A CN 201711433640 A CN201711433640 A CN 201711433640A CN 107948317 A CN107948317 A CN 107948317A
- Authority
- CN
- China
- Prior art keywords
- information
- identification information
- debugging
- hardwood
- service
- 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a kind of adjustment method of Distributed Services, device, storage medium and computer equipment, wherein method includes:Breakpoint information is inquired about, according to the breakpoint information interrupt call thread;The information forwarding request for carrying current stack hardwood information and identification information is sent to proxy server, described information forwarding request is used to indicate that the current stack hardwood information and identification information are forwarded to debugging client by the proxy server;The debug command that the debugging client of the proxy server forwarding is generated according to the current stack hardwood information and identification information is received, debugging result is generated according to the debug command.The present invention can not only provide debugging efficiency, but also can reduce the security risk of server-side.
Description
Technical field
The present invention relates to debugging technique field, is situated between more particularly to a kind of adjustment method of Distributed Services, device, storage
Matter and computer equipment.
Background technology
Distributed Services refer to the service that data and program provide and are distributed to multiple servers, and a server is saved service
Point, can include a variety of services in a service node.A type of service, can be distributed on multiple service nodes,
One node also allows the Service Instance for running multiple same types.
In conventional art, when being debugged to the service node in Distributed Services, typically one is opened by server-side
Port is debugged, debugging client interacts debugging by debug agreements, since distributed service node is numerous, debugs client
End needs to connect multiple server-sides, and interaction is complicated, causes debugging efficiency low, and for service node, opening debugging
Port, may bring security risk.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of adjustment method of Distributed Services, device, storage
Medium and computer equipment, to improve debugging efficiency, while reduce security risk.
A kind of adjustment method of Distributed Services, the described method includes:
Breakpoint information is inquired about, according to the breakpoint information interrupt call thread;
The information forwarding request for carrying current stack hardwood information and identification information is sent to proxy server, described information turns
Hair request is used to indicate that the current stack hardwood information and identification information are forwarded to debugging client by the proxy server;
The debugging client for receiving the proxy server forwarding is given birth to according to the current stack hardwood information and identification information
Into debug command, according to the debug command generate debugging result.
In one of the embodiments, the inquiry breakpoint information, according to the step of the breakpoint information interrupt call thread
Further included before rapid:
Breakpoint information is obtained from the proxy server, the breakpoint information is stored to local.
In one of the embodiments, the inquiry breakpoint information, according to the step of the breakpoint information interrupt call thread
Further included before rapid:
The calling service request that Receiving Agent server is sent, inquires about the calling service and asks corresponding current business to be patrolled
Volume;
Performed according to the current business logic and call thread.
In one of the embodiments, described sent to proxy server carries current stack hardwood information and identification information
Further included after the step of information forwarding request:
Obtain local lock;
To proxy server application Telelock, and monitor the Telelock;
When listening to the Telelock and being released, release is local to lock and recovers to call thread.
A kind of debugging apparatus of Distributed Services, described device include:
Breakpoint information enquiry module, for inquiring about breakpoint information, according to the breakpoint information interrupt call thread;
Information forwards request sending module, and current stack hardwood information and identification information are carried for being sent to proxy server
Information forwarding request, described information forwarding request be used for indicate the proxy server by the current stack hardwood information and mark
Know information and be forwarded to debugging client;
Debug command receiving module, for receiving the debugging client of the proxy server forwarding according to the current heap
Stack hardwood information and the debug command of identification information generation, debugging result is generated according to the debug command.
A kind of computer-readable recording medium, is stored with computer program on the computer-readable recording medium, described
When computer program is executed by processor so that the processor performs the step of adjustment method of above-mentioned Distributed Services.
A kind of computer equipment, the computer equipment include memory and processor, meter are stored in the memory
Calculation machine program, when the computer program is performed by the processor so that the processor performs above-mentioned Distributed Services
The step of adjustment method.
Adjustment method, device, storage medium and the computer equipment of above-mentioned Distributed Services, due to each service node only
Need to be communicated with proxy server, the debug command of debugging client is received by proxy server and forwards debugging to tie
Fruit, therefore, there is no need to provide debugging port to debugging client again, reduces security risk during debugging.Simultaneously as debugging
When, debugging client only needs same proxy server to be communicated, it is not necessary to which the node with participating in debugging is established communication and connected one by one
Connect, simplify interaction flow during debugging, so as to improve the debugging efficiency of debugging client.
A kind of adjustment method of Distributed Services, the described method includes:
When service node is according to breakpoint information interrupt call thread, the carrying current stack hardwood that service node is sent is received
Information and the forwarding request of the information of identification information, believe the current stack hardwood information and mark according to described information forwarding request
Breath is sent to debugging client;
Receive the debug command generated according to the current stack hardwood information and identification information that debugging client is sent, institute
State debug command and carry the identification information;
The debug command is forwarded to service node corresponding to the identification information, the debug command is used to indicate institute
State service node generation debugging result.
In one of the embodiments, it is described to receive carrying current stack hardwood information and the identification information that service node is sent
Information forwarding request, according to described information forwarding request by the current stack hardwood information and identification information send to debugging visitor
Include before the step of family end:
The calling service request that debugging client is sent is received, carrying the calling service in the calling service request please
Seek corresponding service type;
Registration table is inquired about according to the service type, the calling service is obtained and asks corresponding identification information;
Calling service request is sent to service node corresponding to the identification information, the calling service request and is used
Thread is called in indicating that Service Instance corresponding to the service node calling identification information performs.
In one of the embodiments, it is described to receive carrying current stack hardwood information and the identification information that service node is sent
Information forwarding request, according to described information forwarding request by the current stack hardwood information and identification information send to debugging visitor
Further included before the step of family end:
Receive the breakpoint information that debugging client is sent;
Receive service node send carrying identification information breakpoint information obtain request, by the breakpoint information send to
Service node corresponding to the identification information.
In one of the embodiments, it is described to receive carrying current stack hardwood information and the identification information that service node is sent
Information forwarding request, according to described information forwarding request by the current stack hardwood information and identification information send to debugging visitor
Further included before the step of family end:
After service node gets local lock, the corresponding Telelock of the local lock is created;
Described that the debug command is forwarded to service node corresponding to the identification information, the debug command is used to refer to
Include after the step of showing the service node generation debugging result:
The recovery order that debugging client is sent is received, the recovery order carries identification information;
Recover Telelock corresponding to the order release identification information according to described.
A kind of debugging apparatus of Distributed Services, described device include:
Information forwards request receiving module, for when service node is according to breakpoint information interrupt call thread, receiving clothes
The carrying current stack hardwood information and the information forwarding request of identification information that business node is sent, being asked according to described information forwarding will
The current stack hardwood information and identification information are sent to debugging client;
Debug command receiving module, for reception debugging client transmission according to the current stack hardwood information and mark
The debug command of information generation, the debug command carry the identification information;
Debug command forwarding module, service node corresponding to the identification information is forwarded to by the debug command, described
Debug command is used to indicate the service node generation debugging result.
A kind of computer-readable recording medium, is stored with computer program on the computer-readable recording medium, described
When computer program is executed by processor so that the processor performs the step of debugging of above-mentioned Distributed Services.
A kind of computer equipment, the computer equipment include memory and processor, meter are stored in the memory
Calculation machine program, when the computer program is performed by the processor so that the processor performs above-mentioned Distributed Services
The step of debugging.
Adjustment method, device, storage medium and the computer equipment of above-mentioned Distributed Services, due to each service node only
Need to be communicated with proxy server, the debug command of debugging client is received by proxy server and forwards debugging to tie
Fruit, therefore, there is no need to provide debugging port to debugging client again, reduces security risk during debugging.Simultaneously as debugging
When, debugging client only needs same proxy server to be communicated, it is not necessary to which the node with participating in debugging is established communication and connected one by one
Connect, simplify interaction flow during debugging, so as to improve the debugging efficiency of debugging client.
Brief description of the drawings
Fig. 1 is the applied environment figure of the adjustment method of Distributed Services in one embodiment;
Fig. 2 is the flow chart of the adjustment method of Distributed Services in one embodiment;
Fig. 3 is the flow chart of the adjustment method of Distributed Services in one embodiment;
Fig. 4 is the step flow chart in Fig. 1 after step S220 in one embodiment;
Fig. 5 is the structure diagram of the debugging apparatus of Distributed Services in one embodiment;
Fig. 6 is the structure diagram of the debugging apparatus of Distributed Services in another embodiment;
Fig. 7 is the flow chart of the adjustment method of Distributed Services in another embodiment;
Fig. 8 is the step flow chart in Fig. 7 before step S710 in one embodiment;
Fig. 9 is the step flow chart in Fig. 7 before step S710 in another embodiment;
Figure 10 is the step flow chart in Fig. 7 before step S710 in another embodiment;
Figure 11 is the structure diagram of the debugging apparatus of Distributed Services in one embodiment;
Figure 12 is the cut-away view of one embodiment Computer equipment.
Embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.Many details are elaborated in the following description in order to fully understand this hair
It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not
Similar improvement is done in the case of running counter to intension of the present invention, therefore the present invention is not limited to the specific embodiments disclosed below.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The normally understood implication of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that the limitation present invention.
Fig. 1 is the applied environment figure of the debugging of the Distributed Services provided in one embodiment, as shown in Figure 1, should at this
With in environment, including debugging client 110, proxy server 120, service node 130, service node 130 include multiple distributions
The service node of formula, can run multiple Service Instances on each service node, wherein, Service Instance is referred in operation
Service routine.In the present embodiment, debugging client 110 is communicated by HTTPS agreements and proxy server 120, generation
Reason server 120 is communicated by RPC agreements and service node 130.
In one embodiment, as shown in Figure 2, there is provided a kind of adjustment method of Distributed Services, is applied in this way
Illustrated exemplified by one of service node 130 in Fig. 1, including:
Step S210, inquires about breakpoint information, according to breakpoint information interrupt call thread.
Specifically, breakpoint includes interface breakpoints and script breakpoint, and the corresponding breakpoint information of interface breakpoints includes service type
And method, the corresponding breakpoint information of script breakpoint include script file name and line number.Thread is called to refer on service node
Service Instance performs thread during calling service.
In one embodiment, after debugging client sets breakpoint information, breakpoint information is sent to proxy server,
Proxy server stores breakpoint information after receiving breakpoint information.Service node is in operation service example, Ke Yixiang
Proxy request inquires about breakpoint information, and the foot for the interface or execution currently called is judged according to the breakpoint information inquired
Whether this matches with breakpoint information, if matching, the interrupt call thread at breakpoint.
In one embodiment, debugging client must first carry out authentication before breakpoint information is set, and identity is recognized
Card can just carry out breakpoint setup after passing through.Specifically, client progress authentication is debugged to comprise the following steps:Receive identity
Certification instructs, the account information that is included during authentication is instructed and encrypted message and default account information, encrypted message into
Row matching, during successful match, authentication passes through.
Step S220, the information forwarding request for carrying current stack hardwood information and identification information is sent to proxy server,
Information forwarding request is used to indicate that current stack hardwood information and identification information are forwarded to debugging client by proxy server.
Specifically, storehouse hardwood information refers to environmental information when program runs to the breakpoint, such as the change in present procedure
Amount, execution thread.Identification information includes service node identification information and service instance identification information, service node identification information
For unique mark current serving Node, service instance identification information is used for unique mark current service example, wherein current clothes
Pragmatic example refers to the corresponding Service Instance of breakpoint, and current serving Node refers to the service node of operation current service example.
In the present embodiment, after thread interrupt is called, service node sends current stack hardwood information and identification information
To proxy server, after proxy server receives storehouse hardwood information and identification information, storehouse hardwood information and identification information are sent out
Send to debugging client.
Step S230, the debugging client of Receiving Agent server forwarding are given birth to according to current stack hardwood information and identification information
Into debug command, according to debug command generate debugging result.
Specifically, after debugging client receives current stack hardwood information and identification information, judged according to storehouse hardwood information
Whether need to be debugged, when needing debugging, debug command is generated according to storehouse hardwood information and identification information, and in the debugging
The identification information is carried in order, which equally includes service node identification information and service instance identification information, generation
After the debug command that reason server receives, debug command is sent to corresponding according to the identification information carried in debug command
Service node, service node send debug command to Service Instance corresponding to identification information after receiving debug command, and
Service Instance generates debugging result after performing debugging.
In one embodiment, being back to debugging result on Service Instance is returned to after service node generation debugging result
Proxy server, proxy server send the debugging result to debugging client.
The debug command for such as debugging client transmission is " checking some variable ", which is named and forwarded by proxy server
After service node, service node sends debugging name to corresponding Service Instance, after Service Instance parses variate-value,
The variate-value is returned to proxy server by service node, and debugging client is transmitted to by proxy server.
The adjustment method of above-mentioned Distributed Services, since each service node only needs with proxy server to be led to
News, receive the debug command of debugging client by proxy server and forward debugging result, therefore, there is no need to again to debugging visitor
Family end provides debugging port, reduces security risk during debugging.Simultaneously as during debugging, debugging client only needs same generation
Reason server is communicated, it is not necessary to which the node with participating in debugging establishes communication connection one by one, simplifies interactive stream during debugging
Journey, so as to improve the debugging efficiency of debugging client.
In one embodiment, breakpoint information is inquired about, is further included before according to the step of breakpoint information interrupt call thread:
Breakpoint information is obtained from proxy server, breakpoint information is stored to local.Specifically, in the present embodiment, service node connects
After receiving calling service request, breakpoint information is obtained from proxy server automatically, and the breakpoint information is stored to local.Breakpoint
Information is stored to local, and service node can be directly from local search breakpoint information, it is not necessary to disconnected from proxy server inquiry again
Point information, so as to further improve debugging efficiency.
In one embodiment, as shown in figure 3, breakpoint information is inquired about, according to the step of breakpoint information interrupt call thread
Further include before:
Step S240, the calling service request that Receiving Agent server is sent, inquiry business call request are corresponding current
Service logic, performs according to current business logic and calls thread.
Specifically, service logic refers to a solid element to provide service to another solid element, it should possesses
Rule and flow.By taking net purchase trousers as an example, service logic includes:Search " trousers "-finding desirable trousers-places an order-must step on
Record account-clearing-pays a bill-receives.What deserves to be explained is according to different business demand and system data, service logic is not
It is identical, such as when when must login account can just place an order success, and Amazon then need not.
In the present embodiment, client is debugged according to different business demand generation calling service requests, by the business tune
The information on services that this calling service to proxy server, is carried in calling service request, the information on services are sent with request
Including service type and the corresponding method of service type, after proxy server receives calling service request, it is advance to inquire about its
The registration table of storage, the corresponding service node mark of service type, service type and Service Instance are preserved in the registration table
The information such as mark, proxy server are based on load balancing positioning clothes after inquiring the service type of matching calling service request
Pragmatic example, is forwarded to the corresponding service node of the Service Instance, service node receives the business tune by calling service request
With running the Service Instance after request, while inquire about the calling service and ask corresponding current business logic, according to current business
Logic calls other Service Instances to perform and calls thread.
In one embodiment, current stack hardwood information and identification information are carried as shown in figure 4, being sent to proxy server
Information forwarding request the step of after further include:
Step S410, obtains local lock.
Step S420, to proxy server application Telelock, and monitors Telelock.
Step S430, when listening to Telelock and being released, release is local to lock and recovers to call thread.
Specifically, local lock, which is used to pin, calls thread, it is ensured that after calling thread interrupt, it is impossible to change current code or change
Amount.The lock identical with the lock object locally locked on service node that Telelock is held for proxy server.
In the present embodiment, after thread interrupt is called, service node locally can attempted to obtain local lock, get this
Telelock, Telelock can be created according to the application of service node to proxy server application Telelock, proxy server after ground lock
Lock object it is identical with the lock object locally locked.
In one embodiment, if arriving Telelock without application after service node time-out, local lock is discharged.
In one embodiment, local lock is the lock obtained from localRegistry, wherein, lock is java kits
The ReentrantLock of the inside.
In one embodiment, as shown in Figure 5, there is provided a kind of debugging apparatus 500 of Distributed Services, including:
Breakpoint information enquiry module 502, for inquiring about breakpoint information, according to breakpoint information interrupt call thread;
Information forwards request sending module 504, and current stack hardwood information and mark are carried for being sent to proxy server
The information forwarding request of information, information forwarding request are used to indicate that proxy server turns current stack hardwood information and identification information
It is sent to debugging client;
Debug command receiving module 506, the debugging client for the forwarding of Receiving Agent server is according to current stack hardwood
Information and the debug command of identification information generation, debugging result is generated according to debug command.
The debugging apparatus of above-mentioned Distributed Services, since each service node only needs with proxy server to be led to
News, receive the debug command of debugging client by proxy server and forward debugging result, therefore, there is no need to again to debugging visitor
Family end provides debugging port, reduces security risk during debugging.Simultaneously as during debugging, debugging client only needs same generation
Reason server is communicated, it is not necessary to which the node with participating in debugging establishes communication connection one by one, simplifies interactive stream during debugging
Journey, so as to improve the debugging efficiency of debugging client.
In one embodiment, above device further includes memory module, will for obtaining breakpoint information from proxy server
Breakpoint information is stored to local.
In one embodiment, above device further includes:Thread execution module is called, is sent for Receiving Agent server
Calling service request, the corresponding current business logic of inquiry business call request simultaneously according to current business logic perform call line
Journey.
In one embodiment, as shown in fig. 6, above device further includes:
Local lock acquisition module 510, for obtaining local lock;
Module 512 is monitored, for proxy server application Telelock, and monitors Telelock;
Local lock release module 514, for when listening to Telelock and being released, release is local to lock and recover to call line
Journey.
In one embodiment, there is provided a kind of computer equipment, including memory and processor, store in memory
Computer program, when computer program is executed by processor so that processor performs following steps:Breakpoint information is inquired about, according to
Breakpoint information interrupt call thread;The information forwarding that carrying current stack hardwood information and identification information are sent to proxy server please
Ask, information forwarding request is used to indicate that current stack hardwood information and identification information are forwarded to debugging client by proxy server;
The debug command that the debugging client of Receiving Agent server forwarding is generated according to current stack hardwood information and identification information, according to
Debug command generates debugging result.
In one embodiment, when computer program is executed by processor so that processor performs inquiry breakpoint information, root
Following steps are also performed according to before the step of breakpoint information interrupt call thread:Breakpoint information is obtained from proxy server, will be disconnected
Point information is stored to local.
In one embodiment, when computer program is executed by processor so that processor performs inquiry breakpoint information, root
Following steps are also performed according to before the step of breakpoint information interrupt call thread:The calling service that Receiving Agent server is sent please
Ask, the corresponding current business logic of inquiry business call request;Performed according to current business logic and call thread.
In one embodiment, when computer program is executed by processor so that processor is performed to be sent out to proxy server
Following steps are also performed after the step of sending the information forwarding request for carrying current stack hardwood information and identification information:Obtain local
Lock;To proxy server application Telelock, and monitor Telelock;When listening to Telelock and being released, it is simultaneously extensive to discharge local lock
Polyphony thread.
In one embodiment, there is provided a kind of computer-readable recording medium, is stored thereon with computer program, calculates
When machine program is executed by processor so that processor performs following steps:Breakpoint information is inquired about, according to breakpoint information interrupt call
Thread;The information forwarding request for carrying current stack hardwood information and identification information, information forwarding request are sent to proxy server
For indicating that current stack hardwood information and identification information are forwarded to debugging client by proxy server;Receiving Agent server turns
The debug command that the debugging client of hair is generated according to current stack hardwood information and identification information, generates according to debug command and debugs
As a result.
In one embodiment, when computer program is executed by processor so that processor performs inquiry breakpoint information, root
Following steps are also performed according to before the step of breakpoint information interrupt call thread:Breakpoint information is obtained from proxy server, will be disconnected
Point information is stored to local.
In one embodiment, when computer program is executed by processor so that processor performs inquiry breakpoint information, root
Following steps are also performed according to before the step of breakpoint information interrupt call thread:The calling service that Receiving Agent server is sent please
Ask, the corresponding current business logic of inquiry business call request;Performed according to current business logic and call thread.
In one embodiment, when computer program is executed by processor so that processor is performed to be sent out to proxy server
Following steps are also performed after the step of sending the information forwarding request for carrying current stack hardwood information and identification information:Obtain local
Lock;To proxy server application Telelock, and monitor Telelock;When listening to Telelock and being released, it is simultaneously extensive to discharge local lock
Polyphony thread.
In one embodiment, as shown in Figure 7, there is provided a kind of adjustment method of Distributed Services, is applied in this way
Illustrated exemplified by proxy server 120 in Fig. 1, including:
Step S710, when service node is according to breakpoint information interrupt call thread, receives the carrying that service node is sent
Current stack hardwood information and the forwarding request of the information of identification information, are asked current stack hardwood information and mark according to information forwarding
Information is sent to debugging client.
Specifically, breakpoint includes interface breakpoints and script breakpoint, and the corresponding breakpoint information of interface breakpoints includes service type
And method, the corresponding breakpoint information of script breakpoint include script file name and line number.Thread is called to refer on service node
Service Instance performs thread during current business.Storehouse hardwood information refers to environmental information when program runs to the breakpoint, such as
Variable, execution thread in present procedure.Identification information includes service node identification information and service instance identification information, clothes
Business node identification information is used for unique mark current serving Node, and it is real that service instance identification information is used for unique mark current service
Example, wherein current service example refer to the corresponding Service Instance of breakpoint, and current serving Node refers to that operation current service is real
The service node of example.
In one embodiment, after debugging client sets breakpoint information, breakpoint information is sent to proxy server,
Proxy server stores breakpoint information after receiving breakpoint information.Service node is in operation service example, Ke Yixiang
Proxy request inquires about breakpoint information, and the foot for the interface or execution currently called is judged according to the breakpoint information inquired
Whether this matches with breakpoint information, if matching, the interrupt call thread at the breakpoint.
Further, after thread interrupt is called, service node to proxy server send carry current stack hardwood information and
The information forwarding request of identification information, after proxy server receives information forwarding request, by the current stack hardwood information and
Current identification information is sent to debugging client.
Step S720, receives the debugging generated according to current stack hardwood information and identification information that debugging client is sent and orders
Order, debug command carry identification information.
Specifically, after debugging client receives current stack hardwood information and identification information, judged according to storehouse hardwood information
Whether need to be debugged, when needing debugging, debug command is generated according to storehouse hardwood information and identification information, and in the debugging
The identification information is carried in order, which equally includes service node identification information and service instance identification information.
Step S730, is forwarded to service node corresponding to identification information, debug command is used to indicate to service by debug command
Node generates debugging result.
Specifically, after the debug command that proxy server receives, will be adjusted according to the identification information carried in debug command
Examination name is sent to corresponding service node, and service node sends debug command to debug command pair after receiving debug command
The Service Instance answered simultaneously generates debugging result after Service Instance performs debugging.
In one embodiment, debugging result is back to proxy server after service node generation debugging result, acted on behalf of
Server sends the debugging result to debugging client.
The debug command for such as debugging client transmission is " checking some variable ", which is named and forwarded by proxy server
After service node, service node sends debugging name to corresponding Service Instance, after Service Instance parses variate-value,
The variate-value is returned to proxy server by service node, and debugging client is transmitted to by proxy server.
The adjustment method of above-mentioned Distributed Services, since each service node only needs with proxy server to be led to
News, receive the debug command of debugging client by proxy server and forward debugging result, therefore, there is no need to again to debugging visitor
Family end provides debugging port, reduces security risk during debugging.Simultaneously as during debugging, debugging client only needs same generation
Reason server is communicated, it is not necessary to which the node with participating in debugging establishes communication connection one by one, simplifies interactive stream during debugging
Journey, so as to improve the debugging efficiency of debugging client.
In one embodiment, as shown in figure 8, receiving carrying current stack hardwood information and the mark letter that service node is sent
The information forwarding request of breath, sends current stack hardwood information and identification information to debugging client according to information forwarding request
Include before step:
Step S810, receives the calling service request that debugging client is sent, calling service is carried in calling service request
Ask corresponding service type.
Step S820, registration table is inquired about according to service type, is obtained calling service and is asked corresponding identification information.
Specifically, service type refers to the service interface class of business, such as:kd.fi.gl.VoucherService.
In the present embodiment, client is debugged according to different business demand generation calling service requests, by the business tune
The information on services that this calling service to proxy server, is carried in calling service request, the information on services are sent with request
Including service type and the corresponding method of service type, after proxy server receives calling service request, it is advance to inquire about its
The registration table of storage, the corresponding service node mark of service type, service type and Service Instance are preserved in the registration table
The information such as mark, proxy server are based on load balancing positioning clothes after inquiring the service type of matching calling service request
Pragmatic example, obtains the identification information of the Service Instance and the identification information of the corresponding service node of the Service Instance.
Step S830, calling service request is sent to service node corresponding to identification information, calling service request and is used for
Indicate that service node calls Service Instance corresponding to identification information to perform and calls thread.
Specifically, calling service request is forwarded to the corresponding service node of the Service Instance by proxy server, is serviced
Node inquires about the corresponding current business logic of calling service request after receiving calling service request, is patrolled according to current business
Volume call corresponding Service Instance to perform and call thread, wherein, service logic refers to a solid element in order to another reality
Body unit provides service, it should the rule and flow possessed.
In one embodiment, as shown in figure 9, receiving carrying current stack hardwood information and the mark letter that service node is sent
The information forwarding request of breath, sends current stack hardwood information and identification information to debugging client according to information forwarding request
Further included before step:
Step S910, receives the breakpoint information that debugging client is sent.
Step S920, the breakpoint information for receiving the carrying identification information that service node is sent obtains request, by breakpoint information
Send to service node corresponding to identification information.
In the present embodiment, after service node receives calling service request, corresponding Service Instance is called to perform calling
Thread simultaneously sends acquisition request breakpoint information to proxy server, and carries the service section of itself in breakpoint information obtains request
Point identification information, proxy server receive breakpoint information acquisition request and send breakpoint information to service node identification information pair
The service node answered, the service node store the breakpoint information received to local.Breakpoint information is stored to local, service
Node can be directly from local search breakpoint information, it is not necessary to breakpoint information is inquired about from proxy server again, so as to further improve
Debugging efficiency.
In one embodiment, as shown in Figure 10, the carrying current stack hardwood information and mark that service node is sent are received
The information forwarding request of information, sends current stack hardwood information and identification information to debugging client according to information forwarding request
The step of before further include:
Step S1010, after service node gets local lock, creates the corresponding Telelock of local lock.
Specifically, local lock, which is used to pin, calls thread, it is ensured that after calling thread interrupt, it is impossible to change current code or change
Amount.The lock identical with the lock object locally locked on service node that Telelock is held for proxy server.
In the present embodiment, after thread interrupt is called, service node locally can attempted to obtain local lock, get this
Telelock, Telelock can be created according to the application of service node to proxy server application Telelock, proxy server after ground lock
Lock object it is identical with the lock object locally locked.
In one embodiment, if arriving Telelock without application after service node time-out, local lock is discharged.
In one embodiment, local lock is the lock obtained from localRegistry, wherein, lock is java kits
The ReentrantLock of the inside.
Debug command is forwarded to service node corresponding to identification information, debug command is used to indicate that service node generation is adjusted
Include after the step of test result:
Step S1020, receives the recovery order that debugging client is sent, and release Telelock is ordered according to recovery.
Specifically, after debugging client receives the debugging result of proxy server forwarding, can be sent to proxy server
Recover order, carry identification information in the recovery order, which includes service node identification information and Service Instance mark
Know information, after proxy server receives debug command, the release Telelock identical with the lock object that identification information is corresponding.
Further, service node is listened to after Telelock is released, and the corresponding local lock of release Telelock, continues to execute tune
Use thread.
In the present embodiment, debugging server is by creating Telelock, is collectively formed point with the local lock of server node
Cloth is locked so that is called thread can not change the variable meeting code at breakpoint during debugging, be ensure that the uniformity of data.
In one embodiment, as shown in figure 11, there is provided a kind of debugging apparatus 1100 of Distributed Services, including:
Information forwards request receiving module 1102, for when service node is according to breakpoint information interrupt call thread, connecing
The carrying current stack hardwood information and the information forwarding request of identification information that receipts service node is sent, being asked according to information forwarding will
Current stack hardwood information and identification information are sent to debugging client;
Debug command receiving module 1104, for reception debugging client transmission according to current stack hardwood information and mark
The debug command of information generation, debug command carry identification information;
Debug command forwarding module 1106, service node corresponding to identification information, debug command are forwarded to by debug command
For indicating that service node generates debugging result.
The debugging apparatus of above-mentioned Distributed Services, since each service node only needs with proxy server to be led to
News, receive the debug command of debugging client by proxy server and forward debugging result, therefore, there is no need to again to debugging visitor
Family end provides debugging port, reduces security risk during debugging.Simultaneously as during debugging, debugging client only needs same generation
Reason server is communicated, it is not necessary to which the node with participating in debugging establishes communication connection one by one, simplifies interactive stream during debugging
Journey, so as to improve the debugging efficiency of debugging client.
In one embodiment, above device further includes:Calling service request receiving module, client is debugged for receiving
The calling service request of transmission, carries calling service in calling service request and asks corresponding service type;Identification information obtains
Module, for inquiring about registration table according to service type, obtains calling service and asks corresponding identification information;Calling service request hair
Module being sent, being used to indicate clothes for sending calling service request to service node corresponding to identification information, calling service request
Business node calls Service Instance corresponding to identification information to perform and calls thread.
In one embodiment, above device further includes:Breakpoint information receiving module, sends for receiving debugging client
Breakpoint information;Breakpoint information obtains request receiving module, the breakpoint of the carrying identification information for receiving service node transmission
Information acquisition request, breakpoint information is sent to service node corresponding to identification information.
In one embodiment, above device further includes:Telelock creation module, for getting local in service node
After lock, the corresponding Telelock of local lock is created;Recover Order receiver module, the recovery life sent for receiving debugging client
Order, recovers order and carries identification information;Telelock release module, for according to recovering to order corresponding long-range of release identification information
Lock.
In one embodiment, there is provided a kind of computer equipment, including memory and processor, store in memory
Computer program, when computer program is executed by processor so that processor performs following steps:In service node according to breakpoint
When message interrupts call thread, receive the carrying current stack hardwood information of service node transmission and the information forwarding of identification information is asked
Ask, sent current stack hardwood information and identification information to debugging client according to information forwarding request;Receive debugging client
The debug command generated according to current stack hardwood information and identification information sent, debug command carry identification information;Will debugging
Order is forwarded to service node corresponding to identification information, and debug command is used to indicate that service node generates debugging result.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps before sending to the step of debugging client:Receive the business that debugging client is sent
Call request, carries calling service in calling service request and asks corresponding service type;Registration table is inquired about according to service type,
Obtain calling service and ask corresponding identification information;Calling service request is sent to service node corresponding to identification information, industry
Business call request is used to indicate that service node calls Service Instance corresponding to identification information to perform and calls thread.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps before sending to the step of debugging client:Receive the breakpoint that debugging client is sent
Information;The breakpoint information for receiving the carrying identification information that service node is sent obtains request, and breakpoint information is sent to mark and is believed
Cease corresponding service node.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps after sending to the step of debugging client:Local lock is got in service node
Afterwards, the corresponding Telelock of local lock is created;When computer program is executed by processor so that processor, which performs, turns debug command
Service node corresponding to identification information is sent to, debug command is used to indicate also to hold after the step of service node generates debugging result
Row following steps:The recovery order that debugging client is sent is received, recovers order and carries identification information;Discharged according to order is recovered
Telelock corresponding to identification information.
In one embodiment, there is provided a kind of computer-readable recording medium, is stored thereon with computer program, calculates
When machine program is executed by processor so that processor performs following steps:In service node according to breakpoint information interrupt call line
Cheng Shi, receives the carrying current stack hardwood information of service node transmission and the information forwarding request of identification information, is turned according to information
Hair request sends current stack hardwood information and identification information to debugging client;It is current to receive the basis that debugging client is sent
Storehouse hardwood information and the debug command of identification information generation, debug command carry identification information;Debug command is forwarded to mark
The corresponding service node of information, debug command are used to indicate that service node generates debugging result.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps before sending to the step of debugging client:Receive the business that debugging client is sent
Call request, carries calling service in calling service request and asks corresponding service type;Registration table is inquired about according to service type,
Obtain calling service and ask corresponding identification information;Calling service request is sent to service node corresponding to identification information, industry
Business call request is used to indicate that service node calls Service Instance corresponding to identification information to perform and calls thread.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps before sending to the step of debugging client:Receive the breakpoint that debugging client is sent
Information;The breakpoint information for receiving the carrying identification information that service node is sent obtains request, and breakpoint information is sent to mark and is believed
Cease corresponding service node.
In one embodiment, when computer program is executed by processor so that processor, which performs, receives service node hair
The carrying current stack hardwood information sent and the information forwarding request of identification information, believe current stack hardwood according to information forwarding request
Breath and identification information also perform following steps after sending to the step of debugging client:Local lock is got in service node
Afterwards, the corresponding Telelock of local lock is created;When computer program is executed by processor so that processor, which performs, turns debug command
Service node corresponding to identification information is sent to, debug command is used to indicate also to hold after the step of service node generates debugging result
Row following steps:The recovery order that debugging client is sent is received, recovers order and carries identification information;Discharged according to order is recovered
Telelock corresponding to identification information.
As shown in figure 12, it is the cut-away view of one embodiment Computer equipment, which can be used as adjusting
Try client or proxy server.The computer equipment connects bus couple processor by system, non-volatile memories are situated between
Matter, built-in storage and network interface.Wherein, the non-volatile memory medium of the computer equipment can storage program area and calculating
Machine readable instruction, the computer-readable instruction are performed, and may be such that processor performs a kind of adjustment method of Distributed Services.
The processor of the computer equipment is used to provide calculating and control ability, supports the operation of whole computer equipment.The memory storage
Computer-readable instruction can be stored in device, when which is executed by processor, may be such that processor performs one
The adjustment method of kind Distributed Services.The network interface of computer equipment is used to carry out network service, such as receives VoP,
Send and stop control instruction etc..
It will be understood by those skilled in the art that the structure shown in Figure 12, only with the relevant part of application scheme
The block diagram of structure, does not form the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
It is standby to include, than more or fewer components shown in figure, either combining some components or arranging with different components.
In one embodiment, the debugging apparatus for the Distributed Services that the application provides can be implemented as a kind of computer journey
The form of sequence, computer program can be run in computer equipment as shown in figure 12, the non-volatile memories of computer equipment
Medium can store each program module for the debugging apparatus for forming the Distributed Services, such as the breakpoint information inquiry mould in Fig. 5
Block 502, information forwarding request sending module 504, debug command receiving module 506.Each program module includes computer can
Reading instruction, computer-readable instruction are used for point for each embodiment of the application for making computer equipment perform described in this specification
Step in the adjustment method of cloth service, for example, computer equipment can pass through the debugging of Distributed Services as shown in Figure 5
Breakpoint information enquiry module 502 in device inquires about breakpoint information, according to breakpoint information interrupt call thread;Forwarded by information
Request sending module 504 sends the information forwarding request for carrying current stack hardwood information and identification information to proxy server;It is logical
The debugging client for crossing the 506 Receiving Agent server forwarding of debugging Order receiver module is believed according to current stack hardwood information and mark
The debug command of generation is ceased, debugging result is generated according to debug command.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, it is readable which can be stored in a non-volatile computer
Take in storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage
Medium can be magnetic disc, CD, read-only memory (Read-OnlyMemory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, its description is more specific and detailed, but simultaneously
Cannot therefore it be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (12)
1. a kind of adjustment method of Distributed Services, the described method includes:
Breakpoint information is inquired about, according to the breakpoint information interrupt call thread;
The information forwarding request for carrying current stack hardwood information and identification information is sent to proxy server, described information forwarding please
Ask for indicating that the current stack hardwood information and identification information are forwarded to debugging client by the proxy server;
Receive what the debugging client that the proxy server forwards was generated according to the current stack hardwood information and identification information
Debug command, debugging result is generated according to the debug command.
2. according to the method described in claim 1, it is characterized in that, the inquiry breakpoint information, according in the breakpoint information
Further included before disconnected the step of calling thread:
Breakpoint information is obtained from the proxy server, the breakpoint information is stored to local.
3. according to the method described in claim 1, it is characterized in that, the inquiry breakpoint information, according in the breakpoint information
Further included before disconnected the step of calling thread:
The calling service request that Receiving Agent server is sent, inquires about the calling service and asks corresponding current business logic;
Performed according to the current business logic and call thread.
4. according to the method described in claim 1, it is characterized in that, described sent to proxy server carries current stack hardwood letter
Further included after the step of information of breath and identification information forwarding request:
Obtain local lock;
To the proxy server application Telelock, and monitor the Telelock;
When listening to the Telelock and being released, discharge the local and lock and recover to call thread.
5. a kind of adjustment method of Distributed Services, the described method includes:
When service node is according to breakpoint information interrupt call thread, the carrying current stack hardwood information that service node is sent is received
And the information forwarding request of identification information, the current stack hardwood information and identification information are sent out according to described information forwarding request
Send to debugging client;
Receive the debug command generated according to the current stack hardwood information and identification information that debugging client is sent, the tune
Examination order carries the identification information;
The debug command is forwarded to service node corresponding to the identification information, the debug command is used to indicate the clothes
Business node generation debugging result.
6. the according to the method described in claim 5, it is characterized in that, carrying current stack hardwood for receiving service node and sending
Information and the forwarding request of the information of identification information, believe the current stack hardwood information and mark according to described information forwarding request
Breath includes before sending to the step of debugging client:
The calling service request that debugging client is sent is received, the calling service request pair is carried in the calling service request
The service type answered;
Registration table is inquired about according to the service type, the calling service is obtained and asks corresponding identification information;
Calling service request is sent to service node corresponding to the identification information, the calling service request and is used to refer to
Show that the service node calls Service Instance corresponding to the identification information to perform and calls thread.
7. the according to the method described in claim 5, it is characterized in that, carrying current stack hardwood for receiving service node and sending
Information and the forwarding request of the information of identification information, believe the current stack hardwood information and mark according to described information forwarding request
Breath further includes before sending to the step of debugging client:
Receive the breakpoint information that debugging client is sent;
The breakpoint information for receiving the carrying identification information that service node is sent obtains request, and the breakpoint information is sent to described
Service node corresponding to identification information.
8. the according to the method described in claim 5, it is characterized in that, carrying current stack hardwood for receiving service node and sending
Information and the forwarding request of the information of identification information, believe the current stack hardwood information and mark according to described information forwarding request
Breath further includes before sending to the step of debugging client:
After service node gets local lock, the corresponding Telelock of the local lock is created;
Described that the debug command is forwarded to service node corresponding to the identification information, the debug command is used to indicate institute
Include after the step of stating service node generation debugging result:
The recovery order that debugging client is sent is received, the recovery order carries identification information;
Recover Telelock corresponding to the order release identification information according to described.
9. a kind of debugging apparatus of Distributed Services, it is characterised in that described device includes:
Breakpoint information enquiry module, for inquiring about breakpoint information, according to the breakpoint information interrupt call thread;
Information forwards request sending module, and the letter of current stack hardwood information and identification information is carried for being sent to proxy server
Breath forwarding request, described information forwarding request are used to indicate that the proxy server believes the current stack hardwood information and mark
Breath is forwarded to debugging client;
Debug command receiving module, for receiving the debugging client of the proxy server forwarding according to the current stack hardwood
Information and the debug command of identification information generation, debugging result is generated according to the debug command.
10. a kind of debugging apparatus of Distributed Services, it is characterised in that described device includes:
Information forwards request receiving module, for when service node is according to breakpoint information interrupt call thread, receiving service section
The carrying current stack hardwood information of point transmission and the information forwarding request of identification information, request is forwarded by described according to described information
Current stack hardwood information and identification information are sent to debugging client;
Debug command receiving module, for reception debugging client transmission according to the current stack hardwood information and identification information
The debug command of generation, the debug command carry the identification information;
Debug command forwarding module, service node corresponding to the identification information, the debugging are forwarded to by the debug command
Order is used to indicate the service node generation debugging result.
11. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The adjustment method such as Distributed Services described in any item of the claim 1 to 8 is realized during execution.
12. a kind of computer equipment, the computer equipment includes memory, processor and is stored on the memory and can
The computer program run on the processor, it is characterised in that the processor is realized when performing the computer program
Such as the adjustment method of Distributed Services described in any item of the claim 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711433640.1A CN107948317B (en) | 2017-12-26 | 2017-12-26 | Debugging method and device of distributed service, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711433640.1A CN107948317B (en) | 2017-12-26 | 2017-12-26 | Debugging method and device of distributed service, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107948317A true CN107948317A (en) | 2018-04-20 |
CN107948317B CN107948317B (en) | 2021-01-22 |
Family
ID=61939232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711433640.1A Active CN107948317B (en) | 2017-12-26 | 2017-12-26 | Debugging method and device of distributed service, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948317B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900482A (en) * | 2018-06-13 | 2018-11-27 | 平安科技(深圳)有限公司 | Execution method, server management system and the storage medium of script |
CN109144420A (en) * | 2018-08-22 | 2019-01-04 | 深圳忆联信息系统有限公司 | More particle self-adaptive initial method, apparatus, computer equipment and storage medium |
CN109669737A (en) * | 2018-12-19 | 2019-04-23 | 百度在线网络技术(北京)有限公司 | Application processing method, device, equipment and medium |
CN110018956A (en) * | 2019-01-28 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Using adjustment method and relevant apparatus |
CN110032426A (en) * | 2019-04-10 | 2019-07-19 | 浙江讯盟科技有限公司 | A kind of method that can be debugged in real time online, system and storage medium |
CN110046189A (en) * | 2019-03-28 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Data transmission method and its device |
CN110704295A (en) * | 2018-07-10 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Data calling method, device, equipment and system |
CN111176986A (en) * | 2019-12-16 | 2020-05-19 | 金蝶软件(中国)有限公司 | Thread script debugging method and device, computer equipment and storage medium |
CN112235417A (en) * | 2020-11-09 | 2021-01-15 | 北京百度网讯科技有限公司 | Method and device for sending debugging instruction |
CN113127326A (en) * | 2019-12-30 | 2021-07-16 | 中科星图股份有限公司 | Remote debugging method and system based on jdwp |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630285A (en) * | 2009-08-07 | 2010-01-20 | 华南理工大学 | Software performance testing method applied in embedded system |
CN101316196B (en) * | 2007-05-28 | 2010-12-08 | 华为技术有限公司 | Method and apparatus for implementing simulation test of service on distributed platform |
US20110307871A1 (en) * | 2010-06-11 | 2011-12-15 | International Business Machines Corporation | Distributed Debugging |
CN102694866A (en) * | 2012-06-01 | 2012-09-26 | 北京首钢自动化信息技术有限公司 | Service request broker system in distributed network environment |
US8898643B2 (en) * | 2012-06-19 | 2014-11-25 | Sap Se | Application trace replay and simulation systems and methods |
US8990775B2 (en) * | 2010-11-10 | 2015-03-24 | International Business Machines Corporation | Collaborative software debugging in a distributed system with dynamically displayed chat sessions |
-
2017
- 2017-12-26 CN CN201711433640.1A patent/CN107948317B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316196B (en) * | 2007-05-28 | 2010-12-08 | 华为技术有限公司 | Method and apparatus for implementing simulation test of service on distributed platform |
CN101630285A (en) * | 2009-08-07 | 2010-01-20 | 华南理工大学 | Software performance testing method applied in embedded system |
US20110307871A1 (en) * | 2010-06-11 | 2011-12-15 | International Business Machines Corporation | Distributed Debugging |
US8990775B2 (en) * | 2010-11-10 | 2015-03-24 | International Business Machines Corporation | Collaborative software debugging in a distributed system with dynamically displayed chat sessions |
CN102694866A (en) * | 2012-06-01 | 2012-09-26 | 北京首钢自动化信息技术有限公司 | Service request broker system in distributed network environment |
US8898643B2 (en) * | 2012-06-19 | 2014-11-25 | Sap Se | Application trace replay and simulation systems and methods |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900482A (en) * | 2018-06-13 | 2018-11-27 | 平安科技(深圳)有限公司 | Execution method, server management system and the storage medium of script |
CN108900482B (en) * | 2018-06-13 | 2021-04-16 | 平安科技(深圳)有限公司 | Script execution method, server management system, and storage medium |
CN110704295A (en) * | 2018-07-10 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Data calling method, device, equipment and system |
CN110704295B (en) * | 2018-07-10 | 2023-04-11 | 阿里巴巴集团控股有限公司 | Data calling method, device, equipment and system |
CN109144420B (en) * | 2018-08-22 | 2021-07-13 | 深圳忆联信息系统有限公司 | Multi-particle self-adaptive initialization method and device, computer equipment and storage medium |
CN109144420A (en) * | 2018-08-22 | 2019-01-04 | 深圳忆联信息系统有限公司 | More particle self-adaptive initial method, apparatus, computer equipment and storage medium |
CN109669737A (en) * | 2018-12-19 | 2019-04-23 | 百度在线网络技术(北京)有限公司 | Application processing method, device, equipment and medium |
CN109669737B (en) * | 2018-12-19 | 2023-04-18 | 百度在线网络技术(北京)有限公司 | Application processing method, device, equipment and medium |
CN110018956A (en) * | 2019-01-28 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Using adjustment method and relevant apparatus |
CN110046189A (en) * | 2019-03-28 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Data transmission method and its device |
CN110032426A (en) * | 2019-04-10 | 2019-07-19 | 浙江讯盟科技有限公司 | A kind of method that can be debugged in real time online, system and storage medium |
CN111176986A (en) * | 2019-12-16 | 2020-05-19 | 金蝶软件(中国)有限公司 | Thread script debugging method and device, computer equipment and storage medium |
CN111176986B (en) * | 2019-12-16 | 2023-12-29 | 金蝶软件(中国)有限公司 | Thread script debugging method and device, computer equipment and storage medium |
CN113127326A (en) * | 2019-12-30 | 2021-07-16 | 中科星图股份有限公司 | Remote debugging method and system based on jdwp |
CN112235417A (en) * | 2020-11-09 | 2021-01-15 | 北京百度网讯科技有限公司 | Method and device for sending debugging instruction |
US11860749B2 (en) | 2020-11-09 | 2024-01-02 | Beijing Baidu Netcom Science and Technology Co., Ltd | Method and apparatus for sending debugging instruction |
Also Published As
Publication number | Publication date |
---|---|
CN107948317B (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107948317A (en) | Adjustment method, device, storage medium and the computer equipment of Distributed Services | |
CN106453519A (en) | Interface call method and device | |
CN108470298B (en) | Method, device and system for transferring resource numerical value | |
WO2017097123A1 (en) | Access request conversion method and device | |
EP2313833B1 (en) | Service integration platform system and method for internet services | |
US6983400B2 (en) | Distributed test harness model | |
CN101124565B (en) | Data traffic load balancing based on application layer messages | |
US7668839B2 (en) | Application management for utilizing a replication engine of a Web-AP server to execute SIP replication | |
CN109995713A (en) | Service processing method and relevant device in a kind of micro services frame | |
US8498854B2 (en) | Enabling end-to-end testing of applications across networks | |
WO2001044894A2 (en) | System and method for dynamic content routing | |
CN110535976B (en) | Session maintaining method and device | |
CN108156178A (en) | A kind of SSL/TLS data monitoring systems and method | |
CN108063714A (en) | A kind of processing method and processing device of network request | |
CN110781083B (en) | H5 client code setting multi-environment testing method and system | |
CN106105154A (en) | The method of data upload, Apparatus and system | |
US20220326940A1 (en) | Service Upgrade Method, Apparatus, and System | |
CN106612204A (en) | Service verification method and apparatus | |
CN114217981A (en) | Bank-enterprise direct connection communication method and device, computer equipment and storage medium | |
EP4154441A1 (en) | Access management of publisher nodes for secure access to maas network | |
CN104253702B (en) | A kind of terminal management method and system | |
CN106844073B (en) | Method for diagnosing application, diagnosis client and system | |
US20140359108A1 (en) | Xml based generic unix discovery framework | |
US20130166438A1 (en) | Transaction services tools system | |
US20210067402A1 (en) | Disaster Recovery of Cloud Resources |
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 |