CN106060127A - Server calling method and server calling device - Google Patents

Server calling method and server calling device Download PDF

Info

Publication number
CN106060127A
CN106060127A CN201610350284.6A CN201610350284A CN106060127A CN 106060127 A CN106060127 A CN 106060127A CN 201610350284 A CN201610350284 A CN 201610350284A CN 106060127 A CN106060127 A CN 106060127A
Authority
CN
China
Prior art keywords
docker server
server
docker
centered
target
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
CN201610350284.6A
Other languages
Chinese (zh)
Other versions
CN106060127B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610350284.6A priority Critical patent/CN106060127B/en
Publication of CN106060127A publication Critical patent/CN106060127A/en
Application granted granted Critical
Publication of CN106060127B publication Critical patent/CN106060127B/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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments of the invention disclose a server calling method and a server calling device. The method comprises the steps as follows: a first Docker server receives a task execution instruction; the first Docker server determines a target Docker server according to the resource occupation rate of each Docker server in a Docker server set to which the first Docker server belongs; and the first Docker server sends the task execution instruction to the target Docker server, so the target Docker server performs the task execution instruction and returns the execution result to the first Docker server. According to the embodiments of the invention, users can access and call the resources of all Docker servers in a subnet as long as users log into any Docker server in the subnet, users do not need to log into the Docker servers in the same subnet one by one to access and schedule resources, and the efficiency of Docker server accessing and scheduling by users is improved.

Description

Server calls method and device
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of server calls method and device.
Background technology
Docker is an application container engine increased income, after physical host installs Docker, and can be Docker's On the basis of carry multiple container, mutually isolated between multiple containers, multiple containers share the operating system of physical host, each container Can place and perform different application programs.
The physical host being provided with Docker is referred to as Docker server, in prior art, multiple Docker servers May be in same subnet, user logs in a Docker server in same subnet, accesses and dispatch this Docker The resource of server, when the resource of this Docker server is not enough, user needs to sign in one by one in same subnet Other Docker servers carry out resource access and scheduling.
Owing to user needs each Docker server signing in in same subnet one by one to carry out resource access and scheduling, Thus reduce user and access and the efficiency of scheduling Docker server.
Summary of the invention
The embodiment of the present invention provides a kind of server calls method and device, to improve user's access and scheduling Docker clothes The efficiency of business device.
One aspect of the embodiment of the present invention is to provide a kind of server calls method, including:
Oneth Docker server receives task-performance instructions;
A described Docker server is according to the resource of its affiliated Docker server centered each Docker server Occupancy, determines target Docker server;
Described task-performance instructions is sent to described target Docker server by a described Docker server, so that Described target Docker server performs described task-performance instructions, and execution result returns to a described Docker service Device.
Another aspect of the embodiment of the present invention is to provide a kind of server calls device, including:
Receiver module, is used for receiving task-performance instructions;
Determine module, for the resources occupation rate according to its affiliated Docker server centered each Docker server, Determine target Docker server;
Sending module, for described task-performance instructions being sent to described target Docker server, so that described mesh Mark Docker server performs described task-performance instructions, and execution result returns to a described Docker server.
The server calls method and device that the embodiment of the present invention provides, by user log in same subnet any One Docker server, and perform instruction to this Docker server incoming task, by this Docker server from this subnet Interior multiple Docker servers determine target Docker server, determines that the foundation of target Docker server is this son The size of the resources occupation rate of each Docker server in net, task-performance instructions is sent to target by this Docker server Docker server, is performed this task-performance instructions by target Docker server, and execution result is returned to this Docker Server, i.e. user only need to log in any one the Docker server in same subnet, just may have access to and call this subnet The resource of interior each Docker server, it is to avoid each Docker server that user signs in in same subnet one by one provides Source accesses and scheduling, thus improves user and access and the efficiency of scheduling Docker server.
Accompanying drawing explanation
The server calls method flow diagram that Fig. 1 provides for the embodiment of the present invention;
The network structure that the server calls method that Fig. 2 provides for the embodiment of the present invention is suitable for;
The server calls method flow diagram that Fig. 3 provides for another embodiment of the present invention;
The structure chart of the server calls device that Fig. 4 provides for the embodiment of the present invention;
The structure chart of the server calls device that Fig. 5 provides for another embodiment of the present invention.
Detailed description of the invention
The server calls method flow diagram that Fig. 1 provides for the embodiment of the present invention;The clothes that Fig. 2 provides for the embodiment of the present invention The network structure that business device call method is suitable for.The embodiment of the present invention needs to sign in one by one in same subnet for user Each Docker server carries out resource access and scheduling, thus reduces user and access and the efficiency of scheduling Docker server, Providing server calls method, the method specifically comprises the following steps that
Step S101, a Docker server receive task-performance instructions;
As in figure 2 it is shown, switch 10 is connected with multiple Docker servers, wherein, Docker server 21, Docker clothes Business device 22, Docker server 23 belong to same subnet, and Docker server 31, Docker server 32 belong to same height Net, specifically, Docker server 21, Docker server 22, Docker server 23 belong to VLAN (Virtual Local Area Network, is called for short VLAN) 100, VLAN100 belongs to user A;Docker server 31, Docker server 32 belong to VLAN200, VLAN200 belongs to user B.
In the embodiment of the present invention, user logs in the Docker server in same subnet, Docker startup of server one Individual mirror image Docker, user is accessed by this mirror image Docker and the resource of each Docker server in dispatching this subnet, specifically Ground, user selects any one Docker server to log in same subnet, and such as, user has logged in VLAN100 In Docker server 21 be referred to as a Docker server, Docker server 21 starts a mirror image Docker, Docker server 21 is provided with interactive interface, and user performs instruction by interactive interface incoming task, such as, runs application journey The instruction of sequence APP.
Step S102, a described Docker server are according to its affiliated Docker server centered each Docker service The resources occupation rate of device, determines target Docker server.
Preferably, described Docker server centered each Docker server is in same subnet.Described first Docker server storage has membership table, described membership table to include the mark of described Docker server centered each Docker server Knowledge information, IP address and resources occupation rate.
The collection of each Docker server of same subnet is collectively referred to as Docker server set, example by the embodiment of the present invention As, the Docker server 21 in VLAN100, Docker server 22, Docker server 23 constitute Docker server set Docker server 31, Docker server 32 in 1, VLAN200 constitute Docker server set 2.With Docker server As a example by collection 1, each Docker server i.e. Docker server 21 in Docker server set 1, Docker server 22, Docker server 23 all safeguards there is a membership table, this membership table include Docker server 21, Docker server 22, Identification information, IP address and the resources occupation rate that Docker server 23 is the most corresponding.
Membership table to set up process as follows: Docker server 21 calculates the resources occupation rate of this locality, and is taken by Docker During the business identification information of device 21, IP address and resources occupation rate are broadcast in VLAN100, Docker server 22, Docker take Business device 23 all can receive the information of Docker server 21 broadcast.As a example by Docker server 22, when Docker server After 22 identification information, IP address and the resources occupation rates receiving Docker server 21 broadcast, check the member of local maintenance Whether table includes the identification information of Docker server 21, IP address, in i.e. judging whether Docker server 21 is VLAN100 The member newly increased, the most then this broadcast message is directly added on the one-tenth of this locality by Docker server 22 as new entry In member's table, if it is not, then by the content update of the entry of Docker server 21 correspondence the most stored in local membership table for being somebody's turn to do The content of broadcast message, the identification information of Docker server 21, IP address and money that will be the most stored in local membership table Source occupancy is updated to the identification information of the up-to-date broadcast of Docker server 21, IP address and resources occupation rate.Docker services The operation of device 23 is in like manner in the operation of Docker server 22.It addition, Docker server 23 and Docker server 22 is in like manner Perform the operation of Docker server 21.
Specifically, it is a Docker server with Docker server 21, when Docker server 21 receives user After the task-performance instructions of input, check the membership table of this locality, by Docker server in this membership table inquiry VLAN100 21, the resources occupation rate of Docker server 22, Docker server 23 correspondence respectively, is accounted for by each Docker server resource By the size of rate, determine target Docker server.
Described task-performance instructions is sent to described target Docker clothes by step S103, a described Docker server Business device, so that described target Docker server performs described task-performance instructions, and returns to described first by execution result Docker server.
After Docker server 21 determines target Docker server, this task-performance instructions is sent to described target Docker server, is performed this task-performance instructions by described target Docker server, and described target Docker server will Operation result returns to Docker server 21, and this operation result is returned to interactive interface for user by Docker server 21 Check.
The embodiment of the present invention logs in any one the Docker server in same subnet by user, and to this Docker server incoming task performs instruction, by true this Docker server multiple Docker servers in this subnet Make target Docker server, determine target Docker server according to being the resource of each Docker server in this subnet The size of occupancy, task-performance instructions is sent to target Docker server by this Docker server, by target Docker Server performs this task-performance instructions, and execution result returns to this Docker server, i.e. user only need to log in same Any one Docker server in individual subnet, the resource of each Docker server that just may have access to and call in this subnet, The each Docker server avoiding user to sign in in same subnet one by one carries out resource access and scheduling, thus improves use Family accesses and the efficiency of scheduling Docker server.
The server calls method flow diagram that Fig. 3 provides for another embodiment of the present invention;Base in embodiment corresponding for Fig. 1 On plinth, specifically comprising the following steps that of the server calls method that the embodiment of the present invention provides
Step S301, a Docker server receive task-performance instructions.
Task-performance instructions includes two kinds of instructions in embodiments of the present invention, and a kind of instruction is non-global command, and one refers to Order is global command.
Step S302, a described Docker server are according to its affiliated Docker server centered each Docker service The resources occupation rate of device, determines target Docker server;
Described target Docker server is that described Docker server centered resources occupation rate is less than the second of threshold value Docker server;Or described target Docker server is that described Docker server centered is except described Docker clothes Docker server outside business device.
When task-performance instructions is non-global command, a described Docker server is according to its affiliated Docker clothes The size of the resources occupation rate of each Docker server concentrated by business device, determines that resources occupation rate is less than the Docker service of threshold value Device, and from the resources occupation rate Docker server less than threshold value, arbitrarily select Docker server that is the 2nd Docker Server is as target Docker server.Such as, in above-described embodiment, Docker server 21 according to local membership table, Judge the resources occupation rate that Docker server 21, Docker server 22, Docker server 23 are the most corresponding, and determine Resources occupation rate includes Docker server 22, Docker server 23 less than the Docker server of threshold value, and Docker services A Docker server such as Docker server arbitrarily chosen from Docker server 22, Docker server 23 by device 21 22 as target Docker server.
When task-performance instructions is global command, described Docker server centered is removed institute by a Docker server State the Docker server outside a Docker server as target Docker server.Such as, Docker server 21 The Docker server 22 that included by local membership table, Docker server 23 are all as target Docker server.
Described task-performance instructions is sent to described target Docker clothes by step S303, a described Docker server Business device, so that described target Docker server performs described task-performance instructions, and returns to described first by execution result Docker server;
According to step S302, if task-performance instructions is non-global command, Docker server 21 is by Docker server 22 as target Docker server, then described task-performance instructions is sent to Docker server by Docker server 21 22, Docker server 22 perform described task-performance instructions, and execution result is returned to Docker server 21.
According to step S302, if task-performance instructions is global command, Docker server 21 by Docker server 22, Docker server 23 is all as target Docker server, and the most same described task-performance instructions is serviced by Docker respectively Device 22, Docker server 23 perform, and such as, task corresponding for described task-performance instructions is divided into many by Docker server 21 Individual subtask, and different subtasks is distributed to Docker server 22, Docker server 23 performs, Docker server 22, the result of subtasking is returned to Docker server 21 by Docker server 23, and Docker server 21 is by multiple The result of subtask synthesizes task result, and task result showing, confession user checks on the interface mutual with user.
Step S304, a described Docker server calculate the resources occupation rate of a described Docker server;
In embodiments of the present invention, each Docker server in same subnet periodically calculate this locality resource account for With rate, after each Docker server calculates local new resources occupation rate, broadcast message in this subnet, this broadcast message bag Include the identification information of Docker server, IP address and resources occupation rate.The embodiment of the present invention takes with the Docker in VLAN100 As a example by business device 21, Docker server 21 calculates the resources occupation rate of this locality.
Step S305, a described Docker server are by the identification information of a described Docker server, IP address It is broadcast to described Docker server centered, so that described Docker server centered is except described first with resources occupation rate Identification information, IP address and the resource of a described Docker server are accounted for by the Docker server outside Docker server Described membership table is updated by rate.
The identification information of Docker server 21, IP address and resources occupation rate are broadcast to by Docker server 21 In in VLAN100.Docker server 22, Docker server 23 all can receive the information of Docker server 21 broadcast. As a example by Docker server 22, when Docker server 22 receives the identification information of Docker server 21 broadcast, IP ground Behind location and resources occupation rate, check whether the membership table of local maintenance includes the identification information of Docker server 21, IP address, I.e. judge that whether Docker server 21 is the member newly increased in VLAN100, the most then Docker server 22 is by this broadcast Information is directly added in the membership table of this locality as new entry, if it is not, then by the most stored in local membership table The content that content update is this broadcast message of the entry of Docker server 21 correspondence, will be the most stored in local membership table The identification information of Docker server 21, IP address and resources occupation rate be updated to the mark of the up-to-date broadcast of Docker server 21 Knowledge information, IP address and resources occupation rate.The operation of Docker server 23 is in like manner in the operation of Docker server 22.
It should be noted that step S304 and step S301, step S302, step S303 are not carried out order, i.e. step S304 can perform before or after any one step in step S301, step S302, step S303;In like manner, step S305 and step S301, step S302, step S303 are not carried out order.
The embodiment of the present invention includes two kinds of instructions by task-performance instructions, and a kind of instruction is non-global command, and one refers to Order is global command, and when task-performance instructions is non-global command, a Docker server is according to its affiliated Docker The size of the resources occupation rate of server centered each Docker server, determines that resources occupation rate is less than the Docker clothes of threshold value Business device, and from the resources occupation rate Docker server less than threshold value, arbitrarily select a Docker server that is second Docker server is as target Docker server;When task-performance instructions is global command, a Docker server Using Docker server centered Docker server in addition to a Docker server as target Docker server, i.e. User only need to log in any one the Docker server in same subnet, just may have access to and call in this subnet each The resource of Docker server, it is to avoid each Docker server that user signs in in same subnet one by one carries out resource access And scheduling, thus improve user and access and the efficiency of scheduling Docker server.
The structure chart of the server calls device that Fig. 4 provides for the embodiment of the present invention.The service that the embodiment of the present invention provides Device calling device can perform the handling process that server calls embodiment of the method provides, as shown in Figure 4, server calls device 40 including receiver module 41, determine module 42 and sending module 43, wherein, receiver module 41 is used for receiving task-performance instructions; Determine the module 42 resources occupation rate for the Docker server centered each Docker server affiliated according to it, determine target Docker server;Sending module 43 is used for described task-performance instructions is sent to described target Docker server, so that Described target Docker server performs described task-performance instructions, and execution result returns to a described Docker service Device.
The server calls device that the embodiment of the present invention provides can be specifically for performing the method reality that above-mentioned Fig. 1 is provided Executing example, here is omitted for concrete function.
The embodiment of the present invention logs in any one the Docker server in same subnet by user, and to this Docker server incoming task performs instruction, by true this Docker server multiple Docker servers in this subnet Make target Docker server, determine target Docker server according to being the resource of each Docker server in this subnet The size of occupancy, task-performance instructions is sent to target Docker server by this Docker server, by target Docker Server performs this task-performance instructions, and execution result returns to this Docker server, i.e. user only need to log in same Any one Docker server in individual subnet, the resource of each Docker server that just may have access to and call in this subnet, The each Docker server avoiding user to sign in in same subnet one by one carries out resource access and scheduling, thus improves use Family accesses and the efficiency of scheduling Docker server.
The structure chart of the server calls device that Fig. 5 provides for another embodiment of the present invention.Basis at above-described embodiment On, described Docker server centered each Docker server is in same subnet.
Described target Docker server is that described Docker server centered resources occupation rate is less than the second of threshold value Docker server;Or described target Docker server is that described Docker server centered is except described Docker clothes Docker server outside business device.
A described Docker server storage has membership table, described membership table to include, and described Docker server centered is each The identification information of Docker server, IP address and resources occupation rate.
Server calls device 40 also includes that computing module 44, computing module 44 are used for calculating a described Docker service The resources occupation rate of device;Sending module 43 is additionally operable to identification information, IP address and the resource of a described Docker server Occupancy is broadcast to described Docker server centered, so that described Docker server centered is except a described Docker service Identification information, IP address and the resources occupation rate of a described Docker server are updated by the Docker server outside device Described membership table.
The server calls device that the embodiment of the present invention provides can be specifically for performing the method reality that above-mentioned Fig. 3 is provided Executing example, here is omitted for concrete function.
The embodiment of the present invention includes two kinds of instructions by task-performance instructions, and a kind of instruction is non-global command, and one refers to Order is global command, and when task-performance instructions is non-global command, a Docker server is according to its affiliated Docker The size of the resources occupation rate of server centered each Docker server, determines that resources occupation rate is less than the Docker clothes of threshold value Business device, and from the resources occupation rate Docker server less than threshold value, arbitrarily select a Docker server that is second Docker server is as target Docker server;When task-performance instructions is global command, a Docker server Using Docker server centered Docker server in addition to a Docker server as target Docker server, i.e. User only need to log in any one the Docker server in same subnet, just may have access to and call in this subnet each The resource of Docker server, it is to avoid each Docker server that user signs in in same subnet one by one carries out resource access And scheduling, thus improve user and access and the efficiency of scheduling Docker server.
In sum, the embodiment of the present invention logs in any one the Docker server in same subnet by user, And perform instruction to this Docker server incoming task, by the multiple Docker service in this subnet of this Docker server Device is determined target Docker server, determines that the foundation of target Docker server is each Docker server in this subnet The size of resources occupation rate, task-performance instructions is sent to target Docker server by this Docker server, by target Docker server performs this task-performance instructions, and execution result returns to this Docker server, i.e. user only need to step on Record any one the Docker server in same subnet, just may have access to and each Docker server of calling in this subnet Resource, it is to avoid each Docker server that user signs in in same subnet one by one carries out resource access and scheduling, thus carries High user accesses and the efficiency of scheduling Docker server;Include that two kinds of instructions, a kind of instruction are by task-performance instructions Non-global command, a kind of instruction is global command, when task-performance instructions is non-global command, a Docker server root According to the size of the resources occupation rate of its affiliated Docker server centered each Docker server, determine that resources occupation rate is low In the Docker server of threshold value, and from the resources occupation rate Docker server less than threshold value, arbitrarily select a Docker Server that is the 2nd Docker server is as target Docker server;When task-performance instructions is global command, first Docker server using Docker server centered Docker server in addition to a Docker server as target Docker server, i.e. user only need to log in any one the Docker server in same subnet, just may have access to and call The resource of each Docker server in this subnet, it is to avoid user signs in each Docker server in same subnet one by one Carry out resource access and scheduling, thus improve user and access and the efficiency of scheduling Docker server.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and the division of described unit, only Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly to tie when realizing Close or be desirably integrated into another system, or some features can be ignored, or not performing.Another point, shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or logical Letter connects, and can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the present invention each The part steps of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various The medium of program code can be stored.
Those skilled in the art are it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned each functional module Division be illustrated, in actual application, can be as desired by complete by different functional modules for above-mentioned functions distribution Become, the internal structure of device will be divided into different functional modules, to complete all or part of function described above.On State the specific works process of the device of description, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a server calls method, it is characterised in that including:
Oneth Docker server receives task-performance instructions;
A described Docker server is according to the resource occupation of its affiliated Docker server centered each Docker server Rate, determines target Docker server;
Described task-performance instructions is sent to described target Docker server by a described Docker server, so that described Target Docker server performs described task-performance instructions, and execution result returns to a described Docker server.
Method the most according to claim 1, it is characterised in that described Docker server centered each Docker server exists In same subnet.
Method the most according to claim 2, it is characterised in that described target Docker server is described Docker service Device pooling of resources occupancy is less than the 2nd Docker server of threshold value;Or
Described target Docker server is that described Docker server centered is in addition to a described Docker server Docker server.
4. according to the method described in any one of claim 1-3, it is characterised in that a described Docker server storage has into Member's table, described membership table includes the identification information of described Docker server centered each Docker server, IP address and resource Occupancy.
Method the most according to claim 4, it is characterised in that also include:
A described Docker server calculates the resources occupation rate of a described Docker server;
A described Docker server is by wide to identification information, IP address and the resources occupation rate of a described Docker server It is multicast to described Docker server centered, so that described Docker server centered is in addition to a described Docker server Identification information, IP address and the resources occupation rate of a described Docker server are updated described member by Docker server Table.
6. a server calls device, it is characterised in that including:
Receiver module, is used for receiving task-performance instructions;
Determine module, for the resources occupation rate according to its affiliated Docker server centered each Docker server, determine Target Docker server;
Sending module, for described task-performance instructions being sent to described target Docker server, so that described target Docker server performs described task-performance instructions, and execution result returns to a described Docker server.
Server calls device the most according to claim 6, it is characterised in that described Docker server centered is each Docker server is in same subnet.
Server calls device the most according to claim 7, it is characterised in that described target Docker server is described Docker server centered resources occupation rate is less than the 2nd Docker server of threshold value;Or
Described target Docker server is that described Docker server centered is in addition to a described Docker server Docker server.
9. according to the server calls device described in any one of claim 6-8, it is characterised in that a described Docker service Device storage has membership table, described membership table to include the identification information of described Docker server centered each Docker server, IP Address and resources occupation rate.
Server calls device the most according to claim 9, it is characterised in that also include:
Computing module, for calculating the resources occupation rate of a described Docker server;
Described sending module, is additionally operable to identification information, IP address and the resources occupation rate by a described Docker server wide It is multicast to described Docker server centered, so that described Docker server centered is in addition to a described Docker server Identification information, IP address and the resources occupation rate of a described Docker server are updated described member by Docker server Table.
CN201610350284.6A 2016-05-24 2016-05-24 Server calls method and device Active CN106060127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610350284.6A CN106060127B (en) 2016-05-24 2016-05-24 Server calls method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610350284.6A CN106060127B (en) 2016-05-24 2016-05-24 Server calls method and device

Publications (2)

Publication Number Publication Date
CN106060127A true CN106060127A (en) 2016-10-26
CN106060127B CN106060127B (en) 2019-12-03

Family

ID=57175865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610350284.6A Active CN106060127B (en) 2016-05-24 2016-05-24 Server calls method and device

Country Status (1)

Country Link
CN (1) CN106060127B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086881A (en) * 2019-05-07 2019-08-02 网易(杭州)网络有限公司 Method for processing business, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111468A1 (en) * 2011-10-27 2013-05-02 Verizon Patent And Licensing Inc. Virtual machine allocation in a computing on-demand system
CN105119913A (en) * 2015-08-13 2015-12-02 东南大学 Web server architecture based on Docker and interactive method between modules

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111468A1 (en) * 2011-10-27 2013-05-02 Verizon Patent And Licensing Inc. Virtual machine allocation in a computing on-demand system
CN105119913A (en) * 2015-08-13 2015-12-02 东南大学 Web server architecture based on Docker and interactive method between modules

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086881A (en) * 2019-05-07 2019-08-02 网易(杭州)网络有限公司 Method for processing business, device and equipment

Also Published As

Publication number Publication date
CN106060127B (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110769038B (en) Server scheduling method and device, storage medium and electronic equipment
CN113222305B (en) Order scheduling method, order scheduling device, storage medium and electronic equipment
CN111954173B (en) Method, device, server and computer readable storage medium for sending short message
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN102857370A (en) Resource allocating method and device
CN105741020A (en) Unified order allocation method and device
CN103812789A (en) Cloud service resource automatic allocating method and system
CN106101171A (en) Server method of attachment and device
CN114244717A (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN105681057A (en) Group head portrait update method and device
CN116405565A (en) Resource issuing method of cloud service and related equipment
CN109819023B (en) Distributed transaction processing method and related product
CN107230273A (en) Queuing number-taking method, device, system and storage medium
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN105847231A (en) Service publishing method, device and system
CN102196413A (en) Method, system and server for realizing OTA (over-the-air) number allocation, and SIM (subscriber identity module)
CN109582439B (en) DCN deployment method, device, equipment and computer readable storage medium
CN104331330A (en) Resource pool generation method and device
CN114021056A (en) Dynamic partitioning method and partitioning system for ICT (information communication technology) resource link virtual operation platform
CN106060127A (en) Server calling method and server calling device
CN111262771B (en) Virtual private cloud communication system, system configuration method and controller
CN106210162A (en) Communication control method and device
TW202315360A (en) Microservice allocation method, electronic equipment, and storage medium
US10764138B2 (en) Communication network multiplexer grooming optimization
CN103561022A (en) Voice service access method, related device and voice service system

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