Cold chain cargo tracking method, device and equipment and storage medium
By using the driver's facial biometrics and vehicle identification information on the vehicle to encrypt cargo status information in cold chain cargo tracking, the problem of insufficient data security is solved and higher data transmission security is achieved.
Patent Information
- Application Number
- CN202410562607.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The security of data in the cold chain cargo tracking process in the existing technology is poor, which can easily lead to the leakage of commercial privacy.
The cargo status information is encrypted by using the facial biometric sequence and vehicle identification information of the current driver on the vehicle to generate the first secret key and the second secret key, which can only be obtained when the criminals obtain the correct biometric and identification information. Decrypt data and increase the security of data transmission.
It effectively improves the security of data in the cold chain cargo tracking process, ensuring that only individuals who have legally obtained biometric and identification information can decrypt the data, significantly increasing the difficulty of encrypting data.
Smart Images

Figure CN118657463A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of logistics, and in particular to a cold chain cargo tracking method, device, equipment and storage medium. Background Art
[0002] At present, with the rapid development of e-commerce, the types of goods that users can buy on shopping platforms are increasing, which has led to the growing logistics and transportation business. In order to maintain the freshness of fresh food during transportation, cold chain transportation has come into being. In the process of cold chain transportation, in order to ensure transportation efficiency and service quality, cold chain transportation also needs to adopt efficient logistics management systems and advanced logistics technologies to achieve real-time tracking and status monitoring of goods. However, in the process of cold chain transportation vehicles uploading the information of goods to the monitoring terminal, since the information is public, it is easy to cause the leakage of commercial privacy.
[0003] In summary, in the process of tracking cold chain goods in the prior art, there is a technical problem of poor data security. Summary of the invention
[0004] The embodiments of the present invention provide a cold chain cargo tracking method, device, equipment and storage medium, which solve the technical problem of poor data security in the process of tracking cold chain cargo in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a cold chain cargo tracking method, the method comprising:
[0006] Periodically receiving encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, wherein the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver;
[0007] Acquire the driver information and the second vehicle identification information of the vehicle at the current transport node from the transport plan table, wherein the vehicle identification information corresponding to each of the vehicle terminals and the driver information of different transport nodes are pre-entered in the transport plan table;
[0008] Acquire a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature;
[0009] Generate a second secret key according to the second vehicle identification information and the second facial biometric sequence;
[0010] Decrypting the encrypted data using the second secret key, and obtaining the status information when the decryption is successful;
[0011] A cargo tracking detection report for the current cycle is generated based on the status information.
[0012] In a second aspect, an embodiment of the present invention provides a cold chain cargo tracking device, the device comprising:
[0013] a data receiving module, configured to periodically receive encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, wherein the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver;
[0014] A vehicle information acquisition module, used to acquire the driver information and second vehicle identification information of the vehicle at the current transport node from the transport plan table, wherein the vehicle identification information corresponding to each of the vehicle-mounted terminals and the driver information of different transport nodes are pre-entered in the transport plan table;
[0015] A feature sequence generating module, configured to obtain a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature;
[0016] A secret key generation module, used to generate a second secret key according to the second vehicle identification information and the second facial biometric feature sequence;
[0017] a decryption module, configured to decrypt the encrypted data using the second secret key, and obtain the status information if the decryption is successful;
[0018] The report generation module is used to generate a cargo tracking detection report for the current cycle according to the status information.
[0019] In a third aspect, an embodiment of the present invention provides a cold chain cargo tracking device, the cold chain cargo tracking device comprising a processor and a memory;
[0020] The memory is used to store a computer program and transmit the computer program to the processor;
[0021] The processor is used to execute a cold chain cargo tracking method as described in the first aspect according to the instructions in the computer program.
[0022] In a fourth aspect, an embodiment of the present invention provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute a cold chain cargo tracking method as described in the first aspect.
[0023] The embodiment of the present invention provides a cold chain cargo tracking method, device, equipment and storage medium. In the transmission process of cargo status information, the embodiment of the present invention uses the facial biometric sequence of the current driver on the vehicle and the vehicle identification information to encrypt the status information. Even if the encrypted data is intercepted by criminals during the transmission process, the criminals need to obtain the facial biometric sequence and vehicle identification information of the current driver before they can decrypt the encrypted data. The facial biometric sequence and vehicle identification information are difficult for criminals to obtain, which greatly increases the difficulty of decrypting the encrypted data. In addition, the embodiment of the present invention associates the secret key with the vehicle and the driver, so that the secret keys of the encrypted data uploaded by different vehicle terminals are also different. The embodiment of the present invention can improve the security of data during the upload of cargo status information, and solves the technical problem of poor data security in the prior art during the tracking of cold chain cargo. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic flow chart of a cold chain cargo tracking method provided by an embodiment of the present invention.
[0025] Figure 2 A specific schematic diagram of a cold chain cargo tracking method provided by an embodiment of the present invention.
[0026] Figure 3 A schematic diagram of the structure of a cold chain cargo tracking device provided by an embodiment of the present invention.
[0027] Figure 4 A schematic diagram of the structure of a cold chain cargo tracking device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0029] like Figure 1 As shown, Figure 1 A flowchart of a cold chain cargo tracking method provided by an embodiment of the present invention. The cold chain cargo tracking method provided by an embodiment of the present invention can be executed by a cold chain cargo tracking device, which can be implemented by software and / or hardware. The cold chain cargo tracking device can be composed of two or more physical entities, or can be composed of one physical entity. For example, the cold chain cargo tracking device can be a computer, a host computer, or a server. The method includes the following steps:
[0030] Step 101, periodically receiving encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photograph of the vehicle driver.
[0031] In this embodiment, each vehicle used to perform the cold chain transportation task is equipped with a vehicle-mounted terminal, which is wirelessly connected to the cold chain cargo tracking device, and the vehicle-mounted terminal and the cold chain cargo tracking device can communicate with each other wirelessly. In this embodiment, the vehicle-mounted terminal needs to periodically upload encrypted data to the cold chain cargo tracking device. Specifically, in the process of generating encrypted data, the vehicle-mounted terminal first needs to take a current face photo of the driver in the vehicle through a camera, and then generate a first face feature sequence based on the face photo, wherein the face feature sequence is a sequence including face feature information in the face image. Exemplarily, a camera is also installed in the cockpit of each vehicle, and the vehicle-mounted terminal has the authority to control the camera. After the vehicle-mounted terminal controls the camera to take the driver's face photo, a face feature recognition algorithm is used to perform feature recognition on the face photo, and face feature data is obtained from the face photo. After that, the face feature data is converted to obtain a face feature sequence. For example, the face feature data is converted into binary data, octal data or hexadecimal data, etc., so as to obtain a face feature sequence. In one embodiment, the SHA256 algorithm may be used to perform binary conversion on the facial feature data to obtain a facial feature sequence.
[0032] After generating the first facial biometric sequence, the vehicle terminal also needs to obtain the first vehicle identification information of the vehicle. The first vehicle identification information is used to identify the characteristics of the vehicle on which the vehicle terminal is installed. For example, the first vehicle identification information may be license plate information or vehicle model information. After the vehicle terminal is installed on the vehicle, the user may input the first vehicle identification information into the vehicle terminal in advance, thereby binding the vehicle terminal to the first vehicle identification information. After obtaining the first vehicle identification information, the vehicle terminal may generate the first secret key based on the first facial biometric sequence and the first vehicle identification information.
[0033] In the process of generating the first secret key, the vehicle terminal needs to simultaneously obtain the status information of the goods currently transported in the carriage, such as the temperature and humidity of the goods. The temperature and humidity information can be collected by sensors, and the vehicle terminal is connected to the sensor for communication. Afterwards, the vehicle terminal can use the first secret key to encrypt the status information, generate encrypted data, and transmit the encrypted data to the cold chain tracking device.
[0034] In addition, it can be understood that the cycle in this embodiment can be set according to actual needs. For example, the cycle can be set to 15 minutes or 30 minutes, etc. It can be set according to actual needs and is not specifically limited in this embodiment.
[0035] Based on the above embodiment, the first secret key is generated by the vehicle terminal through the following method:
[0036] Step 1011: Determine first vehicle characteristic information according to the first vehicle identification information.
[0037] In one embodiment, when the vehicle terminal generates the first secret key, it first needs to determine the first vehicle characteristic information according to the first vehicle identification information. For example, when the first vehicle identification information is the license plate information, the text features in the license plate information can be used as the first vehicle characteristic information; and when the first vehicle identification information is the vehicle model information, the image features of the vehicle model can be used as the first vehicle characteristic information.
[0038] On the basis of the above embodiment, the first vehicle identification information is the license plate information. When the first vehicle identification information is the license plate information, determining the first vehicle characteristic information according to the first vehicle identification information includes:
[0039] The text feature information is extracted from the license plate information, and the text feature information is determined as the first vehicle feature information.
[0040] In one embodiment, when the first vehicle identification information is license plate information, text features can be extracted from the license plate information to obtain text feature information, and the text feature information is used as the first vehicle feature information. For example, the license plate information can be the text content of the license plate, and the vehicle-mounted terminal can extract the text feature information by using a tape model, word embedding, n-gram, and document embedding. The specific process can refer to the prior art and is not specifically limited in this embodiment.
[0041] On the basis of the above embodiment, the first vehicle identification information is vehicle type information. In the case where the first vehicle identification information is vehicle type information, determining the first vehicle characteristic information according to the first vehicle identification information includes:
[0042] The corresponding vehicle model standard picture is obtained according to the vehicle model information, and the feature recognition is performed on the vehicle model standard picture to obtain the vehicle model feature information.
[0043] The first vehicle characteristic information is generated according to the vehicle type characteristic information.
[0044] In another embodiment, the first vehicle identification information may also be vehicle model information. After the vehicle-mounted terminal is installed on the vehicle, the vehicle model information may be input in advance into the vehicle-mounted terminal. When the first characteristic feature information needs to be generated later, the vehicle-mounted terminal may obtain a vehicle model standard picture corresponding to the vehicle model information based on the vehicle model information, wherein the vehicle model standard picture is a standard picture officially released by the vehicle model. For example, the vehicle-mounted terminal may obtain a vehicle model standard picture corresponding to the vehicle model information from the official website by accessing the Internet, or may obtain a vehicle model standard picture corresponding to the vehicle model information by accessing the Ministry of Industry and Information Technology. After obtaining the vehicle model standard picture, it is necessary to further perform feature recognition on the vehicle model standard picture to obtain vehicle model feature information, and then the vehicle model feature information is used as the first vehicle feature information by the vehicle-mounted terminal.
[0045] Step 1012: Fuse the first facial biometric sequence and the first vehicle feature information to obtain a first secret key.
[0046] After obtaining the first facial biometric sequence and the first vehicle characteristic information, the vehicle-mounted terminal needs to fuse the first facial biometric sequence and the first vehicle characteristic information to generate a first secret key. Exemplarily, in this embodiment, different data fusion methods can be called according to the specific type of the first vehicle characteristic information to fuse the first facial biometric sequence and the first vehicle characteristic information.
[0047] On the basis of the above embodiment, when the first vehicle characteristic information is text characteristic information, the first facial biometric characteristic sequence and the first vehicle characteristic information are merged to obtain a first secret key, including:
[0048] The first preset rule is called, and the first vehicle feature information and the first facial biometric feature sequence are merged according to the first preset rule to obtain a first secret key.
[0049] In one embodiment, when the first vehicle feature information is text feature information, when the first facial biometric sequence and the first vehicle feature information are fused, it is necessary to call the first preset rule, and insert the text feature information into the first facial biometric sequence according to the first preset rule to obtain the first secret key. Exemplarily, the first preset rule may specify the form of splicing the text feature information and the first facial biometric sequence, for example, specifying the position where each text feature in the text feature information is inserted into the first facial biometric sequence, and inserting the text feature information into the corresponding position of the first facial biometric sequence according to the first preset rule during fusion to obtain the first secret key. In another embodiment, if the text feature information is a vector representation obtained by word embedding or document embedding, and the first facial biometric sequence is extracted based on a time series or sequence model (such as LSTM, Transformer), the first preset rule may be to use a deep learning model to fuse the first vehicle feature information and the first facial biometric sequence to obtain the first secret key.
[0050] In the case where the first vehicle characteristic information is vehicle type characteristic information, the first facial biometric characteristic sequence and the first vehicle characteristic information are merged to obtain a first secret key, including:
[0051] The second preset rule is called, and the first vehicle feature information and the first facial biometric feature sequence are merged according to the second preset rule to obtain a first secret key.
[0052] In another embodiment, when the first vehicle characteristic information is vehicle type characteristic information, it is necessary to call the second preset rule to fuse the first vehicle characteristic information and the first facial biometric sequence. Exemplarily, the second preset rule may be to generate a vehicle type characteristic sequence according to the vehicle type characteristic information, and then concatenate the vehicle type characteristic sequence and the first facial biometric sequence to obtain the first secret key. Alternatively, the second preset rule may be to use techniques such as principal component analysis (PCA) or linear discriminant analysis (LDA) to map the vehicle type characteristic information and the first facial biometric sequence to the same subspace, and then fuse them in the subspace to obtain the first secret key. Alternatively, the vehicle type characteristic information and the first facial biometric sequence are respectively embedded through their respective corresponding deep learning models, and then fused in the embedding space to obtain the first secret key.
[0053] In this embodiment, the status information is encrypted by using the first facial biometric sequence of the current driver in the vehicle and the first vehicle identification information. Even if the encrypted data is intercepted by criminals during transmission, the criminals need to obtain the facial biometric sequence and vehicle identification information of the current driver before they can decrypt the encrypted data. The facial biometric sequence and vehicle identification information are difficult for criminals to obtain, and it is difficult for criminals to imagine that the secret key for encrypting the status information is related to the current vehicle and the driver in the vehicle, which greatly increases the difficulty of decrypting the encrypted data.
[0054] Step 102: Obtain the driver information and second vehicle identification information of the vehicle at the current transport node from the transport plan table. The transport plan table is pre-entered with vehicle identification information corresponding to each vehicle terminal and driver information of different transport nodes.
[0055] After receiving the encrypted data uploaded periodically by the vehicle terminal, the cold chain cargo tracking device will obtain the driver information and the second vehicle identification information of the vehicle at the current transportation node from the transportation plan. In this embodiment, the transportation plan needs to be set in advance, and the transportation plan includes the vehicle identification information of the vehicle corresponding to each vehicle terminal, and the driver information of the vehicle corresponding to each vehicle terminal at different transportation nodes. The vehicle identification information of the vehicle corresponding to each vehicle terminal can be entered into the transportation plan after the vehicle terminal is installed on the vehicle, and the driver information of the vehicle corresponding to each vehicle terminal at different transportation nodes can be obtained according to the typesetting plan, where it should be noted that different transportation nodes refer to different transportation sections on the way to transport goods from the starting point to the end point. In order to avoid fatigue driving, different transportation sections may arrange different drivers to drive, and different drivers have different driver information. In this embodiment, the encrypted data uploaded by the vehicle terminal also includes unencrypted vehicle terminal identification information. The cold chain cargo tracking device can determine the corresponding vehicle terminal according to the vehicle terminal identification information, and obtain the driver information and the second vehicle identification information of the vehicle at the current transportation node corresponding to the vehicle terminal from the transportation plan.
[0056] Step 103: Acquire a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature.
[0057] After obtaining the driver information, the cold chain cargo tracking device needs to further obtain the second facial feature corresponding to the driver information, and generate a second facial biometric sequence based on the second facial feature. In one embodiment, the cold chain cargo tracking device can obtain the corresponding facial photo from the database based on the driver information, and extract the second facial biometric from the facial photo. In another embodiment, the pre-generated second facial biometric can also be directly obtained based on the driver information. After obtaining the second facial biometric, the second facial biometric sequence can be generated based on the second facial biometric. The specific process is similar to the process of generating the second facial biometric sequence, and will not be repeated in this embodiment.
[0058] Step 104: Generate a second secret key based on the second vehicle identification information and the second facial biometric sequence.
[0059] After obtaining the second vehicle identification information and the second facial biometric sequence, the second secret key can be generated according to the second vehicle identification information and the second facial biometric sequence. The specific process is similar to the process of generating the first secret key, and will not be repeated in this embodiment.
[0060] Step 105: Decrypt the encrypted data using the second secret key, and obtain status information if the decryption is successful.
[0061] After the second secret key is generated, the second secret key can be used to decrypt the encrypted data received by the vehicle terminal. When the first secret key and the second secret key are consistent, the decryption can be successful, thereby obtaining the status information of the goods. If the first secret key and the second secret key are inconsistent, the decryption cannot be successful. If the first secret key and the second secret key are inconsistent, since the vehicle installed on the vehicle terminal will not change, that is, the first vehicle identification information and the second vehicle identification information are consistent, the reason may be that the driver currently driving the vehicle is inconsistent with the driver arranged in the transportation plan. However, in the freight industry, after the driver is assigned, the probability of a sudden change of the driver during the transportation of the goods is extremely low, and generally only occurs in some very special cases. Therefore, the impact of monitoring the status of the goods can be ignored. If the current vehicle must temporarily replace other drivers due to an emergency, the replaced driver can be required to upload his own photos and related information, and then update the driver information in the transportation plan, so that the first secret key and the second secret key generated in the next cycle are consistent.
[0062] Based on the above embodiment, the current transport node in the transport plan includes the driver information of two drivers. In some cases, for example, when the driving path of the current transport node is long, a vehicle needs to be equipped with two drivers to take turns driving in a transport node. If the second key generated for the first time cannot be decrypted in this case, it is necessary to obtain the driver information of another driver to regenerate the third key. Specifically, the method provided in the embodiment of the present invention also includes the following steps:
[0063] Step 1051: In case of decryption failure, obtain another driver information under the current transportation node from the transportation plan table, obtain the corresponding third facial biometric feature based on the other driver information, and generate a third facial biometric feature sequence based on the third facial biometric feature.
[0064] In this embodiment, if the encrypted data cannot be decrypted using the generated second secret key, it is necessary to obtain the driver information of another driver on the vehicle at the current transport node from the transport plan table, and obtain the corresponding third facial biometric feature based on the other driver information, and generate a third facial biometric feature sequence based on the third facial biometric feature.
[0065] Step 1052: Generate a third secret key based on the second vehicle identification information and the third facial biometric sequence.
[0066] After generating the third facial feature sequence, it is necessary to further generate a third secret key based on the second vehicle identification information and the third facial biometric feature sequence. The specific process is similar to the process of generating the first secret key and will not be repeated in this embodiment.
[0067] Step 1053: Use the third secret key to decrypt the encrypted data. If the decryption still fails, an alarm is issued.
[0068] After the third key is generated, the encrypted data can be decrypted using the third key. If the encrypted data cannot be decrypted using the third key, it can be determined that an abnormality has occurred and an alarm is issued. After receiving the alarm, the monitoring personnel can view the current location of the vehicle in real time and contact the driver scheduled in the transportation schedule to determine the abnormality.
[0069] Step 106: Generate a cargo tracking and detection report for the current cycle based on the status information.
[0070] If the encrypted data is successfully decrypted to obtain the status information, a cargo tracking and detection report for the current cycle can be generated based on the status information. For example, the cargo tracking and monitoring report includes the temperature, humidity, starting point, end point, transportation time, and current location of the cargo. The monitoring personnel can determine the specific situation of the cargo in the current cycle by viewing the cargo tracking and monitoring report to monitor the status of the cargo. In one embodiment, the schematic diagram of the cold chain cargo tracking method is as follows: Figure 2 shown.
[0071] On the basis of the above embodiment, the cold chain cargo tracking device also receives the vehicle location information sent by the vehicle terminal in each cycle to determine the current location of the vehicle. After decrypting the status information, it also includes:
[0072] Step 107: Obtain historical status information of the goods currently transported by the vehicle in the historical period.
[0073] In one embodiment, after decrypting and obtaining the status information in the current cycle, the historical status information of the goods currently transported by the vehicle in the historical cycle can be further obtained.
[0074] Step 108: Determine the state change trend according to the historical state information corresponding to the historical period.
[0075] Afterwards, the state information corresponding to each historical period can be further obtained, and the state change trend can be generated according to the state information. For example, a state change curve can be generated with time as the horizontal axis and the value of each data in the state as the vertical axis.
[0076] Step 109: Determine the freshness of the goods in the current cycle according to the state change trend.
[0077] After obtaining the state change trend, the freshness of the goods in the current cycle can be determined based on the state change trend. In one embodiment, a pre-trained freshness prediction model can be called, and the state change trend is input into the freshness prediction model to obtain the freshness of the goods in the current cycle. Specifically, when training the freshness prediction model, a large number of state change curves need to be prepared first. After that, meaningful features need to be extracted from the state change curves, for example, this can be achieved by using a convolutional neural network (CNN), which can automatically extract useful features from the state change curves. After that, the extracted features and corresponding labels (freshness) can be used to train the neural network model. During the training process, it is necessary to continuously optimize the parameters and structure of the neural network model to improve the accuracy of its prediction, which can be achieved by using various optimization algorithms and techniques, such as adjusting the learning rate, adding regularization terms, and using more complex network structures. After the neural network model training is completed, a portion of independent test data is needed to evaluate the performance of the neural network model. If the prediction accuracy of the neural network model is greater than the preset threshold, a trained freshness prediction model can be obtained. The freshness prediction model can be called later to determine the freshness of the goods. The freshness can be presented in the cargo tracking and inspection report of the current cycle, so that the monitoring personnel can be more clear about the current status of the goods and take corresponding measures when the freshness of the goods is low. It can be understood that since different types of goods have different spoilage rates, different types of goods can train a corresponding freshness prediction model, and then call the corresponding freshness prediction model according to the type of goods.
[0078] As mentioned above, the embodiment of the present invention provides a cold chain cargo tracking method. In the process of transmitting the status information of the cargo, the embodiment of the present invention uses the facial biometric sequence of the current driver on the vehicle and the vehicle identification information to encrypt the status information. Even if the encrypted data is intercepted by criminals during the transmission process, the criminals need to obtain the facial biometric sequence and vehicle identification information of the current driver before they can decrypt the encrypted data. The facial biometric sequence and vehicle identification information are difficult for criminals to obtain, which greatly increases the difficulty of decrypting the encrypted data. In addition, the embodiment of the present invention associates the secret key with the vehicle and the driver, so that the secret keys of the encrypted data uploaded by different vehicle terminals are also different. The embodiment of the present invention can improve the security of data during the upload of the status information of the cargo, and solves the technical problem of poor data security in the process of tracking cold chain cargo in the prior art.
[0079] The embodiment of the present invention also provides a cold chain cargo tracking device, such as Figure 3 As shown, Figure 3A schematic diagram of the structure of a cold chain cargo tracking device provided by an embodiment of the present invention. The cold chain cargo tracking device provided by an embodiment of the present invention includes:
[0080] The data receiving module 201 is used to periodically receive encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting the status information of the goods transported on the vehicle using a first secret key, and the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver.
[0081] The vehicle information acquisition module 202 is used to obtain the driver information and second vehicle identification information of the vehicle at the current transport node from the transport plan table. The transport plan table is pre-entered with vehicle identification information corresponding to each vehicle terminal and driver information of different transport nodes.
[0082] The feature sequence generation module 203 is used to obtain the corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature.
[0083] The secret key generation module 204 is used to generate a second secret key according to the second vehicle identification information and the second facial biometric feature sequence.
[0084] The decryption module 205 is used to decrypt the encrypted data using the second secret key, and obtain the status information when the decryption is successful.
[0085] The report generation module 206 is used to generate a cargo tracking and detection report of the current cycle according to the status information.
[0086] Based on the above embodiment, it also includes:
[0087] A vehicle feature determination module, used to determine first vehicle feature information according to the first vehicle identification information;
[0088] The first secret key generation module is used to fuse the first facial biometric feature sequence and the first vehicle feature information to obtain a first secret key.
[0089] On the basis of the above embodiment, the first vehicle identification information is the license plate information, and the vehicle feature determination module is specifically used to extract text feature information from the license plate information, and determine the text feature information as the first vehicle feature information.
[0090] On the basis of the above embodiment, the first vehicle identification information is vehicle type information, and the vehicle feature determination module includes:
[0091] The vehicle model determination submodule is used to obtain the corresponding vehicle model standard picture according to the vehicle model information, perform feature recognition on the vehicle model standard picture, and obtain vehicle model feature information;
[0092] The vehicle type feature determination submodule is used to generate first vehicle feature information according to the vehicle type feature information.
[0093] On the basis of the above embodiment, when the first vehicle feature information is text feature information, the first secret key generation module is specifically used to call the first preset rule, and fuse the first vehicle feature information and the first facial biometric feature sequence according to the first preset rule to obtain the first secret key;
[0094] When the first vehicle characteristic information is vehicle model characteristic information, the first secret key generation module is specifically used to call the second preset rule, and fuse the first vehicle characteristic information and the first facial biometric characteristic sequence according to the second preset rule to obtain the first secret key.
[0095] Based on the above embodiment, the transportation plan table includes driver information of two drivers under the current transportation node, and the cold chain cargo tracking device further includes:
[0096] The feature re-acquisition submodule is used to obtain another driver information under the current transportation node from the transportation plan table when decryption fails, obtain the corresponding third face biometric feature according to the other driver information, and generate a third face biometric feature sequence according to the third face biometric feature;
[0097] A third secret key generation submodule, used to generate a third secret key according to the second vehicle identification information and the third facial biometric feature sequence;
[0098] The third secret key decryption submodule is used to decrypt the encrypted data using the third secret key. If the decryption still fails, an alarm is issued.
[0099] On the basis of the above embodiment, the cold chain cargo tracking device further receives the vehicle location information sent by the vehicle terminal in each cycle, and the cold chain cargo tracking device further includes:
[0100] A historical status acquisition module is used to obtain the historical status information of the goods currently transported by the vehicle in the historical period after decrypting the status information;
[0101] A trend determination module is used to determine the state change trend according to the historical state information corresponding to the historical period;
[0102] The freshness prediction module is used to determine the freshness of the goods in the current cycle based on the state change trend.
[0103] The cold chain cargo tracking device provided in the embodiment of the present invention is included in the cold chain cargo tracking equipment and can be used to execute the cold chain cargo tracking method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0104] It is worth noting that in the embodiment of the above-mentioned cold chain cargo tracking device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0105] This embodiment also provides a cold chain cargo tracking device, such as Figure 4 As shown, Figure 4 A schematic diagram of the structure of a cold chain cargo tracking device provided in an embodiment of the present invention. The cold chain cargo tracking device 30 provided in an embodiment of the present invention includes a processor 300 and a memory 301;
[0106] The memory 301 is used to store the computer program 302 and transmit the computer program 302 to the processor 300;
[0107] The processor 300 is used to execute the steps in the above-mentioned cold chain cargo tracking method embodiment according to the instructions in the computer program 302.
[0108] Exemplarily, the computer program 302 may be divided into one or more modules / units, one or more modules / units are stored in the memory 301, and are executed by the processor 300 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 302 in the cold chain cargo tracking device 30.
[0109] The cold chain cargo tracking device 30 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The cold chain cargo tracking device 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will appreciate that Figure 4 This is only an example of the cold chain cargo tracking device 30 and does not constitute a limitation of the cold chain cargo tracking device 30. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the cold chain cargo tracking device 30 may also include input and output devices, network access devices, buses, etc.
[0110] The processor 300 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0111] The memory 301 may be an internal storage unit of the cold chain cargo tracking device 30, such as a hard disk or memory of the cold chain cargo tracking device 30. The memory 301 may also be an external storage device of the cold chain cargo tracking device 30, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the cold chain cargo tracking device 30. Further, the memory 301 may also include both an internal storage unit and an external storage device of the cold chain cargo tracking device 30. The memory 301 is used to store computer programs and other programs and data required by the cold chain cargo tracking device 30. The memory 301 may also be used to temporarily store data that has been output or is to be output.
[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0113] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0114] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0115] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of 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, etc. Various media that can store computer programs.
[0117] An embodiment of the present invention further provides a storage medium containing computer executable instructions, which are used to execute a cold chain cargo tracking method when executed by a computer processor. The method includes the following steps:
[0118] Periodically receiving encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver;
[0119] Acquire the driver information and the second vehicle identification information of the vehicle at the current transport node from the transport plan table, wherein the vehicle identification information corresponding to each vehicle terminal and the driver information of different transport nodes are pre-entered in the transport plan table;
[0120] Acquire a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature;
[0121] generating a second secret key according to the second vehicle identification information and the second facial biometric sequence;
[0122] Decrypt the encrypted data using the second secret key, and obtain status information if the decryption is successful;
[0123] Generate a cargo tracking and detection report for the current cycle based on the status information.
[0124] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims
1. A cold chain cargo tracking method, characterized in that: The method comprises: Periodically receiving encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, wherein the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver; Acquire the driver information and the second vehicle identification information of the vehicle at the current transport node from the transport plan table, wherein the vehicle identification information corresponding to each of the vehicle terminals and the driver information of different transport nodes are pre-entered in the transport plan table; Acquire a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature; Generate a second secret key according to the second vehicle identification information and the second facial biometric sequence; Decrypting the encrypted data using the second secret key, and obtaining the status information when the decryption is successful; A cargo tracking detection report for the current cycle is generated based on the status information.
2. A cold chain cargo tracking method according to claim 1, characterized in that: The first secret key is generated by the vehicle terminal through the following method: Determining first vehicle characteristic information according to the first vehicle identification information; The first facial biometric sequence and the first vehicle feature information are merged to obtain the first secret key.
3. A cold chain cargo tracking method according to claim 2, characterized in that: The first vehicle identification information is license plate information. When the first vehicle identification information is license plate information, determining the first vehicle characteristic information according to the first vehicle identification information includes: Text feature information is extracted from the license plate information, and the text feature information is determined as the first vehicle feature information.
4. A cold chain cargo tracking method according to claim 2, characterized in that: The first vehicle identification information is vehicle type information. When the first vehicle identification information is vehicle type information, determining the first vehicle characteristic information according to the first vehicle identification information includes: Acquire a corresponding vehicle model standard picture according to the vehicle model information, perform feature recognition on the vehicle model standard picture, and obtain vehicle model feature information; First vehicle characteristic information is generated according to the vehicle type characteristic information.
5. A cold chain cargo tracking method according to any one of claims 3 or 4, characterized in that: In the case where the first vehicle characteristic information is text characteristic information, the fusing the first facial biometric characteristic sequence and the first vehicle characteristic information to obtain a first secret key includes: Invoke a first preset rule, and fuse the first vehicle feature information and the first facial biometric feature sequence according to the first preset rule to obtain a first secret key; In the case where the first vehicle characteristic information is vehicle type characteristic information, the step of fusing the first facial biometric characteristic sequence with the first vehicle characteristic information to obtain a first secret key includes: A second preset rule is called, and the first vehicle feature information and the first facial biometric feature sequence are merged according to the second preset rule to obtain a first secret key.
6. A cold chain cargo tracking method according to claim 1, characterized in that: The transportation plan table includes driver information of two drivers at the current transportation node, and the method further includes: In case of decryption failure, obtaining information of another driver at the current transport node from the transport plan table, obtaining a corresponding third facial biometric feature according to the information of the other driver, and generating a third facial biometric feature sequence according to the third facial biometric feature; Generate a third secret key according to the second vehicle identification information and the third facial biometric sequence; The encrypted data is decrypted using the third secret key, and if the decryption still fails, an alarm is issued.
7. A cold chain cargo tracking method according to claim 1, characterized in that: The method further comprises: receiving the location information of the vehicle sent by the vehicle-mounted terminal in each cycle, and after decrypting and obtaining the status information, further comprising: Obtaining historical status information of the goods currently transported by the vehicle in a historical period; Determining the state change trend according to the historical state information corresponding to the historical period; According to the state change trend, the freshness of the goods in the current cycle is determined.
8. A cold chain cargo tracking device, characterized in that: The device comprises: a data receiving module, configured to periodically receive encrypted data uploaded by a vehicle-mounted terminal installed on a vehicle, wherein the encrypted data is obtained by encrypting status information of goods transported on the vehicle using a first secret key, wherein the first secret key is generated according to a first facial biometric sequence and first vehicle identification information, and the first facial biometric sequence is generated by taking a current facial photo of the vehicle driver; A vehicle information acquisition module, used to acquire the driver information and second vehicle identification information of the vehicle at the current transport node from the transport plan table, wherein the vehicle identification information corresponding to each of the vehicle-mounted terminals and the driver information of different transport nodes are pre-entered in the transport plan table; A feature sequence generating module, configured to obtain a corresponding second facial biometric feature according to the driver information, and generate a second facial biometric feature sequence according to the second facial biometric feature; A secret key generation module, used to generate a second secret key according to the second vehicle identification information and the second facial biometric feature sequence; a decryption module, configured to decrypt the encrypted data using the second secret key, and obtain the status information if the decryption is successful; The report generation module is used to generate a cargo tracking detection report for the current cycle according to the status information.
9. A cold chain cargo tracking device, characterized in that: The cold chain cargo tracking device includes a processor and a memory; The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute a cold chain cargo tracking method according to any one of claims 1 to 7 according to the instructions in the computer program.
10. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute a cold chain cargo tracking method according to any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Patent Citations
Intelligent encryption method of logistics information
CN108062481A
Data transmission method for improving safety of vehicle condition data and storage medium
CN110912680A
Driver identity recognition method and device, computer equipment and storage medium
CN111277575A
An automatic driving logistics vehicle allocation method
CN113191589A
Human-vehicle verification method and device, electronic equipment and storage medium
CN114360019A
