CN100479367C - Program arranging method and system based on distributing network - Google Patents

Program arranging method and system based on distributing network Download PDF

Info

Publication number
CN100479367C
CN100479367C CNB2006101706402A CN200610170640A CN100479367C CN 100479367 C CN100479367 C CN 100479367C CN B2006101706402 A CNB2006101706402 A CN B2006101706402A CN 200610170640 A CN200610170640 A CN 200610170640A CN 100479367 C CN100479367 C CN 100479367C
Authority
CN
China
Prior art keywords
destination node
node
program
information
release process
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
Application number
CNB2006101706402A
Other languages
Chinese (zh)
Other versions
CN1976289A (en
Inventor
林志农
周子坚
张立峰
郑炜杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CNB2006101706402A priority Critical patent/CN100479367C/en
Publication of CN1976289A publication Critical patent/CN1976289A/en
Application granted granted Critical
Publication of CN100479367C publication Critical patent/CN100479367C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

A method for arranging program based on distributed network includes issuing preset object node configuration table in node, querying said configuration table to obtain object node position information matching to attribute information of issued program being sent to node corresponding to said position information, receiving issued program and sending feedback information by object node and setting transmission state flag corresponding to said object node in transmission state table for ensuring consistency if program version at each node.

Description

A kind of program arranging method and system based on distributed network
Technical field
The present invention relates to the network communications technology, especially relate to a kind of program arranging method and system based on distributed network.
Background technology
Along with the continuous development of information technology, the computer system of multi-stage distributed network as its core selected by increasing organisations and institutions.As shown in Figure 1, be that a tame bank uses the topology of networks schematic diagram.Wherein, M1 is the root server that head office uses; M21 and M22 are two child servers that branch uses, and M301 and M302 are two user terminals that link to each other with M21, and constitute a local area network (LAN) with M21; Connect by network between M1 and M21, the M22.Shown in Fig. 1 only is the simplest a kind of structural representation, in the actual motion environment, has a plurality of such as server and the terminal of M21 and M301.In such network system, because terminal node quantity is numerous, and geographical distributed more widely, therefore, in order to guarantee the consistency of data and rule, the application program of moving on each terminal node is provided by the root server unification usually.Simultaneously,,, also must do further improvement and upgrading, issue the new version of this program it for announced application program in order to adapt to professional development.
At present, each terminal node at first sends download request by terminal to root server by the user in order to obtain application program or new program version, and root server is sent to terminal with corresponding file after receiving request.But for large enterprise as the bank or mechanism, its spread of network is very extensive, even spreads all over the whole nation, and in whole network, the quantity of terminal is many especially to several thousand even several ten thousand.Because terminal needs user intervention to send download request, not only needs to expend great amount of manpower, and the time that different user sends download request be difficult to accomplish unanimity, therefore cause on the terminal version of working procedure inconsistent.
The another kind of mode that terminal is obtained application program is on each terminal ROMPaq to be set, and is provided with timer in this ROMPaq, after timer arrives the scheduled time, sends download request by ROMPaq to root server.Adopt this mode, because ROMPaq does not also know when root server can issue new program version, therefore, what the ROMPaq needs were regular sends query requests to root server, great majority wherein will be because of being invalidation request and serviced device refusal, like this, not only wasted a large amount of Internet resources, also can cause white elephant server; And, in case the ROMPaq on certain terminal breaks down, this terminal can't send download request, also can't obtain new program version, and unusual to this, the external world also can't in time be known, the program version that causes terminal to use is inconsistent, thus, can further cause the inconsistent of business datum, bring very serious data risk for this enterprise.
Summary of the invention
The purpose of this invention is to provide a kind of program arranging method and system, to solve prior art owing to adopting the inconsistent problem of program version that causes by terminal to server acquisition request program based on distributed network.
For addressing the above problem, the invention discloses a kind of program arranging method based on distributed network, comprising:
Preset the destination node allocation list in publisher node, described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information;
According to the described destination node location information that is complementary, release process is sent to and the described corresponding destination node of destination node location information that is complementary;
Described destination node receives described release process and sends feedback information;
In the transmission state table of described publisher node, be provided with and the corresponding transmission state sign of described destination node;
Described publisher node upgrades the corresponding transmission state sign of this destination node in the transmission state table after receiving the feedback information of described destination node transmission;
After destination node upgrades, this destination node location information and the attribute information that upgrades the back program are sent to publisher node;
Destination node location information and program attribute information after upgrading are stored in the monitoring nodes table as monitor message.
Preferably, the periodic scanning destination node obtains the attribute information of destination node location information and this node present procedure.
Wherein, described release process attribute information comprises the product mark of this program;
The described destination node location information of obtaining is by query aim node configuration table, obtains the destination node location information that is complementary with described release process product mark.
Wherein, described release process attribute information also comprises the version identifier of this program.
For addressing the above problem, the invention also discloses a kind of program arranging method based on distributed network, comprising:
Publisher node links to each other by agent node with destination node;
Preset the agent node allocation list in publisher node, described agent node allocation list comprises the positional information of agent node and the attribute information of agent node receivable program;
Inquire about described agent node allocation list, obtain the agent node positional information that is complementary with the release process attribute information;
According to the described agent node positional information that is complementary, publisher node is sent to release process and the described corresponding agent node of agent node positional information that is complementary;
Preset the destination node allocation list in the described agent node, described destination node allocation list comprises the positional information of destination node and the attribute information of destination node receivable program;
Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information; According to the described destination node location information that is complementary, agent node is sent to the release process of receiving and the described corresponding destination node of destination node location information that is complementary.
Destination node and agent node receive described release process and send feedback information;
In the transmission state table, be provided with and this destination node and the corresponding transmission state sign of agent node;
After destination node upgraded, the attribute information with this destination node location information and renewal back program was sent to publisher node by agent node;
Destination node location information after upgrading and program attribute information as monitor message, are stored in the monitoring nodes table.
Preferably, the periodic scanning destination node obtains the attribute information of destination node location information and this node present procedure.
Preferably, described release process attribute information comprises the product mark of this program; The described agent node positional information of obtaining is by inquiry proxy node configuration table, obtains the agent node positional information that is complementary with described release process product mark; The described destination node location information of obtaining is by query aim node configuration table, obtains the destination node location information that is complementary with described release process product mark.
Wherein, described release process attribute information also comprises the version identifier of this program.
For addressing the above problem, the invention discloses a kind of program deployment system based on distributed network, comprise the server and client side, wherein,
Described server comprises:
First memory cell is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Selected cell is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
First interface unit is used for the destination node location information that is complementary according to described, and release process is sent to and the described corresponding destination node of destination node location information that is complementary;
The unit is set, is used at the transmission state table transmission state that destination node receives release process being set, described transmission state table is stored in described first memory cell;
The monitor message generation unit is used in the monitoring nodes table of first memory cell generating the monitor message of destination node, and described monitor message comprises the destination node location information after the renewal and the attribute information of program;
Described client deployment comprises at destination node:
Second interface unit is used for the release process that reception server sends;
Feedback unit is used for sending feedback information to server after receiving release process;
Described feedback unit also comprises:
Upgrade feedback module, be used for after destination node upgrades, the destination node location information after upgrading and the attribute information of program are sent to server.
Preferably, described server also comprises: scanning element, be used for the periodic scanning destination node, and obtain the attribute information of current working procedure on destination node location information and this node.
For addressing the above problem, the invention also discloses another kind of program deployment system based on distributed network, comprise server, agency and client, described server and client side links to each other by the agency, wherein,
Described server comprises:
First memory cell is used for storage agent node configuration table, and described agent node allocation list comprises the positional information of this agent node and the attribute information of receivable program;
First selected cell is used to inquire about described agent node allocation list, obtains the agent node positional information that is complementary with the release process attribute information;
First interface unit is used for the agent node positional information that is complementary according to described, and release process is sent to and the described corresponding agent node of agent node positional information that is complementary;
Described agency comprises:
Second memory cell is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Second selected cell is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
Second interface unit is used for the destination node location information that is complementary according to described, and the release process of receiving is sent to and the described corresponding destination node of destination node location information that is complementary;
Second feedback unit sends feedback information after being used to receive release process;
Described client deployment comprises at destination node:
The 3rd interface unit is used to receive release process;
The 3rd feedback unit sends feedback information after being used to receive release process;
Described the 3rd feedback unit also comprises:
Upgrade feedback unit, be used for after destination node upgrades, the destination node location information after upgrading and the attribute information of program are sent to server;
Described server also comprises:
The unit is set, is used for being provided with at the transmission state table transmission state of destination node and agent node reception release process, described transmission state table is stored in first memory cell;
The monitor message generation unit is used in the monitoring nodes table of first memory cell generating the monitor message of destination node, and described monitor message comprises the positional information of the destination node after the renewal and the attribute information of current working procedure.
Preferably, described server also comprises: scanning element, be used for the periodic scanning destination node, and obtain the attribute information of current working procedure on destination node location information and this node.
Compared with prior art, the present invention has the following advantages:
The present invention obtains the destination node location information that is complementary with the release process attribute information by preset the destination node allocation list in publisher node, then release process is sent to this destination node.Adopt this mode to avoid prior art to use ROMPaq to download and a large amount of invalidation request of producing from server, because server no longer responds and handles this invalidation request, therefore greatly reduce the load of server, guaranteed the operation that server security is stable.Simultaneously, after the present invention is sent to destination node with program, can write down the state of this program in transmission course, and, only behind the feedback information of having received destination node, just this transmission state is labeled as end.If destination node does not send feedback information in official hour, can think that then transmission course is unusual, administrative staff can make a response in view of the above.Therefore, can know accurately that by the present invention destination node receives the situation of program, thereby guarantee destination node refresh routine version in time.Avoided in the prior art because the ROMPaq fault, what cause can't in time download, and causes the inconsistent problem of program version.
Further, the present invention initiatively sends by destination node or the mode of periodic scanning destination node, obtains the version information of this node present procedure, like this since, make the program of moving on all nodes all be among the monitoring.For undesirable node and program, early warning and processing in time thoroughly solved the inconsistent and data risk that produces of each node procedure version.
The present invention only needs to control at publisher node or server when deployment program, and each destination node and client do not need to intervene, and therefore, are also saving the great amount of manpower resources costs in the deployment program timely and accurately.
Description of drawings
Fig. 1 is the topological structure schematic diagram of distributed network;
Fig. 2 is the flow chart of steps according to the preferred embodiment of the program arranging method based on distributed network of the present invention;
Fig. 3 is the block diagram according to the preferred embodiment of the program deployment system based on distributed network of the present invention;
Fig. 4 is the structured flowchart according to another preferred embodiment of the program deployment system based on distributed network of the present invention.
Embodiment
In order to understand the present invention better, before introducing embodiments of the invention, at first introduce the basic principle of inter-node communication in TCP/IP (the Transmission Control Protocol/Internet Protocol) network.
Equipment in the network is according to their network address (being the Ip address in the TCp/IP network) mutual communication.IP address and irrelevant " logic " address of hardware address.The structure of IP address has two parts, the host number in a part of define grid number, another part define grid.Host IP address in the same network, its network number is identical, and this network is called the IP subnet.
During two main-machine communications in same IP subnet, can directly grouping be sent to the other side.To communicate with the main frame of other IP subnet, then must select a router that can arrive on the purpose subnet, give this router grouping, be responsible for the destination is delivered in grouping by router again.So-called grouping is that the data that the user transmits are divided into certain length, and each part is called a grouping.
The route action comprises two substances: seek footpath and forwarding.Seek the footpath and promptly judge the optimal path that arrives the destination, realize by route selection algorithm.In order to judge optimal path, route selection algorithm must start and safeguard the routing table that comprises routing iinformation, and wherein routing iinformation depends on used route selection algorithm and is not quite similar.The different information that route selection algorithm will be collected are inserted in the routing table, can tell router with the relation of purpose network and the next stop (nexthop) according to routing table.Exchange information between router and carry out routing update, the updating maintenance routing table makes it correctly to reflect the change in topology of network, and decides optimal path by router according to measuring.Here it is routing protocol (routing protocol), for example routing information protocol (rip), open type shortest path priority protocol (OSPF) and Border Gateway Protocol (BGP) etc.
Transmit promptly and transmit information along seeking the good optimal path in footpath.Router is at first searched in routing table, distinguishes and whether knows how grouping is sent to next website (router or main frame), if router does not know how to send data, usually this grouping is abandoned; Otherwise just the corresponding list item according to routing table sends to next website with grouping, if the purpose network directly links to each other with router, router is just directly delivered to grouping on the corresponding ports.Routing forwarding agreement that Here it is (routed protocol).
Routing forwarding agreement and routing protocol are to cooperatively interact and separate, the routing table that the former uses the latter to safeguard, and the latter's function that will utilize the former to provide is issued the routing protocol data grouping simultaneously.
Typical Route Selection mode has two kinds: static routing and dynamic routing.
Static routing is the fixing routing table that is provided with in router.Unless network administrator intervention, otherwise static routing can not change.The advantage of static routing is simple, efficient, reliable.
Dynamic routing is the intercommunication of the router in the network, transmits routing iinformation, utilizes the process of the updating route information table of router of receiving.It can adapt to the variation of network configuration in real time.If routing update information shows network change has taken place, routing software will recomputate route, the concurrent routing update information that makes new advances.These information cause that by each network each router restarts its routing algorithm, and renewal routing table separately is dynamically to reflect network topology change.Dynamic routing is applicable to the network that network size is big, network topology is complicated.Certainly, various dynamic routing protocol can take the network bandwidth and cpu resource to some extent.
Program arranging method based on distributed network of the present invention just is based on the data communication process of a node to a plurality of nodes.
More than introduced the basic principle of node communication in the network, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The program arranging method that is used for distributed network of the present invention comprises: preset the destination node allocation list at publisher node, described destination node allocation list comprises the positional information of this destination node and the attribute information of receivable program; Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information; Release process is sent to and described positional information node corresponding; Destination node receives described release process and sends feedback information; In the transmission state table, be provided with and the corresponding transmission state sign of this destination node.
With reference to Fig. 2, Fig. 2 shows the flow chart of steps of program arranging method in accordance with a preferred embodiment of the present invention.Below with reference to Fig. 2 and with reference to Fig. 1 this preferred embodiment of the present invention is described in detail.
In this example, be publisher node with M1, node M 301 and M302 are destination node.Now the program that will issue is deployed to M301 and M302 by M1.
Step 201: preset the destination node allocation list in the publisher node, described destination node allocation list comprises the positional information of this destination node and the attribute information of receivable program.
Stored the positional information of this destination node in the destination node allocation list, determined a node by positional information is can be in network unique.As indicated above, be in network mutual communication between two nodes, need know the other side's IP address.Preferably, described destination node location information is obtained from node configuration data, and this configuration data comprises node number, IP address and the node side slogan of all nodes in the network.In network technology, port (Port) generally has two kinds of implications: the one, and the port on the physical significance, such as, ADSLModem, hub, switch, router are used to connect the interface of other network equipments, as RJ-45 port, SC port or the like; The 2nd, the port on the logical meaning generally is meant the port in the ICP/IP protocol, and the scope of port numbers from 0 to 65535 such as 80 ports that are used for the browsing page service, is used for 21 ports of FTP service or the like.Port of the present invention is meant the port on the logical meaning.Below, we represent the positional information of this node with node number.As shown in Figure 1, in this topology of networks, corresponding its unique node number of each node.Use node number conveniently to be described, but in communication, IP and port numbers that node number finally can be converted into this node correspondence are used for addressing to embodiments of the invention.
Also store the attribute information of this destination node receivable program in the destination node allocation list, preferred, the attribute information of receivable program comprises the product mark of this program.In order to allow announced program continue to keep its vitality, need do further improvement and upgrading to this program, therefore, also just need the new version of this program of issue.Because the effect and the purpose of different nodes there are differences usually in the network, therefore, the program that can move on each node also is not quite similar.Among the present invention, represent the program that a class is independently issued with product mark, and distinguish by version identifier for the different editions of same class method.For example, two programs of operation on node M 301, one is the program P1 that is used for personnel management, another is the program P2 that is used for accounting management, wherein the P1 successively issue two version V1.0 and V1.1, P2 has issued a version V1.0.Utilize product mark and version identifier in the program attribute information can uniquely determine a program.
Need to prove that described product mark is not limited to single data, can also be the combination of several data, as long as this combination can be distinguished different programs, the present invention does not limit this.The destination node allocation list structure that presets in the described publisher node is as follows:
Node number
The program product sign
Step 102: query aim node configuration table, obtain the destination node location information that is complementary with the release process product mark.
After having determined the program that to issue, also just determined simultaneously the attribute information of this program, as the product mark of this program and version identifier etc.Like this, just can be according to the product mark query aim node configuration table of this program, obtain the positional information of the node that this program will dispose.Should understand easily as those of ordinary skill in the art, obtaining destination node location information according to the product mark of release process is preferable methods of the present invention, is implementing to need not be confined to this certainly when of the present invention.For example can also can mate etc. by information matches such as the author of program, affiliated company, tissue and running environment parameters by the combination of several data.
Step 103: release process is sent to and destination node location information node corresponding.
Step 104: destination node receives release process and sends feedback information.
Step 105: in the transmission state table, be provided with and the corresponding transmission state sign of this destination node.
After release process is sent to corresponding destination node, write down the process that described destination node receives this release process by the transmission state sign being set at the transmission state table.Described transmission state table mainly comprises following data:
ID The unique identification of record
Program filename The filename of release process is as word.exe
The program product sign Represent a class method, when the program quantity of issue was more, the product marks that adopt the coding of certain rule as this program as P1 more
The program version sign Being certain version of a class method, is V1.0 as the version identifier of V1.0 representation program P1
Destination node number Receive the node number of the destination node of release process
Transmitting time Whether the zero-time that release process sends by comparing with official hour, can check the reception of this destination node overtime
Transmission state Be in which kind of state after representation program sends: 0 expression destination node is not received release process as yet; 1 expression is received
Preferably, the transmission state table is stored in the publisher node; After publisher node is sent to destination node with release process, be provided with and the corresponding transmission state sign of this destination node at the transmission state table; Publisher node upgrades corresponding transmission state sign in the transmission state table after receiving the feedback information of destination node.Utilize publisher node storage transmission state table, help administrative staff whole deployment is managed concentratedly and monitored.Certainly, where, store in which way, upgrade the transmission state table, the present invention does not limit this.For example, a management node can be set in addition is used for storage, upgrades the transmission state table.After publisher node sends release process, corresponding transmission state sign promptly is set in the transmission state table, like this, can in time check the transmission state of release process easily, certainly, learn that easily publisher node is provided with the transmission state sign again and also is fine after receiving the feedback information of destination node.
By the transmission state table, can reflect each destination node residing state in the process that receives release process exactly.For example, if certain destination node that should receive release process is after the time of overshoot, it does not produce corresponding transmission state record or corresponding transmission state sign still for end in the transmission state table, can think that then this node takes defeat.Administrative staff can resend release process to this node in view of the above, the receiving course that so can effectively guarantee all destination nodes all is among the monitoring, in case receiving course takes place unusual, can in time handle, avoided causing and to download because of the ROMPaq fault in the prior art, caused the inconsistent of each node procedure version.
Preferably, after destination node installs described release process, this destination node location information and program attribute information are sent to publisher node; Publisher node writes down the information of the current working procedure of this destination node in the monitoring nodes table.Like this, administrative staff can check whether the version identifier of each destination node present procedure is up-to-date by the monitoring nodes table, if not, think that then this destination node do not install up-to-date release process as yet, and administrative staff can send notice to this node.Described monitoring nodes table mainly comprises following data:
Memory contents Data declaration
Destination node number The numbering of destination node
The program product sign The product mark of the current working procedure of destination node
The program version sign The version identifier of the current working procedure of destination node
Update time Destination node upgrades the time of release process
In addition, the present invention also can obtain the required data of monitoring nodes table by the following method: the periodic scanning destination node, obtain the attribute information of current working procedure on destination node location information and this node, then above-mentioned destination node location information and program attribute information are stored in the monitoring nodes table.Above-mentioned scanning process can regularly send it back publisher node with scanning result by the monitoring program that resides in each destination node, also can regularly send query requests to obtain corresponding information to each destination node by publisher node.
As can be seen, obtain the required data of monitoring nodes table in which way, the present invention does not limit this, and those skilled in the art can select to use as required.
In the another embodiment of the present invention, publisher node links to each other by agent node with destination node, for example with node M 21 as agent node.Publisher node storage agent node configuration table, described agent node allocation list comprise the positional information of this agent node and the attribute information of this node receivable program; Preset the destination node allocation list in the agent node, described destination node allocation list comprises the positional information of this node and the attribute information of this node receivable program.At first, inquiry proxy node configuration table obtains the agent node positional information that is complementary with the program attribute information that will issue.Then, publisher node is sent to corresponding agent node with release process; After agent node was received program, query aim node configuration table obtained the destination node location information of mating with this program attribute information, and program is sent to this destination node; Destination node sends feedback information after receiving program; At last, in the transmission state table, be provided with and the corresponding transmission state record of this destination node.
Preferably, agent node sends feedback information after receiving release process; In the transmission state table, be provided with and the corresponding transmission state sign of this agent node.
Preferably, also preset the destination node allocation list in publisher node, described destination node allocation list comprises the positional information of this node and the attribute information of this node receivable program; Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information; Release process directly is sent to and described positional information node corresponding.When whether the needs check needs the destination node of reception release process successfully to receive, at first from the destination node allocation list, inquire the target complete node that needs to receive release process, judge one by one then whether this destination node exists corresponding record in the transmission state table, if do not exist, it is unusual to think that then this destination node receives.
In this example, publisher node can directly be sent to destination node with release process; In addition, under the situation that has a large amount of destination nodes, publisher node only needs to be continued to the destination node router by agent node to a spot of several agent node routers.Like this, significantly reduce the heavy burden that publisher node causes to all destination node routers, effectively guaranteed the publisher node normal and stable operation.More than two kinds of deployment way can select a use, also can be used in combination, using when of the present invention, those skilled in the art can select as required.
Preferably, after destination node installs described release process, this destination node location information and program attribute information are sent to publisher node; Publisher node writes down the information of the current working procedure of this destination node in the monitoring nodes table.In addition, the present invention also can pass through the periodic scanning destination node, obtains the attribute information of current working procedure on destination node location information and this node, then above-mentioned destination node location information and program attribute information is stored in the monitoring nodes table.The monitoring nodes table preferably is stored in publisher node, a node can certainly be set in addition be used for storage and management node monitoring form.In actual applications, destination node can also be to the feedback information after agent node send to upgrade, and by agent node storage and management node monitoring form, like this, the work of monitoring nodes is distributed to each agent node, has alleviated the work load of publisher node.
More than, a kind of program arranging method based on distributed network of the present invention has been described in conjunction with specific embodiments.With reference to above relevant introduction of the present invention, as shown in Figure 3, be a kind of program deployment system of the present invention based on distributed network, comprise server 3100 and client 3200, described department server is deployed in publisher node, and described client deployment is at destination node, wherein
Described server comprises:
First memory cell 3106 is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of this destination node and the attribute information of receivable program;
Selected cell 3102 is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
First interface unit 3101 is used for release process is sent to and the corresponding destination node of described positional information;
Unit 3103 is set, is used at the transmission state table transmission state that destination node receives release process being set, described transmission state table is stored in first memory cell 3106;
Described client comprises:
Second interface unit 3201 is used for the program that reception server sends;
Feedback unit 3202 is used to receive behind the release process send feedback information to server.
Preferably, feedback unit also comprises:
Upgrade feedback module 3203, be used for after destination node upgrades, this destination node location information and release process attribute information being sent to server;
Described server also comprises:
Monitor message generation unit 3104 is used in the monitoring nodes table of first memory cell 3106 generating the monitor message of destination node, and described monitor message comprises the positional information of destination node and the attribute information of current working procedure.
Preferably, described server also comprises:
Scanning element 3105 is used for the periodic scanning destination node, obtains the attribute information of current working procedure on destination node location information and this node.
Before the server disposition release process, at first, storage destination node allocation list in first memory cell 3106 of server; Then, the described destination node allocation list of selected cell 3102 inquiries obtains the destination node location information that is complementary with the release process attribute information, and by first interface unit 3101, release process is sent to and the corresponding destination node of described positional information; After the program of server transmission was received in second interface Unit 3201, feedback unit 3202 sent feedback information by the second joint mouthful unit 3201 to server; Unit 3103 is set to be provided with and the corresponding transmission state sign of destination node in the transmission state table after feedback information is received in first segment mouth unit 3101; After destination node upgraded, the destination node location information after renewal feedback module 3203 will upgrade and the attribute information of program were sent to server.In addition, server also can pass through scanning element 3105, and the periodic scanning destination node obtains the attribute information of present procedure on each destination node location information and this node; Monitor message generation unit 3104 is stored in destination node location information and the program attribute information of receiving in the monitoring nodes table as monitor message.
As shown in Figure 4, be another embodiment of a kind of program deployment system based on distributed network of the present invention, comprise server 4100, agency 4200 and client 4300, wherein server 4100 is connected by acting on behalf of 4200 with client 4300, wherein,
Described server 4100 comprises:
First memory cell 4105 is used for storage agent node configuration table, and described agent node allocation list comprises the positional information of this agent node and the attribute information of receivable program;
First selected cell 4104 is used to inquire about described agent node allocation list, obtains the agent node positional information that is complementary with the release process attribute information;
First interface unit 4101 is used for release process is sent to and described agent node positional information node corresponding;
Described agency comprises:
Second memory cell 4203 is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of this destination node and the attribute information of receivable program;
Second selected cell 4202 is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
Second interface unit 4201 is used for release process is sent to and described destination node location information node corresponding;
Described client comprises:
The 3rd interface unit 4301 is used to receive release process;
The 3rd feedback unit 4302 sends feedback information after being used to receive release process;
Described server also comprises:
Unit 4102 is set, is used at the transmission state table transmission state that destination node receives release process being set, described transmission state table is stored in first memory cell 4105.
At first, server obtains the agent node positional information that is complementary with the release process attribute information by first selected cell, 4104 inquiry proxy node configuration tables; Then, by first interface unit 4101 release process is sent to and described agent node positional information node corresponding; After the agency receives release process, by the destination node allocation list in second selected cell, 4202 inquiries, second memory cell 4203, obtain the destination node location information that is complementary with the release process attribute information, and, release process is sent to and described destination node location information node corresponding by second interface unit 4201; After client is received release process, send feedback information to server; After server is received feedback information, in the transmission state table, be provided with and the corresponding transmission state of this destination node,, then generate corresponding record by unit 4102 is set if do not have the corresponding record of this destination node in the transmission state table by unit 4102 is set.
Preferably, first memory cell 4105 has also been stored the destination node allocation list; First selected cell 4104 also comprises destination node selection module 4103; Destination node is selected the destination node allocation list in module 4103 inquiries first memory cell 4105, obtain the destination node location information that is complementary with the release process attribute information, and release process is sent to and described destination node location information node corresponding by first interface unit 4101.
Whether server directly is sent to destination node with release process, can be selected as required to use when enforcement is of the present invention by those skilled in the art.
Preferably, described the 3rd feedback unit 4302 also comprises: upgrade feedback module 4303, be used for after destination node upgrades, the destination node location information after upgrading and the attribute information of program are sent to server 4100; Described server 4100 also comprises: monitor message generation unit 4106, be used for generating in the monitoring nodes table of first memory cell 4105 monitor message of destination node, described monitor message comprises the positional information of destination node and the attribute information of current working procedure.Preferably, server 4100 also comprises scanning element 4107, is used for the periodic scanning destination node, obtains the attribute information of current working procedure on destination node location information and this node
Above-mentioned about not detailed part in the description of system of the present invention, can be referring to the aforementioned relevant portion of this specification.
More than to a kind of program arranging method provided by the present invention, system based on distributed network, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1, a kind of program arranging method based on distributed network is characterized in that, may further comprise the steps:
Preset the destination node allocation list in publisher node, described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information;
According to the described destination node location information that is complementary, release process is sent to and the described corresponding destination node of destination node location information that is complementary;
Described destination node receives described release process and sends feedback information;
In the transmission state table of described publisher node, be provided with and the corresponding transmission state sign of described destination node;
Described publisher node upgrades the corresponding transmission state sign of this destination node in the transmission state table after receiving the feedback information of described destination node transmission;
After destination node upgrades, this destination node location information and the attribute information that upgrades the back program are sent to publisher node;
Destination node location information and program attribute information after upgrading are stored in the monitoring nodes table as monitor message.
2, program arranging method according to claim 1 is characterized in that, also comprises:
The periodic scanning destination node obtains the attribute information of destination node location information and this node present procedure.
3, program arranging method according to claim 1 is characterized in that, described release process attribute information comprises the product mark of this program;
The described destination node location information of obtaining is by query aim node configuration table, obtains the destination node location information that is complementary with described release process product mark.
4, program arranging method according to claim 3 is characterized in that, described release process attribute information also comprises the version identifier of this program.
5, a kind of program arranging method based on distributed network is characterized in that, comprising:
Publisher node links to each other by agent node with destination node;
Preset the agent node allocation list in publisher node, described agent node allocation list comprises the positional information of agent node and the attribute information of agent node receivable program;
Inquire about described agent node allocation list, obtain the agent node positional information that is complementary with the release process attribute information;
According to the described agent node positional information that is complementary, publisher node is sent to release process and the described corresponding agent node of agent node positional information that is complementary;
Preset the destination node allocation list in the described agent node, described destination node allocation list comprises the positional information of destination node and the attribute information of destination node receivable program;
Inquire about described destination node allocation list, obtain the destination node location information that is complementary with the release process attribute information; According to the described destination node location information that is complementary, agent node is sent to the release process of receiving and the described corresponding destination node of destination node location information that is complementary;
Destination node and agent node receive described release process and send feedback information;
In the transmission state table, be provided with and this destination node and the corresponding transmission state sign of agent node;
After destination node upgraded, the attribute information with this destination node location information and renewal back program was sent to publisher node by agent node;
Destination node location information after upgrading and program attribute information as monitor message, are stored in the monitoring nodes table.
6, program arranging method according to claim 5 is characterized in that, also comprises:
The periodic scanning destination node obtains the attribute information of destination node location information and this node present procedure.
7, program arranging method according to claim 5 is characterized in that, described release process attribute information comprises the product mark of this program;
The described agent node positional information of obtaining is by inquiry proxy node configuration table, obtains the agent node positional information that is complementary with described release process product mark;
The described destination node location information of obtaining is by query aim node configuration table, obtains the destination node location information that is complementary with described release process product mark.
8, program arranging method according to claim 7 is characterized in that, described release process attribute information also comprises the version identifier of this program.
9, a kind of program deployment system based on distributed network is characterized in that, comprises the server and client side, wherein,
Described server comprises:
First memory cell is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Selected cell is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
First interface unit is used for the destination node location information that is complementary according to described, and release process is sent to and the described corresponding destination node of destination node location information that is complementary;
The unit is set, is used at the transmission state table transmission state that destination node receives release process being set, described transmission state table is stored in described first memory cell;
The monitor message generation unit is used in the monitoring nodes table of first memory cell generating the monitor message of destination node, and described monitor message comprises the destination node location information after the renewal and the attribute information of program;
Described client deployment comprises at destination node:
Second interface unit is used for the release process that reception server sends;
Feedback unit is used for sending feedback information to server after receiving release process;
Described feedback unit also comprises:
Upgrade feedback module, be used for after destination node upgrades, the destination node location information after upgrading and the attribute information of program are sent to server.
10, program deployment system according to claim 9 is characterized in that, described server also comprises:
Scanning element is used for the periodic scanning destination node, obtains the attribute information of current working procedure on destination node location information and this node.
11, a kind of program deployment system based on distributed network is characterized in that, comprises server, agency and client, and described server and client side links to each other by the agency, wherein,
Described server comprises:
First memory cell is used for storage agent node configuration table, and described agent node allocation list comprises the positional information of this agent node and the attribute information of receivable program;
First selected cell is used to inquire about described agent node allocation list, obtains the agent node positional information that is complementary with the release process attribute information;
First interface unit is used for the agent node positional information that is complementary according to described, and release process is sent to and the described corresponding agent node of agent node positional information that is complementary;
Described agency comprises:
Second memory cell is used to store the destination node allocation list, and described destination node allocation list comprises the positional information of destination node and the attribute information of receivable program;
Second selected cell is used to inquire about described destination node allocation list, obtains the destination node location information that is complementary with the release process attribute information;
Second interface unit is used for the destination node location information that is complementary according to described, and the release process of receiving is sent to and the described corresponding destination node of destination node location information that is complementary;
Second feedback unit sends feedback information after being used to receive release process;
Described client deployment comprises at destination node:
The 3rd interface unit is used to receive release process;
The 3rd feedback unit sends feedback information after being used to receive release process;
Described the 3rd feedback unit also comprises:
Upgrade feedback unit, be used for after destination node upgrades, the destination node location information after upgrading and the attribute information of program are sent to server;
Described server also comprises:
The unit is set, is used for being provided with at the transmission state table transmission state of destination node and agent node reception release process, described transmission state table is stored in first memory cell;
The monitor message generation unit is used in the monitoring nodes table of first memory cell generating the monitor message of destination node, and described monitor message comprises the positional information of the destination node after the renewal and the attribute information of current working procedure.
12, program deployment system according to claim 11 is characterized in that, described server also comprises:
Scanning element is used for the periodic scanning destination node, obtains the attribute information of current working procedure on destination node location information and this node.
CNB2006101706402A 2006-12-22 2006-12-22 Program arranging method and system based on distributing network Active CN100479367C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101706402A CN100479367C (en) 2006-12-22 2006-12-22 Program arranging method and system based on distributing network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101706402A CN100479367C (en) 2006-12-22 2006-12-22 Program arranging method and system based on distributing network

Publications (2)

Publication Number Publication Date
CN1976289A CN1976289A (en) 2007-06-06
CN100479367C true CN100479367C (en) 2009-04-15

Family

ID=38126100

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101706402A Active CN100479367C (en) 2006-12-22 2006-12-22 Program arranging method and system based on distributing network

Country Status (1)

Country Link
CN (1) CN100479367C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252506B (en) * 2007-12-29 2012-07-04 中国建设银行股份有限公司 Data transmission system
CN104243603B (en) * 2012-05-29 2017-09-19 北京奇虎科技有限公司 Formation gathering method, node server and the data-storage system of business external member
CN102685247B (en) * 2012-05-29 2014-11-05 北京奇虎科技有限公司 Business suite information collection method, node servers and data storage system
CN103902299B (en) * 2012-12-24 2017-03-29 航天信息股份有限公司 A kind of update method and system of software version
CN103338121B (en) * 2013-06-13 2016-08-10 北京奇虎科技有限公司 A kind of system management server, method and system thereof
CN103475521B (en) * 2013-09-10 2016-11-16 杭州华为数字技术有限公司 A kind of method and apparatus of deployment server
CN109062633A (en) * 2018-07-31 2018-12-21 郑州合撷亨商贸有限公司 A method of realizing multistage wireless asynchronous refresh configurator
CN115509727A (en) * 2021-06-07 2022-12-23 贵州白山云科技股份有限公司 Service code processing method, device, equipment and medium based on distributed network
CN114356426A (en) * 2022-01-05 2022-04-15 中国建设银行股份有限公司 Agent technology-based system initialization method and related device

Also Published As

Publication number Publication date
CN1976289A (en) 2007-06-06

Similar Documents

Publication Publication Date Title
CN100479367C (en) Program arranging method and system based on distributing network
JP4851595B2 (en) Method for logical deployment, undeployment, and monitoring of a target IP network
JP4647234B2 (en) Method and apparatus for discovering network devices
US6684241B1 (en) Apparatus and method of configuring a network device
US7065562B2 (en) System and method for generating a representation of a configuration schema
CN108989066B (en) Equipment management method and device
JP4509916B2 (en) SNMP-based network management apparatus and method
US20140355415A1 (en) Semi-centralized routing
US20050265342A1 (en) System and method for transforming configuration commands
CN102959910A (en) Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel
CN104965726A (en) Configuration updating method, apparatus and system
CN108809732B (en) Software defined metropolitan area network control system
CN102447582A (en) Resource synchronization method and device
US8948178B2 (en) Network clustering
CN103825826B (en) The implementation method and device of a kind of dynamic routing
CN103001891A (en) Method for promoting integral service quality of local area network
CN111417037A (en) Management and control system of optical transport network
CN115623000A (en) Method and device for efficiently distributing data on digital network
CN104350704A (en) Self-configuring transport network
CN105187225A (en) Method and system for multi-domain heterogeneous interconnected network management based on PCE (path computation element)
CN115514696A (en) Method, device and equipment for transmitting computing power resource information
CN104158736A (en) Method and apparatus for determining next hop, and method and apparatus for issuing router information
CN101404594A (en) Hot backup performance test method and apparatus, communication equipment
EP1479192B1 (en) Method and apparatus for managing configuration of a network
CN103873372A (en) Domain-name-based policy routing system and setting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant