CN114513767A - Resource allocation method and device for vehicle-mounted short-distance communication - Google Patents
Resource allocation method and device for vehicle-mounted short-distance communication Download PDFInfo
- Publication number
- CN114513767A CN114513767A CN202210406729.3A CN202210406729A CN114513767A CN 114513767 A CN114513767 A CN 114513767A CN 202210406729 A CN202210406729 A CN 202210406729A CN 114513767 A CN114513767 A CN 114513767A
- Authority
- CN
- China
- Prior art keywords
- determining
- image
- scene
- vehicle
- terminal node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30248—Vehicle exterior or interior
- G06T2207/30268—Vehicle interior
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a resource allocation method and a device for vehicle-mounted short-distance communication, wherein the method comprises the following steps: establishing a control relation between a management node and a terminal node; determining an application scene of resource allocation; the management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items; the target terminal node receives the configuration request and determines second resource configuration information for a plurality of transactions. And determining a target terminal node according to the application scene, and performing resource configuration on the target terminal node, so that the resource utilization rate is improved, meanwhile, the target terminal node is enabled to respond quickly, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a resource allocation method and device for vehicle-mounted short-distance communication.
Background
At present, a vehicle-mounted short-distance communication network is a short-distance communication technology designed for a closed scene in a vehicle, so as to realize control and scheduling of a management node on a terminal node in the vehicle. In the prior art, a target terminal node cannot be determined according to an application scene, so that a management node keeps communication with all in-vehicle terminal nodes in any application scene, the utilization rate of communication resources is low, resource waste is caused, meanwhile, the in-vehicle terminal nodes cannot respond quickly, user time is wasted, and user experience is poor.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, a first objective of the present invention is to provide a resource allocation method for vehicle-mounted short-distance communication, which determines a target terminal node according to an application scenario, performs resource allocation on the target terminal node, improves a resource utilization rate, and simultaneously enables the target terminal node to respond quickly, thereby improving user experience.
The second purpose of the invention is to provide a resource allocation device for vehicle-mounted short-distance communication.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a resource allocation method for vehicle-mounted short-range communication, including:
establishing a control relation between a management node and a terminal node;
determining an application scene of resource allocation;
the management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
the target terminal node receives the configuration request and determines second resource configuration information for a plurality of transactions.
According to some embodiments of the invention, establishing a control relationship between the management node and the terminal node comprises:
acquiring attribute information of a terminal node;
classifying the terminal nodes according to the attribute information to obtain a plurality of classification sets;
determining a target classification set, wherein the target classification set at least comprises two terminal nodes;
establishing a first association relation between terminal nodes in a target classification set based on a control strategy of a terminal layer; constructing an association system of the terminal layer according to the association relation;
and establishing a second association relation between the management node and the association system based on the control strategy of the management layer so as to establish a control relation between the management node and the terminal node.
According to some embodiments of the invention, determining an application scenario of a resource configuration comprises:
carrying out environment perception outside the vehicle, and determining first environment perception information;
carrying out environment perception on the interior of the vehicle, and determining second environment perception information;
and determining an application scene of resource configuration according to the first environment perception information and the second environment perception information.
According to some embodiments of the invention, environmentally sensing outside the vehicle, determining first environmentally sensed information, comprises:
acquiring an image signal of a surrounding environment outside a vehicle;
acquiring radar signals outside a vehicle;
determining transmission configuration information according to the image signal and the radar signal, wherein the transmission configuration information comprises a sending period, a sending time window and a relation between the sending time window and the sending period, which respectively correspond to the image signal and the radar signal;
the transmission of the image signals and the radar signals is realized according to the transmission configuration information, and the image signals and the radar signals of the same time node are packaged into a data packet;
and determining the environment perception information of different time nodes according to different data packets to obtain first environment perception information.
According to some embodiments of the invention, determining first resource configuration information from the target terminal node comprises:
acquiring the demand priority of each target terminal node in an application scene, and determining distribution weight according to the demand priority;
acquiring current available communication resources;
and calculating the available communication resources according to the distribution weight, and determining first resource configuration information.
According to some embodiments of the invention, the characteristic parameters include data type, data size, data period.
According to some embodiments of the present invention, when sending a configuration request to the target terminal node according to the first resource configuration information, further comprising:
detecting the communication interference degree between the management node and the target terminal node, and judging whether the communication interference degree is greater than a preset communication interference degree;
taking the target terminal node with the communication interference degree larger than the preset communication interference degree as a node to be processed;
acquiring resource data sent to the node to be processed;
acquiring received data of the node to be processed;
matching the resource data with the received data, and determining retransmission data according to a matching result;
and sending the retransmission data to the node to be processed.
According to some embodiments of the invention, environmentally sensing within the vehicle, determining second environmentally sensed information, comprises:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
carrying out edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the total evaluation score and the image quality grade division table, and judging whether the image quality grade is less than a preset image quality grade or not;
when the image quality grade is smaller than a preset image quality grade, enhancing the scene image to obtain an enhanced image;
and inputting the enhanced image into a pre-trained image recognition model, and outputting second environment perception information.
In order to achieve the above object, a second embodiment of the present invention provides a resource allocation apparatus for vehicle-mounted short-range communication, including:
the establishing module is used for establishing a control relation between the management node and the terminal node;
the determining module is used for determining an application scene of the resource configuration;
the management node is used for determining a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
and the target terminal node is used for receiving the configuration request and determining second resource configuration information aiming at a plurality of matters.
According to some embodiments of the invention, the determining module comprises:
the first determining submodule is used for performing environment sensing outside the vehicle and determining first environment sensing information;
the second determining submodule is used for performing environment perception on the interior of the vehicle and determining second environment perception information;
a third determining submodule, configured to determine an application scenario of resource configuration according to the first environment sensing information and the second environment sensing information;
the second determination submodule includes:
a boost unit to:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
carrying out edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the evaluation total score and the image quality grade division table, and judging whether the evaluation total score is smaller than a preset image quality grade;
when the image quality grade is smaller than a preset image quality grade, enhancing the scene image to obtain an enhanced image;
and the recognition unit is used for inputting the enhanced image into a pre-trained image recognition model and outputting second environment perception information.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a resource allocation method for vehicle-mounted short-range communication according to an embodiment of the present invention;
FIG. 2 is a flow diagram of establishing a control relationship of a management node and a terminal node according to one embodiment of the invention;
FIG. 3 is a flow diagram of an application scenario for determining resource configuration according to one embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in fig. 1, an embodiment of a first aspect of the present invention provides a resource allocation method for vehicle-mounted short-range communication, including steps S1-S4:
s1, establishing a control relationship between the management node and the terminal node;
s2, determining the application scene of the resource configuration;
s3, the management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
s4, the target terminal node receives the configuration request and determines second resource configuration information for a plurality of items.
The working principle of the technical scheme is that the management node is a G node, the terminal node is a T node and comprises a plurality of terminal nodes. And establishing a control relationship between the management node and the terminal node, wherein the control relationship comprises that the management node directly controls the first terminal node, the management node indirectly controls the second terminal node by controlling the first terminal node and the like. I.e. the control relationship of the management node and the terminal node is predetermined. Determining application scenes of resource allocation, wherein the application scenes comprise scenes outside the vehicle and scenes inside the vehicle. The management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items; the target terminal node is a terminal node which needs to be applied and mobilized in the application scene. The first resource configuration information may be determined by the number and priority of the target terminal nodes. The transaction includes the services that the end node can perform. The target terminal node receives the configuration request and determines second resource configuration information for a plurality of transactions.
The technical scheme has the advantages that the target terminal node is determined according to the application scene, the resource configuration is carried out on the target terminal node, the resource utilization rate is improved, meanwhile, the target terminal node is enabled to respond quickly, and the user experience is improved. Meanwhile, the resources are reconfigured for a plurality of items of the target terminal node, only the application items of the target terminal node are used, or the sequence and the importance of different application items are configured for the resources, so that the reasonable configuration of the resources on the target terminal node is ensured, and the resource utilization rate is further improved.
As shown in FIG. 2, according to some embodiments of the present invention, establishing a control relationship of a management node and a terminal node includes steps S11-S15:
s11, acquiring attribute information of the terminal node;
s12, classifying the terminal nodes according to the attribute information to obtain a plurality of classification sets;
s13, determining a target classification set, wherein the target classification set at least comprises two terminal nodes;
s14, establishing a first association relation between terminal nodes in the target classification set based on the control strategy of the terminal layer; constructing an association system of the terminal layer according to the association relation;
s15, establishing a second association relation between the management node and the association system based on the control strategy of the management layer so as to establish the control relation between the management node and the terminal node.
The working principle of the technical scheme is that attribute information of a terminal node is obtained; the attribute information includes application scene, type, function, and the like. Classifying the terminal nodes according to the attribute information to obtain a plurality of classification sets; determining a target classification set, wherein the target classification set at least comprises two terminal nodes; and the control strategy of the terminal layer is artificially set and is used for determining the association relation of each terminal node in the same classification set in the terminal layer. Establishing a first association relation between terminal nodes in a target classification set based on a control strategy of a terminal layer; constructing an association system of the terminal layer according to the association relation; and establishing a second association relation between the management node and the association system based on the control strategy of the management layer so as to establish a control relation between the management node and the terminal node. The control strategy of the management layer is artificially set and is used for determining the association relationship between the association node and the association system in the management layer.
The technical scheme has the beneficial effects that the association of each terminal node in the terminal layer is established first, and the association relation is determined. And then, the management relation between the management node and the head terminal node in the association system is determined, and the control relation between the management node and the terminal node is further established, so that the efficiency and the accuracy of establishing the control relation are improved.
As shown in FIG. 3, according to some embodiments of the present invention, determining an application scenario for resource configuration includes steps S21-S23:
s21, performing environment perception outside the vehicle, and determining first environment perception information;
s22, performing environment perception in the vehicle, and determining second environment perception information;
s23, determining the application scene of the resource configuration according to the first environment perception information and the second environment perception information.
The working principle of the technical scheme is that environment sensing is carried out outside a vehicle, and first environment sensing information is determined; carrying out environment perception on the interior of the vehicle, and determining second environment perception information; and determining an application scene of resource configuration according to the first environment perception information and the second environment perception information. The first environment perception information comprises front and rear vehicle identification, obstacle identification, current vehicle state identification and the like. The second environment perception information comprises the number of people in the vehicle, the state of the driver, whether safe driving behaviors influencing the driver exist or not and the like.
The technical scheme has the beneficial effects that the scene can be accurately and comprehensively determined based on the outside and inside of the vehicle, and the target terminal node can be accurately determined.
In an embodiment, determining an application scenario of resource configuration according to the first environment awareness information and the second environment awareness information includes:
and inquiring a first environment perception information-second environment perception information-corresponding scene comparison table according to the first environment perception information and the second environment perception information, and determining an application scene.
According to some embodiments of the invention, environmentally sensing outside the vehicle, determining first environmentally sensed information, comprises:
acquiring an image signal of a surrounding environment outside a vehicle;
acquiring radar signals outside a vehicle;
determining transmission configuration information according to the image signal and the radar signal, wherein the transmission configuration information comprises a sending period, a sending time window and a relation between the sending time window and the sending period, which respectively correspond to the image signal and the radar signal;
the transmission of the image signals and the radar signals is realized according to the transmission configuration information, and the image signals and the radar signals of the same time node are packaged into a data packet;
and determining the environment perception information of different time nodes according to different data packets to obtain first environment perception information.
The working principle of the technical scheme is that image signals of the surrounding environment outside the vehicle are obtained; acquiring radar signals outside a vehicle; determining transmission configuration information according to the image signal and the radar signal, wherein the transmission configuration information comprises a sending period, a sending time window and a relation between the sending time window and the sending period, which respectively correspond to the image signal and the radar signal; the transmission of the image signals and the radar signals is realized according to the transmission configuration information, and the image signals and the radar signals of the same time node are packaged into a data packet; and determining the environment perception information of different time nodes according to different data packets to obtain first environment perception information.
The technical scheme has the advantages that the environment image signals and the radar signals are synchronously transmitted, the environment image signals and the radar signals of the same time node are conveniently packaged into a data packet, the environment perception information outside the vehicle of the current time node is determined through comprehensive analysis of the data packet, and errors of the acquired environment perception information caused by the asynchronous transmission of the environment image signals and the radar signals in the prior art are avoided.
According to some embodiments of the invention, determining first resource configuration information from the target terminal node comprises:
acquiring the demand priority of each target terminal node in an application scene, and determining distribution weight according to the demand priority;
acquiring current available communication resources;
and calculating the available communication resources according to the distribution weight to determine first resource configuration information.
The working principle of the technical scheme is that the demand priority of each target terminal node in an application scene is obtained, and the distribution weight is determined according to the demand priority; acquiring current available communication resources; and calculating the available communication resources according to the distribution weight, and determining first resource configuration information.
The technical scheme has the advantages that the reasonable allocation of resources is realized according to the requirement priority of each target terminal node, and the resource utilization rate is improved.
According to some embodiments of the invention, the characteristic parameters include data type, data size, data period.
According to some embodiments of the present invention, when sending a configuration request to the target terminal node according to the first resource configuration information, further comprising:
detecting the communication interference degree between the management node and the target terminal node, and judging whether the communication interference degree is greater than a preset communication interference degree;
taking the target terminal node with the communication interference degree larger than the preset communication interference degree as a node to be processed;
acquiring resource data sent to the node to be processed;
acquiring received data of the node to be processed;
matching the resource data with the received data, and determining retransmission data according to a matching result;
and sending the retransmission data to the node to be processed.
The working principle of the technical scheme is that the communication interference degree between the management node and the target terminal node is detected, and whether the communication interference degree is greater than the preset communication interference degree is judged; taking the target terminal node with the communication interference degree larger than the preset communication interference degree as a node to be processed; acquiring resource data sent to the node to be processed; acquiring received data of the node to be processed; matching the resource data with the received data, and determining retransmission data according to a matching result; and sending the retransmission data to the node to be processed.
The technical scheme has the advantages that the problem of incomplete data transmission caused by interference during communication between the management node and each target terminal node is solved, the retransmitted data are transmitted again, the accuracy of the transmitted data is ensured, and the reasonable allocation of resources is further realized.
According to some embodiments of the invention, environmentally sensing within the vehicle, determining second environmentally sensed information, comprises:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
carrying out edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the evaluation total score and the image quality grade division table, and judging whether the evaluation total score is smaller than a preset image quality grade;
when the image quality grade is smaller than a preset image quality grade, enhancing the scene image to obtain an enhanced image;
and inputting the enhanced image into a pre-trained image recognition model, and outputting second environment perception information.
The working principle and the beneficial effects of the technical scheme are as follows: the first type of scene image is an internal image, and the second type of sub-scene image is an edge image at the edge position of the scene image. The sum of the first weighting factor and the second weighting factor is 1. The method and the device are convenient to ensure the image quality of the scene image, are beneficial to improving the image quality of the scene image of the input image recognition model, and are convenient to ensure the accuracy of the determined second environment perception information. The evaluation emphasis of the first type of sub-scene images is a color information characteristic evaluation index, and the evaluation emphasis of the second type of sub-scene images is a structure information characteristic evaluation index. The structural information characteristic evaluation index includes an average gradient. And evaluating the first type of sub-scene images and the second type of sub-scene images by adopting different image evaluation indexes, so that the evaluation pertinence is improved. Performing weighting operation according to the first average score and the second average score to obtain an evaluation total score; the first weighting coefficient is larger than the second weighting coefficient, and the image quality of the first type of sub-scene image is more emphasized. The accuracy of the calculated evaluation total score is convenient to guarantee, and the image quality grade is accurately determined.
In order to achieve the above object, a second embodiment of the present invention provides a resource allocation apparatus for vehicle-mounted short-range communication, including:
the establishing module is used for establishing a control relation between the management node and the terminal node;
the determining module is used for determining an application scene of the resource configuration;
the management node is used for determining a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
and the target terminal node is used for receiving the configuration request and determining second resource configuration information aiming at a plurality of matters.
The working principle of the technical scheme is that the management node is a G node, the terminal node is a T node and comprises a plurality of terminal nodes. The establishing module establishes a control relation between the management node and the terminal node, wherein the control relation comprises that the management node directly controls the first terminal node, the management node indirectly controls the second terminal node by controlling the first terminal node and the like. I.e. the control relationship of the management node and the terminal node is predetermined. The determining module determines application scenes of the resource configuration, wherein the application scenes comprise scenes outside the vehicle and scenes inside the vehicle. The management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items; the target terminal node is a terminal node which needs to be applied and mobilized in the application scene. The first resource configuration information may be determined by the number and priority of the target terminal nodes. The transaction includes the services that the end node can perform. The target terminal node receives the configuration request and determines second resource configuration information for a plurality of transactions.
The technical scheme has the advantages that the target terminal node is determined according to the application scene, the resource configuration is carried out on the target terminal node, the resource utilization rate is improved, meanwhile, the target terminal node is enabled to respond quickly, and the user experience is improved. Meanwhile, the resources are reconfigured for a plurality of items of the target terminal node, only the application items of the target terminal node are used, or the sequence and the importance of different application items are configured for the resources, so that the reasonable configuration of the resources on the target terminal node is ensured, and the resource utilization rate is further improved.
According to some embodiments of the invention, the determining module comprises:
the first determining submodule is used for performing environment sensing outside the vehicle and determining first environment sensing information;
the second determining submodule is used for performing environment perception on the interior of the vehicle and determining second environment perception information;
a third determining submodule, configured to determine an application scenario of resource configuration according to the first environment sensing information and the second environment sensing information;
the second determination submodule includes:
a boost unit to:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
carrying out edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the evaluation total score and the image quality grade division table, and judging whether the evaluation total score is smaller than a preset image quality grade;
when the image quality grade is smaller than a preset image quality grade, enhancing the scene image to obtain an enhanced image;
and the recognition unit is used for inputting the enhanced image into a pre-trained image recognition model and outputting second environment perception information.
The working principle and the beneficial effects of the technical scheme are as follows: the first type of scene image is an internal image, and the second type of sub-scene image is an edge image at the edge position of the scene image. The sum of the first weighting factor and the second weighting factor is 1. The method and the device are convenient to ensure the image quality of the scene image, are beneficial to improving the image quality of the scene image of the input image recognition model, and are convenient to ensure the accuracy of the determined second environment perception information. The evaluation emphasis of the first type of sub-scene images is a color information characteristic evaluation index, and the evaluation emphasis of the second type of sub-scene images is a structure information characteristic evaluation index. The structural information characteristic evaluation index includes an average gradient. And evaluating the first type of sub-scene images and the second type of sub-scene images by adopting different image evaluation indexes, so that the evaluation pertinence is improved. Performing weighting operation according to the first average score and the second average score to obtain an evaluation total score; the first weighting coefficient is larger than the second weighting coefficient, and the image quality of the first type of sub-scene image is more emphasized. The accuracy of the calculated evaluation total score is convenient to guarantee, and the image quality grade is accurately determined.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A resource allocation method for vehicle-mounted short-distance communication is characterized by comprising the following steps:
establishing a control relation between a management node and a terminal node;
determining an application scene of resource allocation;
the management node determines a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
the target terminal node receives the configuration request and determines second resource configuration information for a plurality of transactions.
2. The resource allocation method for in-vehicle short-range communication according to claim 1, wherein establishing the control relationship between the management node and the terminal node comprises:
acquiring attribute information of a terminal node;
classifying the terminal nodes according to the attribute information to obtain a plurality of classification sets;
determining a target classification set, wherein the target classification set at least comprises two terminal nodes;
establishing a first association relation between terminal nodes in a target classification set based on a control strategy of a terminal layer; constructing an association system of the terminal layer according to the association relation;
and establishing a second association relation between the management node and the association system based on the control strategy of the management layer so as to establish a control relation between the management node and the terminal node.
3. The resource allocation method for vehicle-mounted short-range communication according to claim 1, wherein determining an application scenario of resource allocation comprises:
carrying out environment perception outside the vehicle, and determining first environment perception information;
carrying out environment perception on the interior of the vehicle, and determining second environment perception information;
and determining an application scene of resource configuration according to the first environment perception information and the second environment perception information.
4. The resource allocation method for vehicle-mounted short-range communication according to claim 3, wherein the determining the first environment awareness information by performing environment awareness outside the vehicle comprises:
acquiring an image signal of a surrounding environment outside a vehicle;
acquiring radar signals outside a vehicle;
determining transmission configuration information according to the image signal and the radar signal, wherein the transmission configuration information comprises a sending period, a sending time window and a relation between the sending time window and the sending period, which respectively correspond to the image signal and the radar signal;
the transmission of the image signals and the radar signals is realized according to the transmission configuration information, and the image signals and the radar signals of the same time node are packaged into a data packet;
and determining the environment perception information of different time nodes according to different data packets to obtain first environment perception information.
5. The resource allocation method for vehicle-mounted short-range communication according to claim 1, wherein determining first resource allocation information according to the target terminal node comprises:
acquiring the demand priority of each target terminal node in an application scene, and determining distribution weight according to the demand priority;
acquiring current available communication resources;
and calculating the available communication resources according to the distribution weight to determine first resource configuration information.
6. The resource allocation method for vehicle-mounted short-range communication according to claim 1, wherein the characteristic parameters include data type, data size, and data period.
7. The resource configuration method for vehicle-mounted short-range communication according to claim 1, wherein, when sending a configuration request to the target terminal node according to the first resource configuration information, further comprising:
detecting the communication interference degree between the management node and the target terminal node, and judging whether the communication interference degree is greater than a preset communication interference degree;
taking the target terminal node with the communication interference degree larger than the preset communication interference degree as a node to be processed;
acquiring resource data sent to the node to be processed;
acquiring received data of the node to be processed;
matching the resource data with the received data, and determining retransmission data according to a matching result;
and sending the retransmission data to the node to be processed.
8. The resource allocation method for vehicle-mounted short-range communication according to claim 3, wherein the determining the second environment awareness information by performing environment awareness in the vehicle comprises:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
carrying out edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the evaluation total score and the image quality grade division table, and judging whether the evaluation total score is smaller than a preset image quality grade;
when the image quality grade is smaller than a preset image quality grade, enhancing the scene image to obtain an enhanced image;
and inputting the enhanced image into a pre-trained image recognition model, and outputting second environment perception information.
9. A resource allocation device for vehicle-mounted short-distance communication is characterized by comprising:
the establishing module is used for establishing a control relation between the management node and the terminal node;
the determining module is used for determining an application scene of the resource configuration;
the management node is used for determining a target terminal node according to the application scene; determining first resource configuration information according to the target terminal node; sending a configuration request to the target terminal node according to the first resource configuration information, wherein the configuration request comprises characteristic parameters of a plurality of items;
and the target terminal node is used for receiving the configuration request and determining second resource configuration information aiming at a plurality of matters.
10. The resource configuration device for vehicle-mounted short-range communication according to claim 9, wherein the determining module includes:
the first determining submodule is used for performing environment sensing outside the vehicle and determining first environment sensing information;
the second determining submodule is used for performing environment perception on the interior of the vehicle and determining second environment perception information;
a third determining submodule, configured to determine an application scenario of resource configuration according to the first environment sensing information and the second environment sensing information;
the second determination submodule includes:
a boost unit to:
acquiring a scene image in a vehicle;
analyzing the scene image and determining the texture characteristics of the scene image;
carrying out image segmentation on the scene image according to the texture features to obtain a plurality of sub-scene images;
performing edge detection on the scene image to obtain an edge detection result; dividing the plurality of sub-scene images into a first type of sub-scene images and a second type of sub-scene images according to the edge detection result;
setting a first image quality evaluation index; the first image quality evaluation index comprises a color information characteristic evaluation index;
determining a first evaluation score of the first type of sub-scene images based on a first image quality evaluation index; calculating a first average score according to the plurality of first evaluation scores;
setting a second image quality evaluation index; the second image quality evaluation index comprises a structural information characteristic evaluation index;
determining a second evaluation score of the second type of sub-scene images based on a second image quality evaluation index; calculating a second average score according to the plurality of second evaluation scores;
setting a first weighting coefficient for the first average score; setting a second weighting coefficient for the second average score; the first weighting factor is greater than the second weighting factor;
performing weighting operation according to the first average score and the second average score to obtain an evaluation total score;
determining an image quality grade according to the evaluation total score and the image quality grade division table, and judging whether the evaluation total score is smaller than a preset image quality grade;
when the image quality grade is smaller than a preset image quality grade, performing enhancement processing on the scene image to obtain an enhanced image;
and the recognition unit is used for inputting the enhanced image into a pre-trained image recognition model and outputting second environment perception information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210406729.3A CN114513767B (en) | 2022-04-19 | 2022-04-19 | Resource allocation method and device for vehicle-mounted short-distance communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210406729.3A CN114513767B (en) | 2022-04-19 | 2022-04-19 | Resource allocation method and device for vehicle-mounted short-distance communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114513767A true CN114513767A (en) | 2022-05-17 |
CN114513767B CN114513767B (en) | 2022-06-24 |
Family
ID=81555068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210406729.3A Active CN114513767B (en) | 2022-04-19 | 2022-04-19 | Resource allocation method and device for vehicle-mounted short-distance communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114513767B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116782185A (en) * | 2023-08-25 | 2023-09-19 | 交通运输部公路科学研究所 | Resource scheduling method and device for vehicle-mounted wireless short-distance communication |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917886A (en) * | 2015-04-30 | 2015-09-16 | 努比亚技术有限公司 | Method and apparatus for obtaining scene before conversation by mobile terminal |
US20170251471A1 (en) * | 2016-02-25 | 2017-08-31 | Electronics And Telecommunications Research Institute | Node device and method of allocating resources in wireless sensor networks |
CN108401064A (en) * | 2017-02-07 | 2018-08-14 | 中兴通讯股份有限公司 | A kind of terminal works control method, device and terminal |
CN109413616A (en) * | 2018-10-19 | 2019-03-01 | 京信通信系统(中国)有限公司 | Vehicular intelligent service system, method and car-mounted terminal, base station, equipment of the core network |
US20200228948A1 (en) * | 2017-06-09 | 2020-07-16 | Convida Wireless, Llc | Efficient vehicular services |
CN111861086A (en) * | 2020-02-14 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Resource allocation method and system |
-
2022
- 2022-04-19 CN CN202210406729.3A patent/CN114513767B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917886A (en) * | 2015-04-30 | 2015-09-16 | 努比亚技术有限公司 | Method and apparatus for obtaining scene before conversation by mobile terminal |
US20170251471A1 (en) * | 2016-02-25 | 2017-08-31 | Electronics And Telecommunications Research Institute | Node device and method of allocating resources in wireless sensor networks |
CN108401064A (en) * | 2017-02-07 | 2018-08-14 | 中兴通讯股份有限公司 | A kind of terminal works control method, device and terminal |
US20200228948A1 (en) * | 2017-06-09 | 2020-07-16 | Convida Wireless, Llc | Efficient vehicular services |
CN109413616A (en) * | 2018-10-19 | 2019-03-01 | 京信通信系统(中国)有限公司 | Vehicular intelligent service system, method and car-mounted terminal, base station, equipment of the core network |
CN111861086A (en) * | 2020-02-14 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Resource allocation method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116782185A (en) * | 2023-08-25 | 2023-09-19 | 交通运输部公路科学研究所 | Resource scheduling method and device for vehicle-mounted wireless short-distance communication |
CN116782185B (en) * | 2023-08-25 | 2023-10-27 | 交通运输部公路科学研究所 | Resource scheduling method and device for vehicle-mounted wireless short-distance communication |
Also Published As
Publication number | Publication date |
---|---|
CN114513767B (en) | 2022-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019126908A1 (en) | Image data processing method, device and equipment | |
CN114513767B (en) | Resource allocation method and device for vehicle-mounted short-distance communication | |
JP6939362B2 (en) | Vehicle search system, vehicle search method, and vehicles and programs used for it. | |
WO2023011394A1 (en) | Data sharing method and apparatus applied between vehicles, and medium and electronic device | |
CN111182503A (en) | Intelligent vehicle insurance evaluation method and system based on multi-data fusion analysis | |
CN112329892A (en) | Target detection algorithm evaluation method, device, equipment and storage medium | |
WO2024016752A1 (en) | Vehicle damage identification method and apparatus, and electronic device and storage medium | |
CN107181825B (en) | Online processing method of terminal equipment data | |
CN111739333B (en) | Empty parking space identification method | |
CN115063746A (en) | Vehicle warehousing management method and device, computer equipment and storage medium | |
CN111277956A (en) | Method and device for collecting vehicle blind area information | |
CN115320627A (en) | Vehicle driving method, device and system | |
CN109547564B (en) | Remote data acquisition method, device, equipment and computer readable storage medium | |
CN109286785B (en) | Environment information sharing system and method | |
CN116363100A (en) | Image quality evaluation method, device, equipment and storage medium | |
CN113888865B (en) | Electronic device and vehicle information acquisition method | |
CN112969053B (en) | In-vehicle information transmission method and device, vehicle-mounted equipment and storage medium | |
CN112598007B (en) | Method, device and equipment for screening picture training set and readable storage medium | |
CN111368784B (en) | Target identification method, device, computer equipment and storage medium | |
CN112949423B (en) | Object recognition method, object recognition device and robot | |
CN108960025B (en) | A kind of parking lot vehicle window breakage detection system | |
CN109933298B (en) | Method and device for displaying according to user position | |
CN114202753A (en) | License plate recognition method, device and system | |
CN116346862B (en) | Sensor sharing method and device for intelligent network-connected automobile | |
CN115792944B (en) | Road rapid calibration method and system matched with laser radar |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |