Intelligent driving scene semantic coding uplink and multi-downstream task integration method and system

Through the semantic coding of intelligent driving scenes and the integration of multiple downstream tasks, deep learning and blockchain technology are used to solve the problem of massive data management and utilization in the intelligent connected automobile industry, achieve efficient data storage and sharing, and meet the needs of multiple users. business scenario requirements to ensure data security and credibility.

CN118823641AActive Publication Date: 2024-10-22BEIJING UNIV OF POSTS & TELECOMM
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410915227.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-22
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

The intelligent connected automobile industry is faced with the problem of massive real-time data management and utilization. Traditional centralized data management solutions have risks of data loss, tampering and leakage, and lack of unified standards and interoperability, resulting in inefficient data utilization and blockchain certificate storage. It cannot support the storage and sharing of massive real-time data on the chain.

Method used

A method and system for semantic encoding of intelligent driving scenes and multi-downstream task integration are proposed. By semantically encoding intelligent driving scene video data and uploading them to the chain, deep learning technology is used to extract key frame features, and the data is stored using blockchain multi-node consensus. certification and sharing, and design multiple downstream task decoders to meet the needs of different business scenarios.

Benefits of technology

It realizes the efficient characterization and storage of massive complex data, ensures the credibility of the data source, realizes the safe sharing of data, meets the needs of various downstream tasks, and promotes the efficient and trustworthy storage and sharing of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823641A_ABST
    Figure CN118823641A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent driving scene semantic coding uplink and multi-downstream task integration method and system, and the method comprises the steps: constructing a video data key frame feature encoder Me in an intelligent driving scene, and carrying out the encoder parameter learning through a self-supervision reconstruction task; designing a plurality of downstream task decoders Di for security officer abnormal behavior recognition, scene reconstruction, security officer face recognition and the like according to the business requirements of the block chain shared node, and jointly supervising the training of the plurality of decoders Di through a plurality of downstream tasks; a video data semantic coding uplink and downstream task application framework is established, and the video data semantic coding uplink and downstream task application framework covers input of video data S, screening of key frames Sf, acquisition of key frame semantic coding information Me (Sf) uplink, multi-node consensus and coding information sharing, and downstream task decoding information Di [Me (Sf)] is obtained. According to the method, efficient representation and evidence storage of massive complex data are realized through semantic coding uplink, and various downstream task requirements of block chain sharing nodes are met, so that efficient credible evidence storage and credible sharing of data in related fields are promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain applications, and specifically to a method and system for chain-linking semantic coding of intelligent driving scenarios and integrating multiple downstream tasks. Background Art

[0002] The collection, processing and analysis of massive real-time data are the core driving forces for promoting the optimization and iteration of technology and the widespread application of products in the intelligent connected vehicle industry. However, at this stage, the effective management and full utilization of a large amount of multi-source sensor data are still the main challenges restricting the further development of the intelligent connected vehicle industry. In addition, due to different data formats, the lack of a trust mechanism and the lack of a standardized sharing mechanism, there are still data island problems between different companies or institutions in the autonomous driving industry, which makes it difficult to fully explore and utilize the value of massive data. Traditional centralized intelligent driving data management solutions have high requirements for storage capacity and are at risk of data loss, tampering and leakage. The lack of unified data standards and interoperability leads to low data utilization efficiency and difficulty in intercommunication and sharing of data from different companies. The traditional blockchain-based intelligent driving video data storage and sharing solution is limited by the storage characteristics of the blockchain and cannot support the on-chain storage and sharing of massive real-time data. The present invention proposes a method and system for semantic coding and chain-linking of intelligent driving scenarios and integration of multiple downstream tasks. By semantically encoding video data in intelligent driving scenarios and chain-linking, efficient representation and storage of massive and complex data can be achieved while maintaining data integrity and accuracy, thereby ensuring that the data source is trustworthy and realizing secure sharing of data, meeting the various downstream task requirements of blockchain shared nodes, and promoting efficient and trustworthy storage and trusted sharing of data in related fields. Summary of the invention

[0003] The present invention provides a method and system for integrating semantic coding of intelligent driving scenarios and multiple downstream tasks, wherein the method and system include:

[0004] Step 1: Collect the intelligent driving scene video dataset S raw , and the original data set S raw Perform preprocessing and manual annotation to form a comprehensive fine-grained manual annotation dataset S for various downstream task scenarios;

[0005] Step 2: Process the input video data S based on the key frame screening algorithm to obtain the key frame set S f ;

[0006] Step 3: Construct a deep learning-based key frame feature encoder M for intelligent driving scenarios based on the key frame semantic coding information of video data available in multiple downstream task scenarios e ;

[0007] Step 4: Perform key frame feature encoder M based on the self-supervised intelligent driving scene image reconstruction taske Training and parameter learning;

[0008] Step 5, use M e Get the key frame S of video data in the intelligent driving scenario f Semantic encoding information M e (S f ) and upload it to blockchain node N i , the encoded information is stored and shared through blockchain multi-node consensus;

[0009] Step 6, Blockchain Shared Node N j Use the keyframe semantic encoding information M stored on the chain e (S f ), design downstream task encoder D according to specific business scenarios i , including but not limited to the safety officer abnormal behavior recognition decoder D1, the scene reconstruction decoder D2 and the safety officer face recognition decoder D3;

[0010] Step 7: Based on the joint supervision of multiple downstream tasks such as abnormal behavior recognition of security guards, scene reconstruction and face recognition of security guards, each decoder D i training;

[0011] Step 8: Obtain the decoding information D of downstream tasks such as abnormal behavior recognition of safety officers, scene reconstruction, and face recognition of safety officers in intelligent driving scenarios i [M e (S f )].

[0012] Specifically, in step 1, the pre-processing operations such as video data set collection, video data timestamp alignment and fine-grained manual annotation in the safe driver supervision mode in the intelligent driving scenario are as follows: the camera is fixed at multiple viewing angles such as the right side and top view of the safe driver in the car, and various action behavior data of the safe driver in the intelligent driving scenario are collected, including normal driving, hands off the steering wheel, smoking, eating, playing with mobile phones, making phone calls, disappearing from the camera, drinking water, sleeping, etc., to form the original data set S raw After preprocessing operations such as timestamp alignment, frame rate normalization, scaling and cropping, and segment splitting of the original dataset, a comprehensive fine-grained manually annotated dataset S for various downstream task scenarios is formed according to the video data content;

[0013] Specifically, in step 2, the key frame selection algorithm is used to select key frames from the input video data set S, specifically: given the right side perspective video data V of the safety driver a = {v1, v2, v3, ..., v n} and the top-view video data V b={v′1, v′2, v′3,..., v′ n}, three strategies are used to select the key frame set: selecting the central frame, selecting the random frame, and selecting the representative frame by adaptive clustering. For the central frame strategy, select the key frame from V a and V b In the example, c frames are selected around the center frame to form a key frame set. and For the random frame strategy, randomly select the kth frame from the video stream as the starting frame and get the key frame set V Ka = {v k , v k+1 , ..., v k+c} and V Kb = {v′ k , v′ k+1 , ..., v′ k+c}; For the adaptive clustering strategy, use the pre-trained model to perform V a and V b Perform video frame feature extraction to obtain high-dimensional video features F a ={f1, f2, f3, ..., f n} and F b ={f′1, f′2, f′3,..., f′ n}, and then an adaptive clustering algorithm is used to combine the high-dimensional features of video frames under different viewing angles F ab ={(f1, f′1), (f2, f′2), (f3, f′3)..., (f n , f′ n )} to cluster and obtain a key frame set V that can represent the semantic information of video data Ka = {v1, v2, ..., v c} and V Kb ={v′1, v′2,...,v′ c}. V Ka and V Kb Together they form the final key frame set S f , select appropriate key frame filtering strategies according to the downstream business scenario requirements;

[0014] Specifically, in step 3, the key frame feature encoder M based on deep learning in the intelligent driving scenario is constructed. e , specifically: select a deep convolutional neural network as the encoder M e The basic components; then select the appropriate number of network layers m and the size parameter K of each convolution kernel i , core number parameter C i and step size parameter B i, and add batch label taper and ReLU activation function after the convolution layer; then select t convolution layers to form a convolution block and add a pooling layer between adjacent convolution blocks for downsampling, select the appropriate pooling method and pooling window size W i 、Window sliding step size H i ,Finally, a feature encoder network structure that adapts to the semantic information of key frames of video data in intelligent driving scenarios is formed;

[0015] Specifically, in step 4, the key frame feature encoder M is performed based on the self-supervised intelligent driving scene image reconstruction task. e The training and parameter learning of the decoder D2 and encoder M for the intelligent driving scene image reconstruction task are as follows: e Together they form an image reconstruction network; the key frame screening result S in step 2 f As the input information of the image reconstruction network, the input image also serves as the supervision information of the network, and a suitable loss function F is selected. loss and gradient optimizer, and then train the intelligent driving scene image reconstruction network and perform encoder M through back propagation e The parameters of the network are updated, and the training is stopped after the network loss converges to obtain the key frame feature encoder M e Parameter weights of

[0016] Specifically, in step 5, the feature encoder M is used e Extract key frame S f Semantic encoding information M e (S f ) and upload it to the blockchain to complete the storage and sharing of coded information through multi-node consensus. Specifically, the key frame S of the intelligent driving scene video data is f As the feature encoder M e The input of step 4 is the parameter result of the training as the encoder M e Parameter weights, run model inference to obtain the semantic encoding information M of the input key frame data e (S f );Select an appropriate data upload method to upload the semantically encoded information M e (S f )Upload to blockchain node N i ; Multiple consensus nodes on the blockchain run the consensus algorithm, and after reaching a consensus on the current on-chain data information, the semantically encoded information M e (S f )Write into the blockchain ledger to complete the evidence storage and multi-node sharing;

[0017] Specifically, in step 6, the blockchain shares node N j Use the keyframe semantic encoding information M stored on the chain e (Sf ), design downstream task encoder D according to specific business scenarios i , including but not limited to the security officer abnormal behavior recognition decoder D1, scene reconstruction decoder D2 and security officer face recognition decoder D3, specifically: blockchain shared node N j Read and parse the key frame semantic encoding information M stored in the account book e (S f ); Shared node N j Design a safety officer abnormal behavior recognition decoder D1 according to business scenarios (such as the development and testing scenarios of autonomous vehicles, the automatic monitoring scenarios of abnormal behaviors of safety officers in autonomous logistics, etc.); share node N j Design intelligent driving scenario reconstruction decoder D2 according to business scenarios (such as traffic accident responsibility determination, vehicle status monitoring, etc.); share node N i Design the safety officer face recognition decoder D3 according to business scenarios (such as verification of authorized drivers, safety officer replacement supervision, accident responsibility identification and investigation, etc.);

[0018] Specifically, in step 7, the decoder D is supervised by multiple downstream tasks based on the common supervision of the security officer abnormal behavior recognition, scene reconstruction and security officer face recognition. i Specifically, the key frame semantic encoding information M of the intelligent driving scene video data is e (S f ) as the input of the downstream task decoders D1, D2, and D3, and the annotations (or input images) of the corresponding tasks are used as the supervision information of each decoder; an appropriate loss function L is selected for each downstream task i And choose the appropriate weight w i Weight each loss function to form a combined loss function L for collaborative supervision of multiple downstream tasks mix =∑w i *L i ; Select an appropriate gradient optimizer to train multiple downstream task models, and save each decoder D after the network converges i The weight of

[0019] Specifically, in step 8, the downstream task decoding information D such as abnormal behavior recognition of safety officers, scene reconstruction and face recognition of safety officers in intelligent driving scenarios is obtained. i [M e (S f )], specifically: the key frame semantic coding information M of the intelligent driving scene video data e (S f) are respectively input into the safety officer abnormal behavior recognition decoder D1, the scene reconstruction decoder D2 and the safety officer face recognition decoder D3, and the model inference is run using the parameter weights trained in step 7 to obtain the safety officer abnormal behavior recognition result D1[M e (S f )], intelligent driving scene reconstruction result D2[M e (S f )] and the security guard face recognition result D3[M e (S f )]. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0021] Figure 1 Semantic encoding chain for intelligent driving scenarios and multiple downstream task integration methods and system flow chart:

[0022] Figure 2 Integrate flow charts for multiple downstream tasks of blockchain shared nodes;

[0023] Figure 3 A method and system flowchart for semantic encoding and uplink of intelligent driving scenarios that only include reasoning capabilities and multiple downstream tasks. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] At present, traditional centralized intelligent driving data management solutions have high requirements for storage capacity and are subject to the risk of data loss, tampering and leakage. They lack unified data standards and interoperability, resulting in low data utilization efficiency and difficulty in intercommunication and sharing of data from different companies. To address these problems, the present invention uses deep learning technology, blockchain technology and data encoding and decoding technology to innovatively open up the overall process framework of massive data feature coding extraction, coding information chain storage and multi-node sharing, and multiple downstream task integration in intelligent driving scenarios. It proposes a method and system for semantic coding chain and multi-downstream task integration of intelligent driving scenarios, which solves the problem of efficient representation, storage and sharing of massive and complex data while maintaining data integrity and accuracy. The specific steps are as follows:

[0026] S101: Collecting intelligent driving scene video dataset S raw , and the original data set S raw Preprocessing operations and manual annotation are performed to form a comprehensive fine-grained manually annotated dataset S for various downstream task scenarios.

[0027] Specifically, the camera is fixed at multiple viewing angles, such as the right side and top view of the safety driver in the car, to collect various action behavior data of the safety driver in the intelligent driving scenario, including but not limited to normal driving, taking both hands off the steering wheel, smoking, eating, playing with the mobile phone, making phone calls, disappearing from the camera, drinking water and sleeping, forming the original data set S raw After preprocessing operations such as timestamp alignment, frame rate normalization, scaling and cropping, and segment splitting of the original dataset, a comprehensive fine-grained manually labeled dataset S is formed according to the video data content for various downstream task scenarios such as safety officer abnormal behavior recognition, scene reconstruction, and safety officer face recognition.

[0028] S102: Process the input video data S based on the key frame screening algorithm to form a key frame set S f .

[0029] Specifically, given the right side perspective video data V of the safety driver a = {v1, v2, v3, ..., v n} and the top-view video data V b ={v′1, v′2, v′3,..., v′ n}, three strategies are used to select the key frame set: selecting the central frame, selecting the random frame, and selecting the representative frame by adaptive clustering. For the central frame strategy, select the key frame from V a and V b In the example, c frames are selected around the center frame to form a key frame set. and For the random frame strategy, randomly select the kth frame from the video stream as the starting frame and get the key frame set V Ka = {v k , v k+1 , ..., v k+c} and V Kb = {v′ k , v′ k+1 , ..., v′ k+c}; For adaptive clustering strategies, use a pre-trained model (such as CLIP) to perform V a and V b Perform video frame feature extraction to obtain high-dimensional video features F a ={f1, f2, f3, ..., f n} and F b ={f′1, f′2, f′3,..., f′ n}, and then an adaptive clustering algorithm is used to combine the high-dimensional features of the video frames under different viewing angles (the top view angle and the right view angle of the safety officer) ab ={(f1, f′1), (f2, f′2), (f3, f′3)..., (f n , f′ n )} to cluster and obtain a key frame set V that can represent the semantic information of video data Ka = {v1, v2, ..., v c} and V Kb ={v′1, v′2,...,v′ c}. V Ka and V Kb Together they form the final key frame set S f , select appropriate key frame screening strategies according to the needs of downstream business scenarios. For example, for the downstream task of abnormal behavior identification of security personnel, the use of adaptive clustering strategies for key frame screening has better results.

[0030] S103: Constructing a deep learning-based key frame feature encoder M for intelligent driving scenarios based on the semantic coding information of key frames of video data available in multiple downstream task scenarios e .

[0031] Specifically, a deep convolutional neural network is selected as the encoder M e Then select the appropriate number of network layers m (for example, m = 6) and the convolution kernel size parameter K for each layer i , core number parameter C i and step size parameter B i, and add batch label taper and ReLU activation function after the convolution layer; then select t (for example, t = 2) convolution layers to form a convolution block and add a pooling layer between adjacent convolution blocks for downsampling, select a suitable pooling method (for example, maximum pooling), pooling window size W i 、Window sliding step size H i , and finally a feature encoder network structure that adapts to the semantic information of key frames of video data in intelligent driving scenarios is formed.

[0032] S104: Key frame feature encoder M based on self-supervised reconstruction task e training and parameter learning.

[0033] Specifically, a decoder D2 and an encoder M are constructed for the intelligent driving scene image reconstruction task. e Together they form an image reconstruction network; the key frame screening result S f As the input information of the image reconstruction network, the input image also serves as the supervision information of the network, and a suitable loss function F is selected. loss (e.g. mean square error) and gradient optimizer (e.g. Adam), and then train the intelligent driving scene image reconstruction network and perform encoder M through back propagation e The parameters of the network are updated, and the training is stopped after the network loss converges to obtain the key frame feature encoder M e The parameter weights.

[0034] S105: Obtaining semantic coding information M of key frames of video data in the intelligent driving scenario e (S f ) and upload it to the blockchain node, and realize the storage and sharing of encoded information through multi-node consensus.

[0035] Specifically, the key frame S of the intelligent driving scene video data f As the feature encoder M e The input of the training parameter result is used as the encoder M e Parameter weights, run model inference to obtain the semantic encoding information M of the input key frame data e (S f ); select an appropriate data upload method (such as batch packaging) to upload the semantically encoded information M e (S f )Upload to blockchain node N i ; Multiple consensus nodes on the blockchain run a consensus algorithm (such as a consensus algorithm based on identity authentication) and reach a consensus on the current on-chain data information and then send the semantically encoded information M e (S f ) is written into the blockchain ledger to complete evidence storage and multi-node sharing.

[0036] S106: Blockchain shared nodes design downstream task encoders D according to specific business scenarios i .

[0037] Specifically, the blockchain shares nodes N j Read and parse the key frame semantic encoding information M stored in the account book e (S f ); Shared node N j Design a safety officer abnormal behavior recognition decoder D1 according to business scenarios (such as the development and testing scenarios of autonomous vehicles, the automatic monitoring scenarios of abnormal behaviors of safety officers in autonomous logistics, etc.); share node N j Design intelligent driving scenario reconstruction decoder D2 according to business scenarios (such as traffic accident responsibility determination, vehicle status monitoring, etc.); share node N j The safety officer face recognition decoder D3 is designed based on business scenarios (such as verification of authorized drivers, safety officer replacement supervision, accident responsibility determination and investigation, etc.).

[0038] S107: Based on the mode of joint supervision of multiple downstream tasks, each decoder D i training.

[0039] Specifically, the key frame semantic encoding information M of the intelligent driving scene video data is e (S f ) as the input of the downstream task decoders D1, D2, and D3, and the annotations (or input images) of the corresponding tasks are used as the supervision information of each decoder; an appropriate loss function L is selected for each downstream task i And choose the appropriate weight w i Weight each loss function to form a combined loss function L for collaborative supervision of multiple downstream tasks mix =∑w i *L i ; Select an appropriate gradient optimizer (such as Adam) to train multiple downstream task models, and save each decoder D after the network converges i The weight of .

[0040] S108: Obtaining downstream task decoding information such as abnormal behavior recognition of safety officers, scene reconstruction, and face recognition of safety officers in intelligent driving scenarios D i [M e (S f )].

[0041] Specifically, the key frame semantic encoding information M of the intelligent driving scene video data is e (S f) are respectively input into the safety officer abnormal behavior recognition decoder D1, the scene reconstruction decoder D2 and the safety officer face recognition decoder D3, and the parameter weights obtained by training in step S107 are used to run the model inference to obtain the safety officer abnormal behavior recognition result D1[M e (S f )], intelligent driving scene reconstruction result D2[M e (S f )] and the security guard face recognition result D3[M e (S f )].

[0042] In order to facilitate the understanding of the present invention, Figure 2 The flowchart of the integration of multiple downstream tasks of blockchain shared nodes is shown, including but not limited to the construction of multiple downstream task decoders such as safety officer abnormal behavior recognition, scene reconstruction and safety officer face recognition.

[0043] like Figure 2 The figure shows the integration process of multiple downstream tasks of blockchain shared nodes, including:

[0044] S201: Construct a safety officer abnormal behavior recognition decoder D1 in the intelligent driving scenario. Specifically, a multi-layer perceptron layer is selected as the main part of the safety officer abnormal behavior decoder D1, d (e.g., d=3) layers of linear fully connected layers are selected, and an appropriate input size P is selected for each fully connected layer. i and the output size Q i ,In particular, the output size of the last fully connected layer should be consistent with the number of abnormal behavior types, and then the ReLU activation function is introduced between adjacent ,fully connected layers, and finally the safety officer abnormal behavior recognition decoder D1 in the ,intelligent driving scenario is formed.

[0045] S202: Based on the semantic encoding information of the key frames on the blockchain, a scene reconstruction decoder D2 is constructed. Specifically, a deep deconvolution layer is selected as the basic component of the intelligent driving scene reconstruction task, an appropriate number of deconvolution layers f (e.g., f=3) is selected, and an appropriate convolution kernel size and step size parameters are selected for each deconvolution layer. Then, a ReLU activation function is introduced between adjacent deconvolution layers, and finally an intelligent driving scene reconstruction decoder D2 is formed.

[0046] S203: Construct the safety officer face recognition decoder D3 in the intelligent driving scenario. Specifically, select the multi-layer perceptron layer as the main part of the safety officer face recognition decoder D3, select d (for example, d = 5) layers of linear fully connected layers, and select an appropriate input size P for each fully connected layer. i and the output size Q i,In particular, the output size of the last fully connected layer should be consistent with the number of abnormal behavior types, and then the ReLU activation function is introduced between adjacent fully connected layers, and finally the safety officer abnormal behavior recognition decoder D3 in the intelligent driving scenario is formed.

[0047] In order to facilitate the understanding of the present invention, Figure 3 The method and system flow chart of semantic coding of intelligent driving scenarios and integration of multiple downstream tasks, which only include reasoning capabilities, are shown, involving the entire process path of real-time data collection and processing, feature coding uplink, feature coding information sharing and downstream task integration, specifically including:

[0048] S301: Obtaining intelligent driving scene video dataset S raw , and the original data set S r a w Preprocessing operations are performed. Specifically, the camera is fixed at multiple viewing angles, such as the right side of the safety driver in the car and the top view, to collect the action behavior data of the safety driver in the intelligent driving scenario, and the original data set is preprocessed by timestamp alignment, frame rate standardization, scaling and cropping, and segment splitting.

[0049] S302: Process the input video data S based on the key frame screening algorithm to obtain a key frame set S f Specifically, given the right side view video data V of the safety driver a = {v1, v2, v3, ..., v n} and the top-view video data V b ={v′1, v′2, v′3,..., v′ n}, three strategies are used to select the key frame set: selecting the central frame, selecting the random frame, and selecting the representative frame by adaptive clustering. For the central frame strategy, select the key frame from V a and V b In the example, c frames are selected around the center frame to form a key frame set. and For the random frame strategy, randomly select the kth frame from the video stream as the starting frame and get the key frame set V Ka = {v k , v k+1 , ..., v k+c} and V Kb = {v′ k , v′ k+1 , ..., v′ k+c}; For the adaptive clustering strategy, use the pre-trained model to perform V a and V b Perform video frame feature extraction to obtain high-dimensional video features F a={f1, f2, f3, ..., f n} and F b ={f′1, f′2, f′3,..., f′ n}, and then an adaptive clustering algorithm is used to combine the high-dimensional features of video frames under different viewing angles F ab ={(f1, f′1), (f2, f′2), (f3, f′3)..., (f n , f′ n )} to cluster and obtain a key frame set V that can represent the semantic information of video data Ka = {v1, v2, ..., v c} and V Kb ={v′1, v′2,...,v′ c}. V Ka and V Kb Together they form the final key frame set S f , select the appropriate key frame filtering strategy according to the downstream business scenario requirements.

[0050] S303: Set the key frame S f Input feature encoder M e , get the key frame semantic coding information M of the video data in the intelligent driving scenario e (S f ) and upload it to the blockchain node, and realize the storage and sharing of the encoded information through multi-node consensus. Specifically, the key frame set S is input f To feature encoder M e , use the trained encoder weights to run the model inference to obtain the key frame semantic encoding information M of the video data in the intelligent driving scenario e (S f ), and then the feature encoding information M e (S f ) is uploaded to the blockchain node, and the coded information is stored and shared through multi-node consensus.

[0051] S304: The blockchain shared node encodes the feature information M e (S f ) Input to downstream decoder D i , and obtain the downstream task decoding information D such as abnormal behavior recognition of safety officers, scene reconstruction and face recognition of safety officers in intelligent driving scenarios i [M e (S f )]. Specifically, the blockchain shared node obtains the coded information M of the evidence stored on the chain e (S f ), according to the actual task requirements, the coded information M e (S f) respectively input the downstream task decoders such as the safety officer abnormal behavior recognition decoder D1, the intelligent driving scene reconstruction decoder D2 or the safety officer face recognition decoder D3, and use the trained decoder weights to run the model inference to obtain the safety officer abnormal behavior recognition decoding information D1[M e (S f )], Intelligent Driving Scene Reconstruction Jema Information D2[M e (S f )] and security officer face recognition decoding information D3[M e (S f )].

[0052] The present invention proposes a method and system for semantic coding and chain-linking of intelligent driving scenarios and integration of multiple downstream tasks. By semantically encoding and chain-linking massive real-time video data in intelligent driving scenarios, efficient representation and storage of massive complex data are achieved while maintaining data integrity and accuracy. While ensuring the credibility of the data source, secure sharing of data between multiple nodes is achieved, meeting the various downstream task requirements of blockchain shared nodes, thereby promoting efficient and reliable storage and trusted sharing of data in related fields.

Claims

1. Intelligent driving scene semantic coding uplink and multiple downstream task integration method and system, characterized by: The method and system include the following steps: Step 1: Collect video dataset S in the safe driver supervision mode in the intelligent driving scenario raw , for the original data set S raw After preprocessing operations such as timestamp alignment, frame rate normalization, scaling and cropping, and segment splitting, a comprehensive fine-grained manually annotated dataset S is formed for a variety of downstream task scenarios based on the video data content; Step 2: Process the input video data S based on the key frame screening algorithm, and select key frames from the video stream S using the central frame strategy, random frame strategy, and adaptive clustering strategy to form a key frame set S f ; Step 3: Based on the key frame semantic coding information of video data available in multiple downstream task scenarios, a key frame feature encoder M based on deep learning is constructed in the intelligent driving scenario. e ; Step 4: Perform key frame feature encoder M based on the self-supervised intelligent driving scene image reconstruction task e Training and parameter learning; Step 5, use M e Get the key frame S of video data in the intelligent driving scenario f Semantic encoding information M e (S f ) and upload it to blockchain node N i , the encoded information is stored and shared through blockchain multi-node consensus; Step 6, blockchain shared node N j Use the keyframe semantic encoding information M stored on the chain e (S f ), design downstream task encoder D according to specific business scenarios i , including but not limited to the safety officer abnormal behavior recognition decoder D1, the scene reconstruction decoder D2 and the safety officer face recognition decoder D3; Step 7: Based on the joint supervision of multiple downstream tasks such as abnormal behavior recognition of security guards, scene reconstruction and face recognition of security guards, each decoder D i training; Step 8: Obtain the decoding information D of downstream tasks such as abnormal behavior recognition of safety officers, scene reconstruction, and face recognition of safety officers in intelligent driving scenarios i [M e (S f )].

2. The method and system for integrating semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 1, the pre-processing operations such as video data set collection, video data timestamp alignment and fine-grained manual annotation in the safe driver supervision mode in the intelligent driving scenario are as follows: the camera is fixed at multiple viewing angles such as the right side and top view of the safe driver in the car, and various action behavior data of the safe driver in the intelligent driving scenario are collected, including but not limited to normal driving, taking both hands off the steering wheel, smoking, eating, playing with mobile phones, making phone calls, disappearing from the camera, drinking water, sleeping, etc., to form the original data set S raw After performing preprocessing operations such as timestamp alignment, frame rate normalization, scaling and cropping, and segment splitting on the original dataset, a comprehensive fine-grained manually annotated dataset S is formed for various downstream task scenarios based on the video data content.

3. The method and system for integrating semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 2, the key frame selection algorithm is used to select key frames from the input video data set S. Specifically, given the right side view video data V of the safety driver, a ={v1,v2,v3,...,v n } and the top-view video data V b ={v′1,v′2,v′3,...,v′ n }, three strategies are used to select the key frame set: selecting the central frame, selecting the random frame, and selecting the representative frame by adaptive clustering. For the central frame strategy, select the key frame from V a and V b In the example, c frames are selected around the center frame to form a key frame set. and For the random frame strategy, randomly select the kth frame from the video stream as the starting frame and get the key frame set V Ka = {v k ,v k+1 ,...,v k+c } and V Kb = {v′ k ,v′ k+1 ,...,v′ k+c }; For the adaptive clustering strategy, use the pre-trained model to perform V a and V b Perform video frame feature extraction to obtain high-dimensional video features F a ={f1,f2,f3,...,f n } and F b ={f′1,f′2,f′3,...,f′ n }, and then an adaptive clustering algorithm is used to combine the high-dimensional features of video frames under different viewing angles F ab ={(f1,f′1),(f2,f′2),(f3,f′3)...,(f n ,f′ n )} to cluster and obtain a key frame set V that can represent the semantic information of video data Ka ={v1,v2,...,v c } and V Kb ={v′1,v′2,...,v′ c }. V Ka and V Kb Together they form the final key frame set S f , select the appropriate key frame filtering strategy according to the downstream business scenario requirements.

4. The method and system for integrating the semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 3, the key frame feature encoder M based on deep learning in the intelligent driving scenario is constructed. e , specifically: select a deep convolutional neural network as the encoder M e The basic components; then select the appropriate number of network layers m and the size parameter K of each convolution kernel i , core number parameter C i and step size parameter B i , and add batch label taper and ReLU activation function after the convolution layer; then select t convolution layers to form a convolution block and add a pooling layer between adjacent convolution blocks for downsampling, select the appropriate pooling method and pooling window size W i 、Window sliding step size H i , and finally a feature encoder network structure that adapts to the semantic information of key frames of video data in intelligent driving scenarios is formed.

5. The method and system for integrating the semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 4, the key frame feature encoder M is performed based on the self-supervised intelligent driving scene image reconstruction task. e The training and parameter learning of the decoder D2 and encoder M for the intelligent driving scene image reconstruction task are as follows: e Together they form an image reconstruction network; the key frame screening result S in step 2 f As the input information of the image reconstruction network, the input image also serves as the supervision information of the network, and a suitable loss function F is selected. loss and gradient optimizer, and then train the intelligent driving scene image reconstruction network and perform encoder M through back propagation e The parameters of the network are updated, and the training is stopped after the network loss converges to obtain the key frame feature encoder M e The parameter weights.

6. The method and system for integrating semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 5, the feature encoder M is used e Extract key frame S f Semantic encoding information M e (S f ) and upload it to the blockchain to complete the storage and sharing of coded information through multi-node consensus. Specifically, the key frame S of the intelligent driving scene video data is f As the feature encoder M e The input of step 4 is the parameter result of the training as the encoder M e Parameter weights, run model inference to obtain the semantic encoding information M of the input key frame data e (S f );Select an appropriate data upload method to upload the semantically encoded information M e (S f )Upload to blockchain node N i ; Multiple consensus nodes on the blockchain run the consensus algorithm, and after reaching a consensus on the current on-chain data information, the semantically encoded information M e (S f ) is written into the blockchain ledger to complete evidence storage and multi-node sharing.

7. The method and system for integrating the semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 6, the blockchain shares node N j Use the keyframe semantic encoding information M stored on the chain e (S f ), design downstream task encoder D according to specific business scenarios i , including but not limited to the security officer abnormal behavior recognition decoder D1, scene reconstruction decoder D2 and security officer face recognition decoder D3, specifically: blockchain shared node N j Read and parse the key frame semantic encoding information M stored in the account book e (S f ); Shared node N j Design a safety officer abnormal behavior recognition decoder D1 according to business scenarios (such as the development and testing scenarios of autonomous vehicles, the automatic monitoring scenarios of abnormal behaviors of safety officers in autonomous logistics, etc.); share node N j Design intelligent driving scene reconstruction decoder D2 according to business scenarios (such as traffic accident responsibility determination, vehicle status monitoring, etc.); share node N j The safety officer face recognition decoder D3 is designed based on business scenarios (such as verification of authorized drivers, safety officer replacement supervision, accident responsibility determination and investigation, etc.).

8. The method and system for integrating semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 7, the decoder D is used to perform the multi-downstream task co-supervision based on the abnormal behavior recognition, scene reconstruction and face recognition of the security guard. i Specifically, the key frame semantic encoding information M of the intelligent driving scene video data is e (S f ) as the input of the downstream task decoders D1, D2, and D3, and the annotations of the corresponding tasks (or input images) are used as the supervision information of each decoder; an appropriate loss function L is selected for each downstream task i And choose the appropriate weight w i Weight each loss function to form a combined loss function L for collaborative supervision of multiple downstream tasks mix =∑w i *L i ; Select an appropriate gradient optimizer to train multiple downstream task models, and save each decoder D after the network converges i The weight of .

9. The method and system for integrating the semantic coding of intelligent driving scenarios and multiple downstream tasks as claimed in claim 1, characterized in that: In step 8, the downstream task decoding information D such as abnormal behavior recognition of safety officers, scene reconstruction and face recognition of safety officers in intelligent driving scenarios is obtained. i [M e (S f )], specifically: the key frame semantic coding information M of the intelligent driving scene video data e (S f ) are respectively input into the safety officer abnormal behavior recognition decoder D1, the scene reconstruction decoder D2 and the safety officer face recognition decoder D3, and the model inference is run using the parameter weights trained in step 7 to obtain the safety officer abnormal behavior recognition result D1[M e (S f )], intelligent driving scene reconstruction result D2[M e (S f )] and the security guard face recognition result D3[M e (S f )].

Citation Information

Patent Citations

  • Encoding method, decoding method, encoding device, decoding device and electronic equipment

    CN117692094A

  • Video description generation method based on high-dynamic multilayer semantic coding

    CN118247704A

  • Systems and methods to enable continual, memory-bounded learning in artificial intelligence and deep learning continuously operating applications across networked compute edges

    US20180330238A1