[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102984016B - A kind of management agreement asynchronous processing method - Google Patents

A kind of management agreement asynchronous processing method Download PDF

Info

Publication number
CN102984016B
CN102984016B CN201210568427.2A CN201210568427A CN102984016B CN 102984016 B CN102984016 B CN 102984016B CN 201210568427 A CN201210568427 A CN 201210568427A CN 102984016 B CN102984016 B CN 102984016B
Authority
CN
China
Prior art keywords
local side
configuration information
side configuration
management agreement
terminal device
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
CN201210568427.2A
Other languages
Chinese (zh)
Other versions
CN102984016A (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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210568427.2A priority Critical patent/CN102984016B/en
Publication of CN102984016A publication Critical patent/CN102984016A/en
Application granted granted Critical
Publication of CN102984016B publication Critical patent/CN102984016B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of management agreement asynchronous processing method, belong to network equipment management technology.Wherein, processing method is applied to the data processing between terminal device and local side apparatus, comprises the following steps:Terminal device system starts a Resident Process;Terminal device system starts management agreement host process, and opens thread under management agreement host process, for receiving the local side configuration information that local side apparatus is sent according to management agreement;Terminal device receives local side configuration information by thread;When message of the local side configuration information to determine time-out, local side configuration information is given Resident Process by thread, and is replied local side apparatus and operated successfully;Local side configuration information is transmitted to target process processing by Resident Process, and receives target process feedback.The method have the benefit that:Can be prevented effectively from makes the problem of operation failure or communication malfunction by taking the possible caused thread of multiple threads time-out protocol data institute ossified, improves the stability of system.

Description

A kind of management agreement asynchronous processing method
Technical field
The present invention relates to a kind of network equipment management technology, more particularly to a kind of management agreement asynchronous processing method.
Background technology
While Netowrk tape gives people a large amount of facilities, the management of the network equipment also becomes a difficult problem.Due to network The vast number of equipment, and catenet distribution, if to be controlled one by one by local management interface, that is very It is unpractical.Then, miscellaneous NMP arises at the historic moment.Such as:SNMP, TR069, OMCI, OAM etc..But with The problem of these upper agreements are faced with time-out.Such as SNMP and TR069, their time-out time are long, thus as by Control person, has sufficient time to complete operation, then by operation result uploading.At the same time, for as OAM and OMCI Agreement, they are stricter for the requirement of time, such as defined in China Telecom《China Telecom's EPON equipment technology will Seek V3.0_201104》In just clearly write " in order to ensure correct operation, after standard OAMPDU or extension OAMPDU is received, ONU should complete corresponding operation (reading of such as property value, setting, Action come into force to be changed with wrapped state) in 500ms, And send the OAMPDU of response." but in fact, such requirement is unlikely realized.During practical operation, very All actions can not be completed when many in 500ms, such as the network port for being desirable for an equipment is enabled, then by When being instructed to this, it is necessary to electric on target port, then load corresponding driving.These operations are all to need the consuming time , so as to cause the time replied necessarily more than the stand-by period of agreement, such agreement can not just pass through.
In this regard, a kind of method is exactly R&D team's negotiation with local side, individually the time-out time of these operations is elongated, this Sample can more perfectly solve current predicament.But this method is there is also limitation, and global producer is very more after all, The problem of intercommunity is originally one very big, can not can guarantee that each manufacturer can elongate the time of these agreements to come Standby normal operation is hung under guarantee.
Another method is to take the processing method of multithreading to solve this problem, after equipment receives instruction, system Direct one thread of pull-up handles the operation, meanwhile, directly reply local side apparatus operates successfully.But its problem is, pipe Reason agreement can issue substantial amounts of configuration when registering and completing, and for the indices of initialization apparatus, so assume in the short time Interior, equipment receives multiple operation requests and (completed because above having responded to operation, natural local side apparatus will issue next finger Make), then the treatment progress of management agreement will pull-up corresponding multiple thread handle this operation, then in concurrent system In, because first operation just takes system resource, so thread behind all can be ossified less than resource because of distributing, So as to cause the operation failure of subsequent thread.In addition, when equipment receives and sends message to other processes after local side configuration, due to BCM inter-process communication mechanisms are based on process, while it is also not directed to the processing communicated between multithreading, if so in itself Blocking mechanism writes is not fine, then message sink error is this may result in, if purpose process is also required to send message If solving this problem, then the robustness of system will be worse, the probability gone wrong also can be bigger.
The content of the invention
For technical problem present in above prior art, the invention provides a kind of management agreement asynchronous process side Method, to solve the technical problem that concurrent resource is fought for and multithreading causes interprocess communication to malfunction.
Concrete technical scheme is as follows:
A kind of management agreement asynchronous processing method, wherein, the processing method be applied to terminal device and local side apparatus it Between data processing, comprise the following steps:
Terminal device system described in step 1. starts a Resident Process;
Terminal device system described in step 2. starts management agreement host process, and is opened under the management agreement host process Thread, for receiving the local side configuration information that the local side apparatus is sent according to the management agreement;
Terminal device described in step 3. receives the local side configuration information by the thread;
Step 4. is when message of the local side configuration information to determine time-out, and the thread is by the local side configuration information The Resident Process is given, and replys the local side apparatus and is operated successfully;
The local side configuration information is transmitted to target process processing by Resident Process described in step 5., and receives the target Progress feedback.
Above-mentioned management agreement asynchronous processing method, wherein, in addition to:
Step 6. is when the local side configuration information is determines not overtime message, and the local side is matched somebody with somebody confidence by the thread Breath is sent to corresponding purpose process, and the purpose process processing completes the backward thread feedback, and is replied by the thread The local side apparatus is operated successfully.
Above-mentioned management agreement asynchronous processing method, wherein, the management agreement host process receives local control message, and It is transmitted to corresponding purpose process.
Above-mentioned management agreement asynchronous processing method, wherein,
Also include in the step 1:The Resident Process is set to block shape by terminal device system described in step 1.1 State;
Also include in the step 4:Step 4.1 is when the local side configuration information is determines overtime message, the end End equipment Solutions of Systems remove the Resident Process blocked state, the thread by the local side configuration information give it is described reside into Journey;The local side configuration information is transmitted to target process processing by Resident Process described in step 4.2, and is received the target and entered After journey feedback, the Resident Process is set to blocked state by the terminal device system.
Above-mentioned management agreement asynchronous processing method, wherein, the terminal device is true by the type of the management agreement The fixed local side configuration information is the overtime message of determination or determines not overtime message.
The beneficial effects of the invention are as follows:By setting a system residence process, the local side for receiving the meeting of determination time-out Configuration information, can be prevented effectively from makes behaviour by taking the possible caused thread of the overtime protocol data institute of multiple threads ossified The problem of interprocess communication malfunctions caused by work failure or multithreading, improves the stability of system.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of management agreement asynchronous processing method embodiment of the invention.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
It is a kind of schematic flow sheet of management agreement asynchronous processing method of the invention as shown in Figure 1, wherein, processing method is fitted For the data processing between terminal device and local side apparatus, comprise the following steps:
Step 1. terminal device system starts a Resident Process;
Step 2. terminal device system starts management agreement host process, and opens thread under management agreement host process, uses The local side configuration information sent in reception local side apparatus according to management agreement;
Step 3. terminal device receives local side configuration information by thread;
Step 4. when local side configuration information for determine time-out message when, thread local side configuration information is given reside into Journey, and reply local side apparatus and operate successfully;
Local side configuration information is transmitted to target process processing by step 5. Resident Process, and receives target process feedback.
The present invention technical principle be:A brand-new Resident Process is introduced in system, the process possesses and other processes one The priority of sample.When management agreement process receives the message for needing long time treatment, operational order is forwarded into so far process, so Target process is forwarded the messages to by the process again afterwards.In this manner it is possible to the problem of solving process forwarding error, because this When, each process only one of which place is mixed in messaging, the message gimmick for being just not easy to occur being previously mentioned in the prior art Random situation.Secondly, another advantage of the program is solved using message queue characteristics in itself, and sequential is asked between multithreading Topic, it is to avoid concurrent process takes same resource simultaneously, the problem of causing system locked and only handle a process.
In a kind of specific embodiment of the present invention, in addition to step 6. works as local side configuration information to determine not overtime message When, local side configuration information is sent to corresponding purpose process by thread, and the processing of purpose process completes backward thread feedback, and by line Cheng Huifu local side apparatus is operated successfully.
In a kind of specific embodiment of the present invention, management agreement host process receives local control message, and is transmitted to corresponding Purpose process.
In a kind of specific embodiment of the present invention, also include in step 1:Step 1.1 terminal device system is by Resident Process It is set to blocked state;Also include in step 4:Step 4.1 is when local side configuration information is determines overtime message, terminal device Solutions of Systems removes the blocked state of Resident Process, and local side configuration information is given Resident Process by thread;Step 4.2 Resident Process is by office End configuration information is transmitted to target process processing, and receives after target process feedback, and terminal device system sets Resident Process It is set to blocked state.By the way that the Resident Process is set into blocked state, can effectively it prevent when management agreement is local in processing During control information, two processes is produced the situation of crosstalk, and cause operation failure, only when receiving local side configuration information Afterwards, the blocked state of Resident Process is just released.And after Resident Process receives the feedback of respective objects process, Resident Process is again Blocked state is entered, is circulated with this.
Above-mentioned management agreement asynchronous processing method, wherein, terminal device determines that local side is matched somebody with somebody by the type of management agreement Confidence breath is the overtime message of determination or determines not overtime message.For so existing similar to SNMP, TR069, OMCI, OAM It is difficult that its message information just can be true according to the type of its corresponding management agreement for the management agreement for avoiding time-out in reality It is set to the message for determining time-out, is made a distinction with this.
The short time of agreement defined and the time of practical operation inherently have contradiction objectively, so this is asked Topic is essentially insurmountable.So currently invention addresses the intercommunity between the network equipment, passing through multi-process solution Certainly mechanism, so as to reach that agreement is required temporal as much as possible, it is ensured that the intercommunication between each manufacturer.
Preferred embodiments of the present invention are the foregoing is only, embodiments of the present invention and protection model is not thereby limited Enclose, to those skilled in the art, should can appreciate that made by all utilization description of the invention and diagramatic content Scheme obtained by equivalent substitution and obvious change, should be included in protection scope of the present invention.

Claims (5)

1. a kind of management agreement asynchronous processing method, it is characterised in that the processing method is set suitable for terminal device with local side Data processing between standby, comprises the following steps:
Step 1. terminal device system starts a Resident Process;
Terminal device system described in step 2. starts a management agreement host process, and opens line under the management agreement host process Journey, for receiving the local side configuration information that the local side apparatus is sent according to the management agreement;
Terminal device described in step 3. receives the local side configuration information by the thread;
Step 4. is when the local side configuration information is determines overtime message, and the thread gives the local side configuration information The Resident Process, and reply the local side apparatus and operate successfully;
The local side configuration information is transmitted to target process processing by Resident Process described in step 5., and is received the target and entered Journey is fed back.
2. management agreement asynchronous processing method as claimed in claim 1, it is characterised in that also include:
Step 6. is when the local side configuration information is determines not overtime message, and the thread sends out the local side configuration information Corresponding target process is given, the target process processing completes the backward thread feedback, and replys described by the thread Local side apparatus is operated successfully.
3. management agreement asynchronous processing method as claimed in claim 1, it is characterised in that the management agreement host process is received Local control message, and it is transmitted to corresponding target process.
4. management agreement asynchronous processing method as claimed in claim 1, it is characterised in that
Also include in the step 1:The Resident Process is set to blocked state by terminal device system described in step 1.1;
Also include in the step 4:Step 4.1 is when the local side configuration information is determines overtime message, and the terminal is set Standby Solutions of Systems removes the blocked state of the Resident Process, and the local side configuration information is given the Resident Process by the thread; The local side configuration information is transmitted to target process processing by Resident Process described in step 4.2, and receives the target process After feedback, the Resident Process is set to blocked state by the terminal device system.
5. management agreement asynchronous processing method as claimed in claim 1 or 2, it is characterised in that the terminal device passes through institute The type for stating management agreement determines the local side configuration information to determine the message of time-out or determine not overtime message.
CN201210568427.2A 2012-12-24 2012-12-24 A kind of management agreement asynchronous processing method Expired - Fee Related CN102984016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210568427.2A CN102984016B (en) 2012-12-24 2012-12-24 A kind of management agreement asynchronous processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210568427.2A CN102984016B (en) 2012-12-24 2012-12-24 A kind of management agreement asynchronous processing method

Publications (2)

Publication Number Publication Date
CN102984016A CN102984016A (en) 2013-03-20
CN102984016B true CN102984016B (en) 2017-07-25

Family

ID=47857777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210568427.2A Expired - Fee Related CN102984016B (en) 2012-12-24 2012-12-24 A kind of management agreement asynchronous processing method

Country Status (1)

Country Link
CN (1) CN102984016B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245413B (en) * 2015-09-24 2018-07-13 成都广达新网科技股份有限公司 A kind of method that EOC equipment local side obtains terminal control message response

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114994A (en) * 2006-07-28 2008-01-30 中兴通讯股份有限公司 Method for detecting connectivity of multi-protocol label switching virtual private network
CN101141474A (en) * 2007-09-27 2008-03-12 中兴通讯股份有限公司 Hypertext transfer protocol based communication system and method
CN101290668A (en) * 2008-06-16 2008-10-22 中国移动通信集团湖北有限公司 Time sharing operation dynamic dispatching method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2407178B (en) * 2003-10-17 2006-07-12 Toshiba Res Europ Ltd Reconfigurable signal processing module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114994A (en) * 2006-07-28 2008-01-30 中兴通讯股份有限公司 Method for detecting connectivity of multi-protocol label switching virtual private network
CN101141474A (en) * 2007-09-27 2008-03-12 中兴通讯股份有限公司 Hypertext transfer protocol based communication system and method
CN101290668A (en) * 2008-06-16 2008-10-22 中国移动通信集团湖北有限公司 Time sharing operation dynamic dispatching method and device

Also Published As

Publication number Publication date
CN102984016A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN103677988B (en) The multi-process means of communication and system for software systems
CN104317764B (en) A kind of real-time control method of 1553B buses asynchronous message
CN103731328B (en) System and method based on Linux Sharing Memory Realization home gateway data communication
EP2330525A1 (en) Parallel computing method and computing platform for security and stability analysis of large power grid
CN106060088A (en) Service management method and device
CN105933253A (en) Switch configuration recovery method under SDN network
CN109391691A (en) The restoration methods and relevant apparatus that NAS is serviced under a kind of single node failure
CN102170366B (en) Method, device and system for communicating with single board
CN105187256A (en) Disaster recovery method, device and system
CN106301840B (en) Method and device for sending Bidirectional Forwarding Detection (BFD) message
CN106375103B (en) Alarm data acquisition and transmission method
DE102019128383A1 (en) METHOD AND DEVICE FOR SYNCHRONIZING SIGNALING BETWEEN LINK PARTNERS IN A HIGH-SPEED CONNECTION
CN103297279B (en) The active and standby single-deck reverse method of software control in a kind of many software process system
CN103490945A (en) Method for detecting maximum telnet user quantity
CN104683486B (en) Method, apparatus, the distributed system of synchronization message are handled in distributed system
CN111010319B (en) VSF-based link detection method and device
CN103685083A (en) Communication method in asynchronous management network
CN102984016B (en) A kind of management agreement asynchronous processing method
AT512665A1 (en) Method and apparatus for forming software fault containment units in a distributed real-time system
CN108880866A (en) A kind of network service system
CN108259130A (en) The Modbus Transmission systems and method of a kind of baud rate even-odd check position adaptive
CN105763661B (en) A kind of acquisition methods and communication equipment of network protocol IP address
CN116886576A (en) Multi-control storage cluster communication timeout control method, device, equipment and medium
CN107070872B (en) A kind of data processing method and device for client
CN114153655B (en) Disaster recovery system creation method, disaster recovery method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20170725

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20170725

PD01 Discharge of preservation of patent
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20170725

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20170725

PD01 Discharge of preservation of patent
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170725

CF01 Termination of patent right due to non-payment of annual fee