CN109150978A - The method and apparatus for debugging micro services - Google Patents

The method and apparatus for debugging micro services Download PDF

Info

Publication number
CN109150978A
CN109150978A CN201810819331.6A CN201810819331A CN109150978A CN 109150978 A CN109150978 A CN 109150978A CN 201810819331 A CN201810819331 A CN 201810819331A CN 109150978 A CN109150978 A CN 109150978A
Authority
CN
China
Prior art keywords
micro services
user
debugging
request
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
Application number
CN201810819331.6A
Other languages
Chinese (zh)
Other versions
CN109150978B (en
Inventor
张心祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810819331.6A priority Critical patent/CN109150978B/en
Publication of CN109150978A publication Critical patent/CN109150978A/en
Application granted granted Critical
Publication of CN109150978B publication Critical patent/CN109150978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus of debugging micro services.One specific embodiment of this method comprises determining that the mark of the mark of the user of sending request indicated by the debugging request obtained, the micro services module for requesting debugging;The configuration file of user is read according to the mark of user, configuration file includes the routing relation between user identifier and micro services module id and the network address of micro services example;Debugging request is forwarded to the corresponding target micro services example of debugging request that the configuration file based on user is determined, debugging operations are executed based on target micro services example.The embodiment realizes the debugging of the micro services based on micro services example network address, can improve debugging efficiency in debugging with quick positioning question.

Description

The method and apparatus for debugging micro services
Technical field
The invention relates to field of computer technology, and in particular to cloud service field, more particularly to debugging micro services Method and apparatus.
Background technique
Micro services are a kind of service technologies that can be independently disposed according to business module segmentation service type, each service, It is currently a popular one of software architecture.Can dispose numerous micro services in cloud service, have between micro services it is complicated according to The micro services module inside relationship, especially cloud computing system is relied to rely on the infrastructure of numerous bottoms, it is numerous in cloud service Micro services module needs to rely on the support of the resource of numerous bottom datas using shared exploitation debugging system when developing and debugging To orient micro services module to be debugged.
Summary of the invention
The embodiment of the present application proposes the method and apparatus of debugging micro services.
In a first aspect, the embodiment of the present application provides a kind of method for debugging micro services, comprising: determine the debugging obtained The mark of the user of the indicated sending request of request, the mark for requesting the micro services module debugged;According to the mark of user The configuration file of user is read, configuration file includes the network address of user identifier and micro services module id and micro services example Between routing relation;It is micro- that debugging request is forwarded to the corresponding target of debugging request that the configuration file based on user is determined Service Instance executes debugging operations based on target micro services example.
In some embodiments, the above method further include: when disposing micro services module, for the pragmatic in incognito of user's deployment The domain name created is mapped to user's deployment by the domain name that example creation is generated by the mark of user and the mark of micro services module The network address of micro services example saves domain name into the configuration file of user.
In some embodiments, above-mentioned that debugging request is forwarded to the debugging request that the configuration file based on user is determined Corresponding target micro services example executes debugging operations based on target micro services example, comprising: look into according to the configuration file of user Find out the network address of target micro services example corresponding with the mark of micro services module for identifying and requesting debugging of user; Debugging request is linked to the network address for the target micro services example having been turned on, executes the corresponding debugging operations of debugging request.
In some embodiments, the above method further include: start micro services example in container, comprising: obtain compiled Micro services module program bag and program bag is run in container;Or perform the following operations: is obtained based on hair in container The patch file for the micro services module that the client of debugging request uploads out obtains the program text of stored micro services module Part applies micro services module patch file in the program file of micro services module, and compiling is using the program text after patch file Part generates program bag, runs program bag generated.
In some embodiments, the mark of the user of sending request indicated by the debugging request that above-mentioned determination has obtained, It include: the request mark for being retrieved as debugging request distribution;Based on the corresponding relationship between preset request mark and user identifier Determine that the request of debugging request identifies corresponding user identifier, the mark as the user for issuing request.
In some embodiments, determine the user of request is issued indicated by the debugging request that has obtained mark it Before, the above method further include: by acting on behalf of the debugging request for obtaining and being debugged to micro services, debugging request includes user's order Board;The user for issuing debugging request is authenticated based on User Token;And the debugging request that above-mentioned determination has obtained is signified The mark of the user for the sending request shown, the mark for requesting the micro services module debugged, comprising: if the authentication is passed, determine The mark of the user of sending request indicated by the debugging request of acquisition, the mark for requesting the micro services module debugged.
Second aspect, the embodiment of the present application provide a kind of device for debugging micro services, comprising: determination unit is configured At the mark for determining the mark for issuing the user requested indicated by the debugging request obtained, the micro services module for requesting debugging Know;Reading unit is configured to read the configuration file of user according to the mark of user, and configuration file includes user identifier and micro- Routing relation between service module mark and the network address of micro services example;Retransmission unit is configured to debugging request It is forwarded to the corresponding target micro services example of debugging request that the configuration file based on user is determined, it is pragmatic in incognito based on target Example executes debugging operations.
In some embodiments, above-mentioned apparatus further include: deployment unit, be configured to be when disposing micro services module The domain name that the micro services example creation of user's deployment is generated by the mark of user and the mark of micro services module, the domain that will be created Name maps to the network address of the micro services example of user's deployment, and domain name is saved into the configuration file of user.
In some embodiments, above-mentioned retransmission unit is further configured to: according to the configuration file of user find out with The mark of user and the network address for identifying corresponding target micro services example for requesting the micro services module debugged;It will debugging Hyperlink request executes the corresponding debugging operations of debugging request to the network address for the target micro services example having been turned on.
In some embodiments, above-mentioned apparatus further include: start unit is configured to open in container as follows Dynamic micro services example: it obtains the program bag of compiled micro services module and runs program bag in container;Or in container It performs the following operations: obtaining the patch file of the micro services module uploaded based on the client for issuing debugging request, acquisition has been deposited The program file of the micro services module of storage applies micro services module patch file, compiling in the program file of micro services module Program bag is generated using the program file after patch file, runs program bag generated.
In some embodiments, above-mentioned determination unit is further configured to determine the debugging obtained as follows The mark of the user of the indicated sending request of request: it is retrieved as the request mark of debugging request distribution;Based on preset request Mark determines the corresponding user identifier of the request mark of debugging request with the corresponding relationship between user identifier, as issuing request User mark.
In some embodiments, above-mentioned apparatus further include: connection unit is configured to determining the debugging request obtained Before the mark of the user of indicated sending request, by acting on behalf of the debugging request for obtaining and being debugged to micro services, debugging Request includes User Token;Authenticating unit is configured to authenticate the user for issuing debugging request based on User Token;With And above-mentioned determination unit is further configured to determine that sending indicated by the debugging request obtained is asked in response to the authentication is passed The mark of the user asked, the mark for requesting the micro services module debugged.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more The method that a processor realizes the debugging micro services provided such as first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, the method for the debugging micro services that first aspect provides is realized when program is executed by processor.
The method and apparatus of the debugging micro services of the above embodiments of the present application, by determining that the debugging request obtained is signified The mark of the user for the sending request shown, the mark for requesting the micro services module debugged, then read according to the mark of user The configuration file of user, configuration file include between user identifier and micro services module id and the network address of micro services example Routing relation, it is micro- that debugging request is forwarded to the corresponding target of debugging request that the configuration file based on user is determined later Service Instance, executing debugging operations based on target micro services example realizes the micro services tune based on micro services example network address Examination, in debugging due to can directly be connected to the network of micro services example according to the mark of the mark of user and micro services module Address can be improved debugging efficiency with quick positioning question.
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 the embodiment of the present application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for the debugging micro services of the application;
Fig. 3 is the flow chart according to another embodiment of the method for the debugging micro services of the application;
Fig. 4 is a structural schematic diagram of the device of the debugging micro services of the application;
Fig. 5 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment 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 exemplary system of the device of the method or debugging micro services of the debugging micro services of the application System framework 100.
As shown in Figure 1, system architecture 100 may include commissioning device 101,102,103, network 104 and server 105.Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 It may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User 110 can be used commissioning device 101,102,103 and be interacted with server 105 by network 104, with reception or Send message etc..Micro services deployment/debugging application based on cloud computing can be installed on commissioning device 101,102,103.It adjusts Examination equipment 101,102,103 can be with display and support the various electronic equipments of internet access, including but not limited to Desktop computer, laptop, above-knee pocket computer, tablet computer, smart phone etc..
User 110 can be the developer of micro services module, for example, on shopping platform shopping cart module developer. Developer can issue debugging micro services module to server by micro services deployment/debugging application on commissioning device Request.
Server 105, which can be, provides the server of micro services deployment and debugging services for commissioning device 101,102,103, Micro services deployment/debugging request that server 105 can issue commissioning device 101,102,103 parses, according to parsing As a result it positions to corresponding micro services example, tune-up data is then transmitted to corresponding micro services example to execute debugging behaviour Make, debugging result can be returned into commissioning device 101,102,103 later.
Server 105 can be the Cloud Server based on cloud computing, and Cloud Server can provide the running environment of micro services, Bottom data is provided to support.Multiple micro services can be disposed in Cloud Server, the micro services in Cloud Server can be with merging run The bottom data that environment provides.
It should be noted that the method for debugging micro services provided by the embodiment of the present application can be executed by server 105, Correspondingly, the device for debugging micro services can be set in server 105.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software To be implemented as multiple softwares or software module (such as providing multiple software modules of Distributed Services), also may be implemented into Single software or software module.It is not specifically limited herein.
It should be understood that the terminal device, network, the number of server in Fig. 1 are only schematical.According to realization need It wants, can have any number of terminal device, network, server.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the methods of the debugging micro services of the application 200.The method of the debugging micro services, comprising the following steps:
Step 201, it determines and issues the mark of the user of request indicated by the debugging request obtained, requests debugging The mark of micro services module.
In the present embodiment, the executing subject (such as server 105 shown in FIG. 1) for debugging the method for micro services can obtain Take debugging request.Herein, micro services are small service modules, can be the appreciable minimum of user in the service of systematization The function collection of the scale of construction, for example, can be shopping cart module on line shopping system, the harvest address module of user, order object Flow status modules etc..
Above-mentioned debugging request can be by developer by the debugging client on terminal device or for debugging micro services Commissioning device issue, the request of function for debugging micro services.It can be installed on above-mentioned terminal device and commissioning device There is deployment/debugging platform client that Cloud Server offer is provided, developer can be micro- by starting in the client The debugging routine of service can specifically select the mark of the micro services module of debugging after login, and client can be according to user The operation for starting micro services debugging routine generates debugging request.
In specific scene, developer can access cloud service platform by browser, such as flat by cloud service The network address of platformwww.xxx.comAccess Cloud Server.The micro services for needing to debug can be selected in cloud service platform, such as are marked Know the micro services module for being service1, then can be generated the debugging request of the mark comprising micro services module, and to cloud service Device issues the debugging request, such as micro services module is accessed by debug.www.xxx.com/api.service1.Also It is to say, debugging request can be issued by http request.
Above-mentioned executing subject (i.e. accessed Cloud Server) can receive the debugging that terminal device or commissioning device issue Request, and therefrom parse the mark for requesting the micro services module of debugging.In the present embodiment, may be used also in above-mentioned debugging request To include the mark for issuing the user of request, the mark of the user of sending request is for identifying the body for executing the developer of debugging Part, it can be determined by the log-on message that developer submits when logging in cloud service platform.In this way, in access micro services module When service1, the chained address comprising user identifier can be directly inputted in the browser's address bar, such as User1.debug.www.xxx.com/api.service1, wherein user1 is the user identifier of developer.Pass through the link Address can identify the mark service1 for requesting the micro services of debugging, and issue the mark use1 of the user of request.
In some optional implementations of the present embodiment, the debugging request obtained can be determined as follows The mark of the user for the sending request supported: it is retrieved as the request mark of debugging request distribution, is identified based on preset request Corresponding relationship between user identifier determines that the request of debugging request identifies corresponding user identifier, as the use for issuing request The mark at family.
Specifically, after issuing request, a unique request mark, the request mark can be distributed for each request Know and is corresponded with the mark for the user for issuing request.It, can be by the mark of request mark and user after distribution request mark Corresponding relationship between knowledge is saved to database.Then after obtaining debugging request, the request of the available request is identified, and It is corresponding that request mark is found out based on the corresponding relationship between the preset request mark stored in database and user identifier User identifier, as issue debugging request user mark.
In actual scene, user can be identified from the debugging request of user.Front end network access layer (i.e. most Close to the layer of commissioning device or terminal device where browser) it can be identified for each request distribution request, this request mark Knowing can be through the call chain entirely requested.Pass through API (Application Programming in network access layer Interface, application programming interface) gateway requests back-end services when, such as it is logical from micro services module service1 When crossing API gateway steering micro services module service2, it can be connect by requesting mark inquire by network access layer Enter user identifier when cloud service.
Step 202, the configuration file of user is read according to the mark of user.
The mark of the configuration file of user and user can associatedly be stored in the database in advance.It is asked determining to issue After the mark of the user asked, the configuration file of user can be inquired in the database according to the mark of user.The configuration of user File may include the routing relation between user identifier and micro services module id and the network address of micro services example.
In the present embodiment, it can be pre-configured with the network address of the example of the corresponding micro services module of user, that is, configured The network address of micro services example.User can configure the domain name of micro services embodiment, and the domain name and the mark of user are closed Connection.It is alternatively possible to which the mark of user is arranged in a field of domain name, such as can be set for characterizing " path " (path) or in the field of " inquiry " (query).Above-mentioned executing subject can be according to the configuration of user in the domain of micro services example Corresponding relationship is constructed between the mark of the mark and micro services module of name and user, and by the domain name of micro services example and user Mark and micro services module mark between corresponding relationship, as user identifier and micro services module id and micro services Routing relation between the network address of example stores the routing relation into database.Above-mentioned executing subject can pass through DNS (Domain Name System, domain name system) server parses the domain name of the micro services example of user configuration, i.e., The domain name of the micro services example of user configuration is associated with to corresponding IP (Internet Protocol, network protocol) address.This Sample, by the corresponding domain name of micro services example, the network address of accessible micro services example.
Step 203, debugging request is forwarded to the corresponding target of debugging request that the configuration file based on user is determined Micro services example executes debugging operations based on target micro services example.
After inquiring the configuration file for issuing the user of request, can according to user identifier in configuration file, in incognito The routing relation being engaged between module id and the network address of micro services example, debugging request routing forwarding is true to step 201 The network address of the mark of fixed user and the corresponding micro services example of the mark of micro services module (i.e. target micro services), this Sample can establish the connection between the network address of the client and target micro services that issue request.Later can according to Corresponding tune-up data is sent to the network address of target micro services example in the debugging operations of client by family, thereby executing To the debugging operations of micro services module.
User can (Java Platform Debugger Architecture, Java platform debug system based on JDWP Structure) it is debugged.The application programming interfaces that can be provided by JDWP, build debugging routine, and by the correlation of debugging routine Data are sent to the network address of target micro services example, realize the debugging of micro services module.
The method of the debugging micro services of the above embodiments of the present application, by determining hair indicated by the debugging request obtained The mark of the user requested out, the mark for requesting the micro services module debugged then read user's according to the mark of user Configuration file, configuration file include the routing between user identifier and micro services module id and the network address of micro services example It is pragmatic in incognito to be forwarded to the corresponding target of debugging request that the configuration file based on user is determined later by relationship for debugging request Example realizes the micro services debugging based on micro services example network address, in debugging due to can be directly according to the mark of user Know the network address for being connected to micro services example with the mark of micro services module, debugging can be can be improved with quick positioning question Efficiency.
In some optional implementations of the present embodiment, the method for above-mentioned debugging micro services can also include that deployment is micro- The step of service module.The step of deployment micro services module, can specifically include: when disposing micro services module, for the Ministry of Revenue The domain name that the micro services example creation of administration is generated by the mark of user and the mark of micro services module, the domain name created is mapped The network address for the micro services example disposed to user, the domain name created is saved into the configuration file of user.
Specifically, when disposing micro services module in cloud service platform, it can star the micro services example of micro services module, Start a thread to run the executable file (such as sound code file) for realizing micro services functions of modules, and is the micro services Exemplary configuration domain name, the domain name can be generated by the mark of the user of deployment micro services and the mark of micro services module, such as can With by the identifier combination of the mark of micro services module and user, the domain name field for adding standard generates the domain name of micro services example. The domain name of one illustrative micro services example are as follows:http://user1.service1, wherein user1 and service1 difference Can also include for the mark of user and the mark of micro services module, in the configuration file of the user user deployment other are micro- The domain name of service, such ashttp://user1.service2It is that micro services module service2 is configured in incognito for user user1 The domain name of pragmatic example.Later, the dns server that physical machine thereon is disposed in cloud service can be set to DNS service discovery The domain name of above-mentioned micro services example is mapped to the net of the micro services example of user's deployment by DNS service discovery component by component Network address.In this way, the configuration file of user can be inquired according to the mark of user in step 202, then matching from user Set the corresponding network address of micro services example for the micro services that debugging is extracted in file.Step 203 can be by debugging request It is forwarded to the corresponding network address of micro services example.
By including the domain name of user identifier and micro services module id for user's creation, and domain name is mapped into micro services The network address of the example of micro services indicated by module id thus generates the configuration file of user, helps to realize The http layers of micro services example different by different domain name access shield the position fixing process of cumbersome micro services example, accelerate to adjust The positioning of the problems in examination process.
In some optional implementations of the present embodiment, above-mentioned steps 203 can be executed as follows: according to The configuration file of user finds out target corresponding with the mark of micro services module for identifying and requesting debugging of user in incognito The network address of pragmatic example;Debugging request is linked to the network address for the target micro services example having been turned on, debugging is executed and asks Seek corresponding debugging operations.Specifically, the mark comprising user and requested can be found out in the configuration file of user Domain name is mapped to the network of corresponding micro services example by DNS service discovery component by the domain name of the mark of micro services module Address, or the mark of mark and requested micro services module comprising user is directly found in the configuration file of user Debugging request, is linked to the network address of the micro services example by the network address that domain name maps to, and such user is accessible The related data of debugging operations is transmitted to and has been turned on by the network address of micro services example, and then can execute debugging operations The network address of micro services example obtains debugging result.
Further, the method for above-mentioned debugging micro services can also include: the starting micro services example in container.One kind can The method for starting micro services example in container of choosing are as follows: obtain the program bag of compiled micro services module and having been turned on Program bag is run in container.User can be in client terminal start-up container, when container starts, it is possible to specify the program of micro services module The version of packet, then constantly downloads the program bag of compiled micro services module from server, and by the program of downloading It wraps and reaches in the container having been turned on, run the program bag of acquisition in a reservoir to start micro services example.
Another method for starting micro services example optionally in container includes performing the following operations in container: being obtained Patch file based on the micro services module that the client for issuing debugging request uploads, obtains the journey of stored micro services module Preface part applies the patch file of micro services module in the program file of micro services module, and compiling is using after patch file Program file generates program bag, runs program bag generated.Herein, patch file is according to client local and server Program file difference generate, i.e., according to the reality of the code of the realization micro services functions of modules of client local and server What the difference between the code of existing micro services module generated.Patch file can be uploaded to inside container by client, be held The program file for having stored the module of micro services in the server can be synchronized inside device, it later can be in synchronous micro services mould Above-mentioned patch file is applied in the program file of block, so that the program file of the micro services module inside container and client are local Program file be consistent.Then it can start compiling instruction in container, generate the program bag of micro services module, operation should Program bag can start micro services example in container.
It can be the running environment of micro services distribution isolation, so that different ends by starting micro services example in container The micro services example of slogan and heterogeneous networks address does not conflict mutually, while external access can also be isolated in where container In physical machine.Be conducive to be promoted the safety and ease for use of cloud service.Also, since each micro services example is in container environmental interior It affixes one's name to and runs, so that deployment/debugging of the debugging of different micro services independent of other micro services in debugging process, thus opening It is not necessary that code is issued and requested the developer of other micro services modules audit when hair, directly issued after exploitation, deployment, debugging , development efficiency can be substantially improved.
Further, when generating the configuration file of user, user can dispose the micro services example of oneself, can incite somebody to action oneself Oneself micro services link to the micro services example of other users.Example micro services example service1 is the micro- of user user1 deployment The example of service module service, user user2 can also configure micro services module service and turn to user1 deployment in incognito Pragmatic example service1 then saves the mark user2 and micro services module of user in the configuration file of user user2 The mark of service and the routing relation of micro services example service1.In this way, after user user2 issues debugging request, Debugging request can be forwarded to the micro services example service1 of user1 deployment, i.e., micro services are linked into other users Micro services example.
When generating the configuration file of user, user can also use the common example in cloud service environment.Cloud service ring It also deploys in border based on the common example operated to bottom data, such as CPU, memory source is operated public Example, can be using the common example in cloud service environment as the micro services example of public micro services module, in the configuration of user The routing relation between the mark of user and the mark of public micro services module and the network address of common example is saved in file, Such as the domain name of each micro services example can be generated.In this way, the configuration file based on user, it can be by the debugging request of user Turn to the micro services example of the user oneself deployment, the micro services example or common example of other users deployment.In this way, can prop up Hold user to the access of container inside micro services example and container exterior be common example access, realize different fortune The mixing of row environment.
Usual debugging enironment and actual motion environment are variant, and the above method can be to avoid debugging enironment and actual motion ring The difference bring in border influences.For example, can use above-mentioned in the functional test being applied in the pre- online link of such as product Method is disposed in a manner of container by the corresponding micro services module of the function, and the micro services module is run in container in incognito Pragmatic example, container environment and original physical environment are blended, that is, the existing bottom data and resource that cloud computing is utilized come It supports the micro services being deployed in container environment, does not need to dispose specific running environment, Neng Gouyou for micro services module creation Effect ground reduces micro services deployment/debugging cost,
With continued reference to Fig. 3, it illustrates the processes according to another embodiment of the methods of the debugging micro services of the application Schematic diagram.As shown in figure 3, the process 300 of the method for the debugging micro services of the present embodiment, may comprise steps of:
Step 301, by acting on behalf of the debugging request for obtaining and being debugged to micro services, debugging request includes User Token.
In the present embodiment, for the scene of remote debugging, (proxy) can be acted on behalf of in client local boot, passed through Agency and the executing subject (i.e. the physical machine of remote debugging environment) of the method for debugging micro services establish connection.Above-mentioned executing subject Inside can be deployed with the module for executing debugging proxy service function, and the module of the execution debugging proxy function is available to micro- The debugging request that service is debugged.Debugging request may include User Token (token).User is after logging in cloud service platform The User Token that available Cloud Server returns may include the mark of user, effective time of token etc. in the token.
Step 302, the user for issuing debugging request is authenticated based on User Token.
In the present embodiment, can judge to issue whether the user of debugging request is legal use based on the User Token of acquisition Family specifically may determine that whether User Token is effective.Such as may determine that in tables of data with the presence or absence of the User Token, it can be with Judge whether User Token is expired, and then determines whether user has the permission of debugging micro services.
Step 303, if the authentication is passed, the mark of the user of sending request indicated by the determining debugging request obtained, Request the mark of the micro services module of debugging.
If the authentication is passed, that is, determine that user has the permission of debugging micro services, above-mentioned executing subject can be from step 301 The mark for requesting the micro services module of debugging is parsed in the debugging request of acquisition.In the present embodiment, above-mentioned debugging request In can also include issue request user mark, the sending request user mark for identify execute debug exploitation The identity of person can be determined by the log-on message that developer submits when logging in cloud service platform.In this way, in access micro services When module service1, the chained address comprising user identifier can be directly inputted in the browser's address bar, such as User1.debug.www.xxx.com/api.service1, wherein user1 is the user identifier of developer.Pass through the link Address can identify the mark service1 for requesting the micro services of debugging, and issue the mark use1 of the user of request.
In some optional implementations of the present embodiment, the debugging request obtained can be determined as follows The mark of the user for the sending request supported: it is retrieved as the request mark of debugging request distribution, is identified based on preset request Corresponding relationship between user identifier determines that the request of debugging request identifies corresponding user identifier, as the use for issuing request The mark at family.
Step 304, the configuration file of user is read according to the mark of user.
The mark of the configuration file of user and user can associatedly be stored in the database in advance.It is asked determining to issue After the mark of the user asked, the configuration file of user can be inquired in the database according to the mark of user.The configuration of user File may include the routing relation between user identifier and micro services module id and the network address of micro services example.
Step 305, debugging request is forwarded to the corresponding target of debugging request that the configuration file based on user is determined Micro services example executes debugging operations based on target micro services example.
After inquiring the configuration file for issuing the user of request, can according to user identifier in configuration file, in incognito The routing relation being engaged between module id and the network address of micro services example, debugging request routing forwarding is true to step 303 The network address of the mark of fixed user and the corresponding micro services example of the mark of micro services module (i.e. target micro services), this Sample can establish the connection between the network address of the client and target micro services that issue request.Later can according to Corresponding tune-up data is sent to the network address of target micro services example in the debugging operations of client by family, thereby executing To the debugging operations of micro services module.
Above-mentioned steps 304, step 305 are consistent with the step 202 of previous embodiment, step 203 respectively, above with respect in incognito The optional implementation that the adjustment method process 200 of business describes is also applied for the adjustment method process of the micro services of the present embodiment 300, details are not described herein again.
From figure 3, it can be seen that the adjustment method of the micro services of the present embodiment, increases and is obtained by agency comprising user's order The debugging request of board, and the step of being authenticated based on User Token, realize remote debugging.Application containerization in incognito When in deployment scenario of being engaged in, since the non-external environment of container provides access port and debugging port, agency and debugging can be passed through The physical machine of environment establishes connection, accesses the micro services example inside container.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, this application provides a kind of debugging micro services Device one embodiment, the Installation practice is corresponding with Fig. 2 and embodiment of the method shown in Fig. 3, which specifically may be used To be applied in various electronic equipments.
As shown in figure 4, the device 400 of the debugging micro services of the present embodiment comprise determining that unit 401, reading unit 402 with And retransmission unit 403.Wherein it is determined that unit 401 is configured to determine sending request indicated by the debugging request obtained The mark of user, the mark for requesting the micro services module debugged;Reading unit 402 is configured to be read according to the mark of user The configuration file of user, configuration file include between user identifier and micro services module id and the network address of micro services example Routing relation;Retransmission unit 403 is configured to for debugging request being forwarded to the debugging that the configuration file based on user is determined Corresponding target micro services example is requested, debugging operations are executed based on target micro services example.
In some embodiments, above-mentioned apparatus 400 can also include: deployment unit, be configured in deployment micro services mould When block, the domain name generated by the mark of user and the mark of micro services module is created for the micro services example of user's deployment, by institute The domain name of creation maps to the network address of the micro services example of user's deployment, and domain name is saved into the configuration file of user.
In some embodiments, above-mentioned retransmission unit 403 can be further configured to: be looked into according to the configuration file of user Find out the network address of target micro services example corresponding with the mark of micro services module for identifying and requesting debugging of user; Debugging request is linked to the network address for the target micro services example having been turned on, executes the corresponding debugging operations of debugging request.
In some embodiments, above-mentioned apparatus 400 can also include: start unit, be configured to exist as follows Start micro services example in container: obtaining the program bag of compiled micro services module and run program bag in container;Or It is performed the following operations in container: obtaining the patch file of the micro services module uploaded based on the client for issuing debugging request, The program file for obtaining stored micro services module, using micro services module patch text in the program file of micro services module Part, compiling generate program bag using the program file after patch file, run program bag generated.
In some embodiments, above-mentioned determination unit 401 can be further configured to determine as follows and obtain The mark of the user of sending request indicated by the debugging request taken: it is retrieved as the request mark of debugging request distribution;Based on pre- If request mark determine the corresponding user identifier of the request mark of debugging request with the corresponding relationship between user identifier, as Issue the mark of the user of request.
In some embodiments, above-mentioned apparatus 400 can also include: connection unit, be configured to obtain in determination Before the mark of the user of sending request indicated by debugging request, asked by acting on behalf of the debugging for obtaining and being debugged to micro services It asks, debugging request includes User Token;Authenticating unit is configured to carry out the user for issuing debugging request based on User Token Authentication;And above-mentioned determination unit 401 can be further configured to determine the debugging request obtained in response to the authentication is passed The mark of the user of indicated sending request, the mark for requesting the micro services module debugged.
It should be appreciated that all units recorded in device 400 and each step phase in the method described referring to figs. 2 and 3 It is corresponding.It is equally applicable to device 400 and unit wherein included above with respect to the operation and feature of method description as a result, herein It repeats no more.
The device 400 of the debugging micro services of the above embodiments of the present application determines that the debugging obtained is asked by determination unit The mark of the mark of the user of indicated sending request, the micro services module for requesting debugging is sought, reading unit is according to user Mark read user configuration file, configuration file includes the net of user identifier and micro services module id and micro services example Debugging request is forwarded to the debugging that the configuration file based on user is determined and asked by the routing relation between network address, retransmission unit Corresponding target micro services example is sought, debugging operations are executed based on target micro services example, are realized based on micro services example net The micro services of network address are debugged, in debugging due to can be directly connected to according to the mark of the mark of user and micro services module The network address of micro services example can be improved debugging efficiency with quick positioning question.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 5 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various movements appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 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 be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 509, and/or from detachable media 511 are mounted.When the computer program is executed by central processing unit (CPU) 501, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence 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.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
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 determination unit, reading unit and retransmission unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, acquiring unit is also described as " determining and issuing request indicated by the debugging request obtained The mark of user, request debugging micro services module mark unit ".
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 said one or multiple programs are executed by the device, so that should Device: the mark that the user of request is issued indicated by the debugging request obtained, the micro services module for requesting debugging are determined Mark;The configuration file of user is read according to the mark of user, configuration file includes user identifier and micro services module id Routing relation between the network address of micro services example;Debugging request is forwarded to the configuration file based on user to determine The corresponding target micro services example of debugging request, based on target micro services example execute debugging operations.
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 (14)

1. a kind of method for debugging micro services, comprising:
It determines and issues the mark of the user of request indicated by the debugging request obtained, requests the micro services module debugged Mark;
The configuration file of the user is read according to the mark of the user, the configuration file includes user identifier and micro services Routing relation between module id and the network address of micro services example;
The debugging request is forwarded to the corresponding target of the debugging request that the configuration file based on the user is determined Micro services example executes debugging operations based on the target micro services example.
2. according to the method described in claim 1, wherein, the method also includes:
When disposing the micro services module, mark and micro services module by user are created for the micro services example of user's deployment The domain name that generates of mark, the domain name created is mapped to the network address of the micro services example of user deployment, by institute Domain name is stated to save into the configuration file of the user.
3. described that the debugging request is forwarded to the configuration based on the user according to the method described in claim 1, wherein The corresponding target micro services example of the debugging request that file is determined executes debugging behaviour based on the target micro services example Make, comprising:
The mark with the user is found out according to the configuration file of the user and requests the mark of the micro services module of debugging Know the network address of corresponding target micro services example;
The network address that the debugging request is linked to the target micro services example having been turned on, executes the debugging request Corresponding debugging operations.
4. according to the method described in claim 3, wherein, the method also includes:
Start micro services example in container, comprising:
It obtains the program bag of compiled micro services module and runs described program packet in container;Or
It is performed the following operations in container: obtaining the patch text of the micro services module uploaded based on the client for issuing debugging request Part obtains the program file of stored micro services module, in the program file of the micro services module described in incognito Business module patch file, compiling generate program bag using the program file after patch file, run program bag generated.
5. according to the method described in claim 1, wherein, sending indicated by the debugging request that the determination has obtained is requested The mark of user, comprising:
It is retrieved as the request mark of the debugging request distribution;
It is identified based on preset request and determines that the request mark of the debugging request is corresponding with the corresponding relationship between user identifier User identifier, as issue request user mark.
6. method according to claim 1-5, wherein the sending indicated by the determining debugging request obtained Before the mark of the user of request, method further include:
By acting on behalf of the debugging request for obtaining and being debugged to micro services, the debugging request includes User Token;
The user for issuing debugging request is authenticated based on the User Token;And
The mark of the user of sending request indicated by the debugging request that the determination has obtained, the micro services mould for requesting debugging The mark of block, comprising:
If the authentication is passed, determines and issue the mark of the user of request indicated by the debugging request obtained, request debugging The mark of micro services module.
7. a kind of device for debugging micro services, comprising:
Determination unit is configured to determine the mark of the user of sending request indicated by the debugging request obtained, is requested The mark of the micro services module of debugging;
Reading unit is configured to read the configuration file of the user, the configuration file packet according to the mark of the user Include the routing relation between user identifier and micro services module id and the network address of micro services example;
Retransmission unit is configured to for the debugging request being forwarded to the tune that the configuration file based on the user is determined Corresponding target micro services example is requested in examination, executes debugging operations based on the target micro services example.
8. device according to claim 7, wherein described device further include:
Deployment unit is configured to when disposing the micro services module, and the micro services example for user's deployment is created by user Mark and micro services module the domain name that generates of mark, the domain name created is mapped into the pragmatic in incognito of user deployment The network address of example, domain name is saved into the configuration file of the user.
9. device according to claim 7, wherein the retransmission unit is further configured to:
The mark with the user is found out according to the configuration file of the user and requests the mark of the micro services module of debugging Know the network address of corresponding target micro services example;
The network address that the debugging request is linked to the target micro services example having been turned on, executes the debugging request Corresponding debugging operations.
10. device according to claim 9, wherein described device further include:
Start unit is configured to start micro services example in container as follows:
It obtains the program bag of compiled micro services module and runs described program packet in container;Or
It is performed the following operations in container: obtaining the patch text of the micro services module uploaded based on the client for issuing debugging request Part obtains the program file of stored micro services module, in the program file of the micro services module described in incognito Business module patch file, compiling generate program bag using the program file after patch file, run program bag generated.
11. device according to claim 7, wherein the determination unit is further configured to as follows really The mark of the user of request is issued indicated by the fixed debugging request obtained:
It is retrieved as the request mark of the debugging request distribution;
It is identified based on preset request and determines that the request mark of the debugging request is corresponding with the corresponding relationship between user identifier User identifier, as issue request user mark.
12. according to the described in any item devices of claim 7-11, wherein described device further include:
Connection unit is configured to before determining the mark for the user for issuing request indicated by the debugging request obtained, By acting on behalf of the debugging request for obtaining and being debugged to micro services, the debugging request includes User Token;
Authenticating unit is configured to authenticate the user for issuing debugging request based on the User Token;And
The determination unit is further configured to determine sending indicated by the debugging request obtained in response to the authentication is passed The mark of the user of request, the mark for requesting the micro services module debugged.
13. a kind of electronic equipment, 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 6.
14. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor Now such as method as claimed in any one of claims 1 to 6.
CN201810819331.6A 2018-07-24 2018-07-24 Method and device for debugging micro service Active CN109150978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810819331.6A CN109150978B (en) 2018-07-24 2018-07-24 Method and device for debugging micro service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810819331.6A CN109150978B (en) 2018-07-24 2018-07-24 Method and device for debugging micro service

Publications (2)

Publication Number Publication Date
CN109150978A true CN109150978A (en) 2019-01-04
CN109150978B CN109150978B (en) 2022-05-10

Family

ID=64797831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810819331.6A Active CN109150978B (en) 2018-07-24 2018-07-24 Method and device for debugging micro service

Country Status (1)

Country Link
CN (1) CN109150978B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831361A (en) * 2019-02-28 2019-05-31 东软集团股份有限公司 A kind of distributed debugging method, system and device
CN110032392A (en) * 2019-04-15 2019-07-19 杭州朗和科技有限公司 Service administering method and device, storage medium and electronic equipment
CN110489139A (en) * 2019-07-03 2019-11-22 平安科技(深圳)有限公司 A kind of real-time data processing method and its relevant device based on micro services
CN110647469A (en) * 2019-09-24 2020-01-03 广州荔支网络技术有限公司 Method and device for testing microservice, computer equipment and storage medium
CN111274150A (en) * 2020-02-07 2020-06-12 北京字节跳动网络技术有限公司 Service instance access method and device and electronic equipment
CN111984309A (en) * 2020-08-31 2020-11-24 北京达佳互联信息技术有限公司 Service calling method, device, server and storage medium
CN112181439A (en) * 2020-09-24 2021-01-05 中国建设银行股份有限公司 Micro-service deployment method and device, electronic equipment and readable storage medium
CN112199288A (en) * 2020-10-16 2021-01-08 深圳无域科技技术有限公司 Distributed test environment deployment method and system
CN112416737A (en) * 2019-08-21 2021-02-26 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN112929230A (en) * 2021-01-22 2021-06-08 中信银行股份有限公司 Test processing method and device, electronic equipment and computer readable storage medium
CN113806104A (en) * 2021-08-02 2021-12-17 北京房江湖科技有限公司 Interface access request processing method, API gateway, server and system
CN114064475A (en) * 2021-11-11 2022-02-18 中国联合网络通信集团有限公司 Cloud native application testing method, device, equipment and storage medium
CN114416224A (en) * 2022-03-25 2022-04-29 共道网络科技有限公司 Method and device for calling micro service under multi-micro service environment
CN114615521A (en) * 2022-03-10 2022-06-10 网易(杭州)网络有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN114827674A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN116112569A (en) * 2023-02-23 2023-05-12 安超云软件有限公司 Micro-service scheduling method and management system
US20230318925A1 (en) * 2022-04-05 2023-10-05 International Business Machines Corporation Local arrangement of remote deployment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation
US20160316043A1 (en) * 2015-04-27 2016-10-27 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Impersonating a specific physical hardware configuration on a standard server
CN106131233A (en) * 2016-06-20 2016-11-16 腾讯科技(深圳)有限公司 Realize method, Apparatus and system that data base's multipath accesses
CN106844213A (en) * 2017-01-21 2017-06-13 江苏千米网络科技股份有限公司 A kind of front end method of testing and device
CN108073504A (en) * 2016-11-17 2018-05-25 北京京东尚科信息技术有限公司 For debugging the method, apparatus of distributed system and debugging system
US20180159747A1 (en) * 2016-12-05 2018-06-07 General Electric Company Automated feature deployment for active analytics microservices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160316043A1 (en) * 2015-04-27 2016-10-27 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Impersonating a specific physical hardware configuration on a standard server
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation
CN106131233A (en) * 2016-06-20 2016-11-16 腾讯科技(深圳)有限公司 Realize method, Apparatus and system that data base's multipath accesses
CN108073504A (en) * 2016-11-17 2018-05-25 北京京东尚科信息技术有限公司 For debugging the method, apparatus of distributed system and debugging system
US20180159747A1 (en) * 2016-12-05 2018-06-07 General Electric Company Automated feature deployment for active analytics microservices
CN106844213A (en) * 2017-01-21 2017-06-13 江苏千米网络科技股份有限公司 A kind of front end method of testing and device

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831361A (en) * 2019-02-28 2019-05-31 东软集团股份有限公司 A kind of distributed debugging method, system and device
CN110032392A (en) * 2019-04-15 2019-07-19 杭州朗和科技有限公司 Service administering method and device, storage medium and electronic equipment
CN110032392B (en) * 2019-04-15 2023-05-09 杭州朗和科技有限公司 Service management method and device, storage medium and electronic equipment
CN110489139A (en) * 2019-07-03 2019-11-22 平安科技(深圳)有限公司 A kind of real-time data processing method and its relevant device based on micro services
CN112416737A (en) * 2019-08-21 2021-02-26 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN112416737B (en) * 2019-08-21 2024-03-01 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN110647469B (en) * 2019-09-24 2023-09-08 广州荔支网络技术有限公司 Micro-service testing method and device, computer equipment and storage medium
CN110647469A (en) * 2019-09-24 2020-01-03 广州荔支网络技术有限公司 Method and device for testing microservice, computer equipment and storage medium
CN111274150B (en) * 2020-02-07 2023-08-22 北京字节跳动网络技术有限公司 Service instance access method and device and electronic equipment
CN111274150A (en) * 2020-02-07 2020-06-12 北京字节跳动网络技术有限公司 Service instance access method and device and electronic equipment
CN111984309A (en) * 2020-08-31 2020-11-24 北京达佳互联信息技术有限公司 Service calling method, device, server and storage medium
CN112181439A (en) * 2020-09-24 2021-01-05 中国建设银行股份有限公司 Micro-service deployment method and device, electronic equipment and readable storage medium
CN112199288A (en) * 2020-10-16 2021-01-08 深圳无域科技技术有限公司 Distributed test environment deployment method and system
CN112929230A (en) * 2021-01-22 2021-06-08 中信银行股份有限公司 Test processing method and device, electronic equipment and computer readable storage medium
CN112929230B (en) * 2021-01-22 2022-09-06 中信银行股份有限公司 Test processing method and device, electronic equipment and computer readable storage medium
CN113806104A (en) * 2021-08-02 2021-12-17 北京房江湖科技有限公司 Interface access request processing method, API gateway, server and system
CN114064475A (en) * 2021-11-11 2022-02-18 中国联合网络通信集团有限公司 Cloud native application testing method, device, equipment and storage medium
CN114615521A (en) * 2022-03-10 2022-06-10 网易(杭州)网络有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN114615521B (en) * 2022-03-10 2024-02-23 网易(杭州)网络有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN114416224A (en) * 2022-03-25 2022-04-29 共道网络科技有限公司 Method and device for calling micro service under multi-micro service environment
CN114827674B (en) * 2022-03-30 2023-09-05 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN114827674A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system
US20230318925A1 (en) * 2022-04-05 2023-10-05 International Business Machines Corporation Local arrangement of remote deployment
US11943115B2 (en) * 2022-04-05 2024-03-26 International Business Machines Corporation Locally debugging remote deployment of microservices
CN116112569B (en) * 2023-02-23 2023-07-21 安超云软件有限公司 Micro-service scheduling method and management system
CN116112569A (en) * 2023-02-23 2023-05-12 安超云软件有限公司 Micro-service scheduling method and management system

Also Published As

Publication number Publication date
CN109150978B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN109150978A (en) The method and apparatus for debugging micro services
CN109218368B (en) Method, device, electronic equipment and readable medium for realizing Http reverse proxy
US8122130B2 (en) Access control system and method for wireless application provisioning
CN111062024B (en) Application login method and device
EP4177754A1 (en) Nhanced operations between service layer and management layer in an m2m system by allowing the execution of a plurality of commands on a plurality of devices
CN110519379A (en) Request processing method and equipment based on micro services
CN108540831B (en) Method and apparatus for pushed information
CN104506510A (en) Method and device for equipment authentication and authentication service system
CN109564527A (en) The security configuration of cloud computing node
CN108989362A (en) A kind for the treatment of method and apparatus of static resource
CN102171984A (en) Service provider access
US10402464B2 (en) Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
CN113572689A (en) Microservice gateway management method, system, device, readable storage medium and product
CN113391796B (en) Construction method, device, equipment and medium of integrated development environment
CN108494860A (en) WEB accesses system, WEB access methods and device for client
CN107463453A (en) Method, apparatus, equipment and the storage medium to be communicated between same terminal different application
CN110489192A (en) Remote communication method and device, electronic equipment
CN110830374A (en) Method and device for gray level release based on SDK
CN109815105A (en) Applied program testing method and device based on Btrace
CN112202744B (en) Multi-system data communication method and device
CN109347921A (en) A kind for the treatment of method and apparatus of digital certificate business
CN109032620A (en) The configuration file generation method and device of application program
CN109992406A (en) The method and client that picture requesting method, response picture are requested
CN110460584A (en) Access request processing method, device, electronic equipment and computer-readable medium
CN109450890A (en) The method and apparatus of single-sign-on

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