A kind of method and apparatus of more new device configuration
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of method and apparatus of more new device configuration.
Background technique
Cascade system refers to by least one main control device and multiple systems formed from equipment, wherein Duo Gecong
Any one in equipment can directly be connect with any one main control device from equipment, alternatively, it is multiple from the device any one
It can also be connect from equipment from equipment with any one main control device by others.In cascade system, once master control is set
Standby type changes, and the configuration for the slave equipment being connected with main control device cannot meet wanting for the main control device after changing
It asks, leads to main control device and from problem unmatched between equipment, so that the operation of cascade system is broken down.
Based on this, a kind of method for needing more new device configuration at present, for solving the class of main control device in the prior art
Type changes and leads to the relevant configuration and the unmatched problem of main control device from equipment.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of more new device configuration, to solve main control device in the prior art
Type change and cause from the relevant configuration of equipment and the unmatched technical problem of main control device.
The embodiment of the present invention provides a kind of method of more new device configuration, the method includes:
First equipment receives the first instruction information that the second equipment is sent;The first instruction information includes described first setting
The type of standby affiliated main control device;Second equipment is the higher level equipment of first equipment;
The type and pre-stored type of first equipment main control device according to belonging to first equipment with
The corresponding relationship of configuration information obtains the corresponding target configuration information of type of main control device belonging to first equipment;Institute
It includes at least one of following for stating target configuration information:Operational mode, function realize module, database parameter, configuration file;
First equipment is updated the configuration of first equipment according to the target configuration information.
In this way, after the type of the main control device belonging to the first equipment changes, the first equipment can be according to receiving
The type of main control device configuration is updated, so that the type of main control device be avoided to change, be connected with main control device
The configuration of slave equipment the problem of cannot meeting the requirement of the main control device after changing, and then effectively increase from the logical of equipment
With property and adaptability, the maintenance cost of cascade system is reduced.
Optionally, it is described first instruction information further include first equipment access the main control device interface identifier and
First equipment accesses the level of the main control device;
After first equipment receives the first instruction information that the second equipment is sent, the method also includes:
Described in type, first equipment of first equipment main control device according to belonging to first equipment access
The interface identifier of main control device and first equipment access the level of the main control device, determine the net of first equipment
Network address;
First equipment is established using the network address and the main control device and is communicated to connect.
In this way, type, the first equipment of main control device access the interface position of main control device, the first equipment accesses master control
When any one of level of equipment changes, the first equipment can be adaptively adjusted, to effectively increase from equipment
Versatility, reduce the maintenance cost of cascade system.
Optionally, before first equipment receives the first instruction information that the second equipment is sent, further include:
First equipment receives the second indication information that the second equipment is sent;
First equipment determine the second indication information content and first equipment storage historical information not
With after, first equipment is restarted.
The embodiment of the present invention provides a kind of method of more new device configuration, the method includes:
After second equipment determines that the first equipment accesses second equipment, the first instruction information, first instruction are generated
Information includes the type of main control device belonging to first equipment;
Second equipment sends the first instruction information to first equipment, and the first instruction information is for referring to
Show that the type of first equipment main control device according to belonging to first equipment carries out more the configuration of first equipment
Newly.
In this way, after the second equipment determines that the first equipment accesses second equipment, it can be by master described in the first equipment
The type of control equipment is sent to the first equipment, so that the type of main control device be avoided to change, be connected with main control device from
The configuration of equipment cannot meet the problem of requirement of the main control device after changing, and then effectively increase the versatility from equipment
And adaptability, reduce the maintenance cost of cascade system.
Optionally, it is described first instruction information further include first equipment access the main control device interface identifier and
First equipment accesses the level of the main control device.
The embodiment of the present invention provides a kind of equipment, and the equipment includes:
Receiving unit, for receiving the first instruction information of the second equipment transmission;The first instruction information includes described
The type of main control device belonging to equipment;Second equipment is the higher level equipment of the equipment;
Processing unit, for the main control device according to belonging to the equipment type and pre-stored type with match
The corresponding relationship of confidence breath, obtains the corresponding target configuration information of type of main control device belonging to the equipment;The target
Configuration information includes at least one of following:Operational mode, function realize module, database parameter, configuration file;
Updating unit, for being updated according to the target configuration information to the configuration of the equipment.
In this way, after the type of the main control device belonging to the first equipment changes, the first equipment can be according to receiving
The type of main control device configuration is updated, so that the type of main control device be avoided to change, be connected with main control device
The configuration of slave equipment the problem of cannot meeting the requirement of the main control device after changing, and then effectively increase from the logical of equipment
With property and adaptability, the maintenance cost of cascade system is reduced.
Optionally, the first instruction information further includes that the equipment accesses the interface identifier of the main control device and described
Equipment accesses the level of the main control device;
After the first instruction information that the receiving unit receives that the second equipment is sent, the processing unit is also used to:
According to the type of main control device belonging to the equipment, the equipment access the interface identifier of the main control device with
And the equipment accesses the level of the main control device, determines the network address of the equipment;And use the network address
It establishes and communicates to connect with the main control device.
In this way, type, the first equipment of main control device access the interface position of main control device, the first equipment accesses master control
When any one of level of equipment changes, the first equipment can be adaptively adjusted, to effectively increase from equipment
Versatility, reduce the maintenance cost of cascade system.
Optionally, the receiving unit is also used to before receiving the first instruction information that the second equipment is sent:
Receive the second indication information of the second equipment transmission;
The processing unit is also used to, and determines the content of the second indication information and the historical information of equipment storage
After difference, the equipment is restarted.
The embodiment of the present invention provides a kind of equipment, and described device includes:
Generation unit generates the first instruction information, first instruction after determining that the first equipment accesses the equipment
Information includes the type of main control device belonging to first equipment;
Transmission unit, for sending the first instruction information to first equipment, the first instruction information is used for
Indicate that the type of first equipment main control device according to belonging to first equipment carries out the configuration of first equipment
It updates.
In this way, after the second equipment determines that the first equipment accesses second equipment, it can be by master described in the first equipment
The type of control equipment is sent to the first equipment, so that the type of main control device be avoided to change, be connected with main control device from
The configuration of equipment cannot meet the problem of requirement of the main control device after changing, and then effectively increase the versatility from equipment
And adaptability, reduce the maintenance cost of cascade system.
Optionally, it is described first instruction information further include first equipment access the main control device interface identifier and
First equipment accesses the level of the main control device.
In the embodiment of the present invention, after the first equipment receives the first instruction information that higher level equipment (i.e. the second equipment) is sent,
The type and pre-stored type that can indicate main control device belonging to the first equipment included in information according to first
With the corresponding relationship of configuration information, the corresponding target configuration information of type of main control device belonging to first equipment is obtained,
And then the configuration of the first equipment can be updated according to target configuration information.It is set in this way, working as master control belonging to the first equipment
After standby type changes, the first equipment can be updated configuration according to the type of the main control device received, thus
The type of main control device is avoided to change, the configuration for the slave equipment being connected with main control device cannot meet the master control after changing
The problem of requirement of equipment, and then versatility and adaptability from equipment are effectively increased, reduce the maintenance of cascade system
Cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 a is a kind of system architecture schematic diagram that the embodiment of the present invention is applicable in;
Fig. 1 b is the framework signal of distributed base station (Femto) system for the mobile communication field that the embodiment of the present invention is applicable in
Figure;
Fig. 2 is flow diagram corresponding to a kind of method of more new device configuration provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of globality involved in the embodiment of the present invention;
Fig. 4 is that the process of more new device configuration in a kind of femto base station distribution formula system provided in an embodiment of the present invention is shown
It is intended to;
Fig. 5 is a kind of structural schematic diagram of equipment provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 a is that a kind of system architecture schematic diagram that the embodiment of the present invention is applicable in is wrapped in the system architecture as shown in Figure 1a
At least one main control device is included, main control device 1011, main control device 1012 as shown in Fig. 1 a;It is directly connected to main control device
The first order from equipment, the slave equipment 1021 and main control device that are directly connected to as shown in Fig. 1 a with main control device 1011
The 1012 slave equipment 1022 being directly connected to;The second level being directly connected to the first order from equipment is from equipment, as shown in Fig. 1 a
With the slave equipment 1031 being directly connected to from equipment 1021 and the slave equipment 1032 being directly connected to from equipment 1022.
In the embodiment of the present invention, the first order being directly connected to main control device 1011 is from equipment, or and main control device
From equipment, the third level from equipment etc., main control device belonging to these equipment is main control device for 1011 second level being indirectly connected with
1011。
Specifically, multiple interfaces have can be set in main control device, and the main control device 1011 as shown in Fig. 1 a is provided with
Interface 1 and interface 2 can be connect by interface 1 with main control device 1011 from equipment 1021;Alternatively, can also be with from equipment 1021
It is connect by interface 2 with main control device 1011.Wherein, interface can there are many types, such as optical fiber interface, multiple twin line interface
Deng.
Further, main control device is also provided with bottom module, and the bottom module of main control device is for detecting master control
Whether the type of equipment and the either interface on detection main control device, which have from equipment, is accessed, and on determining main control device
Either interface has from when equipment access, and the type for the main control device that will test, access are sent to by the interface identifier of equipment
From equipment.
Bottom module also can be set from equipment, by taking the first order is from equipment as an example, used from the bottom module of equipment 1021
In the information that the bottom module for receiving main control device 1011 is sent, and the information received is sent to the second level from equipment, example
Such as, the information received can be sent to the bottom module from equipment 1031 from the bottom module of equipment 1021.
For example, system architecture shown by Fig. 1 b can be distributed base station (femto) system of mobile communication field
System, in this way, main control device can be master base station, other equipment can be convergence replacement part, and interface can be optical fiber interface
(referred to as optical port), bottom module can for field programmable gate array (Field-Programmable Gate Array,
FPGA) chip.
Based on system architecture shown in Fig. 1 a, Fig. 2 is a kind of method of more new device configuration provided in an embodiment of the present invention
Corresponding flow diagram, as shown in Fig. 2, specifically including following steps:
Step 201, after the second equipment determines that the first equipment accesses second equipment, the first instruction information is generated.
Step 202, the second equipment sends the first instruction information to first equipment.
Step 203, the first equipment receives the first instruction information that the second equipment is sent.
Step 204, the class of the first equipment main control device according to belonging to the first equipment that the first instruction information includes
The corresponding relationship of type and pre-stored type and configuration information obtains the class of main control device belonging to first equipment
The corresponding target configuration information of type.
Step 205, the first equipment is updated the configuration of first equipment according to the target configuration information.
It should be noted that above-mentioned steps 201 are into step 205, for the system architecture diagram shown in Fig. 1 a, one
In example, the first equipment can be the first order from equipment, for example, from equipment 1021, from any one in equipment 1022;Accordingly
Ground, the second equipment are main control device.For example, second equipment is main control device 1011 when the first equipment is from equipment 1021;First
When equipment is from equipment 1022, the second equipment is main control device 1012.
In another example, the first equipment can for the second level from equipment, such as from equipment 1031, from equipment 1032
Any one;Correspondingly, the second equipment is the first order from equipment.For example, second equipment is when the first equipment is from equipment 1031
From equipment 1021;When first equipment is from equipment 1032, the second equipment is from equipment 1022.
In other possible examples, the first equipment may be and the second level is directly connected to from equipment the third level is from setting
Standby (being not shown in Fig. 1 a), correspondingly, the second equipment are the second level from equipment, specifically without limitation.
In this way, after the type of the main control device belonging to the first equipment changes, the first equipment can be according to receiving
The type of main control device configuration is updated, so that the type of main control device be avoided to change, be connected with main control device
The configuration of slave equipment the problem of cannot meeting the requirement of the main control device after changing, and then effectively increase from the logical of equipment
With property and adaptability, the maintenance cost of cascade system is reduced.
Specifically, the second equipment is the higher level equipment of the first equipment, and correspondingly, the first equipment is the junior of the second equipment
Equipment.That is, the first instruction information that the higher level equipment that the first equipment can receive the first equipment is sent, but the first equipment
Cannot bypass the immediate leadership reception the first instruction information, i.e. the first equipment cannot directly receive the higher level equipment of the higher level equipment of the first equipment
The the first instruction information sent.For the system architecture diagram shown by Fig. 1 a, main control device 1011 is from the upper of equipment 1021
Grade equipment can receive the first instruction information that main control device 1011 is sent from equipment 1021;It is from equipment from equipment 1021
1031 higher level equipment can receive the first instruction information sent from equipment 1021 from equipment 1031.
First instruction information may include the type of main control device belonging to the first equipment.Wherein, the type of main control device
It can determine, or can also determine according to the network formats that main control device is supported have according to the model of main control device
Body is without limitation.
For the system architecture shown in Fig. 1 b, the type of main control device can according to the network formats that host is supported come
It determines, for example, the network formats that master base station 1 is supported are long term evolution-time division duplex (Long Term Evolution-Time
Division Duplexing, LTE-TDD), then the type of master base station 1 can be LTE-TDD;The network that master base station 2 is supported
Standard is long term evolution-frequency division duplex (Long Term Evolution-Frequency Division Duplexing, LTE-
FDD), then the type of master base station 2 can be LTE-FDD, and so on, as shown in table 1, one kind for the type of main control device is shown
Example, specifically repeats no more.
Table 1:A kind of example of the type of main control device
Further, the first instruction information can also include the interface identifier of the first equipment access main control device, Yi Ji
The level of one equipment access main control device.
As described above, multiple interfaces have can be set in main control device, in order to distinguish the distinct interface in main control device, this
It can be distinguished by the way of interface identifier in inventive embodiments.Wherein, interface identifier can there are many forms, than in full
The forms such as word, letter, text, symbol, character string, specifically without limitation.Table 2 is that one kind of the interface identifier of main control device is shown
Example, as shown in table 2, the type of the 1st main control device are LTE-TDD, which is provided with 3 interfaces, interface identifier point
It Wei not A, B, C;The type of 2nd main control device is LTE-FDD, which is provided with 3 interfaces, and interface identifier is respectively
A、B、C。
Table 2:A kind of example of the interface identifier of main control device
It should be noted that:(1) if the second equipment be main control device, the second equipment determine the first equipment access after,
The interface identifier of the first equipment access main control device is determined according to the interface position that the first equipment specifically accesses;(2) if second
Equipment is the first order from equipment, then the second equipment accesses main control device according to the second equipment after determining the access of the first equipment
Identify the interface identifier to determine the first equipment access main control device;(3) if the second equipment is that other from equipment, (for example second set
Standby is the second level from equipment or the third level from equipment), it can be analogized according to the above method, specifically be repeated no more.
The level that first equipment accesses main control device can be the first equipment location in systems.As shown in Figure 1a
System architecture, if the first equipment is directly connect with main control device, the first equipment access main control device level be the first order,
That is the level of main control device 1011 is accessed shown in Fig. 1 a from equipment 1021 as the first order;If the first equipment not directly with master
Equipment connection is controlled, then the level of the first equipment access main control device accesses the layer of main control device according to the higher level equipment of the first equipment
Grade determines, for example, directly connect from equipment 1031 with from equipment 1021 shown in Fig. 1 a, and from the access master control of equipment 1021
The level of equipment is the first order, then is the second level from the level that equipment 1031 accesses main control device.
In order to clearly introduce the level of the first equipment access main control device, it is with content shown in Fig. 1 a below
Each level from equipment access main control device shown in Fig. 1 a is illustrated in example.Table 3 is the first equipment access master
A kind of example of the level of equipment is controlled, as shown in table 3, if the first equipment is from equipment 1021, the access master control of the first equipment is set
Standby level is the first order;If the first equipment is from equipment 1022, the level that the first equipment accesses main control device is the first order;
If the first equipment is from equipment 1031, the level that the first equipment accesses main control device is the second level;If the first equipment is from setting
Standby 1032, then the level of the first equipment access main control device is the second level.
Table 3:First equipment accesses a kind of example of the level of main control device
First equipment |
The level of first equipment access main control device |
From equipment 1021 |
The first order |
From equipment 1022 |
The first order |
From equipment 1031 |
The second level |
From equipment 1032 |
The second level |
In step 204, the first equipment can be previously stored with the corresponding relationship of type and configuration information.As described in Table 4, it is
A kind of example of the corresponding relationship of type and configuration information, specifically repeats no more.In this way, the first equipment is according to belonging to the first equipment
Main control device type and pre-stored type and configuration information corresponding relationship, obtain master belonging to the first equipment
Control the corresponding target configuration information of type of equipment.
Table 4:A kind of example of the corresponding relationship of type and configuration information
Type |
Configuration information |
LTE-TDD |
Configuration information 1 |
LTE-FDD |
Configuration information 2 |
WCDMA |
Configuration information 3 |
GSM |
Configuration information 4 |
In other possible implementations, the corresponding relationship of type and configuration information also be can store in the database,
In this way, the accessible database of the first equipment obtains the corresponding relationship of type and configuration information, and then according to the first equipment institute
The corresponding relationship of the type of the main control device of category and pre-stored type and configuration information obtains belonging to the first equipment
The corresponding target configuration information of the type of main control device;Alternatively, the first equipment can also the master control according to belonging to the first equipment set
Standby type accesses the database and obtains the corresponding target configuration information of type of main control device belonging to the first equipment, specifically
Without limitation.
Further, configuration information may include that operational mode, function realize module, database parameter, in configuration file
At least one of.It as shown in table 5, is a kind of example of configuration information, operational mode is mode 1 in configuration information 1, and function is realized
Module is module 1, and database parameter is parameter 1, and configuration file is configuration file 1;Operational mode is mode 2 in configuration information 2,
Function realizes that module is module 2, and database parameter is parameter 2, and configuration file is configuration file 2;Operational mode in configuration information 3
For mode 3, function realizes that module is module 3, and database parameter is parameter 3, and configuration file is configuration file 3;In configuration information 4
Operational mode is mode 4, and function realizes that module is module 4, and database parameter is parameter 4, and configuration file is configuration file 4.
Table 5:A kind of example of configuration information
Configuration information |
Operational mode |
Function realizes module |
Database parameter |
Configuration file |
Configuration information 1 |
Mode 1 |
Module 1 |
Parameter 1 |
Configuration file 1 |
Configuration information 2 |
Mode 2 |
Module 2 |
Parameter 2 |
Configuration file 2 |
Configuration information 3 |
Mode 3 |
Module 3 |
Parameter 3 |
Configuration file 3 |
Configuration information 3 |
Mode 4 |
Module 4 |
Parameter 4 |
Configuration file 4 |
In this way, the first equipment can be updated the configuration of the first equipment according to target configuration information.Specifically, first
Present mode of operation can be arranged in equipment according to the operational mode in target configuration information, and is loaded according to present mode of operation
Corresponding database, configuration file and corresponding function realize module, so that can be according to main control device from equipment
The variation of type and accordingly change the configuration from equipment, avoid the type of main control device from changing, be connected with main control device
The problem of requirement of the main control device after changing cannot be met from the configuration of equipment, and then effectively increase from the general of equipment
Property and adaptability, reduce the maintenance cost of cascade system.
After step 203, the first equipment can also the main control device according to belonging to the first equipment type, the first equipment
The interface identifier and the first equipment that access the main control device access the level of the main control device, determine the net of the first equipment
Network address.
Table 6 is a kind of example for determining the network address of the first equipment, and specific as shown in table 6, details are not described herein.According to
Content shown in table 6 it is found that the type of main control device will affect interconnected between network agreement (Internet Protocol,
IP) the network segment in address, the interface identifier of the main control device of the first equipment access and the level of the first equipment access main control device
It will affect specific IP address.
Table 6:Determine a kind of example of the network address of the first equipment
Based on above-identified network address out, the network address is can be used in the first equipment and main control device is established
Communication connection, thus allows for the relevant service interaction of application layer.In this way, type, the first equipment in main control device access
When any one of the interface position of main control device, level of the first equipment access main control device change, the first equipment can
It is adaptively adjusted, to effectively increase the versatility from equipment, reduces the maintenance cost of cascade system.
In specific implementation process, the first instruction information can be sent to the bottom of the first equipment by the bottom module of the second equipment
Layer module after the first equipment receives the first instruction information, the first instruction information can be stored to a certain address location (such as
FPGA register) in, and then the first equipment is enabled to be set according to the first instruction information stored in FPGA register to first
Standby configuration is updated.
In view of after determination is updated the configuration of the first equipment, needing to restart first and setting in above-mentioned implementation process
It is standby, however the first instruction information saved in FPGA register can be emptied after the restarting of the first equipment, and therefore, execute
Before above-mentioned steps 201, the first equipment can first receive the second indication information of the second equipment transmission, and determine the second instruction
After the content of information is different from the historical information that the first equipment stores, first equipment is restarted.
It should be noted that:(1) content of second indication information can be consistent with the first instruction content of information;(2)
One equipment is if it is determined that the content of the second indication information is identical as the historical information that first equipment stores, then without restarting
First equipment.
Further, the first equipment can also determine the second finger after receiving the second indication information that the second equipment is sent
Show whether the content of information meets preset condition, if meeting, and the history of the content of second indication information and the storage of the first equipment
Information is different, then restarts first equipment;Otherwise, without restarting first equipment.
Wherein, preset condition can be those skilled in the art rule of thumb or actual conditions setting, do not limit specifically
It is fixed.For example, however, it is determined that the interface identifier of main control device is A, B or C, and the first equipment included in second indication information
The interface identifier of the main control device of access is D, it may be considered that the second indication information does not meet preset condition.
Method in order to more clearly introduce above-mentioned more new device configuration, below with reference to Fig. 3, to institute in the embodiment of the present invention
The process being related to carries out globality explanation.As shown in figure 3, may comprise steps of:
Step 301, after the second equipment determines that the first equipment accesses second equipment, second indication information is generated.
Step 302, the second equipment sends second indication information to the first equipment.
Step 303, the first equipment receives the second indication information that the second equipment is sent.
Step 304, the first equipment judge second indication information content and the first equipment storage historical information whether not
Together, if it is different, thening follow the steps 305;Otherwise, return step 303.
Step 305, the first equipment judges whether the content of second indication information meets preset condition, if meeting, executes
Step 306;Otherwise, return step 303.
Step 306, restart the first equipment.
Step 307, after the second equipment determines that the first equipment accesses second equipment, the first instruction information is generated.
Step 308, the second equipment sends the first instruction information to the first equipment.
Step 309, the first equipment receives the first instruction information that the second equipment is sent.
Step 310, the first equipment judges whether the content of the first instruction information meets preset condition, if meeting, executes
Step 311;Otherwise, return step 309.
Step 311, first equipment obtains the type of main control device belonging to the first equipment according to the first instruction information
Corresponding target configuration information.
Step 312, the first equipment is updated the configuration of first equipment according to the target configuration information.
Step 313, the first equipment determines the network address of first equipment according to the first instruction information.
Step 314, the first equipment is established using the network address and the main control device and is communicated to connect.
It should be noted that above-mentioned steps number is only a kind of exemplary representation for executing process, the application is to each step
Rapid sequencing is not specifically limited, for example, first equipment can also first judge second in above-mentioned steps 304 and step 405
It indicates whether the content of information meets preset condition, then judges that the content of second indication information and the history of the first equipment storage are believed
Whether breath is different.
Flow chart shown in Fig. 3 is illustrated with system architecture shown by Fig. 1 b below, as shown in figure 4, being
The flow diagram of more new device configuration, particular content in a kind of femto base station distribution formula system provided in an embodiment of the present invention
It can be found in content as described above, details are not described herein.
Based on same idea, a kind of equipment provided in an embodiment of the present invention, as shown in figure 5, the equipment 500 includes receiving list
First 501, processing unit 502, updating unit 503;Wherein,
Receiving unit 501, for receiving the first instruction information of the second equipment transmission;The first instruction information includes institute
State the type of main control device belonging to equipment;Second equipment is the higher level equipment of the equipment;
Processing unit 502, for the type of the main control device according to belonging to the equipment and pre-stored type with
The corresponding relationship of configuration information obtains the corresponding target configuration information of type of main control device belonging to the equipment;The mesh
Mark configuration information includes at least one of following:Operational mode, function realize module, database parameter, configuration file;
Updating unit 503, for being updated according to the target configuration information to the configuration of the equipment.
Optionally, the first instruction information further includes that the equipment accesses the interface identifier of the main control device and described
Equipment accesses the level of the main control device;
After the first instruction information that the receiving unit 501 receives that the second equipment is sent, the processing unit 502 is also
For:
According to the type of main control device belonging to the equipment, the equipment access the interface identifier of the main control device with
And the equipment accesses the level of the main control device, determines the network address of the equipment;And use the network address
It establishes and communicates to connect with the main control device.
Optionally, the receiving unit 501 is also used to before receiving the first instruction information that the second equipment is sent:
Receive the second indication information of the second equipment transmission;
The processing unit 502 is also used to, and determines the content of the second indication information and the history of equipment storage
After information is different, the equipment is restarted.
Based on same idea, a kind of equipment provided in an embodiment of the present invention, as shown in fig. 6, the equipment 600 includes generating list
First 601, transmission unit 602;Wherein,
Generation unit 601, after determining that the first equipment accesses the equipment, generation the first instruction information, described first
Indicate that information includes the type of main control device belonging to first equipment;
Transmission unit 602, for sending the first instruction information to first equipment, the first instruction information is used
In indicate the type of the first equipment main control device according to belonging to first equipment to the configuration of first equipment into
Row updates.
Optionally, it is described first instruction information further include first equipment access the main control device interface identifier and
First equipment accesses the level of the main control device.
In the embodiment of the present invention, after the first equipment receives the first instruction information that higher level equipment (i.e. the second equipment) is sent,
The type and pre-stored type that can indicate main control device belonging to the first equipment included in information according to first
With the corresponding relationship of configuration information, the corresponding target configuration information of type of main control device belonging to first equipment is obtained,
And then the configuration of the first equipment can be updated according to target configuration information.It is set in this way, working as master control belonging to the first equipment
After standby type changes, the first equipment can be updated configuration according to the type of the main control device received, thus
The type of main control device is avoided to change, the configuration for the slave equipment being connected with main control device cannot meet the master control after changing
The problem of requirement of equipment, and then versatility and adaptability from equipment are effectively increased, reduce the maintenance of cascade system
Cost.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.