CN101114941A - Method for slave equipment to configuration data in master-salve equipments - Google Patents

Method for slave equipment to configuration data in master-salve equipments Download PDF

Info

Publication number
CN101114941A
CN101114941A CNA2007101277685A CN200710127768A CN101114941A CN 101114941 A CN101114941 A CN 101114941A CN A2007101277685 A CNA2007101277685 A CN A2007101277685A CN 200710127768 A CN200710127768 A CN 200710127768A CN 101114941 A CN101114941 A CN 101114941A
Authority
CN
China
Prior art keywords
slave unit
configuration data
main equipment
obtains
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101277685A
Other languages
Chinese (zh)
Inventor
熊文杰
吕朋伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNA2007101277685A priority Critical patent/CN101114941A/en
Publication of CN101114941A publication Critical patent/CN101114941A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method of gaining layout data form devices in master-slave devices, comprising that master devices establish and preserve data banks that have all layout data and layout data information tables, and the master devices start to wait for communicating with slave devices; the slave devices start and establish a communication connection with the master devices and periodically send a request that contains requesting data information till the master devices receive the request; once receiving the request, the master devices compare the requesting data information with the layout data information tables and send a response that contains corresponding data to the slave devices. By using the invention, the maintenance process to device layout tables by the master devices is omitted; when devices are maintained, processing time of master devices is saved and the requests of a plurality of slave devices are processed simultaneously, thus improving processing efficiency.

Description

Slave unit obtains the method for configuration data in the master-slave equipment
Technical field
The present invention relates to the communications field, and especially, relate to the method for slave unit acquisition configuration data in a kind of master-slave equipment.
Background technology
In present network and communication technical field, a lot of network equipments and communication apparatus have all adopted the framework of master-slave equipment.DSLAM (DigitalSubscriber Line Access Multiplexer is hereinafter to be referred as DSLAM) is exactly a kind of typical master-slave equipment.
Illustrated in fig. 1 is exactly the structural framing of a kind of DSLAM.As shown in Figure 1, this framework comprises various veneers such as master control borad, several ply-yarn drills and power panel, test board.Slave units such as ply-yarn drill, power panel, test board are connected to master control borad, and master control borad is controlled these veneers, thereby realizes various functions jointly.
Behind a slave unit electrifying startup, need obtain with main equipment and write to each other, obtain every hardware and software configuration information, to finish device initialize.Usually the method that adopts is to control by main equipment at present, and all configuration datas with slave unit needs send to slave unit in order in batches.Fig. 2 shows this processing procedure, and concrete steps are as follows:
(1) slave unit electrifying startup is obtained communication with main equipment and is connected, and reports the capital equipment information of slave unit then, and these information comprise: hardware version type, software version type, software version number etc.
(2) main equipment obtains the facility information of slave unit, judges the configuration data that slave unit needs, and obtains required whole configuration datas from the database of main equipment.
(3) main equipment sends to slave unit with configuration data in order successively according to slave unit type and version, and slave unit receives configuration data and finishes setting.Wherein, when main equipment sends every configuration data to slave unit, must wait for that all slave unit returns configuration result, just can carry out the transmission of the next item down configuration data afterwards.If main equipment has sent a certain configuration data to slave unit, wait for surpassing the response that certain hour still can't obtain slave unit afterwards, then can send this configuration once more.
Because the sequencing that configuration data type that various slave units need and configuration are installed is not quite similar, need main equipment, can be according to the facility information of slave unit, judge the configuration data that slave unit needs, and by certain sequencing combination, control sends to slave unit successively with these configuration datas.
Will cause the main equipment cost plenty of time to control slave unit like this and obtain configuration data.And along with the continuous expansion of slave unit kind and the update of device version, main equipment is for can compatible all kinds and the slave unit of different editions, certainly will need to safeguard a huge day by day slave unit allocation list, realize configuration support various slave units and version.
This way obviously is unfavorable for the maintenance of device version, for example, when a kind of slave unit after software release upgrade, its required configuration data kind does not change, but variation has taken place in the sequencing of configuration, at this moment the main equipment version of must also will upgrading could be realized the support to the slave unit of redaction, this obvious unusual trouble in the regular maintenance of equipment.
Therefore, defective in correlation technique mainly is: main equipment need spend plenty of time control slave unit and obtain configuration data, and need to safeguard and compatible configuration data support to all kinds and different editions slave unit, in addition, also need to obtain the order variation renewal main equipment version of configuration data according to the slave unit that is caused thus.
Yet, the technical scheme that can address this problem is not proposed at present as yet.
Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, free-revving engine of the present invention is to provide the scheme of slave unit acquisition configuration data in a kind of master-slave equipment.
According to embodiments of the invention, provide the method for slave unit acquisition configuration data in a kind of master-slave equipment.
This method comprises: main equipment is created database and the configuration data information table of preserving whole configuration datas, and the main equipment startup, communicates by letter with slave unit to wait for; Slave unit starts and establishes a communications link with main equipment, and periodically sends the request that comprises requesting data information to main equipment, receives request until main equipment; And after main equipment receives request, requesting data information and configuration data information table are compared, and the response that will comprise corresponding data sends to slave unit.
If find requesting data information from the configuration data information table, then the main equipment correct result response that will comprise with the corresponding configuration data of requesting data information sends to slave unit.At this moment, slave unit obtains configuration data from correct result's response.And slave unit obtains after the configuration data, if slave unit need obtain other configuration data, then obtain other configuration data to main equipment, otherwise slave unit stops to obtain other configuration data.
On the other hand, if do not find requesting data information from the configuration data information table, then main equipment sends to slave unit with the error result response.At this moment, slave unit stops to obtain other configuration data
In addition, in the method, slave unit starts and main equipment establishes a communications link comprises: slave unit sends the foundation request that comprises slave unit information to main equipment; And main equipment receives slave unit information, and sends to slave unit and to set up response, begins to ask configuration data with the notice slave unit.
Wherein, slave unit information comprises hardware version type, software version type and software version number, and the number of slave unit is one or several.
At this moment, if several slave units send several requests to main equipment, then main equipment is provided with a waiting list and stores several requests, and according to several requests of front and back sequential processes that arrive.
In addition, in the method, the information in the information table comprises classification numbering, index information and the data format of configuration data, and requesting data information comprises the classification numbering and the index information of configuration data.
By technique scheme of the present invention, can omit the maintenance process of main equipment to the equipment disposition table, the processing time of main equipment when saving plant maintenance, and can handle the request of many slave units simultaneously, thus improved treatment effeciency.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the block diagram according to the master-slave equipment DSLAM of prior art;
Fig. 2 is the flow chart that obtains the method for configuration data according to slave unit in the master-slave equipment framework of prior art;
Fig. 3 is the flow chart that obtains the method for configuration data according to slave unit in the master-slave equipment of the embodiment of the invention;
Fig. 4 is the flow chart according to the processing example of the method for slave unit acquisition configuration data in the master-slave equipment of the embodiment of the invention; And
Fig. 5 is that ply-yarn drill obtains the performed process chart of configuration data when carrying out processing shown in Figure 4.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
The method of slave unit acquisition configuration data in a kind of master-slave equipment is provided in the present embodiment.In the method, main equipment provides various configuration datas, initiates request by slave unit, obtains its required configuration data to master devices request.Be described in detail below with reference to accompanying drawings.
As shown in Figure 3, the method that obtains configuration data according to slave unit in the master-slave equipment of present embodiment comprises: step S302, main equipment is created the database preserve whole configuration datas and configuration data information table, and (this allocation list is unique, and be extendible), and main equipment starts, and communicates by letter with slave unit to wait for; Step S304, slave unit starts and establishes a communications link with main equipment, and periodically sends the request that comprises requesting data information to main equipment, until the main equipment request of receiving (promptly, first configuration data that the slave unit request is required, main equipment obtains corresponding request of data, sends configuration data, and slave unit is finished this configuration, afterwards, second configuration data that the slave unit request needs, and the like, until the request of finishing all configuration datas that need); And step S306, after main equipment receives request, requesting data information and configuration data information table are compared, and the response that will comprise corresponding data sends to slave unit.
If find requesting data information from the configuration data information table, then the main equipment correct result response that will comprise with the corresponding configuration data of requesting data information sends to slave unit.At this moment, slave unit obtains configuration data from correct result's response.And slave unit obtains after the configuration data, if slave unit need obtain other configuration data, then obtain other configuration data to main equipment, otherwise slave unit stops to obtain other configuration data.
On the other hand, if do not find requesting data information from the configuration data information table, then main equipment sends to slave unit with the error result response, for example, returns " data category is not supported " information.At this moment, slave unit stops to obtain other configuration data
In addition, in the method, slave unit starts and main equipment establishes a communications link comprises: slave unit sends the foundation request that comprises slave unit information to main equipment; And main equipment receives slave unit information, and sends to slave unit and to set up response, begins to ask configuration data with the notice slave unit.
Wherein, slave unit information comprises hardware version type, software version type and software version number, and the number of slave unit is one or several.
At this moment, if several slave units send several requests to main equipment, then main equipment is provided with a waiting list and stores several requests, and according to several requests of front and back sequential processes that arrive.
In addition, in the method, the information in the information table comprises classification numbering, index information and the data format of configuration data, and requesting data information comprises the classification numbering and the index information of configuration data.
To be that example is described embodiments of the invention with the DSLAM shown in Fig. 2 below.
As shown in Figure 4, processing procedure is as follows:
S401, task of master control board starting is waited for the configuration data request message that receives and handle from ply-yarn drill;
S402, the configuration data request message that the master control borad acquisition is sent by a ply-yarn drill;
S403, master control borad parse key messages such as data category numbering, data directory from the configuration data request that is obtained; Then these information are compared in the configuration data information table, check whether master control borad supports this configuration data, and whether the key message that ply-yarn drill provides is correct,, then handle and proceed to step S404 if correct; Otherwise execution in step S405;
S404, master control borad obtain the data of relevant configuration according to the key message in the configuration data request message from its database, and form data message by certain form;
S405, master control borad respond configuration data request result and data message to give ply-yarn drill.
As can be seen, the handling process of master control borad is very simple from top step, just according to the configuration data request of ply-yarn drill, makes judgement and obtains configuration data packing transmission.Whole process does not need to wait for the response of ply-yarn drill, does not need to consider the facility information and the configuration sequence of ply-yarn drill yet, and the processing time is very short, has therefore well improved the treatment effeciency of master control borad.
Fig. 5 shows the performed handling process of ply-yarn drill acquisition configuration data in the processing shown in Figure 4.As shown in Figure 5, it specifically comprises following processing:
S501, the ply-yarn drill electrifying startup, foundation is connected with the communication of master control borad;
S502, ply-yarn drill at first report the facility information of oneself, comprise hardware version type, software version type, software version number etc., and ply-yarn drill obtains master control borad and responds back execution in step S503, to begin to ask configuration data;
S503, ply-yarn drill determine needed first configuration data, according to the form of master control borad agreement, fill in the key message in the configuration data request message, comprise data category numbering, index information etc., then the configuration data request is sent to master control borad, wait for the response after master control borad is handled;
After S504, ply-yarn drill received receiveing the response of master control borad, ply-yarn drill was at first resolved the return results in the master control borad response, if the result is correct, then handled and proceeded to S505; If erroneous results (for example, master control borad returns " data category is not supported " etc.), then execution in step S506;
S505 returns correct result for master control borad, further resolves the message that master control borad is responded, and reads the configuration data content, finishes relevant setting, and the recording setting result;
S506, ply-yarn drill are according to the result of step S504 and S505, and whether decision asks the next item down configuration data; If finished the request of needed all configuration datas, perhaps according to the result of step S504 and S505, ply-yarn drill is judged can't continue layoutprocedure, then enters step S507; Otherwise ply-yarn drill repeating step S504 to S506 is with the required the next item down configuration data of request ply-yarn drill;
Request and configuration that S507, ply-yarn drill finish all configuration datas are provided with.
Wherein, in step S504, ply-yarn drill may can't obtain receiveing the response of master control borad in the time-out time of setting, this situation can't in time be caused abnormal conditions such as request give a response by information drop-out in the communication process of ply-yarn drill and master control borad or master control borad.If this situation has taken place, ply-yarn drill need resend this configuration data request.And if in the process of a certain configuration data of request, repeatedly occur overtimely when can not get situation that master control borad responds, the default configuration that ply-yarn drill can be enabled self is provided with, and skips this configuration.
From top step as can be seen, ply-yarn drill needs the sequencing of which configuration data, configuration data and the processing method after the layoutprocedure appearance unusually to control by ply-yarn drill oneself, therefore, no matter how many different slave units and the slave unit of how many versions are arranged in the whole master-slave equipment, main equipment all no longer needs to be treated with a certain discrimination.
In sum, in the method according to the invention, by means of technical scheme of the present invention, by the configuration data kind of every kind of slave unit needs of slave unit oneself decision and the sequencing of configuration, main equipment needs no longer to safeguard that the slave unit allocation list comes compatible configuration data support to all kinds and different editions slave unit; The configuring request order is adjusted in the slave unit upgrading, so long as not increasing Configuration Type newly, just no longer needs the main equipment upgraded version; After main equipment obtains the configuration data request of slave unit, directly read configuration data and transmission, do not need to wait for the slave unit response, saved the processing time of main equipment, and can handle the request of several slave units simultaneously.
Therefore,, can omit the maintenance process of main equipment to the equipment disposition table by means of technical scheme of the present invention, the processing time of main equipment when saving plant maintenance, and can handle the request of many slave units simultaneously, thus improved treatment effeciency.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. slave unit obtains the method for configuration data in the master-slave equipment, it is characterized in that, may further comprise the steps:
Main equipment is created database and the configuration data information table of preserving whole configuration datas, and the startup of described main equipment, communicates by letter with described slave unit to wait for;
Described slave unit starts and establishes a communications link with described main equipment, and periodically sends the request that comprises requesting data information to described main equipment, receives described request until described main equipment; And
After described main equipment receives described request, described request data message and described configuration data information table are compared, and the response that will comprise corresponding data sends to described slave unit.
2. slave unit according to claim 1 obtains the method for configuration data, it is characterized in that, if find the described request data message from described configuration data information table, the correct result response that then described main equipment will comprise with the corresponding configuration data of described request data message sends to described slave unit.
3. slave unit according to claim 2 obtains the method for configuration data, it is characterized in that, comprises that also described slave unit obtains described configuration data from described correct result's response.
4. slave unit according to claim 3 obtains the method for configuration data, it is characterized in that, comprise that also described slave unit obtains after the described configuration data, if described slave unit need obtain other configuration data, then obtain described other configuration data, otherwise described slave unit stops to obtain other configuration data to described main equipment.
5. slave unit according to claim 1 obtains the method for configuration data, it is characterized in that, if do not find the described request data message from described configuration data information table, then described main equipment sends to described slave unit with the error result response.
6. slave unit according to claim 5 obtains the method for configuration data, it is characterized in that, comprises that also described slave unit stops to obtain other configuration data.
7. slave unit according to claim 1 obtains the method for configuration data, it is characterized in that, described slave unit starts and described main equipment establishes a communications link comprises:
Described slave unit sends the foundation request that comprises slave unit information to described main equipment; And
Described main equipment receives described slave unit information, and sends the foundation response to described slave unit, begins to ask described configuration data to notify described slave unit.
8. slave unit according to claim 7 obtains the method for configuration data, it is characterized in that described slave unit information comprises hardware version type, software version type and software version number.
9. slave unit according to claim 1 obtains the method for configuration data, it is characterized in that the number of described slave unit is one or several.
10. slave unit according to claim 9 obtains the method for configuration data, it is characterized in that, if several described slave units send several requests to described main equipment, then described main equipment is provided with a waiting list and stores described several requests, and according to described several requests of front and back sequential processes that arrive.
11. obtain the method for configuration data according to each described slave unit in the aforesaid right requirement, it is characterized in that, information in the described information table comprises classification numbering, index information and the data format of described configuration data, and the described request data message comprises the classification numbering and the described index information of described configuration data.
CNA2007101277685A 2007-06-28 2007-06-28 Method for slave equipment to configuration data in master-salve equipments Pending CN101114941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101277685A CN101114941A (en) 2007-06-28 2007-06-28 Method for slave equipment to configuration data in master-salve equipments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101277685A CN101114941A (en) 2007-06-28 2007-06-28 Method for slave equipment to configuration data in master-salve equipments

Publications (1)

Publication Number Publication Date
CN101114941A true CN101114941A (en) 2008-01-30

Family

ID=39023076

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101277685A Pending CN101114941A (en) 2007-06-28 2007-06-28 Method for slave equipment to configuration data in master-salve equipments

Country Status (1)

Country Link
CN (1) CN101114941A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888407A (en) * 2010-06-11 2010-11-17 广东宝莱特医用科技股份有限公司 Method for configuration interactive synchronization between independently used module and module integrating device
CN102238020A (en) * 2010-04-21 2011-11-09 杭州华三通信技术有限公司 Method for realizing unified management of equipment, convergence switch and access switch
CN102547590A (en) * 2011-12-23 2012-07-04 北京邮电大学 Pairing method for user pairs of device to device communication based on business content relevance under cellular network
CN103248501A (en) * 2012-02-01 2013-08-14 中兴通讯股份有限公司 Service protection switching method and PON equipment
CN104253709A (en) * 2014-09-04 2014-12-31 大唐移动通信设备有限公司 Single board starting method and single board
CN105939366A (en) * 2015-07-03 2016-09-14 杭州迪普科技有限公司 User information synchronization method, user information synchronization device and access equipment
CN107395436A (en) * 2017-08-23 2017-11-24 成都安恒信息技术有限公司 A kind of equipment configuration system and method for managing master-slave network equipment
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN109426635A (en) * 2017-08-30 2019-03-05 Ls产电株式会社 For changing the device and method of the setting value of power equipment
CN109960572A (en) * 2017-12-22 2019-07-02 北京三快在线科技有限公司 Equipment resource management method and device and intelligent terminal
CN111309471A (en) * 2018-12-11 2020-06-19 迈普通信技术股份有限公司 Data processing method and device and distributed system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238020A (en) * 2010-04-21 2011-11-09 杭州华三通信技术有限公司 Method for realizing unified management of equipment, convergence switch and access switch
CN101888407A (en) * 2010-06-11 2010-11-17 广东宝莱特医用科技股份有限公司 Method for configuration interactive synchronization between independently used module and module integrating device
CN102547590A (en) * 2011-12-23 2012-07-04 北京邮电大学 Pairing method for user pairs of device to device communication based on business content relevance under cellular network
CN102547590B (en) * 2011-12-23 2014-12-24 北京邮电大学 Pairing method for user pairs of device to device communication based on business content relevance under cellular network
CN103248501A (en) * 2012-02-01 2013-08-14 中兴通讯股份有限公司 Service protection switching method and PON equipment
CN104253709A (en) * 2014-09-04 2014-12-31 大唐移动通信设备有限公司 Single board starting method and single board
CN104253709B (en) * 2014-09-04 2017-11-17 大唐移动通信设备有限公司 The startup method and veneer of a kind of veneer
CN105939366A (en) * 2015-07-03 2016-09-14 杭州迪普科技有限公司 User information synchronization method, user information synchronization device and access equipment
CN107395436A (en) * 2017-08-23 2017-11-24 成都安恒信息技术有限公司 A kind of equipment configuration system and method for managing master-slave network equipment
CN107395436B (en) * 2017-08-23 2020-04-21 成都安恒信息技术有限公司 Equipment configuration system and method for managing master-slave network equipment
CN109426635A (en) * 2017-08-30 2019-03-05 Ls产电株式会社 For changing the device and method of the setting value of power equipment
CN109426635B (en) * 2017-08-30 2021-11-02 Ls产电株式会社 Apparatus and method for changing setting value of power device
CN109960572A (en) * 2017-12-22 2019-07-02 北京三快在线科技有限公司 Equipment resource management method and device and intelligent terminal
CN109960572B (en) * 2017-12-22 2020-06-02 北京三快在线科技有限公司 Equipment resource management method and device and intelligent terminal
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN108882268B (en) * 2018-05-08 2021-09-24 京信网络系统股份有限公司 Method and device for updating device configuration
CN111309471A (en) * 2018-12-11 2020-06-19 迈普通信技术股份有限公司 Data processing method and device and distributed system
CN111309471B (en) * 2018-12-11 2024-02-09 迈普通信技术股份有限公司 Data processing method, device and distributed system

Similar Documents

Publication Publication Date Title
CN101114941A (en) Method for slave equipment to configuration data in master-salve equipments
CN101483576B (en) Version management implementing method in distributed system
EP1191744B1 (en) Network device management method, and network devices
CN102739624B (en) Method and system for automatically migrating business of passive optical network unit
EP2916219B1 (en) A system and a method for elevator software updating in elevator processor boards
WO2011040754A2 (en) Electronic book and system for firmware upgrade of electronic book
CN104618435B (en) Realize method and the long-distance desktop management system of remote desktop
CN101197711B (en) Method, device and system for implementing unified authentication management
JPS62243050A (en) Construction of terminal
CN103200026A (en) Upgrading method and upgrading system for firmware
CN102144403A (en) Systems and methods of identifying connections in a communications patching system using common-mode channel signal transmissions
CN103116477A (en) Apparatus, system, and method of output distribution, and recording medium storing output distribution control program
CN102724295A (en) Data synchronization method and system
CN108696394A (en) The means of communication and equipment of multiple PCIE network interface cards under a kind of Linux system
CN101001153A (en) Interface equipment, server operation service system and method
CN100571160C (en) Method for upgrading software and device and network element
CN101621397A (en) Distributed network management system, and maintenance and management method thereof
CN103761131A (en) Multi-board-card automatic updating method and system based on internal storage sharing
CN106302864A (en) A kind of IP in order arranges system
CN105631715A (en) Advertisement updating supervision method and device
CN102905000A (en) Address book synchronization method and device
CN102023827B (en) Print control apparatus, image forming apparatus and print control method
CN103365989A (en) Electronic patient record clinical data check method and system
CN101212346A (en) Software version management method and device for network element management system
CN105117898A (en) Cloud attendance management method and system for supporting access of attendance terminals of multiple manufacturers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080130