CN101404615B - Configuration data processing method and system used for multi-component analog structure - Google Patents

Configuration data processing method and system used for multi-component analog structure Download PDF

Info

Publication number
CN101404615B
CN101404615B CN2008102172295A CN200810217229A CN101404615B CN 101404615 B CN101404615 B CN 101404615B CN 2008102172295 A CN2008102172295 A CN 2008102172295A CN 200810217229 A CN200810217229 A CN 200810217229A CN 101404615 B CN101404615 B CN 101404615B
Authority
CN
China
Prior art keywords
configuration data
buffer area
historical record
data
issues
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.)
Expired - Fee Related
Application number
CN2008102172295A
Other languages
Chinese (zh)
Other versions
CN101404615A (en
Inventor
罗增琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN2008102172295A priority Critical patent/CN101404615B/en
Publication of CN101404615A publication Critical patent/CN101404615A/en
Application granted granted Critical
Publication of CN101404615B publication Critical patent/CN101404615B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a configuration data treatment method and a system used for a multivariate similar structure. In the method, a data comparator is used for comparing configuration data of elements in a traversal historical recording region with corresponding configuration data in a comparing buffer. And according to that whether current comparative results are the same, control signals aiming at the elements are respectively generated and are sent to a downlink controller. The downlink controller opens or blocks the data flow of the configuration data of the element from the historical recording region to a downlink buffer. The method and the system result in a more flexible messaging mode that is communicated with an upper layer module; that is, whether configuration files of afferent direction are total or incremental is not required to be distinguished. The messaging mode of the afferent direction is required to be distinguished. Messages can be directly sent out in a lower layer desired mode. The wider adaptability of the system is realized.

Description

A kind of configuration data processing method and system that is used for multi-component analog structure
Technical field
The present invention relates to a kind of message software implementation method, in particular a kind of multi-component analog structure configuration data processing method that is used in the configuration data dissection process process.
Background technology
The notion of multi-component analog structure body is a device, it has several elements arranged side by side, has similitude between each element, the parameter type of its required configuration, the parameter value scope is just the same, as list item in the port at the same level in the SDH system (Synchronous Digital Hierarchy, synchronous digital hierarchy), display picture element, the database etc.Therefore can they be configured respectively with the mode of searching loop in the program.
When a upper strata control module when this class multi-component analog structure body issues certain configuration data, can be divided into dual mode and issue: full dose issues mode (promptly enumerating out the due configuration of all elements); Incremental distribution mode (element that only comprises needs change configuration).
In the existing implementation algorithm of prior art, often can only set up downward message according to the message mode that receives from the upper strata.Can't adjust this mode in the middle of the module, if promptly the data of Jie Shouing are the full dose mode, the mode of issuing is necessary for the full dose mode, if the data that receive are incremental mode, the mode of issuing is necessary for incremental mode.The invention that perhaps has can realize changing the full dose message into function that incremental mode issues, but does not realize increment is converted into the function of full dose; Promptly have only full dose at present---〉full dose, full dose---increment, increment---three kinds of trends of increment.And the message that these existing implementation algorithms necessarily require the upper strata to inform to transmit is any mode, just reaches permanent tacit agreement with the upper strata before perhaps, and message mode immobilizes between the two.Like this, under the situation of the mode that receives uncertain (not having tacit agreement), just need in message protocol increase an identification field more, and can not compatible full dose and increment processing mode.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide a kind of configuration data processing method and system that is used for multi-component analog structure, at above-mentioned prior art problems, the method that provides a kind of compatible full dose and increment message to handle, provide four kinds to walk always configuration data is resolved, it comprises full dose---〉full dose, full dose---〉increment, increment---full dose, increment---increment.
Technical scheme of the present invention comprises:
A kind of configuration data treatment system that is used for multi-component analog structure, it is used for after receiving the message that upper layer module issues the lower module repeating process to multi-component analog structure, wherein, setting comprises a configuration data parsing module, this configuration data parsing module comprises the reception buffer area, issues buffer area, comparison buffer area, historical record district, and issues mode selector switch, data comparator and following line control unit;
Described reception buffering area is provided for receiving and storing temporarily the configuration message that passes under the upper layer module;
Described historical record district is used to write down the dissimilar configuration datas of all elements;
Described relatively buffer area is used for interim transfer, and according to the message mode of issuing of lower module expectation wherein parameter value is set;
Whether described data comparator is used for more described historical record district identical with the configuration data of described relatively buffer area, and produce a described control signal of line control unit down of control;
Described line control unit down is used to accept the control of described control signal, to open or to be blocked in described historical record district and the described data flow of passing through this time line control unit between the buffer area that issues;
The described buffer area that issues is used for issuing wherein temporary transient configuration data stored to the lower module of correspondence.
Described system wherein, when the message mode of issuing of lower module expectation is increment, describedly issues the configuration data that the mode selector switch is used for the currentElement in open historical record district and enters described relatively buffer area; When the message mode of issuing of lower module expectation was full dose, each parameter in the described relatively buffer area was got null value.
Described system, wherein, described control signal comprises: when the configuration data of this element compares with the described corresponding configuration data that compares in the buffer area in described historical record district, if identical then congested data flow; If different, then open data flow.
Described system, wherein, described control signal is 0 when identical, be not 1 simultaneously.
A kind of configuration data processing method that is used for multi-component analog structure, it may further comprise the steps:
A, when receiving the configuration data that upper layer module issues, put into described reception buffer area;
B, the message of being expected by described configuration data parsing module judgement lower module issue mode, if the then described configuration data that issues corresponding element in the open described historical record of the mode selector switch district of increment enters the comparison buffer area; If the then described mode selector switch that issues of full dose cuts out, and each parameter that is provided with in the comparison buffer area is got null value;
C, will receive the packet parsing in the buffer area, data are allocated in the corresponding unit in historical record district item by item, to upgrade described historical record district;
The configuration data of each element in D, the traversal historical record district, with described data comparator this configuration data in the historical record district is compared with the described corresponding configuration data that compares in the buffer area, and according to the current comparative result identical control signal that produces respectively at this element whether, and issue described line control unit down;
E, described down line control unit open according to the control signal of receiving or the configuration data that blocks this element from described historical record district to the described data flow that issues buffer area.
Described method wherein, also comprises step before the described step D:
D0, empty and issue buffer area.
Described method wherein, also comprises step after the described step e:
E1, the described message that issues in the buffer area is handed down to corresponding lower module.
Described method, wherein, described step D also comprises: produce the described control signal of line control unit blocking data stream down of control when comparative result is identical.
Described method, wherein, described step D also comprises: the control signal that does not produce the described descending controller opens data flow of control at comparative result simultaneously.
Described method, wherein, the control signal among the described step D is 0 when comparative result is identical, is not 1 simultaneously.
A kind of configuration data processing method and system that is used for multi-component analog structure provided by the present invention, because changeing mutually arbitrarily of compatible full dose and increment dual mode, can make that the message mode that exchanges with upper layer module is more flexible, that promptly need not distinguish the configuration message that imports direction (upper layer module is sent) into and be full dose or increment, and only distinguish the message mode spread out of direction (lower module expectation), the mode that can both be converted into expectation for any way that imports direction into spreads out of, how the message mode no matter upper layer module transmits changes, the inventive method need not to pay close attention to, the mode that can be directly message be converted into lower floor's expectation spreads out of, and it has realized the more wide in range adaptability of system.
Description of drawings
Fig. 1 forms and data flow diagram for the module of system of the present invention;
Fig. 2 is the detailed process schematic diagram of the inventive method.
Embodiment
Below in conjunction with accompanying drawing, will be described in more detail each preferred embodiment of the present invention.
The core inventive point of the inventive method and system is by preserving all configuration datas of multi-component analog structure at the analytical algorithm layer, realizing changeing mutually arbitrarily and compatible processing of full dose mode and incremental mode.This layer judged according to the lower module desired data mode of issuing after receiving new configuration data; If issue for incremental mode will find renewal back configuration data to resolve with previous round configuration data configuration item inequality; If be the full dose mode, will guarantee that last every is all resolved and issues.
System of the present invention mainly comprises a configuration data parsing module, and as shown in Figure 1, this configuration data parsing module setting comprises four storage areas: receive buffer area 110, issue buffer area 120, compare buffer area 130 and historical record district 140.Described historical record district 140 is used to write down the dissimilar configuration informations of all elements.Described reception buffer area 110 is used for the configuration message that interim storage is received; The described buffer area 120 that issues is used for storage temporarily to the configuration message of lower floor's module forwards.Described relatively buffer area 130 is used for the homogeneous data in interim transfer, the comparison historical record district 140.
This configuration data parsing module also comprises three data stream control blocks in addition: issue mode selector switch 210, and data comparator 220 and following line control unit 230, as shown in Figure 1.The described mode selector switch 210 that issues is used for earlier message according to the lower module expectation to spread out of that mode selects is full dose or incremental mode.Described data comparator 220 acts on down line control unit 230 according to the control signal of identical generation whether of the configuration data in historical record district 140 and the buffer area 130 relatively, with open or block by under the data flow of line control unit.
As shown in Figure 2, the present invention's concrete implementation step of being used for the configuration data processing method of multi-component analog structure comprises:
201, when described configuration data parsing module is received configuration data, put into its reception buffer area 110 and carry out buffer memory;
202, described configuration data parsing module judges that the desired message of lower module spreads out of mode, if during increment, describedly issues the data that mode selector switch 210 will open in the historical record district 140 and enters comparison buffer area 130; If during full dose, each parameter in described relatively buffer area 130 is got null value;
Particularly, as shown in Figure 2, this step 202 may further comprise the steps:
212, the desired message of lower module is spread out of mode and judge, judge whether configuration spreads out of in the full dose mode; In this way, execution in step 222 is as denying execution in step 232;
222, each parameter that compares in the buffer area 130 is got null value;
232, the data in the historical record district 140 enter comparison buffer area 130.
203, the described configuration data parsing module message that will receive in the buffer area 130 is resolved, and data are allocated in historical record district 140 elements corresponding item by item, to upgrade historical record district 140;
204, empty and issue buffer area 120;
205, the configuration of each element in the traversal historical record district 140, with described data comparator 220 with these group data in the historical record district with the data in the buffer area 130 relatively one by one element compare, each element all produces control signal respectively according to current comparative result, 0 is identical, 1 is different, and sends to descending controller 230;
206, the control signal of receiving when described line control unit 230 down is 1, is opening data flow, makes the currentElement data in the described historical record district 140 enter the described buffer area 120 that issues.When the control signal of receiving when described down line control unit 230 was 0, then blocking data stream made the currentElement data in the described historical record district 140 can't enter described issuing in the buffer area 120.
Repeating said steps 205 and step 206 in traversal described historical record district 140 all elements data and finish, and message is wherein issued by the described buffer area 120 that issues.
SDH communication system with the inventive method is an example when handling the E1 signal that inserts, and there are several ports in described system, and a port is corresponding to a time slot.The PDH signal of the low rate that inserts can enter into the SDH system by these ports, be multiplexed with the two-forty signal and transmit at a distance, and each port need carry out various parameter configuration, because the structure of port is almost completely similar, satisfies the notion of similar unit.
After upper layer module sends over a configuration message (as the expense configuration message) for the configuration data parsing module, will use the inventive method and handle, its step please refer to illustrated in figures 1 and 2, and is specific as follows:
The first step: when receiving the expense configuration data, put into the reception buffer area;
Second step: judge that the desired message of lower module spreads out of mode, if during increment, the expense configuration data in the promptly open historical record district of the mode selector switch of issuing enters the comparison buffer area; If during full dose, each parameter in the described relatively buffer area is got null value;
The 3rd step: will receive the packet parsing in the buffer area, data are allocated in the corresponding port expense configuration group in historical record district item by item, to upgrade the historical record district;
The 4th step: empty and issue buffer area;
The 5th step: the expense configuration of each port in the traversal historical record district, compare one by one with the expense configuration of comparing corresponding port in the buffer area with the expense configuration of data comparator each port in the historical record district, each port all produces control signal respectively according to current comparative result, for example 0 is identical, 1 is different, issues down line control unit;
The 6th step: the control signal received of line control unit is 1 o'clock instantly, opens data flow, current port cost configuration data corresponding in the historical record district is entered issue buffer area.Instantly the control signal received of line control unit is 0 o'clock, and blocking data stream can't enter current port cost configuration data in the described historical record district and issues buffer area.
Repeat the 5th step, the 6th step, finish behind all of the port in all historical record districts of traversal.
The 7th step: the message that will issue in the buffer area carries out corresponding issuing.
The inventive method spreads out of the mode difference by the desired message of data based lower module that the comparison buffer area is set, and carry out corresponding setting, and historical record district respective meta-data and the data that compare buffer area are compared by described data comparator, controlled instruction is controlled described line control unit down, how to change and need not to pay close attention to the message mode that upper layer module transmits, simplified the processing procedure of system, improve system handles efficient, and realized the more wide in range adaptability of system.
Should be understood that above-mentioned description at preferred embodiment of the present invention is comparatively detailed and concrete, can not therefore think the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (10)

1. configuration data treatment system that is used for multi-component analog structure, it is used for after receiving the message that upper layer module issues the lower module repeating process to multi-component analog structure, it is characterized in that, setting comprises a configuration data parsing module, this configuration data parsing module comprises the reception buffer area, issues buffer area, comparison buffer area, historical record district, and issues mode selector switch, data comparator and following line control unit;
Described reception buffering area is provided for receiving and storing temporarily the configuration data that passes under the upper layer module;
Described historical record district is used for writing down the configuration data of described multi-component analog structure all elements;
Described relatively buffer area is used for when the message mode of issuing of lower module expectation is increment, and the configuration data in the interim described historical record of transfer district when the message mode of issuing of lower module expectation is full dose, is provided with described relatively each parameter of buffer memory and gets null value;
Whether described data comparator is used for more described historical record district identical with the configuration data of described relatively buffer area, and produce a described control signal of line control unit down of control;
Described down line control unit is used to accept the control of described control signal, and configuration data open according to the control of described control signal or that block described historical record district enters into the described buffer area that issues;
The described buffer area that issues is used for issuing wherein temporary transient configuration data stored to the lower module of correspondence.
2. system according to claim 1 is characterized in that, when the message mode of issuing of lower module expectation is increment, describedly issues the configuration data that the mode selector switch is used for the currentElement in open historical record district and enters described relatively buffer area; When the message mode of issuing of lower module expectation was full dose, each parameter in the described relatively buffer area was got null value.
3. system according to claim 2 is characterized in that, described control signal comprises: when the configuration data of this element compares with the described corresponding configuration data that compares in the buffer area in described historical record district, if identical then congested data flow; If different, then open data flow.
4. system according to claim 3 is characterized in that, described control signal is 0 when identical, be not 1 simultaneously.
5. a configuration data processing method that is used for multi-component analog structure is characterized in that, may further comprise the steps:
A, when receiving the configuration data that upper layer module issues, put into and receive buffer area;
B, the message of being expected by configuration data parsing module judgement lower module issue mode, enter the comparison buffer area if increment then issues the configuration data of corresponding element in the open historical record of the mode selector switch district; If the then described mode selector switch that issues of full dose cuts out, and each parameter that is provided with in the comparison buffer area is got null value;
C, will receive the packet parsing in the buffer area, data are allocated in the respective element in historical record district item by item, to upgrade described historical record district;
The configuration data of each element in D, the traversal historical record district, with data comparator this configuration data in the historical record district is compared with corresponding configuration data in the buffer area relatively, and according to the current comparative result identical control signal that produces respectively at this element whether, and issue descending controller;
E, described down line control unit open according to the control signal of receiving or the configuration data that blocks this element from described historical record district to the described data flow that issues buffer area.
6. method according to claim 5 is characterized in that, also comprises step before the described step D:
D0, empty and issue buffer area.
7. method according to claim 6 is characterized in that, also comprises step after the described step e:
E1, the described message that issues in the buffer area is handed down to corresponding lower module.
8. method according to claim 7 is characterized in that, described step D also comprises: produce the described control signal of line control unit blocking data stream down of control when comparative result is identical.
9. method according to claim 7 is characterized in that, described step D also comprises: the control signal that does not produce the described descending controller opens data flow of control at comparative result simultaneously.
10. method according to claim 7 is characterized in that, the control signal among the described step D is 0 when comparative result is identical, is not 1 simultaneously.
CN2008102172295A 2008-10-27 2008-10-27 Configuration data processing method and system used for multi-component analog structure Expired - Fee Related CN101404615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102172295A CN101404615B (en) 2008-10-27 2008-10-27 Configuration data processing method and system used for multi-component analog structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102172295A CN101404615B (en) 2008-10-27 2008-10-27 Configuration data processing method and system used for multi-component analog structure

Publications (2)

Publication Number Publication Date
CN101404615A CN101404615A (en) 2009-04-08
CN101404615B true CN101404615B (en) 2011-04-20

Family

ID=40538490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102172295A Expired - Fee Related CN101404615B (en) 2008-10-27 2008-10-27 Configuration data processing method and system used for multi-component analog structure

Country Status (1)

Country Link
CN (1) CN101404615B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104094568B (en) * 2013-11-29 2017-07-21 华为技术有限公司 A kind of method of Message Processing, equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459933A (en) * 2002-05-23 2003-12-03 深圳市中兴通讯股份有限公司 Method of circuit business automatic distribution in synchronous digital system optical transmission system
CN101146283A (en) * 2007-06-14 2008-03-19 中兴通讯股份有限公司 A method for realizing key service configuration of terminal devices
CN101183985A (en) * 2007-10-24 2008-05-21 中兴通讯股份有限公司 Method and system of incremental distribution configuration command

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459933A (en) * 2002-05-23 2003-12-03 深圳市中兴通讯股份有限公司 Method of circuit business automatic distribution in synchronous digital system optical transmission system
CN101146283A (en) * 2007-06-14 2008-03-19 中兴通讯股份有限公司 A method for realizing key service configuration of terminal devices
CN101183985A (en) * 2007-10-24 2008-05-21 中兴通讯股份有限公司 Method and system of incremental distribution configuration command

Also Published As

Publication number Publication date
CN101404615A (en) 2009-04-08

Similar Documents

Publication Publication Date Title
Chlebus et al. Adversarial queuing on the multiple access channel
CN102273176B (en) System and method for retransmission and fragmentation in a communication network
CN110024339A (en) Message forwarding method, forwarding device and the network equipment
US7085875B1 (en) Modular switch with dynamic bus
RU2559037C2 (en) Time synchronisation method and time synchronisation device for mobile communication system
CN100379189C (en) Circuit in mixed rate optical communication network
CN101511042B (en) Data synchronization method and device
CN103916950A (en) Time synchronization method and system
BRPI0712237B1 (en) distributed multi-radio controller
CN103188064A (en) Clock synchronization method and clock synchronization device
CN102148726A (en) Network management data acquisition unit of field equipment based on hybrid fiber coax (HFC) network radio frequency (RF) backhaul
CN103023595A (en) Method and device for realizing best master clock algorithm
US20230308308A1 (en) Method and apparatus for providing a high security mode in a network
CN1007773B (en) Signal selection by majority comparison
CN105848235A (en) Communication control method and device
Ortiz et al. Scheduling of multicast traffic in tunable-receiver WDM networks with non-negligible tuning latencies
CN101404615B (en) Configuration data processing method and system used for multi-component analog structure
CN105228192B (en) Cell configuring method and device
CN105262800A (en) Access control method and system for cluster NAS file system
CN101604270B (en) ARINC 429 communication redundancy method based on vxworks operation system
CN102123057A (en) Synchronous network route detection, optimization and network routing method and synchronous network system
CN104053159A (en) Method and device for distributing frequency points to multi-carrier base station
CN101257721B (en) Communication control apparatus, communication control method, mobile communication terminal, and data reception method
Anantharamu et al. Adversarial multiple access channel with individual injection rates
CN108282406B (en) Data transmission method, stacking equipment and stacking system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420

Termination date: 20171027