CN105872015B - The automatic discovering method of distributed component service in a kind of desktop cloud - Google Patents
The automatic discovering method of distributed component service in a kind of desktop cloud Download PDFInfo
- Publication number
- CN105872015B CN105872015B CN201610151322.5A CN201610151322A CN105872015B CN 105872015 B CN105872015 B CN 105872015B CN 201610151322 A CN201610151322 A CN 201610151322A CN 105872015 B CN105872015 B CN 105872015B
- Authority
- CN
- China
- Prior art keywords
- distributed component
- distributed
- component
- multicast
- network
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of automatic discovering methods of distributed component service in desktop cloud, comprising: after the distributed component starting being newly added, query messages are sent into network with multicast mode as sender;Other distributed components in network parse data content therein and save as recipient after receiving the query messages;The mesh information of this component is returned to the distributed component being newly added by response message by other distributed components;After the distributed component being newly added receives response message, mesh information therein is saved in local profile;The distributed component being newly added initiates networking request using local profile and to other distributed components, completes networking.Method of the invention, each distributed component carry out networking without relying on central node, need to only carry out communication inquiry by way of the pre- networking communication protocol of multicast in network, both will appreciate that whole system situation can carry out networking later.
Description
[technical field]
The present invention relates to computer and internet area, the automatic hair of distributed component service in especially a kind of desktop cloud
Existing method.
[background technique]
Desktop cloud is a subclass in cloud computing, different from the cloud host based on server virtualization, cloud host towards
Main users be professional technician, and desktop cloud towards user be PC (PC) user, it is daily for substituting
Office computer, compared with general cloud computing, desktop cloud towards user information technology specialty level it is relatively low, network environment with
Type of hardware is increasingly complex changeable, simultaneously because user is interactive operation, needs system real-time response, user is to performance and event
It is extremely low to hinder tolerance.
Generally there are two types of forms for traditional distributed component networking: central node mode or register node mode.
Central node mode is the star structure that logical all components are all connected to a central node, by this central node
The tissue for being responsible for whole system is communicated with information.Once the disadvantage is that central node failure, whole system is unavailable, and configure with
Change requires all to configure all components one time, very troublesome.
Register node mode be to provide one be similar to directory exchange register node, all nodes initialization when all first to
The information and state of register node inquiry other assemblies simultaneously report oneself information and state, then according to the information inquired come
Decide how access system.The disadvantage is that be newly added to node dependent on register node working condition and its data whether just
Often, and inevitably need to know in advance and configured register node information, whole system changes register node after configuration is good
It is also required to re-starting all nodes into configuration, comparatively laborious and easy error.
[summary of the invention]
The present invention provides a kind of automatic discovering methods of distributed component service in desktop cloud, to solve existing distribution
The problem of formula component networking.
The automatic discovering method of distributed component service in a kind of desktop cloud of the invention, including the following steps: S1, newly add
After the distributed component starting entered, query messages are sent into network with multicast mode as sender;It is other in S2, network
Distributed component parses data content therein and saves as recipient after receiving the query messages;It is S3, described
The mesh information of this component is returned to point of the new addition by response message by other distributed components as recipient
Cloth component;S4, the new addition distributed component receive the response message after, mesh information therein is saved in
In local profile;S5, the new addition distributed component use described in local profile, and to other distributions
Formula component initiates networking request, completes networking.
Wherein, before step S1 further include: S0, default multicast address and the routing number for limiting multicast packet process, with
Control the spread scope of multicast.Step S0 is specifically to preset multicast address in component installation kit and limit multicast packet to pass through
Routing number.
Wherein, it is included at least in the query messages that the distributed component being newly added in step S1 is sent: preset spy
Sign mark;And after described in step S2 parsing query messages as other distributed components of recipient, first verifying is described
Signature identification after being proved to be successful, then saves the data content in the query messages.
Wherein, in step S3, if preset policy definition is requested without the new networking that distributed component is added of examination & approval,
Other distributed components as recipient are directly returned to the mesh information of this component by response message described new
The distributed component of addition;If preset policy definition needs to examine the new networking request that distributed component is added, through examining
After batch, then the response message is sent to the distributed component of the new addition.
Wherein, before step S4, if the distributed component of the new addition do not received in preset duration it is described
Response message then sends the query messages with multicast mode into network again.
The automatic discovering method of distributed component service in desktop cloud of the invention, each distributed component is without relying on center
Node carries out networking, need to only carry out communication inquiry by way of the pre- networking communication protocol of multicast in network, both will appreciate that whole
Networking can be carried out after a system status, system buildup and operation and maintenance is greatly facilitated, is truly realized addition group at any time
Part expansion system bearing capacity.
[Detailed description of the invention]
Fig. 1 is network architecture schematic diagram of the invention;
Fig. 2 is the method flow diagram of the embodiment of the present invention.
[specific embodiment]
The present invention provides a kind of automatic discovering methods of distributed component service in desktop cloud, are used for desktop cloud or even cloud
The automatic network-building of Distributed Services in calculating so that O&M is simpler convenient, and reduces and manually configures Distributed Services one by one
Error probability.Shown in Figure 1, the method for the present invention is architecturally on TUDP facilities network network layers, service logic
Under layer.Inventor devises following logic flow to the automatic discovering method of distributed component service in desktop cloud of the invention
Journey: in each node increase group stratum reticulare logic, after node component starting operation, the distributed component newly started multicast into network
A query messages are sent, the state of each component nodes is inquired;Message content contains the spy that desktop cloud and component itself are arranged
The data such as sign mark and the type, version, state of this node.Other distributed components having been turned on receive this message
After verifying signature identification, the data content received and preservation are parsed, while the relevant information of this component nodes is passed through into response bag
Return to sender.If component does not receive any response message, this query messages, Zhi Daoshou are regularly sent within every 5 minutes
To response message.For the spread scope for controlling multicast, multicast address be may be configured as in 239.0.0.0~239.255.255.255
Between, and ttl value (limiting the routing number that multicast packet passes through) is set, by multicast scope control in Intranet limited range,
The specific address (Internet Protocol) multicast IP and TTL (Time To Live) value, can set in advance in component installation kit
It is fixed.The content of response bag (i.e. response message) is initially set according to system, and can be there are two types of different type: one is response messages
(i.e. response message), which directly returns, agrees to (agree);Networking causes confusion when to avoid same network segment from having more set autonomous systems, is
The response bag that system can also set each node only returns to message and has received (received) and registration confirmed, waits administrator's approval
Afterwards system retransmit an approval message by this node drawing (pull) enter in system.It is further detailed below by way of specific embodiment
Explanation.
The automatic discovering method of distributed component service, shown in Figure 2 in the desktop cloud of the present embodiment, including following step
It is rapid:
S10, multicast monitoring, and default multicast address and the routing number for limiting multicast packet process are established, to control group
The spread scope broadcast.
Specifically, system first establishes multicast monitoring mechanism, and the pre-configured multicast IP and TTL in installation kit, group
It broadcasts IP and is defaulted as 239.1.0.100, port default 10001, TTL is defaulted as 3, and system installer can decompress installation compression
It guarantees the repair free of charge and changes default configuration.
After S11, the distributed component being newly added starting, inquiry is sent into network with multicast mode as sender and is disappeared
Breath.
Specifically, sending a group to address 239.1.0.100:10001 first after the distributed component starting being newly added
It broadcasts inquiry request message (query messages are sent into network with multicast mode), requests to open in packet header with the 0x1111 of 4 bytes
Begin to follow the character string " RNET " of 4 bytes for mark, License (software license), the communication of component itself are contained in backpack body
The mesh informations such as protocol version, software version number, component type, component unique identification (using network interface card MAC).
Other distributed components in S12, network are as recipient, and after receiving the query messages, parsing is wherein
Data content and preservation.
Specifically, other nodes (other distributed components having been turned on i.e. in network) in system receive this request
Afterwards, it checks whether the data in packet header identifier and backpack body meet agreement, checks errorless rear preservation Correspondent Node information.
S13, the mesh information of this component is returned to newly by response message as other distributed components of recipient
The distributed component of addition.
Specifically, whether the settable system of system manager needs to examine the networking request of new node.If being set as needing
It examines, then the response message of other distributed components only returns to message and received (received) and registration confirmed, in system
Mesh information is just sent to New Parent by system after administrator's examination & approval.I.e. if preset policy definition divides without new be added of examination & approval
The networking of cloth component is requested, then other distributed components as recipient are by response message directly by this component
Mesh information returns to the distributed component of the new addition;If preset policy definition needs to examine new addition distributed group
The networking of part is requested, then after examining, then the response message is sent to the distributed component of the new addition.
S14, the new addition distributed component receive response message after, mesh information therein is saved in local match
It sets in file, in case networking uses again after restarting.
Specifically, if the distributed component being newly added does not receive the response message in preset duration, such as:
Response message is not received within 5 minutes, then send the query messages into network with multicast mode again, disappear until receiving response
Until breath.
S15, the distributed component being newly added use local profile according to own service logic, and to other distributions
Component initiates networking request, completes networking.
The advantages of the present embodiment, is as follows:
1. distributed component is not necessarily to any configuration after being installed, leads in nearly network and exist in component energy discovery system
Service, reduce the installation maintenance work amoun under cloud computing large scale deployment, than traditional services registration structure it is more intelligent, high
Effect.
2. each node component other distributed nodes in inquiry system by way of multicast, are scanned relative to IP one by one,
The data traffic in network can be effectively reduced, response and treatment effeciency are improved;And have relatively for the whole network broadcast smaller
Data dissemination range, avoid unnecessary interference.
3. having pre-seted multicast ip address, ttl value, installation personnel can modify multicast IP and TTL before component installation
The parameters such as value, according to grid situation flexible choice.
4. system manager can select the service-seeking for newly added node to request according to own situation, if need
Audit approval, or be directly added into system without examination & approval.
Here description of the invention and application are all only illustrative and exemplary, are not intended to the scope of the present invention
Limitation is in the above-described embodiments.The deformation and change of embodiments disclosed herein be it is entirely possible, for those this fields
Those of ordinary skill for, embodiment replacement and equivalent various parts be well known.Those skilled in the art also answer
Should it is clear that without departing from the spirit or essential characteristics of the invention, the present invention can in other forms, structure,
Arrangement, ratio, and realized with other components, material and component, and the case where not departing from scope and spirit of the present invention
Under, other deformations and change can be carried out to embodiments disclosed herein.
Claims (5)
1. the automatic discovering method of distributed component service in a kind of desktop cloud, characterized in that it comprises the following steps:
After S1, the distributed component being newly added starting, being sent with multicast mode into network as sender includes preset spy
Levy the query messages of mark;
Other distributed components in S2, network parse data therein after receiving the query messages as recipient
Content verifies the signature identification and preservation, while returning to message and having received;
If S3, preset policy definition need to examine the new networking request that distributed component is added, administrator is waited to ratify
System, which retransmits agreement and receives message, afterwards pulls in this node in system, after examining, by response message by this component
Mesh information be sent to the distributed component of the new addition;
S4, the new addition distributed component receive the response message after, mesh information therein is saved in local
In configuration file;
S5, the new addition distributed component use described in local profile, and to other distributed components initiate
Networking request, completes networking.
2. the automatic discovering method of distributed component service in desktop cloud as described in claim 1, which is characterized in that step S1
Before further include:
S0, default multicast address and the routing number for limiting multicast packet process, to control the spread scope of multicast.
3. the automatic discovering method of distributed component service in desktop cloud as claimed in claim 2, which is characterized in that step S0
Multicast address is preset specifically in component installation kit and limits the routing number that multicast packet passes through.
4. the automatic discovering method of distributed component service in desktop cloud as described in claim 1, which is characterized in that step S3
In, if preset policy definition without the new networking request that distributed component is added of examination & approval, its as recipient
The mesh information of this component is directly returned to the distributed component of the new addition by response message by its distributed component.
5. the automatic discovering method of distributed component service in desktop cloud as described in claim 1, which is characterized in that step S4
Before, if the distributed component of the new addition does not receive the response message in preset duration, again with group
Broadcast mode sends the query messages into network.
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 CN105872015A (en) | 2016-08-17 |
CN105872015B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110601906B (en) * | 2019-09-29 | 2021-05-25 | 腾讯科技(深圳)有限公司 | Data transmission method and device based on block chain |
CN114679483B (en) * | 2022-03-01 | 2023-07-25 | 南京巨鲨显示科技有限公司 | Communication method, system and storage medium for distributed service communication system |
CN114860349B (en) * | 2022-07-06 | 2022-11-08 | 深圳华锐分布式技术股份有限公司 | Data loading method, device, equipment and medium |
Citations (3)
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 |
-
2016
- 2016-03-17 CN CN201610151322.5A patent/CN105872015B/en active Active
Patent Citations (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105872015A (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9940153B2 (en) | Method for generating configuration information, and network control unit | |
US6981036B1 (en) | Network device managing apparatus and method | |
US8850068B2 (en) | United router farm setup | |
US7995483B1 (en) | Simultaneously testing connectivity to multiple remote maintenance endpoints of the same maintenance association | |
US20160294575A1 (en) | System, Apparatus, and Method for Automatically Configuring Application Terminals in Home Network | |
US8595339B2 (en) | Network management apparatus and method | |
TWI334714B (en) | Discovery method for network devices | |
US8549119B1 (en) | Error handling for device management configuration and operational data retrieval commands | |
US8838831B2 (en) | Populating location wiremap databases | |
US9883010B2 (en) | Method, apparatus, device and system for generating DHCP snooping binding table | |
JP5578551B2 (en) | Architecture using wireless switching points that are inexpensively managed to distribute large-scale wireless LANs | |
US20030210699A1 (en) | Extending a network management protocol to network nodes without IP address allocations | |
WO2007012242A1 (en) | Method and system for implementing initialization configuration for the managed devices | |
US6992985B1 (en) | Method and system for auto discovery of IP-based network elements | |
CN105872015B (en) | The automatic discovering method of distributed component service in a kind of desktop cloud | |
US11805011B2 (en) | Bulk discovery of devices behind a network address translation device | |
CN101188510A (en) | Method, device and system for central address control | |
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 | |
WO2012139463A1 (en) | Terminal device initialization method and device | |
JP2003099341A (en) | Network device-managing device, managing system, managing method and network device | |
WO2003073696A1 (en) | System for intercepting network access and method thereof | |
JP2000353136A (en) | Network device search device and its method, and storage medium | |
CN105491622B (en) | The methods, devices and systems of wireless network parameter configuration | |
EP2890053B1 (en) | Ds domain generating method and 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 | ||
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 |