Summary of the invention
The embodiment of the present application provides a kind of control system, method and relevant device, reduces the business device waiting time, mentions
High file destination obtains efficiency.
The application first aspect provides a kind of control system, including address allocating device, multiple business devices and multiple
Control equipment;Wherein, address allocating device is other processors in the network equipment in addition to controlling equipment;
The address allocating device is set for the attribute information according to the multiple control equipment from the multiple control
It is respectively that business device distributes corresponding first object equipment, and sends corresponding first mesh to the business device in standby
The address of marking device, wherein the assigned first object equipment of at least two business devices is different;
The business device is stored for being obtained in the first object equipment according to the address of the first object equipment
File destination.
In above-mentioned control system, due to all corresponding first object equipment of business device be not it is same,
Business device can from least two control equipment obtain file destinations, compared with the prior art in all business devices from same
One control equipment obtains for the method for file destination, in control system provided by the embodiments of the present application, is set by multiple controls
It is standby to provide file destination simultaneously for multiple business devices, in the limited situation of ability of control equipment parallel data processing, industry
Business equipment can obtain file destination by other control equipment, reduce the business device waiting time, improve business device and obtain
Take the efficiency of file destination.
In some possible embodiments, the attribute information includes the multiple control equipment and the multiple business
Connection relationship between equipment, the connection relationship include being directly connected to and being indirectly connected with.
In the embodiment of the present application, attribute information may include the connection between multiple control equipment and multiple business devices
Relationship, so that address allocating device can be multiple according to the connection relationship between multiple control equipment and multiple business devices
Business device distributes corresponding first object equipment, therefore, can simplify leading to for business device and corresponding first object equipment
Believe path, improves communication efficiency.
In some possible embodiments, the attribute information includes that the subordinate between the multiple control equipment is closed
System.
In the embodiment of the present application, attribute information may include the subordinate relation between multiple control equipment, so as to address
Distributing equipment can distribute corresponding first object for multiple business devices and set according to the subordinate relation between multiple control equipment
Standby, this is because subordinate relation can reflect occupied resource quantity, such as subordinate controls the occupied resource data of equipment
It is usually less, therefore, the influence of the control equipment more to occupied resource data can be reduced.
In some possible embodiments, the attribute information includes the multiple control equipment currently occupied money
The resource quantity of source quantity and/or current idle.
In the embodiment of the present application, attribute information may include multiple control equipment currently occupied resource quantity and/
Or the resource quantity of current idle, so that address allocating device can be according to the current occupied resource quantity of multiple control equipment
And/or the resource data of current idle, corresponding first object equipment is distributed for multiple business devices, this is because control is set
The ability of standby parallel data processing is limited, when currently occupied resource data is more for control equipment, has no ability to locate simultaneously
The data of the business device of more multiple connections are managed, therefore carry out the distribution of control equipment according to occupied resource quantity, favorably
In raising data-handling efficiency.
In some possible embodiments, the first object equipment, for sending the mesh to the business device
Mark the check code of file;
The business device is also used to verify the file destination according to the check code of the file destination.
In the embodiment of the present application, by verifying to file destination, it can determine that file destination whether there is damage,
This is because there is the file destination of damage generally can not use, the reacquisition of file destination can be carried out at this time, therefore, to mesh
Mark file is verified, and the accuracy of file destination acquisition can be improved.
In some possible embodiments,
The business device, it is obstructed out-of-date to be also used to verify in the file destination, sends to the address allocating device
Request is divided in address again;
Request is divided in the address allocating device, the address for being also used to receive business device transmission again;According to address weight
Divide request and the attribute information is from the control equipment in addition to the matched first object equipment of the business device
The business device matches corresponding second target device, and the ground of second target device is sent to the business device
Location obtains the mesh for being stored in second target device so that the business device is according to the address of second target device
Mark file.
In the embodiment of the present application, if file destination verification does not pass through, illustrate that file destination has damage, in order to obtain
Whole file destination, business device can send address to address allocating device and divide request again, so that address allocating device is industry
Business equipment redistributes corresponding second target device, so that business device can re-start the acquisition of file destination, improves
The accuracy that file destination obtains.
In some possible embodiments,
The business device, specifically for being sent according to the address of the first object equipment to the first object equipment
Listed files acquisition request;
The first object equipment, be specifically used for according to the listed files acquisition request to the business device send pair
The listed files answered carries the file identification of the file of the first object equipment storage in the listed files;
The business device is specifically also used to according to the file identification and the business carried in the listed files
The file identification of the file of equipment storage determines the file identification of file destination, and sends file to the first object equipment
Acquisition request carries the file identification of the file destination in file acquisition request;
The first object equipment, is specifically also used to the file identification according to the file destination, from the first object
The file destination is determined in the file stored in equipment, and sends the file destination to the business device.
In the embodiment of the present application, first object equipment first can send listed files to business device, so that business is set
It is standby to determine file destination, in this way, the process that business device obtains unnecessary file from first object equipment can be saved, thus
Data resource is saved, file destination efficiency is improved.
In some possible embodiments, the control equipment includes control panel, and the business device includes interface board.
The application second aspect provides a kind of control system, including multiple business devices and multiple control equipment, described
Multiple control equipment include address allocating device;
The address allocating device is set for the attribute information according to the multiple control equipment from the multiple control
It is respectively that business device distributes corresponding first object equipment, and sends corresponding first mesh to the business device in standby
The address of marking device, wherein the assigned first object equipment of at least two business devices is different;
The business device is stored for being obtained in the first object equipment according to the address of the first object equipment
File destination.
In some possible embodiments, the attribute information includes the multiple control equipment and the multiple business
Connection relationship between equipment, the connection relationship include being directly connected to and being indirectly connected with.
In some possible embodiments, the attribute information includes that the subordinate between the multiple control equipment is closed
System.
In some possible embodiments, the attribute information includes the multiple control equipment currently occupied money
The resource quantity of source quantity and/or current idle.
In some possible embodiments,
The first object equipment, for sending the check code of the file destination to the business device;
The business device is also used to verify the file destination according to the check code of the file destination.
In some possible embodiments,
The business device, it is obstructed out-of-date to be also used to verify in the file destination, sends to the address allocating device
Request is divided in address again;
Request is divided in the address allocating device, the address for being also used to receive business device transmission again;According to address weight
Divide request and the attribute information is from the control equipment in addition to the matched first object equipment of the business device
The business device matches corresponding second target device, and the ground of second target device is sent to the business device
Location obtains the mesh for being stored in second target device so that the business device is according to the address of second target device
Mark file.
In some possible embodiments,
The business device, specifically for being sent according to the address of the first object equipment to the first object equipment
Listed files acquisition request;
The first object equipment, be specifically used for according to the listed files acquisition request to the business device send pair
The listed files answered carries the file identification of the file of the first object equipment storage in the listed files;
The business device is specifically also used to according to the file identification and the business carried in the listed files
The file identification of the file of equipment storage determines the file identification of file destination, and sends file to the first object equipment
Acquisition request carries the file identification of the file destination in file acquisition request;
The first object equipment, is specifically also used to the file identification according to the file destination, from the first object
The file destination is determined in the file stored in equipment, and sends the file destination to the business device.
In some possible embodiments, the control equipment includes control panel, and the business device includes interface board.
The application third aspect provides a kind of control method, which comprises
Obtain address and the attribute information of multiple control equipment;
It is respectively business device distribution from the multiple control equipment according to the attribute information of the multiple control equipment
Corresponding first object equipment, and the address of the corresponding first object equipment is sent to the business device, so as to described
Business device obtains the target for being stored in the first object equipment according to the address of corresponding first object equipment
File, wherein the assigned first object equipment of at least two business devices is different.
In some possible embodiments, the attribute information includes the multiple control equipment and the multiple business
Connection relationship between equipment, the connection relationship include being directly connected to and being indirectly connected with.
In some possible embodiments, the attribute information includes that the subordinate between the multiple control equipment is closed
System.
In some possible embodiments, the attribute information includes the multiple control equipment currently occupied money
The resource quantity of source quantity and/or current idle.
In some possible embodiments, the address for obtaining multiple control equipment and attribute information include:
The address assignment request that the business device is sent is responded, obtains address and the attribute letter of multiple control equipment in real time
Breath.
In some possible embodiments, the method also includes:
It receives the address that business device is sent and divides request again;
Divide request and the attribute information again according to the address, is set from removing with the matched first object of the business device
In control equipment except standby, corresponding second target device is matched for the business device, and send to the business device
The address of second target device, so that the business device is according to the address of second target device, acquisition is stored in
The file destination of second target device.
In some possible embodiments, the control equipment includes control panel, and the business device includes interface board.
The application fourth aspect provides a kind of control device, and described device includes:
Information acquisition unit, for obtaining address and the attribute information of multiple control equipment;
First object equipment allocation unit, for the attribute information according to the multiple control equipment, from the multiple control
In control equipment it is respectively that business device distributes corresponding first object equipment, and sends described corresponding the to the business device
The address of one target device, so that the business device is according to the address of corresponding first object equipment, acquisition is deposited
Store up the file destination in the first object equipment, wherein the assigned first object equipment of at least two business devices
It is different.
In some possible embodiments, the attribute information includes the multiple control equipment and the multiple business
Connection relationship between equipment, the connection relationship include being directly connected to and being indirectly connected with.
In some possible embodiments, the attribute information includes that the subordinate between the multiple control equipment is closed
System.
In some possible embodiments, the attribute information includes the multiple control equipment currently occupied money
The resource quantity of source quantity and/or current idle.
In some possible embodiments, the information acquisition unit is specifically used for:
The address assignment request that the business device is sent is responded, obtains address and the attribute letter of multiple control equipment in real time
Breath.
In some possible embodiments, described device further include:
Request is divided in request reception unit, the address for receiving business device transmission again;
Second target device allocation unit, for divided again according to the address request and the attribute information, from remove and institute
It states in the control equipment except the matched first object equipment of business device, matches corresponding second target for the business device
Equipment, and the address of second target device is sent to the business device, so that the business device is according to described second
The address of target device obtains the file destination for being stored in second target device.
In some possible embodiments, the control equipment includes control panel, and the business device includes interface board.
The 5th aspect of the application provides a kind of control equipment, and the equipment includes: processor and memory;
The memory, for storing instruction;
The processor executes the control that the application third aspect provides for executing the described instruction in the memory
Method processed.
The 6th aspect of the application provides a kind of computer readable storage medium, including instruction, when it is transported on computers
When row, so that computer executes the control method of the application third aspect offer.
The 7th aspect of the application provides a kind of computer program product comprising instruction, when it runs on computers
When, so that computer executes the control method of the application third aspect offer.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In control system provided by the embodiments of the present application, method and relevant device, business device can be set from multiple controls
Standby middle acquisition file destination, to be set in the limited situation of ability of control equipment parallel data processing by multiple controls
It is standby to provide file destination simultaneously, to improve the acquisition efficiency of file destination.Specifically, the attribute of multiple control equipment can be passed through
Information distributes corresponding first object equipment for business device, and the assigned first object of wherein at least two business device is set
Standby different, business device can obtain file destination from corresponding first object equipment.Since all business devices are corresponding
First object equipment is not same, therefore business device can obtain file destination from least two control equipment, compared to
All business devices obtain for the method for file destination from same control equipment in the prior art, and the embodiment of the present application provides
Scheme in, for multiple business devices file destination is provided simultaneously by multiple control equipment, in control equipment parallel processing number
According to the limited situation of ability under, business device can obtain file destination by other control equipment, reduce business device
Waiting time improves the efficiency that business device obtains file destination.
Specific embodiment
The embodiment of the present application provides a kind of control method, device and relevant device, obtains mesh for improving business device
The efficiency of file is marked, the business device waiting time is reduced.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
Current business device during startup or operation, can obtain the mesh stored in control equipment to control equipment
File is marked, for example can be the software documents such as service packs to carry out normal starting or operation, the file destination of business device,
It can be other file destinations.However, it is generally the case that the ability for controlling the parallel data processing of equipment is limited, if having simultaneously
Multiple business devices obtain file destination from a control equipment, cause the file destination download efficiency of business device low, example
Cause speed of download slow as obtained multiple file destinations simultaneously, or the quantity for the file destination for needing to obtain is excessive, leads to one
A little business devices need waiting etc..For example, 20 business devices are provided in the network equipment, if control equipment can be with
It supports 5 business devices to obtain file destination from the control equipment simultaneously, then obtains the same of file destination in this 5 business devices
When, in addition 15 business devices carry out the acquisition for waiting the long period to be just able to achieve file destination.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of control system, method and relevant device, industry
Equipment of being engaged in can obtain file destination from multiple control equipment, thus in the limited feelings of ability of control equipment parallel data processing
Under condition, file destination is provided simultaneously by multiple control equipment, to improve the acquisition efficiency of file destination.Specifically, can lead to
The address for obtaining multiple control equipment and attribute information are crossed, distributes corresponding first object equipment for business device, wherein at least
The assigned first object equipment of two business devices is different, and business device can obtain target from corresponding first object equipment
File.Due to all corresponding first object equipment of business device be not it is same, business device can be from least two
A control equipment obtains file destination, compared with the prior art in all business devices to obtain target from same control equipment literary
It is simultaneously multiple business devices by multiple control equipment in control system provided by the embodiments of the present application for the method for part
File destination is provided, in the limited situation of ability of control equipment parallel data processing, business device can be controlled by other
Control equipment obtains file destination, reduces the business device waiting time, improves the efficiency that business device obtains file destination.Citing
For, 20 business devices are provided in the network equipment, if a control equipment can support 5 business devices from the control simultaneously
Control equipment obtains file destination, if then this 20 business devices from two control equipment while obtaining file destination, each control
Equipment is corresponding with 5 business devices and is obtaining file destination, and has 5 business devices waiting file destination to be obtained, because
This reduces the waiting time of business device, if this 20 business devices obtain file destination simultaneously from four control equipment,
Each control equipment is corresponding with 5 business devices and is obtaining file destination, therefore does not need to be waited, and target can be realized
The acquisition of file.
With reference to the accompanying drawing, a kind of control system provided by the embodiments of the present application is described in detail.With reference to Fig. 1 institute
Show, be a kind of structural block diagram of control system provided by the embodiments of the present application, which may include: address distribution
Equipment 101, multiple business devices 102 and multiple control equipment 103.
Control equipment 103 can be the equipment issued in the network equipment for data processing and instruction, such as computer, friendship
It changes planes, the processor in the network equipments such as router and gateway, specifically, can be central processing unit or microprocessor etc..Control
Control equipment 103 can exist in integrated circuit form, at this point, control equipment 103 can be master control borad.
Business device 102 is the equipment of instruction for executing control equipment 103 and issuing, such as can be and be used for and external equipment
The interface equipment being attached, business device 102 can also exist in integrated circuit form, at this point, business device 102 can be with
For interface board LPU or cross board etc..
It can have connection relationship between control equipment 103 and business device 102, which may include directly connecting
It connects and is indirectly connected with.Specifically, if control equipment 103 and business device 102 can be with direct communications, it may be considered that the control is set
It is directly connected to for 103 and business device 102, if control equipment 103 and business device 102 are unable to direct communication, it can be passed through
He realizes communication at equipment, it may be considered that the control equipment 103 and business device 102 are indirectly connected with.For example, with reference to Fig. 2
It is shown, it is the connection relationship diagram that equipment and business device are controlled in the embodiment of the present application.Wherein, the first control equipment and the
Two control equipment can be direct with the first business device, the second business device, third business device and the 4th business device respectively
Communication, then first control equipment and second control equipment respectively with the first business device, the second business device, third business device
It is directly connected to the 4th business device, and third control equipment can be direct with the first control equipment and the second control equipment respectively
Communication, then third control equipment can by first control equipment or second control equipment respectively with the first business device, second
Business device, third business device and the 4th business device realize communication, then third control equipment and the first business device, second
Business device, third business device and the 4th business device are indirectly connected with.
It can have in subordinate relation, such as consolidated network equipment between multiple control equipment 103, may exist primary control
Control equipment and backup control equipment.Under normal conditions, the processing of data and issuing for instruction are executed by primary control equipment, in master
When being broken down with control equipment, there can be backup control equipment to replace primary control equipment, execute the processing and instruction of data
Issue.At this point, backup control equipment is the slave of primary control equipment.
It is usually relationship arranged side by side between multiple business devices 102, executes the instruction that control equipment 103 issues respectively, with
For interface board, different interface boards can connect different external equipments, can be mutually indepedent between multiple interface boards.
As an example, the embodiment of the present application provides a kind of interactive network equipment, refering to what is shown in Fig. 3, the network
It include 2 cluster center frames (cluster central chassis, CCC) and 8 cluster Cluster Line-card Chassis (cluster in equipment
Line-card chassis, CLC), wherein cluster center frame can be managed and realize to cluster Cluster Line-card Chassis and cluster line
The data exchange of card frame.Cluster Cluster Line-card Chassis includes 2 MPU plates and 16 pieces of line processing units, wherein 2 MPU plates are cluster line card respectively
The main control board of frame and the slave control board of cluster Cluster Line-card Chassis, 16 line processing units are as interface board, for connecting external equipment;
It also include 2 MPU plates and 8 ECU boards in the frame of cluster center, wherein primary master control of 2 MPU respectively as cluster center frame
The slave control board of plate and cluster center frame, 8 ECU are as interface board, for connecting the external equipment including cluster Cluster Line-card Chassis.
Address allocating device 101 can be control equipment 103, be also possible in the network equipment in addition to controlling equipment 103
Other processors.That is, address allocating device 101 may include that can not also include in multiple control equipment 103
In multiple control equipment 103.Operation package manager (running package can be deployed on address allocating device 101
Manager, RPM), address allocating device 101 can realize that address is distributed by operation package manager.
Address allocating device 101 can be used for the attribute information according to multiple control equipment 103, from multiple control equipment
It is respectively that business device 102 distributes corresponding first object equipment in 103.Wherein, the attribute information for controlling equipment 103 can wrap
Include connection relationship, the multiple subordinate relation controlled between equipment 103, multiple controls between control equipment 103 and business device 102
Control equipment 103 current at least one of occupied resource quantity and/or the resource quantity of current idle.
Wherein, it controls between the connection relationship and multiple control equipment 103 between equipment 103 and business device 102
Subordinate relation can refer to above description, and details are not described herein.
Wherein, multiple current occupied resource quantities of control equipment 103 refer to the unavailable resource of current control equipment 103
Quantity can be control equipment 103 to business device and send the resource quantity that file destination occupies, and be also possible to control equipment
103 operation program process in occupied resource quantity, can also be occupied resource quantity in the case of other, herein not
It limits.The quantity of control equipment 103 current occupied resource quantity and the business device communicated with control equipment 103
Correlation, in addition it is also related to the quantity of other equipment that control equipment 103 is communicated.It is current occupied to control equipment 103
Resource quantity can be characterized by control 103 bottom chain circuit message amount of equipment, can also be accounted for the bandwidth of control equipment 103
It is characterized with situation or thread occupancy situation.
Wherein, the resource quantity for controlling 103 current idle of equipment refers to the available resources quantity of current control equipment 103, can
To be determined by the total resources quantity of control equipment 103 and current occupied resource quantity.Control 103 current idle of equipment
Resource quantity controls the characteristic manner of the resource quantity of 103 current idle of equipment, can be with the current occupied money of control equipment 103
Source quantity is similar, such as can be by controlling the achievable bottom chain circuit message amount of equipment 103 and having used bottom chain circuit message amount
Characterization can also be characterized by the bandwidth idle condition or thread idle condition for controlling equipment 103.Property as an example, control
The total bandwidth of control equipment 103 is 10M, and current occupied bandwidth is 5M, then the bandwidth of current idle is 5M.Alternatively
Exemplary, a control equipment can have up to 10 thread parallels and send file destination to 10 business devices, current occupied
Thread is 5, then the thread of current idle is 5.
Address allocating device 101 is distinguished from multiple control equipment 103 according to the attribute information of multiple control equipment 103
The detailed process of corresponding first object equipment is distributed for business device 102, can be determined according to different attribute informations.
As a kind of possible embodiment, if the attribute information of multiple control equipment 103 only includes multiple control equipment
When connection relationship between 103 and business device 102, address allocating device 101 can be according to multiple control equipment 103 and business
Connection relationship between equipment 102 is respectively that business device 102 distributes corresponding first object from multiple control equipment 103
Equipment.As a kind of possible implementation, address allocating device 101 can be preferably that business device 102 distributes connection relationship
Closer control equipment is as the corresponding first object equipment of business device 102, to simplify business device 102 and corresponding first
The communication path of target device, improve communication efficiency, such as can using the control equipment being directly connected to business device 102 as
First object equipment.
As another possible embodiment, if the attribute information of multiple control equipment 103 includes multiple control equipment
Subordinate relation between 103, then address allocating device 101 can be according to the subordinate relation between multiple control equipment 103, from more
It is respectively that business device 102 distributes corresponding first object equipment in a control equipment 103.As a kind of possible realization side
Formula, address allocating device 101 can be preferably that the distribution subordinate control equipment of business device 102 is corresponding as business device 102
First object equipment, this is because subordinate control equipment is usually not used to handle other affairs, occupied resource quantity is usual
It is less, using subordinate control equipment as the corresponding first object equipment of business device 102, it is connect with reducing with first object equipment
Influence to primary control equipment, such as can be using backup control equipment as the corresponding first object equipment of business device 102.
As another possible embodiment, if the attribute information of multiple control equipment 103 includes multiple control equipment
103 current occupied resource quantities, then address allocating device 101 can be current occupied according to multiple control equipment 103
Resource quantity is respectively that business device 102 distributes corresponding first object equipment from multiple control equipment 103.Such as address
Distributing equipment 101 can be preferably that business device 102 distributes current occupied resource quantity less control equipment, as industry
The business corresponding first object equipment of equipment 102.
As another possible embodiment, if the attribute information of multiple control equipment 103 includes multiple control equipment
The resource quantity of 103 current idles, then address allocating device 101 can be according to the resource of multiple control 103 current idles of equipment
Quantity is respectively that business device 102 distributes corresponding first object equipment from multiple control equipment 103.Such as address distribution
Equipment 101 can be preferably the more control equipment of the resource quantity of the distribution current idle of business device 102, as business device
102 corresponding first object equipment.
Certainly, the attribute information of multiple control equipment 103 also may include: multiple control equipment 103 and business device 102
Between connection relationship and it is multiple control equipment 103 between two kinds of subordinate relation.At this point, 101 basis of address allocating device
The attribute information of multiple control equipment 103 is respectively that business device 102 distributes corresponding first from multiple control equipment 103
Target device, can be with specifically: address allocating device 101 is from multiple control equipment 103, the determining company with business device 102
It is relatively close and be the control equipment of backup control equipment to connect relationship, as the corresponding first object equipment of business device 102, such as can
To determine with slave control board that business device 102 is directly connected to as the corresponding first object equipment of business device 102.
Certainly, the attribute information of multiple control equipment 103 can also include: multiple control equipment 103 and business device 102
Between current two kinds of the occupied resource quantity of connection relationship and multiple control equipment 103.At this point, address allocating device
101 according to multiple attribute informations for controlling equipment 103, are respectively that the distribution of business device 102 is corresponded to from multiple control equipment 103
First object equipment, can be with specifically: address allocating device 101 is from multiple control equipment 103, determining and business device
The less control equipment of the relatively close and current occupied resource quantity of 102 connection relationship, as business device 102 corresponding the
One target device, such as the slave control board being directly connected to business device 102, usual occupied resource quantity is less, and
It is closer with the connection relationship of business device 102, therefore can be used as the corresponding first object equipment of business device 102.
The combination of a variety of attribute informations of multiple control equipment 103 is enumerated above, it is to be understood that in the application reality
It applies in example, the attribute information of multiple control equipment 103 can also include other combinations of above-mentioned four attribute information, correspond to every
Kind combination, the feature that address allocating device 101 can be based on each attribute information determines, herein without illustrating one by one
It is bright.
It should be noted that in the embodiment of the present application, the assigned first object equipment of at least two business devices 102
It is different, that is to say, that all business devices 102 do not correspond to same control equipment.
Address allocating device 101 can also be controlled before distributing corresponding first object equipment for business device 102
The acquisition of the attribute information of control equipment 103.The attribute information for obtaining multiple control equipment 103, can be specifically, to multiple controls
Equipment 103 sends attribute information inquiry request, receives the respective attribute information that multiple control equipment 103 are sent.It is understood that
If attribute information is that the connection relationship or multiple controls between multiple control equipment 103 and multiple business devices 102 are set
When the static informations such as the subordinate relation between standby 103, the attribute informations of multiple control equipment 103 are obtained, it can also be with specifically: pre-
The attribute information for first storing multiple control equipment 103 searches the attribute information of multiple control equipment 103.
In the embodiment of the present application, before the attribute information for obtaining multiple control equipment 103, the business that can also receive is set
Standby 102 address assignment requests sent.Therefore, the attribute informations for obtaining multiple control equipment 103, can be with specifically: response industry
The address assignment request that equipment 102 of being engaged in is sent obtains the attribute information of multiple control equipment 103 in real time.
Address allocating device 101 can also be controlled before distributing corresponding first object equipment for business device 102
The acquisition of the address of control equipment 103.The address of multiple control equipment 103 can be the physical address of multiple control equipment 103,
For realizing the communication of control equipment 103 and other equipment.Specifically, address lookup can be sent to multiple control equipment 103
Request receives the respective address that multiple control equipment 103 are sent, the address of multiple control equipment 103 can also be stored in advance.
The attribute informations for obtaining multiple control equipment 103, can also be with specifically: the address assignment request that response business device 102 is sent,
The address of multiple control equipment 103 is obtained in real time.It is described more in order to realize the purpose for obtaining file destination to control equipment 103
The physical address of a control equipment 103 includes the address for wherein storing file destination.
Address allocating device 101 can be set after distributing corresponding first object equipment for business device 102 to business
Standby 102 send the address of corresponding first object equipment.Specifically, can first be searched from the address of multiple control equipment 103
The address of first object equipment, then to business device 102 send first object equipment address.It should be understood that if address point
It is indirectly connected with equipment 101 and business device 102, then address allocating device 101 can be by being directly connected to business device 102
Other equipment, receive the address assignment request that business device 102 is sent, and send corresponding first to business device 102
The address of target device.
Business device 102 can be used for after receiving the address of first object equipment of the transmission of address allocating device 101,
According to the address of corresponding first object equipment, the file destination for being stored in first object equipment is obtained.
As a kind of possible file destination acquisition modes, refering to what is shown in Fig. 4, business device is according to corresponding first object
The address of equipment obtains and is stored in the file destination of first object equipment, can be with specifically: (1) business device is according to the first mesh
The address of marking device sends file acquisition request to first object equipment, includes wherein file destination in file acquisition request
File identification;(2) first object equipment according to file acquisition request in file destination file identification, to business device send
Corresponding file destination.
As alternatively possible file destination acquisition modes, refering to what is shown in Fig. 5, business device is according to corresponding first mesh
The address of marking device obtains and is stored in the file destination of first object equipment, can be with specifically: (1) business device is according to first
The address of target device sends listed files acquisition request to first object equipment;(2) first object equipment is according to listed files
Acquisition request sends the listed files of storage to business device, and the storage of first object equipment is wherein carried in listed files
The file identification of file;(3) file that business device is stored according to the file identification and business device carried in listed files
Mark, determines the file identification of file destination, sends file acquisition request to first object equipment, wherein in file acquisition request
Carry the file identification of file destination;(4) first object equipment is according to the text of the file destination in file destination acquisition request
Part mark determines file destination, and sends corresponding file destination to business device.
In addition, in order to improve the accuracy of file destination acquisition, business device 102 can be also used for getting target text
After part, the file destination of acquisition is verified.Specifically, can be deployed with operation on business device 102 assures the local clothes of reason
It is engaged in (RPM local server, RPMLS).By the verification to file destination, the availability of file destination can be determined, so as to
In the case where file destination damage, available file destination is obtained in time, in order to avoid the target for the damage that business device 102 obtains
File influences use of the business device to file destination.
Business device 102 can be also used for obtaining target from first object equipment before verifying file destination
The check code of file, wherein the check code of file destination is for detecting whether file destination occurs mistake in transmission process.School
Testing code can be Hash (HASH) value, or other forms, such as digital signature or Message Digest 5 (message
Digest algorithm, MD) the 5th edition (MD5) etc., it is not limited here.
Correspondingly, first object equipment is used to send the check code of file destination to business device 102, specifically, first
Target device can send the check code or first object of each file when sending listed files to business device simultaneously
Equipment can send the check code or the first mesh of each file destination when sending file destination to business device 102 simultaneously
Marking device can individually send the check code of file destination to business device 102.
Business device 102 can be also used for the verification according to file destination after the file destination and its check code of acquisition
Verification of the code to file destination.Specifically, the check code of file destination can be generated according to file destination, judge from first object
Equipment obtain check code and according to file destination generate check code it is whether identical, if they are the same, illustrating file destination obtain just
Really, then verification passes through, if it is different, illustrating that file destination obtains mistake, then verifies and does not pass through.Such as it can be from first object equipment
The first HASH value of file destination is obtained, and generates the 2nd HASH value of file destination according to the file destination of acquisition, if from the
One HASH value is different with the 2nd HASH value, then illustrates that mistake occurs in transmission process for file destination.
When business device 102 passes through file destination verification, illustrate that file destination is available, business device 102 can basis
The file destination of acquisition executes corresponding process.
It is obstructed out-of-date that business device 102 verifies file destination, illustrates that file destination is damaged, at this time business device 102
Be also used to send address to address allocating device 101 and divide request again, so as to address allocating device 101 divided again according to address request into
Row control equipment 103 is redistributed.
Correspondingly, request is divided in the address that address allocating device 101 is also used to receive the transmission of business device 102, according to connecing again
The address received divide again request and it is multiple control equipment 103 attribute information, from remove and matched first mesh of business device 102
In control equipment 103 except marking device, corresponding second target device is matched for business device 102, and to business device 102
The address of the second target device is sent, so that business device 102 is according to the address of the second target device, acquisition is stored in the second mesh
The file destination of marking device.Detailed process can be that business device 102 distributes corresponding first mesh with reference address distributing equipment 101
Marking device sends the address of first object equipment, to business device 102 so that business device 102 is according to first object equipment
Address obtains the process for being stored in the file destination of first object equipment.
In order to make it easy to understand, just concrete scene is combined to be illustrated the acquisition process of file destination below.Wherein, business
Equipment 102 can be by taking one of interface board as an example, and controlling equipment 103 can be by taking master control borad as an example, and master control borad includes first
Master control borad and the second master control borad, address allocating device 101 are the other equipment controlled other than equipment 103.
Refering to what is shown in Fig. 6, the acquisition process of file destination can be with specifically:
(1) interface board sends address assignment request to address allocating device;
(2) address allocating device is interface board distribution pair from multiple master control borads according to the attribute information of multiple master control borads
The first master control borad answered, and to interface board send the first master control borad address;
(3) interface board sends listed files acquisition request to the first master control borad;
(4) first master control borads send the listed files that the first master control borad stores to interface board;
(5) interface board determines file destination from listed files, sends file destination acquisition request to the first master control borad,
It include the mark of file destination in middle file destination acquisition request;
(6) first master control borads send first object file and first object according to file destination acquisition request, to interface board
The check code of file;
(7) interface board is to first object file verification, when verification passes through, according to first object file carry out starting or more
Newly, target end file acquisition process;It is obstructed out-of-date verifying, it executes step (8);
(8) address is sent to address allocating device divide request again;
(9) address weighs subset according to the attribute information of multiple master control borads, from other master controls in addition to the first master control borad
Corresponding second master control borad of interface board is determined in plate, and the address of the second master control borad is sent to interface board;
(10) interface board sends listed files acquisition request to the second master control borad;
(11) second master control borads send listed files to interface board;
(12) interface board determines file destination from listed files, sends file destination acquisition request to the second master control borad,
It wherein include the mark of file destination in file destination acquisition request;
(13) second master control borads send the second file destination and the second target according to file destination acquisition request, to interface board
The check code of file;
(14) interface board verifies the second file destination, when verification passes through, is opened according to the second file destination
Dynamic or update, target end file acquisition process;It is obstructed out-of-date verifying, with reference to step (8), third master control is carried out for interface board
The distribution of plate.
In actual operation, the priority that can also determine first object equipment, the of optimal first object equipment
When one file destination damages, using the first object equipment of suboptimum as the second target device, the second target is sent to business device
The address of equipment.As a kind of example, priority may is that the spare primary control equipment-being directly connected to business device
The backup control equipment-and business device that the primary control equipment-and business device being directly connected to business device are indirectly connected with
The primary control equipment being indirectly connected with, then first object equipment is the spare primary control equipment being directly connected to business device,
Second target device is the primary control equipment being directly connected to business device, similarly, in the target of the second target device storage
It, can also be using the backup control equipment being indirectly connected with business device as third target device, or when file corruption
It, can also be using the primary control equipment being indirectly connected with business device as the when the file destination damage of three target devices storage
Four target devices.
It is obstructed out-of-date to verify in business device to file destination, can also be to the control equipment storage for obtaining file destination
File is detected, and carries out fault flag to the control equipment, is distributing corresponding control equipment to subsequent for business device
When, the control equipment with fault flag of not reallocating.
For the control equipment of faulty label, the reparation or reacquisition of storage file can be carried out, specifically, can be with
Restarting for control equipment is carried out, to be updated to the storage file in control equipment.After being updated to storage file,
The fault flag of control equipment can be deleted.All control equipment storage file destination in the event of failure, Ke Yichong
All control equipment is opened, to update the storage file in control equipment.
In control system provided by the embodiments of the present application, business device can obtain file destination from multiple control equipment,
To provide target text simultaneously by multiple control equipment in the limited situation of ability of control equipment parallel data processing
Part, to improve the acquisition efficiency of file destination.Specifically, can be by address allocating device according to the attribute of multiple control equipment
Information distributes corresponding first object equipment for business device, and the assigned first object of wherein at least two business device is set
Standby different, business device can obtain file destination from corresponding first object equipment.Since all business devices are corresponding
First object equipment is not same, therefore business device can obtain file destination from least two control equipment, compared to
All business devices obtain for the method for file destination from same control equipment in the prior art, and the embodiment of the present application provides
Control system in, for multiple business devices provide file destination simultaneously by multiple control equipment, locate parallel in control equipment
In the limited situation of ability for managing data, business device can obtain file destination by other control equipment, reduce business
The equipment waiting time improves the efficiency that business device obtains file destination.
Based on a kind of control system provided by the embodiments of the present application, the embodiment of the present application also provides a kind of control mode,
Specific implementation process is referred to above-mentioned control system.The executing subject of control method provided by the embodiments of the present application is address
Distributing equipment, it can be one of them in multiple control equipment, be also possible to its elsewhere independently of multiple control equipment
Manage equipment.
Refering to what is shown in Fig. 7, being the flow chart of control method provided by the embodiments of the present application, this method may include following step
Suddenly.
S101 obtains address and the attribute information of multiple control equipment.
Control equipment can be the equipment issued in the network equipment for data processing and instruction, such as computer, exchange
Processor in the network equipments such as machine, router and gateway, specifically, can be central processing unit or microprocessor etc..Control
Equipment can exist in integrated circuit form, at this point, control equipment can be master control borad.
Business device is the equipment for executing the instruction that control equipment issues, such as be can be for being connected with external equipment
The interface equipment connect, business device can also exist in integrated circuit form, at this point, business device can be interface board, example
Such as line processing unit, electric cross board (ECU).
The attribute information of control equipment may include control connection relationship between equipment and business device, multiple controls are set
Subordinate relation, multiple control equipment between standby currently in occupied resource quantity and the resource quantity of current idle extremely
Few one kind.
Specifically, the connection relationship between control equipment and business device may include being directly connected to and being indirectly connected with.If
It controls equipment and business device can be with direct communication, it may be considered that the control equipment and business device are directly connected to, if control
Equipment and business device are unable to direct communication, can be realized and be communicated by other equipment, it may be considered that the control equipment and industry
Business equipment is indirectly connected with.
Specifically, backup control equipment is the slave of primary control equipment in consolidated network equipment.
Currently occupied resource quantity refers to the current unavailable resource quantity for controlling equipment to multiple control equipment, can be
It controls equipment and sends the resource quantity that file destination occupies to business device, be also possible to control equipment in operation program process
Occupied resource quantity can also be occupied resource quantity in the case of other.Multiple control equipment are currently occupied
Resource quantity can be characterized by control equipment bottom chain circuit message amount, can also with control equipment bandwidth occupancy situation or
Thread occupancy situation characterizes.
The resource quantity of control equipment current idle refers to the available resources quantity of current control equipment, can be set by control
Standby total resources quantity and current occupied resource quantity determine, can pass through the bottom chain circuit message scale of control equipment
Sign can also be characterized by the bandwidth idle condition or thread idle condition for controlling equipment.
In the embodiment of the present application, before the attribute information for obtaining multiple control equipment, business device can also be received
The address assignment request of transmission.Therefore, addresses and the attribute information for obtaining multiple control equipment, can be with specifically: response business
The address assignment request that equipment is sent obtains address and the attribute information of multiple control equipment in real time.
S102 is respectively business device distribution pair from multiple control equipment according to the attribute information of multiple control equipment
The first object equipment answered, and send to business device the address of corresponding first object equipment.
It is respectively that business device distributes corresponding the from multiple control equipment according to the attribute informations of multiple control equipment
The detailed process of one target device can be determined according to different attribute informations.Specifically, can be with reference to point in control system
With process.
It should be noted that in the embodiment of the present application, the assigned first object equipment of at least two business devices is not
Together, that is to say, that all business devices do not correspond to same control equipment.
After distributing corresponding first object equipment for business device, corresponding first mesh can be sent to business device
The address of marking device.Specifically, the address of first object equipment can first be searched from the addresses of multiple control equipment, then to industry
Equipment of being engaged in sends the address of first object equipment.
It, can be according to corresponding behind the address that business device receives the first object equipment of address allocating device transmission
The address of first object equipment obtains the file destination for being stored in first object equipment.
In addition, can also be right after business device gets file destination in order to improve the accuracy of file destination acquisition
The file destination of acquisition is verified, specifically, can be executed by the functional module that is arranged in business device, such as can be with
It is that reason local service (RPM local server, RPMLS) is assured in operation.
Specifically, business device is when obtaining file destination from first object equipment, it can be simultaneously from first object equipment
Obtain the check code of file destination, the verification according to the check code of file destination to file destination.
When business device passes through file destination verification, illustrate that file destination is available, it can be according to the target text of acquisition
The starting or update of part execution business device.
It is obstructed out-of-date to verify in business device to file destination, illustrates that file destination is damaged, at this time can be to address point
Preparation, which is arranged, send address to divide request again, so that address allocating device divides request to carry out dividing again for control equipment according to address again
Match.Specifically, request is divided in the address that address allocating device receives business device transmission again, it can be according to the address weight received
The attribute information for dividing request and multiple control equipment, from the control in addition to the matched first object equipment of business device
In equipment, corresponding second target device is matched for business device, and the address of the second target device is sent to business device, with
Just business device obtains the file destination for being stored in the second target device according to the address of the second target device.Detailed process can
Corresponding first object equipment is distributed to be referenced as business device, the address of first object equipment is sent to business device, so as to
Business device obtains the process for being stored in the file destination of first object equipment according to the address of first object equipment.
It is obstructed out-of-date to verify in business device to file destination, can also be to the control equipment storage for obtaining file destination
File is detected, and carries out fault flag to the control equipment, in the distribution to the corresponding control equipment of follow-up business equipment
In the process, it does not reallocate the control equipment with fault flag.
In control method provided by the embodiments of the present application, business device can obtain file destination from multiple control equipment,
To provide target text simultaneously by multiple control equipment in the limited situation of ability of control equipment parallel data processing
Part, to improve the acquisition efficiency of file destination.Specifically, can be business device by the attribute information of multiple control equipment
Corresponding first object equipment is distributed, the assigned first object equipment of wherein at least two business device is different, business device
File destination can be obtained from corresponding first object equipment.Since all corresponding first object equipment of business device is not
It is same, thus business device can from least two control equipment obtain file destinations, compared with the prior art in all industry
Equipment of being engaged in obtains for the method for file destination from same control equipment, in control method provided by the embodiments of the present application, leads to
It crosses multiple control equipment while providing file destination for multiple business devices, it is limited in the ability of control equipment parallel data processing
In the case where, business device can obtain file destination by other control equipment, reduce the business device waiting time, improve
The efficiency of business device acquisition file destination.
For the ease of the above scheme of better implementation the embodiment of the present application, it is also provided below for implementing the above scheme
Relevant apparatus.
It please refers to shown in Fig. 8, control device 800 provided by the embodiments of the present application corresponds specifically to the control of above-mentioned offer
The function of method.Function can also execute corresponding software realization by hardware realization by hardware.Hardware or software package
One or more units corresponding with above-mentioned function are included, unit can be software and/or hardware.The device 800 may include:
Information acquisition unit 801, for obtaining address and the attribute information of multiple control equipment;
First object equipment allocation unit 802, for the attribute information according to the multiple control equipment, from the multiple
Controlling in equipment is respectively the corresponding first object equipment of business device distribution, and described corresponding to business device transmission
The address of first object equipment obtains so that the business device is according to the address of corresponding first object equipment
It is stored in the file destination of the first object equipment, wherein the assigned first object of at least two business devices is set
It is standby different.
In some possible embodiments, the attribute information includes the multiple control equipment and the multiple business
Connection relationship between equipment, the connection relationship include being directly connected to and being indirectly connected with.
In some possible embodiments, the attribute information includes that the subordinate between the multiple control equipment is closed
System.
In some possible embodiments, the attribute information includes the multiple control equipment currently occupied money
The resource quantity of source quantity and/or current idle.
In some possible embodiments, the information acquisition unit is specifically used for:
The address assignment request that the business device is sent is responded, obtains address and the attribute letter of multiple control equipment in real time
Breath.
In some possible embodiments, described device further include:
Request is divided in request reception unit, the address for receiving business device transmission again;
Second target device allocation unit, for divided again according to the address request and the attribute information, from remove and institute
It states in the control equipment except the matched first object equipment of business device, matches corresponding second target for the business device
Equipment, and the address of second target device is sent to the business device, so that the business device is according to described second
The address of target device obtains the file destination for being stored in second target device.
In some possible embodiments, the control equipment includes control panel, and the business device includes interface board.
In control device provided by the embodiments of the present application, business device can obtain target text from multiple control equipment
Part, to provide target simultaneously by multiple control equipment in the limited situation of ability of control equipment parallel data processing
File, to improve the acquisition efficiency of file destination.Specifically, can be set by the attribute information of multiple control equipment for business
Back-up matches corresponding first object equipment, and the assigned first object equipment of wherein at least two business device is different, and business is set
It is standby to obtain file destination from corresponding first object equipment.Not due to all corresponding first object equipment of business device
Be it is same, therefore business device can from least two control equipment obtain file destinations, compared with the prior art in own
Business device obtains for the method for file destination from same control equipment, in control device provided by the embodiments of the present application,
File destination is provided for multiple business devices simultaneously by multiple control equipment, is had in the ability of control equipment parallel data processing
In the case where limit, business device can obtain file destination by other control equipment, reduce the business device waiting time, mention
High business device obtains the efficiency of file destination.
Next the control equipment in the embodiment of the present application is introduced.It please refers to shown in Fig. 9, control equipment 900 includes:
Receiver 901, transmitter 902, processor 903 and memory 904 are (in the equipment 900 of the wherein generation of message
The quantity of processor 903 can be one or more, take a processor as an example in Fig. 9).In some embodiments of the present application,
Receiver 901, transmitter 902, processor 903 and memory 904 can be connected by bus or other means, wherein in Fig. 9 with
For being connected by bus.
Memory 904 may include read-only memory and random access memory, and provide instruction sum number to processor 903
According to.The a part of of memory 904 can also include NVRAM.Memory 904 is stored with operating system and operational order, can be performed
Module perhaps data structure perhaps their subset or their superset, wherein operational order may include various operations
Instruction, for realizing various operations.Operating system may include various system programs, for realizing various basic businesses and processing
Hardware based task.
The operation of 903 controlling terminal equipment of processor, processor 903 can also be known as CPU.In specific application, message
The various components of equipment of generation be coupled by bus system, wherein bus system in addition to including data/address bus,
It can also include power bus, control bus and status signal bus in addition etc..It, will be various in figure but for the sake of clear explanation
Bus is referred to as bus system.
The method that above-mentioned the embodiment of the present application discloses can be applied in processor 903, or be realized by processor 903.
Processor 903 can be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 903 or the instruction of software form.Above-mentioned processing
Device 903 can be general processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor and patrol
Collect device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present application
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the application
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 904, and processor 903 reads the information in memory 904, and the step of the above method is completed in conjunction with its hardware
Suddenly.
Receiver 901 can be used for receiving the number or character information of input, and generate and related the setting of user face device
It sets and the related signal input of function control, transmitter 902 may include that display screen etc. shows equipment, transmitter 902 can be used for
Number or character information are exported by external interface.
In the embodiment of the present application, receiver 901 and transmitter 902 are for realizing data transmit-receive.Processor 903, for leading to
It crosses receiver 901 and transmitter 902 realizes data transmit-receive, complete control process performed by forgoing control apparatus.
The embodiment of the present application also provides a kind of computer readable storage medium, for storing program code, the program code
Any one embodiment in a kind of control method for executing foregoing individual embodiments.
The embodiment of the present application also provides a kind of computer program product including instruction, when run on a computer,
So that computer executes any one embodiment in a kind of control method of foregoing individual embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.