Verification method and system, response method, elevator control device and door machine device
By establishing multiple channels between the elevator control equipment and the door machine equipment for data transmission, and generating verification signals for equipment status matching verification, the problem of communication in the prior art is solved, and the elevator system and door machine equipment are realized Secure communication and device matching between.
Patent Information
- Application Number
- CN202310477686.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-04-26
AI Technical Summary
In the existing elevator systems, the terminal control method causes unsafe communication between the elevator control system and the door machine system, and lacks an effective verification mechanism.
By establishing multiple channels between the elevator control equipment and the door machine equipment for data transmission, a verification trigger signal, a baud rate signal and a verification password signal are generated, and the equipment status matching verification is performed to ensure communication security.
It improves the communication security between the elevator system and the door machine equipment, and ensures equipment matching and data transmission reliability.
Smart Images

Figure CN116633552B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of elevators, and in particular to a verification method and system, a response method, an elevator control device and a door machine device. Background Art
[0002] In an elevator, the door machine motor is mainly controlled by the door machine driver to open and close the elevator car door and hall door.
[0003] At present, most elevators on the market use terminal control to control the door machine system. When the elevator needs to open the door, the door opening terminal is controlled to output the door opening command. After the door opening input terminal of the door machine system detects the door opening command, the door machine driver controls the door machine motor to perform the door opening action. When the door machine system detects that the door is fully opened, the door machine system sends the door opening signal to the door opening input terminal of the elevator control system through the terminal. When the elevator needs to close the door, the door closing terminal is controlled to output the door closing command. After the door closing input terminal of the door machine system detects the door closing command, the door machine driver controls the door machine motor to perform the door closing action. When the door machine system detects that the door is fully closed, the door machine system sends the door closing signal to the door closing input terminal of the elevator control system through the terminal.
[0004] In the process of using the above-mentioned terminal-controlled door machine system, the detection of the door opening command, door closing command, door opening position signal and door closing position signal is controlled by the terminal input / output signal. However, for the elevator control system of the elevator, any brand of terminal-controlled door machine system on the market can be matched, which is not conducive to the communication security between the elevator control system and the door machine system. Summary of the invention
[0005] The main technical problem solved by the embodiments of the present invention is to provide a verification method and system, a response method, an elevator control device and a door machine device, so that the elevator control device can verify the door machine device and improve the security of communication between the elevator system and the door machine driver.
[0006] To solve the above technical problems, a technical solution adopted in an embodiment of the present invention is: providing a verification method, which is applied to an elevator control device, wherein the elevator control device sends data to a door machine device through a first channel and a second channel, and the door machine device sends data to the elevator control device through a third channel and a fourth channel; the verification method comprises: determining the working state of the elevator control device; when it is determined that the working state of the elevator control device is a target working state, generating a verification trigger signal, and sending the verification trigger signal to the door machine device; when receiving the verification state signal returned by the door machine device, generating an elevator baud rate signal, and sending the elevator baud rate signal to the door machine device; when receiving the door machine baud rate signal returned by the door machine device, generating an elevator verification password and a verification random data signal, and sending the verification random data signal to the door machine device according to the door machine baud rate signal; when receiving the door machine verification password signal returned by the door machine device, analyzing the door machine verification password signal to obtain the door machine verification password, and determining the verification result according to the elevator verification password and the door machine verification password.
[0007] In some embodiments, the working state of the elevator control device includes a target working state and a non-target working state, and determining the working state of the elevator control device includes: obtaining a first random function; calculating a verification time according to the first random function; when the working state of the elevator control device remains in the target working state during the verification time, determining that the working state of the elevator control device is the target working state; when a non-target working state exists in the working state of the elevator control device during the verification time, determining that the working state of the elevator control device is a non-target working state.
[0008] In some embodiments, the verification trigger signal includes a first verification trigger signal and a second verification trigger signal, and sending the verification trigger signal to the door machine device includes: sending the first verification trigger signal to the door machine device through the first channel, and sending the second verification trigger signal to the door machine device through the second channel at the same time.
[0009] In some embodiments, generating an elevator baud rate signal includes: obtaining a second random function and a baud rate matching relationship; calculating a baud rate random number based on the second random function; obtaining an elevator baud rate based on the baud rate random number and the baud rate matching relationship; and generating the elevator baud rate signal based on the elevator baud rate.
[0010] In some embodiments, the generation of the elevator verification password and the verification random data signal includes: obtaining a third random function and a random data function; generating the verification random data according to the random data function; generating the elevator verification password according to the third random function and the verification random data; analyzing the door machine baud rate signal to obtain the door machine baud rate; generating the verification random data signal according to the door machine baud rate and the verification random data.
[0011] In some embodiments, determining the verification result based on the elevator verification password and the door machine verification password includes: judging whether the elevator verification password and the door machine verification password are consistent; if the elevator verification password and the door machine verification password are consistent, determining that the verification result is that the elevator control device and the door machine device match; if the elevator verification password and the door machine verification password are inconsistent, determining that the verification result is that the elevator control device and the door machine device do not match.
[0012] To solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: providing a response method, applied to a door machine device, the elevator control device sends data to the door machine device through a first channel and a second channel, and the door machine device sends data to the elevator control device through a third channel and a fourth channel; the response method includes: when receiving a check trigger signal sent by the elevator control device, generating a check status signal, and sending the check status signal to the elevator control device; when receiving an elevator baud rate signal returned by the elevator control device, generating a door machine baud rate signal, and sending the door machine baud rate signal to the elevator control device; when receiving a check random data signal returned by the elevator control device, generating a door machine check password, and sending the door machine check password signal to the elevator control device according to the door machine baud rate signal, so that the elevator control device determines the check result according to the door machine check password and the elevator check password.
[0013] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: providing an elevator control device, the elevator control device includes an elevator controller and a car top board, the elevator controller communicates with the car top board through a first communication method, the car top board sends data to a door machine device through a first channel and a second channel, and the door machine device sends data to the car top board through a third channel and a fourth channel; the elevator controller is used to: determine the working state of the elevator control device; when it is determined that the working state of the elevator control device is a target working state, generate a verification trigger signal, and control the car top board to send the verification trigger signal to the door machine device; when the verification status signal returned by the door machine device is received through the car top board, an elevator baud rate signal is generated, and the car top board is controlled to send the elevator baud rate signal to the door machine device; when the door machine baud rate signal returned by the door machine device is received through the car top board, an elevator verification password and a verification random data signal are generated, and the car top board is controlled to send the verification random data signal to the door machine device according to the door machine baud rate signal; when the door machine verification password signal returned by the door machine device is received through the car top board, the verification result is determined according to the elevator verification password and the door machine verification password.
[0014] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a door machine device, the door machine device includes: at least one processor; and a memory connected to the at least one processor; wherein the memory stores an instruction program executable by the at least one processor, and the instruction program is executed by the at least one processor so that the at least one processor can execute the method as described above.
[0015] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a verification system, the verification system includes the elevator control device as described above, and the door machine device as described above.
[0016] Different from the related art, the embodiment of the present invention provides a verification method and system, a response method, an elevator control device and a door machine device. The verification method is applied to the elevator control device, the elevator control device sends data to the door machine device through the first channel and the second channel, and the door machine device sends data to the elevator control device through the third channel and the fourth channel. The verification method includes: determining the working state of the elevator control device; when it is determined that the working state of the elevator control device is the target working state, generating a verification trigger signal, and sending the verification trigger signal to the door machine device; when receiving the verification state signal returned by the door machine device, generating an elevator baud rate signal, and sending the elevator baud rate signal to the door machine device; when receiving the door machine baud rate signal returned by the door machine device, generating an elevator verification password and a verification random data signal, and sending the verification random data signal to the door machine device according to the door machine baud rate signal; when receiving the door machine verification password signal returned by the door machine device, analyzing the door machine verification password signal to obtain the door machine verification password, and determining the verification result according to the elevator verification password and the door machine verification password. The embodiment of the present invention can realize the verification of the door machine equipment by the elevator control equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.
[0018] Figure 1 is a structural block diagram of a verification system provided by an embodiment of the present invention;
[0019] Figure 2 It is a structural block diagram of a door machine device provided by an embodiment of the present invention;
[0020] Figure 3 It is a flowchart of a verification method provided by an embodiment of the present invention;
[0021] Figure 4 Schematic diagram of the waveform of the verification trigger signal;
[0022] Figure 5 Schematic diagram of the waveform of the verification status signal;
[0023] Figure 6 is a flow chart of a method for determining the working state of an elevator control device provided by an embodiment of the present invention;
[0024] Figure 7 1 is a flow chart of a method for generating an elevator baud rate signal provided by an embodiment of the present invention;
[0025] Figure 8 It is a waveform diagram of the elevator baud rate signal;
[0026] Fig. 9 It is a waveform diagram of the baud rate signal of the door machine;
[0027] Fig.10 It is a schematic diagram of a process of generating an elevator verification password and verifying a random data signal provided by an embodiment of the present invention;
[0028] Fig.11 It is a schematic diagram of a flow chart of determining a verification result according to an elevator verification password and a door machine verification password provided by an embodiment of the present invention;
[0029] Fig.12 It is a schematic diagram of the interaction between the elevator controller, the car top board and the door machine equipment in the verification system provided by the embodiment of the present invention;
[0030] Fig.13 It is a flowchart of a response method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0032] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.
[0033] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.
[0034] See also Figure 1 , Figure 1 It is a structural block diagram of a verification system provided by an embodiment of the present invention.
[0035] An embodiment of the present invention provides a verification system 1000 , which includes an elevator control device 100 and a door machine device 200 .
[0036] like Figure 1 As shown, an embodiment of the present invention provides an elevator control device 100. The elevator control device 100 includes an elevator controller 101 and a car top board 102. The elevator controller 101 communicates with the car top board 102 through a first communication mode. The car top board 102 sends data to the door machine device 200 through a first channel and a second channel. The door machine device 200 sends data to the car top board 102 through a third channel and a fourth channel. The elevator controller 101 is used to: determine the working state of the elevator control device 100. When it is determined that the working state of the elevator control device 100 is the target working state, a verification trigger signal is generated, and the car top board 102 is controlled to send the verification trigger signal to the door machine device 200. When the verification state signal returned by the door machine device 200 is received through the car top board 102, an elevator baud rate signal is generated, and the car top board 102 is controlled to send the elevator baud rate signal to the door machine device 200. When the door machine baud rate signal returned by the door machine device 200 is received through the car top board 102, an elevator verification password and a verification random data signal are generated, and the car top board 102 is controlled to send the verification random data signal to the door machine device 200 according to the door machine baud rate signal. When the door machine verification password signal returned by the door machine device 200 is received through the car top board 102, the verification result is determined according to the elevator verification password and the door machine verification password.
[0037] The elevator control device 100 includes an elevator controller 101 and a car top board 102. The elevator controller 101 communicates with the car top board 102 via a first communication method.
[0038] The car top board 102 includes four I / O (input / output) ports, namely YB1, YB2, XB1 and XB2. The door machine device 200 includes four I / O ports, namely XC1, XC2, YC1 and YC2.
[0039] Among them, the car top board 102 sends data to the port XC1 of the door machine device 200 through the port YB1, and the data channel from the port YB1 to the port XC1 is called the first channel. The car top board 102 sends data to the port XC2 of the door machine device 200 through the port YB2, and the data channel from the port YB2 to the port XC2 is called the second channel. The door machine device 200 sends data to the port XB1 of the car top board 102 through the port YC1, and the data channel from the port YC1 to the port XB1 is called the third channel. The door machine device 200 sends data to the port XB2 of the car top board 102 through the port YC2. The data channel from the port YC2 to the port XB2 is called the fourth channel.
[0040] The elevator controller 101 may be a programmable logic controller (PLC), a microcontroller unit (MCU) or a digital signal processing (DSP) controller.
[0041] The elevator controller 101 and the car top board 102 exchange data via a first communication method, wherein the first communication method may be a method of communicating via a communication interface such as RS232 or RS485.
[0042] The elevator controller 101 serves as the brain of the elevator system, aggregates system signals and instructions, and outputs control instructions after comprehensive logical calculations.
[0043] The door machine device 200 may also be called a door machine driver, which is mainly used to drive the elevator door to open and close according to the control command of the elevator control device 100.
[0044] Specifically, the elevator controller 101 sends the door opening instruction, door closing instruction, etc. to the car top board 102, and the car top board 102 implements the data transmission function, and the car top board 102 transmits the door opening instruction, door closing instruction, etc. to the door machine equipment 200.
[0045] Specifically, the car top board 102 sends the door opening command to the door machine device 200 through the port YB1. After the port XC1 of the door machine device 200 receives the door opening command sent by the port YB1 of the car top board 102, the door machine device 200 controls the elevator to open the door. After the door machine device 200 detects that the door is fully opened, the door machine device 200 controls the port YC1 to output the door opening signal to the XB1 of the car top board 102. The car top board 102 sends the door opening signal to the elevator controller 101 through the first communication method.
[0046] Specifically, the car top board 102 sends the door closing command to the door machine device 200 through port YB2. After port XC2 of the door machine device 200 receives the door closing command sent by port YB2 of the car top board 102, the door machine device 200 controls the elevator door to close. After the door machine device 200 detects that the door is fully closed, the door machine device 200 controls port YC2 to output a door fully closed signal to XB2 of the car top board 102. The car top board 102 sends the door fully closed signal to the elevator controller 101 through the first communication method.
[0047] See also Figure 2 , Figure 2 It is a structural block diagram of a door machine device provided by an embodiment of the present invention.
[0048] like Figure 2As shown, the door machine device 200 includes at least one processor 201 and a memory 202, wherein the memory 202 can be built in the door machine device 200 or externally located outside the door machine device 200, and the memory 202 can also be a remotely set memory connected to the door machine device 200 via a network.
[0049] The memory 202, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 202 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 202 may optionally include a memory remotely arranged relative to the processor 201, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0050] The processor 201 performs various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 202, and calling data stored in the memory 202, thereby monitoring the terminal as a whole, for example, implementing the response method of any of the following embodiments of the present application.
[0051] The processor 201 may be one or more, Figure 2 A processor 201 is taken as an example. The processor 201 and the memory 202 may be connected via a bus or other means. The processor 201 may include a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a controller, a field programmable gate array (FPGA) device, etc. The processor 201 may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration.
[0052] An embodiment of the present invention provides a verification method for implementing protocol binding between an elevator control device 100 and a door machine device 200.
[0053] See also Figure 3 , Figure 3It is a flowchart of a verification method provided by an embodiment of the present invention.
[0054] The verification method is applied to the elevator control device 100 as described above. The elevator control device 100 sends data to the door machine device 200 through the first channel and the second channel, and the door machine device 200 sends data to the elevator control device 100 through the third channel and the fourth channel. The verification method includes the following steps:
[0055] Step S1, determining the working state of the elevator control device 100.
[0056] Specifically, first, the elevator control device 100 needs to detect its own working state to determine whether the elevator is in a state where the elevator is working normally and no passengers are on board.
[0057] Step S2: When it is determined that the working state of the elevator control device 100 is the target working state, a verification trigger signal is generated and sent to the door machine device 200.
[0058] Specifically, when the elevator control device 100 determines that its working state is the target working state, the elevator control device 100 generates a verification trigger signal, and sends the verification trigger signal to the door machine device 200 through the first channel and the second channel at a fixed baud rate f1. After the door machine device 200 receives the verification trigger signal, the door machine device 200 enters the verification mode and sends the verification status signal to the elevator control device 100 through the third channel and the fourth channel.
[0059] The elevator control device 100 and the door machine device 200 both have a pre-stored fixed baud rate f1, and the fixed baud rate f1 may be 100 bit / s or other appropriate values.
[0060] The target working state refers to the state where the elevator is working normally and no one is on board.
[0061] The elevator control device 100 has a pre-stored verification trigger signal or a method for generating a verification trigger signal. The door machine device 200 has a pre-stored verification status signal or a method for generating a verification status signal.
[0062] The verification trigger signal includes information about the trigger command word, which can be a fixed data, such as 0x0A in hexadecimal or other suitable data. The verification status signal includes information about the response command word, which can be a fixed data, such as 0x0B in hexadecimal or other suitable data.
[0063] In some embodiments, please refer to Figure 4 and Figure 5 , Figure 4 It is a waveform diagram of the verification trigger signal. Figure 5 Schematic diagram of the waveform of the verification status signal. Figure 4 The verification command word in the verification trigger signal is 10100000 in binary, that is, 0x0A in hexadecimal, with the low bit of 0x0A in front and the high bit of 0x0A in the back. Figure 5 The response command word in the check status signal is 10110000 in binary, that is, 0x0B in hexadecimal, with the low bit of 0x0B in front and the high bit of 0x0B in the back.
[0064] In some embodiments, the verification trigger signal includes a first verification trigger signal and a second verification trigger signal. The step of the elevator control device 100 sending the verification trigger signal to the door machine device 200 includes: sending the first verification trigger signal to the door machine device 200 through the first channel, and sending the second verification trigger signal to the door machine device 200 through the second channel. Figure 4 As shown, the first verification trigger signal is the signal corresponding to YB1, and the second verification trigger signal is the signal corresponding to YB2.
[0065] In some embodiments, the verification status signal includes a first verification status signal and a second verification status signal. The door machine device 200 sends the first verification status signal to the elevator control device 100 through the third channel, and at the same time, the door machine device 200 sends the second verification status signal to the elevator control device 100 through the fourth channel. Figure 5 As shown, the first verification state signal is a signal corresponding to YC1, and the second verification state signal is a signal corresponding to YC2.
[0066] Figure 4 and Figure 5 The values of time t1 and time t2 are fixed, and time t1 and time t2 are pre-stored in the elevator control device 100 and the door machine device 200.
[0067] In this embodiment, the elevator control device 100 verifies the trigger signal through Figure 1 The port YB1 and port YB2 in the elevator control device 100 are sent to the door machine device 200. When the elevator control device 100 controls the door machine device 200 normally, the port YB1 and port YB2 will not output at the same time. Therefore, when the port YB1 and port YB2 output high level at the same time and the output time reaches t1, the door machine device 200 detects the signal of port YB2. At this time, the baud rate of the signal output by port YB2 is a fixed baud rate f1. When the signal of port YB1 switches from low level to high level, port YB2 starts to transmit the check command word, such as Figure 4The verification command word sent is shown as a binary number 10100000, that is, 0X0A in hexadecimal, with the low bit of 0X0A in front and the high bit of 0X0A in the back. When the signal of port YB1 switches from a high level to a low level, the sending of the verification command word ends. The door machine device 200 compares the received verification command word with the verification command word pre-stored in the door machine device 200. If the two are consistent, the door machine device 200 switches to the verification mode, and at the same time, the door machine device 200 sends a verification status signal to the elevator control device 100 through port YC1 and port YC2.
[0068] Step S3: When receiving the verification status signal returned by the door machine device 200, an elevator baud rate signal is generated and sent to the door machine device 200.
[0069] Specifically, when the elevator control device 100 receives the verification status signal returned by the door machine device 200 through the third channel and the fourth channel, the elevator control device 100 analyzes the verification status signal to obtain the response command word. The elevator control device 100 compares the response command word of the verification status signal with the response command word pre-stored in the elevator control device 100 to determine whether the door machine device 200 is in the verification mode.
[0070] Then, when it is determined that the door machine device 200 is in the verification mode, the elevator control device 100 generates an elevator baud rate signal and sends the elevator baud rate signal to the door machine device 200 through the first channel and the second channel. After receiving the elevator baud rate signal, the door machine device 200 generates a door machine baud rate signal and sends the door machine baud rate signal to the elevator control device 100 through the third channel and the fourth channel.
[0071] In the embodiment of the present invention, the elevator control device 100 pre-stores an elevator baud rate signal or a method for generating an elevator baud rate signal. The door machine device 200 pre-stores a door machine baud rate signal or a method for generating a door machine baud rate signal.
[0072] The elevator baud rate signal is a signal carrying information of the elevator baud rate f2, and the door machine baud rate signal is a signal carrying information of the door machine baud rate f3.
[0073] In some embodiments, the elevator baud rate f2 may be a fixed data, such as 500 bit / s, 200 bit / s or other suitable data, etc. The door machine baud rate f3 is consistent with the elevator baud rate f2.
[0074] Step S4: When the door machine baud rate signal returned by the door machine device 200 is received, an elevator verification password and a verification random data signal are generated, and the verification random data signal is sent to the door machine device 200 according to the door machine baud rate signal.
[0075] Specifically, when the elevator control device 100 receives the door machine baud rate signal through the third channel and the fourth channel, the elevator control device 100 generates an elevator verification password and a verification random data signal, and sends the verification random data signal to the door machine device 200 at a transmission rate of the door machine baud rate f3. The door machine device 200 generates a door machine verification password signal according to the verification random data signal, and sends the door machine verification password signal to the elevator control device 100 at a transmission rate of the door machine baud rate f3.
[0076] In the embodiment of the present invention, the elevator control device 100 pre-stores a method for generating a random data signal for verification and a method for generating an elevator verification password, and the door machine device 200 pre-stores a method for generating a door machine verification password signal. The random data signal for verification is a signal carrying information of random data for verification, and the door machine verification password signal is a signal carrying information of a door machine verification password.
[0077] Step S5: when receiving the door machine verification password signal returned by the door machine device 200, analyze the door machine verification password signal to obtain the door machine verification password, and determine the verification result according to the elevator verification password and the door machine verification password.
[0078] Specifically, when the elevator control device 100 receives the door machine verification password signal through the third channel and the fourth channel, the elevator control device 100 parses the door machine verification password in the door machine verification password signal, and compares the elevator verification password with the door machine verification password to obtain a verification result. Then, the elevator control device 100 determines whether the door machine device 200 matches the elevator control device 100 according to the verification result. In this way, the data protocol binding between the elevator control device 100 and the door machine device 200 is completed, that is, the verification of the door machine device 200 by the elevator control device 100 is completed.
[0079] See also Figure 6 , Figure 6 It is a flowchart of a method for determining the working state of an elevator control device provided in an embodiment of the present invention.
[0080] Determining the working state of the elevator control device 100 includes the following steps:
[0081] Step S11, obtaining a first random function.
[0082] Specifically, a first random function is pre-stored in the elevator control device 100 .
[0083] The first random function F1(X) may be:
[0084] F1(X)=RAND()*number of runs+current time in minutes+0x1A;
[0085] Among them, RAND() is the RAND() function, which is used to generate uniformly distributed random real numbers greater than or equal to 0 and less than 1. The number of runs is the number of times the RAND() function is run. The current time minute is a number greater than or equal to 0 and less than 60. The hexadecimal number 0x1A converted to decimal is 26.
[0086] Step S12: Calculate the verification time according to the first random function.
[0087] The elevator control device 100 generates the check time by using a first random function.
[0088] The elevator control device 100 first calculates a decimal number including at least a ones digit and a tens digit by using the first random function F1(X).
[0089] The value of the hour of the verification time is the value of the tens digit of the above decimal number, and the value of the minute of the verification time is the value of the units digit of the above decimal number. For example, if the number calculated by the first random function F1(X) is 15286, the units digit of 15286 is 6, and the tens digit of 15286 is 8, then the verification time is 8 hours and 6 minutes.
[0090] Step S13: When the working state of the elevator control device 100 remains in the target working state within the verification time, the working state of the elevator control device 100 is determined to be the target working state.
[0091] The working state of the elevator control device 100 includes a target working state and a non-target working state.
[0092] The target working state means that the elevator controlled by the elevator control device 100 is in an idle state.
[0093] The non-target working state refers to the elevator controlled by the elevator control device 100 being in a non-idle state, that is, other working states except the idle state, such as the state where the elevator is carrying people, the state where the elevator is out of use due to power failure, etc.
[0094] Step S14: When the working state of the elevator control device 100 is a non-target working state within the verification time, determine that the working state of the elevator control device 100 is a non-target working state.
[0095] For example, if the verification time is 8 hours and 6 minutes, if the elevator control device 100 detects that its own working state remains in the target working state within 8 hours and 6 minutes, then the working state of the elevator control device 100 is determined to be the target working state; if the elevator control device 100 detects that its own working state has appeared in a non-target working state within 8 hours and 6 minutes, then the working state of the elevator control device 100 is determined to be a non-target working state.
[0096] See also Figure 7 , Figure 7 The present invention is a flowchart of a method for generating an elevator baud rate signal provided by an embodiment of the present invention.
[0097] In some embodiments, generating an elevator baud rate signal comprises:
[0098] Step S31, obtaining a matching relationship between a second random function and a baud rate.
[0099] Specifically, the elevator control device 100 pre-stores a matching relationship between the second random function and the baud rate.
[0100] The second random function F2(X) may be: F2(X)=RAND()*10. RAND() is a RAND() function, which is used to generate a uniformly distributed random real number greater than or equal to 0 and less than 1.
[0101] Step S32: Calculate a baud rate random number according to a second random function.
[0102] The baud rate random number is the units digit of the decimal number generated by the second random function F2(X), and the baud rate random number is a number greater than or equal to 0 and less than 10.
[0103] Step S33, obtaining the elevator baud rate f2 according to the baud rate random number and the baud rate matching relationship.
[0104] The baud rate matching relationship is shown in the following table:
[0105] Baud rate random number 1 2 3 4 5 6 7 8 9 Elevator baud rate f2 (bit / s) 1000 200 100 66 50 40 30 33 20
[0106] Table 1
[0107] As shown in Table 1 above, the baud rate random number corresponds to the elevator baud rate f2. When the baud rate random number is 1, the corresponding elevator baud rate f2 is 1000bit / s. When the baud rate random number is 2, the corresponding elevator baud rate f2 is 200bit / s. When the baud rate random number is 3, the corresponding elevator baud rate f2 is 100bit / s. When the baud rate random number is 4, the corresponding elevator baud rate f2 is 66bit / s. When the baud rate random number is 5, the corresponding elevator baud rate f2 is 50bit / s. When the baud rate random number is 6, the corresponding elevator baud rate f2 is 40bit / s. When the baud rate random number is 7, the corresponding elevator baud rate f2 is 30bit / s. When the baud rate random number is 8, the corresponding elevator baud rate f2 is 33bit / s. When the baud rate random number is 9, the corresponding elevator baud rate f2 is 20bit / s.
[0108] It should be noted that the above table exemplarily shows the matching relationship between the baud rate random number and the elevator baud rate f2, which can be adaptively modified according to actual needs.
[0109] Step S34, generating an elevator baud rate signal according to the elevator baud rate f2.
[0110] The elevator baud rate signal is a signal carrying information of the elevator baud rate f2.
[0111] Specifically, when the elevator control device 100 determines that its working state is the target working state, the elevator control device 100 first generates a baud rate random number according to the second random function, then obtains the elevator baud rate f2 corresponding to the baud rate random number, then generates an elevator baud rate signal according to the elevator baud rate f2, and finally sends the elevator baud rate signal to the door machine device 200 through the first channel and the second channel. After receiving the elevator baud rate signal, the door machine device 200 analyzes the elevator baud rate signal to obtain the elevator baud rate f2, obtains the door machine baud rate f3 that is the same as the elevator baud rate f2, and generates a door machine baud rate signal. Finally, the door machine device 200 sends the door machine baud rate signal to the elevator control device 100 through the third channel and the fourth channel.
[0112] For details, please refer to Figure 8 and Fig. 9 , Figure 8 It is a waveform diagram of the elevator baud rate signal. Fig. 9 It is a waveform diagram of the door machine baud rate signal.
[0113] In some embodiments, the elevator baud rate signal includes a first elevator baud rate signal and a second elevator baud rate signal. The elevator control device 100 sends the first elevator baud rate signal to the door machine device 200 through the first channel, and the elevator control device 100 sends the second elevator baud rate signal to the door machine device 200 through the second channel.
[0114] In some embodiments, the door machine baud rate signal includes a first door machine baud rate signal and a second door machine baud rate signal. The door machine device 200 sends the first door machine baud rate signal to the elevator control device 100 through the third channel, and the door machine device 200 sends the second door machine baud rate signal to the elevator control device 100 through the fourth channel.
[0115] exist Figure 8 In , the signal corresponding to YB1 is the first elevator baud rate signal, and the signal corresponding to YB2 is the second elevator baud rate signal. Fig. 9 In the example, the signal corresponding to YC1 is the baud rate signal of the first door machine, and the signal corresponding to YC2 is the baud rate signal of the second door machine.
[0116] In this embodiment, the elevator control device 100 transmits the elevator baud rate signal through Figure 1 The port YB1 and port YB2 in the elevator control device 100 are sent to the door machine device 200. When the elevator control device 100 controls the door machine device 200 normally, the port YB1 and port YB2 will not output high level at the same time. Therefore, when the port YB1 and port YB2 output high level at the same time and the output time reaches t1, the door machine device 200 detects the signal of port YB2. At this time, the baud rate of the signal output by port YB2 is a fixed baud rate f1. When the signal of port YB1 switches from low level to high level, port YB2 starts to transmit the elevator baud rate, such as Figure 8 The elevator baud rate sent is 01000000. When the signal of port YB1 switches from high level to low level, the sending of the elevator baud rate ends. The door machine device 200 analyzes the received elevator baud rate signal to obtain the elevator baud rate, and then the door machine device 200 sends the door machine baud rate signal to the elevator control device 100 through port YC1 and port YC2.
[0117] Figure 8 The value of the elevator baud rate f2 in the elevator baud rate signal is 01000000 in binary, which is 64 in decimal, so the elevator baud rate f2 is 64bit / s. Fig. 9 The value of the door machine baud rate f3 in the door machine baud rate signal is 01000000, which is 64 when converted to decimal. Therefore, the door machine baud rate f3 is also 64bit / s.
[0118] See also Fig.10 , Fig.10 The present invention provides a flow chart of generating an elevator verification password and verifying a random data signal in accordance with an embodiment of the present invention.
[0119] In some embodiments, generating an elevator verification password and a verification random data signal includes:
[0120] Step S41, obtaining a third random function and a random data function.
[0121] The random data function F(M) and the third random function F3(X) are pre-stored in the elevator control device 100 and the door machine device 200 .
[0122] The formula of the random data function F(M) can be set as: F(M)=RAND(). RAND() is a RAND() function, which is used to generate a random real number greater than or equal to 0 and less than 1.
[0123] The formula of the third random function F3(M) can be set as: F3(M)=aM+b, wherein a is a fixed constant, b is also a fixed constant, and M is the verification random number data.
[0124] It should be noted that, in addition to the formula of the random data function and the formula of the third random function proposed above, other random data functions and third random functions may be set according to actual needs.
[0125] Step S42: Generate verification random data according to the random data function.
[0126] Specifically, the elevator control device 100 generates the verification random number data M through the random data function F(M).
[0127] Step S43: Generate an elevator verification password according to the third random function and the verification random data.
[0128] Specifically, the elevator control device 100 substitutes the verification random data M into the third random function F3 (M) to obtain the elevator verification password P1.
[0129] Step S44, analyzing the door machine baud rate signal to obtain the door machine baud rate f3.
[0130] Step S45, generating a verification random data signal according to the door machine baud rate f3 and the verification random data.
[0131] Specifically, the elevator control device 100 generates a check random data signal at a transmission rate of the door machine baud rate f3, and then sends the check random data signal to the door machine device 200. After receiving the check random data signal, the door machine device 200 analyzes the check random data signal to obtain the check random data M. Then the door machine device 200 substitutes the check random data M into the pre-stored third random function F3 (M) to obtain the door machine check password P2. The door machine device 200 generates a door machine check password signal according to the door machine check password P2 and the door machine baud rate f3, and sends the door machine check password signal to the elevator control device 100 through the third channel and the fourth channel.
[0132] The check random data signal is a signal carrying information of the check random data M.
[0133] In some embodiments, the check random data signal includes a first check random data signal and a second check random data signal. The elevator control device 100 sends the first check random data signal to the door machine device 200 through the first channel, and at the same time, the elevator control device 100 sends the second check random data signal to the door machine device 200 through the second channel.
[0134] In some embodiments, the door machine verification password signal includes a first door machine verification password signal and a second door machine verification password signal. The door machine device 200 sends the first door machine verification password signal to the elevator control device 100 through the third channel, and at the same time, the door machine device 200 sends the second door machine verification password signal to the elevator control device 100 through the fourth channel.
[0135] It should be noted that the random data signal can be checked by referring to Figure 4 The verification trigger signal in the door machine verification password signal can refer to Figure 5 The calibration status signal in.
[0136] See also Fig.11 , Fig.11 The present invention provides a flowchart of determining a verification result according to an elevator verification password and a door machine verification password.
[0137] In some embodiments, determining the verification result according to the elevator verification password and the door machine verification password includes:
[0138] Step S51, determine whether the elevator verification password and the door machine verification password are consistent.
[0139] Step S52: If the elevator verification password and the door machine verification password are consistent, it is determined that the verification result is that the elevator control device 100 and the door machine device 200 match.
[0140] Step S53: If the elevator verification password and the door machine verification password are inconsistent, it is determined that the verification result is that the elevator control device 100 and the door machine device 200 do not match.
[0141] Specifically, when the elevator control device 100 receives the door machine verification password signal, it will analyze the door machine verification password signal to obtain the door machine verification password P2. The elevator control device 100 compares the door machine verification password P2 with the elevator verification password P1. If the door machine verification password P2 is consistent with the elevator verification password P1, it is determined that the door machine device 200 matches the elevator control device 100. If the door machine verification password P2 is inconsistent with the elevator verification password P1, it is determined that the door machine device 200 does not match the elevator control device.
[0142] In order to better understand the solution of the embodiment of the present invention, the interaction between the door machine device 200, the elevator controller 101 in the elevator control device 100, and the car top board 102 in the elevator control device 100 is explained below.
[0143] See also Fig.12 , Fig.12 It is a schematic diagram of the interaction between the elevator controller 101, the car top board 102 and the door machine equipment 200 in the verification system provided by an embodiment of the present invention.
[0144] S101 . The elevator controller 101 determines the working state of the elevator control device 100 .
[0145] When the elevator controller 101 needs to verify the door machine device 200, first, the elevator controller 101 determines whether the working state given by itself is the target working state.
[0146] S102. The elevator controller 101 generates and sends a verification trigger signal.
[0147] When the elevator controller 101 determines that its own working state is the target working state, the elevator controller 101 generates a verification trigger signal and sends the verification trigger signal to the car top board 102 through the first communication method.
[0148] S103. The car top board 102 sends a verification trigger signal.
[0149] After receiving the verification trigger signal through the first communication mode, the car top board 102 sends the verification trigger signal to the door machine device 200 through the fixed baud rate f1.
[0150] S104. The door machine device 200 generates and sends a verification status signal.
[0151] After receiving the verification trigger signal, the door machine device 200 generates a verification status signal and sends the verification status signal to the car top board 102 via a fixed baud rate f1.
[0152] S105. The car top board 102 sends a verification status signal.
[0153] The car top board 102 sends the verification status signal to the elevator controller 101 through the first communication mode.
[0154] S106. The elevator controller 101 generates and sends an elevator baud rate signal.
[0155] After receiving the verification state signal, the elevator controller 101 analyzes the verification state signal to determine whether the door machine device 200 enters the verification state. When it is determined that the door machine device 200 enters the verification state, the elevator controller 101 generates an elevator baud rate signal and sends the elevator baud rate signal to the car top board 102 through the first communication method.
[0156] S107. The car top board 102 sends an elevator baud rate signal.
[0157] After the car top board 102 receives the elevator baud rate signal through the first communication mode, it sends the elevator baud rate signal to the door machine device 200 through the fixed baud rate f1.
[0158] S108. The door machine device 200 generates and sends a door machine baud rate signal.
[0159] The door machine device 200 analyzes the received elevator baud rate signal to obtain the elevator baud rate f2, and generates the corresponding door machine baud rate f3 according to the elevator baud rate f2. The door machine device 200 generates a door machine baud rate signal according to the door machine baud rate f3, and sends the door machine baud rate signal to the car top board 102 through the fixed baud rate f1.
[0160] S109. The car top board 102 sends a door machine baud rate signal.
[0161] The car top board 102 sends the door machine baud rate signal to the elevator controller 101 through the first communication mode.
[0162] S110. The elevator controller 101 generates an elevator verification password and a verification random data signal.
[0163] The elevator controller 101 analyzes the door machine baud rate signal to obtain the door machine baud rate f3, and generates a verification random data signal and an elevator verification password.
[0164] S111. The elevator controller 101 sends a verification random data signal.
[0165] The elevator controller 101 sends the verification random data signal to the car top board 102 via the first communication method.
[0166] S112. The car top board 102 sends a verification random data signal.
[0167] The car top board 102 sends the verification random data signal to the door machine device 200 via the door machine baud rate f3.
[0168] S113. The door machine device 200 generates and sends a door machine verification password signal.
[0169] The door machine device 200 analyzes the verification random data signal to obtain the verification random data, generates a door machine verification password according to the verification random data, generates a door machine verification password signal and sends the door machine verification password signal to the car top board 102 via the door machine baud rate f3.
[0170] S114. The car top panel 102 sends a door machine verification password signal.
[0171] The car top board 102 sends a door machine verification password signal to the elevator controller 101 through the first communication method.
[0172] S115. The elevator controller 101 analyzes the door machine verification password signal to obtain the door machine verification password, and determines the verification result according to the elevator verification password and the door machine verification password.
[0173] An embodiment of the present invention provides an example of a verification method, which is applied to an elevator control device 100, the elevator control device 100 sends data to a door machine device 200 through a first channel and a second channel, and the door machine device 200 sends data to the elevator control device 100 through a third channel and a fourth channel. The verification method includes: determining the working state of the elevator control device 100; when it is determined that the working state of the elevator control device 100 is the target working state, generating a verification trigger signal, and sending the verification trigger signal to the door machine device 200; when the verification state signal returned by the door machine device 200 is received, generating an elevator baud rate signal, and sending the elevator baud rate signal to the door machine device 200; when the door machine baud rate signal returned by the door machine device 200 is received, generating an elevator verification password and a verification random data signal, and sending the verification random data signal to the door machine device 200 according to the door machine baud rate signal; when the door machine verification password signal returned by the door machine device 200 is received, analyzing the door machine verification password signal to obtain the door machine verification password, and determining the verification result according to the elevator verification password and the door machine verification password, so that the embodiment of the present invention can realize the verification of the door machine device 200 by the elevator control device 100.
[0174] See also Fig.13 , Fig.13 It is a flowchart of a response method provided by an embodiment of the present invention.
[0175] The embodiment of the present invention provides a response method, which is applied to a door machine device 200, wherein the elevator control device 100 sends data to the door machine device 200 through a first channel and a second channel, and the door machine device 200 sends data to the elevator control device 100 through a third channel and a fourth channel. The response method includes:
[0176] Step S7: When a verification trigger signal sent by the elevator control device 100 is received, a verification status signal is generated and sent to the elevator control device 100.
[0177] Step S8: When the elevator baud rate signal returned by the elevator control device 100 is received, a door machine baud rate signal is generated and the door machine baud rate signal is sent to the elevator control device 100.
[0178] Step S9, when receiving the verification random data signal returned by the elevator control device 100, generate a door machine verification password, and send the door machine verification password signal to the elevator control device 100 according to the door machine baud rate signal, so that the elevator control device 100 determines the verification result according to the door machine verification password and the elevator verification password.
[0179] It should be noted that the specific steps of the response method have been mentioned in the description of the verification method. For the specific implementation of the response method, reference may be made to the above description of the verification method, which will not be repeated here.
[0180] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A verification method, applied to an elevator control device, characterized in that: The elevator control device sends data to the door machine device through the first channel and the second channel, and the door machine device sends data to the elevator control device through the third channel and the fourth channel; The verification method comprises: Determine the working state of the elevator control device; the working state of the elevator control device includes a target working state, and the target working state refers to a state where the elevator is working normally and no one is on board; When it is determined that the working state of the elevator control device is the target working state, a verification trigger signal is generated, and the verification trigger signal is sent to the door machine device; When receiving the verification status signal returned by the door machine device, generating an elevator baud rate signal, and sending the elevator baud rate signal to the door machine device; When receiving the door machine baud rate signal returned by the door machine device, generating an elevator verification password and a verification random data signal, and sending the verification random data signal to the door machine device according to the door machine baud rate signal; When the door machine verification password signal returned by the door machine device is received, the door machine verification password signal is analyzed to obtain the door machine verification password, and a verification result is determined according to the elevator verification password and the door machine verification password.
2. The verification method according to claim 1, characterized in that: The working state of the elevator control device also includes a non-target working state, and the non-target working state refers to that the elevator controlled by the elevator control device is in a non-idle state, and determining the working state of the elevator control device includes: Get the first random function; Calculate the verification time according to the first random function; When the working state of the elevator control device remains in the target working state within the verification time, determining that the working state of the elevator control device is the target working state; When the working state of the elevator control device is in a non-target working state within the verification time, it is determined that the working state of the elevator control device is in a non-target working state.
3. The verification method according to claim 1, characterized in that: The verification trigger signal includes a first verification trigger signal and a second verification trigger signal, and sending the verification trigger signal to the door machine device includes: The first verification trigger signal is sent to the door machine device through the first channel, and the second verification trigger signal is sent to the door machine device through the second channel.
4. The verification method according to claim 1, characterized in that: Generating the elevator baud rate signal comprises: Obtaining a matching relationship between a second random function and a baud rate; Calculate a baud rate random number according to the second random function; Obtaining the elevator baud rate according to the baud rate random number and the baud rate matching relationship; The elevator baud rate signal is generated according to the elevator baud rate.
5. The verification method according to claim 1, characterized in that: The generating of the elevator verification password and the verification random data signal comprises: Obtaining a third random function and a random data function; Generate the verification random data according to the random data function; Generate the elevator verification password according to the third random function and the verification random data; Analyzing the door machine baud rate signal to obtain the door machine baud rate; The verification random data signal is generated according to the door machine baud rate and the verification random data.
6. The verification method according to claim 5, characterized in that: Determining the verification result according to the elevator verification password and the door machine verification password includes: Determine whether the elevator verification password and the door machine verification password are consistent; If the elevator verification password and the door machine verification password are consistent, determining that the verification result is that the elevator control device and the door machine device match; If the elevator verification password and the door machine verification password are inconsistent, it is determined that the verification result is that the elevator control device and the door machine device do not match.
7. A response method, applied to a door machine device, characterized in that: The elevator control device sends data to the door machine device through the first channel and the second channel, and the door machine device sends data to the elevator control device through the third channel and the fourth channel; The response method includes: When receiving a check trigger signal sent by the elevator control device, generating a check status signal, and sending the check status signal to the elevator control device; When receiving the elevator baud rate signal returned by the elevator control device, generating a door machine baud rate signal, and sending the door machine baud rate signal to the elevator control device; When the verification random data signal returned by the elevator control device is received, a door machine verification password is generated, and the door machine verification password signal is sent to the elevator control device according to the door machine baud rate signal, so that the elevator control device determines the verification result according to the door machine verification password and the elevator verification password.
8. An elevator control device, characterized in that: The elevator control device includes an elevator controller and a car top board, the elevator controller communicates with the car top board through a first communication mode, the car top board sends data to the door machine device through a first channel and a second channel, and the door machine device sends data to the car top board through a third channel and a fourth channel; The elevator controller is used for: Determine the working state of the elevator control device; the working state of the elevator control device includes a target working state, and the target working state refers to a state where the elevator is working normally and no one is on board; When it is determined that the working state of the elevator control device is the target working state, a verification trigger signal is generated, and the car top board is controlled to send the verification trigger signal to the door machine device; When a check status signal returned by the door machine device is received through the car top board, an elevator baud rate signal is generated, and the car top board is controlled to send the elevator baud rate signal to the door machine device; When the door machine baud rate signal returned by the door machine device is received through the car top board, an elevator verification password and a verification random data signal are generated, and the car top board is controlled to send the verification random data signal to the door machine device according to the door machine baud rate signal; When the door machine verification password signal returned by the door machine device is received through the car top board, the verification result is determined according to the elevator verification password and the door machine verification password.
9. A door machine device, characterized in that: The door machine equipment includes: at least one processor; and A memory connected to the at least one processor; wherein, The memory stores an instruction program executable by the at least one processor, and the instruction program is executed by the at least one processor to enable the at least one processor to perform the method according to claim 7.
10. A verification system, characterized in that: The verification system comprises the elevator control device according to claim 8 and the door machine device according to claim 9.
Citation Information
Patent Citations
Automatic matching method of elevator display panel, electronic device and storage medium
CN108347303A
Debugging method and device for elevator, debugging terminal and storage medium
CN111115398A
Authority verification method, storage medium and electronic equipment
CN112398824A
Monitoring method and apparatus of elevator trap fault
WO2020124545A1