Test method, electronic equipment and computer readable storage medium

By working in tandem with the elevator control system and the shaft simulation system, an elevator shaft scenario is simulated, solving the problems of low efficiency and high cost in elevator testing and achieving efficient testing of the elevator control system.

CN121990431APending Publication Date: 2026-05-08SHENZHEN V&T TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN V&T TECH
Filing Date
2024-11-07
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing elevator testing technologies are inefficient and costly, mainly because the elevator test shaft is different from the actual elevator shaft scenario, requiring different verification schemes.

Method used

The elevator control system sends pulse signals to the shaft simulation system, which generates and feeds back shaft signals. The elevator control system then adjusts the elevator speed according to these signals to simulate an elevator shaft scenario, thus enabling testing of the elevator control system.

Benefits of technology

It reduces the cost and difficulty of elevator testing, improves testing efficiency and application scope, and enables effective simulation and verification of elevator control systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121990431A_ABST
    Figure CN121990431A_ABST
Patent Text Reader

Abstract

The invention provides a test method, electronic equipment and a computer readable storage medium, and relates to the technical field of special equipment.The method is applied to an elevator control system of a test system, the test system comprises a shaft simulation system and the elevator control system, and the method comprises the steps that an elevator is driven to run according to a generated test command; a pulse signal of the elevator is sent to the hoistway simulation system, so that the hoistway simulation system generates and feeds back a hoistway signal to the elevator control system according to the pulse signal; and the running speed of the elevator is adjusted according to the received hoistway signal. According to the technical scheme, control over the elevator is simulated through the elevator control system, the elevator shaft where the elevator is located is simulated through the shaft simulation system, and replacement of the actual elevator and the actual elevator shaft can be completed, so that the testing cost and the testing difficulty can be reduced, the testing efficiency can be improved, and the application range can be widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of special equipment technology, and in particular relates to a testing method, electronic equipment, and computer-readable storage medium. Background Technology

[0002] As special equipment, elevators require extensive testing and verification of their functions and performance before normal use to ensure their safety during normal operation.

[0003] In related technologies, an elevator can be configured in an elevator test shaft, allowing the elevator to be controlled by the elevator control system under test. This enables the verification of the elevator control system by analyzing various data collected during different operations.

[0004] However, the elevator scenario in the elevator test shaft may not be the same as the scenario corresponding to the elevator control system, requiring different solutions to verify the elevator control system, resulting in low efficiency and high cost. Summary of the Invention

[0005] This application provides a testing method, electronic device, and computer-readable storage medium, which solves the problems of low efficiency and high cost in the prior art for testing elevators.

[0006] To achieve the above objectives, this application adopts the following technical solution: In a first aspect, embodiments of this application provide a testing method applied to an elevator control system of a testing system, the testing system comprising: a shaft simulation system and the elevator control system, the method comprising: Drive the elevator to run according to the generated test commands; The elevator pulse signal is sent to the shaft simulation system, so that the shaft simulation system generates and feeds back shaft signals to the elevator control system based on the pulse signal; The elevator's operating speed is adjusted based on the received shaft signal.

[0007] Optionally, driving the elevator to run according to the generated test command includes: Generate test commands based on the triggered test actions; According to the test command, drive the elevator motor to control the operation of the elevator.

[0008] Optionally, sending the elevator pulse signal to the shaft simulation system includes: Obtain the motor's pulse signal; The pulse signal is divided by frequency to obtain a frequency-divided signal; The frequency division signal is sent to the wellbore simulation system.

[0009] Optionally, after adjusting the elevator's operating speed based on the received shaft signal, the method further includes: Test data is generated based on the pulse signal and the wellbore signal; Verification was performed based on the test data.

[0010] Optionally, before driving the elevator to run according to the generated test command, the method further includes: Based on the triggered elevator self-learning operation, a self-learning instruction is generated and sent to the shaft simulation system. The self-learning instruction is used to request simulated shaft parameters, and the simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator. The step of driving the elevator to run according to the generated test command includes: The elevator is driven to run according to the test command and the simulated shaft parameters; After adjusting the elevator's operating speed based on the received shaft signal, the method further includes: If the elevator self-learning operation is detected to be triggered, the height of at least one floor is recorded according to the shaft switch parameters indicated by the shaft signal, until the height of each floor is recorded.

[0011] Secondly, embodiments of this application provide a testing method applied to a shaft simulation system of a testing system, the testing system comprising: the shaft simulation system and an elevator control system, the method comprising: The actual distance the elevator travels, which is matched with the elevator control system, is calculated based on the received frequency division signal. Based on the pre-set wellbore parameters and the actual distance, a wellbore signal is generated; The hoistway signal is sent to the elevator control system, so that the elevator control system adjusts the operation of the elevator according to the hoistway signal.

[0012] Optionally, generating the wellbore signal based on pre-set wellbore parameters and the actual distance includes: Based on the various shaft switch parameters in the shaft parameters, and combined with the actual distance, it is determined whether the elevator triggers the shaft switch. The shaft signal is generated based on whether the elevator triggers the shaft switch.

[0013] Optionally, before generating the wellbore signal based on preset wellbore parameters and the actual distance, the method further includes: Based on the triggered input operation, the simulated shaft parameters are obtained, and the simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator; Based on the received self-learning instructions, the simulated shaft parameters are fed back to the elevator control system. The self-learning instructions are generated by the elevator control system when it detects a triggered self-learning operation and are sent to the shaft simulation system.

[0014] Thirdly, embodiments of this application provide a testing apparatus, the apparatus comprising: The drive module is used to drive the elevator to run according to the generated test commands; The transmitting module is used to send the elevator's pulse signal to the shaft simulation system, so that the shaft simulation system generates and feeds back shaft signals to the elevator control system based on the pulse signal; An adjustment module is used to adjust the elevator's operating speed based on the received shaft signal.

[0015] Optionally, the drive module is specifically used to generate a test command based on the triggered test operation; and to drive the elevator motor according to the test command to control the operation of the elevator.

[0016] Optionally, the transmitting module is specifically used to acquire the pulse signal of the motor; perform frequency division processing on the pulse signal to obtain a frequency-divided signal; and send the frequency-divided signal to the wellbore simulation system.

[0017] Optionally, the device further includes: The generation module is used to generate test data based on the pulse signal and the wellbore signal; The verification module is used to perform verification based on the test data.

[0018] Optionally, the sending module is further configured to generate and send a self-learning instruction to the shaft simulation system based on the triggered elevator self-learning operation. The self-learning instruction is used to request simulated shaft parameters, and the simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator. The drive module is also specifically used to drive the elevator to run according to the test command and the simulated shaft parameters; The device further includes: The learning module is used to record at least one floor height according to the shaft switch parameters indicated by the shaft signal if the elevator self-learning operation is detected to be triggered, until the floor height is recorded.

[0019] Fourthly, embodiments of this application provide a testing apparatus, the apparatus comprising: The calculation module is used to calculate the actual distance the elevator travels, which is matched with the elevator control system, based on the received frequency division signal. The generation module is used to generate a wellbore signal based on the pre-set wellbore parameters and the actual distance. The transmitting module is used to send the shaft signal to the elevator control system, so that the elevator control system can adjust the operation of the elevator according to the shaft signal.

[0020] Optionally, the generation module is specifically used to determine whether the elevator triggers the shaft switch based on the various shaft switch parameters in the shaft parameters and the actual distance; and to generate the shaft signal based on whether the elevator triggers the shaft switch.

[0021] Optionally, the device further includes: The acquisition module is used to acquire simulated shaft parameters based on the triggered input operation. The simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator. The sending module is also used to feed back the simulated shaft parameters to the elevator control system according to the received self-learning instructions. The self-learning instructions are generated by the elevator control system when it detects a triggered self-learning operation and sends them to the shaft simulation system.

[0022] Fifthly, embodiments of this application provide an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method described in the first aspect or any embodiment of the first aspect when the computer program is invoked.

[0023] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect or any embodiment of the first aspect.

[0024] This application provides a testing method, electronic device, and computer-readable storage medium. The elevator control system drives the elevator to run according to generated test commands and then sends elevator pulse signals to a shaft simulation system. The shaft simulation system generates and feeds back shaft signals to the elevator control system based on the pulse signals. The elevator control system then adjusts the elevator's running speed based on the received shaft signals. This application simulates elevator control through the elevator control system and simulates the elevator shaft through the shaft simulation system, thus replacing the actual elevator and elevator shaft. This reduces testing costs and difficulty, and improves testing efficiency and application scope. Attached Figure Description

[0025] Figure 1This is a schematic diagram of an elevator testing system involved in a testing method proposed in an embodiment of this application; Figure 2 A schematic flowchart illustrating a testing method provided in an embodiment of this application; Figure 3 A schematic flowchart illustrating another testing method provided in an embodiment of this application; Figure 4 A structural block diagram of a testing device provided in an embodiment of this application; Figure 5 A structural block diagram of another testing device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known technologies, algorithms, and devices are omitted so as not to obscure the description of this application with unnecessary detail.

[0027] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “the,” “the,” and “the” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise.

[0028] As special equipment, elevators require extensive testing and verification of their functions and performance before normal use to ensure their safety during normal operation.

[0029] In related technologies, an elevator can be configured in an elevator test shaft, allowing the elevator to be controlled by the elevator control system under test. This enables the verification of the elevator control system by analyzing various data collected during different operations.

[0030] However, the elevator scenario in the elevator test shaft may not be the same as the scenario corresponding to the elevator control system, requiring different solutions to verify the elevator control system, resulting in low efficiency and high cost.

[0031] Therefore, this application proposes a testing method whereby the elevator control system drives the elevator to run according to the generated test command, and then sends the elevator's pulse signal to the shaft simulation system. The shaft simulation system can generate and feed back a shaft signal to the elevator control system based on the pulse signal. The elevator control system can then adjust the elevator's running speed based on the received shaft signal. This application simulates elevator control through the elevator control system and simulates the elevator shaft through the shaft simulation system, thus replacing the actual elevator and elevator shaft. This reduces testing costs and difficulty, thereby improving testing efficiency and application scope.

[0032] See Figure 1 , Figure 1 This is a schematic diagram of an elevator testing system involved in a testing method proposed in an embodiment of this application. The elevator testing system may include an elevator control system 10 and a shaft simulation system 20.

[0033] The elevator control system 10 may include: an elevator controller 101, a human-machine interface exchange module 102, a host to drag loading platform 103, an encoder signal frequency division module 104, and an operation data acquisition module 105.

[0034] The elevator controller 101 can be connected to the human-machine interface exchange module 102, the host to drag loading platform 103 and the operation data acquisition module 105 respectively. The host to drag loading platform 103 can also be connected to the encoder signal frequency division module 104. The elevator controller 101, the encoder signal frequency division module 104 and the operation data acquisition module 105 are all connected to the shaft simulation system 20.

[0035] Similarly, the shaft simulation system 20 may include a data processing module 201 and a platform setting module 202. The data processing module 201 is connected to the elevator controller 101, the encoder signal frequency division module 104, the operation data acquisition module 105, and the platform setting module 202, respectively.

[0036] During the operation of the elevator testing system, after detecting a test operation triggered by the user, the human-machine interface interaction module 103 can generate and send a test command to the elevator controller 101. Based on this test command, the elevator controller 101 can drive the host to the loading platform 103, thereby driving the motor in the loading platform 103 and controlling the elevator's operation.

[0037] Meanwhile, during the process of driving the motor, the host can obtain the motor's pulse signal from the drag loading platform 103, and then divide the pulse signal by the encoder signal frequency division module 104 to obtain the frequency division signal, and send the frequency division signal to the well simulation system 20.

[0038] Correspondingly, the hoistway simulation system 20 can calculate the floors reached by the elevator controlled by the elevator control system 10 through the data processing module 201 based on the simulated hoistway parameters pre-acquired by the platform setting module 202. Thus, it can generate hoistway signals based on the floor information corresponding to each floor, and then feed the hoistway signals back to the elevator controller 101. The elevator controller 101 can then adjust the speed of the motor in the loading platform 103 by the drive host based on the hoistway signals, thereby adjusting the elevator running speed and completing the test of the elevator control system.

[0039] It should be noted that the above description only takes the example of the hoistway simulation system 20 feeding back a hoistway signal to the elevator control system 10 once. In actual applications, the elevator control system 10 can continuously send frequency division signals to the hoistway simulation system 20, and the hoistway simulation system 20 can also continuously feed back hoistway signals to the elevator control system 10 according to the frequency division signals. This application embodiment does not specifically limit the timing of the hoistway simulation system 20 feeding back hoistway signals.

[0040] Figure 2 This is a schematic flowchart illustrating a testing method provided in an embodiment of this application. It is intended as an example and not a limitation, and is applied to the elevator control system and shaft simulation system of the aforementioned elevator testing system. See also... Figure 2 The method includes: Step 201: The elevator control system drives the elevator to run according to the generated test command.

[0041] During the testing of the elevator control system, a shaft simulation system can be used to simulate the elevator shaft that is actually matched to the elevator based on the pre-input simulated shaft parameters. Thus, the elevator operating state in the elevator shaft can be simulated through the elevator control system and the shaft simulation system, thereby completing the testing of the elevator control system.

[0042] Correspondingly, during elevator operation, the elevator control system can detect user-triggered test operations, generate test commands based on the triggered test operations, and then simulate the process of controlling the motor drive to operate the elevator through the test commands.

[0043] Optionally, the elevator control system first performs detection based on the human-machine interface exchange module. When a triggered test operation is detected, a test command can be generated through the human-machine interface exchange module, and then the elevator motor can be driven according to the test command to control the elevator operation.

[0044] Specifically, the elevator control system can detect test operations triggered by the user. When a test operation is detected, it can generate a test command in response to the test operation and then send the test command to the elevator controller through the human-machine interface exchange module.

[0045] The elevator control system can forward the test command to the host to the loading platform through the elevator controller, thereby driving the motor in the loading platform to start running, and thus realizing the operation of the elevator.

[0046] Step 202: The elevator control system sends an elevator pulse signal to the shaft simulation system, so that the shaft simulation system generates and feeds back shaft signals to the elevator control system based on the pulse signal.

[0047] Among them, pulse signals can be used to represent the speed of the motor.

[0048] During the operation of the elevator, the elevator control system can acquire the pulse signal of the motor in real time and send the pulse signal to the shaft simulation system. The shaft simulation system can then calculate the distance the elevator has traveled based on the pulse signal, thereby determining the elevator's location. Based on the elevator's location, the system generates and feeds back the shaft signal to the elevator control system.

[0049] Optionally, the elevator control system can acquire the motor's pulse signal in real time, and then perform frequency division processing on the pulse signal through the encoder signal frequency division module to obtain the frequency-divided signal, which is then sent to the shaft simulation system.

[0050] Specifically, after simulating normal elevator operation, the elevator control system can acquire the motor's pulse signals in real time and perform frequency division processing on the pulse signals to obtain frequency-divided signals. Since the elevator control system can continuously acquire pulse signals and generate frequency-divided signals, it can also continuously send frequency-divided signals to the shaft simulation system, so that the shaft simulation system can provide feedback on the shaft signals based on the frequency-divided signals.

[0051] Step 203: The shaft simulation system calculates the actual distance the elevator travels based on the received frequency division signal to match the elevator control system.

[0052] Corresponding to step 202, the shaft simulation system can receive the frequency division signal sent by the elevator control system and calculate based on the frequency division signal to determine the distance the elevator travels, so that different shaft signals can be generated based on the distance the elevator travels in subsequent steps.

[0053] Specifically, the shaft simulation system can receive the frequency division signal through the data processing module, and then obtain the motor parameters corresponding to the motor from the platform setting module. Thus, it can calculate the current distance traveled by the elevator based on the frequency division signal and the motor parameters.

[0054] Step 204: The shaft simulation system generates shaft signals based on the pre-set shaft parameters and the actual distance.

[0055] The shaft parameters may include at least one of the following: motor parameters, encoder line count, number of floor stations, number of door operators, floor height, magnetic shield height, installation distance between leveling sensors, and shaft switch installation distance. This application embodiment does not specifically limit the shaft parameters.

[0056] After the hoistway simulation system calculates the actual distance the elevator travels, it can determine the elevator's current position based on the actual distance. Then, combined with the hoistway parameters corresponding to that position, a hoistway signal is generated so that the elevator control system can adjust the elevator's speed according to the hoistway signal.

[0057] Optionally, the shaft simulation system can determine whether the elevator triggers the shaft switch based on the various shaft switch parameters in the shaft parameters and the actual distance, and then generate a shaft signal based on whether the elevator triggers the shaft switch.

[0058] Specifically, the shaft simulation system can determine the floors the elevator passes through during its operation and the location of the shaft switches corresponding to each floor based on the actual distance the elevator travels, and generate shaft signals. When the elevator approaches the shaft switch corresponding to the target floor indicated by the test command, a reminder message indicating the approach to the target floor can be added to the shaft signals.

[0059] It should be noted that when the elevator's position coincides with the elevator door on the target floor, the shaft simulation system can also record this information in the shaft signal, so that the elevator control system can control the opening and closing of the elevator door based on this information.

[0060] Step 205: The shaft simulation system sends shaft signals to the elevator control system, so that the elevator control system adjusts the elevator operation process according to the shaft signals.

[0061] After generating the shaft signal, the shaft simulation system can feed back the generated shaft signal to the elevator control system, so that the elevator control system can adjust the elevator speed according to the shaft signal, thereby controlling the elevator to stop accurately at the elevator door of the target floor.

[0062] It should be noted that the embodiments of this application only illustrate the example of the elevator control system sending a frequency division signal to the shaft simulation system once and the shaft simulation system feeding back a shaft signal to the elevator control system once. In actual applications, the elevator control system can continuously send frequency division signals to the shaft simulation system, and the shaft simulation system can also continuously feed back shaft signals to the elevator control system. The embodiments of this application do not specifically limit the timing of frequency division signal and shaft signal transmission between the elevator control system and the shaft simulation system.

[0063] Step 206: The elevator control system adjusts the elevator's running speed based on the received shaft signal.

[0064] The elevator control system can receive shaft signals from the shaft simulation system during the simulated elevator operation. Based on the elevator's location indicated in the shaft signals and the target floor corresponding to the test command, the system can adjust the elevator's speed so that the elevator can come to a smooth stop at the target floor.

[0065] Correspondingly, by triggering the test operation multiple times, the elevator control system can be tested multiple times. Once the number of tests or the success rate reach the pre-approval threshold, the elevator control system can be determined to have been successfully tested and can be applied to real-world scenarios.

[0066] Step 207: The elevator control system generates test data based on the pulse signal and the shaft signal.

[0067] To further improve the accuracy of testing elevator control systems, multiple data points can be recorded during the testing process to obtain test data. The recorded test data can then be analyzed to determine whether the elevator control system is safe.

[0068] Specifically, the elevator control system can record the acquired pulse signals and the received shaft signals. Then, based on the times corresponding to the pulse signals and shaft signals, it can establish the correspondence between the pulse signals and shaft signals to obtain test data composed of the pulse signals and shaft signals.

[0069] Step 208: The elevator control system is verified based on the test data.

[0070] After obtaining the test data, the elevator control system can analyze the test data according to the pre-set algorithm to determine multiple indicators such as whether the elevator control system can control the elevator speed smoothly, whether the elevator stopping position is within the error range, and whether the elevator can accurately reach the target floor. Based on the analysis of these indicators, it can be determined whether the elevator control system has passed the verification.

[0071] It should be noted that during the testing of the elevator control system, the elevator control system can also perform self-learning based on the simulated shaft parameters and the simulated operation data triggered by the user, so that the elevator control system can learn the simulated shaft parameters and accurately record the relevant information of each floor.

[0072] Correspondingly, Figure 3 A schematic flowchart of another testing method provided in the embodiments of this application is shown below. Figure 3 The method includes: S1. The shaft simulation system acquires simulated shaft parameters based on the triggered input operation.

[0073] Among them, the simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator.

[0074] Before testing the elevator control system, user-triggered input operations can be detected to obtain simulated shaft parameters that match the actual shaft corresponding to the elevator control system. This allows the elevator to record more accurate information about each floor based on the simulated shaft parameters in subsequent steps.

[0075] S2. The elevator control system generates and sends self-learning instructions to the shaft simulation system based on the triggered elevator self-learning operation.

[0076] The self-learning instruction is used to request simulated shaft parameters, which in turn instruct the elevator control system to control the elevator operation.

[0077] Before testing the elevator control system, user-triggered elevator self-learning operations can be detected. When a user-triggered elevator self-learning operation is detected, the elevator control system can generate a self-learning command based on the operation and send the command to the shaft simulation system.

[0078] It should be noted that the embodiments of this application take triggering the elevator self-learning operation before testing the elevator control system as an example. In practical applications, the elevator self-learning operation can also be triggered during the testing of the elevator control system, or it can be triggered after the testing of the elevator control system is completed. The embodiments of this application do not specifically limit the timing of triggering the elevator self-learning operation.

[0079] S3. The shaft simulation system feeds back simulated shaft parameters to the elevator control system based on the received self-learning instructions.

[0080] The shaft simulation system can accept self-learning instructions sent by the elevator control system, and obtain the simulated shaft parameters corresponding to the identification information carried by the self-learning instructions, and then feed back the simulated shaft parameters to the elevator control system.

[0081] S4. The elevator control system drives the elevator to run according to the test command and simulated shaft parameters.

[0082] The process of step S4 is similar to that of steps 201 and 206, and will not be described again here.

[0083] S5. The elevator control system records the height of at least one floor according to the shaft switch parameters indicated by the shaft signal, until the height of each floor is recorded.

[0084] Corresponding to step S1, after detecting the triggered elevator self-learning operation, the elevator control system can determine the height of each floor and complete the recording based on the shaft signal fed back by the shaft simulation system during the test, the shaft switch parameters recorded by the shaft signal and other data, until the height of each floor is recorded, thereby completing the self-learning of the elevator control system.

[0085] In summary, the testing method proposed in this application involves an elevator control system driving the elevator according to a generated test command, and then sending an elevator pulse signal to a shaft simulation system. The shaft simulation system can generate and feed back a shaft signal to the elevator control system based on the pulse signal. The elevator control system can then adjust the elevator's operating speed based on the received shaft signal. This application simulates elevator control through the elevator control system and simulates the elevator shaft using the shaft simulation system, thus replacing the actual elevator and elevator shaft. This reduces testing costs and difficulty, thereby improving testing efficiency and expanding the application scope.

[0086] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0087] Corresponding to the test method described in the above embodiments, Figure 4 This is a structural block diagram of a testing device provided in an embodiment of this application. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0088] See Figure 4 The device includes: The drive module 401 is used to drive the elevator to run according to the generated test commands; The transmitting module 402 is used to send the elevator's pulse signal to the shaft simulation system, so that the shaft simulation system generates and feeds back the shaft signal to the elevator control system based on the pulse signal; The adjustment module 403 is used to adjust the elevator's running speed based on the received shaft signal.

[0089] Optionally, the drive module 401 is specifically used to generate a test command based on the triggered test operation; and to drive the elevator motor according to the test command to control the operation of the elevator.

[0090] Optionally, the transmitting module 402 is specifically used to acquire the pulse signal of the motor; perform frequency division processing on the pulse signal to obtain a frequency-divided signal; and send the frequency-divided signal to the wellbore simulation system.

[0091] Optionally, the device may also include: The generation module 404 is used to generate test data based on the pulse signal and the wellbore signal; Verification module 405 is used to perform verification based on the test data.

[0092] Optionally, the sending module 402 is further configured to generate and send a self-learning instruction to the shaft simulation system based on the triggered elevator self-learning operation. The self-learning instruction is used to request simulated shaft parameters, which are used to instruct the elevator control system to control the operation of the elevator. The drive module 401 is also specifically used to drive the elevator to run according to the test command and the simulated shaft parameters; The device also includes: The learning module 406 is used to record at least one floor height according to the shaft switch parameters indicated by the shaft signal if the self-learning operation of the elevator is detected to be triggered, until the height of each floor is recorded.

[0093] In summary, the testing device proposed in this application involves an elevator control system driving the elevator according to a generated test command, and then sending an elevator pulse signal to a shaft simulation system. The shaft simulation system can generate and feed back a shaft signal to the elevator control system based on the pulse signal. The elevator control system can then adjust the elevator's operating speed based on the received shaft signal. This application simulates elevator control through the elevator control system and simulates the elevator shaft through the shaft simulation system, thus replacing the actual elevator and elevator shaft. This reduces testing costs and difficulty, thereby improving testing efficiency and expanding the application scope.

[0094] Figure 5 This is a structural block diagram of another testing device provided in an embodiment of this application. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0095] See Figure 5 The device includes: The calculation module 501 is used to calculate the actual distance the elevator travels, which is matched with the elevator control system, based on the received frequency division signal. The generation module 502 is used to generate a wellbore signal based on the preset wellbore parameters and the actual distance. The sending module 503 is used to send the shaft signal to the elevator control system, so that the elevator control system can adjust the operation of the elevator according to the shaft signal.

[0096] Optionally, the generation module 502 is specifically used to determine whether the elevator has triggered the shaft switch based on the various shaft switch parameters in the shaft parameters and the actual distance; and to generate the shaft signal based on whether the elevator has triggered the shaft switch.

[0097] Optionally, the device may also include: The acquisition module 504 is used to acquire simulated shaft parameters based on the triggered input operation. These simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator. The sending module 503 is also used to feed back the simulated shaft parameters to the elevator control system according to the received self-learning instruction. The self-learning instruction is generated by the elevator control system when it detects the triggered self-learning operation and sends it to the shaft simulation system.

[0098] In summary, the testing device proposed in this application involves an elevator control system driving the elevator according to a generated test command, and then sending an elevator pulse signal to a shaft simulation system. The shaft simulation system can generate and feed back a shaft signal to the elevator control system based on the pulse signal. The elevator control system can then adjust the elevator's operating speed based on the received shaft signal. This application simulates elevator control through the elevator control system and simulates the elevator shaft through the shaft simulation system, thus replacing the actual elevator and elevator shaft. This reduces testing costs and difficulty, thereby improving testing efficiency and expanding the application scope.

[0099] Based on the same inventive concept, embodiments of this application also provide an electronic device. Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 6 As shown, the electronic device provided in this embodiment includes a memory 61 and a processor 62. The memory 61 is used to store a computer program 63; the processor 62 is used to execute the method described in the above method embodiment when the computer program 63 is invoked.

[0100] The electronic device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so they will not be described again here.

[0101] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the methods described in the above-described method embodiments.

[0102] This application also provides a computer program product that, when run on an electronic device, causes the electronic device to implement the method described in the above-described method embodiments.

[0103] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0104] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0105] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0106] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0107] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0108] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0109] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0110] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0111] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A testing method, characterized in that, An elevator control system applied to a testing system, the testing system comprising: a shaft simulation system and the elevator control system, the method comprising: Drive the elevator to run according to the generated test commands; The elevator pulse signal is sent to the shaft simulation system, so that the shaft simulation system generates and feeds back shaft signals to the elevator control system based on the pulse signal; The elevator's operating speed is adjusted based on the received shaft signal.

2. The method according to claim 1, characterized in that, The step of driving the elevator to run according to the generated test command includes: Generate test commands based on the triggered test actions; According to the test command, drive the elevator motor to control the operation of the elevator.

3. The method according to claim 1, characterized in that, Sending the elevator pulse signal to the shaft simulation system includes: Obtain the motor's pulse signal; The pulse signal is divided by frequency to obtain a frequency-divided signal; The frequency division signal is sent to the wellbore simulation system.

4. The method according to any one of claims 1 to 3, characterized in that, After adjusting the elevator's operating speed based on the received shaft signal, the method further includes: Test data is generated based on the pulse signal and the wellbore signal; Verification was performed based on the test data.

5. The method according to any one of claims 1 to 3, characterized in that, Before driving the elevator to run according to the generated test command, the method further includes: Based on the triggered elevator self-learning operation, a self-learning instruction is generated and sent to the shaft simulation system. The self-learning instruction is used to request simulated shaft parameters, and the simulated shaft parameters are used to instruct the elevator control system to control the elevator operation. The step of driving the elevator to run according to the generated test command includes: The elevator is driven to run according to the test command and the simulated shaft parameters; After adjusting the elevator's operating speed based on the received shaft signal, the method further includes: If the elevator self-learning operation is detected to be triggered, the height of at least one floor is recorded according to the shaft switch parameters indicated by the shaft signal, until the height of each floor is recorded.

6. A testing method, characterized in that, A shaft simulation system for use in a testing system, the testing system comprising: the shaft simulation system and an elevator control system, the method comprising: The actual distance the elevator travels, which is matched with the elevator control system, is calculated based on the received frequency division signal. Based on the pre-set wellbore parameters and the actual distance, a wellbore signal is generated; The hoistway signal is sent to the elevator control system, so that the elevator control system adjusts the operation of the elevator according to the hoistway signal.

7. The method according to claim 6, characterized in that, The step of generating a wellbore signal based on pre-set wellbore parameters and the actual distance includes: Based on the various shaft switch parameters in the shaft parameters, and combined with the actual distance, it is determined whether the elevator triggers the shaft switch. The shaft signal is generated based on whether the elevator triggers the shaft switch.

8. The method according to claim 6 or 7, characterized in that, Before generating the wellbore signal based on the preset wellbore parameters and the actual distance, the method further includes: Based on the triggered input operation, the simulated shaft parameters are obtained, and the simulated shaft parameters are used to instruct the elevator control system to control the operation of the elevator; Based on the received self-learning instructions, the simulated shaft parameters are fed back to the elevator control system. The self-learning instructions are generated by the elevator control system when it detects a triggered self-learning operation and are sent to the shaft simulation system.

9. An electronic device, characterized in that, include: A memory and a processor, the memory being used to store a computer program; the processor being used to execute the method as described in any one of claims 1-8 when the computer program is invoked.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-8.