WO2016201987A1 - 命令的应答处理方法及装置 - Google Patents

命令的应答处理方法及装置 Download PDF

Info

Publication number
WO2016201987A1
WO2016201987A1 PCT/CN2016/072201 CN2016072201W WO2016201987A1 WO 2016201987 A1 WO2016201987 A1 WO 2016201987A1 CN 2016072201 W CN2016072201 W CN 2016072201W WO 2016201987 A1 WO2016201987 A1 WO 2016201987A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
response
execution
modules
module
Prior art date
Application number
PCT/CN2016/072201
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2016201987A1 publication Critical patent/WO2016201987A1/zh

Links

Images

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

Definitions

  • the present invention relates to the field of communications, and in particular to a command response processing method and apparatus.
  • FIG. 1 is a schematic diagram of a sending process of a command in the related art
  • FIG. 2 is a schematic diagram of a receiving process of a command in the related art.
  • a command needs to be sent to multiple line cards. (Equivalent to the command execution module) Execution. After the execution of multiple line cards is successful, the command configuration takes effect. Due to the complex network environment and large amount of communication data, when the device message communication is busy, the command processing response message of a certain line card is blocked or lost. The command management module cannot receive the response result of the command execution within a certain time range. If the timeout occurs, the command configuration will not take effect, affecting the forwarding of service traffic, or even causing network service interruption, causing serious problems such as customer economic losses.
  • the command processing technology has different implementations. There is no unified standard in the industry. When a command in a related command processing technology is sent to multiple service modules for execution, you need to wait for the response of all services to end. If the response result of the command execution is not received within a certain time range, the command processing timeout will be caused.
  • the embodiment of the present invention provides a method and device for processing a response of a command, so as to at least solve the problem that the response of the module or the line card for executing the command needs to be received in the related art.
  • the command caused the command processing timeout.
  • a command response processing method including: sending a received command to a plurality of first modules for executing the command; determining whether a preset rule is configured locally, The preset rule is configured to: when any one of the first modules generates a response in response to the command within a predetermined time, confirm that the execution of the command ends; and the result of the determination is yes, and any of the When a module generates the response, it is confirmed that the execution of the command ends according to the preset rule; and the result of the execution of the command is reported to the terminal.
  • the method further includes: confirming that all of the first modules do not generate a response in response to the command within a predetermined time The command execution timeout is reported; the result of the command execution timeout is reported to the terminal.
  • confirming that the command execution ends according to the preset rule comprises: determining that the result is yes, and in the predetermined When any of the first modules generates the response, the execution of the command is confirmed according to the preset rule.
  • the method further includes: if the determination result is no, and the one or more command modules generate the response within the predetermined time, until all the first modules generate the response, confirming the The command execution ends.
  • the sending the received command to the plurality of first modules comprises: parsing the received command into a message structure recognizable by the device; and transmitting the parsed command to the plurality of first modules.
  • a command response processing apparatus comprising: a processing module, configured to send the received command to a plurality of first modules for executing the command; And determining, according to whether the local configuration is configured with a preset rule, where the preset rule is used to indicate that any one of the first modules generates a response in response to the command within a predetermined time, confirming that the execution of the command ends; a first confirmation module, configured to confirm that the execution of the command ends according to the preset rule when the first module generates the response, and the first reporting module is configured to: The result of the end of the command execution is reported to the terminal.
  • the device further includes: a second confirmation module, configured to not generate any response to the command in the predetermined time When the response is answered, the command execution timeout is confirmed; the second reporting module is configured to report the result of the command execution timeout to the terminal.
  • the first confirmation module is further configured to: when the determination result is yes, and when any one of the first modules generates the response within the predetermined time, confirm the command according to the preset rule Execution ends.
  • the apparatus further includes: a third confirmation module, configured to determine, in the determination result, that the one or more command modules generate the response within the predetermined time until all the first modules generate the When the response is described, it is confirmed that the execution of the command ends.
  • a third confirmation module configured to determine, in the determination result, that the one or more command modules generate the response within the predetermined time until all the first modules generate the When the response is described, it is confirmed that the execution of the command ends.
  • the processing module includes: a parsing unit configured to parse the received command into a message structure recognizable by the device; and the sending unit is configured to send the parsed command to the plurality of first modules.
  • the command response processing mode is adopted, and the received command is sent to a plurality of modules that need to execute the above command, and then it is determined whether it is configured to indicate that any module generates a response within a predetermined time.
  • the preset rule for confirming the execution of the command is confirmed, and the execution of the command is confirmed only when the above rule is configured and any of the modules generates the response, and finally the result of the execution of the command is reported to the terminal. It achieves the purpose of not reporting the execution end of the command without requiring all the execution modules to generate a response, thereby realizing the technical effect of masking the command execution response timeout, thereby solving the response of the module or line card that needs to receive all the executed commands. The result is that the command can be terminated and the command processing timeout is caused.
  • FIG. 1 is a schematic diagram of a transmission process of a command in the related art
  • FIG. 2 is a schematic diagram of a receiving process of a command in the related art
  • FIG. 3 is a flowchart of a method for processing a response of a command according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a response processing apparatus for commands according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of an optional structure of a response processing device for command according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 2 of an optional structure of a response processing device for a command according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 3 of an optional structure of a response processing device for a command according to an embodiment of the present invention.
  • FIG. 9 is a process diagram of commands in accordance with an alternate embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for processing a response of a command according to an embodiment of the present invention. As shown in FIG. 3, the steps of the method include: S100-S106, as follows: :
  • the foregoing command may be, but is not limited to, a command input by the terminal and a command sent by another device.
  • the above-mentioned first module for executing the above-mentioned commands includes all modules that can receive commands and processing tasks, such as a single-board line card, etc., which are merely illustrative and do not constitute any limitation on the present application.
  • the plurality of first modules include: a first module 10, a first module 20, and a first module 30.
  • the preset rule is configured to indicate that the execution of the command is completed when any one of the first modules generates a response in response to the command within a predetermined time, for example, within 3S after the command is sent, the first module 10 and the first module 20.
  • the module of the first module 30 generates a response in response to the above command, and confirms that the execution of the command ends, specifically by starting a timer waiting for a response, if any time within the time set by the timer is 3S, any The response of the first module is considered to be the end of the command execution. It should be noted that the foregoing preset rules are only examples.
  • other preset rules may be configured locally, for example, to indicate that one of the first modules is specified to generate a response in response to the above command within a predetermined time. Acknowledgement, confirming that the execution of the above command is completed, and indicating that when a plurality of the first modules generate a response in response to the command within a predetermined time, confirming that the execution of the command ends, and indicating that a plurality of the foregoing are specified within a predetermined time
  • the first module generates a response in response to the above command, it is confirmed that the execution of the command is completed, and is used to indicate that the execution of the command is completed when all of the first modules generate a response in response to the command within a predetermined time.
  • the first module 20 when it is determined that the preset rule is configured locally, and any one of the first module 10, the first module 20, and the first module 30 generates the response, if the first module 10 generates the response, the above confirmation is performed.
  • the command execution ends.
  • the command response processing mode is adopted, and the received command is sent to a plurality of modules that need to execute the above command, and then it is determined whether it is configured to indicate that any module generates a response within a predetermined time.
  • the preset rule for confirming the execution of the command is confirmed, and the execution of the command is confirmed only when the above rule is configured and any of the modules generates the response, and finally the result of the execution of the command is reported to the terminal. It is achieved that the module for executing the command does not need to generate a response to report the end of the command, and solves the problem in the related art that the command is processed because the response result of the module for executing the command needs to be received.
  • the problem of timeout achieves the technical effect of masking the command execution response timeout.
  • FIG. 4 is an optional flowchart 1 of a command response processing method according to an embodiment of the present invention. As shown in FIG. 4, the received command is sent to multiple first modules in step S100, and the method further includes: S200-S202, as follows:
  • the command execution timeout is considered.
  • the determination result in step 104 in this embodiment is yes, that is, Presetting a preset rule for confirming that the execution of the command is completed when any of the first modules generates a response in response to the command within a predetermined time, and any of the first modules generates the response within the predetermined time.
  • the execution of the confirmation command ends.
  • the method in this embodiment may further include: if the determination result is no, and one of the predetermined time Or the plurality of command modules generate the above response until all the first modules generate the response, and confirm that the execution of the command ends.
  • step S102 in the foregoing embodiment when the result of the determination in step S102 in the foregoing embodiment is no, that is, the local is not configured to indicate that any one of the first modules generates a response in response to the command within a predetermined time. Confirming the preset rule of the execution of the above command, but configuring other preset rules. For example, when all the first modules generate a response in response to the above command within a predetermined time, the preset rule for confirming the end of the command execution is confirmed. One or more command modules generate a response within the predetermined time period described above, and until all the first modules generate a response, the execution of the confirmation command ends.
  • the manner in which the received command is sent to the multiple first modules in step S100 in this embodiment may be implemented as follows:
  • Step S11 parsing the received command into a message structure recognizable by the device
  • the received command is parsed, the command string is parsed, or the original field is decapsulated, and converted to a message structure that the first module can recognize and execute.
  • step S12 the parsed command is sent to the plurality of first modules.
  • a device for responding to the command is provided, and the device is used to implement the embodiment and the optional embodiment, and details are not described herein.
  • the term “module” "unit” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, but hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram of a response processing device for command according to an embodiment of the present invention.
  • the device includes: a processing module 50, and a determination The module 52, the first confirmation module 54, and the first reporting module 56, wherein the determining module 52 is coupled to the processing module 50, and the first confirming module 54 is coupled to the determining module 52 and the first reporting module 56, as follows:
  • the processing module 50 is configured to send the received command to a plurality of first modules for executing the command;
  • the command may be, but is not limited to, a command input by the terminal and a command sent by another device.
  • the first module for executing the command includes all modules that can receive commands and processing tasks, such as a single-board line card, etc., which are merely illustrative and do not constitute any limitation to the present application.
  • the plurality of first modules include: a first module 10, a first module 20, and a first module 30.
  • the determining module 52 is configured to determine whether a preset rule is configured locally;
  • the preset rule is used to indicate that when any one of the first modules generates a response in response to the command within a predetermined time, the execution of the confirmation command ends. For example, within 3S after the command is sent, the first module 10, the first module 20, and the first Any one of the modules 30 generates a response in response to the command, and then confirms the end of the command execution.
  • the determining module 52 can specifically start a timer waiting for a response, and if any of the timers are set within 3 seconds, any number is received. A module's response is considered to be the end of the command execution. It should be noted that the preset rule is only an example.
  • other preset rules may be configured locally, for example, when indicating that a first module is specified to generate a response in response to the command within a predetermined time. Ending the execution of the command to indicate that when the plurality of first modules specified within the predetermined time generate a response in response to the command, confirming that the execution of the command ends, indicating that the plurality of first modules are specified to generate the response in response to the command within the predetermined time. At the time of the response, the confirmation command execution ends to indicate that all the first modules generate a response in response to the command within a predetermined time, and the execution of the confirmation command is completed.
  • the first confirmation module 54 is configured to confirm that the execution of the command ends according to the preset rule when the determination result is yes and any of the first modules generates a response;
  • the determining module 52 determines that the preset rule is locally configured, and any one of the first module 10, the first module 20, and the first module 30 generates a response
  • the first A confirmation module 54 confirms the end of the command execution.
  • the first reporting module 56 is configured to report the result of the end of the command execution to the terminal.
  • the command processing method is used to send the received command to the plurality of modules that need to execute the command, and then the determining module 52 determines whether any one of the predetermined time is specified.
  • the first confirmation module 54 confirms the preset rule that the execution of the command ends, and confirms that the execution of the command ends only when the rule has been configured and any of the modules generates the response.
  • the first reporting module 56 reports the result of the execution of the command to the terminal, and achieves the purpose that the module for executing the command does not need to generate a response to report the execution of the command, and the related art needs to receive all the
  • the result of the response of the module or the line card that executes the command can end the command and cause the command processing timeout, thereby achieving the technical effect of masking the command execution response timeout.
  • FIG. 6 is a block diagram showing an optional structure of a response processing apparatus for a command according to an embodiment of the present invention. As shown in FIG. 6, in addition to the processing module 50, the apparatus includes:
  • the second confirmation module 60 is coupled to the processing module 50, and configured to send the received command to the plurality of first modules, and after all the first modules do not generate a response in response to the command within a predetermined time, confirm the command execution. time out;
  • the second confirmation module 60 can start a timer waiting for response, and if the timer is set within the time 3S, the first module 10, the first module 20, and the first module 30 are not received.
  • the response that is, if no response is received from any of the first modules, then the command execution timeout is considered.
  • the second reporting module 62 is coupled to the second confirmation module 60 and configured to report the result of the command execution timeout to the terminal.
  • the first confirmation module 54 is further configured to: when the determination result is yes, and any one of the first modules generates a response within a predetermined time, confirm that the command execution ends according to the preset rule. .
  • a preset rule for indicating that the execution of the command is completed when any one of the first modules generates a response in response to the command within a predetermined time is configured, and the predetermined rule is completed within the predetermined time.
  • a first module generates a response, only when the first module 10, the first module 20, or the first module 30 receives a response from the first module 10, such as 3S, the execution of the confirmation command ends.
  • FIG. 7 is a second block diagram of an optional structure of a response processing apparatus according to an embodiment of the present invention.
  • the apparatus includes: third, except for the processing module 50, the determining module 52, and the first reporting module 56.
  • the confirmation module 70 wherein the third confirmation module 70 is coupled to the determination module 52 and the first reporting module 56, as follows:
  • the third confirmation module 70 is configured to, when the determination result is no, and one or more command modules generate a response within a predetermined time, until all the first modules generate a response, confirming that the execution of the command ends.
  • the determining result of the determining module 52 when the determining result of the determining module 52 is no, that is, the local is not configured to indicate that any one of the first modules generates a response in response to the command within a predetermined time, Confirming the preset rule of the execution of the command, but configuring other preset rules. For example, when all the first modules generate a response in response to the command within a predetermined time, the preset rule for confirming the end of the command is completed within a predetermined time. The one or more command modules generate a response until all of the first modules generate a response, and the third confirmation module 70 confirms the end of the command execution.
  • FIG. 8 is a block diagram 3 of an optional structure of a response processing device for a command according to an embodiment of the present invention.
  • the processing module 50 further includes: a parsing unit 80 and a sending unit 82, as follows:
  • the parsing unit 80 is configured to parse the received command into a message structure recognizable by the device;
  • the parsing unit 80 parses the received command, parses the command string, or decapsulates the original field, and converts to a message structure that the first module can recognize and execute.
  • the sending unit 82 is coupled to the parsing unit 80 and configured to send the parsed command to the plurality of first modules.
  • FIG. 9 is a schematic diagram of processing of a command according to an alternative embodiment of the present invention.
  • the optional embodiment may include: a command parsing module 90, an information management module 92, and a command execution module, where The plurality of command execution modules in the selected embodiment are: a command execution module 940, a command execution module 942, and a command execution module 944.
  • the command parsing module 90 is configured to parse the command sent by the terminal, and convert the command string into a message structure recognized by the device for communication.
  • the information management module 92 is configured to distribute the command to the specific service module for execution according to the information of the command.
  • the plurality of command execution modules are configured to execute the commands and send the execution results to the information management module 92.
  • a configuration file is also involved in the optional embodiment.
  • the configuration file is a function used by the service to define whether the command execution is completed when only one service is given a response when the command is sent to multiple command execution modules.
  • the command parsing module 90 receives the command sent by the terminal, and distributes the command to the information management module 92.
  • the information management module 92 sends the command to the corresponding command execution module according to the information carried by the command, and one command is sent to a plurality of different commands.
  • the execution module sends the response message to the information management module 92 after the processing of the command execution module.
  • the information management module 92 needs to wait for the response of all the command execution modules to conclude that the command processing ends.
  • the information management module 92 determines that it is necessary to wait for all the command execution responses to wait for all the command execution responses to be completed according to the command defined in the configuration file, and only one service is required to respond to the function. . If the configuration file defines a function that only one service is given a response and the command execution ends, the information management module 92 only needs Upon receipt of an acknowledgment from the execution module, the execution of the command is considered complete. If the function is not defined in the configuration file, the technical solution in the related technology is also adopted.
  • the last information management module 92 notifies the command execution module 90 of the command execution result, and the command parsing module 90 notifies the terminal of the command execution result, and the command processing flow ends.
  • Step S301 in the XML file, define a command OID number that is considered to be the end of the command only when a service is given a response, and the format of the XML definition is as follows:
  • step S302 the terminal sends a configuration command to the device, and after receiving the command, the command parsing module 90 parses the command word into the message structure of the device and sends it to the information management module 92.
  • Step S303 the information management module 92 distributes the command to all the command execution modules according to the command OID number parsed by the command parsing module 90, according to the information of the execution module registered by the command OID, and sequentially sends the command to the plurality of different command execution modules.
  • 94. Start a timer waiting for response. If the time set by the timer is exceeded and no response is received from the command execution module, the command execution timeout is considered. If a response from any of the command execution modules is received within the set time of the timer, such as the command execution module 944 of FIG. 9, the execution of the command is considered complete.
  • Step S304 after the command execution module receives the command, the processing is performed, and the result is sent to the information management module 92 after the processing is completed.
  • Step S305 after receiving the response message of any command execution within the time set by the timer, the information management module 92 determines whether the command is executed according to the function defined in the configuration file and only needs a function to give a response and considers the end of the command execution. End. If the configuration file defines a function that only one service is given a response and the command execution is terminated, the information management module 92 considers that the command execution ends. If the function is not defined in the configuration file, it will be processed according to the original technology. The information management module 92 continues to wait for the response message of the other execution modules of the command until the response message of all the execution modules is received, and the execution of the command is considered to be ended.
  • step S306 the information management module 92 notifies the command parsing module 90 of the command execution result.
  • step S307 the command parsing module 90 notifies the terminal of the command execution result, and concludes that the command processing flow ends.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be arranged to store program code for performing the following steps:
  • Step S401 sending the received command to a plurality of first modules for executing the command
  • Step S402 determining whether a preset rule is configured locally
  • Step S403 when the determination result is yes, and any of the first modules generates a response, confirming that the execution of the command ends according to the preset rule;
  • Step S404 reporting the result of the end of the command execution to the terminal.
  • the storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic disk. Or a variety of media such as optical discs that can store program code.
  • the processor executes, according to the stored program code in the storage medium, all the first modules do not generate a response in response to the command within a predetermined time, the command execution timeout is confirmed, and the command execution timeout is reported. The result to the terminal.
  • the method may further include: if the determination result is no, and the one or more commands within the predetermined time The module generates a response until all first modules generate a response, confirming that the command execution ends.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein.
  • the steps shown or described are either made separately into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the command response processing mode is adopted, and the received command is sent to a plurality of modules that need to execute the above command, and then it is determined whether the indication is configured for the predetermined time.
  • the preset rule confirming the end of the command execution is confirmed only when the above rule has been configured and any of the modules generates the response, and finally the command is terminated.
  • the result of the execution is reported to the terminal, and the purpose of reporting the execution end of the masked command is achieved without requiring all the execution modules to generate a response, thereby realizing the technical effect of masking the command execution response timeout, thereby solving all the execution commands due to the need to receive the execution command.
  • the response of the module or line card can end the command and cause the command processing timeout.

Abstract

本发明公开了一种命令的应答处理方法及装置,其中,该方法包括:将接收到的命令发送给多个用于执行命令的第一模块;判断本地是否配置有预设规则,其中,预设规则用于指示在预定时间内任一个第一模块产生响应于命令的应答时,确认命令执行结束;在判断结果为是,且任一第一模块产生应答时,依据预设规则确认命令执行结束;将命令执行结束的结果上报给终端。通过本发明,解决了相关技术中需要收到所有用于执行命令的模块的应答结果才能结束命令而导致命令处理超时的问题。

Description

命令的应答处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种命令的应答处理方法及装置。
背景技术
数据承载产品在网络中进行通讯时,需要由管理员在设备上配置一些命令,使能相应的功能,才能满足网络的业务需求。图1是相关技术中命令的发送流程示意图,图2是相关技术中命令的接收流程示意图,如图1和图2所示,相关技术命令的处理过程中,命令需要下发给多块线卡(相当于命令执行模块)执行,待多块线卡都执行成功才算命令配置生效。由于网络环境复杂,通讯数据量大,当设备消息通讯繁忙时,会导致某块线卡的命令处理应答消息被阻塞或丢失,在一定的时间范围内命令管理模块收不到命令执行的应答结果,发生超时,会导致命令配置不生效,影响业务流量的转发,甚至导致网络业务中断,造成客户的经济损失等严重问题。
由于命令处理技术各厂商实现各有差异,业界没有统一的标准,相关命令处理技术中一条命令发送给多个业务模块执行时,需要等待收到所有业务的应答结果才能结束。如果在一定的时间范围内未收到命令执行的应答结果,会导致命令处理超时的问题。
针对相关技术中需要收到所有用于执行命令的模块或线卡的应答结果才能结束命令而导致命令处理超时的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种命令的应答处理方法及装置,以至少解决相关技术中需要收到所有用于执行命令的模块或线卡的应答结果才能结束 命令而导致命令处理超时的问题。
根据本发明实施例的一个方面,提供了一种命令的应答处理方法,包括:将接收到的命令发送给多个用于执行所述命令的第一模块;判断本地是否配置有预设规则,其中,所述预设规则用于指示在预定时间内任一个所述第一模块产生响应于所述命令的应答时,确认所述命令执行结束;在判断结果为是,且任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束;将所述命令执行结束的结果上报给终端。
可选地,在将接收到的命令发送给多个第一模块之后,所述方法还包括:在预定时间内所有所述第一模块都未产生响应于所述命令的应答时,确认所述命令执行超时;上报所述命令执行超时的结果到所述终端。
可选地,在判断结果为是,且存在任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束包括:在判断结果为是,且在所述预定时间内任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束。
可选地,所述方法还包括:在判断结果为否,且在所述预定时间内一个或多个命令模块产生所述应答,直到所有所述第一模块产生所述应答时,确认所述命令执行结束。
可选地,将接收到的命令发送给多个第一模块包括:对接收到的命令解析成设备可识别的消息结构;将解析后的命令发送给多个第一模块。
根据本发明实施例的另一方面,还提供了一种命令的应答处理装置,包括:处理模块,设置为将接收到的命令发送给多个用于执行所述命令的第一模块;判断模块,设置为判断本地是否配置有预设规则,其中,所述预设规则用于指示在预定时间内任一个所述第一模块产生响应于所述命令的应答时,确认所述命令执行结束;第一确认模块,设置为在判断结果为是,且任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束;第一上报模块,设置为将所述命令执行结束的结果上报给终端。
可选地,在将接收到的命令发送给多个第一模块之后,所述装置还包括:第二确认模块,设置为在预定时间内所有所述第一模块都未产生响应于所述命令的应答时,确认所述命令执行超时;第二上报模块,设置为上报所述命令执行超时的结果到所述终端。
可选地,所述第一确认模块,还设置为在判断结果为是,且在所述预定时间内任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束。
可选地,所述装置还包括:第三确认模块,设置为在判断结果为否,且在所述预定时间内一个或多个命令模块产生所述应答,直到所有所述第一模块产生所述应答时,确认所述命令执行结束。
可选地,所述处理模块包括:解析单元,设置为对接收到的命令解析成设备可识别的消息结构;发送单元,设置为将解析后的命令发送给多个第一模块。
在本发明实施例中,采用命令的应答处理方式,通过将接收到的命令发送给需要执行上述命令的多个模块,然后判断是否配置了用于指示在预定时间内任一个模块产生响应于所述命令的应答时,确认所述命令执行结束的预设规则,只有在已经配置上述规则且任一模块产生所述应答时才确认所述命令执行结束,最后将命令执行结束的结果上报给终端,达到了不需要所有的执行模块产生应答就能上报命令已经执行结束的目的,从而实现了屏蔽命令执行应答超时的技术效果,进而解决了由于需要收到所有执行命令的模块或线卡的应答结果才能结束命令而导致命令处理超时的问题。
附图说明
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是相关技术中命令的发送流程示意图;
图2是相关技术中命令的接收流程示意图;
图3是根据本发明实施例的命令的应答处理方法流程图;
图4是根据本发明实施例的命令的应答处理方法可选流程图一;
图5是根据本发明实施例的命令的应答处理装置结构框图;
图6是根据本发明实施例的命令的应答处理装置可选结构框图一;
图7是根据本发明实施例的命令的应答处理装置可选结构框图二;
图8是根据本发明实施例的命令的应答处理装置可选结构框图三;
图9是根据本发明可选实施例的命令的处理示意图。
具体实施方式
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本发明实施例提供了一种命令的应答处理方法,图3是根据本发明实施例的命令的应答处理方法流程图,如图3所示,该方法的步骤包括:S100-S106,具体如下:
S100,将接收到的命令发送给多个用于执行上述命令的第一模块;
可选地,在本实施例中,上述命令可以但不限于为:终端输入的命令,其他设备发送的命令。上述用于执行上述命令的第一模块包括可以接收命令和处理任务的所有模块,如单板线卡等,在此只是举例说明,并不构成对本申请的任何限定。在本实施中,上述多个第一模块包括:第一模块10、第一模块20、第一模块30。
S102,判断本地是否配置有预设规则;
其中,上述预设规则用于指示在预定时间内任一个上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束,如在发送命令之后3S内,第一模块10、第一模块20、第一模块30任一个模块产生了响应于上述命令的应答,则确认上述命令执行结束,具体可通过启动一个等待应答的定时器,如果在定时器设定的时间3S内,收到任何第一模块的应答,则认为命令执行结束。在此需要说明的是,上述预设规则只是举例说明,在实际过程中,本地还可以配置其他的预设规定,如,用于指示在预定时间内指定一个上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束,用于指示在预定时间内任意多个上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束,用于指示在预定时间内指定多个上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束,用于指示在预定时间内所有上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束。
S104,在判断结果为是,且任一该第一模块产生该应答时,依据上述预设规则确认上述命令执行结束;
在本实施例中,在判断本地配置有预设规则,且第一模块10、第一模块20、第一模块30中任一个产生上述应答时,如第一模块10产生上述应答时,确认上述命令执行结束。
S106,将命令执行结束的结果上报给终端。
在本发明实施例中,采用命令的应答处理方式,通过将接收到的命令发送给需要执行上述命令的多个模块,然后判断是否配置了用于指示在预定时间内任一个模块产生响应于所述命令的应答时,确认所述命令执行结束的预设规则,只有在已经配置上述规则且任一模块产生所述应答时才确认所述命令执行结束,最后将命令执行结束的结果上报给终端,达到了不需要所有的用于执行命令的模块产生应答才能上报命令已经执行结束的目的,解决了相关技术中由于需要收到所有用于执行命令的模块的应答结果才能结束命令而导致命令处理超时的问题,进而实现了屏蔽命令执行应答超时的技术效果。
图4是根据本发明实施例的命令的应答处理方法可选流程图一,如图4所示,在上述步骤S100将接收到的命令发送给多个第一模块,之后,该方法还包括:S200-S202,具体如下:
S200,在预定时间内所有上述第一模块都未产生响应于上述命令的应答时,确认上述命令执行超时;
可选地,可通过启动一个等待应答的定时器,如果在定时器设定的时间3S内,没有收到第一模块10、第一模块20、第一模块30任一个模块的应答,即,在定时器设定的时间内没有收到任何第一模块的应答,则认为命令执行超时。
S202,上报上述命令执行超时的结果到上述终端。
基于上述步骤S200至步骤S202中的预设时间,在本实施例另一个可选实施方式中,对于本实施例中的步骤104涉及到的在判断结果为是,即, 本地配置了用于指示在预定时间内任一上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束的预设规则,且在上述预定时间内任一上述第一模块产生上述应答时,只有在预设时间内,如3S,接收到第一模块10、第一模块20、第一模块30任一上述第一模块产生应答时确认命令执行结束。
基于上述步骤S200至步骤S202中的预设时间,对于上述实施例中的步骤S102中判断结果为否时,本实施例的方法还可以包括:在判断结果为否,且在上述预定时间内一个或多个命令模块产生上述应答,直到所有上述第一模块产生上述应答时,确认上述命令执行结束。
在一个可选的实施方式中,对于上述实施例中的步骤S102中判断结果为否时,即,本地没有配置用于指示在预定时间内任一个上述第一模块产生响应于上述命令的应答时,确认上述命令执行结束的预设规则,而是配置的其他的预设规则,如所有的上述第一模块在预定时间内产生响应于上述命令的应答时,确认上述命令执行结束的预设规则,在上述预定时间内一个或多个命令模块产生应答,直到所有第一模块产生应答时,确认命令执行结束。
在本实施例再一个可选实施方式中,对于本实施例中的步骤S100将接收到的命令发送给多个第一模块的方式,可以通过如下方式来实现:
步骤S11,对接收到的命令解析成设备可识别的消息结构;
可选地,对接收到的命令进行解析,解析命令字符串,或者去封装得到原始字段,转换到第一模块可以认知和执行的消息结构。
步骤S12,将解析后的命令发送给多个第一模块。
在本实施例中还提供了一种命令的应答处理的装置,该装置用于实现实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”“单元”可以实现预定功能的软件和/或硬件的组合。尽管以 下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
在本发明实施例中还提供了一种命令的应答处理的装置,图5是根据本发明实施例的命令的应答处理装置结构框图,如图5所示,该装置包括:处理模块50、判断模块52、第一确认模块54、第一上报模块56,其中判断模块52与处理模块50耦合连接,第一确认模块54与判断模块52和第一上报模块56耦合连接,具体如下:
处理模块50,设置为将接收到的命令发送给多个用于执行命令的第一模块;
可选地,命令可以但不限于为:终端输入的命令,其他设备发送的命令。用于执行命令的第一模块包括可以接收命令和处理任务的所有模块,如单板线卡等,在此只是举例说明,并不构成对本申请的任何限定。在本实施中,多个第一模块包括:第一模块10、第一模块20、第一模块30。
判断模块52,设置为判断本地是否配置有预设规则;
其中,预设规则用于指示在预定时间内任一个第一模块产生响应于命令的应答时,确认命令执行结束,如在发送命令之后3S内,第一模块10、第一模块20、第一模块30任一个模块任一个产生了响应于命令的应答,则确认命令执行结束,判断模块52具体可通过启动一个等待应答的定时器,如果在定时器设定的时间3S内,收到任何第一模块的应答,则认为命令执行结束。在此需要说明的是,预设规则只是举例说明,在实际过程中,本地还可以配置其他的预设规则,如,用于指示在预定时间内指定一个第一模块产生响应于命令的应答时,确认命令执行结束,用于指示在预定时间内指定的多个第一模块产生响应于命令的应答时,确认命令执行结束,用于指示在预定时间内指定多个第一模块产生响应于命令的应答时,确认命令执行结束,用于指示在预定时间内所有第一模块产生响应于命令的应答时,确认命令执行结束。
第一确认模块54,设置为在判断结果为是,且任一第一模块产生应答时,依据预设规则确认命令执行结束;
在本实施例中,在判断模块52判断本地配置有预设规则,且第一模块10、第一模块20、第一模块30中任一个产生应答时,如第一模块10产生应答时,第一确认模块54确认命令执行结束。
第一上报模块56,设置为将命令执行结束的结果上报给终端。
在本发明实施例中,采用命令的应答处理方式,通过处理模块50将接收到的命令发送给需要执行命令的多个模块,然后判断模块52判断是否配置了用于指示在预定时间内任一个模块产生响应于所述命令的应答时,第一确认模块54确认所述命令执行结束的预设规则,只有在已经配置规则且任一模块产生所述应答时才确认所述命令执行结束,最后第一上报模块56将命令执行结束的结果上报给终端,达到了不需要所有的用于执行命令的模块产生应答才能上报命令已经执行结束的目的,解决了相关技术中由于需要收到所有用于执行命令的模块或线卡的应答结果才能结束命令而导致命令处理超时的问题,进而实现了屏蔽命令执行应答超时的技术效果。
图6是根据本发明实施例的命令的应答处理装置可选结构框图一,如图6所示,除了处理模块50之外,该装置包括:
第二确认模块60,与处理模块50耦合连接,设置为将接收到的命令发送给多个第一模块之后,在预定时间内所有第一模块都未产生响应于命令的应答时,确认命令执行超时;
可选地,第二确认模块60可通过启动一个等待应答的定时器,如果在定时器设定的时间3S内,没有收到第一模块10、第一模块20、第一模块30任一个模块的应答,即,没有收到任何第一模块的应答,则认为命令执行超时。
第二上报模块62,与第二确认模块60耦合连接,设置为上报命令执行超时的结果到终端。
在本实施例的一个可选实施方式中,该第一确认模块54,还设置为在判断结果为是,且在预定时间内任一第一模块产生应答时,依据预设规则确认命令执行结束。
可选地,在判断结果为是,即,本地配置了用于指示在预定时间内任一个第一模块产生响应于命令的应答时,确认命令执行结束的预设规则,且在预定时间内任一第一模块产生应答时,只有在预设时间内,如3S,接收到第一模块10、第一模块20、第一模块30任一第一模块产生应答时确认命令执行结束。
图7是根据本发明实施例的命令的应答处理装置可选结构框图二,如图7所示,除了的处理模块50、判断模块52、第一上报模块56之外,该装置包括:第三确认模块70、其中,第三确认模块70与判断模块52和第一上报模块56耦合连接,具体如下
第三确认模块70,设置为在判断结果为否,且在预定时间内一个或多个命令模块产生应答,直到所有第一模块产生应答时,确认命令执行结束。
基于此,在本实施例的一个可选的实施方式中,在判断模块52判断结果为否,即,本地没有配置用于指示在预定时间内任一个第一模块产生响应于命令的应答时,确认命令执行结束的预设规则,而是配置的其他的预设规则,如所有的第一模块在预定时间内产生响应于命令的应答时,确认命令执行结束的预设规则,在预定时间内一个或多个命令模块产生应答,直到所有第一模块产生应答时,第三确认模块70确认命令执行结束。
图8是根据本发明实施例的命令的应答处理装置可选结构框图三,如图8所示,处理模块50还包括:解析单元80、发送单元82,具体如下:
解析单元80,设置为对接收到的命令解析成设备可识别的消息结构;
可选地,解析单元80对接收到的命令进行解析,解析命令字符串,或者去封装得到原始字段,转换到第一模块可以认知和执行的消息结构。
发送单元82,与解析单元80耦合连接,设置为将解析后的命令发送给多个第一模块。
下面结合本发明的可选本实施例对本发明技术方案进行举例说明:
图9是根据本发明可选实施例的命令的处理示意图,如图9所示,在本可选实施例可以包括:命令解析模块90、信息管理模块92、命令执行模块,其中,在本可选实施例中多个命令执行模块为:命令执行模块940、命令执行模块942、命令执行模块944。
命令解析模块90,设置为解析终端下发的命令,将命令字符串转成设备认知的消息结构进行通信。
信息管理模块92,设置为根据命令的信息将命令分发给具体的业务模块执行。
该多个命令执行模块,设置为执行命令并将执行结果发给信息管理模块92。
在本可选实施例中还涉及到的配置文件,该配置文件是业务用来定义命令发往多个命令执行模块执行时,是否只需一个业务给予应答就认为命令执行结束的功能。
命令解析模块90收到终端下发的命令,将命令分发给信息管理模块92,信息管理模块92根据命令携带的信息将命令发给相应的命令执行模块,一条命令会发给多个不同的命令执行模块,命令执行模块处理完后将应答消息发给信息管理模块92,相关技术中信息管理模块92需要等收到所有的命令执行模块的应答后才认为命令处理结束。
而在本可选实施例中是信息管理模块92根据配置文件中定义的命令只需一个业务给予应答就认为命令执行结束的功能来决定是否需要等待收到所有的命令执行应答才认为命令执行结束。若该配置文件中定义了只需一个业务给予应答就认为命令执行结束的功能,信息管理模块92只要 收到一个执行模块的应答则认为命令执行结束。若配置文件中没有定义该功能,还采用相关技术中的技术方案。
最后信息管理模块92将命令执行结果通知给命令解析模块90,命令解析模块90再将命令执行结果通知给终端,该命令处理流程结束。
下面基于本可选实施例图9中涉及到的模块,对本可选实施例的流程部分进行详细说明,该流程的步骤可以包括:
步骤S301,在XML文件中定义只需一个业务给予应答就认为命令执行结束的命令OID号,XML定义的格式如下:
<one_job_ack_result_as_final_result>
<source_objid objectA="11468"/>
</one_job_ack_result_as_final_result>
解析XML文件的流程,这里不进行描述。
步骤S302,终端下发配置命令到设备,命令解析模块90收到命令后,将命令字解析成设备认知的消息结构并发给信息管理模块92。
步骤S303,信息管理模块92根据命令解析模块90解析出的命令OID号,根据命令OID注册的执行模块的信息,将命令分发给所有的命令执行模块,按序发给多个不同的命令执行模块94,启动一个等待应答的定时器,如果超过定时器设定的时间,未收到任何命令执行模块的应答,则认为命令执行超时。如果在定时器设定时间内收到任一命令执行模块的应答,如图9的命令执行模块944,则认为命令执行结束。
步骤S304,命令执行模块收到命令后,进行处理,处理完成后将结果发给信息管理模块92。
步骤S305,信息管理模块92在定时器设置的时间内收到任一命令执行的应答消息后,根据配置文件中定义的命令只需一个业务给予应答就认为命令执行结束的功能来决定命令是否执行结束。若配置文件中定义了只需一个业务给予应答就认为命令执行结束的功能,信息管理模块92则认为命令执行结束。若配置文件中没有定义该功能,按照原有技术处理,信 息管理模块92则继续等待该命令的其他执行模块的应答消息,直到收到所有执行模块的应答消息才认为命令执行结束。
步骤S306,信息管理模块92将命令执行结果通知给命令解析模块90。
步骤S307,命令解析模块90将命令执行结果通知给终端,认为该命令处理流程结束。
通过本可选实施例,配置命令如果需要发送给多个业务执行时,在命令处理过程中某个业务进程发生异常无法回复命令执行应答时,不会影响命令的处理结果,提高了命令执行的成功率。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S401,将接收到的命令发送给多个用于执行命令的第一模块;
步骤S402,判断本地是否配置有预设规则;
步骤S403,在判断结果为是,且任一第一模块产生应答时,依据预设规则确认命令执行结束;
步骤S404,将命令执行结束的结果上报给终端。
可选地,在本实施例中,存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在预定时间内所有第一模块都未产生响应于命令的应答时,确认命令执行超时,并上报命令执行超时的结果到终端。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行判断结果为否时,该方法还可以包括:在判断结果为否,且在预定时间内一个或多个命令模块产生应答,直到所有第一模块产生应答时,确认命令执行结束。
可选地,本实施例中的具体示例可以参考实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
在本发明实施例上述的命令的应答处理过程中,采用命令的应答处理方式,通过将接收到的命令发送给需要执行上述命令的多个模块,然后判断是否配置了用于指示在预定时间内任一个模块产生响应于所述命令的应答时,确认所述命令执行结束的预设规则,只有在已经配置上述规则且任一模块产生所述应答时才确认所述命令执行结束,最后将命令执行结束的结果上报给终端,达到了不需要所有的执行模块产生应答就能上报命令已经执行结束的目的,从而实现了屏蔽命令执行应答超时的技术效果,进而解决了由于需要收到所有执行命令的模块或线卡的应答结果才能结束命令而导致命令处理超时的问题。

Claims (10)

  1. 一种命令的应答处理方法,包括:
    将接收到的命令发送给多个用于执行所述命令的第一模块;
    判断本地是否配置有预设规则,其中,所述预设规则用于指示在预定时间内任一个所述第一模块产生响应于所述命令的应答时,确认所述命令执行结束;
    在判断结果为是,且任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束;
    将所述命令执行结束的结果上报给终端。
  2. 根据权利要求1所述的方法,其中,在将接收到的命令发送给多个第一模块之后,所述方法还包括:
    在预定时间内所有所述第一模块都未产生响应于所述命令的应答时,确认所述命令执行超时;
    上报所述命令执行超时的结果到所述终端。
  3. 根据权利要求2所述的方法,其中,在判断结果为是,且存在任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束包括:
    在判断结果为是,且在所述预定时间内任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束。
  4. 根据权利要求2所述的方法,其中,所述方法还包括:
    在判断结果为否,且在所述预定时间内一个或多个命令模块产生所述应答,直到所有所述第一模块产生所述应答时,确认所述命令执行结束。
  5. 根据权利要求1所述的方法,其中,将接收到的命令发送给多个第一模块包括:
    对接收到的命令解析成设备可识别的消息结构;
    将解析后的命令发送给多个第一模块。
  6. 一种命令的应答处理装置,包括:
    处理模块,设置为将接收到的命令发送给多个用于执行所述命令的第一模块;
    判断模块,设置为判断本地是否配置有预设规则,其中,所述预设规则用于指示在预定时间内任一个所述第一模块产生响应于所述命令的应答时,确认所述命令执行结束;
    第一确认模块,设置为在判断结果为是,且任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束;
    第一上报模块,设置为将所述命令执行结束的结果上报给终端。
  7. 根据权利要求6所述的装置,其中,所述装置还包括:
    第二确认模块,设置为在将接收到的命令发送给多个第一模块之后,在预定时间内所有所述第一模块都未产生响应于所述命令的应答时,确认所述命令执行超时;
    第二上报模块,设置为上报所述命令执行超时的结果到所述终端。
  8. 根据权利要求7所述的装置,其中,
    所述第一确认模块,还设置为在判断结果为是,且在所述预定时间内任一所述第一模块产生所述应答时,依据所述预设规则确认所述命令执行结束。
  9. 根据权利要求7所述的装置,其中,所述装置还包括:
    第三确认模块,设置为在判断结果为否,且在所述预定时间内一个或多个命令模块产生所述应答,直到所有所述第一模块产生所述应答时,确认所述命令执行结束。
  10. 根据权利要求6所述的装置,其中,所述处理模块包括:
    解析单元,设置为对接收到的命令解析成设备可识别的消息结构;
    发送单元,设置为将解析后的命令发送给多个第一模块。
PCT/CN2016/072201 2015-06-15 2016-01-26 命令的应答处理方法及装置 WO2016201987A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510331129.5 2015-06-15
CN201510331129.5A CN106254040B (zh) 2015-06-15 2015-06-15 命令的应答处理方法及装置

Publications (1)

Publication Number Publication Date
WO2016201987A1 true WO2016201987A1 (zh) 2016-12-22

Family

ID=57544986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/072201 WO2016201987A1 (zh) 2015-06-15 2016-01-26 命令的应答处理方法及装置

Country Status (2)

Country Link
CN (1) CN106254040B (zh)
WO (1) WO2016201987A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220179384A1 (en) * 2019-04-12 2022-06-09 Siemens Aktiengesellschaft Method and control system for controlling an execution of transactions

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078382A (zh) * 2019-12-17 2020-04-28 中国建设银行股份有限公司 一种命令超时处理方法及装置
CN113127287A (zh) * 2019-12-31 2021-07-16 北京车和家信息技术有限公司 处理器的控制方法、装置及电子设备
CN111358483B (zh) * 2020-03-02 2023-08-25 京东方科技集团股份有限公司 平板探测器的控制方法、上位机、平板探测器及医疗系统

Citations (4)

* 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
CN1937823A (zh) * 2006-08-25 2007-03-28 华为技术有限公司 自动恢复基站维护通道正常工作的方法及系统
CN101025697A (zh) * 2007-04-05 2007-08-29 杭州华为三康技术有限公司 实现用户配置的方法、系统及主核和从核
CN102223256A (zh) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Gpon接入系统中多款onu自动升级的方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193030B (zh) * 2007-05-16 2010-12-08 中兴通讯股份有限公司 一种通讯系统设备的代理层中命令应答处理系统和方法
CN101795288A (zh) * 2009-12-29 2010-08-04 华为终端有限公司 设备管理方法、系统及设备
CN103906089A (zh) * 2012-12-28 2014-07-02 中兴通讯股份有限公司 命令报文反馈方法及装置
CN103577551B (zh) * 2013-10-16 2017-04-05 聚好看科技股份有限公司 一种数据批量提交到数据库的方法和装置

Patent Citations (4)

* 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
CN1937823A (zh) * 2006-08-25 2007-03-28 华为技术有限公司 自动恢复基站维护通道正常工作的方法及系统
CN101025697A (zh) * 2007-04-05 2007-08-29 杭州华为三康技术有限公司 实现用户配置的方法、系统及主核和从核
CN102223256A (zh) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Gpon接入系统中多款onu自动升级的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220179384A1 (en) * 2019-04-12 2022-06-09 Siemens Aktiengesellschaft Method and control system for controlling an execution of transactions

Also Published As

Publication number Publication date
CN106254040B (zh) 2020-03-13
CN106254040A (zh) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2016201987A1 (zh) 命令的应答处理方法及装置
CN106209966A (zh) 管控端更新设备状态的方法、服务端的处理方法和装置
WO2017198108A1 (zh) 一种处理分片报文的方法及装置
CN113157300A (zh) 一种数据处理方法、装置和存储介质
JP6403556B2 (ja) ゲートウェイ装置、スマートメータおよび無線メッシュネットワーク
CN103401859A (zh) 一种协议转换的方法及协议转换器
CN101729284A (zh) 一种基于设备端主动以实现管理系统中链路轮询的方法
CN107360012B (zh) 一种链路状态处理方法及网络节点设备
US20240012699A1 (en) Method and Apparatus for Improving Message Processing Efficiency of Flash Channel Controller
CN109815056A (zh) 实现消息队列重连的方法、装置、存储介质及设备
CN112822646A (zh) 消息处理方法和装置、电子设备、计算机可读存储介质
CN110661850B (zh) 一种边缘计算方法、系统、计算机设备和存储介质
CN110784369A (zh) 检测长连接的方法、服务器、终端及存储介质
EP3054722B1 (en) Method and apparatus for enabling m2m service and h2h service to coexist
CN102917370A (zh) 确定远端机对应的近端机的方法、装置、系统以及远端机
EP3534657B1 (en) Dynamic time allocation method and device
CN110489249B (zh) 一种消息的处理方法及系统
CN114979058A (zh) 一种can多邮箱复用处理方法及系统
CN105049271A (zh) 一种光网络终端参数配置方法及系统
CN114489730A (zh) 一种远程升级方法及其终端设备、计算机可读存储介质
CN101557572A (zh) 一种使用一次交互发送多个请求的办法
JP4484119B2 (ja) Eponシステムにおけるonu遠隔自動設定方法、ならびにonu遠隔自動設定システム
CN103795507A (zh) Epon系统的指令超时重传方法及指令超时重传系统
CN106817150A (zh) 一种预防电力线载波通信网络拥塞控制的方法
CN112738162B (zh) 终端与设备的通信方法、终端、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16810728

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810728

Country of ref document: EP

Kind code of ref document: A1