Method, system and storage medium for reducing elevator main control chip load
By compressing data on the outer board of each floor of the elevator and uploading it to the cloud server, the problems of excessive load on the elevator main control chip and insufficient data real-time are solved, and the effect of reducing the load on the elevator main control chip and improving data real-time is achieved.
Patent Information
- Application Number
- CN202211549754.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-12-05
AI Technical Summary
In the prior art, the elevator main control chip is too loaded when processing and uploading elevator real-time data, and cannot meet the requirements of real-time data.
By compressing data on the elevator outside the elevator on each floor and uploading the compressed data to the cloud server, compression tasks are distributed to reduce the load on the elevator main control chip.
It reduces the load of the elevator main control chip, improves the utilization rate of elevator external boards, and ensures the real-time data.
Smart Images

Figure CN115941805B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of elevator management, and in particular to a method for reducing the load of an elevator main control chip, a system for reducing the load of an elevator main control chip, and a machine-readable storage medium. Background Art
[0002] With the continuous development of my country's economy and the improvement of living standards, the height of residential buildings or office buildings is getting higher and higher. In order to facilitate reaching the corresponding floors, elevators have become an indispensable equipment in high-rise buildings. During the operation of the elevator, a large amount of data will be generated. These data need to be stored as the data basis for subsequent fault analysis and elevator operation status monitoring. However, uploading a large amount of data requires more storage space and traffic. In order to save storage space and traffic, these data are generally compressed before uploading.
[0003] Most existing technologies use the elevator main control chip to compress data and then upload it to the server. However, during the operation of the elevator, the elevator main control chip arranged in the control cabinet of the machine room needs to complete complex control tasks, and is also responsible for monitoring data, compressing data and transmitting data, which greatly increases the operating load of the elevator main control chip. Moreover, these data have high real-time requirements, and the elevator main control chip cannot meet the real-time requirements of data under high load. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a method, system and storage medium for reducing the load of an elevator main control chip. The method compresses the data through the elevator main control chip or the elevator external call board on each floor and then uploads it to a cloud server. The method makes full use of the elevator external call board on each floor to assist the elevator main control chip in data compression, thereby reducing the load of the elevator main control chip, improving the utilization rate of the external call board, and ensuring the real-time nature of the data.
[0005] In order to achieve the above object, the first aspect of the present invention provides a method for reducing the load of an elevator main control chip, the method comprising:
[0006] Get real-time elevator data;
[0007] The real-time data of the elevator is compressed by a processing device to generate compressed data; the processing device includes an elevator main control chip and an elevator call board on each floor;
[0008] The compressed data is uploaded to a cloud server.
[0009] In an embodiment of the present application, the method further includes:
[0010] After acquiring the real-time elevator data, the acquired real-time elevator data is classified, and the processing device corresponding to the classified data is determined according to the distribution rules corresponding to each category of data;
[0011] The classified data is compressed by the processing device corresponding to the classified data to generate compressed data. The elevator main control chip distributes the elevator real-time data according to the type and distribution rules, taking into full consideration the data volume and importance of different types of data.
[0012] In the embodiment of the present application, the elevator real-time data includes at least: elevator operation parameter data;
[0013] The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes:
[0014] Get the floor corresponding to the current elevator operation parameter data;
[0015] The elevator call board of the corresponding floor is determined as the processing device corresponding to the current elevator operation parameter data. The elevator operation parameter data changes in real time, and its real-time requirements are high. By sending the currently acquired elevator operation parameter data to the floor call board corresponding to the current elevator operation parameter data, the call board processes the elevator operation parameter data, which is convenient for data transmission, and can associate the elevator operation parameter data with the floor, which is convenient for the subsequent integration of compressed data segments.
[0016] In the embodiment of the present application, the elevator real-time data includes at least: elevator fault data;
[0017] The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes:
[0018] Determine the current fault type based on the elevator fault data;
[0019] Determine a processing device corresponding to the elevator fault data according to the fault type;
[0020] The elevator fault data is compressed and processed by a processing device corresponding to the elevator fault data.
[0021] In an embodiment of the present application, the processing device for determining elevator fault data corresponding to the fault type includes:
[0022] If the fault type is a major fault, determining the elevator call board as a processing device corresponding to the elevator fault data corresponding to the major fault;
[0023] If the fault type is a major fault, the elevator main control chip is determined as a processing device corresponding to the elevator fault data corresponding to the major fault. The elevator fault data is distributed according to the fault type, and the distribution rule is set according to the impact of the fault on the elevator.
[0024] In the embodiment of the present application, the elevator real-time data includes at least: elevator communication data;
[0025] The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes:
[0026] Get the current floor of the car based on the elevator communication data;
[0027] The elevator call board on the floor where the current car is located is determined as the processing device corresponding to the elevator communication data. The elevator communication data is strongly related to the floor where the current car is located. The elevator communication data is compressed by the elevator call board on the floor of the car to facilitate data return, and the elevator operation parameter data can be associated with the floor, which is convenient for the subsequent integration of the compressed data segments.
[0028] In the embodiment of the present application, when the processing device is an elevator hall call board:
[0029] The real-time data of the elevator is compressed by the processing device to generate compressed data, including:
[0030] The elevator call board compresses the elevator real-time data and adds data tags as compressed data;
[0031] Uploading the compressed data to a cloud server includes:
[0032] Receive the compressed data sent back by the elevator call board through the elevator main control chip and upload it to the cloud server;
[0033] The data tags include data category tags and floor corresponding tags. The compressed data is added with data tags to facilitate the cloud server background to integrate the data and obtain complete and coherent data.
[0034] In an embodiment of the present application, the method further includes:
[0035] When the elevator is in use, the elevator hall call board temporarily stores the elevator real-time data in the cache until there is no cache space or until the elevator returns to an idle state, and then uploads the cached elevator real-time data. The hall call board achieves temporary storage through the cache when it is busy, which does not affect the communication between the hall call board and the elevator main control chip.
[0036] A second aspect of the present invention provides a system for reducing the load of an elevator main control chip, wherein the method described above is used to realize real-time data uploading of the elevator, and the system comprises:
[0037] A processing device, used for compressing the acquired real-time elevator data to generate compressed data for uploading to a cloud server;
[0038] The processing device includes an elevator main control chip and an elevator call board on each floor.
[0039] The system compresses the real-time elevator data by a processing device and uploads it to the cloud server, making full use of the elevator call board on each floor to assist the elevator main control chip in data compression, reducing the load of the elevator main control chip, improving the utilization rate of the call board, and ensuring the real-time nature of the data.
[0040] On the other hand, the present invention provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the method for reducing the load of an elevator main control chip.
[0041] Through the above technical solution, the data compression task undertaken by the elevator main control chip can be reasonably distributed to the elevator external call board, and the external call board will perform data compression to reduce the load of the main control chip and improve the utilization rate of the external call board.
[0042] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0044] Figure 1 It is a flow chart of a method for reducing the load of an elevator main control chip provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0046] The elevator main control chip needs to complete complex control tasks, and is also responsible for tasks such as monitoring data, compressing data, and transmitting data. If all data is compressed and processed by the elevator main control chip, the load on the elevator main control chip will be too large, which may easily lead to some data packet loss or even inability to upload to the server, resulting in data loss.
[0047] Figure 1 This is a flow chart of a method for reducing the load of an elevator main control chip provided by an embodiment of the present invention. Figure 1 As shown, the method includes:
[0048] S1: Get real-time data of elevator;
[0049] S2: compressing the real-time data of the elevator by a processing device to generate compressed data; the processing device includes an elevator main control chip and an elevator call board on each floor;
[0050] S3: Upload the compressed data to the cloud server.
[0051] In an embodiment of the present application, the method further includes: after acquiring the real-time elevator data, classifying the acquired real-time elevator data, and determining a processing device corresponding to the classified data according to a distribution rule corresponding to each category of data;
[0052] The classified data is compressed by the processing device corresponding to the classified data to generate compressed data. The elevator main control chip distributes the elevator real-time data according to the type and distribution rules, taking into full consideration the data volume and importance of different types of data.
[0053] The data that the elevator main control chip needs to process includes multiple categories.
[0054] In the embodiment of the present application, the real-time data of the elevator includes at least: elevator operating parameter data, and the elevator operating parameter data mainly includes: door opening and closing data, elevator leveling data, elevator current speed, elevator current load, etc. Since the elevator operating parameter data changes in real time, it is the parameter data of the normal operation of the elevator, and it is also the data that needs to be referenced and analyzed after the elevator fails. Therefore, the real-time requirements of the elevator operating parameter data are relatively high.
[0055] In the embodiment of the present application, the method of distributing the classified elevator real-time data to the processing device according to the distribution rules corresponding to each category includes:
[0056] Get the floor corresponding to the current elevator operation parameter data;
[0057] The elevator call panel of the corresponding floor is determined as the processing device corresponding to the current elevator operation parameter data.
[0058] In the embodiment of the present application, the elevator operation parameter data is compressed and marked with data through the elevator hall call board of the corresponding floor as compressed data. The compressed data of the elevator hall call board is uploaded to the elevator main control chip, and the elevator main control chip receives the compressed data returned by the hall call board and uploads it to the cloud server.
[0059] After the elevator main control chip classifies the elevator operation parameter data from the acquired data, it sends the elevator operation parameter data to the corresponding floor external call board through CAN communication. The floor external call board compresses the received elevator operation parameter data. Each floor external call board generates a compression task related to the elevator operation parameter data. After compression, each floor external call board transmits the compressed data segment back to the elevator main control chip. After compressing the data, each floor external call board adds a data tag to the compressed data segment. In the embodiment of the present application, the data tag of the elevator operation parameter data is recorded as D2, D2 includes a data category tag 2 and a floor corresponding tag, and the floor corresponding tag is recorded as 1-N, that is, the data tag of the elevator operation parameter data is expressed as D2[2,1], D2[2,2]...D2[2,N]. After the external call board on each floor completes data compression, it is transmitted back to the elevator main control chip through CAN communication. After receiving the compressed data returned by the floor external call board, the elevator main control chip does not need to process it again and directly uploads it to the cloud server.
[0060] The elevator operation parameter data changes in real time, and its real-time requirements are high. By sending the currently acquired elevator operation parameter data to the floor call board corresponding to the current elevator operation parameter data, the elevator operation parameter data is processed by the call board to facilitate data transmission, and the elevator operation parameter data can be associated with the floor, which is convenient for the subsequent integration of compressed data segments.
[0061] In other embodiments of the present application, the elevator real-time data includes at least: elevator fault data;
[0062] The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes:
[0063] Determine the current fault type based on the elevator fault data;
[0064] Determine a processing device corresponding to the elevator fault data according to the fault type;
[0065] The elevator fault data is compressed and processed by a processing device corresponding to the elevator fault data.
[0066] In the embodiment of the present application, after an elevator fails, the elevator will display and record the fault locally, including minor faults, major faults, and important faults. Minor faults do not affect the operation of the elevator, and the elevator can recover by itself. The elevator fault data corresponding to the minor fault does not need to be uploaded to the cloud server, so there is no need to compress it; the major fault may be a failure of certain components of the elevator, but it will not affect the operation of the elevator. The important fault will prevent the elevator from operating normally.
[0067] In an embodiment of the present application, the processing device for determining elevator fault data corresponding to the fault type includes:
[0068] If the fault type is a major fault, determining the elevator call board as a processing device corresponding to the elevator fault data corresponding to the major fault;
[0069] If the fault type is a major fault, the elevator main control chip is determined as a processing device corresponding to the elevator fault data corresponding to the major fault. The elevator fault data is distributed according to the fault type, and the distribution rule is set according to the impact of the fault on the elevator.
[0070] In the embodiment of the present application, the elevator fault data corresponding to the main fault is compressed and marked with data by the elevator hall call board as compressed data. The compressed data of the elevator hall call board is uploaded to the elevator main control chip, and the elevator main control chip receives the compressed data returned by the hall call board and uploads it to the cloud server.
[0071] The main fault affects some components of the elevator, but the elevator can still run, and the external call boards on each floor can also run. Based on this, when a main fault occurs, the elevator fault data corresponding to the main fault is sent to the external call board on the highest floor for compression. If there is more than one main fault, the elevator fault data corresponding to the second main fault is sent to the external call board on the second highest floor for compression, and the elevator fault data corresponding to the third main fault is sent to the external call board on the third highest floor for compression, and so on. The elevator fault data corresponding to different main faults are distributed from the external call board on the highest floor to the external call board on the lower floors in sequence.
[0072] When a major fault occurs, the elevator cannot operate normally. The elevator main control chip directly compresses the elevator fault data corresponding to the received major fault, adds a data tag, and then uploads it to the cloud server. After the floor call board or the elevator main control chip compresses the data, it adds a data tag to the compressed data segment. In the embodiment of the present application, the data tag of the elevator fault data is recorded as D3. After the data compressed by the elevator floor call board is compressed, it is transmitted back to the elevator main control chip through CAN communication. After the elevator main control chip receives the compressed data returned by the floor call board, it does not need to process it again and directly uploads it to the cloud server.
[0073] In an embodiment of the present application, the elevator fault data corresponding to the minor fault is cached by the elevator main control chip, and the cached data is replaced by new data as the time or data volume increases.
[0074] In other embodiments of the present application, the elevator real-time data includes at least: elevator communication data;
[0075] The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes:
[0076] Get the current floor of the car based on the elevator communication data;
[0077] Determine the elevator call board on the floor where the current car is located as the processing device corresponding to the elevator communication data. In the embodiment of the present application, the elevator communication data includes the floor data of the car, the door opening and closing data, the alarm intercom data, and the call data of each floor. When the elevator runs to the first floor, the main control chip sends the current elevator communication data to the call board on the first floor, which is processed by the call board on the first floor. When the elevator runs to the second floor, the main control sends the current elevator communication data to the call board on the second floor, which is processed by the call board on the second floor, and so on. After the elevator call board compresses the data, it adds a data mark to the compressed data segment. In the embodiment of the present application, the data mark of the elevator communication data is recorded as D4, D4 includes a data category mark 4 and a floor corresponding mark, and the floor corresponding mark is recorded as 1-N, that is, the data mark of the elevator communication data is expressed as D4[4,1], D4[4,2]...D4[4,N]. After the hall call board on each floor completes data compression, it is transmitted back to the elevator main control chip through CAN communication. After receiving the compressed data sent back by the floor hall call board, the elevator main control chip does not need to process it further and directly uploads it to the cloud server.
[0078] The elevator communication data is strongly related to the floor where the current car is located. The elevator communication data is compressed by the car's floor call board to facilitate data return, and the elevator operation parameter data can be associated with the floor, which is convenient for the subsequent integration of compressed data segments.
[0079] In an embodiment of the present application, the data that needs to be compressed also includes basic parameter data of the elevator. The basic parameter data of the elevator is a fixed value, including the unique equipment number, load, rated speed, etc. of each elevator. These data do not need to be compressed repeatedly, but are directly pre-compressed by the elevator main control chip and the data mark D1 is added.
[0080] In the above method, the processing device compresses the received data, adds data tags, and transmits it back to the elevator main control chip. The compressed data is added with data tags to facilitate the cloud server background to integrate the data and obtain complete and coherent data.
[0081] In the embodiment of the present application, the hall call board and the elevator main control chip compress data using existing mature data compression methods.
[0082] In the embodiment of the present application, the elevator main control chip sends the data that needs to be compressed to the elevator call board on each floor through CAN communication. By setting the communication protocol, the call board identifies that the received data is data that needs to be compressed. The call board compresses the data and then sends it to the elevator main control chip through CAN communication. This method does not require improvements to the wiring layout of the existing elevator call board and the elevator main control chip, and does not require the addition of additional hardware equipment. At the same time, it can reduce the work tasks of the elevator main control chip, reduce the load of the elevator main control chip, and enable the elevator main control chip to concentrate on processing the main work tasks of the elevator, avoiding elevator operation failures due to processing secondary tasks (compressed data tasks).
[0083] In some other embodiments of the present application, the method further includes:
[0084] When the elevator is in use, the elevator hall call board temporarily stores the elevator real-time data in the cache until there is no cache space or until the elevator returns to an idle state, and then uploads the cached elevator real-time data. The hall call board uses the cache to store data when it is busy, which does not affect the communication between the hall call board and the elevator main control chip. The elevator hall call board can cache the compressed elevator real-time data or the pre-compression elevator real-time data, which can be set according to specific needs.
[0085] In this application, the elevator main control chip can determine the data type based on the ID frame of the received data packet.
[0086] It should be noted that in the present application, the compressed data uploaded by the elevator main control chip are different data segments. After receiving the compressed data segments, the cloud server organizes the data according to the data tags. The elevator main control chip does not need to process it, thereby better reducing the load on the main control chip.
[0087] A second aspect of the present invention provides a system for reducing the load of an elevator main control chip, wherein the method described above is used to realize real-time data uploading of the elevator, and the system comprises:
[0088] A processing device, used for compressing the acquired real-time elevator data to generate compressed data for uploading to a cloud server;
[0089] The processing device includes an elevator main control chip and an elevator call board on each floor.
[0090] The system compresses the real-time elevator data by a processing device and uploads it to the cloud server, making full use of the elevator call board on each floor to assist the elevator main control chip in data compression, reducing the load of the elevator main control chip, improving the utilization rate of the call board, and ensuring the real-time nature of the data.
[0091] On the other hand, the present invention provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the method for reducing the load of an elevator main control chip.
[0092] Those skilled in the art will understand that all or part of the steps in the method for implementing the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions for making a single-chip microcomputer, a chip or a processor (processor) perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0093] The optional embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above embodiments. Within the technical concept of the embodiments of the present invention, the technical scheme of the embodiments of the present invention can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the embodiments of the present invention. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.
[0094] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.
Claims
1. A method for reducing the load of an elevator main control chip, characterized in that: The method comprises: Get real-time elevator data; Classify the acquired real-time elevator data, and determine the processing device corresponding to the classified data according to the distribution rules corresponding to each category of data; The classified data is compressed by a processing device corresponding to the classified data to generate compressed data; the processing device includes an elevator main control chip and an elevator call board on each floor; Uploading the compressed data to a cloud server; The elevator real-time data includes at least: elevator operation parameter data; The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes: Get the floor corresponding to the current elevator operation parameter data; The elevator call panel of the corresponding floor is determined as the processing device corresponding to the current elevator operation parameter data.
2. The method for reducing the load of the elevator main control chip according to claim 1, characterized in that: The elevator real-time data includes at least: elevator fault data; The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes: Determine the current fault type based on the elevator fault data; Determine a processing device corresponding to the elevator fault data according to the fault type; The elevator fault data is compressed and processed by a processing device corresponding to the elevator fault data.
3. The method for reducing the load of the elevator main control chip according to claim 2, characterized in that: The processing device for determining elevator fault data corresponding to the fault type includes: If the fault type is a major fault, determining the elevator call board as a processing device corresponding to the elevator fault data corresponding to the major fault; If the fault type is a major fault, the elevator main control chip is determined as a processing device corresponding to the elevator fault data corresponding to the major fault.
4. The method for reducing the load of the elevator main control chip according to claim 1, characterized in that: The elevator real-time data includes at least: elevator communication data; The processing device for determining the classified data according to the distribution rules corresponding to each category of data includes: Get the current floor of the car based on the elevator communication data; The elevator call board at the floor where the current car is located is determined as the processing device corresponding to the elevator communication data.
5. The method for reducing the load of the elevator main control chip according to claim 1, characterized in that: When the processing device is an elevator call board: The classified data is compressed by a processing device corresponding to the classified data to generate compressed data, including: The elevator call board compresses the elevator real-time data and adds data tags as compressed data; Uploading the compressed data to a cloud server includes: Receive the compressed data sent back by the elevator call board through the elevator main control chip and upload it to the cloud server; The data tags include data category tags and floor corresponding tags.
6. The method for reducing the load of the elevator main control chip according to claim 1, characterized in that: The method further comprises: When the elevator is in use, the elevator call board temporarily stores the elevator real-time data in the cache until there is no cache space or until the elevator returns to the idle state, and then uploads the cached elevator real-time data.
7. A system for reducing the load of an elevator main control chip, which uses the method described in any one of claims 1 to 6 to achieve real-time data upload of the elevator, characterized in that: The system comprises: A processing device, used for compressing the acquired real-time elevator data to generate compressed data for uploading to a cloud server; The processing device includes an elevator main control chip and an elevator call board on each floor.
8. A machine-readable storage medium having instructions stored thereon, characterized in that: The instruction is used to enable the machine to execute the method for reducing the load of the elevator main control chip as described in any one of claims 1-6.
Citation Information
Patent Citations
Elevator management system, method and matched elevator management mainboard
CN101774499A