KVM extender and remote synchronous reset method thereof
Through the remote synchronous reset method of KVM extender, the signal delay is calculated and the delay reset is performed, which solves the problem that the remote user and the local computer room cannot be reset synchronously, realizes the synchronous reset between the remote unit and the local unit, and improves the system's Stability and reliability.
Patent Information
- Application Number
- CN202411222730.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the large computer room management system, due to the long distance between the remote user and the local computer room, the signal transmission delay is caused, resulting in the inability to reset synchronously between the remote user and the local computer room.
Through the remote synchronous reset method of the KVM extender, the signal issuance and reception time is recorded in response to the reset request, the signal delay is calculated, and the delay reset is performed based on this to synchronize the reset time of the remote unit and the local unit.
Synchronous reset between remote units and local units is realized, which solves the asynchronous problem caused by signal transmission delay and improves the stability and reliability of the system.
Smart Images

Figure CN119200791A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of extender resetting, and in particular to a KVM extender and a remote synchronous resetting method thereof. Background Art
[0002] In the related art, when using a large computer room management system, it is necessary to manually operate the reset button to reset the data transmitted between the remote user and the local room. However, due to the long distance between the remote user and the local room, there is a delay in signal transmission, which results in the remote user and the local room being unable to reset synchronously.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiment of the present invention provides a KVM extender and a remote synchronous reset method thereof, so as to at least solve the technical problem that the remote unit and the local unit cannot be reset synchronously due to the long distance between the remote unit and the local unit and the signal transmission delay in the related art.
[0005] According to one aspect of an embodiment of the present invention, a remote synchronous reset method for a KVM extender is provided, comprising: in response to a received reset request, sending a reset request signal to a local unit of a keyboard, mouse, and KVM extender, and recording the issuance time of the reset request signal, wherein the KVM extender comprises a local unit and a remote unit; receiving a reset response signal issued by the local unit based on the reset request signal; based on the reset response signal, sending a reset start signal to the local unit, and recording the reception time of the reset response signal; based on the issuance time, the reception time, and the signal delay, determining a first duration for delayed resetting the remote unit, wherein the signal delay is used to indicate the delay in signal transmission between the local unit and the remote unit; based on the reset start signal and the first duration, delay resetting the remote unit, so that the reset times of the remote unit and the local unit are synchronized.
[0006] According to another aspect of an embodiment of the present invention, a remote synchronous reset method for a KVM extender is provided, comprising: receiving a reset request signal from a remote unit of the KVM extender, wherein the KVM extender comprises a local unit and a remote unit; based on the reset request signal, sending a reset response signal to the remote unit; receiving a reset start signal and a signal delay sent by the remote unit based on the reset response signal, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit; based on the reset start signal and the signal delay, delaying a reset of the local unit so that the reset times of the remote unit and the local unit are synchronized.
[0007] According to another aspect of an embodiment of the present invention, a remote synchronous reset method for a KVM extender is provided, comprising: the remote unit of the KVM extender sends a reset request signal to the local unit of the KVM extender in response to a received reset request, and records the issuance time of the reset request signal; the local unit receives the reset request signal issued by the remote unit, and based on the reset request signal, sends a reset response signal to the remote unit; the remote unit receives the reset response signal issued by the local unit, and records the reception time of the reset response signal; the remote unit sends a reset start signal to the local unit based on the reset response signal; the remote unit determines a first duration based on the issuance time, the reception time and the signal delay, wherein the signal delay is used to indicate the delay in signal transmission between the local unit and the remote unit; the remote unit performs a delayed reset based on the reset start signal and the first duration; the local unit performs a delayed reset based on the reset start signal and the signal delay, wherein the reset times of the remote unit and the local unit are synchronized.
[0008] According to another aspect of an embodiment of the present invention, a KVM extender is provided, comprising: a remote unit, comprising a first microprocessor and a first extender, wherein the first microprocessor is used to execute any one of the above-mentioned remote synchronous reset methods for the KVM extender, and the first microprocessor and the first extender are connected via a UART communication interface; a local unit, connected to the remote unit via a network, comprising a second microprocessor and a second extender, wherein the second microprocessor is used to execute any one of the above-mentioned remote synchronous reset methods for the KVM extender, and the second microprocessor and the second extender are connected via a UART communication interface; a communication connection is established between the remote unit and the local unit via the first extender and the second extender.
[0009] In an embodiment of the present invention, in response to a received reset request, a reset request signal is sent to a local unit of a KVM extender, and the sending time of the reset request signal is recorded, wherein the KVM extender includes a local unit and a remote unit; a reset response signal is received from the local unit based on the reset request signal; a reset start signal is sent to the local unit based on the reset response signal, and the receiving time of the reset response signal is recorded; a first time length for delayed resetting the remote unit is determined based on the sending time, the receiving time, and the signal delay, wherein the signal delay is used to indicate the delay of signal transmission between the local unit and the remote unit; based on the reset start signal and the first time length, a delayed reset is performed on the remote unit, so that the reset time of the remote unit and the local unit are synchronized, thereby achieving the purpose of extending the reset of the remote unit and the local unit at the same time based on the signal delay, thereby achieving the technical effect that the remote unit and the local unit can be reset synchronously, thereby solving the technical problem that the remote unit and the local unit cannot be reset synchronously due to the long distance between the remote unit and the local unit and the signal transmission delay in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0011] Figure 1 is a flow chart of a remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0012] Figure 2 is an interactive schematic diagram of an optional remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0013] Figure 3 is an optional remote unit software state machine diagram according to an embodiment of the present invention;
[0014] Figure 4 is an interactive schematic diagram of another optional remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0015] Figure 5 is a flow chart of another remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0016] Figure 6 is a remote unit software state machine diagram of a remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0017] Figure 7is a flow chart of another remote synchronous reset method of a KVM extender according to an embodiment of the present invention;
[0018] Figure 8 is a schematic diagram of the hardware composition structure of an optional KVM extender according to an embodiment of the present invention;
[0019] Fig. 9 is a schematic diagram of an implementation structure of an optional KVM extender according to an embodiment of the present invention;
[0020] Fig.10 The present invention is a flowchart of an optional remote synchronous reset method of a KVM extender according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] First, to facilitate understanding of the embodiments of the present invention, some terms or nouns involved in the present invention are explained below:
[0024] The Keyboard, Video, Mouse (KVM) extender is a new type of human-machine separation security access mode for large computer room management systems. The KVM extender uses special technology to process the computer's keyboard, display, and mouse signals, and realizes the remote transmission of these three signals through only one network cable, allowing users to remotely control the computer equipment in the operation room in real time, thus removing the computer host's length limit on the keyboard and mouse cable.
[0025] Reset refers to the process of restoring the data in a system, device, machine or program to the initial data or default data.
[0026] According to an embodiment of the present invention, a method embodiment of remote synchronous resetting of a KVM extender is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 is a flow chart of a remote synchronous reset method of a KVM extender according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0028] Step S102, in response to the received reset request, sending a reset request signal to the local unit of the keyboard, mouse, KVM extender, and recording the sending time of the reset request signal, wherein the KVM extender includes a local unit and a remote unit;
[0029] Optionally, the execution entity of steps S102 to S108 can be a remote unit. The KVM (Keyboard, Video, Mouse) extender is a transmission tool used in the long-distance control transmission process. The KVM extender includes a local unit and a remote unit. The local unit is located in a large computer room, and the remote unit is located at the remote user. The vertical board, keyboard and display at the remote user are used to control the equipment in the local computer room to realize remote control or operation of the large computer room management system.
[0030] Optionally, due to the long distance between the local unit and the remote unit, there is a delay in the control signal transmission process, and the signal delay needs to be calculated so that the local unit and the remote unit are delayed by corresponding times respectively, so that the two can achieve the effect of synchronous reset. Specifically, in the process of calculating the signal delay, it is necessary to obtain the issuance time of the reset request signal to calculate the time required for the signal to be transmitted between the local unit and the remote unit, so as to achieve the effect of determining the signal delay.
[0031] Step S104, receiving a reset response signal sent by the local unit based on the reset request signal;
[0032] Optional, such as Figure 2 As shown, Figure 2This is an interactive schematic diagram of a remote synchronous reset method for an optional KVM extender according to an embodiment of the present invention. After receiving the reset request signal sent by the remote unit, the local unit sends a reset response signal to the remote unit, which is used to inform the remote unit that the reset request signal has been successfully received. This confirmation feedback can ensure that the communication between the two communicating parties is two-way, avoiding misunderstanding or loss in information transmission. On the other hand, the remote unit may need to perform subsequent corresponding reset operations or perform part of the data processing work based on the received reset response signal. This feedback confirmation method can ensure that the communication between the two communicating parties is two-way, avoiding the reset request signal being lost or unable to be received during the transmission process. It effectively improves the stability and reliability of communication between the remote unit and the local unit.
[0033] Step S106, based on the reset response signal, sending a reset start signal to the local unit, and recording the reception time of the reset response signal;
[0034] Optionally, after the remote unit receives the reset response signal, it means that the local unit has received the reset request signal and is ready to perform a delayed reset operation at any time. Based on the reset response signal, the remote unit sends a reset start signal to the local unit so that the local unit can perform a reset operation. Through multiple signal transmissions, the accuracy of the execution operation is effectively achieved, avoiding the situation where the local unit and the remote unit perform inconsistent operations, that is, one end is reset while the other end is not reset. It is also possible to record the reception time of the reset response signal while receiving the reset response signal, thereby achieving preparation work before calculating the signal delay.
[0035] Step S108, determining a first time length for delaying resetting the remote unit based on the sending time, the receiving time, and the signal delay, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit;
[0036] Optionally, after receiving the reset response signal, the remote unit also needs to send a reset start signal to the local unit. At this time, the delayed reset time of the remote unit is not only the signal delay caused by signal reception, but also the delay caused by the transmission process of the reset start signal to the local unit. The delay in the signal transmission process can be determined based on the sending time and the receiving time, and the delay length of the remote unit in the reset process can be determined based on the delay in the transmission process and the signal delay, so that the remote unit and the local unit can be reset synchronously.
[0037] It should be noted that the remote unit starts delaying from the time it sends the reset start signal, and the local unit starts delaying from the time it receives the reset start signal. The difference between the two is the time of a signal transmission, so the signal delay time of the remote unit is the sum of the signal transmission time and the signal delay, and the delay time of the local unit is the signal time, so that the two can be reset synchronously with delay.
[0038] In an optional embodiment, determining a first duration of delayed resetting of the remote unit based on the sending time, the receiving time, and the signal delay includes: determining the first duration of delayed resetting of the remote unit based on the sending time, the receiving time, and the signal delay in the following manner: Among them, T represents the first duration, T 11 Indicates the time of issuance, T 12 represents the receiving time, and ΔT represents the signal delay.
[0039] Optionally, the difference between the sending time and the receiving time is the time for the reset request signal to be transmitted and the reset response signal to be transmitted, that is, the transmission time of the two signals, and the sending time is earlier than the receiving time, so that the difference between the sending time and the receiving time is a negative number, and the absolute value of the difference between the above two needs to be processed. The absolute value of the difference between the above two is divided by 2, which is the transmission time of one signal, that is It can represent the time it takes for the reset start signal to be transmitted from the remote unit to the local unit. The above transmission time is added to the signal delay, which is the delay time required for the remote unit to start from the time the reset start signal is sent. After the above delay, the reset operation is triggered, so that the remote unit and the local unit can be reset at the same time.
[0040] In an optional embodiment, before determining a first duration for delaying a remote unit reset based on a sending time, a receiving time, and a signal delay for signal transmission between a local unit and a remote unit, the method further includes: determining a first time interval between a sending time and a receiving time; determining a second time interval based on a preset signal transmission speed and a distance between the remote unit and the local unit; and determining a signal delay based on a difference between the first time interval and the second time interval.
[0041] Optionally, the signal delay can be determined by obtaining the sending time and the receiving time in real time and calculating in real time to determine the delay of the current signal. That is, the signal delay is calculated once each reset request is made. This method can effectively avoid the situation where the remote unit moves and still effectively implements synchronous reset.
[0042] Specifically, the difference between the sending time and the receiving time is divided by 2 to obtain the actual signal transmission time, i.e., the first time interval. The preset signal transmission speed (speed of light) and the distance between the remote unit and the local unit are used to determine the theoretical transmission time, i.e., the second time interval, through the ratio between the distance and the preset signal transmission speed. The difference between the first time interval and the second time interval is the difference between the actual transmission time and the theoretical transmission time, i.e., the signal delay.
[0043] Optionally, in addition to the above-mentioned real-time calculation of the signal delay, a fixed delay can also be directly set. It is only necessary to set the above-mentioned delay time to a larger value. That is, both the local unit and the remote unit are already in the state of waiting for reset. At this time, after the signal delay is reached, the reset operation is triggered at the same time to achieve synchronous reset of the local unit and the remote unit.
[0044] Specifically, taking the case where both the local unit and the remote unit are 8-bit microcontrollers or 16-bit microcontrollers with an operating clock frequency below 40 MHz, the time required for transmitting and executing 50-200 signals is selected, and the execution time is taken as the ΔT value. When both the local unit and the remote unit are 32-bit microcontrollers with an operating clock frequency above 40 MHz, the execution time of 100-200 signals can be selected as the ΔT value.
[0045] Step S110: based on the reset start signal and the first duration, the remote unit is reset with a delay so that the reset times of the remote unit and the local unit are synchronized.
[0046] Optionally, after the remote unit sends a reset start signal, a reset operation can be performed after a first delay. After the local unit receives the reset start signal, a reset operation can be performed after a signal delay, thereby effectively achieving reset time synchronization between the remote unit and the local unit.
[0047] In an optional embodiment, based on a reset start signal and a first time duration, a delayed reset is performed on the remote unit to synchronize the reset times of the remote unit and the local unit, including: determining a current state of the remote unit, wherein the current state of the remote unit includes a first initial state, a first diagnostic state, and a first reset state; when the current state is the first initial state, based on the reset start signal and the first time duration, entering the first reset state and performing a delayed reset on the remote unit; or when the current state is the first diagnostic state, based on the diagnostic result, the reset start signal, and the first time duration, entering the first reset state and performing a delayed reset on the remote unit, wherein the diagnostic result is whether the remote unit of the KVM extender is in an abnormal state.
[0048] Optional, Figure 3is an optional remote unit software state machine diagram according to an embodiment of the present invention, such as Figure 3 As shown, the remote unit includes a first microprocessor and a first extender chip, wherein the model of the first microprocessor is CCM3310, and the model of the first extender chip is VS3000. The local unit also includes a second microprocessor and a second extender chip, wherein the model of the second microprocessor is CCM3310, and the model of the second extender chip is VS3000. By designing the software of the first microprocessor in the remote unit into the form of a first initial state, a first diagnostic state, and a first reset state, the accuracy of the synchronous reset of the remote unit and the local unit is effectively guaranteed, and the synchronous reset error of the remote unit and the local unit can be controlled within 10 nanoseconds regardless of the distance between the remote unit and the local unit, effectively reducing the signal impact, reflection, and oscillation on the network line connecting the remote unit and the local unit, and effectively eliminating the asynchronism of the mouse, keyboard, and video image of the display connected to the remote unit, thereby solving the problem of erroneous operation of the local unit and the remote unit due to reset asynchronism.
[0049] Optionally, before the first microprocessor CCM3310 of the remote unit enters the first reset state from the first initial state, the first microprocessor CCM3310 of the remote unit sends a reset request signal to the second extender chip VS3000 and the second microprocessor CCM3310 of the local unit based on the asynchronous receiver / transmitter (UART) communication interface and the first extender chip VS3000. After receiving the reset request signal, the first microprocessor CCM3310 of the remote unit immediately replies with a reset response signal to the remote unit and prepares to enter the first reset state.
[0050] In an optional embodiment, when the current state is the first diagnostic state, based on the diagnostic result, the reset start signal and the first time duration, the first reset state is entered, and the remote unit is reset with a delay, including: when the diagnostic result is that the remote unit is in an abnormal state, the remote unit is restarted to the first initial state, and based on the reset start signal and the first time duration, the first reset state is entered, and the remote unit is reset with a delay; or when the diagnostic result is that the remote unit is not in an abnormal state, the reset start signal and the first time duration are used to enter the first reset state, and the remote unit is reset with a delay.
[0051] Optional, still as Figure 3As shown, specifically, there may be two situations when the first microprocessor CCM3310 of the remote unit switches states. One is that if the current state of the first microprocessor in the remote unit is in the first initial state, the first initial state is converted to the first reset state by triggering the event E_R_INIT_COMPLETE; if it is currently in the first diagnostic state, the first diagnostic state can be initialized, and after the initialization is completed, the event E-R_RESET_START is triggered to make the first diagnostic state enter the synchronous reset state.
[0052] In addition, in the remote unit, the first diagnostic state and the first reset state are switched through the events E_R_RESET_START and E_R_RESET_END. No matter it is the first reset state or the first diagnostic state, when the first microprocessor in the remote unit has an abnormality (an abnormality detected in the diagnostic state), it can be switched to the initial state by triggering the event E_R_REBOOT to complete the hot start of the first microprocessor, wherein the hot start of the first microprocessor refers to the restart of the first microprocessor through a certain specific event (such as the event E_R_REBOOT) in the running state of the first microprocessor, but it will not power off or reload the program inside the first microprocessor. During the hot start process, the first microprocessor will reinitialize its internal state and registers, and then continue the previous running state.
[0053] It should be noted that in the first diagnostic state, the first microprocessor is hot-started by triggering the event E_R_REBOOT, and the chip configuration of the VS3000 in the remote unit is not modified. After the first initial state is completed, it returns to the first diagnostic state; and the first reset state causes the first microprocessor to be hot-started by triggering the event E_R_REBOOT. After the initial state is completed, it will also return to the first reset state. However, when entering the first reset state, the first microprocessor in the remote unit will follow Figure 2 The flow shown performs a synchronous reset interaction with the local unit.
[0054] In an optional embodiment, the remote synchronous reset method of the KVM extender also includes: the local unit determines the reset status and the reset time, wherein the reset status is the state of whether the local unit is reset, and the reset time is the time when the local unit undergoes a delayed reset; the remote unit sends a reset query signal to the local unit; the local unit sends a reset result signal to the remote unit based on the reset query signal, the reset status and the reset time; the remote unit adjusts the signal delay based on the reset result signal.
[0055] Optionally, after the first reset state, a reset query function may also be included. Specifically, taking the remote unit as an example, Figure 4 As shown, Figure 41 is an interactive schematic diagram of another optional remote synchronous reset method of a KVM extender according to an embodiment of the present invention, wherein the steps are as follows:
[0056] Step 1101, after sending a reset start signal, that is, when the reset status is reset, the remote unit sends a reset query signal to the local unit after a delay of N times ΔT, where N is a positive integer greater than or equal to 1;
[0057] Step 1102, after receiving the reset query signal, the local unit sends a reset result signal;
[0058] Step 1103: The remote unit receives the reset result sent by the local unit, and if the reset result is successful, the first microprocessor of the remote unit is switched from the first reset state to the first diagnostic state, and the signal delay is adjusted based on the reset result signal.
[0059] Through the above steps S102 to S110, the purpose of extending the resetting of the remote unit and the local unit at the same time based on the signal delay can be achieved, thereby realizing the technical effect that the remote unit and the local unit can be reset synchronously, thereby solving the technical problem that the remote unit and the local unit cannot be reset synchronously due to the long distance between the remote unit and the local unit and the existence of signal transmission delay in the related technology.
[0060] According to an embodiment of the present invention, another method embodiment of remote synchronous resetting of a KVM extender is provided. Figure 5 FIG. 4 is a flow chart of another remote synchronous reset method of a KVM extender according to an embodiment of the present invention. Figure 5 As shown, the method comprises the following steps:
[0061] Step S202, receiving a reset request signal from a remote unit of a KVM extender, wherein the KVM extender includes a local unit and a remote unit;
[0062] Optionally, the execution subject of step S202 to step S208 can be a local unit, which receives a reset request signal and waits to enter a second reset state based on the reset request signal. During the waiting process, the signal delay is obtained, and then the second reset state is entered based on the signal delay, which can effectively synchronize the reset time of the remote unit and the local unit.
[0063] Step S204, based on the reset request signal, sending a reset response signal to the remote unit;
[0064] Optionally, after receiving the reset request signal sent by the remote unit, the local unit sends a reset response signal to the remote unit, which is used to inform the remote unit that the reset request signal has been successfully received. This confirmation feedback can ensure that the communication between the two communicating parties is two-way, avoiding misunderstanding or loss in information transmission. On the other hand, the remote unit may need to perform subsequent corresponding reset operations or perform part of the data processing work according to the received reset response signal. This feedback confirmation method can ensure that the communication between the two communicating parties is two-way, avoiding the reset request signal being lost or unable to be received during the transmission process. It effectively improves the stability and reliability of communication between the remote unit and the local unit.
[0065] Step S206, receiving a reset start signal and a signal delay sent by the remote unit based on the reset response signal, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit;
[0066] Optionally, after receiving the reset response signal, the remote unit sends a reset start signal to the local unit, which indicates that the remote unit is ready and is about to perform a delayed reset operation. The local unit performs a delayed reset operation based on the delay time of the delayed signal when receiving the reset start signal, so as to achieve reset time synchronization between the remote unit and the local unit.
[0067] Step S208: Based on the reset start signal and the signal delay, the local unit is reset with a delay so that the reset times of the remote unit and the local unit are synchronized.
[0068] Optionally, after the remote unit sends a reset start signal, a reset operation can be performed after a first delay. After the local unit receives the reset start signal, a reset operation can be performed after a signal delay, thereby effectively achieving reset time synchronization between the remote unit and the local unit.
[0069] In an optional embodiment, based on a reset start signal and a signal delay, a delayed reset is performed on the local unit to synchronize the reset times of the remote unit and the local unit, including: determining a current state of the local unit, wherein the current state of the local unit includes a second initial state, a second diagnostic state, and a second reset state; when the current state is the second initial state, based on the reset start signal and the signal delay, entering the second reset state, and performing a delayed reset on the local unit; or when the current state is the second diagnostic state, based on a diagnostic result, a reset start signal, and a signal delay, entering the second reset state, and performing a delayed reset on the local unit, wherein the diagnostic result is whether the local unit of the KVM extender is in an abnormal state.
[0070] Optional, Figure 6: is a remote unit software state machine diagram of a remote synchronous reset method of a KVM extender according to an embodiment of the present invention, such as Figure 6 As shown, the remote unit includes a first microprocessor and a first extender chip, wherein the model of the first microprocessor is CCM3310 and the model of the first extender chip is VS3000. The local unit also includes a second microprocessor and a second extender chip, wherein the model of the second microprocessor is CCM3310 and the model of the second extender chip is VS3000.
[0071] The second microprocessor in the local unit directly enters the second initial state after being powered on, and completes the initialization of the second microprocessor in the second initial state. If a reset request signal sent by the remote unit is received during this process, the event E_L_INIT_COMPLETE will be triggered to enter the second reset state, otherwise the event E_L_HOT_COMPLETE will be triggered to enter the second diagnostic state. If the local unit detects that the second microprocessor is not working properly in the second reset state, the event E_R_REBOOT can be triggered to make the second microprocessor re-enter the second initialization state to complete the hot start of the second microprocessor. The transition from the second reset state to the second diagnostic state is achieved by triggering the event E_R_RESET_END in the second reset state, and the switch from the second diagnostic state to the second reset state is completed by triggering the event E_R_RESET_START in the second diagnostic state.
[0072] Optionally, after the local unit receives the reset request signal sent by the remote unit, the local unit is initialized in the second initial state or self-diagnosed in the second diagnostic state, and then the event E_R_INIT_COMPLETE is triggered, so that the second microprocessor CCM3310 in the local unit enters the second reset state. If the local unit is still in the second reset state, that is, the last reset was unsuccessful or has not been completed, the second microprocessor CCM3310 in the local unit can suspend the synchronous reset of the KVM extender by controlling the first extender chip VS3000 in the remote unit.
[0073] Optionally, if the second microprocessor CCM3310 in the local unit is initialized in the second initial state or does not receive a reset request signal from the remote unit during self-diagnosis in the second diagnostic state, the second microprocessor CCM3310 of the local unit will trigger the event E_R_HOT_COMPLETE after completing the initialization and self-diagnosis, so that the second microprocessor CCM3310 re-enters the second diagnostic state, and monitors the state of the second extender chip VS3000, that is, monitors whether there is a reset request signal. The second diagnostic state and the second reset state of the remote unit are switched by triggering the event E_R_RESET_END and the event E_R_RESET_START, and when the second diagnostic state or the second reset state detects that the second microprocessor is abnormal, the second microprocessor can also be returned to the second initial state by triggering the event E_R_REBOOT to eliminate the abnormality.
[0074] In an optional embodiment, when the current state is the second diagnostic state, based on the diagnostic result, the reset start signal and the signal delay, the second reset state is entered, and the local unit is reset with a delay, including: when the diagnostic result is that the local unit is in an abnormal state, the local unit is restarted to the second initial state, and based on the reset start signal and the signal delay, the second reset state is entered, and the local unit is reset with a delay; or when the diagnostic result is that the local unit is not in an abnormal state, based on the reset start signal and the signal delay, the second reset state is entered, and the local unit is reset with a delay.
[0075] Optionally, when an abnormality is detected in the second diagnostic state, the second microprocessor enters the second initial state by triggering the event E_R_REBOOT. After the second initial state is initialized, the event E_R_HOT_COMPLETE is triggered to return the second microprocessor of the local unit to the diagnostic state. It should be noted that although the second microprocessor in the local unit triggers the event REBOOT (restart) in the second diagnostic state and the second reset state, it will trace back to the previous operating state when entering the second initial state. If it is the former, after the initialization is completed, the event E_R_HOT_COMPLETE will be triggered to return to the second diagnostic state; if it is the latter, after the initialization is completed, the event E_R_INIT_COMPLETE will be triggered to return to the second reset state. The software design of the first microprocessor in the remote unit is the same as that of the remote unit. This software design method can achieve that when the second microprocessor of the local unit fails in operation, the operating state of the extender chip will not be affected, and the operating failure of the KVM extender will not be caused, which effectively guarantees the reliability of the operation of the KVM extender.
[0076] Optionally, if the local unit has received a reset request signal from the remote unit before entering the second reset state, it will no longer send a reset response signal to the remote unit, but wait for the remote unit to send a reset request again, and then reply with a reset response signal; otherwise, if the local unit has not received a reset request signal from the remote unit before entering the second reset state, the local unit will send a reset response signal to the remote unit while entering the second reset state. Conversely, the remote unit also follows this principle, which effectively ensures that the second microprocessor of the local unit or the first microprocessor of the remote unit is in the same reset stage, and better ensures the orderliness of the reset request signal.
[0077] Through the above steps S202 to S208, the purpose of extending the resetting of the remote unit and the local unit at the same time based on the signal delay can be achieved, thereby realizing the technical effect that the remote unit and the local unit can be reset synchronously, and further solving the technical problem that the remote unit and the local unit cannot be reset synchronously due to the long distance between the remote unit and the local unit and the existence of signal transmission delay in the related technology.
[0078] According to an embodiment of the present invention, another method embodiment of remote synchronous resetting of a KVM extender is provided. Figure 7 FIG. 4 is a flow chart of another remote synchronous reset method of a KVM extender according to an embodiment of the present invention. Figure 7 As shown, the method comprises the following steps:
[0079] Step S302, the remote unit of the KVM extender sends a reset request signal to the local unit of the KVM extender in response to the received reset request, and records the time when the reset request signal is sent;
[0080] Step S304, the local unit receives the reset request signal sent from the remote unit, and sends a reset response signal to the remote unit based on the reset request signal;
[0081] Step S306, the remote unit receives the reset response signal sent by the local unit and records the reception time of the reset response signal;
[0082] Step S308, the remote unit sends a reset start signal to the local unit based on the reset response signal;
[0083] Step S310, the remote unit determines a first duration based on the sending time, the receiving time, and the signal delay, wherein the signal delay is used to indicate the delay of signal transmission between the local unit and the remote unit;
[0084] Step S312, the remote unit performs a delayed reset based on the reset start signal and the first time length;
[0085] Step S314: the local unit performs a delayed reset based on the reset start signal and the signal delay, wherein the reset times of the remote unit and the local unit are synchronized.
[0086] The execution entities of steps S302 to S314 may be the local unit and the remote unit. Through the above steps S302 to S314, the purpose of extending the resetting of the remote unit and the local unit simultaneously based on the signal delay can be achieved, thereby realizing the technical effect that the remote unit and the local unit can be reset synchronously, thereby solving the technical problem that the remote unit and the local unit cannot be reset synchronously due to the long distance between the remote unit and the local unit and the existence of signal transmission delay in the related technology.
[0087] According to an embodiment of the present invention, there is also provided an embodiment of a KVM extender for implementing the remote synchronous reset method of the KVM extender. Figure 8 is a schematic diagram of the hardware composition structure of an optional KVM extender according to an embodiment of the present invention, Fig. 9 is a schematic diagram of an optional KVM extender according to an embodiment of the present invention. Figure 8 and Fig. 9 shown.
[0088] The above-mentioned KVM extender includes: a remote unit, including a first microprocessor and a first extender, wherein the first microprocessor is used to execute any one of the above-mentioned remote synchronous reset methods for the KVM extender, and the first microprocessor and the first extender are connected via a UART communication interface; a local unit, connected to the remote unit via a network, including a second microprocessor and a second extender, wherein the second microprocessor is used to execute any one of the above-mentioned remote synchronous reset methods for the KVM extender, and the second microprocessor and the second extender are connected via a UART communication interface; a communication connection is established between the remote unit and the local unit via the first extender and the second extender.
[0089] With the above structure, the local unit is connected to the remote unit for communication, wherein the remote unit includes a first microprocessor and a first extender chip, and the local unit includes a second microprocessor and a second extender chip. Specifically, the first microprocessor and the second microprocessor are both CCM3310, and the first extender chip and the second extender chip are both VS3000. The first microprocessor and the first extender chip are connected via a Universal Asynchronous Receiver / Transmitter (UART) communication interface, the first extender chip and the second extender chip are connected via a network, and the second extender chip and the second microprocessor are connected via a UART communication interface, thereby realizing mutual communication between the local unit and the remote unit.
[0090] Optionally, the output pin of the first microprocessor is connected to the reset input pin of the first extender chip so that after the first microprocessor receives the reset request, it transmits a reset request signal to the first extender chip, and based on the reset request signal received by the first extender chip, it transmits the reset request signal to the second extender chip over a long distance to realize mutual communication between the local unit and the remote unit.
[0091] Optionally, the first microprocessor and the first extender chip may be connected via a serial communication bus, which may be a synchronous serial data bus (Serial Peripheral Interface, SPI) or a serial communication protocol (Inter-Integrated Circuit, I 2 C). The first microprocessor and the first extender chip may also be connected by a parallel bus, specifically, a parallel bus with an 8-bit bandwidth or a 16-bit bandwidth. It should be noted that the second microprocessor and the second extender chip may also be connected by the above-mentioned serial communication bus or parallel bus.
[0092] Optionally, the first extender chip and the second extender chip can be connected via a wireless network, and a communication connection can also be established through a high-speed transmission medium such as optical fiber. It should be noted that when the long-distance transmission distance exceeds a predetermined length, a wireless network connection is used, and when the long-distance transmission distance is less than a predetermined length, an optical fiber connection is used.
[0093] like Figure 8 As shown, the KVM extender further includes a reset button connected to a digital input pin of the first microprocessor for issuing a reset request.
[0094] With the above structure, the remote unit also includes a reset button, and the output of the reset button is not connected to the reset input pin of the first microprocessor CCM3310, but to a digital input pin of CCM3310. The reset button can be designed to output high level, low level, pulse falling edge, and pulse rising edge as reset request inputs to the first microprocessor CCM3310 and the first extender chip VS3000. At this time, the reset request received by the first microprocessor is received in the form of a digital signal, thereby effectively eliminating the impact of the reset button jitter on the first microprocessor. In addition, the reset button can further add a button de-jitter circuit to make the digital signal of the reset request received by the first microprocessor more accurate.
[0095] Optionally, the first microprocessor detects the level change or rising edge / change, falling edge change of the digital input pin and triggers the event E_R_EXTER_RESET at the same time, thereby converting the operating state of the first microprocessor from the first diagnostic state to the first reset state, and the remote unit initiates a reset request signal. When the reset button of the remote unit is pressed, the first microprocessor does not need to be reset, but only detects the change in the state of the reset button output signal in real time. By triggering the event to control the switching of the operating state of the first microprocessor, the reset request signal can be issued on the first extender chip of the KVM extender more efficiently, thereby realizing the synchronous reset of the remote unit and the local unit.
[0096] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode: Fig.10 is a flow chart of a remote synchronous reset method of an optional KVM extender according to an embodiment of the present invention, such as Fig.10 As shown, the method includes:
[0097] Step S1, a reset request signal is sent from the remote unit to the local unit. When the signal is sent, the first microprocessor of the remote unit starts the timer and reads the value of the timer to obtain the sending time, which is recorded as T 11 ;
[0098] Step S2, after receiving the reset request signal, the local unit sends a reset response signal to the remote unit;
[0099] Step S3: When the remote unit starts to receive the reset response signal, the value of the timer is read to obtain the receiving time, which is recorded as T 12 ;
[0100] Step S4: The remote unit sends a reset start signal to the local unit based on the reset response signal, and a delay is given after the sending is completed. The first microprocessor of the remote unit controls the first extender chip thereof to reset, wherein ΔT is a signal delay, ΔT is a positive real number greater than or equal to 0, and the unit is microseconds, and the signal delay is used to indicate the delay of signal transmission between the local unit and the remote unit;
[0101] Step S5, after the local unit receives the reset start signal, after a delay of ΔT, the second microprocessor of the local unit controls the second extender chip to reset;
[0102] Through the above steps S1 to S5, the signal transmission delay caused by the long-distance network cable between the local unit and the remote unit and the random errors in the operation of the first microprocessor program and the second microprocessor program can be eliminated, and the high-precision synchronous reset of the local unit and the remote unit is achieved, which improves the safety and reliability of the KVN extender. It effectively solves the limitation of the traditional KVM extender that the local unit and the remote unit are reset asynchronously only after the remote unit is reset by the reset button, and greatly improves the real-time monitoring and fault recovery capabilities of the KVM extender when it is working.
[0103] In this embodiment, a remote synchronous reset device for a KVM extender is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the terms "module" and "device" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0104] According to an embodiment of the present invention, there is also provided an apparatus embodiment for implementing the remote synchronous reset method of the KVM extender. The remote synchronous reset apparatus of the KVM extender comprises: a first request module, a first response module, a first start module, a first delay module and a first reset module, wherein:
[0105] A first request module, configured to send a reset request signal to a local unit of the KVM extender in response to a received reset request, and record a time when the reset request signal is sent, wherein the KVM extender includes a local unit and a remote unit;
[0106] A first response module, connected to the first request module, configured to receive a reset response signal sent by the local unit based on the reset request signal;
[0107] A first start module, connected to the first response module, for sending a reset start signal to the local unit based on the reset response signal, and recording a reception time of the reset response signal;
[0108] A first delay module, connected to the first start module, is used to determine a first duration for delaying the resetting of the remote unit based on the sending time, the receiving time, and the signal delay, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit;
[0109] The first reset module is connected to the first delay module and is used to perform a delayed reset on the remote unit based on the reset start signal and the first duration, so that the reset times of the remote unit and the local unit are synchronized.
[0110] According to an embodiment of the present invention, another device embodiment for implementing the remote synchronous reset method of the KVM extender is also provided. The remote synchronous reset device of the KVM extender comprises: a second request module, a second response module, a second start module and a second reset module, wherein:
[0111] A second request module, configured to receive a reset request signal from a remote unit of a KVM extender, wherein the KVM extender includes a local unit and a remote unit;
[0112] A second response module, connected to the second request module, for sending a reset response signal to the remote unit based on the reset request signal;
[0113] A second start module, connected to the second response module, is used to receive a reset start signal and a signal delay sent by the remote unit based on the reset response signal, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit;
[0114] The second reset module is connected to the second start module and is used to perform a delayed reset on the local unit based on the reset start signal and the signal delay, so that the reset time of the remote unit and the local unit are synchronized.
[0115] According to an embodiment of the present invention, another device embodiment for implementing the remote synchronous reset method of the KVM extender is also provided. The remote synchronous reset device of the KVM extender comprises: a third initiating module, a third requesting module, a third responding module, a third starting module, a third delay module, a remote reset module and a local reset module, wherein:
[0116] A third initiating module, for the remote unit of the KVM extender to send a reset request signal to the local unit of the KVM extender in response to the received reset request, and record the sending time of the reset request signal;
[0117] A third request module, connected to the third initiating module, is used for the local unit to receive a reset request signal sent from the remote unit, and to send a reset response signal to the remote unit based on the reset request signal;
[0118] A third response module, connected to the third request module, is used for the remote unit to receive the reset response signal sent by the local unit and record the reception time of the reset response signal;
[0119] A third start module, connected to the third response module, is used for the remote unit to send a reset start signal to the local unit based on the reset response signal;
[0120] A third delay module, connected to the third start module, is used for the remote unit to determine the first duration based on the sending time, the receiving time and the signal delay, wherein the signal delay is used to indicate the delay of signal transmission between the local unit and the remote unit;
[0121] A remote reset module, connected to the third delay module, for the remote unit to perform a delayed reset based on the reset start signal and the first time length;
[0122] The local reset module is connected to the remote reset module and is used for the local unit to perform delayed reset based on the reset start signal and the signal delay, wherein the reset time of the remote unit and the local unit are synchronized.
[0123] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0124] It should be noted that the first request module, the first response module, the first start module, the first delay module and the first reset module correspond to steps S102 to S110 in the embodiment; the second request module, the second response module, the second start module and the second reset module correspond to steps S202 to S208 in the embodiment; the third initiation module, the third request module, the third response module, the third start module, the third delay module, the remote reset module and the local reset module correspond to steps S302 to S314 in the embodiment, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules can be run in a computer terminal as part of the device.
[0125] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0126] The remote synchronous reset device of the above-mentioned KVM extender may also include a processor and a memory, and the above-mentioned first request module, first response module, first start module, first delay module and first reset module; and / or the above-mentioned second request module, second response module, second start module and second reset module; and / or the above-mentioned third initiation module, third request module, third response module, third start module, third delay module, remote reset module and local reset module are all stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to realize the corresponding functions.
[0127] The processor includes a kernel, which retrieves the corresponding program module from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0128] According to an embodiment of the present application, an embodiment of a non-volatile storage medium is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any of the remote synchronous reset methods for the KVM extender.
[0129] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.
[0130] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: in response to a received reset request, a reset request signal is sent to the local unit of the KVM extender, and the issuance time of the reset request signal is recorded, wherein the KVM extender includes a local unit and a remote unit; a reset response signal is received based on the reset request signal issued by the local unit; based on the reset response signal, a reset start signal is sent to the local unit, and the reception time of the reset response signal is recorded; based on the issuance time, the reception time, and the signal delay, a first duration for delayed resetting the remote unit is determined, wherein the signal delay is used to indicate the delay in signal transmission between the local unit and the remote unit; based on the reset start signal and the first duration, a delayed reset is performed on the remote unit to synchronize the reset times of the remote unit and the local unit.
[0131] According to an embodiment of the present application, an embodiment of a processor is also provided. Optionally, in this embodiment, the processor is used to run a program, wherein when the program is run, any one of the above-mentioned remote synchronous reset methods for KVM extenders is executed.
[0132] According to an embodiment of the present application, an embodiment of a computer program product is also provided. Optionally, in this embodiment, the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements any of the steps of the remote synchronous reset method of the KVM extender.
[0133] Optionally, the above-mentioned computer program product, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: in response to a received reset request, sending a reset request signal to the local unit of the KVM extender, and recording the issuance time of the reset request signal, wherein the KVM extender includes a local unit and a remote unit; receiving a reset response signal issued by the local unit based on the reset request signal; based on the reset response signal, sending a reset start signal to the local unit, and recording the reception time of the reset response signal; based on the issuance time, the reception time, and the signal delay, determining a first duration for delayed resetting the remote unit, wherein the signal delay is used to indicate the delay in signal transmission between the local unit and the remote unit; based on the reset start signal and the first duration, delay resetting the remote unit so that the reset times of the remote unit and the local unit are synchronized.
[0134] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, any one of the above-mentioned remote synchronous reset methods for a KVM extender is implemented.
[0135] The above sequence of the embodiments of the present invention is for description only and does not represent the superiority or inferiority of the embodiments.
[0136] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above modules can be a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0138] The modules described above as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0139] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0140] If the above-mentioned integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a non-volatile storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0141] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A remote synchronous reset method for a KVM extender, characterized in that: include: In response to the received reset request, sending a reset request signal to a local unit of a keyboard, mouse, and KVM extender, and recording the time when the reset request signal is sent, wherein the KVM extender includes the local unit and a remote unit; receiving a reset response signal sent by the local unit based on the reset request signal; Based on the reset response signal, sending a reset start signal to the local unit, and recording a reception time of the reset response signal; Determining a first duration for delaying resetting the remote unit based on the sending time, the receiving time, and a signal delay, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit; Based on the reset start signal and the first time duration, the remote unit is reset with a delay so that the reset times of the remote unit and the local unit are synchronized.
2. The method according to claim 1, characterized in that: Determining a first duration for delaying resetting the remote unit based on the sending time, the receiving time, and the signal delay includes: Based on the sending time, the receiving time and the signal delay, the first duration for delaying the resetting of the remote unit is determined in the following manner: Wherein, T represents the first duration, T 11 Indicates the time of issuance, T 12 represents the receiving time, and ΔT represents the signal delay.
3. The method according to claim 1, characterized in that Before determining a first duration for delaying resetting the remote unit based on the sending time, the receiving time, and a signal delay for signal transmission between the local unit and the remote unit, the method further includes: determining a first time interval between the sending time and the receiving time; determining a second time interval based on a preset signal transmission speed and a distance between the remote unit and the local unit; The signal delay is determined based on a difference between the first time interval and the second time interval.
4. The method according to claim 1, characterized in that: The delay resetting of the remote unit based on the reset start signal and the first duration so that the reset time of the remote unit and the local unit are synchronized includes: determining a current state of the remote unit, wherein the current state of the remote unit comprises a first initial state, a first diagnostic state, and a first reset state; When the current state is the first initial state, based on the reset start signal and the first duration, entering the first reset state to perform a delayed reset on the remote unit; or When the current state is the first diagnostic state, based on the diagnostic result, the reset start signal and the first duration, the first reset state is entered to perform a delayed reset on the remote unit, wherein the diagnostic result is whether the remote unit of the KVM extender is in an abnormal state.
5. The method according to claim 4, characterized in that When the current state is the first diagnostic state, based on the diagnostic result, the reset start signal and the first duration, entering the first reset state and performing a delayed reset on the remote unit includes: If the diagnosis result indicates that the remote unit is in an abnormal state, restart the remote unit to the first initial state, enter the first reset state based on the reset start signal and the first duration, and perform a delayed reset on the remote unit; or When the diagnosis result shows that the remote unit is not in an abnormal state, the reset start signal and the first time duration are used to enter the first reset state and perform a delayed reset on the remote unit.
6. A remote synchronous reset method for a KVM extender, characterized in that: include: receiving a reset request signal from a remote unit of a KVM extender, wherein the KVM extender includes a local unit and the remote unit; Based on the reset request signal, issuing a reset response signal to the remote unit; receiving a reset start signal and a signal delay sent by the remote unit based on the reset response signal, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit; Based on the reset start signal and the signal delay, the local unit is reset with a delay so that the reset times of the remote unit and the local unit are synchronized.
7. The method according to claim 6, characterized in that The delay resetting of the local unit based on the reset start signal and the signal delay so that the reset time of the remote unit and the local unit is synchronized includes: Determining a current state of the local unit, wherein the current state of the local unit includes a second initial state, a second diagnostic state, and a second reset state; When the current state is the second initial state, based on the reset start signal and the signal delay, entering the second reset state, and performing a delayed reset on the local unit; or When the current state is the second diagnostic state, based on the diagnostic result, the reset start signal and the signal delay, the second reset state is entered to perform a delayed reset on the local unit, wherein the diagnostic result is whether the local unit of the KVM extender is in an abnormal state.
8. The method according to claim 7, characterized in that When the current state is the second diagnostic state, based on the diagnostic result, the reset start signal and the signal delay, entering the second reset state and performing a delayed reset on the local unit includes: If the diagnosis result indicates that the local unit is in an abnormal state, restart the local unit to the second initial state, enter the second reset state based on the reset start signal and the signal delay, and perform a delayed reset on the local unit; or When the diagnosis result shows that the local unit is not in an abnormal state, based on the reset start signal and the signal delay, the second reset state is entered to perform a delayed reset on the local unit.
9. A remote synchronous reset method for a KVM extender, characterized in that: include: The remote unit of the KVM extender sends a reset request signal to the local unit of the KVM extender in response to the received reset request, and records the time when the reset request signal is sent; The local unit receives a reset request signal from the remote unit and sends a reset response signal to the remote unit based on the reset request signal; The remote unit receives the reset response signal sent by the local unit and records the reception time of the reset response signal; The remote unit sends a reset start signal to the local unit based on the reset response signal; The remote unit determines a first duration based on the sending time, the receiving time, and a signal delay, wherein the signal delay is used to indicate a delay in signal transmission between the local unit and the remote unit; The remote unit performs a delayed reset based on the reset start signal and the first time length; The local unit performs a delayed reset based on the reset start signal and the signal delay, wherein the reset times of the remote unit and the local unit are synchronized.
10. The method according to claim 9, characterized in that The method further comprises: The local unit determines a reset status and a reset time, wherein the reset status is a state of whether the local unit is reset, and the reset time is a time when the local unit is delayed reset; The remote unit sends a reset query signal to the local unit; The local unit sends a reset result signal to the remote unit based on the reset query signal, the reset status and the reset time; The remote unit adjusts the signal delay based on the reset result signal.
11. A KVM extender, characterized in that: include: A remote unit, comprising a first microprocessor and a first extender, wherein the first microprocessor is used to execute the remote synchronous reset method of the KVM extender according to any one of claims 1 to 5, and the first microprocessor is connected to the first extender via a UART communication interface; A local unit connected to the remote unit via a network, comprising a second microprocessor and a second extender, wherein the second microprocessor is used to execute the remote synchronous reset method of the KVM extender according to any one of claims 6 to 8, and the second microprocessor and the second extender are connected via a UART communication interface; A communication connection is established between the remote unit and the local unit via the first extender and the second extender.
12. The KVM extender according to claim 11, characterized in that: include: A reset button is connected to a digital input pin of the first microprocessor and is used to issue a reset request.
Citation Information
Patent Citations
Delay dynamic compensation method, device, equipment, medium and system
CN116708240A
Data recovery device, signal processor, data recovery method, signal processing method, program and recording medium
JP2014027333A
Method of and apparatus for time synchronization in a communication system
US6674730B1
Redirecting input and output for multiple computers
US7519749B1
Wireless network node synchronization method, system and device, and readable storage medium
WO2024124797A1
