CN106357435A - Matching method and device for same computer room - Google Patents

Matching method and device for same computer room Download PDF

Info

Publication number
CN106357435A
CN106357435A CN201610786747.3A CN201610786747A CN106357435A CN 106357435 A CN106357435 A CN 106357435A CN 201610786747 A CN201610786747 A CN 201610786747A CN 106357435 A CN106357435 A CN 106357435A
Authority
CN
China
Prior art keywords
cluster
machine room
information
service request
route
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
CN201610786747.3A
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Vipshop Information And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Vipshop Information And Technology Co Ltd filed Critical Guangzhou Vipshop Information And Technology Co Ltd
Priority to CN201610786747.3A priority Critical patent/CN106357435A/en
Publication of CN106357435A publication Critical patent/CN106357435A/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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a matching method for the same computer room. The method comprises the following steps: a route acquires target node information carried by a service request when receiving the service request sent by a client; the route determines a cluster corresponding to the service request according to the target node information and a prestored cluster mapping relation; the route routes service request to the cluster of the computer room corresponding to the preset same-computer-room matching strategy, and service corresponding to the service request is finished. The invention further discloses a matching device for the same computer room. Reasonable clusters can be selected for accurate and rapid connection establishment, and the ZK (zookeeper) cluster distributing and selecting efficiency is increased.

Description

Matching process and device with machine room
Technical field
The present invention relates to Clustering field, more particularly, to matching process and the device of machine room.
Background technology
With business development with variation, be related to zk (zookeeper, distributed open source code distributed Application program coordination service) business demand get more and more, user may be using many set zk clusters, such as, message system System/service registry/authority registration/configuration center etc., is required for using respective zk cluster.Therefore, many zk cluster in application Selection is highly desirable to, and needs badly and proposes a kind of selection mode of zk cluster, improves cluster distribution and the efficiency selecting.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
Content of the invention
Present invention is primarily targeted at providing a kind of matching process of same machine room and device, a kind of choosing of zk cluster is proposed Select mode, select suitable cluster finishing service service, improve cluster distribution and the efficiency selecting.
For achieving the above object, the matching process of a kind of same machine room that the present invention provides, including step:
Route, when receiving the service request that client sends, extracts the destination node entrained by described service request Information;
The described cluster mapping relations routeing according to described destination node information and prestoring determine that described business please Seek corresponding cluster;
Described service request is routed to the cluster of machine room corresponding with default same machine room matching strategy with complete by described route Become the corresponding business service of described service request.
Preferably, the described cluster bag that described service request is routed to machine room corresponding with default same machine room matching strategy Include:
Determined by described route acquisition, cluster is with the weight information of machine room;
When described weight information meets with machine room condition, described business is routed to corresponding same machine room collection by described route Group.
Preferably, methods described also includes:
Described route detects default environmental variable information;
Described route determines whether to open with machine room coupling according to described environmental variable information.
Preferably, methods described also includes:
The information of the cluster that described route acquisition builds in advance and node path information or interface message;
The described information routeing according to described cluster and node path information or interface message build cluster mapping relations And store, node path information is mapped with cluster with cluster mapping or by interface message;
The construction step of described cluster includes: builds a set of zk cluster, other zk collection by environmental variable and/or system variable Group builds under the file of described zk cluster.
Preferably, described by described service request route to the cluster of machine room corresponding with default same machine room matching strategy with The step completing the corresponding business service of described service request includes:
Whether cluster determined by described route judgement is described zk cluster;
If not described zk cluster, then described route test read from the file of described zk cluster determined by cluster Configuration, and create described client with the connection of described cluster to complete the corresponding business service of described service request.
Additionally, for achieving the above object, the present invention also provides a kind of coalignment of same machine room, comprising:
Extraction module, for when receiving the service request that client sends, extracting entrained by described service request Destination node information;
Selecting module, for according to described destination node information and the cluster mapping relations that prestore determine described industry Corresponding cluster is asked in business;
Routing module, for routing to the cluster of machine room corresponding with default same machine room matching strategy by described service request To complete the corresponding business service of described service request.
Preferably, described routing module includes:
Acquiring unit, for cluster determined by acquisition with the weight information of machine room;
Routing unit, for when described weight information meets with machine room condition, described business being routed to corresponding same Machine room cluster..
Preferably, also include:
Detection module, for detecting default environmental variable information;
Determining module, for determining whether to open with machine room coupling according to described environmental variable information.
Preferably, also include: acquisition module and structure module,
Described acquisition module, for obtaining information and node path information or the interface message of the cluster building in advance;
Build module, for the information according to the described cluster building in advance and node path information or interface message structure Build cluster mapping relations and store, node path information is mapped with cluster with cluster mapping or by interface message;Become by environment Amount and/or system variable build a set of zk cluster, and other zk clusters build under the file of described zk cluster.
Preferably, described routing unit, is additionally operable to whether cluster determined by judgement is described zk cluster;If not it is described Zk cluster, then control from the file of described cluster read determined by cluster configuration, and create described client with described The connection of cluster is to complete the corresponding business service of described service request.
The present invention by by route unified controlling the selection of cluster service, and according to same machine room strategy matching with machine room A kind of cluster, there is provided the mode that cluster selects, in client initiating business request, selects rational cluster to set up and connects, Can accurately and rapidly select cluster to set up to connect, improve distribution and the efficiency of selection of zk cluster.
Brief description
Fig. 1 is the schematic flow sheet of the first embodiment with the matching process of machine room for the present invention;
Fig. 2 is, in one embodiment of the invention, described service request is routed to machine corresponding with default same machine room matching strategy The schematic flow sheet of the cluster in room;
Fig. 3 is the schematic flow sheet of the second embodiment with the matching process of machine room for the present invention;
Fig. 4 is the schematic flow sheet of the 3rd embodiment with the matching process of machine room for the present invention;
Fig. 5 is corresponding with default same machine room matching strategy in another embodiment of the present invention routing to described service request The schematic flow sheet of the cluster of machine room;
Fig. 6 is the high-level schematic functional block diagram of the first embodiment with the coalignment of machine room for the present invention;
Fig. 7 is the refinement high-level schematic functional block diagram of routing module one embodiment in Fig. 6;
Fig. 8 is the high-level schematic functional block diagram of the second embodiment with the coalignment of machine room for the present invention;
Fig. 9 is the high-level schematic functional block diagram of the 3rd embodiment with the coalignment of machine room for the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its His embodiment, broadly falls into the scope of protection of the invention.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of the first embodiment with the coupling of machine room for the present invention.
In one embodiment, the coupling of described same machine room includes:
Step s10, route, when receiving the service request that client sends, is extracted entrained by described service request Destination node information;
In the present embodiment, create a zk group service service architecture in advance, including client and route and zk collection Group, described client is passed through route and is connected zk cluster.Described route can be router or service control server, wherein, All of zk cluster and client all carry out finishing service data interaction by the control and selection of described route, and finishing service takes Business.User, when needing to initiate applied business, for example, is needing to initiate in message system/service registry/authority registration/configuration During the business service such as the heart, service request is sent to described route by client, described route sends receiving client Service request when, extract described service request entrained by destination node information, i.e. described route is receiving service request When, extract the information of the cluster that described service request needs route to, described destination node information can be interface message and/section Point routing information.
Step s20, according to described destination node information and the cluster mapping relations that prestore determine institute to described route State the corresponding cluster of service request;
Prestore cluster mapping relations at route end in advance, described mapping relations include the mapping of destination node information and cluster Relation, described route can be reflected from the cluster prestoring by described target information after getting described destination node information Penetrate and in relation, find the corresponding cluster of described service request.
Step s30, described service request is routed to machine room corresponding with default same machine room matching strategy by described route Cluster is to complete the corresponding business service of described service request.
During clustered deploy(ment), in order to realize high availability, multiple clusters can be disposed in different machine rooms.Described route After determining the corresponding cluster of described service request, judge whether to support with machine room strategy, when supporting with machine room strategy, by institute State service request route to machine room corresponding with default same machine room matching strategy cluster corresponding to complete described service request Business service, by same machine room strategy when for service selection cluster, selects optimum cluster to carry out finishing service service.The present invention Embodiment is by control the selection of cluster service by route unification, and mates the collection with machine room for business according to same machine room strategy A kind of group, there is provided the mode that cluster selects, in client initiating business request, selects rational cluster to set up and connects, energy Enough accurately and rapidly selection clusters are set up and are connected, and improve distribution and the efficiency of selection of zk cluster.
In a preferred embodiment of the present invention, in order to improve the reasonability of same machine room coupling, with reference to Fig. 2, described will be described The cluster that service request routes to machine room corresponding with default same machine room matching strategy includes:
Step s31, determined by described route acquisition, cluster is with the weight information of machine room;User can arrange weight information To increase the probability being routed to same machine room cluster, in user's initiating business request, the same machine room of cluster in service request, can be carried Weight information, when route receives service request, determined by acquisition, cluster is with the weight information of machine room.
Step s32, when described weight information meets with machine room condition, described business is routed to corresponding by described route With machine room cluster.Described satisfaction can be that the corresponding weighted value of weight information is more than predetermined threshold value, for example, weight with machine room condition Value is more than 0.8, or during more than 0.7, judges that weight information meets with machine room condition, described business is routed to correspondence by described route Same machine room cluster.By the setting of weight information so that the control with machine room route is more reasonable, accurate.
In a preferred embodiment of the present invention, the described process being turned on and off same machine room matching strategy includes: described road By the default environmental variable information of detection;Described default environmental variable information is the environmental variable of detection required for preset in advance Information, described environmental variable information corresponds to whether unlatching with machine room matching strategy, for example, it may be the flow letter of cluster network Breath or ip restricted information etc..Described route determines whether to open with machine room coupling according to described environmental variable information.In detection When environmental variable information is with default coupling, judges to need to open with machine room matching strategy, for example, be less than predetermined threshold value in flow (10g or 20g etc.);When the environmental variable information of detection is with default mismatch, judge not needing to open to mate plan with machine room Slightly.
In order to save the time of cluster configuration, in a preferred embodiment of the present invention, with reference to Fig. 3, methods described also includes:
Step s40, the information of the cluster that described route acquisition builds in advance and node path information or interface message;
Step s50, described route builds cluster according to the information of described cluster and node path information or interface message Mapping relations simultaneously store, and node path information is mapped with cluster with cluster mapping or by interface message;The structure of described cluster Step includes: builds a set of zk cluster by environmental variable and/or system variable, other zk clusters build the literary composition in described zk cluster Under part.
User only needs to configure a set of zk cluster by environmental variable/system variable, and the zk cluster configuration of other sets is at this In the bootstrap startup file of individual zk cluster agreement, and need not be according to the zk cluster of the different many sets of running environment configuration, example As only needed to configure a set of zk cluster in development/testing/production, other zk cluster configuration opening in this configured zk cluster In dynamic file.After cluster builds and finishes, the information of the cluster that described route acquisition builds in advance and node path information or It route the information according to described cluster and node path information described in interface message or interface message builds cluster mapping relations And store, node path information is mapped with cluster with cluster mapping or by interface message.In other embodiments of the present invention, it is Cluster is avoided to select unsuccessfully, to be mapped with cluster according to node path information and interface message, by multiple variables (node road Footpath information and interface message) mapping cluster, increase the selection accuracy of cluster further, select in time to cluster complete visitor The business service at family end.
In order to more accurately select cluster, find the connection finishing service clothes that corresponding cluster sets up client and cluster Business.In a preferred embodiment of the present invention, with reference to Fig. 4, above-mentioned steps s20 include:
Step s21, described route determines the corresponding routing information of described destination node, according to described routing information and in advance The cluster mapping relations first storing determine the corresponding cluster of described service request.
Different zk clusters can be mapped by rule match for different zk cluster different pieces of information node paths
In another preferred embodiment of the present invention, described route determines the interface message of described destination node, according to described Interface message and the cluster mapping relations prestoring determine the corresponding cluster of described service request.Client passes through offer The mode of api interface specified path can be routed to the zk cluster wanted.
There are different running environment in zk cluster, for example, can there is multiple running environment such as development/testing/production.One In preferred embodiment, with reference to Fig. 5, above-mentioned steps s30 include:
Step s33, whether cluster determined by described route judgement is described zk cluster;
Step s34, if not described zk cluster, then determined by described route test reads from the file of described cluster The configuration of cluster, and create described client with the connection of described cluster to complete the corresponding business service of described service request.
Described route, when determining the cluster selecting with machine room, judges whether the cluster determining is zk cluster, for example, determines Cluster is the cluster under developing operation environment, but the zk cluster of configuration only has test cluster, then from the startup file of zk cluster Read the configuration of exploitation cluster, be that the service request of client finds exploitation cluster, and set up between exploitation cluster and client Service connection, complete the business service of client.The present embodiment by environmental variable and by configuring a set of zk cluster and Many sets need not be configured make, zk cluster configuration is simplified, and the zk cluster configuration of corresponding running environment can be found in time and complete industry Business service.
The present invention further provides a kind of collection GSU group selection unit.
With reference to Fig. 6, Fig. 6 collects the high-level schematic functional block diagram of the first embodiment of GSU group selection unit for the present invention.
In one embodiment, described collection GSU group selection unit includes: extraction module 10, selecting module 20 and routing module 30.
Described extraction module 10, for when receiving the service request that client sends, extracting described service request Entrained destination node information;
In the present embodiment, create a zk group service service architecture in advance, including client and route and zk collection Group, described client is passed through route and is connected zk cluster.Described route can be router or service control server, wherein, All of zk cluster and client all carry out finishing service data interaction by the control and selection of described route, and finishing service takes Business.User, when needing to initiate applied business, for example, is needing to initiate in message system/service registry/authority registration/configuration During the business service such as the heart, service request is sent to described route by client, extraction module 10 is receiving client transmission During the service request come, extract the destination node information entrained by described service request, i.e. described route please in the business that receives When asking, extract the information of cluster that described service request needs route to, described destination node information can be interface message and/ Node path information.
Described selecting module 20, for according to described destination node information and the cluster mapping relations that prestore determine The corresponding cluster of described service request;
Prestore cluster mapping relations at route end in advance, described mapping relations include the mapping of destination node information and cluster Relation, described route can be reflected from the cluster prestoring by described target information after getting described destination node information Penetrate and in relation, find the corresponding cluster of described service request.
Described routing module 30, for routing to machine room corresponding with default same machine room matching strategy by described service request Cluster to complete the corresponding business service of described service request.
During clustered deploy(ment), in order to realize high availability, multiple clusters can be disposed in different machine rooms.Described route After determining the corresponding cluster of described service request, judge whether to support with machine room strategy, when supporting with machine room strategy, by institute State service request route to machine room corresponding with default same machine room matching strategy cluster corresponding to complete described service request Business service, by same machine room strategy when for service selection cluster, selects optimum cluster to carry out finishing service service.The present invention Embodiment is by control the selection of cluster service by route unification, and mates the collection with machine room for business according to same machine room strategy A kind of group, there is provided the mode that cluster selects, in client initiating business request, selects rational cluster to set up and connects, energy Enough accurately and rapidly selection clusters are set up and are connected, and improve distribution and the efficiency of selection of zk cluster.
In a preferred embodiment of the present invention, in order to improve the reasonability of same machine room coupling, with reference to Fig. 7, described route mould Block 30 includes: acquiring unit 31 and routing unit 32,
Described acquiring unit 31, for cluster determined by acquisition with the weight information of machine room;User can arrange weight Information is routed to the probability of same machine room cluster to increase, and in user's initiating business request, can carry cluster same in service request The weight information of machine room, when route receives service request, determined by acquisition, cluster is with the weight information of machine room.
Described routing unit 32, for when described weight information meets with machine room condition, it is right that described business is routed to The same machine room cluster answered.Described satisfaction can be that the corresponding weighted value of weight information is more than predetermined threshold value with machine room condition, for example, Weighted value is more than 0.8, or during more than 0.7, judges that weight information meets with machine room condition, described business is routed to by described route Corresponding same machine room cluster.By the setting of weight information so that the control with machine room route is more reasonable, accurate.
In a preferred embodiment of the present invention, with reference to Fig. 8, described device also includes: detection module 40 and determining module 50, Described detection module 40, for detecting default environmental variable information;Described default environmental variable information is preset in advance institute Need the environmental variable information of detection, described environmental variable information corresponds to whether unlatching with machine room matching strategy, for example, it is possible to It is flow information or ip restricted information of cluster network etc..Described determining module 50, for true according to described environmental variable information Determine whether to open same machine room coupling.When the environmental variable information of detection is with default coupling, judge to need to open with machine room Join strategy, for example, be less than predetermined threshold value (10g or 20g etc.) in flow;Environmental variable information and default mismatch in detection When, judge not needing to open with machine room matching strategy.
In order to save the time of cluster configuration, in a preferred embodiment of the present invention, with reference to Fig. 9, described device also includes: Acquisition module 60 and structure module 70,
Described acquisition module 60, for obtaining information and node path information or the interface letter of the cluster building in advance Breath;
Described structure module 70, builds collection for the information according to described cluster and node path information or interface message Group's mapping relations simultaneously store, and node path information is mapped with cluster with cluster mapping or by interface message;By environmental variable and/ Or system variable builds a set of zk cluster, other zk clusters build under the file of described zk cluster.
User only needs to configure a set of zk cluster by environmental variable/system variable, and the zk cluster configuration of other sets is at this In the bootstrap startup file of individual zk cluster agreement, and need not be according to the zk cluster of the different many sets of running environment configuration, example As only needed to configure a set of zk cluster in development/testing/production, other zk cluster configuration opening in this configured zk cluster In dynamic file.After cluster builds and finishes, the information of the cluster that described route acquisition builds in advance and node path information or It route the information according to described cluster and node path information described in interface message or interface message builds cluster mapping relations And store, node path information is mapped with cluster with cluster mapping or by interface message.In other embodiments of the present invention, it is Cluster is avoided to select unsuccessfully, to be mapped with cluster according to node path information and interface message, by multiple variables (node road Footpath information and interface message) mapping cluster, increase the selection accuracy of cluster further, select in time to cluster complete visitor The business service at family end.
In order to more accurately select cluster, find the connection finishing service clothes that corresponding cluster sets up client and cluster Business.In a preferred embodiment of the present invention, described routing unit 32, it is additionally operable to determine that the corresponding path of described destination node is believed Breath, according to described routing information and the cluster mapping relations that prestore determine the corresponding cluster of described service request.
Different zk clusters can be mapped by rule match for different zk cluster different pieces of information node paths
In another preferred embodiment of the present invention, described route determines the interface message of described destination node, according to described Interface message and the cluster mapping relations prestoring determine the corresponding cluster of described service request.Client passes through offer The mode of api interface specified path can be routed to the zk cluster wanted.
There are different running environment in zk cluster, for example, can there is multiple running environment such as development/testing/production.One In preferred embodiment, described routing unit 32, it is additionally operable to whether cluster determined by judgement is described zk cluster;If not it is described Zk cluster, then control from the file of described cluster read determined by cluster configuration, and create described client with described The connection of cluster is to complete the corresponding business service of described service request.
Described route, when determining the cluster selecting with machine room, judges whether the cluster determining is zk cluster, for example, determines Cluster is the cluster under developing operation environment, but the zk cluster of configuration only has test cluster, then from the startup file of zk cluster Read the configuration of exploitation cluster, be that the service request of client finds exploitation cluster, and set up between exploitation cluster and client Service connection, complete the business service of client.The present embodiment by environmental variable and by configuring a set of zk cluster and Many sets need not be configured make, zk cluster configuration is simplified, and the zk cluster configuration of corresponding running environment can be found in time and complete industry Business service.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of matching process of same machine room is it is characterised in that include step:
Route, when receiving the service request that client sends, extracts the destination node letter entrained by described service request Breath;
The described cluster mapping relations routeing according to described destination node information and prestoring determine described service request pair The cluster answered;
Described service request is routed to the cluster of machine room corresponding with default same machine room matching strategy to complete by described route State the corresponding business service of service request.
2. the matching process with machine room as claimed in claim 1 it is characterised in that described by described service request route to The cluster that default same machine room matching strategy corresponds to machine room includes:
Determined by described route acquisition, cluster is with the weight information of machine room;
When described weight information meets with machine room condition, described business is routed to corresponding same machine room cluster by described route.
3. the matching process with machine room as claimed in claim 1 is it is characterised in that methods described also includes:
Described route detects default environmental variable information;
Described route determines whether to open with machine room coupling according to described environmental variable information.
4. the matching process of the same machine room as described in any one of claims 1 to 3 is it is characterised in that methods described also includes:
The information of the cluster that described route acquisition builds in advance and node path information or interface message;
The described information routeing according to described cluster and node path information or interface message build cluster mapping relations and deposit Storage, node path information is mapped with cluster with cluster mapping or by interface message;
The construction step of described cluster includes: builds a set of zk cluster, other zk cluster structures by environmental variable and/or system variable It build under the file of described zk cluster.
5. the matching process with machine room as claimed in claim 4 it is characterised in that described by described service request route to The cluster that default same machine room matching strategy corresponds to machine room is included with the step completing the corresponding business service of described service request:
Whether cluster determined by described route judgement is described zk cluster;
If not described zk cluster, then described route test read from the file of described zk cluster determined by the joining of cluster Put, and create described client with the connection of described cluster to complete the corresponding business service of described service request.
6. a kind of coalignment of same machine room is it is characterised in that include:
Extraction module, for when receiving the service request that client sends, extracting the mesh entrained by described service request Mark nodal information;
Selecting module, for according to described destination node information and the cluster mapping relations that prestore determine that described business please Seek corresponding cluster;
Routing module, for routing to the cluster of machine room corresponding with default same machine room matching strategy with complete by described service request Become the corresponding business service of described service request.
7. the coalignment with machine room as claimed in claim 6 is it is characterised in that described routing module includes:
Acquiring unit, for cluster determined by acquisition with the weight information of machine room;
Routing unit, for when described weight information meets with machine room condition, described business being routed to corresponding same machine room Cluster.
8. the coalignment with machine room as claimed in claim 6 is it is characterised in that also include:
Detection module, for detecting default environmental variable information;
Determining module, for determining whether to open with machine room coupling according to described environmental variable information.
9. the coalignment with machine room as claimed in claim 7 or 8 is it is characterised in that also include: acquisition module and structure mould Block,
Described acquisition module, for obtaining information and node path information or the interface message of the cluster building in advance;
Build module, build collection for the information according to the described cluster building in advance and node path information or interface message Group's mapping relations simultaneously store, and node path information is mapped with cluster with cluster mapping or by interface message;By environmental variable and/ Or system variable builds a set of zk cluster, other zk clusters build under the file of described zk cluster.
10. the coalignment with machine room as claimed in claim 9, it is characterised in that described routing unit, is additionally operable to judge institute Whether the cluster determining is described zk cluster;If not described zk cluster, then control and read institute from the file of described cluster really The configuration of fixed cluster, and create described client with the connection of described cluster to complete described service request corresponding business clothes Business.
CN201610786747.3A 2016-08-31 2016-08-31 Matching method and device for same computer room Pending CN106357435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610786747.3A CN106357435A (en) 2016-08-31 2016-08-31 Matching method and device for same computer room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610786747.3A CN106357435A (en) 2016-08-31 2016-08-31 Matching method and device for same computer room

Publications (1)

Publication Number Publication Date
CN106357435A true CN106357435A (en) 2017-01-25

Family

ID=57857698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610786747.3A Pending CN106357435A (en) 2016-08-31 2016-08-31 Matching method and device for same computer room

Country Status (1)

Country Link
CN (1) CN106357435A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508192A (en) * 2018-11-09 2019-03-22 深圳壹账通智能科技有限公司 The task dissemination method and system of development and application product
CN110362336A (en) * 2019-06-21 2019-10-22 口碑(上海)信息技术有限公司 The acquisition methods and script data configuration method and device of computer room routing iinformation
CN111600930A (en) * 2020-04-09 2020-08-28 网宿科技股份有限公司 Micro-service request traffic management method, device, server and storage medium
CN112367684A (en) * 2020-10-13 2021-02-12 北京健康之家科技有限公司 Flow control method, flow control device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780777A (en) * 2012-07-19 2012-11-14 北京蓝汛通信技术有限责任公司 Log collecting method and log collecting system
CN102932442A (en) * 2012-10-26 2013-02-13 北京奇虎科技有限公司 Equipment, system and method for distributed data storage system
CN103227839A (en) * 2013-05-10 2013-07-31 网宿科技股份有限公司 Management system for regional autonomy of content distribution network server
CN105553870A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Method and device for allocating service request

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780777A (en) * 2012-07-19 2012-11-14 北京蓝汛通信技术有限责任公司 Log collecting method and log collecting system
CN102932442A (en) * 2012-10-26 2013-02-13 北京奇虎科技有限公司 Equipment, system and method for distributed data storage system
CN103227839A (en) * 2013-05-10 2013-07-31 网宿科技股份有限公司 Management system for regional autonomy of content distribution network server
CN105553870A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Method and device for allocating service request

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUNDDENLY: ""ZooKeeper学习第八期——ZooKeeper伸缩性"", 《博客园,URL:HTTP://WWW.CNBLOGS.COM/SUNDDENLY/P/4143306.HTML》 *
邱戈川: ""唯品会分布式服务框架实践与容器化演进"", 《豆丁网,HTTPS://WWW.DOCIN.COM/P-1608367976.HTML》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508192A (en) * 2018-11-09 2019-03-22 深圳壹账通智能科技有限公司 The task dissemination method and system of development and application product
CN110362336A (en) * 2019-06-21 2019-10-22 口碑(上海)信息技术有限公司 The acquisition methods and script data configuration method and device of computer room routing iinformation
CN110362336B (en) * 2019-06-21 2023-07-18 口碑(上海)信息技术有限公司 Method for acquiring machine room routing information and method and device for configuring script data
CN111600930A (en) * 2020-04-09 2020-08-28 网宿科技股份有限公司 Micro-service request traffic management method, device, server and storage medium
CN111600930B (en) * 2020-04-09 2022-12-09 网宿科技股份有限公司 Micro-service request traffic management method, device, server and storage medium
CN112367684A (en) * 2020-10-13 2021-02-12 北京健康之家科技有限公司 Flow control method, flow control device, storage medium and computer equipment
CN112367684B (en) * 2020-10-13 2023-11-14 北京水滴科技集团有限公司 Flow control method, device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN105103507B (en) The method and device of network function virtualization
CN106357435A (en) Matching method and device for same computer room
CN110036619A (en) Frame for IOT protocol-identifier and management
CN106385437A (en) Cluster selecting method and device
CN101090324B (en) Network system and server
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN101714996B (en) Authentication system and method based on peer-to-peer computing network
CN105704034B (en) Access the method and central server of network
TW201904234A (en) Method and device for virtual network link detection
CN106131167A (en) For managing the method and system of Internet of Things user and equipment
CN101136936A (en) Service establishing, executing, mapping system and method
CN112988572B (en) Multi-environment multi-channel multi-version simulation test method and device
CN106790759B (en) IPv4/IPv6 converting system and method based on SDN
CN104852937B (en) Method for network access and device for mobile application
CN106126402A (en) The processing method and processing device that accelerator is abnormal
CN105740137A (en) Bucket test method, device and system, and method and device for providing configuration information
CN105897811B (en) A kind of method of data synchronization and device
CN112543473B (en) Test method, device and equipment based on network element simulation and computer storage medium
JP6914456B1 (en) Methods and management and orchestration systems for establishing network slices
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
CN110704296B (en) Calling method and device
CN114205280B (en) Application publishing method and flow routing method based on container cloud and service grid
KR20060040335A (en) Network managing device and method thereof
Armitage et al. REED: Optimizing first person shooter game server discovery using network coordinates
CN106301855A (en) A kind of NMS dispositions method, device and NMS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171207

Address after: 510000 Guangzhou City, Guangzhou, Guangdong, Fangcun Avenue, one of the 314 self compiled

Applicant after: Guangzhou Pinwei Software Co., Ltd.

Address before: Liwan District Fangcun Huahai street Guangzhou city Guangdong province 510000 No. 20 self 1-5 building (only for office use)

Applicant before: Guangzhou VIPSHOP Information and Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125