A dynamic matching system for environmental monitoring and controller of rail-connected baking rooms

By using wireless communication modules and encryption algorithms in the rail grid barbecue room, dynamic matching and secure communication between environmental monitoring data sending equipment and controllers is achieved, the defects of traditional physical contact communication methods are solved, and efficient and safe environmental control of the barbecue room is achieved.

CN119739064BActive Publication Date: 2025-05-16SHANDONG LINYI TOBACCO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510252091.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-05
Publication Date
2025-05-16
Estimated Expiration
2045-03-05

AI Technical Summary

Technical Problem

The physical contact communication methods of traditional rail grid barbecue rooms have problems such as wear, pollution, poor contact and difficulty in renewal, and the problems of equipment matching and data security risks need to be solved in wireless communication mode.

Method used

Wireless communication module and preset strategies are used to achieve dynamic and accurate matching of environmental monitoring data sending equipment and controllers, and ensure communication security through encryption algorithms and key management.

Benefits of technology

The baking room controller is able to accurately obtain environmental parameters, avoid physical connection defects, and ensure the security and accuracy of wireless communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739064B_ABST
    Figure CN119739064B_ABST
Patent Text Reader

Abstract

The present application relates to the field of electronic information technology, and provides a dynamic matching system for rail-mounted baking rooms environment monitoring and controllers. A control device is installed on a fixed bracket of a specified baking room, and an environmental detection device is installed in the baking room. The control device receives data from an environmental monitoring data sending device in the baking room, and performs environmental control according to the data. When the baking room is displaced, the control device corresponding to the baking room changes. At this time, the data of the environmental detection device in the baking room should be sent to the controller controlling the baking room. The present application realizes dynamic and precise matching of the environmental monitoring data sending device and the baking room controller through a wireless communication module and a preset strategy, and realizes accurate acquisition of the baking room environmental parameters by the baking room controller, while avoiding problems such as wear, contamination, poor contact, and difficulty in updating of the communication interface during physical connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic information technology, and in particular to a track-connected baking room environment monitoring and controller dynamic matching system. Background Art

[0002] The internal environment of the rail-mounted drying room can be controlled by heating, humidification, and blowing. These controls need to be operated and executed by a controller. Flushing tobacco is a long process, and different stages of drying require different control programs. The controller needs to control according to the environmental information in the drying room (such as temperature and humidity, etc.) and different drying stages. For the rail-mounted drying room, each controller only needs to manage the drying control program of the stage it is in. Therefore, compared with independent drying rooms, the controller of the rail-mounted drying room saves configuration requirements.

[0003] The controller is usually installed on a fixed bracket outside the rail-mounted drying barn, while the environmental monitoring data transmission device is installed inside the drying barn and moves with the drying barn. The traditional rail-mounted drying barn is connected to the controller on the fixed bracket through physical contact. When the drying barn moves, the controller naturally disconnects from the previous drying barn and reconnects to the newly moved drying barn. However, the physical contact communication method has the following disadvantages: (1) The communication interface is easy to wear. The displacement of the drying barn is a physical movement. During the movement, the communication connection of the controller needs to rub against the drying barn. Long-term friction is prone to wear and tear, causing communication problems; (2) The communication interface is easy to be contaminated. Since the physical contact communication interface is exposed to the outside, it is easy to be contaminated by dust and debris outside the drying barn. Especially after a few months of idle period, the communication interface is prone to contamination problems; (3) The communication interface has poor contact. The contact strength between the controller and different drying barns is slightly different. As the physical interface wears, it is easy to have poor contact with individual drying barns, and this situation is difficult to be discovered in time, so that the drying barn environment cannot be adjusted correctly in time, which is easy to cause poor quality or even bad tobacco; (4) It is difficult to update. The environmental monitoring data transmission equipment in the baking room is mainly sensors, which sometimes need to be adjusted or replaced. These situations affect the normal communication connection between the adjusted equipment and the external controller, requiring careful debugging and increasing costs.

[0004] In order to solve the above problems, it is undoubtedly the best to change the physical communication mode to wireless communication mode. Moreover, wireless communication technology is mature and the maintenance cost is not high. In the physical contact communication mode, there is no need to match the controller with the environmental monitoring data sending device in the baking room. Physical contact itself is a kind of matching. However, in the wireless communication mode, the environmental monitoring data sent by each environmental monitoring data sending device can be received by all controllers, and the controller cannot distinguish which one is closest to itself, because within a short distance, the distance is not the main reason for the signal strength. Therefore, matching the environmental monitoring data sending device in the baking room with the controller outside the baking room so that the controller can communicate with the baking room next to it is the first problem to be solved when using the wireless communication mode. Secondly, wireless communication also faces the problem of remote network attacks. Without physical contact, forged signals can be sent, causing baking accidents. These potential data security risks also need to be eliminated. Summary of the invention

[0005] In order to solve the problems in the background technology, the present application proposes a track-connected baking room environment monitoring and controller dynamic matching system.

[0006] The present application provides a rail-connected baking room environment monitoring and controller dynamic matching system, including a data management platform SERV and the following equipment: baking room controllers CTRL1, CTRL2, ..., CTRL n , the environmental monitoring data transmission equipment SENS1, SENS2, ..., SENS installed in the baking room n ,

[0007] The controller outside the baking room is configured with serial number and identity information, namely (1, ID C1 ), (2, ID C2 ),...,(n,ID Cn ), the oven room environment monitoring data sending device is respectively configured with a serial number and identity information, namely (1, ID S1 ), (2, ID S2 ),...,(n,ID Sn );

[0008] The controller outside the baking room and the environmental monitoring data sending device inside the baking room are respectively equipped with a data processing module and a wireless communication module;

[0009] The SENS device for transmitting the environmental monitoring data in the baking room j According to the control instruction and the controller CTRL i Matching is performed. The data sent after the matching is completed will include CTRL i Identity information ID Ci.

[0010] The controller CTRL outside the baking room i According to the received environmental monitoring data from the baking room, the device SENS j Based on the environmental monitoring data, the j-th baking room is controlled to make the baking environment of the j-th baking room meet the requirements of the i-th baking period;

[0011] When the oven moves along the track to the next position, the environmental monitoring data in the oven is sent to the SENS device. j With the controller CTRL outside the oven i+1 Matching connection, when i=n, ​​it means SENS j The baking room has left the baking area, and n is the number of baking rooms.

[0012] Preferably, two functions F(x) and G(x) are configured in the data management platform SERV and the environmental monitoring data sending device, and the identity information of the controller can be generated by the corresponding serial number, i.e., ID Ci =F(i), i=1, 2, ..., n, the identity information of the environment monitoring data sending device can be generated by a serial number, that is, ID Sj =G(j), j=1, 2, ..., n.

[0013] Preferably, in the baking and loading stage, the environment monitoring data sending device in the first baking room is started first, and then each time the baking room position is moved, the environment monitoring data sending devices in the second, third, ..., nth baking rooms are started in sequence, and the baking room controller starts the first, second, ..., nth controllers in sequence;

[0014] At the end of baking, that is, the baking and shipping stage after the baking room is loaded with goods, when the first baking room leaves the baking area, the environmental monitoring data sending device in the baking room turns off the first device, and then each time the baking room moves, the environmental monitoring data sending devices in the second, third, ..., nth baking rooms are turned off in turn; accordingly, the baking room controller turns off the first, second, up to the nth devices in turn.

[0015] Preferably, the baking room controller is also configured with n different keys, k1, k2, ..., k n , which correspond to the ID of the device sending the environmental monitoring data S1 , ID S2 , ..., ID Sn , the environmental monitoring data sending device in the jth baking room is also configured with a key k j ;

[0016] All oven controllers and environmental monitoring data transmission devices are configured with encryption algorithm E and decryption algorithm D. i SENS environmental monitoring data transmission device j After matching, the controller CTRL i With SENS j When communicating, the key k is used j Encrypt and protect communication data.

[0017] Preferably, the method for matching the environment monitoring data sending device SENSj with the controller is as follows:

[0018] Environmental monitoring data transmission equipment SENS j The data management platform SERV can send instructions for configuration. The configuration process meets the following steps:

[0019] S01: SERV to SENS j Send configuration data {configuration instruction, parameter r};

[0020] S02: SENS j After receiving the configuration data of step S01, the identity identification serial number of the controller communicating with it is set to r-j+1. At the beginning of baking, r=1, at this time SENS1 communicates with CTRL1, and when j>1, SENS j There is no corresponding controller, so there is no need to start the system. Each time the oven moves, the value of r increases by 1. If r-j+1>n, the system should be shut down. The detection data sent by the environmental detection equipment is {ID C(r-j+1) , data}, where data is environmental monitoring data;

[0021] S03: When the identity is ID Ct The controller receives the detection data {ID C(r-j+1) , data}, check whether the equation ID is satisfied Ct = ID C(r-j+1) , that is, whether t is equal to r-j+1, t is the controller ID Ct The identification number of

[0022] If satisfied, record data and perform environmental control based on the value of data; otherwise, ignore the detection data.

[0023] Preferably, in step S01, the data management platform SERV uses k j Encrypt parameter r, and get c1=E(k j ,r), and then sent to the environmental monitoring data sending device SENS j Configuration data {configuration instructions, c1};

[0024] In step S02, SENS j After receiving the configuration data of step S01, c1 is decrypted according to the configuration instruction to obtain the parameter r.

[0025] Preferably, the data management platform SERV can configure the configuration settings of all environmental monitoring data sending devices by broadcasting, including the following steps:

[0026] S11: SERV to SENS j Send configuration data {group configuration instruction type, parameter r};

[0027] S12: SENS j After receiving the configuration data in step S11, if r-j+1<1, the system is not started;

[0028] If r-j+1>n, shut down the system;

[0029] If n≧r-j+1≧1, continue execution: change the identity of the communication target to r-j+1, that is, associate with the r-j+1th controller.

[0030] Preferably, the data management platform SERV can configure the configuration settings of all environmental monitoring data sending devices by broadcasting, including the following steps:

[0031] S11: SERV to SENS j Send configuration data {group configuration instruction type, parameter r};

[0032] S12: SENS j After receiving the data of step S11, if r-j+1<1, the system will not be started;

[0033] If r-j+1>n, shut down the system;

[0034] If n≧r-j+1≧1, continue to execute: change the identity of the communication target to r-j+1, that is, associate with the r-j+1th controller and calculate the corresponding identity ID C(r-j+1) , using key k j Encrypt the environmental monitoring data data and get c2=E(k j , data), sends detection data {own identity information IDSj, controller identity information IDC(r-j+1), ciphertext c2} to the controller;

[0035] S13: When the identity is ID Ct After receiving the detection data, the controller checks whether the equation ID is satisfied. Ct =ID C(r-j+1), that is, whether t is equal to r-j+1, if it is satisfied, then according to ID Sj Find the key k j , decrypt c2 to get data, then record data, and control the environment according to the value of data, otherwise ignore the detection data.

[0036] Preferably, the method comprises the following steps:

[0037] S21: In the data management platform SERV and the environment monitoring data sending device SENS j Configure a shared key between j and data integrity protection algorithm mac;

[0038] S22: SERV to SENS j Send configuration data {group configuration instruction type, r, d}, where r is the configuration parameter, d1=mac(ik j , r) is the auxiliary data for integrity protection of parameter r;

[0039] S23: When the environment monitoring data sending device SENS j When receiving the configuration data of step S22, first calculate d1'=mac(ik j , r), verify whether the equation d1'=d1 is satisfied. If the equation does not hold, the configuration data is discarded. If the equation holds, the following is executed: when r-j+1>n, the device is turned off. Otherwise, the serial number of the communication target controller is changed to r-j+1.

[0040] Preferably, the method comprises the following steps:

[0041] S31: The data management platform SERV and all environmental monitoring data sending devices configure the same shared key ik;

[0042] S32: SERV sends configuration data {group configuration instruction type, r, d2} to all environmental monitoring data sending devices, where r is the configuration parameter and d2=mac(ik, r) is auxiliary data for integrity protection of parameter r;

[0043] S33: When the environment monitoring data sending device SENS j When the configuration data of step S32 is received, d2'=mac(ik, r) is first calculated to verify whether the equation d2'=d2 is satisfied. If the equation does not hold, the configuration data is discarded. If the equation holds, the following is executed: when r-j+1>n, the device is turned off; otherwise, the serial number of the communication target controller is changed to r-j+1.

[0044] Preferably, in step S12, the environment monitoring data sending device SENSj The method for calculating the ciphertext is c3=E(k j , ID Sj , data), after the controller decrypts c3, it also compares the decrypted ID Sj The ID before decryption Sj If they are consistent, the detection data in step S12 is ignored.

[0045] Preferably, the controller updates the identity information of the environment monitoring data sending device communicating with it according to the displacement of the baking room;

[0046] The environmental monitoring data sending device sends data {data description, its own identity information ID Sj , plaintext or ciphertext data of environmental monitoring data}, but does not include the identity information of the controller;

[0047] After receiving the data sent by the environmental monitoring data sending device, the controller performs the following steps:

[0048] a) Check ID Sj Is it consistent with the identity information of the communication device currently matched? If not, discard the data, otherwise continue to execute;

[0049] b) According to the data description requirements, check whether the data is encrypted data,

[0050] If so, then according to ID Sj Find the key k j , execute the decryption algorithm to obtain and record the plaintext data data; otherwise, directly record the data data;

[0051] c) Control the baking room environment according to the value of data.

[0052] Compared with the prior art, the beneficial effects of this application are:

[0053] (1) This application realizes dynamic and precise matching between the environmental monitoring data sending device and the baking room controller through a wireless communication module and a preset strategy, thereby enabling the baking room controller to accurately obtain the baking room environmental parameters, while avoiding problems such as wear, contamination, poor contact, and difficulty in updating of the communication interface during physical connection.

[0054] (2) This application implements encryption of wireless communication by setting communication keys, encryption and decryption algorithms on the baking room controller, environmental monitoring data sending equipment and data management platform, thereby ensuring the security and accuracy of wireless communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0056] Figure 1 This is the system architecture diagram of this application;

[0057] Figure 2 This is a schematic diagram of the first baking room starting baking;

[0058] Figure 3 This is a schematic diagram of the state of all goods loaded in the baking room;

[0059] Figure 4 This is a schematic diagram of the first baking room’s shipping status;

[0060] Figure 5 This is the last baking room baking status diagram. DETAILED DESCRIPTION

[0061] The present application is further described below in conjunction with the accompanying drawings and embodiments.

[0062] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0063] In the present disclosure, terms such as "upper", "lower", "left", "right", "front", "back", "vertical", "horizontal", "side", "bottom" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings. They are relational words determined only for the convenience of describing the structural relationships of the various parts or elements of the present disclosure, and do not specifically refer to any part or element in the present disclosure and should not be understood as limitations on the present disclosure.

[0064] like Figures 1 to 5 As shown, the present application proposes a rail-connected baking room environment monitoring and controller dynamic matching system, including a data management platform SERV and the following equipment: baking room controllers CTRL1, CTRL2, ..., CTRL n , the environmental monitoring data transmission equipment SENS1, SENS2, ..., SENS installed in the baking room n , meeting the following requirements:

[0065] (1) The controller outside the baking room is configured with serial number and identity information, namely (1, ID C1), (2, ID C2 ),...,(n,ID Cn ), the oven room environment monitoring data sending device is respectively configured with a serial number and identity information, namely (1, ID S1 ), (2, ID S2 ),...,(n,ID Sn );

[0066] (2) The controller outside the baking room and the environmental monitoring data sending device inside the baking room are respectively equipped with a data processing module and a wireless communication module;

[0067] (3) SENS, a device for sending environmental monitoring data from the baking room j According to the control instruction and the controller CTRL i Matching is performed. The data sent after the matching is completed will include CTRL i Identity information ID Ci .

[0068] (4) The controller CTRL outside the baking room i According to the received environmental monitoring data from the baking room, the device SENS j Based on the environmental monitoring data, the j-th baking room is controlled to make the baking environment of the j-th baking room meet the requirements of the i-th baking period;

[0069] (5) When the oven moves along the track to the next position, the oven environment monitoring data sending device SENS j With the controller CTRL outside the oven i+1 When i=n, ​​it means SENS j The baking room you are in has left the baking area.

[0070] Data management platform SERV and oven environment monitoring data transmission device SENS j A network connection can be established between them, and a secure data transmission channel can be established when necessary. The architecture diagram of the system is as follows: Figure 1 shown.

[0071] In order to simplify the configuration of identity information and make it closely linked to the serial number, the present application further proposes the following method:

[0072] (1) configuring two functions F(x) and G(x) on the data management platform SERV and the environmental monitoring data sending device;

[0073] (2) The identity information of the controller can be generated by the corresponding serial number, i.e., ID Ci =F(i), i=1, 2, ..., n;

[0074] (3) The identity information of the environmental monitoring data sending device can be generated by a serial number, i.e., ID Sj =G(j), j=1,2, ..., n.

[0075] Before the start of baking, all the baking rooms are empty, so all the controllers do not need to work. At the beginning, when the first baking room is loaded with tobacco, the baking process begins. The first baking room corresponds to the first controller, such as Figure 2 As shown, at this time, the 2nd to nth baking rooms are still empty, and the 2nd to nth controllers have no corresponding baking rooms, so there are no work tasks.

[0076] As the position of the baking room moves, the environmental monitoring data sending devices in the 2nd, 3rd, ..., nth baking rooms are started in sequence; the baking room controller also starts the 2nd, 3rd, ..., up to the nth one accordingly. At the end of baking, that is, the baking and shipping stage after the baking room is loaded with goods, the first baking room leaves the baking area, and the environmental monitoring data sending device in the baking room turns off the 1st device. Then, each time the baking room moves, the environmental monitoring data sending devices in the 2nd, 3rd, ..., nth baking room are turned off in sequence. Accordingly, the baking room controller turns off the 1st, 2nd, ..., up to the nth controllers in sequence.

[0077] like Figure 3 As shown in the figure, when all the curing rooms are full of tobacco leaves, all the controllers are also started, and n curing rooms correspond to n controllers one by one; when the curing rooms are moved next time, the tobacco leaves in the first curing room are cured, and the first controller does not need to work. The state at this time is as follows Figure 4 As shown in Figure 2, when the last baking room reaches the last baking stage, the remaining n-1 baking rooms have completed the baking task, and only the nth controller is working, as shown in Figure 2. Figure 5 As shown; the next time the baking room is moved, the baking of this batch is completed, and then the baking room is moved to the initial stage to restart the next round of baking.

[0078] In order to prevent the data sent by the baking room environment monitoring data sending device from being illegally stolen, this application provides the following security protection method:

[0079] First, configure n different keys, k1, k2, ..., k, in each oven controller. n , which correspond to the ID of the device sending the environmental monitoring data S1 , ID S2 , ..., ID Sn , the environmental monitoring data sending device in the jth baking room is also configured with a key k j , all oven controllers and environmental monitoring data sending devices are configured with encryption algorithm E and decryption algorithm D; when the controller CTRLi SENS environmental monitoring data transmission device j After matching, the controller CTRL i With SENS j When communicating, the key k is used j Encrypt and protect communication data.

[0080] The above solution still has a problem that has not been solved, that is, the environmental monitoring data sending device SENS j How to know which controller to match? Even if the baking room is shifted regularly, the environmental monitoring data sending device SENS needs to have a calibrated clock. This requires SENS to have strong functions. However, in actual baking, it is often necessary to manually determine the moving terraced baking room. This requires SENS to know how to match the controller instead of sending data to the wrong controller.

[0081] To this end, the present invention provides the following method: an environmental monitoring data sending device SENS j The data management platform SERV can send instructions for configuration. The configuration process meets the following steps:

[0082] (1) SERV to SENS j Send configuration data {configuration instruction, parameter r};

[0083] (2) SENS j After receiving the configuration data of step (1), the identity identification number of the controller to be communicated with is set to r-j+1. At the beginning of baking, r=1, at this time SENS1 communicates with CTRL1, and SENS j (j>1) There is no corresponding controller, because r-j+1<0, there is no need to start the system; each time the oven moves, the value of r increases by 1. If r-j+1>n, it means that the oven has been moved out of the test area and the system should be shut down; when r=2n, only the nth section of the oven is still in the baking area;

[0084] The detection data sent by the environmental detection equipment includes {ID C(r-j+1) , data}, where ID C(r-j+1) It is related to SENS in the baking room j The identity of the communicating controller, data is the environmental monitoring data;

[0085] (3) When the identity identifier is ID Ct After receiving the above detection data, the controller checks whether the equation ID is satisfied Ct =ID C(r-j+1) , that is, whether t is equal to r-j+1, t is the controller ID CtIf the identity number is met, data is recorded and the environment is controlled according to the value of data, otherwise the detection data is ignored.

[0086] If the entire row of ovens moves together, you only need to configure r for all SENS groups. When the row of ovens moves, SENS is automatically triggered, or SENS can sense the movement of the ovens. Then the configuration parameters can be automatically incremented according to the movement of the ovens, that is, the value of r increases by 1 each time the ovens move.

[0087] If SENS cannot be triggered when the terraced oven is moved, it is necessary to update the value of r for all SENS groups while moving the oven, that is, increase it by 1.

[0088] If one or several sections of the terraced ovens are moved, the SENS corresponding to the moved ovens need to be configured with the increased value r.

[0089] Furthermore, in order to prevent the configuration information of the data management platform from being stolen or forged, this application uses a data encryption algorithm for protection, which specifically includes the following steps:

[0090] (1) The data management platform SERV uses k j Encrypt parameter r, and get c1=E(k j , r), and then sent to the environmental monitoring data sending device SENS j Configuration data {configuration instructions, c1};

[0091] (2) SENS j After receiving the configuration data of step (1), decrypt c1 according to the configuration instruction to obtain the parameter r. If r-j+1<1, the system will not be started.

[0092] If r-j+1>n, shut down the system;

[0093] If n≧r-j+1≧1, continue execution: then change the identity of the communication target to r-j+1.

[0094] Furthermore, in order to improve efficiency, it is not necessary to send the configuration information to each environment monitoring data sending device SENS separately. The present application uses the following method: the data management platform SERV can configure the configuration settings of all environment monitoring data sending devices by broadcasting, including the following steps:

[0095] (1) SERV to SENS j Send configuration data {group configuration instruction type, parameter r};

[0096] (2) SENS j After receiving the configuration data of step (1), if r-j+1<1, the system will not be started;

[0097] If r-j+1>n, shut down the system;

[0098] If n≧r-j+1≧1, continue to execute: change the identity of the communication target to r-j+1, that is, associate with the r-j+1th controller.

[0099] In order to prevent environmental monitoring data from being stolen, data security protection is required. The specific method includes the following steps:

[0100] (1) SERV to SENS j Send configuration data {group configuration instruction type, parameter r};

[0101] (2) SENS j After receiving the data from step (1), if r-j+1<1, the system will not be started;

[0102] If r-j+1>n, shut down the system;

[0103] If n≧r-j+1≧1, continue to execute: change the serial number of the communication target controller to r-j+1, that is, associate it with the r-j+1th controller, and calculate the corresponding identity ID C(r-j+1) , using key k j Encrypt the environmental monitoring data data and get c2=E(k j , data), sends detection data {own identity information IDSj, controller identity information IDC(r-j+1), ciphertext c2} to the controller;

[0104] (3) When the identity identifier is ID Ct After receiving the detection data, the controller checks whether the equation ID is satisfied. Ct =ID C(r-j+1) , that is, whether t is equal to r-j+1, if it is satisfied, then according to ID Sj Find the key k j , decrypt c to get data data, then record data, and control the environment according to the value of data, otherwise ignore the detection data.

[0105] Furthermore, in order to protect the configuration data from being illegally tampered with or forged, data integrity protection is required. The method provided in this application includes the following steps:

[0106] (1) In the data management platform SERV and the environmental monitoring data sending device SENS j Configure a shared key between j and data integrity protection algorithm mac;

[0107] (2) SERV to SENS j Send configuration data {group configuration instruction type, r, d}, where r is the configuration parameter, d1=mac(ik j , r) is the auxiliary data for integrity protection of parameter r;

[0108] (3) When the environmental monitoring data sending device SENS j When receiving the configuration data of step S22, first calculate d1'=mac(ik j , r), verify whether the equation d1'=d1 is satisfied. If the equation does not hold, the configuration data is discarded. If the equation holds, the following is executed: when r-j+1>n, the device is turned off. Otherwise, the serial number of the communication target controller is changed to r-j+1.

[0109] For group configuration, security protection is more needed. The method provided in this application includes the following steps:

[0110] (1) The data management platform SERV and all environmental monitoring data sending devices are configured with the same shared key ik;

[0111] (2) SERV sends configuration data {group configuration instruction type, r, d2} to all environmental monitoring data sending devices, where r is the configuration parameter and d2 = mac(ik, r) is the auxiliary data for integrity protection of parameter r;

[0112] (3) When the environmental monitoring data sending device SENS j When the configuration data of step S32 is received, d2'=mac(ik, r) is first calculated to verify whether the equation d2'=d2 is satisfied. If the equation does not hold, the configuration data is discarded. If the equation holds, the following is executed: when r-j+1>n, the device is turned off; otherwise, the serial number of the communication target controller is changed to r-j+1.

[0113] Furthermore, in order to ensure that the environmental monitoring data comes from a legitimate monitoring device, the present application provides a method for realizing data security protection and source authentication through an encryption algorithm. The specific steps are as follows: the environmental monitoring data sending device SENS j The method for calculating the ciphertext is c3=E(k j , ID Sj , data), after the controller decrypts the data c3, it also compares the decrypted ID Sj The ID before decryption Sj If they are consistent, ignore the detection data.

[0114] The basic principle of the above method is to match the environmental monitoring data sending device with the controller. In fact, the controller can also be matched with the environmental monitoring data sending device, that is, the controller can be matched with the baking room. The specific method of this application is as follows:

[0115] (1) The controller updates the identity information of the environmental monitoring data sending device communicating with the controller according to the displacement of the baking room;

[0116] (2) The environmental monitoring data sending device sends data {data description, its own identity information ID Sj , plaintext or ciphertext data of environmental monitoring data}, but does not include the identity information of the controller;

[0117] (3) After receiving the data in step (2), the controller performs the following steps:

[0118] (a) Check ID Sj Whether it is consistent with the identity information of the communication device currently matched; if not, discard the data, otherwise continue to execute;

[0119] (b) According to the data description requirements, check whether data is encrypted data; if so, Sj Find the key k j , execute the decryption algorithm to obtain and record the plaintext data data; otherwise, directly record the data data;

[0120] (c) Control the baking room environment according to the value of data.

[0121] Several embodiments of the present application are given below. Those skilled in the art should understand that these embodiments do not limit the technical methods of the present invention.

[0122] Example 1: Assume that a rail-connected baking room has n=13 baking rooms and 13 controllers. The identities of the controllers are CC01, CC02, ..., CC13, and the identities of the baking room environment detection data sending devices are SS01, SS02, ..., SS03. The environmental control equipment in the baking room (oven or heat pump, hair dryer, water sprayer, etc.) also uses SS01, SS02, ..., SS13 as its own identity. It can also be said that the production function of the controller identity information is IDC i =F(i)=CC||i, i=1,2,...,13, the identity information generation function of the environmental monitoring data sending device is IDS j =G(j)=SS||j, j=1,2,...,13, CC||i is the string CC plus the number i, SS||j is the string SS plus the number j.

[0123] At the beginning of tobacco curing, the data sent by the environmental monitoring data sending device SENS1 includes not only its own identity SS01 but also the identity CC01 of the controller CTRL1. When the rail-connected curing barns are shifted forward once, the data sent by the environmental monitoring data sending device SENS1 includes its own identity SS01 and the identity CC02 of the controller CTRL2, while the data sent by CTRL2 includes its own identity CC02 and the identity SS01 of SENS1, and so on, until all curing barns are loaded. At this time, the corresponding relationship between the curing barns and the controllers is as follows: Figure 3 As shown, the data sent by the environment monitoring data sending device respectively carry its own identity identifiers SS01, SS02, ..., SS13 and the identity identifiers CC13, CC12, ..., CC01 of the controller.

[0124] When the controller CTRL2 receives the data sent by the environmental monitoring data sending device SENS5, it determines the environmental parameters of the controlled baking room according to its own identity information CC02 carried in the data, and then sends a control instruction according to these parameters. The control instruction includes the identity information SS05 of the baking room environment control device. In this way, the baking room environment data and the controller can be dynamically matched.

[0125] Embodiment 2: Based on the scenario of embodiment 1, further data security protection settings are added.

[0126] Keys k1, k2, ..., k13 are preset in each controller, and a key is preset in each baking room equipment, that is, the preset keys of these baking room equipment are k1, k2, ..., k13 respectively. When the environmental monitoring data sending device SENS5 sends data to the controller CTRL2, the data format is as follows:

[0127] SENS5 to IDC2: SS05, CC02, E k5 (CC02, data)

[0128] When the controller CTRL2 receives the above data and detects its own identity information CC02, it executes the following steps: (1) Search for the key k5 based on the identity information SS05 of the data source; (2) Use k5 to decrypt the data; (3) Compare the identity data CC02 before and after decryption to see if they are consistent. If they are consistent, continue to execute, otherwise discard the data; (4) Control the baking room based on the environmental monitoring data data.

[0129] When the controller CTRL2 needs to control the baking room where SS05 is located, the control command cmd is sent in the following way.

[0130] IDC2 to SENS5: CC02, SS05, Ek5 (SS05, cmd)

[0131] When the baking room control device where SS05 is located receives the above data and detects its own identity information SS05, it executes the following steps: (1) Decrypt the data using its own key k5; (2) Compare the SS05 before and after decryption to see if they are consistent. If they are consistent, continue to execute; otherwise, discard the data; (3) Execute the command cmd, where it is assumed that cmd includes all the information required for the specific control operation.

[0132] Example 3: Based on the scenario of Example 1, assume that all baking room environment detection data transmission devices SENS j and the data processing platform share a key k0.

[0133] The data processing platform SERV provides all SENS j Send data c=E k0 (a, b) is used to adjust the dynamic matching between the baking room and the controller, where 0≦a, b≦13. The baking room environment inspection data transmitter can determine whether it needs to send environmental monitoring information and the identity information of the target controller based on the value of (a, b).

[0134] When (a, b)=(1,1), it indicates that the first baking room is at the position of the first controller, which means baking has started. When the baking room moves, the data sent by the data processing platform are (a, b)=(1,2), (1,3), ..., (1,13), (2,13), (3,13), ..., (13,13), (0,0), where (0,0) indicates that this round of baking is over and all equipment in the baking room can enter a non-working state.

Claims

1. A rail-connected baking room environment monitoring and controller dynamic matching system, including a data management platform SERV and the following equipment: baking room controllers CTRL1, CTRL2, ..., CTRL n , the environmental monitoring data transmission equipment SENS1, SENS2, ..., SENS installed in the baking room n , characterized in that: The controller outside the baking room is configured with serial number and identity information, namely (1, ID C1 ), (2, ID C2 ),...,(n,ID Cn ), the oven room environment monitoring data sending device is respectively configured with a serial number and identity information, namely (1, ID S1 ), (2, ID S2 ),...,(n,ID Sn ); The controller outside the baking room and the environmental monitoring data sending device inside the baking room are respectively equipped with a data processing module and a wireless communication module; The SENS device for transmitting the environmental monitoring data in the baking room j According to the control instruction and the controller CTRL i Matching is performed. The data sent after the matching is completed will include CTRL i Identity information ID Ci ; The controller outside the baking room CTRL i According to the received environmental monitoring data from the baking room, the device SENS j Based on the environmental monitoring data, the j-th baking room is controlled to make the baking environment of the j-th baking room meet the requirements of the i-th baking period; When the oven moves along the track to the next position, the environmental monitoring data in the oven is sent to the SENS device. j With the controller CTRL outside the oven i+1 Matching connection, when i=n, ​​it means SENS j The baking room has left the baking area, and n is the number of baking rooms.

2. A rail-connected baking room environment monitoring and controller dynamic matching system as claimed in claim 1, characterized in that: Two functions F(x) and G(x) are configured on the data management platform SERV and the environmental monitoring data sending device. The identity information of the controller can be generated by the corresponding serial number, i.e., ID Ci =F(i), i=1, 2, ..., n, the identity information of the environment monitoring data sending device can be generated by a serial number, that is, ID Sj =G(j), j=1, 2, ..., n.

3. A track-linked baking room environment monitoring and controller dynamic matching system according to any one of claim 1 or claim 2, characterized in that: In the baking and loading stage, the environment monitoring data sending device in the first baking room is first started, and then the environment monitoring data sending devices in the second, third, ..., nth baking rooms are started in sequence each time the baking room position is moved, and the baking room controller starts the first, second, ..., nth controllers in sequence; At the end of baking, that is, the baking and shipping stage after the baking room is loaded with goods, when the first baking room leaves the baking area, the environmental monitoring data sending device in the baking room turns off the first device, and then each time the baking room moves, the environmental monitoring data sending devices in the second, third, ..., nth baking rooms are turned off in turn; accordingly, the baking room controller turns off the first, second, up to the nth devices in turn.

4. A rail-linked baking room environment monitoring and controller dynamic matching system as claimed in claim 3, characterized in that: The baking room controller is also configured with n different keys, k1, k2, ..., k n , which correspond to the ID of the device sending the environmental monitoring data S1 , ID S2 , ..., ID Sn , the environmental monitoring data sending device in the jth baking room is also configured with a key k j ; All oven controllers and environmental monitoring data transmission devices are configured with encryption algorithm E and decryption algorithm D. i SENS environmental monitoring data transmission device j After matching, the controller CTRL i With SENS j When communicating, the key k is used j Encrypt and protect communication data.

5. A rail-connected baking room environment monitoring and controller dynamic matching system as claimed in claim 4, characterized in that: The method for matching the environment monitoring data sending device SENSj with the controller is as follows: Environmental monitoring data transmission equipment SENS j The data management platform SERV can send instructions for configuration. The configuration process meets the following steps: S01: SERV to SENS j Send configuration data {configuration instruction, parameter r}; S02: SENS j After receiving the configuration data of step S01, the identity identification number of the controller communicating with it is set to r-j+1. At the beginning of baking, r=1, at this time SENS1 communicates with CTRL1. When j>1, SENS j There is no corresponding controller, so there is no need to start the system. Each time the oven moves, the value of r increases by 1. If r-j+1>n, the system should be shut down. The detection data sent by the environmental detection equipment is {ID C(r-j+1) , data}, where data is environmental monitoring data; S03: When the identity is ID Ct The controller receives the detection data {ID C(r-j+1) , data}, check whether the equation ID is satisfied Ct = ID C(r-j+1) , that is, whether t is equal to r-j+1, t is the controller ID Ct The identification number of If satisfied, record data and perform environmental control based on the value of data; otherwise, ignore the detection data.

6. A rail-connected baking room environment monitoring and controller dynamic matching system as claimed in claim 5, characterized in that: In step S01, the data management platform SERV uses k j Encrypt parameter r, and get c1=E(k j , r), and then sent to the environmental monitoring data sending device SENS j Configuration data {configuration instructions, c1}; In step S02, SENS j After receiving the configuration data of step S01, c1 is decrypted according to the configuration instruction to obtain the parameter r.

7. A rail-linked baking room environment monitoring and controller dynamic matching system as claimed in claim 5, characterized in that: The data management platform SERV can configure the configuration settings of all environmental monitoring data sending devices by broadcasting, including the following steps: S11: SERV to SENS j Send configuration data {group configuration instruction type, parameter r}; S12: SENS j After receiving the configuration data in step S11, if r-j+1<1, the system is not started; If r-j+1>n, shut down the system; If n≧r-j+1≧1, continue execution: change the identity of the communication target to r-j+1, that is, associate with the r-j+1th controller.

8. A rail-connected baking room environment monitoring and controller dynamic matching system as claimed in claim 6, characterized in that: The data management platform SERV can configure the configuration settings of all environmental monitoring data sending devices by broadcasting, including the following steps: S11: SERV to SENS j Send configuration data {group configuration instruction type, parameter r}; S12: SENS j After receiving the data of step S11, if r-j+1<1, the system will not be started; If r-j+1>n, shut down the system; If n≧r-j+1≧1, continue to execute: change the identity of the communication target to r-j+1, that is, associate with the r-j+1th controller and calculate the corresponding identity ID C(r-j+1) , using key k j Encrypt the environmental monitoring data data and get c2=E(k j , data), sends detection data {own identity information IDSj, controller identity information IDC(r-j+1), ciphertext c2} to the controller; S13: When the identity is ID Ct After receiving the detection data, the controller checks whether the equation ID is satisfied. Ct =ID C(r-j+1) , that is, whether t is equal to r-j+1, if it is satisfied, then according to ID Sj Find the key k j , decrypt c2 to get data, then record data, and control the environment according to the value of data, otherwise ignore the detection data.

9. A rail-linked baking room environment monitoring and controller dynamic matching system as claimed in claim 8, characterized in that: The steps include: S21: In the data management platform SERV and the environment monitoring data sending device SENS j Configure a shared key between j and data integrity protection algorithm mac; S22: SERV to SENS j Send configuration data {group configuration instruction type, r, d1}, where r is the configuration parameter, d1=mac(ik j , r) is the auxiliary data for integrity protection of parameter r; S23: When the environment monitoring data sending device SENS j When receiving the configuration data of step S22, first calculate d1'=mac(ik j , r), verify whether the equation d1'=d1 is satisfied. If the equation does not hold, the configuration data is discarded. If the equation holds, the following is executed: when r-j+1>n, the device is turned off. Otherwise, the serial number of the communication target controller is changed to r-j+1.

10. A rail-connected baking room environment monitoring and controller dynamic matching system as claimed in claim 8, characterized in that: In step S12, the environment monitoring data sending device SENS j The method for calculating the ciphertext is c3=E(k j , ID Sj ,data), after the controller decrypts c3, it also compares the decrypted ID Sj The ID before decryption Sj If they are consistent, the detection data in step S12 is ignored.

11. A track-linked baking room environment monitoring and controller dynamic matching system according to any one of claim 8 or claim 9, characterized in that: The controller updates the identity information of the environment monitoring data sending device communicating with it according to the displacement of the baking room; The environmental monitoring data sending device sends data {data description, its own identity information ID Sj , plaintext or ciphertext data of environmental monitoring data}, but does not include the identity information of the controller; After receiving the data sent by the environmental monitoring data sending device, the controller performs the following steps: a) Check ID Sj Is it consistent with the identity information of the communication device currently matched? If not, discard the data, otherwise continue to execute; b) According to the data description requirements, check whether the data is encrypted data, If so, then according to ID Sj Find the key k j , execute the decryption algorithm to obtain and record the plaintext data data; otherwise, directly record the data data; c) Control the baking room environment according to the value of data.

Citation Information

Patent Citations

  • Segmented energy-saving conditioning integrated tobacco curing barn and curing technology

    CN103734891A

  • Optical sensor system and method for measuring physiological parameters

    EP4295753A1