CN105872015A - Automatic discovering method of distributed assembly services in desktop cloud - Google Patents

Automatic discovering method of distributed assembly services in desktop cloud Download PDF

Info

Publication number
CN105872015A
CN105872015A CN201610151322.5A CN201610151322A CN105872015A CN 105872015 A CN105872015 A CN 105872015A CN 201610151322 A CN201610151322 A CN 201610151322A CN 105872015 A CN105872015 A CN 105872015A
Authority
CN
China
Prior art keywords
distributed component
distributed
newly added
networking
multicast
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
CN201610151322.5A
Other languages
Chinese (zh)
Other versions
CN105872015B (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.)
Guangdong Microcloud Technology Inc
Original Assignee
Guangdong Microcloud Technology Inc
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 Guangdong Microcloud Technology Inc filed Critical Guangdong Microcloud Technology Inc
Priority to CN201610151322.5A priority Critical patent/CN105872015B/en
Publication of CN105872015A publication Critical patent/CN105872015A/en
Application granted granted Critical
Publication of CN105872015B publication Critical patent/CN105872015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Abstract

The invention provides an automatic discovering method of distributed assembly services in desktop cloud. The method comprises following steps of sending inquiring messages to a network in a multicast mode by newly joined distributed assemblies as transmitters after the newly joined distributed assemblies are started; analyzing and storing data contents in the inquiring messages after the inquiring messages are received by other distributed assemblies in the network as receivers; returning networking information of the assemblies to the newly joined distributed assemblies by the other distributed assemblies in a mode of response messages; storing the networking information in the response messages to local configuration files after the newly joined distributed assemblies receive the response messages; and finishing networking by the newly joined distributed assemblies through utilization of the local configuration files and initiation of networking requests to the other distributed assemblies. According to the method, the distributed assemblies can carry out networking without depending on center nodes, only communication inquiry needs to be carried out in a mode of multicasting pre-networking communication protocols in the network, and the networking is carried out after the conditions of the whole system are known.

Description

The automatic discovering method of distributed component service in a kind of desktop cloud
[technical field]
The present invention relates to computer and internet arena, distributed component service in especially a kind of desktop cloud Automatic discovering method.
[background technology]
Desktop cloud is a subclass in cloud computing, different from cloud main frame based on server virtualization, cloud Main frame towards main users be professional and technical personnel, and desktop cloud towards user be PC (PC) User, is used for substituting routine office work computer, compared with general cloud computing, desktop cloud towards user letter Breath technology specialty level of relative is relatively low, and network environment is increasingly complex with type of hardware changeable, simultaneously because use Family is all interactive operation, needs system real-time response, and user is extremely low to performance and Fault Tolerance.
Traditional distributed component networking typically has two kinds of forms: Centroid mode or register node side Formula.
Centroid mode is the star structure that logical all component is all connected to a Centroid, by this Centroid is responsible for tissue and the information communication of whole system.Its shortcoming is once Centroid fault, whole Individual system is unavailable, and configuration is required for all configuring all component one time with change, bothers very much.
Register node mode is to provide a register node being similar to directory exchange, and all nodes are initializing Shi Douxian inquires about information and state information and the state of reporting oneself of other assemblies to register node, so Access system is decided how afterwards according to the information inquired.Its shortcoming is to be newly added node to depend on note Duty and the data thereof of volume node are the most normal, and need unavoidably to know and configure good registration in advance Nodal information, whole system is changed register node after once configuring and is also required to re-start all nodes Configuration, comparatively laborious and easily make mistakes.
[summary of the invention]
The invention provides the automatic discovering method of distributed component service in a kind of desktop cloud, in order to solve The problem of existing distributed component networking.
The automatic discovering method of distributed component service in a kind of desktop cloud of the present invention, including following step Rapid: after S1, the distributed component being newly added start, to send in network with multicast mode as sender Query messages;Other distributed component in S2, network, as recipient, disappears receiving described inquiry After breath, resolve data content therein and preserve;S3, described other distributed component as recipient By response message the mesh information of this assembly returned to described in the distributed component that is newly added;S4, institute State after the distributed component being newly added receives described response message, mesh information therein is saved in this In ground configuration file;S5, described in the distributed component that is newly added use described in local profile, with And initiate networking request to other distributed component, complete networking.
Wherein, also include before step S1: S0, default multicast address and restriction multicast packet pass through Route number, to control the spread scope of multicast.Step S0 specifically preset group in assembly installation kit Broadcast address and limit the route number of multicast packet process.
Wherein, the described query messages that the distributed component being newly added in step S1 sends at least includes: The signature identification preset;And, described in step S2, other distributed component as recipient resolves After query messages, first verify described signature identification, after being proved to be successful, then preserve in described query messages Data content.
Wherein, in step S3, if the policy definition preset is newly added distributed component without examination & approval Networking is asked, and the most described other distributed component as recipient passes through response message directly by this assembly Mesh information return to described in the distributed component that is newly added;If the policy definition preset needs examination & approval It is newly added the networking request of distributed component, then after examination & approval, more described response message is sent to described The distributed component being newly added.
Wherein, before step S4, if described in the distributed component that is newly added in default duration not Receive described response message, the most again in network, send described query messages with multicast mode.
In the desktop cloud of the present invention distributed component service automatic discovering method, each distributed component without Rely on Centroid and carry out networking, only need to be carried out by the form of the pre-networking communication protocol of multicast in network Communication inquiry, can carry out networking, be very easy to system group after both having will appreciate that whole system situation Build and operation maintenance, be truly realized and add assembly extension system bearing ability at any time.
[accompanying drawing explanation]
Fig. 1 is the network architecture schematic diagram of the present invention;
Fig. 2 is the method flow diagram of the embodiment of the present invention.
[detailed description of the invention]
The invention provides the automatic discovering method of distributed component service in a kind of desktop cloud, for desktop The automatic network-building of Distributed Services in cloud or even cloud computing so that O&M is simpler convenient, and reduces people Work configures the error probability of Distributed Services one by one.Shown in Figure 1, the inventive method is in architecture On be on TUDP facilities network network layers, under Business Logic.Inventor's desktop cloud to the present invention The automatic discovering method of middle distributed component service devises following logic flow: increase networking at each node Layer logic, after node component startup optimization, the new distributed component started multicast in network sends one Bar query messages, inquires about the state of each component nodes;Message content contains desktop cloud and assembly itself about Fixed signature identification, and the data such as the type of this node, version, state.Other distributions having been turned on After formula assembly receives this information authentication signature identification, resolve the data content received and preserve, simultaneously The relevant information of this component nodes is returned to sender by response bag.If assembly does not receives any response Message, timing in the most every 5 minutes sends this query messages, until receiving response message.For control group The spread scope broadcast, multicast address may be configured as between 239.0.0.0~239.255.255.255, and Set ttl value (limiting the route number of multicast packet process), multicast scope control is limited in Intranet In scope, concrete multicast IP (Internet Protocol) address and TTL (Time To Live) value, can be in group Part installation kit presets.The content of response bag (i.e. response message) initially sets according to system, can And have two kinds dissimilar: one is that response message (i.e. response message) directly returns agreement (agree); During for avoiding the same network segment to have many set autonomous systems, networking causes confusion, and system can also set each node Response bag only returns message and receives (received) registration confirmed, and after waiting keeper's approval, system is again Sending an approval message draws (pull) to enter in system this node.One is entered below by way of specific embodiment Step describes in detail.
In the desktop cloud of the present embodiment, the automatic discovering method of distributed component service, shown in Figure 2, Comprise the following steps:
S10, set up multicast monitoring, and default multicast address and limit the route number of multicast packet process, To control the spread scope of multicast.
Concrete, system first sets up multicast monitoring mechanism, and pre-configured multicast IP in installation kit And TTL, multicast IP are defaulted as 239.1.0.100, port default is 10001, and TTL is defaulted as 3, is System installation personnel can decompress installation compressed package amendment default configuration.
After S11, the distributed component being newly added start, send out in network with multicast mode as sender Send query messages.
Concrete, after the distributed component startup being newly added, first send out to address 239.1.0.100:10001 Send multicast inquiry request message (i.e. sending query messages in network with multicast mode), request bag In Tou, 0x1111 with 4 bytes starts the character string " RNET " following 4 bytes for mark, wraps in inclusion The License (software license) of assembly self, communication protocol version number, software version number, assembly are contained Type, assembly uniquely identify mesh information such as (using network interface card MAC).
Other distributed component in S12, network is as recipient, after receiving described query messages, Resolve data content therein and preserve.
Concrete, other nodes (i.e. other distributed component having been turned in network) in system are received After asking to this, check whether the data in packet header identifier and inclusion meet agreement, check errorless rear guarantor Deposit Correspondent Node information.
S13, as recipient other distributed component by response message by the mesh information of this assembly Return to the distributed component being newly added.
Concrete, system manager can arrange system the need of the networking request examining new node.If Be set to need examination & approval, then the response message of other distributed component only returns message and receives (received) And registration confirmed, after system manager examines, mesh information is just sent to New Parent by system.If i.e. The policy definition preset is newly added the networking request of distributed component without examination & approval, the most described as recipient Other distributed component by response message directly the mesh information of this assembly is returned to described in be newly added Distributed component;If the policy definition preset needs examination & approval to be newly added the networking request of distributed component, Then after examination & approval, then the distributed component being newly added described in described response message is sent to.
S14, described in after the distributed component that is newly added receives response message, mesh information therein is saved in In local profile, in case networking uses again after restarting.
Concrete, if the distributed component being newly added does not receives described response message in default duration, Such as: within 5 minutes, do not receive response message, the most again in network, send described query messages with multicast mode, Till receiving response message.
S15, the distributed component being newly added use local profile according to own service logic, and to other Distributed component initiates networking request, completes networking.
The advantage of the present embodiment is as follows:
1., without any configuration after distributed component installation, assembly energy discovery system is led in nearly network The service existed, decreases the installation maintenance work amount under cloud computing large scale deployment, registers than traditional services Structure is the most intelligent, efficiently.
The most each node component is by other distributed nodes in the form inquiry system of multicast, relative to IP one by one Scanning, it is possible to effectively reduce the data traffic in network, improve response and treatment effeciency;And relatively for The whole network broadcast has less data dissemination scope, it is to avoid unnecessary interference.
3. having pre-seted multicast ip address, ttl value, installation personnel can revise multicast before assembly is installed The parameter such as IP and ttl value, selects flexibly according to grid situation.
4. system manager can select to ask for the service-seeking of newly added node according to own situation, if Need examination & verification approval, or be directly added in system without examination & approval.
Here description of the invention and application are the most illustrative and exemplary, and being not intended to will be by this Bright scope limits in the above-described embodiments.The deformation of embodiments disclosed herein and change are completely may be used Can, for those skilled in the art, replacing and the various portions of equivalence of embodiment Part is all known.Those skilled in the art it should also be clear that without departing from the present invention spirit or In the case of substantive characteristics, the present invention can in other forms, structure, layout, ratio, and use it Its assembly, material and parts realize, and in the case of without departing from scope and spirit of the present invention, can Embodiments disclosed herein is carried out other deformation and changes.

Claims (6)

1. the automatic discovering method of distributed component service in a desktop cloud, it is characterised in that include following Step:
After S1, the distributed component being newly added start, send in network with multicast mode as sender and look into Ask message;
Other distributed component in S2, network is as recipient, after receiving described query messages, solves Analyse data content therein and preserve;
S3, described other distributed component as recipient pass through response message by the mesh information of this assembly The distributed component being newly added described in returning to;
S4, described in after the distributed component that is newly added receives described response message, by mesh information therein It is saved in local profile;
S5, described in the distributed component that is newly added use described in local profile, and be distributed to other Networking request initiated by formula assembly, completes networking.
2. the automatic discovering method of distributed component service, its feature in desktop cloud as claimed in claim 1 It is, also includes before step S1:
S0, default multicast address and the route number of restriction multicast packet process, to control the propagation model of multicast Enclose.
3. the automatic discovering method of distributed component service, its feature in desktop cloud as claimed in claim 2 Being, step S0 is specifically preset multicast address in assembly installation kit and limits the road of multicast packet process By counting.
4. the automatic discovering method of distributed component service, its feature in desktop cloud as claimed in claim 1 It is, the described query messages that the distributed component being newly added in step S1 sends at least includes: preset Signature identification;
And, described in step S2, other distributed component as recipient resolves after query messages, priori Signature identification described in card, after being proved to be successful, then preserves the data content in described query messages.
5. the automatic discovering method of distributed component service, its feature in desktop cloud as claimed in claim 1 It is, in step S3, if the policy definition preset is newly added the networking request of distributed component without examination & approval, The mesh information of this assembly is directly returned by the most described other distributed component as recipient by response message Back to the described distributed component being newly added;If the policy definition preset needs examination & approval to be newly added distributed group The networking request of part, then after examination & approval, then the distributed group being newly added described in described response message is sent to Part.
6. the automatic discovering method of distributed component service, its feature in desktop cloud as claimed in claim 1 Be, before step S4, if described in the distributed component that is newly added do not receive described in default duration Response message, the most again in network, send described query messages with multicast mode.
CN201610151322.5A 2016-03-17 2016-03-17 The automatic discovering method of distributed component service in a kind of desktop cloud Active CN105872015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151322.5A CN105872015B (en) 2016-03-17 2016-03-17 The automatic discovering method of distributed component service in a kind of desktop cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151322.5A CN105872015B (en) 2016-03-17 2016-03-17 The automatic discovering method of distributed component service in a kind of desktop cloud

Publications (2)

Publication Number Publication Date
CN105872015A true CN105872015A (en) 2016-08-17
CN105872015B CN105872015B (en) 2019-02-12

Family

ID=56625526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151322.5A Active CN105872015B (en) 2016-03-17 2016-03-17 The automatic discovering method of distributed component service in a kind of desktop cloud

Country Status (1)

Country Link
CN (1) CN105872015B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601906A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain
CN114679483A (en) * 2022-03-01 2022-06-28 南京巨鲨显示科技有限公司 Communication method, system and storage medium of distributed service communication system
CN114860349A (en) * 2022-07-06 2022-08-05 深圳华锐分布式技术股份有限公司 Data loading method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008085155A1 (en) * 2005-12-23 2008-07-17 Elster Electricity Llc. Distributing overall control of mesh amr lan networks to wan interconnected collectors
CN101442482A (en) * 2007-11-13 2009-05-27 北京大学 Method and system for building distributed computing network based on feedback propagation
CN101854244A (en) * 2010-06-07 2010-10-06 西安西电捷通无线网络通信股份有限公司 Three-section type secure network architecture establishment and secret communication method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008085155A1 (en) * 2005-12-23 2008-07-17 Elster Electricity Llc. Distributing overall control of mesh amr lan networks to wan interconnected collectors
CN101442482A (en) * 2007-11-13 2009-05-27 北京大学 Method and system for building distributed computing network based on feedback propagation
CN101854244A (en) * 2010-06-07 2010-10-06 西安西电捷通无线网络通信股份有限公司 Three-section type secure network architecture establishment and secret communication method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601906A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain
CN114679483A (en) * 2022-03-01 2022-06-28 南京巨鲨显示科技有限公司 Communication method, system and storage medium of distributed service communication system
CN114679483B (en) * 2022-03-01 2023-07-25 南京巨鲨显示科技有限公司 Communication method, system and storage medium for distributed service communication system
CN114860349A (en) * 2022-07-06 2022-08-05 深圳华锐分布式技术股份有限公司 Data loading method, device, equipment and medium

Also Published As

Publication number Publication date
CN105872015B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US11277306B2 (en) Sending information of a network repository function instance storing network function instance information
US11063831B2 (en) Network slice management method and apparatus
CN106452857B (en) Method for generating configuration information and network control unit
US7995483B1 (en) Simultaneously testing connectivity to multiple remote maintenance endpoints of the same maintenance association
CN102197627B (en) The improvement of flux of multicast convergence
CN107315786A (en) Business datum storage method and device
US7912055B1 (en) Method and apparatus for configuration and analysis of network multicast routing protocols
US20030101284A1 (en) Virtual network with adaptive dispatcher
US20090046726A1 (en) Virtual network with adaptive dispatcher
JP2000209212A (en) Communication network system and service management method in the communication network system
CN101848107B (en) SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
WO2017166136A1 (en) Vnf resource allocation method and device
TW200826548A (en) Discovery method for network devices
CN110493366B (en) Method and device for adding access point into network management
CN109906585A (en) Management method, administrative unit and the system of network slice
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
WO2020238891A1 (en) Method and device for leasing physical host, cloud platform, and readable storage medium
US10148610B2 (en) Method to publish remote management services over link local network for zero-touch discovery, provisioning, and management
CN105095023A (en) Cloud host establishing device and method and calculating equipment
CN105872015A (en) Automatic discovering method of distributed assembly services in desktop cloud
EP3917084A1 (en) Network as service service cross-domain orchestration method, orchestration device, and control device
KR20090084670A (en) Method and system for two-phase mechanism for discovering web services based management service
US6272540B1 (en) Arrangement and method for providing flexible management of a network
US20040225727A1 (en) Network management system with validation of policies
CN109450768B (en) Method for interconnecting containers and system for interconnecting containers

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automatic discovery method of distributed component services in desktop cloud

Effective date of registration: 20221026

Granted publication date: 20190212

Pledgee: Industrial and Commercial Bank of China Co.,Ltd. Dongguan Songshanhu Sub branch

Pledgor: GUANGDONG MICROCLOUD TECHNOLOGY Inc.

Registration number: Y2022980019708

PE01 Entry into force of the registration of the contract for pledge of patent right