CN106254040A - The response process method of order and device - Google Patents

The response process method of order and device Download PDF

Info

Publication number
CN106254040A
CN106254040A CN201510331129.5A CN201510331129A CN106254040A CN 106254040 A CN106254040 A CN 106254040A CN 201510331129 A CN201510331129 A CN 201510331129A CN 106254040 A CN106254040 A CN 106254040A
Authority
CN
China
Prior art keywords
described
order
module
response
confirm
Prior art date
Application number
CN201510331129.5A
Other languages
Chinese (zh)
Inventor
仲燕
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201510331129.5A priority Critical patent/CN106254040A/en
Publication of CN106254040A publication Critical patent/CN106254040A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/14Arrangements for detecting or preventing errors in the information received by using return channel in which the signals are sent back to the transmitter to be checked echo systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1664Details of the supervisory signal the supervisory signal being transmitted together with payload signals; piggybacking

Abstract

The invention discloses response process method and the device of a kind of order, wherein, the method includes: the order received be sent to multiple for exectorial first module;Judge whether this locality is configured with preset rules, wherein, preset rules for instruction in the given time any one first module produce in response to order response time, confirm order execution terminate;It is yes in judged result, and when arbitrary first module produces response, confirms that order execution terminates according to preset rules;The result that order performs to terminate is reported terminal.By the present invention, solving needs to receive all response result for exectorial module and could terminate order and the problem that causes command process time-out in correlation technique.

Description

The response process method of order and device

Technical field

The present invention relates to the communications field, in particular to the response process method of a kind of order And device.

Background technology

When Deta bearer product carries out communication in a network, need to be configured on equipment by manager Number order, enables corresponding function, could meet the business demand of network.Fig. 1 is relevant The transmission flow schematic diagram of order in technology, Fig. 2 is that in correlation technique, the reception flow process of order is shown It is intended to, as depicted in figs. 1 and 2, in the processing procedure of correlation technique order, under order needs Issue polylith line card (being equivalent to command execution module) to perform, treat that polylith line card is carried out successfully Just tell the fortune and make configuration take-effective.Owing to network environment is complicated, communication data amount is big, works as equipment message When communication is busy, the command process response message of certain block line card can be caused blocked or lose, In the range of regular hour, order management module can not receive the response result that order performs, and occurs super Time, order configuration can be caused not come into force, affect the forwarding of service traffics, even result in network industry Business is interrupted, and causes the serious problems such as economic loss of client.

Owing to each manufacturer of command process technology realizes each variant, that industry is the most unified standard, When in related command treatment technology, an order is sent to the execution of multiple business module, need to wait The response result receiving all business could terminate.If do not received in the range of the regular hour The response result that order performs, the problem that command process time-out can be caused.

For correlation technique needs receive all for exectorial module or line card should Answer result to terminate to order and cause the problem of command process time-out, the most not yet propose effectively Solution.

Summary of the invention

The invention provides response process method and the device of a kind of order, at least to solve to be correlated with Technology needs receive all response result for exectorial module or line card could tie The problem that bundle is ordered and caused command process time-out.

According to an aspect of the invention, it is provided the response process method of a kind of order, including: The order received is sent to multiple the first module for performing described order;Judge this locality Whether being configured with preset rules, wherein, described preset rules is appointed in the given time for instruction When one described first module produces the response in response to described order, confirm that described order performs Terminate;It is yes in judged result, and when arbitrary described first module produces described response, foundation Described preset rules confirms that described order execution terminates;Described order is performed in the result of end Offer terminal.

Further, after the order received is sent to multiple first module, described side Method also includes: the most all described first modules all do not produce in response to described order Response time, confirm described order perform time-out;The result reporting described order to perform time-out arrives Described terminal.

Further, it is yes in judged result, and it is described to there is arbitrary described first module generation During response, confirm that described order performs end and includes according to described preset rules: in judged result It is yes, and when within the described scheduled time, arbitrary described first module produces described response, foundation Described preset rules confirms that described order execution terminates.

Further, described method also includes: be no in judged result, and in described pre-timing Interior one or more command modules produce described response, until all described first modules produce During described response, confirm that described order execution terminates.

Further, the order received is sent to multiple first module include: to receiving The discernible message structure of command analysis forming apparatus;Order after resolving is sent to multiple the One module.

Another aspect according to embodiments of the present invention, additionally provides the reply process dress of a kind of order Put, including: processing module, multiple described for performing for the order received is sent to First module of order;Judge module, is used for judging whether this locality is configured with preset rules, its In, described preset rules produces for instruction any one described first module in the given time rings During the response ordered described in Ying Yu, confirm that described order execution terminates;First confirms module, uses In being yes in judged result, and when arbitrary described first module produces described response, according to described Preset rules confirms that described order execution terminates;First reporting module, for holding described order The result that row terminates reports terminal.

Further, after the order received is sent to multiple first module, described dress Put and also include: second confirms module, for the most all described first modules the most not When producing the response in response to described order, confirm that described order performs time-out;Second reports mould Block, for reporting described order to perform the result of time-out to described terminal.

Further, described first confirms module, and it is yes for being additionally operable in judged result, and When in the described scheduled time, arbitrary described first module produces described response, according to described default rule Then confirm that described order execution terminates.

Further, described device also includes: the 3rd confirms module, in judged result being No, and one or more command modules produce described response within the described scheduled time, until institute When having described first module to produce described response, confirm that described order execution terminates.

Further, described processing module includes: resolution unit, for the order received The discernible message structure of the equipment that resolves to;Transmitting element, the order after resolving sends To multiple first modules.

In the present invention, the reply process mode of order is used, by the order received being sent out Give the multiple modules needing to perform mentioned order, then judge whether to be configured with and exist for instruction When any one module produces the response in response to described order in the scheduled time, confirm described order Perform the preset rules terminated, be only configured described in the generation of above-mentioned regular and arbitrary module Just confirm during response that described order execution terminates, finally the result that order performs to terminate is reported Terminal, has reached to need not the generation response of all of execution module and order just can be reported to have performed The purpose terminated, it is achieved thereby that mask off command performs the technique effect of response time-out, and then solves Determine owing to needing the response result receiving all exectorial modules or line card to terminate The problem ordered and cause command process time-out.

Accompanying drawing explanation

The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, this The schematic description and description of invention is used for explaining the present invention, is not intended that the present invention's Improper restriction.In the accompanying drawings:

Fig. 1 is the transmission flow schematic diagram of order in correlation technique;

Fig. 2 is the reception schematic flow sheet of order in correlation technique;

Fig. 3 is the response process method flow chart of order according to embodiments of the present invention;

Fig. 4 is the optional flow chart of response process method one of order according to embodiments of the present invention;

Fig. 5 is the reply process apparatus structure block diagram of order according to embodiments of the present invention;

Fig. 6 is the optional structured flowchart of reply process device of order according to embodiments of the present invention One;

Fig. 7 is the optional structured flowchart of reply process device of order according to embodiments of the present invention Two;

Fig. 8 is the optional structured flowchart of reply process device of order according to embodiments of the present invention Three;

Fig. 9 is the process schematic diagram of the order according to alternative embodiment of the present invention.

Detailed description of the invention

It should be noted that in the case of not conflicting, the embodiment in the application and embodiment In feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detail Invention.

In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with this Accompanying drawing in inventive embodiments, carries out clear, complete to the technical scheme in the embodiment of the present invention Ground describes, it is clear that described embodiment is only the embodiment of a present invention part, and not It it is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, all should belong to this The scope of bright protection.

It should be noted that the art in description and claims of this specification and above-mentioned accompanying drawing Language " first ", " second " etc. are for distinguishing similar object, specific without being used for describing Order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, So as embodiments of the invention described herein.Additionally, term " includes " and " having " with And their any deformation, it is intended that covering non-exclusive comprising, such as, containing one is Row step or the process of unit, method, system, product or equipment are not necessarily limited to clearly list Those steps or unit, but can include the most clearly listing or for these processes, Other step that method, product or equipment are intrinsic or unit.

Providing the response process method of a kind of order according to embodiments of the present invention, Fig. 3 is basis The response process method flow chart of the order of the embodiment of the present invention, as it is shown on figure 3, the method Step includes: S100-S106, specific as follows:

S100, is sent to multiple the first module for performing mentioned order by the order received;

Alternatively, in the present embodiment, mentioned order can be, but not limited to as the input of: terminal Order, the order that other equipment sends.Above-mentioned the first module for performing mentioned order includes Order and all modules of the task of process can be received, such as veneer line card etc., simply citing at this Illustrate, be not intended that any restriction to the application.In this embodiment, above-mentioned multiple first mould Block includes: first module the 10, first module the 20, first module 30.

S102, it is judged that whether this locality is configured with preset rules;

Wherein, above-mentioned preset rules is for instruction any one above-mentioned first module in the given time When producing the response in response to mentioned order, confirm that mentioned order performs to terminate, as sent life After order in 3S, first module the 10, first module any one module of the 20, first module 30 Create the response in response to mentioned order, then confirm that mentioned order performs to terminate, specifically can lead to Cross the intervalometers to be answered such as startup one, if in the time 3S that intervalometer sets, receive Response to any first module, then it is assumed that order execution terminates.At this it should be noted that Above-mentioned preset rules is merely illustrative, and in real process, this locality can also configure other Preset rules, e.g., specifies for instruction above-mentioned first module to produce in the given time and rings Should confirm that mentioned order performs to terminate, for instruction in pre-timing when the response of mentioned order When interior any number of above-mentioned first modules produce the response in response to mentioned order, confirm above-mentioned Order execution terminates, and specifies multiple above-mentioned first module to produce in the given time for instruction and rings Should confirm that mentioned order performs to terminate, for instruction in pre-timing when the response of mentioned order When interior all above-mentioned first modules produce the response in response to mentioned order, confirm mentioned order Execution terminates.

S104, is yes in judged result, and when this first module arbitrary produces this response, foundation Above-mentioned preset rules confirms that mentioned order performs to terminate;

In the present embodiment, judging locally configured have a preset rules, and the first module 10, When in first module the 20, first module 30, any one produces above-mentioned response, such as the first module 10 When producing above-mentioned response, confirm that mentioned order performs to terminate.

S106, reports terminal by the result that order performs to terminate.

In embodiments of the present invention, use the reply process mode of order, by receiving Order is sent to need perform multiple modules of mentioned order, then judge whether to be configured with for When instruction any one module in the given time produces the response in response to described order, confirm institute State the preset rules that order performs to terminate, be only configured above-mentioned regular and arbitrary module product Just confirm that described order execution terminates during raw described response, finally order is performed the result terminated Report terminal, reached to need not all of to produce response ability for exectorial module Report order to perform the purpose terminated, solve in correlation technique owing to needs receive all Response result for exectorial module could terminate order and cause command process time-out Problem, and then achieve mask off command perform response time-out technique effect.

Fig. 4 is the optional flow chart of response process method one of order according to embodiments of the present invention, As shown in Figure 4, in above-mentioned steps S100, the order received is sent to multiple first module, Afterwards, the method also includes: S200-S202, specific as follows:

S200, the most all above-mentioned first modules all do not produce in response to mentioned order Response time, confirm mentioned order perform time-out;

Alternatively, can be by intervalometers to be answered such as startups one, if set at intervalometer Time 3S in, do not receive first module the 10, first module the 20, first module 30 The response of one module, i.e. do not receive any first module within the time that intervalometer sets Response, then it is assumed that order perform time-out.

S202, reports mentioned order to perform the result of time-out to above-mentioned terminal.

Based on the Preset Time in above-mentioned steps S200 to step S202, the present embodiment another In individual optional embodiment, for the step 104 in the present embodiment relate in judged result It is yes, i.e. locally configured produce for arbitrary above-mentioned first module of instruction During in response to the response of mentioned order, confirm that mentioned order performs the preset rules terminated, and When in the above-mentioned scheduled time, arbitrary above-mentioned first module produces above-mentioned response, only at Preset Time In, such as 3S, receive first module the 10, first module the 20, first module 30 arbitrary on State and confirm that order execution terminates when the first module produces response.

Based on the Preset Time in above-mentioned steps S200 to step S202, for above-described embodiment In step S102 in judged result when being no, the method for the present embodiment can also include: Judged result is no, and one or more command modules produce above-mentioned answering within the above-mentioned scheduled time Answer, during until all above-mentioned first modules produce above-mentioned response, confirm that mentioned order performs to terminate.

In an optional embodiment, for step S102 in above-described embodiment is sentenced When disconnected result is no, i.e. this locality is configured without for instruction that any one is above-mentioned in the given time When first module produces the response in response to mentioned order, confirm that mentioned order performs the pre-of end If regular, but other preset rules of configuration, if all of above-mentioned first module is predetermined When producing the response in response to mentioned order in the time, confirm that mentioned order performs presetting of end Rule, within the above-mentioned scheduled time, one or more command modules produce response, until all the When one module produces response, confirm that order execution terminates.

In another optional embodiment of the present embodiment, for step S100 in the present embodiment The order received is sent to the mode of multiple first module, can come real in the following way Existing:

Step S11, to the discernible message structure of command analysis forming apparatus received;

Alternatively, the order to receiving resolves, resolve command character string, or goes envelope Dress obtains original field, is transformed into the message structure that the first module can appreciate that and performs.

Step S12, the order after resolving is sent to multiple first module.

Additionally providing the device of the reply process of a kind of order in the present embodiment, this device is used for Realize embodiment and optional embodiment, carry out repeating no more of explanation.Such as following institute Using, term " module " " unit " can realize the software of predetermined function and/or hardware Combination.Although the device described by following example preferably realizes with software, but hardware, Or the realization of the combination of software and hardware also may and be contemplated.

Additionally providing the device of the reply process of a kind of order in embodiments of the present invention, Fig. 5 is The reply process apparatus structure block diagram of order according to embodiments of the present invention, as it is shown in figure 5, should Device includes: processing module 50, judge module 52, first confirm module 54, first report Module 56, wherein judge module 52 is of coupled connections with processing module 50, and first confirms module 54 are of coupled connections with judge module 52 and the first reporting module 56, specific as follows:

Processing module 50, multiple for exectorial for the order received is sent to First module;

Alternatively, order can be, but not limited to the order for the input of: terminal, and other equipment sends Order.Include receiving order and the institute of the task of process for exectorial first module There is module, such as veneer line card etc., be merely illustrative at this, be not intended that and the application is appointed What limits.In this embodiment, multiple first modules include: first module the 10, first module 20, the first module 30.

Judge module 52, is used for judging whether this locality is configured with preset rules;

Wherein, preset rules produces response for instruction any one first module in the given time When the response of order, confirm that order execution terminates, in 3S after transmission order, the One module the 10, first module any one module of the 20, first module 30 any one create response In the response of order, then confirm that order execution terminates, it is judged that module 52 specifically can be by starting The intervalometer to be answered such as one, if in the time 3S that intervalometer sets, receiving any The response of the first module, then it is assumed that order execution terminates.At this it should be noted that preset rule Then being merely illustrative, in real process, this locality can also configure other preset rules, As, specify first module to produce the response in response to order in the given time for instruction Time, confirm that order execution terminates, multiple first modules specified in the given time for instruction When producing the response in response to order, confirm that order execution terminates, for instruction in the scheduled time When multiple first module of interior appointment produces the response in response to order, confirm that order execution terminates, When the most all first modules of instruction produce the response in response to order, confirm Order execution terminates.

First confirms module 54, and it is yes for being used in judged result, and arbitrary first module produces During response, confirm that order execution terminates according to preset rules;

In the present embodiment, judge locally configured have preset rules, and at judge module 52 When in one module the 10, first module the 20, first module 30, any one produces response, such as first When module 10 produces response, first confirms that module 54 confirms that order execution terminates.

First reporting module 56, for reporting terminal by the result that order performs to terminate.

In embodiments of the present invention, use the reply process mode of order, pass through processing module The order received is sent to need exectorial multiple module, then judge module by 50 52 judge whether to be configured with for the instruction generation of any one module in the given time in response to institute When stating the response of order, first confirms that module 54 confirms that described order performs the default rule terminated Then, only described order is just confirmed in configuration rule and arbitrary module when producing described response Execution terminates, and the result that order performs to terminate is reported terminal by last first reporting module 56, Reach to need not all of to produce response for exectorial module and just can report order Through performing the purpose terminated, solve in correlation technique owing to needs receive all for performing life The module of order or the response result of line card could terminate order and cause asking of command process time-out Topic, and then achieve the technique effect of mask off command execution response time-out.

Fig. 6 is the optional structured flowchart of reply process device of order according to embodiments of the present invention One, as shown in Figure 6, in addition to processing module 50, this device includes:

Second confirms module 60, is of coupled connections with processing module 50, for the life that will receive After order is sent to multiple first module, the most all first modules all do not produce sound Should confirm that order performs time-out when the response of order;

Alternatively, second confirm module 60 can by starting the intervalometer to be answered such as, If intervalometer set time 3S in, do not receive first module the 10, first module 20, The response of first any one module of module 30, i.e. do not receive the response of any first module, Then think that order performs time-out.

With second, second reporting module 62, confirms that module 60 is of coupled connections, is used for reporting order Perform the result of time-out to terminal.

In an optional embodiment of the present embodiment, this first confirmation module 54, also use In being yes in judged result, and when arbitrary first module produces response, foundation Preset rules confirms that order execution terminates.

Alternatively, be yes in judged result, i.e. locally configured for instruction in the scheduled time When any one first module interior produces the response in response to order, confirm that order execution terminates pre- If regular, and when arbitrary first module produces response, only at Preset Time In, such as 3S, receive first module the 10, first module the 20, first module 30 arbitrary the Confirm when one module produces response that order execution terminates.

Fig. 7 is the optional structured flowchart of reply process device of order according to embodiments of the present invention Two, as it is shown in fig. 7, except processing module 50, judge module the 52, first reporting module Outside 56, this device includes: the 3rd confirms module 70, wherein, the 3rd confirm module 70 with Judge module 52 and the first reporting module 56 are of coupled connections, specific as follows

3rd confirms module 70, and it is no for being used in judged result, and one in the given time Or multiple command module produces response, during until all first modules produce response, confirm order Execution terminates.

Based on this, in an optional embodiment of the present embodiment, at judge module 52 Judged result is no, i.e. this locality be configured without for instruction in the given time any one first When module produces the response in response to order, confirm that order performs the preset rules terminated, but Configuration other preset rules, as all of first module produce in the given time in response to Order response time, confirm order perform terminate preset rules, in the given time one or Multiple command modules produce response, and during until all first modules produce response, the 3rd confirms mould Block 70 confirms that order execution terminates.

Fig. 8 is the optional structured flowchart of reply process device of order according to embodiments of the present invention Three, as shown in Figure 8, processing module 50 also includes: resolution unit 80, transmitting element 82, Specific as follows:

Resolution unit 80, for the command analysis forming apparatus discernible message knot received Structure;

Alternatively, the order received is resolved by resolution unit 80, resolve command character String, or goes encapsulation to obtain original field, is transformed into the first module and can appreciate that and disappearing of performing Breath structure.

Transmitting element 82, is of coupled connections with resolution unit 80, and the order after resolving is sent out Give multiple first module.

Technical solution of the present invention is carried out illustrating by the optional the present embodiment below in conjunction with the present invention Bright:

Fig. 9 is the process schematic diagram of the order according to alternative embodiment of the present invention, as it is shown in figure 9, Command analysis module 90, information management module 92, life is may include that in this alternative embodiment Order performs module, and wherein, in this alternative embodiment, multiple command execution module are: order is held Row module 940, command execution module 942, command execution module 944.

Command analysis module 90, for resolving the order that terminal issues, turns command string The message structure of forming apparatus cognition communicates.

Information management module 92, order is distributed to concrete industry by the information according to order that is used for Business module performs.

The plurality of command execution module, is used for performing order and execution result being issued information management Module 92.

The configuration file also related in this alternative embodiment, this configuration file be business for When definition command mails to the execution of multiple command execution module, if only need a business give response It is considered as the function that order performs to terminate.

Command analysis module 90 receives the order that terminal issues, and order is distributed to information management Module 92, order is issued corresponding life according to the information carried of order by information management module 92 Order performs module, and an order can issue multiple different command execution module, and order performs mould Response message is issued information management module 92 after having processed by block, information management in correlation technique Module 92 needs etc. just think that command process is tied after receiving the response of all of command execution module Bundle.

And be that information management module 92 is according to defined in configuration file in this alternative embodiment Order only needs a business to give response to be considered as the function that order performs to terminate and decide whether Need wait to receive all of order execution response and just think that order performs to terminate.If this configuration literary composition Only need a business give response defined in part and be considered as the function that order performs to terminate, information As long as management module 92 receives a response performing module then thinks that order performs to terminate.If Configuration file does not define this function, also uses the technical scheme in correlation technique.

Command execution results is notified to command analysis module 90 by last information management module 92, Command execution results is notified to terminal by command analysis module 90 again, and this command process flow process is tied Bundle.

Below based on the module related in this alternative embodiment Fig. 9, to this alternative embodiment Flow elements is described in detail, and the step of this flow process may include that

Step S301, is considered as life only needing a business to give response defined in XML file Order performs the order OID terminated, and the form of XML definition is as follows:

<one_job_ack_result_as_final_result>

<source_objid objectA=" 11468 "/>

</one_job_ack_result_as_final_result>

Resolve the flow process of XML file, be not described here.

Step S302, terminal distribution configuration command to equipment, command analysis module 90 receives life After order, command word is resolved to the cognitive message structure of equipment and issues information management module 92.

Step S303, the life that information management module 92 parses according to command analysis module 90 Make No. OID, according to the information of execution module of order OID registration, be distributed to order to own Command execution module, sequentially issue multiple different command execution module 94, start one Etc. intervalometer to be answered, if it exceeds the time that intervalometer sets, do not receive any order and hold The response of row module, then it is assumed that order performs time-out.If received within the intervalometer setting time The response of arbitrary command execution module, such as the command execution module 944 of Fig. 9, then it is assumed that order Execution terminates.

Step S304, after command execution module receives order, processes, after having processed Result is issued information management module 92.

Step S305, information management module 92 receives arbitrary life within the time that intervalometer is arranged After the response message that order performs, a business is only needed to give according to the order defined in configuration file Whether response is considered as the function that order performs to terminate and determines to order and perform to terminate.If configuration literary composition Only need a business give response defined in part and be considered as the function that order performs to terminate, information Management module 92 then thinks that order performs to terminate.If configuration file does not define this function, According to original technical finesse, information management module 92 then continues waiting for other execution of this order The response message of module, until the response message receiving all execution modules just thinks that order performs Terminate.

Step S306, command execution results is notified to command analysis mould by information management module 92 Block 90.

Step S307, command execution results is notified to terminal by command analysis module 90, it is believed that This command process flow process terminates.

By this alternative embodiment, if configuration order needs to be sent to the execution of multiple business, In command process certain business process occur abnormal cannot commands in return when performing response, Do not interfere with the result of order, improve the success rate that order performs.

Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, Storage medium can be configured so that storage is for the program code performing following steps:

Step S401, is sent to multiple for exectorial first mould by the order received Block;

Step S402, it is judged that whether this locality is configured with preset rules;

Step S403, is yes in judged result, and when arbitrary first module produces response, depends on Confirm that order execution terminates according to preset rules;

Step S404, reports terminal by the result that order performs to terminate.

Alternatively, in the present embodiment, storage medium can include but not limited to: USB flash disk, only Read memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code Medium.

Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium When code performs the response that the most all first modules all do not produce in response to order, really Order of accepting one's fate performs time-out, and reports order to perform the result of time-out to terminal.

Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs judged result when being no, and the method can also include: be no in judged result, and In the scheduled time, one or more command modules produce response, until all first modules produce and answer When answering, confirm that order execution terminates.

Alternatively, the concrete example in the present embodiment is referred to embodiment and optional embodiment Described in example, the present embodiment does not repeats them here.

Obviously, those skilled in the art should be understood that each module of the present invention or each step can To realize with general calculating device, they can concentrate on single calculating device, or Person is distributed on the network that multiple calculating device is formed, and alternatively, they can be with calculating dress Put executable program code to realize, it is thus possible to be stored in storing in device by Calculate device to perform, and in some cases, can perform with the order being different from herein Shown or described step, or they are fabricated to respectively each integrated circuit modules, or Multiple modules in them or step are fabricated to single integrated circuit module and realize by person.So, The present invention is not restricted to any specific hardware and software and combines.

The foregoing is only the alternative embodiment of the present invention, be not limited to the present invention, For a person skilled in the art, the present invention can have various modifications and variations.All at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. made, all should Within being included in protection scope of the present invention.

Claims (10)

1. the response process method of an order, it is characterised in that including:
The order received is sent to multiple the first module for performing described order;
Judging whether this locality is configured with preset rules, wherein, described preset rules exists for instruction When in the scheduled time, any one described first module produces the response in response to described order, confirm Described order execution terminates;
It is yes in judged result, and when arbitrary described first module produces described response, according to institute State preset rules and confirm that described order execution terminates;
The result that described order performs to terminate is reported terminal.
Method the most according to claim 1, it is characterised in that the order received is being sent to After multiple first modules, described method also includes:
The most all described first modules all do not produce the response in response to described order Time, confirm that described order performs time-out;
Described order is reported to perform the result of time-out to described terminal.
Method the most according to claim 2, it is characterised in that be yes in judged result, and exist When arbitrary described first module produces described response, confirm described order according to described preset rules Execution end includes:
It is yes in judged result, and arbitrary described first module produces institute within the described scheduled time When stating response, confirm that described order execution terminates according to described preset rules.
Method the most according to claim 2, it is characterised in that described method also includes:
It is no in judged result, and one or more command modules produce within the described scheduled time Described response, during until all described first modules produce described response, confirms that described order is held Row terminates.
Method the most according to claim 1, it is characterised in that the order received is sent to many Individual first module includes:
To the discernible message structure of command analysis forming apparatus received;
Order after resolving is sent to multiple first module.
6. the reply process device of an order, it is characterised in that including:
Processing module, multiple for performing described order for the order received is sent to First module;
Judge module, is used for judging whether this locality is configured with preset rules, wherein, described default Rule produces in response to described order for instruction any one described first module in the given time Response time, confirm that described order execution terminates;
First confirms module, and it is yes for being used in judged result, and arbitrary described first module produces During described response, confirm that described order execution terminates according to described preset rules;
First reporting module, for reporting terminal by the result that described order performs to terminate.
Device the most according to claim 6, it is characterised in that described device also includes:
Second confirms module, is used for after the order received is sent to multiple first module, When the most all described first modules all do not produce the response in response to described order, Confirm that described order performs time-out;
Second reporting module, for reporting described order to perform the result of time-out to described terminal.
Device the most according to claim 7, it is characterised in that
Described first confirms module, and it is yes for being additionally operable in judged result, and in the described scheduled time When interior arbitrary described first module produces described response, confirm described life according to described preset rules Execution is made to terminate.
Device the most according to claim 7, it is characterised in that described device also includes:
3rd confirms module, for being no in judged result, and within the described scheduled time one Or multiple command module produces described response, until all described first modules produce described responses Time, confirm that described order execution terminates.
Device the most according to claim 6, it is characterised in that described processing module includes:
Resolution unit, for the discernible message structure of command analysis forming apparatus received;
Transmitting element, the order after resolving is sent to multiple first module.
CN201510331129.5A 2015-06-15 2015-06-15 The response process method of order and device CN106254040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510331129.5A CN106254040A (en) 2015-06-15 2015-06-15 The response process method of order and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510331129.5A CN106254040A (en) 2015-06-15 2015-06-15 The response process method of order and device
PCT/CN2016/072201 WO2016201987A1 (en) 2015-06-15 2016-01-26 Command response processing method and apparatus

Publications (1)

Publication Number Publication Date
CN106254040A true CN106254040A (en) 2016-12-21

Family

ID=57544986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510331129.5A CN106254040A (en) 2015-06-15 2015-06-15 The response process method of order and device

Country Status (2)

Country Link
CN (1) CN106254040A (en)
WO (1) WO2016201987A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937823A (en) * 2006-08-25 2007-03-28 华为技术有限公司 Method and system for automatically restoring base station chaintenance channel normal operation
CN101193030A (en) * 2007-05-16 2008-06-04 中兴通讯股份有限公司 A command response processing system and method in agent layer of the communication system device
CN101795288A (en) * 2009-12-29 2010-08-04 华为终端有限公司 Equipment management method, system and device
CN103577551A (en) * 2013-10-16 2014-02-12 青岛海信传媒网络技术有限公司 Method and device for submitting data to database in batch
CN103906089A (en) * 2012-12-28 2014-07-02 中兴通讯股份有限公司 Method and device for feeding back command messages

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102999B1 (en) * 1999-11-24 2006-09-05 Juniper Networks, Inc. Switching device
CN100458707C (en) * 2007-04-05 2009-02-04 杭州华三通信技术有限公司 Method, system and master core and slave core for realizing user configuration
CN102223256B (en) * 2011-07-26 2013-11-20 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937823A (en) * 2006-08-25 2007-03-28 华为技术有限公司 Method and system for automatically restoring base station chaintenance channel normal operation
CN101193030A (en) * 2007-05-16 2008-06-04 中兴通讯股份有限公司 A command response processing system and method in agent layer of the communication system device
CN101795288A (en) * 2009-12-29 2010-08-04 华为终端有限公司 Equipment management method, system and device
CN103906089A (en) * 2012-12-28 2014-07-02 中兴通讯股份有限公司 Method and device for feeding back command messages
CN103577551A (en) * 2013-10-16 2014-02-12 青岛海信传媒网络技术有限公司 Method and device for submitting data to database in batch

Also Published As

Publication number Publication date
WO2016201987A1 (en) 2016-12-22

Similar Documents

Publication Publication Date Title
DE60002446T2 (en) Method and device for extending the usb protocol area
CN102523287B (en) Wireless network interface with infrastructure and direct modes
CN102299954B (en) For the context-specific network resource addressing system and method for Distributed Services
US7937060B2 (en) Self-improving channel-access protocol for ad-hoc networks
ES2593810T3 (en) Wireless communication device with deterministic control of access to the foreground of the user interface
CN101926140B (en) Orthogonal frequency division multiple access with carrier sense
US6011830A (en) Operational test device and method of performing an operational test for a system under test
WO2007005182A3 (en) Apparatus and method for resource sharing between a plurality of communication networks
CN102124805A (en) Method and system for multiple physical use of a single identifier code shared by a group of terminals in mobile telecommunications networks
KR101134060B1 (en) Method and device for sending a buffer status report
CN102624915B (en) A kind of alarm clock cloud service method and system
CN103890808A (en) Method for operating interactive messaging service providing reception confirmation
CN105981453B (en) Method and system for initial synchronisation and conflict avoidance under no network coverage in device-to-device communication
JPH1041969A (en) Radio lan system
KR20050025053A (en) Apparatus and method for beacon scheduling in communication system
CN103974257B (en) The cut-in method and relevant device of access point
EP0864214A1 (en) Ring communication system using isdn
JP2016524823A (en) Message notification method, system, and device for communication accounts
EP1775985B9 (en) Group call system, terminal and group call control method for rejoining group calls
KR20100021077A (en) Apparatus and method for security management of user terminal
JP2003304269A (en) Architecture and run-time environment for network filter driver
ES2239400T3 (en) Provision to control network elements.
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN101682629B (en) Peer-to-peer wide area communications sytem
CN106912109A (en) Covering extension level for covering limited device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination