CN106453288A - Asynchronous mode supporting distributed micro service framework system and implementation method thereof - Google Patents

Asynchronous mode supporting distributed micro service framework system and implementation method thereof Download PDF

Info

Publication number
CN106453288A
CN106453288A CN201610865152.7A CN201610865152A CN106453288A CN 106453288 A CN106453288 A CN 106453288A CN 201610865152 A CN201610865152 A CN 201610865152A CN 106453288 A CN106453288 A CN 106453288A
Authority
CN
China
Prior art keywords
service
data
request
call
responsible
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
CN201610865152.7A
Other languages
Chinese (zh)
Other versions
CN106453288B (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.)
Shanghai Paid Information Technology Co Ltd
Original Assignee
Shanghai Paid Information 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 Shanghai Paid Information Technology Co Ltd filed Critical Shanghai Paid Information Technology Co Ltd
Priority to CN201610865152.7A priority Critical patent/CN106453288B/en
Publication of CN106453288A publication Critical patent/CN106453288A/en
Application granted granted Critical
Publication of CN106453288B publication Critical patent/CN106453288B/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/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • 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/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • 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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • 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

Abstract

The invention discloses a high-availability framework system for single-point isomerous data storage. The system comprises a client library ti-a59-client, an isomerous data conversion and storage service module ti-a59-builder, a data write operation log service module ti-a59-log-srv, a data queue framework ti-queue, a message queue service module MQServer, a single-point deployment isomerous data storage server Single Server DataStore, a write request log service data storage module Write Log DataStore and a write request control log data storage module Ctrl Log DataStore. Furthermore, the invention further discloses an implementation method of the system. The system has higher cross-platform deployment capacity besides the characteristic of high-availability supporting of single-point deployment storage including an existing framework, and important characteristics of supporting more data storage types, supporting data synchronization between isomerous data and supporting data backup and data recovery functions during failure of a node.

Description

A kind of distributed micro services frame system supporting asynchronous mode and its implementation
Technical field
The invention belongs to computer realm, it is related to a kind of micro services framework and in particular to calling and asynchronous distribution across agreement Formula services call back scheme, more particularly, to a kind of distributed micro services frame system supporting asynchronous mode;For this reason, the present invention also relates to And the implementation method of the distributed micro services frame system of this support asynchronous mode.
Background technology
With the development of internet, the scale of application constantly expands, and conventional vertical applications framework cannot be tackled, distribution Formula service architecture is imperative, and micro services framework is exactly one of which practice.Micro services framework is disassembled single application thinner The micro services of granularity, each service is can independently to dispose, independent operating, have complete contract of service, reaches system altitude solution The purpose of coupling.Existing micro services framework (refering to Fig. 1) achieves to service the key foundation function such as issues and calls, but in the face of length The service of time-triggered protocol, high frequency time service call, during the scene such as cross-platform service call, also there is more problem, main body Following several respects now:
1) do not support asynchronous distributed service readjustment:Synchronization process can tackle common " request-response " pattern, but long The task of time processes service and is necessarily required to call back scheme to support, it is to avoid long-time locked service thread resources, causes to call End and the stopping state of ISP.Available frame achieves parameter call back scheme, that is, only supports processing locality program Readjustment, once container collapse local after service call, will occur after ISP's readjustment and can not find callback procedure, lose The service data or inconsistent situation of service data occurs.This is primarily due to available frame and only saves this when calling service The object reference of ground program readjustment, does not account for during for multinode Distributed Services at all, so cannot meet needs The distribution service demand of high stability.
2) do not support that the micro services across agreement are called:The caller of micro services can be related to multi-platform, many communications conduits During situation, such as exploitation mobile Internet application, mobile APP end needs to call micro services it is contemplated that the delay of mobile network and not The characteristic such as stable, needs using WEB SOCKET transmission data, and backstage micro services supplier is based on queue server transmission Data.This is accomplished by the agency's conversion and message conversion between framework energy supported protocol and transmitter, and available frame requires institute Have and call with ISP using unified agreement and transmitter it is impossible to meet the Internet, applications cross-platform cross protocol mode Exploitation.
3) lack the caching process mechanism to service:Available frame caching mechanism is realized relatively simply, only considered and calling end Local cache process, consume larger when in the face of high frequency time service call, reduce service processing efficiency.
4) lack the unified management of service:Existing framework lacks Service Management, only safeguards a local at service call end It is difficult to ensure the uniformity of service, it is impossible to service is carried out with United Dispatching and management, entirety takes validity service list file The complexity that business framework is safeguarded steeply rises.
5) service call does not support the note pattern of main programming model:All service calls of existing framework and exposure all need Will in configuration file specific definition, including the interface calling service, method, readjustment explanation etc. is it is impossible to realize in programming process In readme metaphor, and main programming model is seamless embedded, equal to needing to redescribe a service interface in configuration file Calling logic, increased the workload calling realization and the complexity safeguarded.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of distributed micro services frame system supporting asynchronous mode, The method for multiple stand-alone service is applied to solve complexity problem by decomposing huge monomer-type, in the situation that function is constant Under, application is broken down into multiple manageable services, each service RPC (Remote Procedure Call Protocol remote procedure call protocol) define clearly border, the manageability that increased service and the letter called Easily efficient, solve the problems, such as following several respects:
1) support asynchronous distributed service readjustment, solve the problems, such as that response in readjustment processes Single Point of Faliure;
2) support the conversion between different agreement and transport layer, get through overall process micro services and call;
3) the main programming model note pattern that service of realizing is issued, called, improves and realizes efficiency, reduce and safeguard complexity;
4) realize calling the pair buffers of end and service providing end, improve service call efficiency;
5) realize uniform service registration center, all issuing services of centralized management.
For solving above-mentioned technical problem, the present invention provides a kind of distributed micro services frame system supporting asynchronous mode, Including gateway Agent layer, service providing end, service register center and service call end;
Described gateway Agent layer includes protocol converter and transmitter, and described protocol converter is responsible for external request The protocol formatted data of data and internal services support is mutually changed, and described transmitter is responsible for the biography of request data and response data Defeated;
Described service providing end is responsible for issuing service to service register center, carries out Business Processing after receiving service request;
Described service register center is responsible for issuing service registration, and the lookup of service is processed;
Described service call end searches service destination according to the service invocation information specified by service register center, sends out Play asking and obtaining service response data of remote service;
Described transmitter, after the request data receiving far call end, is converted into protocol format by protocol converter Data, then passes through service call end program and sends the service request assembling to service providing end, service providing end issues clothes It is engaged in service register center, service call end is searched service destination by service register center and obtained service response data, Described transmitter relays to far call end after receiving this service response data.
As currently preferred technical scheme, described protocol converter mainly includes protocol processor and serializing is processed Device two parts, are responsible for assembling, serializing and the unserializing of all service data and response data, translate into main programming mould The data that type can directly be processed;Protocol processor in described protocol converter, serializing processor can freely plug;Described Transmitter includes WEB SOCKET transmitter and HTTP transmitter;Described far call end include IOS far call end, Android far call end and WEB far call end.
As currently preferred technical scheme, described service providing end, including distributed caching module, annotation model, Ti-Lnk agreement, readjustment Stub processing module and RabbitMq processor;Described distributed caching module is responsible for according to service The parameter cache configuration of interface is provided, using distributed caching Storage Middleware Applying, provides data buffer storage to process;Described annotation model It is responsible for realizing service registry using main programming language, service call injects, service parameter, the note function of cached configuration;Described Readjustment Stub processing module is responsible for storing the description information of asynchronism callback service, including service name, the agreement of use, service Interface describes, and method signature receives address so that service providing end can find destination service in asynchronism callback;Described The operation of RabbitMq message queue is responsible for by RabbitMq processor, including when calling service, the protocol data assembling is sent out That delivers to service providing end monitors queue and the monitoring queue of service call end wait-for-response and asynchronism callback;Described Ti-Lnk association View is responsible for service request and the protocol groups installation and dismantling bag of response data is processed;Described local cache module is responsible for service invocation procedure In local cache process, mainly achieve the other caching process of thread-level;
Before Business Processing, service register center can search hit according to the buffer service of configuration to described service providing end Data cached, if hit, directly return, otherwise continue follow-up business and process;Asynchronous service is needed to return at service call end Timing, will adjust back Stub information Store in buffer service, after the completion of service request handling, search corresponding callback information, And corresponding readjustment service destination is searched by service register center, complete readjustment and process;
All service providing end can be the service registration needing externally to issue to service register center, including service after starting Title, service destination addressing information, the interface name that service can be called, the parameter type of service request and content, service Callback information;When service call end needs request, corresponding addressing information can be searched using service name, more remotely be adjusted With.
As currently preferred technical scheme, described service call end includes local cache module, annotation model, Ti- Lnk agreement and RabbitMq transmitter;The local cache that described local cache module is responsible in service invocation procedure is processed, main The other caching process of thread-level to be achieved;Described annotation model is responsible for realizing service registry using main programming language, and service is adjusted With injection, service parameter, the note function of cached configuration;The behaviour of RabbitMq message queue is responsible for by described RabbitMq processor Make, including when calling service, the protocol data assembling is sent to monitoring queue and service call end of service providing end etc. Wait to respond the monitoring queue with asynchronism callback;Described Ti-Lnk agreement is responsible for the protocol groups installation and dismantling of service request and response data Bag is processed;The local cache that described local cache module is responsible in service invocation procedure is processed, and mainly achieves thread-level other Caching process;
Local cache, before the request initiating remote service, can first be searched according to call request information in described service call end Data cached with the presence or absence of hit, if hit, direct return cache data, otherwise continue follow-up remote service request.
As currently preferred technical scheme, the protocol format that described internal services support is Ti-lnk agreement, described Ti-Lnk agreement adopts frame formula message structure, and every frame is mainly made up of message length domain and message content domain, and message length domain makes With BIG_ENDIAN coding, take 4 bytes, message content domain uses JSON message format, and exceedes in content-length During 128k, it is compressed transmission process.
Additionally, the present invention also provides a kind of implementation method of said system, the method includes the realization of Ti-Lnk agreement, clothes Business registration center functional realiey, service invocation procedure is realized and gateway is realized.
As currently preferred technical scheme, the realization of described Ti-Lnk agreement comprises the steps:
A) Ti-Lnk service request messages:Heading includes the mark calling service, the service interface title called, and calls Interface parameters signature, message body includes needing calling the incoming parameters of service, and each parameter is a frame;
B) Ti-Lnk service providing end response message:Heading includes servicing client information, service release, acknowledgement type, clothes Business session label information, holding in message body is service response result.
As currently preferred technical scheme, described service register center functional realiey comprises the steps:
A) information on services can be submitted to service register center when starting service by service providing end, including service name, Service interface, interface requests parameter and type, address of service information;
B) after service register center receives service registration request, registration service is brought in heartbeat inspecting queue, keep and The contact of service providing end, once service is broken down, updates the service list of current service registration center immediately, and to all Related service subscription person carries out information on services changing push;
C) service call end can the service list calling in need to service register center send subscribe to request, service The synchronous detailed recalls information of service returning request of registration center's meeting, maintains a long-chain simultaneously and fetches push subscription with called side The change of service;
D) corresponding destination service letter, when active service is called, can directly be searched from local service list in service call end Breath, is dynamic call such as in program, does not subscribe in advance, can directly initiate new service search request;Return in lookup result Hui Hou, updates local service list.
As currently preferred technical scheme, described service invocation procedure is realized comprising the steps:
A) can search whether first to exist in local cache after service call end initiates to call effectively to hit data, such as Fruit hit then direct return cache result, otherwise continues subsequent calls and processes;
B) service call end, according to calling service name to search service addressing information in local service list, is not such as looked into Find and directly initiate inquiry request to service register center, after getting service goal address information, first carry out Protocol layer data Conversion, including data assembling and serializing operation, after the completion of select corresponding transmitter to be sent to destination address, such as calling is Asynchronism callback pattern, returns after confirming to be sent to immediately;
C) service providing end is after transmitter receives the data of request, first according to corresponding agreement carry out unserializing and Data de-packaging operation, then judges the pattern this time called, if asynchronous service readjustment, can preserve the Stub of readjustment service In distributed caching storage, then generate agent object entrance method of servicing and call;
D) service providing end finds corresponding service routine according to request data, simultaneously according to the corresponding cached configuration of service Data cached to search;
E) do not hit as data cached, service providing end may proceed to the logical process within service, after the completion of process, sentences Determine invocation pattern, if asynchronous service readjustment, the readjustment Stub storing at that time can be taken out, and ask service register center, look into Ask effective service goal address, then according to corresponding agreement and transmitter, execute data assembling, serializing and transmission behaviour Make;
F) after service call end receives response data, carry out the operation of data unpacking and unserializing according to corresponding agreement, It is saved in the buffer memory of current thread rank, then carries out subsequent treatment, invoked procedure terminates.
As currently preferred technical scheme, described gateway is realized comprising the steps:
A) service invocation request is initiated at far call end, sends request data to service network by WEB SOCKET transmitter Close Agent layer;
B) gateway Agent layer receives after request data using WEB SOCKET transmitter, first the head of request data is believed Breath is parsed, and after taking the information on services of request, carries out Map Searching in local agent service list;
C), after determining background service title and interface, target service requests address service is called end program, then Start to execute service call;
D), after service call end program returning result, gateway rings again according to the agreement assembling that far call end uses Data and corresponding WEB SOCKET transmitter is answered to send request response.
According to technical scheme provided above, compared with prior art, the support asynchronous mode that the present invention provides is in incognito Business framework, has the advantages that:
1st, with respect to the service callbacks in prior art framework, the support asynchronous distributed readjustment work(that the present invention provides Can, the readjustment of long-time service processing can be solved the problems, such as, service call side can terminate to call after request confirmation is sent to, no Can there is any unnecessary occupancy to the thread resources of service caller, largely improve and call efficiency, reduce the resource called Consume, ensure the uniformity of business datum, improve reliability of service.
2nd, the gateway agent skill group that the present invention provides, for across agreement, across the service call scene of transmitter, permissible Get through calling of front and back end service, support synchronous, asynchronous call, thus reduce the complexity that front end services are called, front end Service call from rear end protocol layer, open, and has ensured the independence of service by transport layer decoupling.
3rd, with respect to the caching technology in prior art framework, service call end and service providing end that the present invention provides Dual-cache mechanism, can improve the efficiency of high frequency time service call, reduces service flexibly according to various data cached hit strategies The pressure at end is provided.
4th, realize with respect to the service call of prior art framework, the main programming annotation model that the present invention provides, Ke Yijia Fast service call and service provide and realize, and reduce the maintenance cost of configuration file.
5th, the Service Management of hinge structure framework, the service management center that the present invention provides, can obtain every in real time The state of individual service, and real-time informing caller corresponding subscription service state, ensure uniformity and the stability of service.
Brief description
The present invention is further described with reference to the accompanying drawings and examples.
Fig. 1 is existing micro services frame system structure chart.
Fig. 2 is the structural representation of the distributed micro services frame system that the present invention supports asynchronous mode.
Fig. 3 is the message structure schematic diagram of Ti-Lnk agreement in the present invention.
Fig. 4 is the relation schematic diagram of service register center and service call end and service providing end in the present invention.
Fig. 5 is the flow chart of service call in the present invention.
Fig. 6 is the flow chart that in the present invention, gateway service is processed.
Specific embodiment
In conjunction with the accompanying drawings, the present invention is further detailed explanation.These accompanying drawings are the schematic diagram of simplification, only with Illustration illustrates the basic structure of the present invention, and therefore it only shows the composition relevant with the present invention.
The invention provides a kind of micro services framework (Ti-Lnk framework) system supporting asynchronous mode, not only realize in incognito The basic synchronization of business calls, and service registry manages moreover it is possible to realize the readjustment of asynchronous distributed service, and across agreement across transport layer Call.Additionally, the note mode of main programming model is all supported in all of service call and process.
Whole system is broadly divided into gateway Agent layer, service providing end, service call end, and service register center is whole Body framework is referring to Fig. 2.
1) gateway Agent layer is mainly made up of protocol converter and transmitter, and protocol converter is responsible for external request Protocol format (Ti-lnk agreement) data of data and internal services support is mutually changed, transmitter (the WEB SOCKET in Fig. 2 Transmitter, HTTP transmitter) it is responsible for the transmission of request data and response data, receiving the far call end (IOS in Fig. 2 Far call end, Android far call end, WEB far call end) request data after, be converted into by protocol converter General Ti-Lnk protocol data, then passes through service call end program and sends the service request assembling to service providing end, Far call end is relayed to after receiving service response.
2) service providing end, including distributed caching module, annotation model, Ti-Lnk agreement, adjusts back Stub processing module And RabbitMq processor.
2.1) distributed caching module:According to the parameter cache configuration of provisioning interface, stored using distributed caching Middleware, provides data buffer storage to process
2.2) annotation model:Realize service registry using main programming language, service call injects, service parameter, and caching is joined The note function of putting.
2.3) readjustment Stub processing module:The description information of storage asynchronism callback service, including service name, the association of use View, the interface description of service, method signature etc. is so that service providing end can find destination service reception in asynchronism callback Address.
2.4) RabbitMq processor:The operation of responsible RabbitMq message queue, including the handle assembling when calling service Good protocol data is sent to the monitoring team monitoring queue and service call end wait-for-response and asynchronism callback of service providing end Row.
2.5) Ti-Lnk agreement:The protocol groups installation and dismantling bag of responsible service request and response data is processed.
2.6) service providing end is responsible for issuing service to service register center, carries out Business Processing after receiving service request. Before Business Processing, service register center can search the data cached of hit according to the buffer service of configuration, if hit, directly Connect return, otherwise continue follow-up business and process.When service call end needs asynchronous service readjustment, Stub information Store will be adjusted back To in buffer service, after the completion of service request handling, search corresponding callback information, and searched by service register center right The readjustment service destination answered, completes readjustment and processes.
3) service call end includes local cache module, annotation model, Ti-Lnk agreement and RabbitMq transmitter.
3.1) local cache module:Local cache in responsible service invocation procedure is processed, and mainly achieves thread rank Caching process.
3.2) annotation model:With 2.2)
3.3) Ti-Lnk agreement:With 2.5)
3.4) RabbitMq transmitter:With 2.4)
3.5) service call end searches service destination according to the service invocation information specified by service register center, sends out Play asking and obtaining service response data of remote service.Before the request initiating remote service, service call end can be according to tune First search local cache with solicited message and whether there is the data cached of hit, if hit, direct return cache data, otherwise Continue follow-up remote service request.
4) service register center is responsible for issuing service registration, and the lookup of service is processed.Meeting after all service providing end startups The service registration needing externally to issue to service register center, including service name, service destination addressing information, service can The interface name called, the parameter type of service request and content, callback information of service etc..When service call end needs to ask When, corresponding addressing information can be searched using service name, then carry out far call.
5) protocol converter mainly includes protocol processor and serializing processor two parts, is responsible for all service request numbers According to the assembling of response data, serializing and unserializing, translate into the data that main programming model can directly be processed.In module Protocol processor, serializing processor can freely plug.
6) service call end and service providing end all can embed main programming annotation model, for executing service call, service Issue, the function such as service readjustment mark is so that whole process can not need extra configuration file quickly to realize.
The micro services framework that the present invention provides is embodied as being largely divided into four major parts:The realization of Ti-Lnk agreement, Service register center functional realiey, service invocation procedure is realized, and gateway is realized.
1) Ti-Lnk agreement:Ti-Lnk agreement is in order to realize the transmission of service call data and to design, agreement whole Body structure is referring to Fig. 3.
A) Protocol Design of Ti-Lnk employs frame formula message structure, and every frame is mainly by message length domain and message content domain Constitute.Message length domain is encoded using BIG_ENDIAN, takies 4 bytes, and message content domain uses JSON message format, and When content-length is more than 128k, it is compressed transmission process.
B) Ti-Lnk service request messages:Heading includes the mark calling service, the service interface title called, and calls Interface parameters signature, message body includes needing calling the incoming parameters of service, and each parameter is a frame.
C) Ti-Lnk service providing end response message:Heading includes servicing client information, service release, and acknowledgement type is (just Often response or exception response), service conversation identification information, holding in message body is service response result.
2) service register center:Service register center mainly comprises the service Active Registration of service providing end, service call The information on services that end is subscribed to notifies and the active of information on services is searched, refering to Fig. 4.
A) information on services can be submitted to service register center when starting service by service providing end, including service name, Service interface, interface requests parameter and type, address of service information.
B) after service register center receives service registration request, registration service is brought in heartbeat inspecting queue, keep and The contact of service providing end, once service is broken down, updates the service list of current service registration center immediately, and to all Related service subscription person carries out information on services changing push.
C) service call end can the service list calling in need to service register center send subscribe to request, service The synchronous detailed recalls information of service returning request of registration center's meeting, maintains a long-chain simultaneously and fetches push subscription with called side The change of service, the interface of such as subscription service increases, fault of subscription service etc..
D) corresponding destination service letter, when active service is called, can directly be searched from local service list in service call end Breath, is dynamic call such as in program, does not subscribe in advance, can directly initiate new service search request.Return in lookup result Hui Hou, updates local service list.
From said process it can be seen that service register center unified management service, ensure information on services accuracy and up to Property, provide important support for follow-up service dispatch.
3) service call:The initiation of calling called the core that realization is micro services framework, mainly comprise service of service, clothes The caching process that business is called, the synchronization call of service is processed and the asynchronism callback of service processes several piths, refering to Fig. 5. The following is the complete procedure of service call:
A) can search whether first to exist in local cache after service call end initiates to call effectively to hit data, such as Fruit hit then direct return cache result, otherwise continues subsequent calls and processes.The sphere of action of local cache is only limitted to thread-level Not, the multiple initiation that so can reduce same thread remotely applies for accessing the number of times of same service data, lifts access efficiency.
B) service call end, according to calling service name to search service addressing information in local service list, is not such as looked into Find and directly initiate inquiry request to service register center.After getting service goal address information, first carry out Protocol layer data Conversion, including data assembling and serializing operation, after the completion of select corresponding transmitter to be sent to destination address.As called it is Asynchronism callback pattern, returns after confirming to be sent to immediately.
C) service providing end is after transmitter receives the data of request, first according to corresponding agreement carry out unserializing and Data de-packaging operation, then judges the pattern this time called, if asynchronous service readjustment, can preserve the Stub of readjustment service In distributed caching storage, then generate agent object entrance method of servicing and call.
D) service providing end finds corresponding service routine according to request data, simultaneously according to the corresponding cached configuration of service Data cached to search.Cached configuration can be according to JXPATH, and interface parameters or combination parameter index and search caching to hit, this Sample can define cache hit strategy according to different pieces of information access scenario, improves high frequency time service access efficiency.
E) do not hit as data cached, service providing end may proceed to the logical process within service, after the completion of process, sentences Determine invocation pattern, if asynchronous service readjustment, the readjustment Stub storing at that time can be taken out, and ask service register center, look into Ask effective service goal address.Then according to corresponding agreement and transmitter, execute data assembling, serializing and transmission behaviour Make.
F) after service call end receives response data, carry out the operation of data unpacking and unserializing according to corresponding agreement, It is saved in the buffer memory of current thread rank, then carries out subsequent treatment, invoked procedure terminates.
Whole invoked procedure not only achieves basic synchronization call, in combination with the thread-level local cache calling end and The Distributed Cache Mechanism of service providing end, improves and calls efficiency.In addition the pattern of asynchronous service readjustment supports, when solving long Between batch processing service a readjustment difficult problem, at utmost ensure reliability of service and stability.
4) gateway agency:The purpose of realizing of gateway is to need using different from internal services for external call The transmitter calling, the situation of agreement, switching can be smoothed and process service invocation request, reach uniform service and adjust and lead to.Gateway master To be realized by transmitter, protocol realization, protocol conversion, four parts of service call form, referring to Fig. 6.The following is gateway processes Complete interaction flow:
A) service invocation request is initiated at far call end, sends request data to service network by WEB SOCKET transmitter Close Agent layer;
B) gateway Agent layer receives after request data using WEB SOCKET transmitter, first the head of request data is believed Breath is parsed, and after taking the information on services of request, carries out Map Searching in local agent service list;
C), after determining background service title and interface, target service requests address service is called end program, then Start execution to call, follow-up service call interaction is embodied as description process with reference to service call;
D), after service call end program returning result, gateway rings again according to the agreement assembling that far call end uses Data and corresponding WEB SOCKET transmitter is answered to send request response.
From the point of view of above-mentioned realization, gateway Agent layer is by realizing a series of transmission of suitable far-end difference channel requests Device and protocol converter, the request of all far-ends are flexibly mapped and are transferred so that remote service calls end can smooth Call back-end services, the service that reduces is realized and integrated complexity.
With the above-mentioned desirable embodiment according to the present invention for enlightenment, by above-mentioned description, relevant staff is complete Entirely various change and modification can be carried out in the range of without departing from this invention technological thought.The technology of this invention The content that property scope is not limited on specification it is necessary to determine its technical scope according to right.

Claims (10)

1. a kind of distributed micro services frame system supporting asynchronous mode is it is characterised in that include gateway Agent layer, clothes Business provides end, service register center and service call end;
Described gateway Agent layer includes protocol converter and transmitter, and described protocol converter is responsible for the data of external request The protocol formatted data supporting with internal services is mutually changed, and described transmitter is responsible for the transmission of request data and response data;
Described service providing end is responsible for issuing service to service register center, carries out Business Processing after receiving service request;
Described service register center is responsible for issuing service registration, and the lookup of service is processed;
Described service call end searches service destination according to the service invocation information specified by service register center, initiates remote What journey serviced asks and obtains service response data;
Described transmitter, after the request data receiving far call end, is converted into protocol format number by protocol converter According to the service request then being assembled by the transmission of service call end program is to service providing end, service providing end issuing service To service register center, service call end is searched service destination by service register center and is obtained service response data, institute State transmitter and relay to far call end after receiving this service response data.
2. the system as claimed in claim 1 is it is characterised in that described protocol converter mainly includes protocol processor and sequence Change processor two parts, be responsible for assembling, serializing and the unserializing of all service data and response data, translate into master The data that programming model can directly be processed;Protocol processor in described protocol converter, serializing processor can freely be inserted Pull out;Described transmitter includes WEB SOCKET transmitter and HTTP transmitter;Described far call end includes IOS far call End, Android far call end and WEB far call end.
3. the system as claimed in claim 1, it is characterised in that described service providing end, including distributed caching module, is explained Model, Ti-Lnk agreement, readjustment Stub processing module and RabbitMq processor;Described distributed caching module is responsible for basis The parameter cache configuration of provisioning interface, using distributed caching Storage Middleware Applying, provides data buffer storage to process;Described note Model is responsible for realizing service registry using main programming language, and service call injects, service parameter, the note function of cached configuration; Described readjustment Stub processing module is responsible for storing the description information of asynchronism callback service, including service name, the agreement of use, clothes The interface description of business, method signature receives address so that service providing end can find destination service in asynchronism callback;Institute State the operation that RabbitMq message queue is responsible for by RabbitMq processor, including when calling service the protocol data assembling Be sent to service providing end monitors queue and the monitoring queue of service call end wait-for-response and asynchronism callback;Described Ti-Lnk Agreement is responsible for service request and the protocol groups installation and dismantling bag of response data is processed;Described local cache module is responsible for service call mistake Local cache in journey is processed, and mainly achieves the other caching process of thread-level;
Before Business Processing, service register center can search the caching of hit to described service providing end according to the buffer service of configuration Data, if hit, directly returns, and otherwise continues follow-up business and processes;When service call end needs asynchronous service readjustment, Stub information Store will be adjusted back in buffer service, and after the completion of service request handling, search corresponding callback information, and pass through Service register center searches corresponding readjustment service destination, completes readjustment and processes;
All service providing end can be needing the service registration externally issued to service register center, including Service name after starting Claim, service destination addressing information, the interface name that service can be called, the parameter type of service request and content, service time Tune information;When service call end needs request, corresponding addressing information can be searched using service name, more remotely be adjusted With.
4. the system as claimed in claim 1, it is characterised in that described service call end includes local cache module, explains mould Type, Ti-Lnk agreement and RabbitMq transmitter;Described local cache module is responsible for the local cache in service invocation procedure Process, mainly achieve the other caching process of thread-level;Described annotation model is responsible for realizing service registry using main programming language, Service call injects, service parameter, the note function of cached configuration;RabbitMq message team is responsible for by described RabbitMq processor The operation of row, including the monitoring queue and the service tune that when calling service, the protocol data assembling are sent to service providing end Monitoring queue with end wait-for-response and asynchronism callback;Described Ti-Lnk agreement is responsible for the protocol groups of service request and response data Installation and dismantling bag is processed;The local cache that described local cache module is responsible in service invocation procedure is processed, and mainly achieves thread The caching process of rank;
Whether described service call end, before the request initiating remote service, first can search local cache according to call request information There is the data cached of hit, if hit, direct return cache data, otherwise continue follow-up remote service request.
5. the system as claimed in claim 1 is it is characterised in that the protocol format that described internal services support is assisted for Ti-lnk View, described Ti-Lnk agreement adopts frame formula message structure, and every frame is mainly made up of message length domain and message content domain, and message is long Degree domain is encoded using BIG_ENDIAN, takies 4 bytes, and message content domain uses JSON message format, and in content-length During more than 128k, it is compressed transmission process.
6. a kind of implementation method of the system as described in any one as claim 1-5 is it is characterised in that include Ti-Lnk agreement Realize, service register center functional realiey, service invocation procedure is realized and gateway is realized.
7. method as claimed in claim 6 is it is characterised in that the realization of described Ti-Lnk agreement comprises the steps:
A) Ti-Lnk service request messages:Heading includes the mark calling service, the service interface title called, and that calls connects Mouth parameters signatures, message body includes needing to call the incoming parameters of service, and each parameter is a frame;
B) Ti-Lnk service providing end response message:Heading includes servicing client information, service release, acknowledgement type, services meeting Words identification information, holding in message body is service response result.
8. method as claimed in claim 6 is it is characterised in that described service register center functional realiey comprises the steps:
A) information on services can be submitted to service register center when starting service by service providing end, including service name, service Interface, interface requests parameter and type, address of service information;
B) after service register center receives service registration request, registration service is brought in heartbeat inspecting queue, keep and service The contact at end is provided, once service is broken down, updates the service list of current service registration center immediately, and to all correlations Service subscription person carry out information on services changing push;
C) service call end can the service list calling in need to service register center send subscribe to request, service registry Center synchronous can return the detailed recalls information of service asked, and maintain a long-chain simultaneously with called side and fetch push subscription service Change;
D) corresponding destination service information, when active service is called, can directly be searched from local service list in service call end, As being dynamic call in program, do not subscribe in advance, can directly initiate new service search request;Return in lookup result Afterwards, update local service list.
9. method as claimed in claim 6 is it is characterised in that described service invocation procedure is realized comprising the steps:
A) can search whether first to exist in local cache after service call end initiates to call effectively to hit data, if life In then direct return cache result, otherwise continue subsequent calls and process;
B) service call end, according to calling service name to search service addressing information in local service list, does not such as find Directly initiate inquiry request to service register center, after getting service goal address information, first carry out turning of Protocol layer data Change, including data assembling and serializing operation, after the completion of select corresponding transmitter to be sent to destination address, it is asynchronous for such as calling Call back scheme, returns after confirming to be sent to immediately;
C) service providing end, after transmitter receives the data of request, first carries out unserializing data according to corresponding agreement De-packaging operation, then judges the pattern this time called, if asynchronous service readjustment, can be saved in point the Stub of readjustment service In cloth buffer memory, then generate agent object entrance method of servicing and call;
D) service providing end finds corresponding service routine according to request data, is looked into according to the corresponding cached configuration of service simultaneously Look for data cached;
E) do not hit as data cached, service providing end may proceed to the logical process within service, after the completion of process, judge to adjust With pattern, if asynchronous service readjustment, the readjustment Stub storing at that time can be taken out, and ask service register center, inquire Effectively service goal address, then according to corresponding agreement and transmitter, executes data assembling, serializing and transmission operation;
F) after service call end receives response data, carry out the operation of data unpacking and unserializing according to corresponding agreement, preserve In the buffer memory of current thread rank, then carry out subsequent treatment, invoked procedure terminates.
10. method as claimed in claim 6 is it is characterised in that described gateway is realized comprising the steps:
A) service invocation request is initiated at far call end, sends request data to gateway generation by WEB SOCKET transmitter Reason layer;
B) gateway Agent layer receives after request data using WEB SOCKET transmitter, first the header of request data is entered Row parsing, after taking the information on services of request, carries out Map Searching in local agent service list;
C), after determining background service title and interface, target service requests address service is called end program, then starts Execution service call;
D), after service call end program returning result, gateway assembles number of responses again according to the agreement that far call end uses Send request response according to corresponding WEB SOCKET transmitter.
CN201610865152.7A 2016-09-29 2016-09-29 A kind of distributed micro services frame system that supporting asynchronous mode and its implementation Active CN106453288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610865152.7A CN106453288B (en) 2016-09-29 2016-09-29 A kind of distributed micro services frame system that supporting asynchronous mode and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610865152.7A CN106453288B (en) 2016-09-29 2016-09-29 A kind of distributed micro services frame system that supporting asynchronous mode and its implementation

Publications (2)

Publication Number Publication Date
CN106453288A true CN106453288A (en) 2017-02-22
CN106453288B CN106453288B (en) 2019-06-04

Family

ID=58171142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610865152.7A Active CN106453288B (en) 2016-09-29 2016-09-29 A kind of distributed micro services frame system that supporting asynchronous mode and its implementation

Country Status (1)

Country Link
CN (1) CN106453288B (en)

Cited By (68)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878427A (en) * 2017-02-23 2017-06-20 北京工业大学 A kind of micro services scheduling dispatching method and scheduling middleware trusted based on timesharing
CN106911784A (en) * 2017-03-02 2017-06-30 北京奇鱼时代科技有限公司 A kind of method and apparatus for performing asynchronous event
CN107222530A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 Service asynchronous exchange method, equipment, system and computer-readable recording medium
CN107239308A (en) * 2017-06-05 2017-10-10 广东西奥物联网科技股份有限公司 A kind of calling function realization method and system of browser
CN107395766A (en) * 2017-08-31 2017-11-24 千寻位置网络(浙江)有限公司 Decentralization communication system and implementation method based on HazelCast
CN107634948A (en) * 2017-09-19 2018-01-26 金在(北京)金融信息服务有限公司 Method for interchanging data and system
CN107948284A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 A kind of service inserting method, equipment and system based on micro services framework
CN108259595A (en) * 2018-01-11 2018-07-06 北京值得买科技股份有限公司 The method and system of asynchronous call between a kind of service
CN108512748A (en) * 2018-03-21 2018-09-07 上海艾融软件股份有限公司 A kind of implementation method of micro services gateway
CN108632208A (en) * 2017-03-20 2018-10-09 江苏两融智能制造技术有限公司 Based on the shared pan class type data communication and network subsystem of service in electrical Intelligent Manufacturing Execution System
CN108762947A (en) * 2018-05-16 2018-11-06 武汉微创光电股份有限公司 A kind of distributed system remote invocation method, apparatus and system
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system
CN108984316A (en) * 2018-06-15 2018-12-11 广州视源电子科技股份有限公司 It is a kind of for the method, apparatus of distributed data processing, electronic equipment and computer storage medium
CN109040094A (en) * 2018-08-21 2018-12-18 郑州云海信息技术有限公司 A kind of method and system for realizing asynchronous RPC based on RabbitMQ
CN109194604A (en) * 2018-06-05 2019-01-11 平安科技(深圳)有限公司 Interface automatic method, system, computer equipment and storage medium
CN109246251A (en) * 2018-11-13 2019-01-18 杭州数梦工场科技有限公司 A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing
CN109257337A (en) * 2018-08-28 2019-01-22 科大国创软件股份有限公司 Internet of things equipment method for converting protocol and lamp stand operation platform based on this method
CN109274731A (en) * 2018-09-04 2019-01-25 北京京东金融科技控股有限公司 Deployment, call method and the device of web services based on multi-tenant technology
CN109284089A (en) * 2018-08-30 2019-01-29 上海艾融软件股份有限公司 A kind of realization system and method for the electric business platform based on micro services technology
CN109451014A (en) * 2018-11-02 2019-03-08 科大国创软件股份有限公司 A kind of WebService agency plant and its transparent proxy method
CN109460228A (en) * 2018-11-05 2019-03-12 用友网络科技股份有限公司 A kind of method and system of support distribution formula service model dynamic expansion
CN109639636A (en) * 2018-11-06 2019-04-16 阿里巴巴集团控股有限公司 Business datum forwarding, business data processing method, device and electronic equipment
CN109634738A (en) * 2018-10-19 2019-04-16 深圳平安财富宝投资咨询有限公司 Asynchronous processing method, server, storage medium and device based on micro services
CN109710223A (en) * 2018-12-29 2019-05-03 北京邮电大学 API gateway hot plug system based on distributed KV storage system
CN109714098A (en) * 2019-01-31 2019-05-03 西南电子技术研究所(中国电子科技集团公司第十研究所) Remote Sensing Ground Station distributed monitoring management method
CN109714319A (en) * 2018-12-06 2019-05-03 深圳市中农网有限公司 Management system, method, apparatus, computer equipment and the storage medium of micro services
CN109726021A (en) * 2018-11-29 2019-05-07 国云科技股份有限公司 A kind of micro services interface defines the implementation method of class self-discovery
CN109729149A (en) * 2018-12-03 2019-05-07 国云科技股份有限公司 A kind of micro services framework implementation method based on note
CN109831466A (en) * 2017-11-23 2019-05-31 深圳市金证科技股份有限公司 Micro services method for processing business and nginx server
CN109842637A (en) * 2017-11-24 2019-06-04 武汉斗鱼网络科技有限公司 A kind of Distributed Services register method and device
CN109862095A (en) * 2019-01-30 2019-06-07 新华三大数据技术有限公司 Data processing method and device based on Web service
CN109862051A (en) * 2017-11-30 2019-06-07 亿阳信通股份有限公司 The realization method and system of multi-tenant under a kind of micro services framework
CN109873863A (en) * 2019-01-18 2019-06-11 北京百度网讯科技有限公司 The asynchronous invoking method and device of service
CN109922158A (en) * 2019-03-22 2019-06-21 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment based on micro services
CN109922148A (en) * 2019-03-04 2019-06-21 网易(杭州)网络有限公司 Cross-platform method of servicing, device and system
CN109951528A (en) * 2019-02-21 2019-06-28 中国工商银行股份有限公司 Support method for processing business, the apparatus and system of more deployment modes
CN109981716A (en) * 2017-12-28 2019-07-05 北京奇虎科技有限公司 A kind of micro services call method and device
CN110134086A (en) * 2019-05-17 2019-08-16 温州大学 Realize the data collection and control device of middleware function in a kind of digitlization workshop
CN110365786A (en) * 2019-07-19 2019-10-22 中国工商银行股份有限公司 Job processing system, asynchronous operation dispatching method and computer equipment
CN110443512A (en) * 2019-08-09 2019-11-12 北京思维造物信息科技股份有限公司 A kind of regulation engine and regulation engine implementation method
CN110557357A (en) * 2018-05-31 2019-12-10 华为技术有限公司 remote procedure call protocol self-adaption method, related device and server
CN110661827A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Elastic expansion method, device, equipment and computer readable storage medium
CN110780979A (en) * 2019-10-28 2020-02-11 北京海益同展信息科技有限公司 Control method and device for configuration under micro-service framework, medium and electronic equipment
CN110874232A (en) * 2018-09-04 2020-03-10 中兴通讯股份有限公司 Virtual machine component upgrading method, equipment and computer readable storage medium
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures
CN111010265A (en) * 2019-12-21 2020-04-14 上海中和软件有限公司 Block chain organization key management method based on hierarchical key and BLS digital signature
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device
CN111083199A (en) * 2019-11-23 2020-04-28 上海畅星软件有限公司 High-concurrency, high-availability and service-extensible platform-based processing architecture
CN111131425A (en) * 2019-12-18 2020-05-08 东软集团股份有限公司 Distributed system and communication method for distributed system
CN111142910A (en) * 2019-12-27 2020-05-12 郑州信大捷安信息技术股份有限公司 Multi-interface-oriented resource allocation processing method and system
WO2020094021A1 (en) * 2018-11-05 2020-05-14 中兴通讯股份有限公司 Communication method and system under micro-service architecture
CN111381985A (en) * 2020-03-09 2020-07-07 中国建设银行股份有限公司 Heterogeneous system data calling method, device, equipment and storage medium
CN111787494A (en) * 2020-05-06 2020-10-16 浙江工业大学 Short message sending reliable method based on micro service
CN112214334A (en) * 2020-09-28 2021-01-12 亚信科技(中国)有限公司 Micro-service calling method and device, electronic equipment and computer-readable storage medium
CN112380035A (en) * 2020-11-18 2021-02-19 山东高速信息集团有限公司 Method and system for realizing platform unified service interface in intelligent park
CN112506709A (en) * 2020-12-16 2021-03-16 北京航天智造科技发展有限公司 Micro-service treatment method and device
CN112508768A (en) * 2020-12-22 2021-03-16 北京百度网讯科技有限公司 Single-operator multi-model pipeline reasoning method, system, electronic equipment and medium
CN112804249A (en) * 2021-01-28 2021-05-14 中汽创智科技有限公司 Data communication method and system for remotely calling automatic driving platform
WO2021109747A1 (en) * 2019-12-04 2021-06-10 华为技术有限公司 Service providing method, device, and system
CN113037875A (en) * 2021-05-24 2021-06-25 武汉众邦银行股份有限公司 Method for realizing asynchronous gateway in distributed real-time service system
CN113159858A (en) * 2021-05-06 2021-07-23 山东白令三维科技有限公司 3D printing quotation system, method and device and storage medium
CN113342349A (en) * 2021-05-28 2021-09-03 中国工商银行股份有限公司 Micro-service calling method and device without storage root
WO2021179841A1 (en) * 2020-03-12 2021-09-16 华为技术有限公司 Microservice invoking method and apparatus, device and medium
CN113420419A (en) * 2021-05-28 2021-09-21 浙江大学 Business process model analysis method under micro-service scene
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN114513548A (en) * 2022-01-27 2022-05-17 中信百信银行股份有限公司 Directional call information processing method and device
CN114826866A (en) * 2022-03-31 2022-07-29 北京翼辉信息技术有限公司 Cross-platform microservice architecture, computing device and storage medium
CN115134141A (en) * 2022-06-27 2022-09-30 贵州数联铭品科技有限公司 Micro-service container cluster cross-network communication system and communication method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103308A1 (en) * 2002-11-25 2004-05-27 Gabor Paller Self-configuring protocol gateway
CN101115062A (en) * 2007-08-23 2008-01-30 华为技术有限公司 Distributed intelligent proxy system, login center and login, message routing method
CN101593198A (en) * 2009-06-26 2009-12-02 沈阳工业大学 Method for retrieving employment information based on grid
CN102262560A (en) * 2010-05-27 2011-11-30 阿里巴巴集团控股有限公司 Calling method, device and system for remote service
CN105376225A (en) * 2015-11-02 2016-03-02 亚信科技(南京)有限公司 Software-as-a-service method and device
CN105515759A (en) * 2015-11-27 2016-04-20 国网信息通信产业集团有限公司 Micro service registration method and micro service registration system
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services
CN105721473A (en) * 2016-02-24 2016-06-29 锐达互动科技股份有限公司 WEB side remote invoking optimizing method and system
CN105933444A (en) * 2016-06-27 2016-09-07 焦点科技股份有限公司 Service discovering method based on cooperation of registration center and caching mechanism

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103308A1 (en) * 2002-11-25 2004-05-27 Gabor Paller Self-configuring protocol gateway
CN101115062A (en) * 2007-08-23 2008-01-30 华为技术有限公司 Distributed intelligent proxy system, login center and login, message routing method
CN101593198A (en) * 2009-06-26 2009-12-02 沈阳工业大学 Method for retrieving employment information based on grid
CN102262560A (en) * 2010-05-27 2011-11-30 阿里巴巴集团控股有限公司 Calling method, device and system for remote service
CN105376225A (en) * 2015-11-02 2016-03-02 亚信科技(南京)有限公司 Software-as-a-service method and device
CN105515759A (en) * 2015-11-27 2016-04-20 国网信息通信产业集团有限公司 Micro service registration method and micro service registration system
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services
CN105721473A (en) * 2016-02-24 2016-06-29 锐达互动科技股份有限公司 WEB side remote invoking optimizing method and system
CN105933444A (en) * 2016-06-27 2016-09-07 焦点科技股份有限公司 Service discovering method based on cooperation of registration center and caching mechanism

Cited By (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878427A (en) * 2017-02-23 2017-06-20 北京工业大学 A kind of micro services scheduling dispatching method and scheduling middleware trusted based on timesharing
CN106911784A (en) * 2017-03-02 2017-06-30 北京奇鱼时代科技有限公司 A kind of method and apparatus for performing asynchronous event
CN108632208A (en) * 2017-03-20 2018-10-09 江苏两融智能制造技术有限公司 Based on the shared pan class type data communication and network subsystem of service in electrical Intelligent Manufacturing Execution System
CN107222530A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 Service asynchronous exchange method, equipment, system and computer-readable recording medium
CN107239308A (en) * 2017-06-05 2017-10-10 广东西奥物联网科技股份有限公司 A kind of calling function realization method and system of browser
CN107239308B (en) * 2017-06-05 2021-02-26 广东西奥物联网科技股份有限公司 Method and system for realizing calling function of browser
CN107395766B (en) * 2017-08-31 2020-09-22 千寻位置网络(浙江)有限公司 HazelCast-based decentralized communication system and implementation method
CN107395766A (en) * 2017-08-31 2017-11-24 千寻位置网络(浙江)有限公司 Decentralization communication system and implementation method based on HazelCast
CN107634948A (en) * 2017-09-19 2018-01-26 金在(北京)金融信息服务有限公司 Method for interchanging data and system
CN109831466A (en) * 2017-11-23 2019-05-31 深圳市金证科技股份有限公司 Micro services method for processing business and nginx server
CN109831466B (en) * 2017-11-23 2021-09-07 深圳市金证科技股份有限公司 Micro-service business processing method and nginx server
CN107948284B (en) * 2017-11-24 2021-04-16 泰康保险集团股份有限公司 Service offline method, device and system based on micro-service architecture
CN109842637A (en) * 2017-11-24 2019-06-04 武汉斗鱼网络科技有限公司 A kind of Distributed Services register method and device
CN107948284A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 A kind of service inserting method, equipment and system based on micro services framework
CN109862051A (en) * 2017-11-30 2019-06-07 亿阳信通股份有限公司 The realization method and system of multi-tenant under a kind of micro services framework
CN109981716A (en) * 2017-12-28 2019-07-05 北京奇虎科技有限公司 A kind of micro services call method and device
CN109981716B (en) * 2017-12-28 2023-11-03 北京奇虎科技有限公司 Micro-service calling method and device
CN108259595A (en) * 2018-01-11 2018-07-06 北京值得买科技股份有限公司 The method and system of asynchronous call between a kind of service
CN108512748A (en) * 2018-03-21 2018-09-07 上海艾融软件股份有限公司 A kind of implementation method of micro services gateway
CN108762947A (en) * 2018-05-16 2018-11-06 武汉微创光电股份有限公司 A kind of distributed system remote invocation method, apparatus and system
CN110557357A (en) * 2018-05-31 2019-12-10 华为技术有限公司 remote procedure call protocol self-adaption method, related device and server
CN110557357B (en) * 2018-05-31 2022-07-29 华为技术有限公司 Remote procedure call protocol self-adaption method, related device and server
CN109194604A (en) * 2018-06-05 2019-01-11 平安科技(深圳)有限公司 Interface automatic method, system, computer equipment and storage medium
CN108984316A (en) * 2018-06-15 2018-12-11 广州视源电子科技股份有限公司 It is a kind of for the method, apparatus of distributed data processing, electronic equipment and computer storage medium
CN110661827A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Elastic expansion method, device, equipment and computer readable storage medium
CN110661827B (en) * 2018-06-28 2021-10-08 中兴通讯股份有限公司 Elastic expansion method, device, equipment and computer readable storage medium
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system
CN108874567B (en) * 2018-07-19 2021-08-17 广州市创乐信息技术有限公司 Service processing method and system
CN109040094A (en) * 2018-08-21 2018-12-18 郑州云海信息技术有限公司 A kind of method and system for realizing asynchronous RPC based on RabbitMQ
CN109257337A (en) * 2018-08-28 2019-01-22 科大国创软件股份有限公司 Internet of things equipment method for converting protocol and lamp stand operation platform based on this method
CN109257337B (en) * 2018-08-28 2021-09-07 科大国创软件股份有限公司 Internet of things equipment protocol conversion method and lamp pole operation platform based on same
CN109284089B (en) * 2018-08-30 2022-04-05 上海艾融软件股份有限公司 System and method for realizing e-commerce platform based on micro-service technology
CN109284089A (en) * 2018-08-30 2019-01-29 上海艾融软件股份有限公司 A kind of realization system and method for the electric business platform based on micro services technology
CN109274731A (en) * 2018-09-04 2019-01-25 北京京东金融科技控股有限公司 Deployment, call method and the device of web services based on multi-tenant technology
CN110874232B (en) * 2018-09-04 2023-12-29 中兴通讯股份有限公司 Virtual machine component upgrading method, equipment and computer readable storage medium
CN110874232A (en) * 2018-09-04 2020-03-10 中兴通讯股份有限公司 Virtual machine component upgrading method, equipment and computer readable storage medium
CN109274731B (en) * 2018-09-04 2020-07-31 京东数字科技控股有限公司 Method and device for deploying and calling web service based on multi-tenant technology
CN109634738A (en) * 2018-10-19 2019-04-16 深圳平安财富宝投资咨询有限公司 Asynchronous processing method, server, storage medium and device based on micro services
CN109451014A (en) * 2018-11-02 2019-03-08 科大国创软件股份有限公司 A kind of WebService agency plant and its transparent proxy method
CN109451014B (en) * 2018-11-02 2021-02-05 科大国创软件股份有限公司 WebService agent system and transparent agent method thereof
CN109460228A (en) * 2018-11-05 2019-03-12 用友网络科技股份有限公司 A kind of method and system of support distribution formula service model dynamic expansion
WO2020094021A1 (en) * 2018-11-05 2020-05-14 中兴通讯股份有限公司 Communication method and system under micro-service architecture
CN109639636A (en) * 2018-11-06 2019-04-16 阿里巴巴集团控股有限公司 Business datum forwarding, business data processing method, device and electronic equipment
CN109246251A (en) * 2018-11-13 2019-01-18 杭州数梦工场科技有限公司 A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing
CN109246251B (en) * 2018-11-13 2021-01-22 杭州数梦工场科技有限公司 Micro-service calling method, device, system, equipment and readable storage medium
CN109726021A (en) * 2018-11-29 2019-05-07 国云科技股份有限公司 A kind of micro services interface defines the implementation method of class self-discovery
CN109729149A (en) * 2018-12-03 2019-05-07 国云科技股份有限公司 A kind of micro services framework implementation method based on note
CN109714319A (en) * 2018-12-06 2019-05-03 深圳市中农网有限公司 Management system, method, apparatus, computer equipment and the storage medium of micro services
CN109710223A (en) * 2018-12-29 2019-05-03 北京邮电大学 API gateway hot plug system based on distributed KV storage system
CN109873863B (en) * 2019-01-18 2021-10-15 北京百度网讯科技有限公司 Asynchronous calling method and device of service
CN109873863A (en) * 2019-01-18 2019-06-11 北京百度网讯科技有限公司 The asynchronous invoking method and device of service
CN109862095A (en) * 2019-01-30 2019-06-07 新华三大数据技术有限公司 Data processing method and device based on Web service
CN109714098A (en) * 2019-01-31 2019-05-03 西南电子技术研究所(中国电子科技集团公司第十研究所) Remote Sensing Ground Station distributed monitoring management method
CN109714098B (en) * 2019-01-31 2021-02-09 西南电子技术研究所(中国电子科技集团公司第十研究所) Distributed monitoring management method for remote sensing satellite ground station
CN109951528A (en) * 2019-02-21 2019-06-28 中国工商银行股份有限公司 Support method for processing business, the apparatus and system of more deployment modes
CN109951528B (en) * 2019-02-21 2022-04-15 中国工商银行股份有限公司 Service processing method, device and system supporting multiple deployment modes
CN109922148A (en) * 2019-03-04 2019-06-21 网易(杭州)网络有限公司 Cross-platform method of servicing, device and system
CN109922148B (en) * 2019-03-04 2022-02-25 网易(杭州)网络有限公司 Cross-platform service method, device and system
CN109922158A (en) * 2019-03-22 2019-06-21 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment based on micro services
CN110134086B (en) * 2019-05-17 2021-10-08 温州大学 Data acquisition and control device for realizing middleware function in digital workshop
CN110134086A (en) * 2019-05-17 2019-08-16 温州大学 Realize the data collection and control device of middleware function in a kind of digitlization workshop
CN110365786A (en) * 2019-07-19 2019-10-22 中国工商银行股份有限公司 Job processing system, asynchronous operation dispatching method and computer equipment
CN110365786B (en) * 2019-07-19 2022-03-22 中国工商银行股份有限公司 Job processing system, asynchronous job scheduling method, and computer device
CN110443512A (en) * 2019-08-09 2019-11-12 北京思维造物信息科技股份有限公司 A kind of regulation engine and regulation engine implementation method
CN110780979A (en) * 2019-10-28 2020-02-11 北京海益同展信息科技有限公司 Control method and device for configuration under micro-service framework, medium and electronic equipment
CN110780979B (en) * 2019-10-28 2021-01-26 北京海益同展信息科技有限公司 Control method and device for configuration under micro-service framework, medium and electronic equipment
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures
CN111083199A (en) * 2019-11-23 2020-04-28 上海畅星软件有限公司 High-concurrency, high-availability and service-extensible platform-based processing architecture
WO2021109747A1 (en) * 2019-12-04 2021-06-10 华为技术有限公司 Service providing method, device, and system
CN111131425B (en) * 2019-12-18 2022-08-30 东软集团股份有限公司 Distributed system and communication method for distributed system
CN111131425A (en) * 2019-12-18 2020-05-08 东软集团股份有限公司 Distributed system and communication method for distributed system
CN111010265A (en) * 2019-12-21 2020-04-14 上海中和软件有限公司 Block chain organization key management method based on hierarchical key and BLS digital signature
CN111049854B (en) * 2019-12-25 2021-12-14 微民保险代理有限公司 Service request transmission method and device
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device
CN111142910B (en) * 2019-12-27 2022-04-08 郑州信大捷安信息技术股份有限公司 Multi-interface-oriented resource allocation processing method and system
CN111142910A (en) * 2019-12-27 2020-05-12 郑州信大捷安信息技术股份有限公司 Multi-interface-oriented resource allocation processing method and system
CN111381985A (en) * 2020-03-09 2020-07-07 中国建设银行股份有限公司 Heterogeneous system data calling method, device, equipment and storage medium
CN111381985B (en) * 2020-03-09 2023-09-19 中国建设银行股份有限公司 Heterogeneous system data calling method, device, equipment and storage medium
WO2021179841A1 (en) * 2020-03-12 2021-09-16 华为技术有限公司 Microservice invoking method and apparatus, device and medium
CN111787494B (en) * 2020-05-06 2022-04-08 浙江工业大学 Short message sending reliable method based on micro service
CN111787494A (en) * 2020-05-06 2020-10-16 浙江工业大学 Short message sending reliable method based on micro service
CN112214334A (en) * 2020-09-28 2021-01-12 亚信科技(中国)有限公司 Micro-service calling method and device, electronic equipment and computer-readable storage medium
CN112380035A (en) * 2020-11-18 2021-02-19 山东高速信息集团有限公司 Method and system for realizing platform unified service interface in intelligent park
CN112506709A (en) * 2020-12-16 2021-03-16 北京航天智造科技发展有限公司 Micro-service treatment method and device
CN112508768A (en) * 2020-12-22 2021-03-16 北京百度网讯科技有限公司 Single-operator multi-model pipeline reasoning method, system, electronic equipment and medium
CN112508768B (en) * 2020-12-22 2022-05-27 北京百度网讯科技有限公司 Single-operator multi-model pipeline reasoning method, system, electronic equipment and medium
CN112804249A (en) * 2021-01-28 2021-05-14 中汽创智科技有限公司 Data communication method and system for remotely calling automatic driving platform
CN113159858A (en) * 2021-05-06 2021-07-23 山东白令三维科技有限公司 3D printing quotation system, method and device and storage medium
CN113037875A (en) * 2021-05-24 2021-06-25 武汉众邦银行股份有限公司 Method for realizing asynchronous gateway in distributed real-time service system
CN113037875B (en) * 2021-05-24 2021-07-27 武汉众邦银行股份有限公司 Method for realizing asynchronous gateway in distributed real-time service system
CN113420419B (en) * 2021-05-28 2022-04-01 浙江大学 Business process model analysis method under micro-service scene
CN113420419A (en) * 2021-05-28 2021-09-21 浙江大学 Business process model analysis method under micro-service scene
CN113342349A (en) * 2021-05-28 2021-09-03 中国工商银行股份有限公司 Micro-service calling method and device without storage root
CN113676483B (en) * 2021-08-26 2023-04-07 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN114513548A (en) * 2022-01-27 2022-05-17 中信百信银行股份有限公司 Directional call information processing method and device
CN114826866A (en) * 2022-03-31 2022-07-29 北京翼辉信息技术有限公司 Cross-platform microservice architecture, computing device and storage medium
CN115134141A (en) * 2022-06-27 2022-09-30 贵州数联铭品科技有限公司 Micro-service container cluster cross-network communication system and communication method thereof
CN115134141B (en) * 2022-06-27 2023-10-03 贵州数联铭品科技有限公司 Micro-service container cluster cross-network communication system and communication method thereof

Also Published As

Publication number Publication date
CN106453288B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN106453288A (en) Asynchronous mode supporting distributed micro service framework system and implementation method thereof
CN105721473B (en) A kind of method and system of WEB terminal far call optimization
US20210176310A1 (en) Data synchronization method and system
US11716264B2 (en) In situ triggered function as a service within a service mesh
WO2019153488A1 (en) Service configuration management method, apparatus, storage medium and server
CN102880475A (en) Real-time event handling system and method based on cloud computing in computer software system
CN112631788B (en) Data transmission method and data transmission server
CN110309231A (en) A kind of method of data synchronization and system across computer room
US8606908B2 (en) Wake-up server
CN109040094A (en) A kind of method and system for realizing asynchronous RPC based on RabbitMQ
CN109756461A (en) A kind of remote procedure calling (PRC) method based on NETTY
CN106131138A (en) A kind of display data real time propelling movement system and method based on non-obstruction queue
WO2021170033A1 (en) Network configuration method and apparatus
CN112711635A (en) Method for cross-regional data consistency of distributed Internet of things equipment and service cluster
CN112511598A (en) Screen projection display method, intelligent terminal and storage medium
CN112600881A (en) Method, device, server and storage medium for providing service of internet of things
CN101321123A (en) System and method for embedded type transmission of dynamic data
CN107071067B (en) Cgo-based high-performance stock market access system and method
CN116319732A (en) Message queue centralized configuration management system and method based on RabbitMQ
WO2018036255A1 (en) Method and device for resetting network device to factory settings, and network device
US20090141635A1 (en) Using status inquiry and status response messages to exchange management information
CN103475533B (en) Front monitoring front-end cut-in method, apparatus and system
CN104052723B (en) information processing method, server and system
CN113157796A (en) Data acquisition display system based on micro-service
CN109040304B (en) CloudROS cloud robot framework

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Cen Puzhou

Inventor after: Xiao Qi

Inventor after: Bao Haiwei

Inventor before: Cen Puzhou

Inventor before: Xiao Qi

CB03 Change of inventor or designer information