CN108965461A - Service administering method, device and dubbo service system - Google Patents

Service administering method, device and dubbo service system Download PDF

Info

Publication number
CN108965461A
CN108965461A CN201810882082.5A CN201810882082A CN108965461A CN 108965461 A CN108965461 A CN 108965461A CN 201810882082 A CN201810882082 A CN 201810882082A CN 108965461 A CN108965461 A CN 108965461A
Authority
CN
China
Prior art keywords
service
providing end
service providing
optional
destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810882082.5A
Other languages
Chinese (zh)
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.)
Wasu Media & Network Co Ltd
Original Assignee
Wasu Media & Network 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 Wasu Media & Network Co Ltd filed Critical Wasu Media & Network Co Ltd
Priority to CN201810882082.5A priority Critical patent/CN108965461A/en
Publication of CN108965461A publication Critical patent/CN108965461A/en
Pending legal-status Critical Current

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of service administering method, device and dubbo service systems, are related to Internet technical field, this method comprises: receiving the service invocation request from service consumption end first to determine the corresponding destination service of service invocation request;Then the corresponding optional service providing end of destination service is determined by service register center;And then the address of optional service providing end is sent to service consumption end, so that service consumption end accesses optional service providing end, and the invocation target service from optional service providing end according to address;It is monitored in real time simultaneously by process of the service monitoring center to the called destination service of optional service providing end, obtains monitored results;And monitored results are sent to service administrators, so that service administrators administer service according to monitored results.The aforesaid way provided through the invention, service administrators can in time be adjusted the distribution of Service Source, and the utilization rate of Service Source is effectively promoted.

Description

Service administering method, device and dubbo service system
Technical field
The present invention relates to Internet technical fields, service system more particularly, to a kind of service administering method, device and dubbo System.
Background technique
Increasing using scale with the development of Internet service, conventional vertical applications framework can not cope with Large-scale demand for services, Distributed Services framework and flowing computing architecture are imperative.Under such trend, using it Between, the interaction between module it is inevitable.
The service call between application, between module is usually individually connection at present, lacks unified information integration and adjusts Degree management, when service it is more and more when, Service Source waste the phenomenon that also gradually show.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of service administering method, device and dubbo service system, with Promote the utilization rate of Service Source.
In a first aspect, this method is applied to dubbo service system the embodiment of the invention provides a kind of service administering method System;Dubbo service system includes service consumption end, service providing end, service register center and service monitoring center;This method It include: to receive the service invocation request from service consumption end, and determine the corresponding destination service of service invocation request;Pass through clothes Business registration center determines the corresponding optional service providing end of destination service;Wherein, service register center is stored with service and service The corresponding relationship at end is provided;The address of optional service providing end is sent to service consumption end, so that service consumption end base area Location accesses optional service providing end, and the invocation target service from optional service providing end;By service monitoring center to optional The process of the called destination service of service providing end is monitored in real time, and monitored results are obtained;Wherein, monitored results include target The calling duration and call number that service is invoked successfully;Monitored results are sent to service administrators, so that service administrators Service is administered according to monitored results.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein on State the step of corresponding optional service providing end of destination service is determined by service register center, comprising: by service registration The heart searches the corresponding service providing end of destination service;Judge whether the working condition of the service providing end found is normal;If It is that the service providing end found is determined as optional service providing end.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect Possible embodiment, wherein above-mentioned service register center is preset with service address list;Wherein, service address list stores There is the address of the corresponding service providing end of destination service;By service register center, searches the corresponding service of destination service and provide The step of end, comprising: traverse service address list searches the address of the corresponding service providing end of destination service;Based on finding Address, the address of the corresponding service providing end of positioning destination service.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein on Service register center is stated to communicate to connect by default first port and service providing end;Service register center is by presetting second end Mouth is communicated to connect with service consumption end;The above method further include: by default first port and default second port, establish service The telecommunication of consumption terminal and service providing end, so that service consumption end obtains the service variation information of service providing end in real time.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect Possible embodiment, wherein preset first port and default second port is http protocol port.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiment of first aspect, above-mentioned clothes Business registration center includes zookeeper.
Second aspect, the embodiment of the invention provides a kind of service controlling device, which is set to dubbo service system System;Dubbo service system includes service consumption end, service providing end, service register center and service monitoring center;The device Include: service request reception module, for receiving the service invocation request from service consumption end, and determines service invocation request Corresponding destination service;Service providing end determining module, for determining that destination service is corresponding optional by service register center Service providing end;Wherein, service register center is stored with the corresponding relationship of service and service providing end;Service calling module is used In the address of optional service providing end is sent to service consumption end, mentioned so that service consumption end accesses optional service according to address For holding, and the invocation target service from optional service providing end;Service call monitoring module, for passing through service monitoring center pair The process of the called destination service of optional service providing end is monitored in real time, and monitored results are obtained;Wherein, monitored results include The calling duration and call number that destination service is invoked successfully;Monitored results sending module, for being sent to monitored results Service administrators, so that service administrators administer service according to monitored results.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiment of second aspect, the services It provides end determining module to be used for: by service register center, searching the corresponding service providing end of destination service;What judgement was found Whether the working condition of service providing end is normal;If so, the service providing end found is determined as optional service providing end.
The third aspect, the embodiment of the invention provides a kind of dubbo service system, including memory and processor, storages The computer program that can be run on a processor is stored in device, processor realizes above-mentioned first aspect when executing computer program The step of method described in any one of the 5th kind of possible embodiment to first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, computer readable storage mediums On be stored with computer program, above-mentioned first aspect is executed when computer program is run by processor to the 5th kind of first aspect The step of method described in any one of possible embodiment.
The embodiment of the present invention bring it is following the utility model has the advantages that
The embodiment of the invention provides a kind of service administering method, device and dubbo service systems, this method comprises: first Receive the service invocation request from service consumption end first to determine the corresponding destination service of service invocation request;Then pass through clothes Business registration center determines the corresponding optional service providing end of destination service;And then the address of optional service providing end is sent to clothes Business consumption terminal, so that service consumption end accesses optional service providing end according to address, and calls mesh from optional service providing end Mark service;It is monitored in real time simultaneously by process of the service monitoring center to the called destination service of optional service providing end, Obtain monitored results;And monitored results are sent to service administrators, so that service administrators are according to monitored results to service It is administered.The process that aforesaid way provided in an embodiment of the present invention is called by policing services can enable administrator right in time Service resource allocation adjusts, so that the utilization rate of Service Source be effectively promoted.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for servicing administering method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the service framework based on zookeeper provided in an embodiment of the present invention;
Fig. 3 is a kind of structural block diagram for servicing controlling device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of dubbo service system provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The service call between application, between module is usually individually connection at present, lacks unified information integration and adjusts Degree management, when service it is more and more when, Service Source waste the phenomenon that also gradually show.Based on this, the embodiment of the present invention is provided A kind of service administering method, device and dubbo service system, can effectively promote the utilization rate of Service Source.
For convenient for understanding the present embodiment, first to a kind of service administering method disclosed in the embodiment of the present invention into Row is discussed in detail.
A kind of flow chart of service administering method shown in Figure 1, this method are applied to dubbo service system;dubbo Service system includes service consumption end, service providing end, service register center and service monitoring center;Dubbo service system It is established based on dubbo service framework;Wherein, dubbo is a kind of distributed service framework that can be realized remote call service, This method comprises the following steps:
Step S102 receives the service invocation request from service consumption end, and determines the corresponding mesh of service invocation request Mark service;Wherein, service invocation request carries the identifier for the destination service that service consumption end to be called, such as interface Name;And the identifier can be identified by service register center.
Step S104 determines the corresponding optional service providing end of destination service by service register center;Wherein, service note Volume central store has the corresponding relationship of service and service providing end;Destination service can be mentioned by one or more service providing ends For;One service providing end can provide a variety of services.Based on dubbo service framework, service register center can be according to interface Name query service provides the address at end, smoothly can also add or delete service providing end, without by service providing end It writes extremely address.
The address of optional service providing end is sent to service consumption end by step S106, so that service consumption end base area Location accesses optional service providing end, and the invocation target service from optional service providing end;
Step S108 is carried out real-time by process of the service monitoring center to the called destination service of optional service providing end Monitoring, obtains monitored results;Wherein, monitored results include the calling duration and call number that destination service is invoked successfully;Tool Body, can be used each service of monit module in dubbo service framework to each service providing end call number and when Between sample, the called number of such as each service is obtained, wherein successful number, the number of failure successfully call primary Service the information such as time-consuming.
Monitored results are sent to service administrators by step S110, so that service administrators are according to monitored results to service It is administered.Monitored results obtained above are sent to service administrators, administrator can analyze such as every according to monitored results When its service is being peak valley;Which service is called often in server (namely aforementioned service offer end);What When need to do server expansion etc., thus to service administered and optimized accordingly.
Above-mentioned service administering method provided in an embodiment of the present invention, first service call of the reception from service consumption end are asked It asks to determine the corresponding destination service of service invocation request;Then determine that destination service is corresponding optional by service register center Service providing end;And then the address of optional service providing end is sent to service consumption end, so that service consumption end is according to address Access optional service providing end, and the invocation target service from optional service providing end;Simultaneously by service monitoring center to can It selects the process of the called destination service of service providing end to be monitored in real time, obtains monitored results;And monitored results are sent To service administrators, so that service administrators administer service according to monitored results.It is provided in an embodiment of the present invention above-mentioned Method is applied to dubbo service system, and the process called by policing services facilitates administrator in time to service resource allocation It adjusts, so that the utilization rate of Service Source be effectively promoted.
Further, for ease of understanding, above-mentioned steps S104, namely determine that destination service is corresponding by service register center The step of optional service providing end, comprising: by service register center, search the corresponding service providing end of destination service;Judgement Whether the working condition of the service providing end found is normal;If so, the service providing end found is determined as optional clothes Business provides end.It is corresponding with destination service by service register center indirect reference, and the normal service providing end of working condition, then Service consumption end is sent it to, can be avoided at present because directly passing through firmly the corresponding relationship of destination service and service providing end Coding mode realizes, and when leading to service providing end operation irregularity, service consumption end continues to request and hangs the service providing end of falling The phenomenon that service is provided.The efficiency of service call is effectively promoted.
Further, service address list can also be preset in service register center;Wherein, service address list is stored with mesh Mark services the address of corresponding service providing end;By service register center, the corresponding service providing end of destination service is searched Step, comprising: traverse service address list searches the address of the corresponding service providing end of destination service;Based on the ground found Location, the corresponding service providing end of positioning destination service.
Further, above-mentioned service register center is communicated to connect by default first port and service providing end;Service registration Center is also communicated to connect by default second port and service consumption end;The above method further include: by default first port and Default second port, establishes the telecommunication of service consumption end and service providing end, so that service consumption end obtains service in real time The service variation information at end is provided.Specifically, default first port and default second port are http protocol port.With service Registration center, by port connection service consumption end and service providing end, realizes telecommunication, using http protocol as medium Encryption transmitting is carried out to information, effectively guarantees the safety of communication.
Further, above-mentioned service register center includes zookeeper;It, can using zookeeper as service register center To realize load balancing, specifically, corresponding Web application can be cooperated to realize load balancing by zookeeper cluster, it is such Mode is compared to single registration center, when flow reaches a certain level, can be shunted by load balancing, enhance service The bearing capacity of registration center, to guarantee being normally carried out for service call;Meanwhile zookeeper is also equipped with synchronizing function, The data of clustered node can be made synchronous with resource holding;Zookeeper safeguards preset service by building tree Address list, service providing end is when starting, specified nodal directory on zookeeper, such as in/dubbo/ $ The registration of service can be completed in the address that oneself is written under { serviceName }/providers.In addition, zookeeper may be used also To hang the server namely aforementioned service offer end by heartbeat mechanism detection, and the address kimonos of the server will be hung Business corresponding relationship is deleted from service address list.
To be convenient to carry out, referring to fig. 2, the embodiment of the invention also provides a kind of service frameworks based on zookeeper Structural schematic diagram shows the interaction between service register center 202, service consumption end 204 and service providing end 206 in Fig. 2; Wherein, service register center 202 can be realized using zookeeper.Specifically, include: service providing end on startup, registration Service service register center;Service consumption end on startup, the service needed for subscribing to oneself to service register center;Service note Volume center returns to the corresponding service providing end address list of destination service and gives service consumption end, if the service of the service providing end Have altered, service register center gives service change messaging to service consumption end;Service registration information is delayed at service consumption end There are locals;Service consumption end is from the address list of optional service providing end, and wherein a service providing end is taken for choosing Business is called, if malloc failure malloc, then would select next to be called.
To be convenient to carry out, the embodiment of the invention also provides a kind of service consumption end, service register center and services to provide The configuration mode at end, it is specific as follows: to build exploitation environment, including installation JDK1.7, configuration JAVA environment variable, configuration MAVEN and installation Redis;Realize that service providing end is separated with service consumption end using dubbo;It will be included by service providing end The interface complete trails configuration of service is registered in dubbo service providing end configuration file Provider.xml, and Registration center address, port numbers and timeout interval have been configured in Provider.xml, pass through the container file of Spring ApplicationContext.xml loads service providing end Provider.xml so that the interface of service providing end exposes It goes.It is registered in zookeeper registration center, is loaded by SpringapplicationContext.xml file, service consumption The configuration in Consumer.xml is held to need the interface consumed.
The corresponding above method, the embodiment of the invention provides a kind of service controlling device, which is set to dubbo service System;Dubbo service system includes service consumption end, service providing end, service register center and service monitoring center;The dress It sets and includes:
Service request reception module 302 for receiving the service invocation request from service consumption end, and determines that service is adjusted With the corresponding destination service of request;
Service providing end determining module 304, for determining the corresponding optional service of destination service by service register center End is provided;Wherein, service register center is stored with the corresponding relationship of service and service providing end;
Service calling module 306, for the address of optional service providing end to be sent to service consumption end, so that service disappears Fei Duan accesses optional service providing end, and the invocation target service from optional service providing end according to address;
Service call monitoring module 308, for being taken by service monitoring center to the called target of optional service providing end The process of business is monitored in real time, and monitored results are obtained;Wherein, when monitored results include the calling that destination service is invoked successfully Long and call number;
Monitored results sending module 310, for monitored results to be sent to service administrators so that service administrators according to Monitored results administer service.
Above-mentioned service controlling device provided in an embodiment of the present invention is asked by receiving the service call from service consumption end It asks, and determines the corresponding destination service of service invocation request;Then determining that destination service is corresponding by service register center can Select service providing end;And then the address of optional service providing end is sent to service consumption end, so that service consumption end base area Location accesses optional service providing end, and the invocation target service from optional service providing end;Pass through service monitoring center pair simultaneously The process of the called destination service of optional service providing end is monitored in real time, and monitored results are obtained;And monitored results are sent out It send to service administrators, so that service administrators administer service according to monitored results.Clothes provided in an embodiment of the present invention Business controlling device is set to dubbo service system, the process called by policing services, facilitates administrator and provides in time to service Source distribution adjusts, so that the utilization rate of Service Source be effectively promoted.
Specifically, above-mentioned service providing end determining module 304 is used for: by service register center, searching destination service pair The service providing end answered;Judge whether the working condition of the service providing end found is normal;If so, the service that will be found End is provided and is determined as optional service providing end.
The technical effect of device provided by the present embodiment, realization principle and generation is identical with previous embodiment, for letter It describes, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
Further, the corresponding above method and device, the embodiment of the invention also provides a kind of dubbo service systems, including Memory and processor, the computer program that can be run on handled device is stored in memory, and processor executes computer The step of above-mentioned service administering method is realized when program.
A kind of structural schematic diagram of dubbo service system shown in Figure 4, shows dubbo service system 400, packet Include: processor 40, memory 41, bus 42 and communication interface 43, processor 40, communication interface 43 and memory 41 pass through bus 42 connections;Processor 40 is for executing the executable module deposited and stored in 41, such as computer program.
Wherein, memory 41 may include high-speed random access memory (RAM, Random Access Memory), It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely A few communication interface 43 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 42 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data Line, control bus etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or one convenient for indicating The bus of seed type.
Wherein, memory 41 is for storing program 401, and processor 40 executes program 401 after receiving and executing instruction, Method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to processor In 40, or realized by processor 40.
Processor 40 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 40 or the instruction of software form.Above-mentioned Processor 40 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory 41, and processor 40 reads the information in memory 41, in conjunction with Its hardware completes the step of above method.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, computer readable storage mediums On be stored with computer program, when which is run by processor execute any of the above-described service administering method step Suddenly.Specific implementation can be found in embodiment of the method, and details are not described herein.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of service administering method, which is characterized in that the method is applied to dubbo service system;Dubbo service system System includes service consumption end, service providing end, service register center and service monitoring center;The described method includes:
The service invocation request from service consumption end is received, and determines the corresponding destination service of the service invocation request;
The corresponding optional service providing end of the destination service is determined by service register center;Wherein, in the service registration Feel the corresponding relationship of the service of containing with the service providing end;
The address of the optional service providing end is sent to the service consumption end, so that the service consumption end is according to Address accesses the optional service providing end, and calls the destination service from the optional service providing end;
The be called process of the destination service of the optional service providing end is monitored in real time by service monitoring center, Obtain monitored results;Wherein, the monitored results include the calling duration and call number that the destination service is invoked successfully;
The monitored results are sent to service administrators so that the service administrators according to the monitored results to service into Row is administered.
2. the method according to claim 1, wherein described determine the destination service by service register center The step of corresponding optional service providing end, comprising:
By the service register center, the corresponding service providing end of the destination service is searched;
Judge whether the working condition of the service providing end found is normal;
If so, the service providing end found is determined as optional service providing end.
3. according to the method described in claim 2, it is characterized in that, the service register center is preset with service address list; Wherein, the service address list is stored with the address of the corresponding service providing end of the destination service;
It is described by the service register center, the step of searching the destination service corresponding service providing end, comprising: traversal The service address list searches the address of the corresponding service providing end of the destination service;The address based on lookup, it is fixed The corresponding service providing end of the position destination service.
4. the method according to claim 1, wherein the service register center passes through default first port and institute State service providing end communication connection;The service register center passes through default second port and service consumption end communication link It connects;The method also includes:
By the default first port and the default second port, the service consumption end and the service providing end are established Telecommunication so that the service consumption end obtains the service variation information of the service providing end in real time.
5. according to the method described in claim 4, it is characterized in that, the default first port and the default second port are equal For http protocol port.
6. the method according to claim 1, wherein the service register center includes zookeeper.
7. a kind of service controlling device, described device are set to dubbo service system;The dubbo service system includes service Consumption terminal, service providing end, service register center and service monitoring center;Described device includes:
Service request reception module for receiving the service invocation request from service consumption end, and determines the service call Request corresponding destination service;
Service providing end determining module, for determining that the corresponding optional service of the destination service provides by service register center End;Wherein, the service register center is stored with the corresponding relationship of service with the service providing end;
Service calling module, for the address of the optional service providing end to be sent to the service consumption end, so that described Service consumption end accesses the optional service providing end according to the address, and from the optional service providing end described in calling Destination service;
Service call monitoring module, for being taken by service monitoring center to the be called target of the optional service providing end The process of business is monitored in real time, and monitored results are obtained;Wherein, the monitored results include that the destination service is invoked successfully Calling duration and call number;
Monitored results sending module, for the monitored results to be sent to service administrators, so that the service administrators root Service is administered according to the monitored results.
8. device according to claim 7, which is characterized in that the service providing end determining module is used for:
By the service register center, the corresponding service providing end of the destination service is searched;
Judge whether the working condition of the service providing end found is normal;
If so, the service providing end found is determined as optional service providing end.
9. a kind of dubbo service system, which is characterized in that including memory and processor, being stored in the memory can be The computer program run on the processor, the processor realize the claims 1 when executing the computer program The step of to 6 described in any item methods.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium The step of being, the described in any item methods of the claims 1 to 6 executed when the computer program is run by processor.
CN201810882082.5A 2018-08-03 2018-08-03 Service administering method, device and dubbo service system Pending CN108965461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810882082.5A CN108965461A (en) 2018-08-03 2018-08-03 Service administering method, device and dubbo service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810882082.5A CN108965461A (en) 2018-08-03 2018-08-03 Service administering method, device and dubbo service system

Publications (1)

Publication Number Publication Date
CN108965461A true CN108965461A (en) 2018-12-07

Family

ID=64467710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810882082.5A Pending CN108965461A (en) 2018-08-03 2018-08-03 Service administering method, device and dubbo service system

Country Status (1)

Country Link
CN (1) CN108965461A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213371A (en) * 2019-05-31 2019-09-06 深圳前海微众银行股份有限公司 Information consumption method, apparatus, equipment and computer storage medium
CN110311900A (en) * 2019-06-19 2019-10-08 微梦创科网络科技(中国)有限公司 A kind of service calling method, device, electronic equipment and storage medium
CN110365743A (en) * 2019-06-21 2019-10-22 南京壹进制信息科技有限公司 A kind of a variety of load balancer implementation methods that can customize loading algorithm of support realized based on Zookeeper
CN110391940A (en) * 2019-07-26 2019-10-29 广州虎牙科技有限公司 Response method, device, system, equipment and the storage medium of address of service
CN111124532A (en) * 2019-11-29 2020-05-08 北京浪潮数据技术有限公司 Service loading method and device, electronic equipment and storage medium
CN111354124A (en) * 2020-03-11 2020-06-30 北京创联云睿科技有限公司 Intelligent Internet of things vending system, service equipment and vending machine
CN111405061A (en) * 2020-03-31 2020-07-10 中国工商银行股份有限公司 Micro-service shutdown method based on Dubbo frame and server
CN111737028A (en) * 2020-06-16 2020-10-02 中国银行股份有限公司 Dubbo service detection method and device
CN111741108A (en) * 2020-06-19 2020-10-02 中国银行股份有限公司 Information acquisition method and device
CN112202605A (en) * 2020-09-27 2021-01-08 中国建设银行股份有限公司 Service configuration method, device, equipment and storage medium
CN112333270A (en) * 2020-11-04 2021-02-05 中国电力财务有限公司 Method and system for micro-service dynamic routing
CN113297113A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Control method and control device based on service bus system
CN113765870A (en) * 2020-09-01 2021-12-07 北京沃东天骏信息技术有限公司 Remote service calling method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105554160A (en) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 Dubbo distributed cluster system architecture method based on nginx load balancing
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN107819607A (en) * 2017-10-13 2018-03-20 丹露成都网络技术有限公司 Micro services monitoring system based on dubbo
CN108111496A (en) * 2017-12-13 2018-06-01 杭州安恒信息技术有限公司 The method, apparatus and system of http services are exposed for dubbo Distributed Applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105554160A (en) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 Dubbo distributed cluster system architecture method based on nginx load balancing
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN107819607A (en) * 2017-10-13 2018-03-20 丹露成都网络技术有限公司 Micro services monitoring system based on dubbo
CN108111496A (en) * 2017-12-13 2018-06-01 杭州安恒信息技术有限公司 The method, apparatus and system of http services are exposed for dubbo Distributed Applications

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213371B (en) * 2019-05-31 2023-05-12 深圳前海微众银行股份有限公司 Message consumption method, device, equipment and computer storage medium
CN110213371A (en) * 2019-05-31 2019-09-06 深圳前海微众银行股份有限公司 Information consumption method, apparatus, equipment and computer storage medium
CN110311900A (en) * 2019-06-19 2019-10-08 微梦创科网络科技(中国)有限公司 A kind of service calling method, device, electronic equipment and storage medium
CN110365743A (en) * 2019-06-21 2019-10-22 南京壹进制信息科技有限公司 A kind of a variety of load balancer implementation methods that can customize loading algorithm of support realized based on Zookeeper
CN110391940B (en) * 2019-07-26 2022-09-27 广州虎牙科技有限公司 Service address response method, device, system, equipment and storage medium
CN110391940A (en) * 2019-07-26 2019-10-29 广州虎牙科技有限公司 Response method, device, system, equipment and the storage medium of address of service
CN111124532A (en) * 2019-11-29 2020-05-08 北京浪潮数据技术有限公司 Service loading method and device, electronic equipment and storage medium
CN111354124A (en) * 2020-03-11 2020-06-30 北京创联云睿科技有限公司 Intelligent Internet of things vending system, service equipment and vending machine
CN111405061B (en) * 2020-03-31 2022-10-21 中国工商银行股份有限公司 Micro-service shutdown method based on Dubbo frame and server
CN111405061A (en) * 2020-03-31 2020-07-10 中国工商银行股份有限公司 Micro-service shutdown method based on Dubbo frame and server
CN111737028A (en) * 2020-06-16 2020-10-02 中国银行股份有限公司 Dubbo service detection method and device
CN111737028B (en) * 2020-06-16 2024-02-23 中国银行股份有限公司 Dubbo service detection method and device
CN111741108A (en) * 2020-06-19 2020-10-02 中国银行股份有限公司 Information acquisition method and device
CN111741108B (en) * 2020-06-19 2022-10-18 中国银行股份有限公司 Information acquisition method and device
CN113765870A (en) * 2020-09-01 2021-12-07 北京沃东天骏信息技术有限公司 Remote service calling method, device and system
CN113765870B (en) * 2020-09-01 2023-09-05 北京沃东天骏信息技术有限公司 Remote service calling method, device and system
CN112202605A (en) * 2020-09-27 2021-01-08 中国建设银行股份有限公司 Service configuration method, device, equipment and storage medium
CN112333270A (en) * 2020-11-04 2021-02-05 中国电力财务有限公司 Method and system for micro-service dynamic routing
CN112333270B (en) * 2020-11-04 2024-05-03 中国电力财务有限公司 Method and system for dynamic routing of micro-services
CN113297113A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Control method and control device based on service bus system

Similar Documents

Publication Publication Date Title
CN108965461A (en) Service administering method, device and dubbo service system
US11169839B2 (en) Management of IoT devices in a virtualized network
US11888756B2 (en) Software load balancer to maximize utilization
CN109347675A (en) Server configuration method, device and electronic equipment
CN105159775A (en) Load balancer based management system and management method for cloud computing data center
US20020129127A1 (en) Apparatus and method for routing a transaction to a partitioned server
WO2015050488A1 (en) Method, system, computer program and computer program product for monitoring data packet flows between virtual machines, vms, within a data centre
CN103607424B (en) Server connection method and server system
WO2021254331A1 (en) Resource management method and system, proxy server, and storage medium
JP2011521319A (en) Method and apparatus for managing computing resources of a management system
US9104488B2 (en) Support server for redirecting task results to a wake-up server
US20160036665A1 (en) Data verification based upgrades in time series system
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
CN107105013B (en) File processing method, server, terminal and system
US20160344582A1 (en) Call home cluster
CN111124609A (en) Data acquisition method and device, data acquisition equipment and storage medium
CN109639796A (en) A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN108259605B (en) Data calling system and method based on multiple data centers
CN108933706B (en) Method, device and system for monitoring data traffic
CN114070755A (en) Virtual machine network flow determining method and device, electronic equipment and storage medium
CN115051978B (en) Equipment monitoring implementation method and system
CN112689008A (en) Network connection pool management method, device, equipment and storage medium
WO2024056042A1 (en) Load balancing processing method and apparatus, storage medium and electronic apparatus
US20230315541A1 (en) Tightly coupled parallel applications on a serverless computing system
US20230315543A1 (en) Tightly coupled parallel applications on a serverless computing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication