Communication method, elevator controller, display panel and elevator control system
By introducing variable P into the communication between the elevator controller and the display panel, an orderly communication process is realized, and the problem of high communication time consumption in the prior art is solved, and communication efficiency and real-time performance are improved.
Patent Information
- Application Number
- CN202510272424.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-03-10
AI Technical Summary
In the communication architecture between the existing elevator controller and the display panel, the master-question-slave-answer operation mode of broadcast frames and query frames consumes more communication time, resulting in a long and cumbersome communication process.
The variable P is introduced, combined with the query frame sending mechanism of the display panel, so that the elevator controller can communicate with each set of display panels in a certain order. The specific method includes generating and sending a broadcast frame, receiving and processing a query frame, determining a display panel status, and cycling the above steps according to the value of P until the status of all display panels is determined.
Through orderly communication methods, the possibility of conflicts and interference when multiple sets of display panels send information simultaneously is reduced, data retransmission and errors occur, communication success rate and efficiency are improved, information processing and transmission delays are reduced, and the real-time and timeliness of the communication system are improved.
Smart Images

Figure CN119774392A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of elevator communication technology, and in particular to a communication method, an elevator controller, a display panel, and an elevator control system. Background Art
[0002] At present, in the communication architecture between the elevator controller and the display panel outside the hall, most of them are based on RS485, using broadcast frames and query frames to exchange data.
[0003] Although the broadcast frame can transmit the elevator operation status, floor and other contents to be displayed to the display board, allowing passengers to obtain real-time information, the operation mode of the broadcast frame and the query frame consumes more communication time. The process of querying from the lowest floor to the highest floor is relatively lengthy and cumbersome. Summary of the invention
[0004] The embodiments of the present application provide a communication method, an elevator controller, a display panel and an elevator control system, which can save communication time and improve communication efficiency.
[0005] In a first aspect, an embodiment of the present application provides a communication method, which is applied to an elevator controller, wherein the elevator controller is connected to N groups of display panels, N≥2, and N is a positive integer, and the communication method includes: generating a Pth broadcast frame; wherein the broadcast frame includes the display panel information most recently received by the elevator controller, 1≤P≤N, and P is a positive integer; sending the broadcast frame to each display panel in the N groups of display panels, so that the display panels in the Pth group send the Pth group of query frames in sequence; wherein each of the query frames in the Pth group of query frames includes the corresponding display panel information; receiving the Pth group of query frames; determining the state of the Pth group of display panels based on the Pth group of query frames; judging the relationship between P and N and changing the value of P; wherein when P is equal to N, P is equal to 1, and when P is less than N, P is increased by 1; in a communication cycle, the steps of generating the Pth broadcast frame to confirming the relationship between P and N and changing the value of P are cyclically executed until the state of each group of display panels in the N groups of display panels is determined.
[0006] In some embodiments, the communication method further includes: when receiving the Pth group of query frames, performing fault detection based on the Pth group of query frames.
[0007] In some embodiments, the fault detection based on the Pth group of query frames includes: detecting whether a frame missing fault occurs in the Pth group of query frames; if a frame missing fault occurs, generating a synchronization command and sending a broadcast frame with the synchronization command to each of the N display panels.
[0008] In some embodiments, the fault detection based on the Pth group of query frames further includes: detecting whether a data fault occurs in the Pth group of query frames; and issuing a warning message if a data fault occurs.
[0009] In the second aspect, an embodiment of the present application provides a communication method applied to a display panel, which is connected to an elevator controller. The communication method includes: when a broadcast frame sent by the elevator controller is received, obtaining the display panel information in the broadcast frame; based on the display panel information in the broadcast frame, determining whether action is required; when it is determined that action is required, calculating the target delay time based on the display panel information in the broadcast frame and a preset delay time; when the target delay time is reached, sending a first query frame; wherein the first query frame includes the display panel information of the display panel itself.
[0010] In some embodiments, the communication method further includes: when a second query frame sent by another display panel is received, calculating the target verification time; verifying the target delay time based on the target verification time to obtain a verification result; when the verification result is data disorder, pausing sending the first query frame.
[0011] In some embodiments, the communication method further includes: when the received broadcast frame includes a synchronization command, updating the preset delay time based on the synchronization command.
[0012] In a third aspect, an embodiment of the present application provides an elevator controller, comprising: a first processor; and a memory communicatively connected to the first processor; wherein the memory stores instructions executable by the first processor, and the instructions are executed by the first processor so that the first processor can execute the method described above.
[0013] In a fourth aspect, an embodiment of the present application provides a display panel, comprising: a second processor; and a memory communicatively connected to the second processor; wherein the memory stores instructions executable by the second processor, and the instructions are executed by the second processor so that the second processor can execute the method described above.
[0014] In the fifth aspect, an embodiment of the present application also provides an elevator control system, which includes an elevator controller as described above and N groups of display panels, each group of display panels in the N groups of display panels includes the display panels as described above, and the elevator controller is connected to the N groups of display panels; wherein N≥2, and N is a positive integer.
[0015] Different from the related schemes of the prior art, the embodiment of the present application provides a communication method, an elevator controller, a display panel and an elevator control system. The communication method is applied to an elevator controller, and the elevator controller is connected to N groups of display panels, N≥2, and N is a positive integer. Specifically, first, generate the Pth broadcast frame; wherein the broadcast frame includes the display panel information most recently received by the elevator controller, 1≤P≤N, and P is a positive integer. Then, send a broadcast frame to each display panel in the N groups of display panels, so that the Pth group of display panels sends the Pth group of query frames in sequence; wherein each query frame of the Pth group of query frames includes the corresponding display panel information. Then, receive the Pth group of query frames. Then, determine the state of the Pth group of display panels based on the Pth group of query frames. And, determine the relationship between P and N and change the value of P; wherein, when P is equal to N, make P equal to 1, and when P is less than N, make P plus 1. In a communication cycle, the steps of generating the Pth broadcast frame to confirming the relationship between P and N and changing the value of P are cyclically executed until the state of each group of display panels in the N groups of display panels is determined. The embodiment of the present application introduces the variable P in combination with the query frame sending mechanism of the display panel, so that the elevator controller can communicate with each group of display panels in a certain order. This orderly communication method reduces the possibility of conflict and interference when multiple groups of display panels send information at the same time, reduces the occurrence of data retransmission and errors, and improves the success rate and efficiency of communication. At the same time, it allows the elevator controller to obtain the latest status information of each display panel in a timely manner, and each display panel can also receive the information broadcast by the controller in a timely manner. It can respond quickly to changes in the status of the display panel during the operation of the elevator, without the need for additional waiting time or complex polling mechanisms, reducing the delay in information processing and transmission, improving the real-time and timeliness of communication, and thus improving the efficiency of the entire communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] 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.
[0017] Figure 1 It is a structural schematic diagram of an elevator control system provided by an embodiment of the present application; Figure 2 is a structural diagram of an elevator controller provided by an embodiment of the present application; Figure 3 is a schematic diagram of the structure of a display panel provided by an embodiment of the present application; Figure 4 It is a flowchart of a communication method provided by an embodiment of the present application; Figure 5 It is a flowchart of a communication method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and in detail in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0019] The technical features involved in the various embodiments of the present application described below do not conflict with each other and can be combined with each other.
[0020] When an element is referred to as being “connected to” another element, it can be directly connected to the other element, or one or more intervening elements may be present therebetween.
[0021] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0022] Unless otherwise defined, the term "plurality" in the present specification refers to two or more.
[0023] See also Figure 1 , Figure 1 It is a structural diagram of an elevator control system 1000 provided in one embodiment of the present application.
[0024] The embodiment of the present application provides an elevator control system 1000, which includes an elevator controller 100 and N groups of display panels as follows. Each of the N groups of display panels includes a plurality of display panels 200. The elevator controller 100 is connected to the N groups of display panels. Where N≥2, and N is a positive integer.
[0025] The elevator controller 100 and the N groups of display panels can be connected via a first communication method, which can be RS485 or any other suitable communication method.
[0026] In some embodiments, the display panel 200 is an outdoor display panel. Generally, for an elevator, each floor has an outdoor display panel.
[0027] Specifically, the elevator controller 100 can communicate with each of the N groups of display panels through a first communication method, wherein the first communication method can be RS485 communication, or any other suitable communication method.
[0028] In this embodiment, first, the elevator controller 100 communicates with M display panels (M>N, and M is a positive integer). Then, the elevator controller 100 groups the M display panels into N groups of display panels. Specifically, the M display panels may be grouped into N groups of display panels in equal or unequal ways.
[0029] For example, if a building has 8 floors, each floor has 1 display board, that is, 8 display boards. Among them, the 1st floor is provided with display board 1, the 2nd floor is provided with display board 2, the 3rd floor is provided with display board 3, the 4th floor is provided with display board 4, the 5th floor is provided with display board 5, the 6th floor is provided with display board 6, the 7th floor is provided with display board 7, and the 8th floor is provided with display board 8. Then, when the elevator controller 100 communicates with the 8 displays, the elevator controller 100 can divide the 8 display boards into 2 groups of display boards in order (which can be the order from low to high floors, the order from high to low floors, or any other suitable order). If the order is from low to high floors, the first group of display boards are display board 1, display board 2, display board 3 and display board 4 in order (hereinafter referred to as in order), and the second group of display boards are display board 5, display board 6, display board 7 and display board 8 in order.
[0030] See also Figure 2 , Figure 2 It is a structural diagram of an elevator controller 100 provided in one embodiment of the present application.
[0031] The embodiment of the present application provides an elevator controller 100, which includes: a first processor 101; and a memory 102 that is communicatively connected to the first processor 101. The memory 102 stores instructions that can be executed by the first processor 101, and the instructions are executed by the first processor 101 so that the first processor 101 can execute the following method.
[0032] like Figure 2 As shown, the elevator controller 100 includes a first processor 101 and a memory 102, wherein the memory 102 can be built in the elevator controller 100 or externally located outside the elevator controller 100, and the memory 102 can also be a remotely located memory connected to the elevator controller 100 via a network.
[0033] The memory 102, 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 102 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 102 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 102 includes a memory remotely arranged relative to the first processor 101, and these remote memories can 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 a combination thereof.
[0034] The first processor 101 performs various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 102, and calling data stored in the memory 102, thereby monitoring the terminal as a whole, for example, implementing the method described in the embodiments of the present application.
[0035] The first processor 101 may be one or more processors. Figure 2 In the figure, a first processor 101 is taken as an example. The first processor 101 and the memory 102 may be connected via a bus or other means. The first processor 101 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 first processor 101 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.
[0036] See also Figure 3 , Figure 3 2 is a schematic diagram of the structure of a display panel 200 provided in an embodiment of the present application.
[0037] The embodiment of the present application provides a display panel 200, which includes: a second processor 202; and a memory 202 that is communicatively connected to the second processor 202. The memory 202 stores instructions that can be executed by the second processor 202, and the instructions are executed by the second processor 202, so that the second processor 202 can perform the following method.
[0038] like Figure 3As shown, the display panel 200 includes a second processor 201 and a memory 202, wherein the memory 202 may be built into the display panel 200 or may be external to the display panel 200, and the memory 202 may also be a remotely set memory connected to the display panel 200 via a network.
[0039] 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 second 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.
[0040] The second 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 method described in the embodiments of the present application.
[0041] The second processor 201 may be one or more processors. Figure 3 In the figure, a second processor 201 is taken as an example. The second processor 201 and the memory 202 may be connected via a bus or other means. The second 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 second 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.
[0042] See also Figure 4 , Figure 4 It is a flowchart of a communication method provided by an embodiment of the present application.
[0043] An embodiment of the present application provides a communication method, which is applied to an elevator controller 100, where the elevator controller 100 is connected to N groups of display panels, where N≥2, and N is a positive integer.
[0044] The communication method includes: step S10, executing at least one communication cycle.
[0045] Specifically, the elevator controller 100 needs to exchange information and monitor the status with N groups of display panels, and this goal is achieved by executing one or more communication cycles. A communication cycle can be understood as a complete process of querying and determining the status of all N groups of display panels. Multiple executions of the communication cycle can continuously monitor the status of the display panels to ensure stable operation of the system.
[0046] In some embodiments, executing a communication cycle includes the following steps: Step S11, generating the Pth broadcast frame, wherein the broadcast frame includes the display panel information most recently received by the elevator controller 100, 1≤P≤N, and P is a positive integer.
[0047] P is a positive integer ranging from 1 to N. It is used to identify the serial number of the display panel group for the current communication. By changing the value of P, the elevator controller 100 can communicate with different groups of display panels in sequence. The connection method between the elevator controller 100 and N groups of display panels can be referred to Figure 1 .
[0048] The broadcast frame is an information frame generated by the elevator controller 100 and sent to all connected display panels (N groups of display panels). It is a one-to-many communication method, that is, one broadcast frame can be received by multiple receivers (display panels) at the same time.
[0049] Specifically, the display panel information may include an ID (identity mark, which is a symbol or code used to uniquely identify an object) of the display panel, a status of the display panel, and the like.
[0050] Step S12: Send a broadcast frame to each display panel in the N groups of display panels, so that the display panels in the P group send the P group of query frames in sequence. Each query frame in the P group of query frames includes corresponding display panel information.
[0051] The query frame is an information frame generated by the display panel and sent to the elevator controller 100 and / or other display panels.
[0052] After receiving the broadcast frame from the elevator controller 100, the Pth group of display panels sends the Pth group of query frames in sequence. Specifically, each display panel in the N groups of display panels can receive the broadcast frame. At this time, after receiving the broadcast frame, the Pth group of display panels in the N groups of display panels will send the Pth group of query frames in sequence according to the protocol rules. Each query frame contains the corresponding display panel information, which is the current real-time status of the display panel, such as the specific content currently displayed, the operating parameters of the hardware (such as voltage, temperature, etc.), whether there is a new fault, etc.
[0053] Step S13: Receive the Pth group of query frames.
[0054] Specifically, when sending the Pth group of broadcast frames, the elevator controller 100 waits for and receives the query frame sent by the Pth group of display panels.
[0055] In some embodiments, during the process of receiving the query frame, some data processing operations are also performed, such as data verification (checking whether errors occur in the data during transmission), data format conversion, etc., to ensure that the received information is accurate.
[0056] Step S14: determining the status of the Pth group of display panels based on the Pth group of query frames.
[0057] The elevator controller 100 parses the received query frame of the Pth group and extracts the display panel information contained therein. The elevator controller 100 determines the state of each display panel in the Pth group of display panels according to the display panel information obtained by parsing and according to the preset rules and algorithms. For example, if the temperature parameter contained in the query frame exceeds the normal range, or the display content does not meet the expectations, the elevator controller 100 can determine that the display panel may be faulty; if all parameters are within the normal range, it is determined that the display panel is working normally.
[0058] Step S15, determine the relationship between P and N and change the value of P. When P is equal to N, P is equal to 1, and when P is less than N, P is increased by 1.
[0059] Specifically, when P is equal to N, it means that the communication with the last group (i.e., the Nth group) of display panels has been completed. At this time, the value of P is reset to 1 to prepare for the next round of communication starting from the first group of display panels (i.e., to prepare for the next communication cycle), forming a cyclic communication process.
[0060] When P is less than N, it means that the communication with all display panels has not been completed. The value of P is increased by 1 to communicate with the next group (i.e., the P+1 group) of display panels.
[0061] Step S16, judging whether the state of each display panel in the N groups of display panels is determined. If yes, executing step S17, ending the communication cycle. If no, executing step S11. That is, in one communication cycle, the steps of generating the Pth broadcast frame to confirming the relationship between P and N and changing the value of P are executed cyclically until the state of each display panel in the N groups of display panels is determined.
[0062] Specifically, the elevator controller 100 records the number of display panel groups whose status has been determined (i.e., the value of P) through an internal flag or counter. Check whether P reaches N. If it reaches N, it means that the status query and determination of all N groups of display panels have been completed, and step S17 is executed at this time; if it does not reach N, it returns to step S11 and continues to generate the next broadcast frame to communicate with the next group of display panels.
[0063] Step S17, end the communication cycle.
[0064] Specifically, after the status of each display panel in the N groups of display panels is determined, a communication cycle ends. At this time, the elevator controller 100 can perform further processing based on all the display panel status information obtained in this communication cycle, such as updating the system status (such as the system is working, the system is on standby, the system is suspended, etc.), generating a fault report, and performing corresponding control operations (such as controlling the elevator to stop at a certain floor, controlling the opening of the car door and the hall door, and controlling the elevator to go up, etc.), and prepare for the next communication cycle at the same time.
[0065] The following is an analysis of the traditional RS485 communication method and the communication method provided in the embodiment of the present application based on Table 1 and Table 2.
[0066] The traditional RS485 communication data frame diagram is shown in Table 1 below:
[0067] Table 1 As shown in Table 1, B (B1, B2...B8) represents a broadcast frame sent by the elevator controller 100, and one frame is sent at a fixed time. M (M01, M01...M40) represents a query frame sent by the elevator controller 100. S (S01, S02...S40) represents a query frame replied by the display panel.
[0068] Take a 40-story building as an example, that is, the elevator controller 100 communicates with 40 display panels. Assuming that the elevator controller 100 sends a broadcast frame (B1, B2...B8 in Table 1) every 5 query frames, the entire communication time is the time of 8 broadcast frames. In addition, the query frame sent by the elevator controller 100 (M01, M01...M40 in Table 1) requires 40 frames. The query frame replied by the display panel outside the hall (S01, S02...S40 in Table 1) is 40 frames. Then, in one communication cycle (that is, the process of the elevator controller 100 communicating with the 40 display panels once), the total number of communication frames between the elevator controller 100 and the 40 display panels is 88 frames (each frame is counted as time T), and there needs to be a time interval between each of the 88 frames, that is, 87 time intervals t are required, and the time of one communication cycle is 88T+87t.
[0069] The communication data frame diagram in the communication method provided in the embodiment of the present application is shown in Table 2 below:
[0070] Table 2 As shown in Table 2, B (B1, B2...B8) represents a broadcast frame sent by the elevator controller 100, and one frame is sent at a fixed time. S (S01, S02...S40) represents a query frame replied by the display panel.
[0071] In an embodiment of the present application, a more efficient communication method is used for master-slave-free communication, and data is sent according to an autonomously constrained time.
[0072] Take a 40-story building as an example, that is, the elevator controller 100 communicates with 40 display panels. Assuming that the elevator controller 100 sends a broadcast frame (B1, B2...B8 in Table 2) every 5 query frames, the entire communication time is the time of 8 broadcast frames, and the 40 display panels are divided into 8 groups, each of which includes 5 display panels. The elevator controller 100 sends a broadcast frame, and then the 40 display panels calculate the delay time when receiving the broadcast frame, that is, the delay time of the display panel with ID 1 is t1, the delay time of the display panel with ID 2 is t2, and so on. If the broadcast frame sent is B1, the first group of display panels (display panel with ID 1, display panel with ID 2, display panel with ID 3, display panel with ID 4, and display panel with ID 5) will send query frames S01, S02, S03, S04, and S05 in sequence based on their respective calculated delay times. Then, after the elevator controller 100 receives the query frame S05 sent by the display panel with ID 5, the elevator controller 100 sends a broadcast frame B2. The broadcast frame B2 sent at this time includes the information of the display panel with ID 5. According to the agreed rules, the second group of display panels (display panels with ID 6, display panels with ID 7, display panels with ID 8, display panels with ID 9, and display panels with ID 10) need to use their respective calculated delay times to send query frames S06, S07, S08, S09, and S010 in sequence. And so on, until all 40 display panels send query frames to the elevator controller 100. Then a communication cycle ends.
[0073] In the communication method provided in the embodiment of the present application, the elevator controller 100 sends a broadcast frame (B1, B2...B8 in Table 1) every 5 query frames, and the entire communication time is the time of 8 broadcast frames. In addition, the query frames (S01, S02...S40 in Table 1) replied by the display panel outside the hall are 40 frames. Then, in one communication cycle (that is, the process of the elevator controller 100 communicating with the 40 display panels once), the number of communication frames between the elevator controller 100 and the 40 display panels is a total of 48 frames (each frame is counted as time T), and there needs to be a time interval between each of the 48 frames, that is, 47 time intervals t are required, and the time of one communication cycle is 48T+47t.
[0074] Compared with the traditional communication method corresponding to Table 1 above, the time saved in one communication cycle by the embodiment of the present application is: (88T+87t)-(48T+47t)=40T+40t. That is, in one cycle, the embodiment of the present application saves the communication time of 40 frames plus 40 time intervals. The saved communication time can greatly increase the communication efficiency and elevator interception efficiency of the elevator system.
[0075] In some embodiments, the communication method further includes: when a Pth group of query frames is received, performing fault detection based on the Pth group of query frames.
[0076] Specifically, in the actual communication process, due to various factors such as electromagnetic interference, line aging, equipment failure, etc., various problems may occur in the transmission of the query frame. By timely fault detection, problems can be discovered in the early stage of the fault, and corresponding measures can be taken to repair them, reducing the risk of further expansion of the fault and affecting the normal operation of the entire communication system.
[0077] In some embodiments, fault detection based on the Pth group of query frames includes: detecting whether a frame missing fault occurs in the Pth group of query frames; if a frame missing fault occurs, generating a synchronization command and sending a broadcast frame with the synchronization command to each of the N display panels.
[0078] Specifically, the frame missing fault refers to the situation that part of the query frame is lost during the process of receiving the P-th group of query frames. The elevator controller 100 can determine whether there is a frame missing by checking the sequence number, quantity and other information of the query frame. For example, under normal circumstances, the P-th group of query frames should be sent in a certain order, and the number is fixed. If the sequence number of the received query frame is not continuous or the number is insufficient, it can be determined that a frame missing fault has occurred. Then, when the frame missing fault is detected, the elevator controller 100 will generate a synchronization command. The function of the synchronization command is to allow all display panels to resynchronize communication to ensure that subsequent communications can proceed normally. The elevator controller will include the synchronization command in the broadcast frame and send it to each display panel in the N groups of display panels. After receiving the broadcast frame with the synchronization command, the display panel will perform corresponding operations according to the requirements of the command, such as reinitializing communication parameters, resending the query frame, etc.
[0079] Missing frame failures will cause the elevator controller to be unable to obtain complete display panel information, thus affecting the accurate judgment of the display panel status. By promptly discovering the missing frame failure and sending a synchronization command, the display panel can be restored to a normal communication state to improve the continuity and integrity of communication. Broadcasting synchronization commands can ensure that all display panels receive synchronization information at the same time, reducing the risk of communication confusion caused by some display panels not being synchronized.
[0080] In addition, the frame missing fault also includes the fault of not receiving the query frame within the preset time. Specifically, when the elevator controller 100 sends a broadcast frame, the timing can be started. If the query frame fed back by the display panel is not received within the preset time (for example, 3 seconds, 5 seconds, etc.), a synchronization command can also be generated, and a broadcast frame with the synchronization command can be sent to each of the N display panels.
[0081] In some embodiments, performing fault detection based on the Pth group of query frames further includes: detecting whether a data fault occurs in the Pth group of query frames; and issuing a warning message if a data fault occurs.
[0082] Specifically, data failure refers to an error in the data in the query frame, such as a data format error, data verification failure, abnormal data content, etc. The elevator controller can detect whether there is a data failure by performing format checks and verification calculations on the data in the query frame. For example, the query frame may contain temperature information of the display panel. If the temperature data exceeds the normal range, it can be determined that a data failure has occurred. Then, when a data failure is detected, the elevator controller 100 will issue a warning message. The warning message can be in the form of an audible and visual alarm, a text message notification, a system prompt, etc., to remind relevant personnel to pay attention to problems in the communication system. Relevant personnel can take timely measures based on the warning information, such as checking equipment and troubleshooting.
[0083] By timely discovering data failures and issuing warning information, relevant personnel can promptly understand the abnormal conditions of the communication system and take appropriate measures to deal with them, thereby reducing safety hazards or equipment damage caused by erroneous information. At the same time, warning information also helps to record and analyze the causes of failures, providing a basis for subsequent system optimization and maintenance.
[0084] The embodiment of the present application provides a communication method, which is applied to an elevator controller, wherein the elevator controller is connected to N groups of display panels, N≥2, and N is a positive integer. Specifically, first, generate the Pth broadcast frame; wherein the broadcast frame includes the display panel information most recently received by the elevator controller, 1≤P≤N, and P is a positive integer. Then, send a broadcast frame to each display panel in the N groups of display panels, so that the Pth group of display panels sends the Pth group of query frames in sequence; wherein each query frame of the Pth group of query frames includes the corresponding display panel information. Then, receive the Pth group of query frames. Then, determine the state of the Pth group of display panels based on the Pth group of query frames. And, determine the relationship between P and N and change the value of P; wherein, when P is equal to N, make P equal to 1, and when P is less than N, make P plus 1. In a communication cycle, the steps of generating the Pth broadcast frame to confirming the relationship between P and N and changing the value of P are cyclically executed until the state of each group of display panels in the N groups of display panels is determined. The embodiment of the present application introduces the variable P in combination with the query frame sending mechanism of the display panel, so that the elevator controller can communicate with each group of display panels in a certain order. This orderly communication method reduces the possibility of conflict and interference when multiple groups of display panels send information at the same time, reduces the occurrence of data retransmission and errors, and improves the success rate and efficiency of communication. For example, in traditional disordered communication, multiple display panels may send data at the same time, resulting in signal collision, and this method ensures that each display panel transmits information at the right time. The broadcast frame generated and sent by the elevator controller contains the most recently received display panel information and sends it to all display panels. This broadcast method can convey public information to all display panels at one time, without the cumbersome process of communicating with the display panels one by one (such as the communication method shown in Table 1) to transmit information, which greatly saves communication time and resources.
[0085] In summary, this communication method allows the elevator controller to obtain the latest status information of each display panel in a timely manner, and each display panel can also receive the information broadcast by the controller in a timely manner. It can respond quickly to changes in the status of the display panel during the operation of the elevator without the need for additional waiting time or complex polling mechanisms, thereby reducing the delay in information processing and transmission, improving the real-time and timeliness of communication, and thus improving the efficiency of the entire communication system.
[0086] See also Figure 5 , Figure 5 It is a flowchart of a communication method provided by an embodiment of the present application.
[0087] The embodiment of the present application provides a communication method, which is applied to a display panel, the display panel is connected to an elevator controller 100, and the communication method includes: Step S21: when receiving a broadcast frame sent by the elevator controller 100, obtaining the display panel information in the broadcast frame.
[0088] Specifically, when the elevator controller 100 sends a broadcast frame, the display panel can normally receive the broadcast frame. The broadcast frame contains the display panel information that the elevator controller 100 has received most recently, including the ID of the display panel that the elevator controller 100 has received most recently. In addition, the broadcast frame has its sequence number. For example, the Pth broadcast frame, P is the sequence number of the broadcast frame.
[0089] Step S22: Determine whether action is required based on the display panel information in the broadcast frame.
[0090] The display panel can determine whether it needs to take action based on the sequence number of the broadcast frame or the ID of the display panel included in the broadcast frame.
[0091] Specifically, the display panel determines whether the serial number of the broadcast frame corresponds to its own group; if it corresponds, it is determined that action is required; if it does not correspond, it is determined that no action is required. For example, if the display panel itself is in the second group of display panels, and the broadcast frame is the first broadcast frame, it is determined that no action is required. If the display panel itself is in the third group of display panels, and the broadcast frame is the third broadcast frame, it is determined that action is required.
[0092] The display panel can also determine whether the ID of the display panel in the broadcast frame is the last display panel of the previous group; if so, it is determined that action is required; if not, it is determined that no action is required. For example, if the ID of the display panel itself is 7, assuming that the ID of the last display panel in the previous group of the display panel is 5, the display panel determines that action is required when the display panel ID included in the broadcast frame is 5, and determines that no action is required when the display panel ID included in the broadcast frame is not 5.
[0093] Step S23: When it is determined that action is required, the target delay time is calculated based on the display panel information in the broadcast frame and the preset delay time.
[0094] Among them, the preset delay time is a time value pre-set in the program or system settings of the display panel. It is a fixed time interval used to provide a basic time parameter for calculating the target delay time after receiving the broadcast frame. The setting of this time is usually related to factors such as the overall communication rhythm of the system, reducing communication conflicts, and facilitating the collaboration between various devices. For example, in order to reduce the possibility of communication congestion caused by all display panels sending query frames at the same time after receiving the broadcast frame, by setting the preset delay time, each display panel will perform different delay calculations based on this, thereby staggering the time of sending query frames.
[0095] The target delay time is a specific delay time calculated by the display board based on the display board information in the received broadcast frame and the preset delay time. It determines how long it takes for the display board to send the first query frame after receiving the broadcast frame. The calculation of this time comprehensively considers the information carried by the broadcast frame and the preset basic delay, so that the display board can send the query frame at the right time to improve the orderliness and accuracy of communication.
[0096] Specifically, when the display panel determines that an action is required, it will use the display panel information in the broadcast frame and the preset delay time to calculate the target delay time. The specific calculation method can be to perform a mathematical operation based on the display panel ID in the broadcast frame and the preset delay time, such as addition, multiplication, or calculation according to a specific formula.
[0097] For example, as shown in Table 2, the preset delay time includes a frame time T and a time interval time t.
[0098] Taking Table 2 as an example, if the broadcast frame sent by the elevator controller 100 is B1 (the first broadcast frame), the five display panels in the first group of display panels (display panel 1, display panel 2, display panel 3, display panel 4 and display panel 5) determine that action is required.
[0099] The target delay time of display board 1 is: t (i.e. 1 time interval); The target delay time of display panel 2 is: T+2t (that is, the time of 1 frame plus 2 time intervals); The target delay time of display panel 3 is: 2T+3t (that is, 2 frames plus 3 time intervals); The target delay time of display panel 4 is: 3T+4t (that is, 3 frames plus 4 time intervals); The target delay time of the display panel 5 is: 4T+5t (that is, the time of 4 frames plus 5 time intervals).
[0100] Step S24: When the target delay time is reached, a first query frame is sent; wherein the first query frame includes the display panel information of the display panel itself.
[0101] Specifically, when the display board calculates the target delay time, it starts timing from the receipt of the broadcast frame. When the target delay time is reached, the display board sends a first query frame to the elevator controller 100. The first query frame includes its own display board information (such as the current display status, hardware parameters, whether there is a fault, etc.).
[0102] Thus, the elevator controller 100 can obtain the latest status information of the display panel for subsequent processing and decision-making, such as determining whether the display panel is working normally, whether the display panel needs further control, etc. In this way, effective information exchange is achieved between the display panel and the elevator controller 100, ensuring the normal operation of the elevator display system.
[0103] In some embodiments, the communication method further includes: when receiving a second query frame sent by another display panel, calculating the target verification time; verifying the target delay time based on the target verification time to obtain a verification result; when the verification result is data disorder, pausing sending the first query frame.
[0104] The target verification time is a time value calculated by the display panel according to certain rules when receiving the second query frame sent by another display panel, which is used to verify the target delay time. Its function is to provide a reference standard for judging whether the data in the current communication process is normal.
[0105] The verification result is a judgment conclusion drawn after verifying the target delay time based on the target verification time. It is mainly used to reflect whether the current communication data is in a normal state. The verification result includes normal data and disordered data.
[0106] Specifically, first, when the display panel is receiving the elevator controller broadcast frame normally and preparing to send its own first query frame, if it receives the second query frame from another display panel, it will trigger the operation of calculating the target verification time. The target verification time is a key time parameter for the subsequent verification of the target delay time. It is based on certain information in the second query frame, such as the sending time of the second query frame, the timestamp carried in the frame, or according to a preset time calculation rule related to the second query frame. For example, if display panel 2 (that is, the display panel with ID 2) receives the query frame of display panel 1 (that is, the display panel with ID 1), display panel 2 will calculate the time difference between the query frame of display panel 1 and the first broadcast frame (that is, the target verification time, for example, t).
[0107] At the same time, the target delay time is verified based on the target verification time to obtain a verification result. Specifically, the display panel 2 will subtract the target verification time from its own target delay time (for example, T+2t) to obtain a time difference (for example, T+t). There may be multiple ways of verification, such as comparing whether the difference between the time difference and the preset time difference (for example, T1) is within a reasonable range, or judging based on the proportional relationship between the target verification time and the target delay time. If the difference between the target delay time and the target verification time is too large or the ratio exceeds the preset threshold, the verification result is considered to be data disorder; otherwise, the verification result is considered to be normal data.
[0108] If the verification result is data disorder, it means that the current communication environment may be abnormal, and continuing to send the first query frame may cause more data conflicts or errors. Therefore, the display panel will suspend sending the first query frame to reduce the possibility of further exacerbating the communication problem. After the display panel suspends sending the first query frame, the elevator controller 100 can learn that there is a communication fault through fault detection and take further action.
[0109] In some embodiments, the communication method further includes: when the received broadcast frame includes a synchronization command, updating the preset delay time based on the synchronization command.
[0110] The purpose of the synchronization command is to synchronize all display panels to ensure that subsequent communications can proceed normally. When a broadcast frame contains a synchronization command, the display panel will recognize the command and realize that the preset delay time needs to be updated. The synchronization command can be a specific identification bit, a specific code, or an information structure that conforms to a certain protocol rule. The display panel extracts the synchronization command by parsing the content of the broadcast frame.
[0111] Specifically, the elevator controller includes the synchronization command in a broadcast frame and sends it to each display panel in the N groups of display panels. After receiving the broadcast frame with the synchronization command, the display panel will perform corresponding operations according to the requirements of the command, such as reinitializing communication parameters, resending query frames, etc.
[0112] In some embodiments, the synchronization command can directly specify a new preset delay time value, and the display panel replaces the original preset delay time with the new value. For example, the elevator controller finds that there is a large delay in the communication between the display panels, and sends a synchronization command to require all display panels to shorten the preset delay time to 100 milliseconds.
[0113] Alternatively, the synchronization command instructs the display panel to make a relative adjustment to the existing preset delay time, such as increasing or decreasing a certain amount of time. For example, the command requires the display panel to increase the preset delay time by 20 milliseconds, and the display panel will add 20 milliseconds to the original preset delay time to obtain a new preset delay time.
[0114] Alternatively, the synchronization command may reset an initial time, instructing each display panel in the N groups of display panels to use the initial time as a unified initial time of the preset delay time.
[0115] In some embodiments, the communication method further includes: when a second query frame sent by another display panel is received, calculating a waiting time; and updating the target delay time based on the waiting time.
[0116] Specifically, the display panel may also update the target delay time based on the time when another display panel sends the query frame.
[0117] For example, if the time for sending one frame of query frame data is t1, and the time interval between the broadcast frame and the previous frame is t2, then the total time of one frame is t1+t2. Assuming that the elevator controller sends one broadcast frame after every 3 query frames, the time for the broadcast frame to send one frame of data is t3, and the interval time between the broadcast frame and the previous frame is also set to t2, then the time for one broadcast frame is t3+t2. If the ID of the current display board is 13, and the ID number in the second query frame received by the display board with ID 13 is 3. Then, there are still 9 frames of query frames of display boards that have sent data before it is the turn of the current display board (ID 13) to send data. At this time, the waiting time of display board 13 (that is, the display board with ID 13) is: 9*(t1+t2)+3*(t2+t3). When display board 13 receives display board 4 (that is, the display board with ID 4), the waiting time needs to be updated in real time. By analogy, display board 13 can update its own waiting time (target delay time) in real time.
[0118] An embodiment of the present application provides a communication method, which is applied to a display panel, and the display panel is connected to an elevator controller. Specifically, first, when a broadcast frame sent by the elevator controller is received, the display panel information in the broadcast frame is obtained. Then, based on the display panel information in the broadcast frame, it is determined whether action is required. Next, when it is determined that action is required, the target delay time is calculated based on the display panel information in the broadcast frame and the preset delay time. Finally, when the target delay time is reached, a first query frame is sent; wherein the first query frame includes the display panel information of the display panel itself.
[0119] The embodiment of the present application determines whether to act by obtaining broadcast frame information, and calculates the target delay time to send the first query frame, so that orderly data interaction is achieved between the display panel and the elevator controller. This method reduces the communication congestion and conflict caused by the display panel sending information at the same time, making the communication process more efficient. For example, in a large elevator system, if multiple display panels send information to the elevator controller at the same time, it may cause signal interference and data loss. This method ensures that the display panel sends information in sequence according to the calculated appropriate time, thereby improving the communication success rate. This communication method is suitable for scenarios where the display panel is connected to the elevator controller. Regardless of the number of display panels connected in the system, each display panel can perform independent communication operations according to its own calculations and judgments. This makes the system have good scalability and is convenient for increasing or decreasing the number of display panels in the elevator system without causing a significant impact on the overall communication mechanism.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Based on the idea of the present application, the technical features in the above embodiments or different embodiments may also be combined, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application 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 communication method, characterized in that: Applied to an elevator controller, the elevator controller is connected to N groups of display panels, N ≥ 2, and N is a positive integer, the communication method includes: Generate a Pth broadcast frame; wherein the broadcast frame includes the display panel information most recently received by the elevator controller, 1≤P≤N, and P is a positive integer; Sending the broadcast frame to each display panel in the N groups of display panels, so that the display panels in the P group send the P group of query frames in sequence; wherein each query frame in the P group of query frames includes the corresponding display panel information; Receiving the Pth group of query frames; Determining the status of the Pth group of display panels based on the Pth group of query frames; Determine the relationship between P and N and change the value of P; when P is equal to N, make P equal to 1, and when P is less than N, make P increase by 1; In one communication cycle, the steps of generating the Pth broadcast frame, confirming the relationship between P and N and changing the value of P are cyclically executed until the state of each group of display panels in the N groups of display panels is determined.
2. The communication method according to claim 1, characterized in that: The communication method further comprises: When the P-th group of query frames is received, fault detection is performed based on the P-th group of query frames.
3. The communication method according to claim 2, characterized in that: The performing fault detection based on the Pth group of query frames comprises: Detecting whether a frame missing fault occurs in the Pth group of query frames; If a frame missing fault occurs, a synchronization command is generated, and a broadcast frame having the synchronization command is sent to each of the N display panels.
4. The communication method according to claim 3, characterized in that: The performing fault detection based on the Pth group of query frames further includes: Detecting whether a data failure occurs in the Pth group of query frames; If a data failure occurs, a warning message is issued.
5. A communication method, characterized in that: Applied to a display panel, the display panel is connected to an elevator controller, and the communication method comprises: When receiving the broadcast frame sent by the elevator controller, obtaining the display panel information in the broadcast frame; Determining whether an action is required based on the display panel information in the broadcast frame; When it is determined that action is required, calculating a target delay time based on the display panel information in the broadcast frame and a preset delay time; When the target delay time is reached, a first query frame is sent; wherein the first query frame includes the display panel information of the display panel itself.
6. The communication method according to claim 5, characterized in that: The communication method further comprises: When receiving a second query frame sent by another display panel, calculating the target verification time; Verifying the target delay time based on the target verification time to obtain a verification result; When the verification result is that the data is disordered, the sending of the first query frame is suspended.
7. The communication method according to claim 5, characterized in that: The communication method further comprises: When the received broadcast frame includes a synchronization command, the preset delay time is updated based on the synchronization command.
8. An elevator controller, characterized in that: The elevator controller comprises: a first processor; and, a memory communicatively connected to the first processor; The memory stores instructions executable by the first processor, and the instructions are executed by the first processor so that the first processor can execute the method according to any one of claims 1 to 4.
9. A display panel, characterized in that: The display panel comprises: a second processor; and, a memory communicatively connected to the second processor; The memory stores instructions executable by the second processor, and the instructions are executed by the second processor so that the second processor can execute the method according to any one of claims 5 to 7.
10. An elevator control system, characterized in that: The elevator control system comprises the elevator controller according to claim 8 and N groups of display panels, each of the N groups of display panels comprises the display panel according to claim 9, and the elevator controller is connected to the N groups of display panels; Wherein, N≥2, and N is a positive integer.
Citation Information
Patent Citations
Elevator control system, method and device and computer equipment
CN112607543A
Efficient communication method based on Bluetooth broadcast in elevator use scene
CN112969146A
Encryption verification method, device and system and elevator
CN116170149A
Display control method and device of LED spliced screen, terminal and storage medium
CN116974500A
Elevator information display device and elevator display system
CN202265275U