CN115884126B - Method and device for constructing fleet communication network, electronic equipment and storage medium - Google Patents

Method and device for constructing fleet communication network, electronic equipment and storage medium Download PDF

Info

Publication number
CN115884126B
CN115884126B CN202211717632.0A CN202211717632A CN115884126B CN 115884126 B CN115884126 B CN 115884126B CN 202211717632 A CN202211717632 A CN 202211717632A CN 115884126 B CN115884126 B CN 115884126B
Authority
CN
China
Prior art keywords
vehicle
determining
motorcade
vehicles
network
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.)
Active
Application number
CN202211717632.0A
Other languages
Chinese (zh)
Other versions
CN115884126A (en
Inventor
骆俊凯
周鲁峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Rox Intelligent Technology Co Ltd
Original Assignee
Shanghai Rox Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Rox Intelligent Technology Co Ltd filed Critical Shanghai Rox Intelligent Technology Co Ltd
Priority to CN202211717632.0A priority Critical patent/CN115884126B/en
Publication of CN115884126A publication Critical patent/CN115884126A/en
Application granted granted Critical
Publication of CN115884126B publication Critical patent/CN115884126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method, a device, electronic equipment and a storage medium for constructing a vehicle team communication network, wherein the method comprises the following steps: acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle; if yes, determining a main node and a relay node in the motorcade; and obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team. By adopting the technical scheme provided by the application, whether the motorcade reaches the networking condition can be determined through the networking parameters of the motorcade vehicles in the local area network, and if so, the communication network of the motorcade is determined through network delay, so that the communication efficiency and the communication quality of the motorcade are improved.

Description

Method and device for constructing fleet communication network, electronic equipment and storage medium
Technical Field
The present application relates to the field of automotive technologies, and in particular, to a method and apparatus for constructing a fleet communication network, an electronic device, and a storage medium.
Background
In a motorcade scene, for example, a multi-car camping scene, a plurality of car owners get off camping, a plurality of cars driven can form a motorcade, and the cars in the motorcade can be controlled one to one or one to many; the control can be performed through a large screen or through the APP of the user.
At present, a remote communication technology (such as 5G) is generally adopted for the establishment of a vehicle team communication network, but the communication between vehicles is often dependent on a short-range communication technology (such as Bluetooth or wifi); the fleet leader selected by remote communication is often set as a master node of short-range communication at the same time, but in fact, different parking positions of vehicles can greatly influence the communication efficiency and quality of a network; for example, the master node can directly communicate with a part of vehicles, but needs to relay routes for a plurality of times with a certain vehicle, so that the synchronous control effect is very poor, especially in music control and light control; therefore, how to build a fleet communication network to improve the communication efficiency and the communication quality between vehicles becomes a urgent problem to be solved.
Disclosure of Invention
Accordingly, the present application is directed to a method, an apparatus, an electronic device, and a storage medium for constructing a communication network of a fleet, which can determine whether the fleet reaches a networking condition through networking parameters of vehicles of the fleet in a local area network, if the fleet reaches the networking condition, determine a master node and a relay node in the fleet, obtain a network delay, and determine the communication network of the fleet through the network delay, thereby improving the communication efficiency and the communication quality of the fleet.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for constructing a fleet communication network, where the method includes:
acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle;
if yes, determining a main node and a relay node in the motorcade;
and obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
Further, the step of determining the master node in the motorcade includes:
in the motorcade, for each vehicle in the motorcade, determining the vehicle which carries out two-point communication with the vehicle in the motorcade as a direct communication vehicle, and determining the number of the direct communication vehicles corresponding to the vehicle;
determining the vehicle with the largest number of the direct communication vehicles as a vehicle to be selected among the numbers of the direct communication vehicles corresponding to each vehicle, and determining whether the vehicle to be selected is unique;
if the vehicle to be selected is unique, determining the vehicle to be selected as a main node;
if the target distance of the selected vehicle is not the same, determining the target distance of the selected vehicle for each selected vehicle, and determining the selected vehicle with the minimum target distance as a main node in the target distance of each selected vehicle.
Further, the step of determining, for each candidate vehicle, a target distance of the candidate vehicle includes:
for each candidate vehicle, determining the sum of the distances between the candidate vehicle and each of the rest of the candidate vehicles as a first parameter of the candidate vehicle;
determining the product of the first parameter and a first preset decision factor as a second parameter of the vehicle to be selected;
determining the sum of squares of the differences between the distances between the candidate vehicle and each of the rest of the candidate vehicles as a third parameter of the candidate vehicle;
determining the product of the third parameter and a second preset decision factor as a fourth parameter of the vehicle to be selected;
and determining the sum of the second parameter and the fourth parameter as the target distance of the vehicle to be selected.
Further, the step of determining the relay node in the motorcade includes:
in the motorcade, controlling the main node to send an instruction for inquiring the target vehicle to other vehicles in the motorcade;
acquiring response time of the target vehicle, which is returned by other vehicles in the vehicle team after receiving the instruction, from the inquiry;
and determining the vehicle corresponding to the response time with the smallest value as the relay node in the response time returned by the rest vehicles.
Further, the step of determining whether the fleet is networked based on the networking parameters of each vehicle includes:
based on the networking parameters of each vehicle, if the networking parameters of each vehicle meet the following networking conditions at the same time, determining that the motorcade performs networking; the networking conditions comprise zero speed in the networking parameters, parking gear in the networking parameters and braking state of the electronic hand brake in the networking parameters.
Further, the construction method further comprises:
if the vehicle speed in the networking parameters of at least one vehicle is not zero in the networking parameters of each vehicle, determining that the motorcade does not carry out networking, and determining that the motorcade carries out networking until the networking parameters of each vehicle meet the networking conditions at the same time.
Further, the step of obtaining a target network delay of a network formed by the master node and the relay node based on the master node and the relay node includes:
based on a main node and a relay node, the main node is controlled to send echo instructions to all vehicles in the vehicle team through vehicles which are in two-point communication with the main node and vehicles which are not in two-point communication with the main node through indirect communication with the relay node;
acquiring delay time of response returned by all vehicles in the motorcade after receiving the echo command;
and determining the delay time with the largest value as the target network delay of the network formed by the main node and the relay node in the delay time corresponding to each vehicle.
In a second aspect, an embodiment of the present application further provides a device for constructing a fleet communication network, where the device includes:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring networking parameters of all vehicles in a motorcade in a local area network and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle;
the processing module is used for determining a main node and a relay node in the motorcade when the motorcade is determined to be networked;
the determining module is used for obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
In a third aspect, an embodiment of the present application further provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device is running, and the machine-readable instructions are executed by the processor to perform the steps of the method for constructing the fleet communication network.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of a method of constructing a fleet communication network as described above.
The embodiment of the application provides a method and a device for constructing a motorcade communication network, electronic equipment and a storage medium, wherein the method for constructing the motorcade communication network comprises the following steps: acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle; if yes, determining a main node and a relay node in the motorcade; and obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
Therefore, the technical scheme provided by the application can determine whether the motorcade reaches the networking condition through the networking parameters of the motorcade vehicles in the local area network, if so, the main node and the relay node are determined in the motorcade, the network delay is obtained, the communication network of the motorcade is determined through the network delay, and the communication efficiency and the communication quality of the motorcade are improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for constructing a fleet communication network according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another method for constructing a fleet communication network according to an embodiment of the present application;
fig. 3 is a block diagram of a device for constructing a fleet communication network according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be appreciated that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art based on embodiments of the application without making any inventive effort, fall within the scope of the application.
In order to enable those skilled in the art to make and use the present disclosure, the following embodiments are provided in connection with a particular application scenario "construction of a fleet communication network", and it will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
The method, the device, the electronic equipment or the computer readable storage medium can be applied to any scene requiring formation of a fleet communication network, the embodiment of the application is not limited to specific application scenes, and any scheme using the method, the device, the electronic equipment and the storage medium for formation of the fleet communication network provided by the embodiment of the application is within the protection scope of the application.
It is noted that in a fleet scene, for example, a multi-vehicle camping scene, a plurality of vehicle owners group camps, a plurality of vehicles driven can form a fleet, and the vehicles in the fleet can be controlled one-to-one or one-to-many; the control can be performed through a large screen or through the APP of the user.
At present, a remote communication technology (such as 5G) is generally adopted for the establishment of a vehicle team communication network, but the communication between vehicles is often dependent on a short-range communication technology (such as Bluetooth or wifi); the fleet leader selected by remote communication is often set as a master node of short-range communication at the same time, but in fact, different parking positions of vehicles can greatly influence the communication efficiency and quality of a network; for example, the master node can directly communicate with a part of vehicles, but needs to relay routes for a plurality of times with a certain vehicle, so that the synchronous control effect is very poor, especially in music control and light control; therefore, how to build a fleet communication network to improve the communication efficiency and the communication quality between vehicles becomes a urgent problem to be solved.
Based on the above, the application provides a method, a device, an electronic device and a storage medium for constructing a fleet communication network, wherein the constructing method comprises the following steps: acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle; if yes, determining a main node and a relay node in the motorcade; and obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
Therefore, the technical scheme provided by the application can determine whether the motorcade reaches the networking condition through the networking parameters of the motorcade vehicles in the local area network, if so, the main node and the relay node are determined in the motorcade, the network delay is obtained, the communication network of the motorcade is determined through the network delay, and the communication efficiency and the communication quality of the motorcade are improved.
In order to facilitate understanding of the present application, the technical solutions provided by the present application will be described in detail below with reference to specific embodiments.
Referring to fig. 1, fig. 1 is a flowchart of a method for constructing a fleet communication network according to an embodiment of the present application, as shown in fig. 1, the method includes:
s101, acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle;
in this step, the embodiment is suitable for any dual-shaft driven pure electric vehicle, and can construct a communication network between vehicles in, for example, camping mode, select master-slave mode, and select cooperative mode.
It should be noted that, based on the networking parameters of each vehicle, the step of determining whether the fleet performs networking includes:
s1011, based on networking parameters of each vehicle, if the networking parameters of each vehicle meet the following networking conditions at the same time, determining that the motorcade carries out networking;
in the step, networking parameters comprise the speed, the gear and the state of an electronic hand brake; the networking conditions comprise zero speed in networking parameters, parking gear in networking parameters and braking state of the electronic hand brake in networking parameters.
It should be noted that the construction method further includes:
1. if the vehicle speed in the networking parameters of at least one vehicle is not zero in the networking parameters of each vehicle, determining that the motorcade does not carry out networking, and determining that the motorcade carries out networking until the networking parameters of each vehicle meet the networking conditions at the same time.
Here, when determining whether a networking condition is established, a networking policy includes when to network, when to break up a network, and when to reconstruct the network; specifically, when all vehicles in the network meet the conditions that the vehicle speed is 0, the gear is the P gear (i.e. parking gear) and the electronic hand brake EPB is pulled up (i.e. braking state), the network is formed by the motorcades; when the speed of any vehicle in the network is not 0, the condition of network dismissal is achieved; and maintaining the network dismissal condition until the networking condition is established again, and re-networking can be performed.
S102, if so, determining a main node and a relay node in the motorcade;
it should be noted that, referring to fig. 2, fig. 2 is a flowchart of another method for constructing a fleet communication network according to an embodiment of the present application, as shown in fig. 2, the step of determining a master node in a fleet includes:
s201, in the motorcade, aiming at each vehicle in the motorcade, determining the vehicles which are in two-point communication with the vehicle in the motorcade as direct communication vehicles, and determining the number of the direct communication vehicles corresponding to the vehicles;
s202, determining the vehicle with the largest number of the direct communication vehicles as a vehicle to be selected among the numbers of the direct communication vehicles corresponding to each vehicle, and determining whether the vehicle to be selected is unique;
s203, if the vehicle to be selected is unique, determining the vehicle to be selected as a main node;
and S204, if the target distance of each vehicle to be selected is not unique, determining the target distance of the vehicle to be selected, and determining the vehicle to be selected with the minimum target distance as a main node in the target distance of each vehicle to be selected.
In the step, the election strategy of the master node is divided into two steps: the method comprises the steps that firstly, a communicator with the most nodes wins, and if the node which can directly communicate with the most nodes in the network is unique, the node is selected as a main node; and secondly, if the distance is the best, if the number of the direct communication nodes with a plurality of nodes in the network is the same, selecting a main node through the distance optimization based on the steps S2041 to S2045.
It should be noted that, for each candidate vehicle, the step of determining the target distance of the candidate vehicle includes:
s2041, determining the sum of the distances between each candidate vehicle and the rest of the candidate vehicles as a first parameter of the candidate vehicle;
s2042, determining the product of the first parameter and a first preset decision factor as a second parameter of the vehicle to be selected;
s2043, determining the sum of squares of the differences between the distances between the vehicle to be selected and each of the rest of the vehicles to be selected as a third parameter of the vehicle to be selected;
s2044, determining the product of the third parameter and a second preset decision factor as a fourth parameter of the vehicle to be selected;
and S2045, determining the sum of the second parameter and the fourth parameter as the target distance of the vehicle to be selected.
In this step, the first preset decision factor a and the second preset decision factor b are experience constants, which can be preset according to historical experience or experimental data, and a=b=0.5 can be selected; the target distance formula is: a is multiplied by the sum of all node distances +b is multiplied by the sum of squares of the distance differences; the sum of the distances of all nodes is the sum of the distances between the vehicle to be selected and the rest vehicles to be selected, namely a first parameter; the sum of squares of the two-by-two distance differences is the sum of squares of the differences between the distances of the vehicle to be selected and the rest of the vehicles to be selected, namely a third parameter; the target distance of each vehicle to be selected can be obtained, and the vehicle to be selected corresponding to the target distance with the smallest value is determined to be the main node.
It should be noted that the step of determining the relay node in the motorcade includes:
1. in the motorcade, controlling the main node to send an instruction for inquiring the target vehicle to other vehicles in the motorcade;
2. acquiring response time of the target vehicle, which is returned by other vehicles in the vehicle team after receiving the instruction, from the inquiry;
3. and determining the vehicle corresponding to the response time with the smallest value as the relay node in the response time returned by the rest vehicles.
In the step, the main node is not necessarily capable of directly communicating with all nodes in the network, and for the nodes which cannot be directly reached, a relay node needs to be selected; specifically, the newly decided master node sends out an instruction (search_id instruction) for inquiring the target vehicle to all nodes, and all nodes receiving the instruction Search surrounding networks to identify whether the target ID vehicle exists or not, if so, a positive response is quickly given; and the node with the fastest response is used as a relay node.
And S103, obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if so, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
The step of obtaining the target network delay of the network formed by the master node and the relay node based on the master node and the relay node includes:
s1031, based on a main node and a relay node, the main node is used for indirectly communicating with vehicles which can not perform two-point communication with the main node through the vehicles which perform two-point communication with the vehicle team, and the relay node is used for indirectly communicating with the vehicles which can not perform two-point communication with the main node, so that the main node is controlled to send echo instructions to all vehicles in the vehicle team;
s1032, obtaining delay time of response returned after all vehicles in the vehicle team receive the echo command;
and S1033, determining the delay time with the largest value as the target network delay of the network formed by the main node and the relay node in the delay time corresponding to each vehicle.
In the step, whether the newly constructed network is acceptable or not, and communication evaluation is required; specifically, the newly decided master node sends an Echo instruction (Echo instruction) to all nodes in the network, and all vehicles in the network respond with the highest priority; counting the delay time of all Echo instructions by the master node, and selecting the maximum value (namely the target network delay); if the target network delay is within the preset threshold range, completing the network construction confirmation; if the preset threshold value is exceeded, repeating the previous network construction flow again until the set maximum try number is reached; here, the preset threshold value may be a constant preset according to historical experience or experimental data. In the networking process, the networking condition of the network and the network confirmation link based on the target network delay are increased, and the relatively static network scheme is used for replacing the frequent dynamic networking process, so that the precious energy consumption of vehicles is saved, the vehicle performance is improved, and the communication efficiency and the communication quality of a vehicle team are also improved.
The embodiment of the application provides a method for constructing a vehicle team communication network, which comprises the following steps: acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle; if yes, determining a main node and a relay node in the motorcade; and obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
Therefore, the technical scheme provided by the application can determine whether the motorcade reaches the networking condition through the networking parameters of the motorcade vehicles in the local area network, if so, the main node and the relay node are determined in the motorcade, the network delay is obtained, the communication network of the motorcade is determined through the network delay, and the communication efficiency and the communication quality of the motorcade are improved.
Based on the same application conception, the embodiment of the present application further provides a device for constructing a fleet communication network corresponding to the method for constructing a fleet communication network provided in the foregoing embodiment, and since the principle of solving the problem by the device in the embodiment of the present application is similar to that of constructing a fleet communication network in the foregoing embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 3, fig. 3 is a block diagram of a device for constructing a fleet communication network according to an embodiment of the present application. As shown in fig. 3, the constructing means 310 includes: the 0 acquisition module 311 is configured to acquire networking parameters of all vehicles in a fleet in a local area network, and determine whether the fleet is networked based on the networking parameters of each vehicle;
a processing module 312, configured to determine a main node and a relay node in the fleet when it is determined that the fleet is networked;
and the determining module 313 is configured to obtain, based on the master node and the relay node, a target network delay of a network formed by the master node and the 5 relay nodes, and determine whether the target network delay is less than or equal to a preset threshold, if yes, determine the network formed by the master node and the relay nodes as a communication network of a vehicle team.
Optionally, when the processing module 312 is configured to determine a master node in the fleet, the processing module 312 is specifically configured to:
0, in the motorcade, aiming at each vehicle in the motorcade, determining the vehicles which are in two-point communication with the vehicle in the motorcade as direct communication vehicles, and determining the number of the direct communication vehicles corresponding to the vehicles;
maximizing the number of direct communication vehicles among the numbers of direct communication vehicles corresponding to each vehicle
Determining a vehicle to be selected as a vehicle to be selected, and determining whether the vehicle to be selected is unique;
5, if the vehicle to be selected is unique, determining the vehicle to be selected as a main node;
if the target distance of the selected vehicle is not the same, determining the target distance of the selected vehicle for each selected vehicle, and determining the selected vehicle with the minimum target distance as a main node in the target distance of each selected vehicle.
Optionally, when the processing module 312 is configured to determine, for each candidate vehicle, a target distance of the candidate vehicle, the processing module 312 is specifically configured to:
for each candidate vehicle, determining the sum of the distances between the candidate vehicle and each of the rest of the candidate vehicles as a first parameter of the candidate vehicle;
determining the product of the first parameter and a first preset decision factor as a second parameter of the vehicle to be selected;
determining the sum of squares of the differences between the distances between the candidate vehicle and each of the rest of the candidate vehicles as a third parameter of the candidate vehicle;
determining the product of the third parameter and a second preset decision factor as a fourth parameter of the vehicle to be selected;
and determining the sum of the second parameter and the fourth parameter as the target distance of the vehicle to be selected.
Optionally, when the processing module 312 is configured to determine a relay node in the fleet, the processing module 312 is specifically configured to:
in the motorcade, controlling the main node to send an instruction for inquiring the target vehicle to other vehicles in the motorcade;
acquiring response time of the target vehicle, which is returned by other vehicles in the vehicle team after receiving the instruction, from the inquiry;
and determining the vehicle corresponding to the response time with the smallest value as the relay node in the response time returned by the rest vehicles.
Optionally, when the obtaining module 311 is configured to determine whether the fleet is networked based on the networking parameter of each vehicle, the obtaining module 311 is specifically configured to:
based on the networking parameters of each vehicle, if the networking parameters of each vehicle meet the following networking conditions at the same time, determining that the motorcade performs networking; the networking conditions comprise zero speed in the networking parameters, parking gear in the networking parameters and braking state of the electronic hand brake in the networking parameters.
Optionally, the obtaining module 311 is further configured to:
if the vehicle speed in the networking parameters of at least one vehicle is not zero in the networking parameters of each vehicle, determining that the motorcade does not carry out networking, and determining that the motorcade carries out networking until the networking parameters of each vehicle meet the networking conditions at the same time.
Optionally, when the determining module 313 is configured to obtain, based on a master node and a relay node, a target network delay of a network formed by the master node and the relay node, the determining module 313 is specifically configured to:
based on a main node and a relay node, the main node is controlled to send echo instructions to all vehicles in the vehicle team through vehicles which are in two-point communication with the main node and vehicles which are not in two-point communication with the main node through indirect communication with the relay node;
acquiring delay time of response returned by all vehicles in the motorcade after receiving the echo command;
and determining the delay time with the largest value as the target network delay of the network formed by the main node and the relay node in the delay time corresponding to each vehicle.
The embodiment of the application provides a device for constructing a vehicle team communication network, which comprises: the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring networking parameters of all vehicles in a motorcade in a local area network and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle; the processing module is used for determining a main node and a relay node in the motorcade when the motorcade is determined to be networked; the determining module is used for obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team.
Therefore, the technical scheme provided by the application can determine whether the motorcade reaches the networking condition through the networking parameters of the motorcade vehicles in the local area network, if so, the main node and the relay node are determined in the motorcade, the network delay is obtained, the communication network of the motorcade is determined through the network delay, and the communication efficiency and the communication quality of the motorcade are improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 4, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
The memory 420 stores machine-readable instructions executable by the processor 410, when the electronic device 400 is running, the processor 410 communicates with the memory 420 through the bus 430, and when the machine-readable instructions are executed by the processor 410, the steps of the method for constructing a fleet communication network in the method embodiments shown in fig. 1 and fig. 2 can be executed, and detailed description thereof will be omitted.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for constructing a fleet communication network in the method embodiments shown in fig. 1 and fig. 2 can be executed, and the specific implementation manner can be referred to the method embodiments and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. A method of constructing a fleet communication network, the method comprising:
acquiring networking parameters of all vehicles in a motorcade in a local area network, and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle;
if yes, determining a main node and a relay node in the motorcade;
based on a main node and a relay node, obtaining a target network delay of a network formed by the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team;
the step of determining the master node in the motorcade comprises the following steps:
in the motorcade, for each vehicle in the motorcade, determining the vehicle which carries out two-point communication with the vehicle in the motorcade as a direct communication vehicle, and determining the number of the direct communication vehicles corresponding to the vehicle;
determining the vehicle with the largest number of the direct communication vehicles as a vehicle to be selected among the numbers of the direct communication vehicles corresponding to each vehicle, and determining whether the vehicle to be selected is unique;
if the vehicle to be selected is unique, determining the vehicle to be selected as a main node;
if the target distance of the selected vehicle is not the same, determining the target distance of the selected vehicle for each selected vehicle, and determining the selected vehicle with the minimum target distance as a main node in the target distance of each selected vehicle;
the step of determining, for each candidate vehicle, a target distance of the candidate vehicle includes:
for each candidate vehicle, determining the sum of the distances between the candidate vehicle and each of the rest of the candidate vehicles as a first parameter of the candidate vehicle;
determining the product of the first parameter and a first preset decision factor as a second parameter of the vehicle to be selected;
determining the sum of squares of the differences between the distances between the candidate vehicle and each of the rest of the candidate vehicles as a third parameter of the candidate vehicle;
determining the product of the third parameter and a second preset decision factor as a fourth parameter of the vehicle to be selected;
and determining the sum of the second parameter and the fourth parameter as the target distance of the vehicle to be selected.
2. The method of constructing as defined in claim 1, wherein said step of determining a relay node in said fleet comprises:
in the motorcade, controlling the main node to send an instruction for inquiring the target vehicle to other vehicles in the motorcade;
acquiring response time of the target vehicle, which is returned by other vehicles in the vehicle team after receiving the instruction, from the inquiry;
and determining the vehicle corresponding to the response time with the smallest value as the relay node in the response time returned by the rest vehicles.
3. The method of building of claim 1, wherein the step of determining whether the fleet is networked based on the networking parameters for each vehicle comprises:
based on the networking parameters of each vehicle, if the networking parameters of each vehicle meet the following networking conditions at the same time, determining that the motorcade performs networking; the networking conditions comprise zero speed in the networking parameters, parking gear in the networking parameters and braking state of the electronic hand brake in the networking parameters.
4. A method of building according to claim 3, wherein the method of building further comprises:
if the vehicle speed in the networking parameters of at least one vehicle is not zero in the networking parameters of each vehicle, determining that the motorcade does not carry out networking, and determining that the motorcade carries out networking until the networking parameters of each vehicle meet the networking conditions at the same time.
5. The method of constructing according to claim 1, wherein the step of obtaining a target network delay of a network constituted by the master node and the relay node based on the master node and the relay node includes:
based on a main node and a relay node, the main node is controlled to send echo instructions to all vehicles in the vehicle team through vehicles which are in two-point communication with the main node and vehicles which are not in two-point communication with the main node through indirect communication with the relay node;
acquiring delay time of response returned by all vehicles in the motorcade after receiving the echo command;
and determining the delay time with the largest value as the target network delay of the network formed by the main node and the relay node in the delay time corresponding to each vehicle.
6. A device for constructing a fleet communication network, the device comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring networking parameters of all vehicles in a motorcade in a local area network and determining whether the motorcade performs networking or not based on the networking parameters of each vehicle;
the processing module is used for determining a main node and a relay node in the motorcade when the motorcade is determined to be networked;
the determining module is used for obtaining target network delay of a network formed by the main node and the relay node based on the main node and the relay node, determining whether the target network delay is smaller than or equal to a preset threshold value, and if yes, determining the network formed by the main node and the relay node as a communication network of a vehicle team;
the processing module is specifically configured to, when being configured to determine a master node in the fleet,:
in the motorcade, for each vehicle in the motorcade, determining the vehicle which carries out two-point communication with the vehicle in the motorcade as a direct communication vehicle, and determining the number of the direct communication vehicles corresponding to the vehicle;
determining the vehicle with the largest number of the direct communication vehicles as a vehicle to be selected among the numbers of the direct communication vehicles corresponding to each vehicle, and determining whether the vehicle to be selected is unique;
if the vehicle to be selected is unique, determining the vehicle to be selected as a main node;
if the target distance of the selected vehicle is not the same, determining the target distance of the selected vehicle for each selected vehicle, and determining the selected vehicle with the minimum target distance as a main node in the target distance of each selected vehicle;
the processing module is specifically configured to, when being configured to determine, for each candidate vehicle, a target distance of the candidate vehicle:
for each candidate vehicle, determining the sum of the distances between the candidate vehicle and each of the rest of the candidate vehicles as a first parameter of the candidate vehicle;
determining the product of the first parameter and a first preset decision factor as a second parameter of the vehicle to be selected;
determining the sum of squares of the differences between the distances between the candidate vehicle and each of the rest of the candidate vehicles as a third parameter of the candidate vehicle;
determining the product of the third parameter and a second preset decision factor as a fourth parameter of the vehicle to be selected;
and determining the sum of the second parameter and the fourth parameter as the target distance of the vehicle to be selected.
7. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method of constructing a fleet communication network according to any of claims 1 to 5.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method of constructing a fleet communication network as claimed in any one of claims 1 to 5.
CN202211717632.0A 2022-12-29 2022-12-29 Method and device for constructing fleet communication network, electronic equipment and storage medium Active CN115884126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211717632.0A CN115884126B (en) 2022-12-29 2022-12-29 Method and device for constructing fleet communication network, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211717632.0A CN115884126B (en) 2022-12-29 2022-12-29 Method and device for constructing fleet communication network, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115884126A CN115884126A (en) 2023-03-31
CN115884126B true CN115884126B (en) 2023-09-15

Family

ID=85757403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211717632.0A Active CN115884126B (en) 2022-12-29 2022-12-29 Method and device for constructing fleet communication network, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115884126B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711285A (en) * 2012-04-28 2012-10-03 西南科技大学 Method for learning table-driven cross-layer routing in wireless ad hoc network
CN103475580A (en) * 2013-09-26 2013-12-25 中国科学技术大学苏州研究院 Optimal relay selecting method based on power control technology in internet of vehicles
CN104486399A (en) * 2014-12-11 2015-04-01 深圳职业技术学院 Portable vehicle-following terminal and vehicle-following system of vehicle teams
CN106332122A (en) * 2015-06-26 2017-01-11 中兴通讯股份有限公司 Method and device for managing vehicles in Internet of Vehicles
CN110536238A (en) * 2019-09-29 2019-12-03 中国人民解放军陆军工程大学 Unmanned aerial vehicle cluster networking method, device and system based on message subscription
CN110719618A (en) * 2019-10-24 2020-01-21 辰芯科技有限公司 Routing method, device, terminal and storage medium of wireless ad hoc network
CN111314889A (en) * 2020-02-26 2020-06-19 华南理工大学 Task unloading and resource allocation method based on mobile edge calculation in Internet of vehicles
CN113949984A (en) * 2020-06-30 2022-01-18 宝能汽车集团有限公司 Vehicle fleet communication method, vehicle fleet communication device and vehicle-mounted terminal
CN114222369A (en) * 2021-12-15 2022-03-22 成都航天通信设备有限责任公司 Networking communication method, device and system
CN115190559A (en) * 2022-07-14 2022-10-14 浙江方大通信有限公司 Networking and control method of multi-scene-oriented Internet of things equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711285A (en) * 2012-04-28 2012-10-03 西南科技大学 Method for learning table-driven cross-layer routing in wireless ad hoc network
CN103475580A (en) * 2013-09-26 2013-12-25 中国科学技术大学苏州研究院 Optimal relay selecting method based on power control technology in internet of vehicles
CN104486399A (en) * 2014-12-11 2015-04-01 深圳职业技术学院 Portable vehicle-following terminal and vehicle-following system of vehicle teams
CN106332122A (en) * 2015-06-26 2017-01-11 中兴通讯股份有限公司 Method and device for managing vehicles in Internet of Vehicles
CN110536238A (en) * 2019-09-29 2019-12-03 中国人民解放军陆军工程大学 Unmanned aerial vehicle cluster networking method, device and system based on message subscription
CN110719618A (en) * 2019-10-24 2020-01-21 辰芯科技有限公司 Routing method, device, terminal and storage medium of wireless ad hoc network
CN111314889A (en) * 2020-02-26 2020-06-19 华南理工大学 Task unloading and resource allocation method based on mobile edge calculation in Internet of vehicles
CN113949984A (en) * 2020-06-30 2022-01-18 宝能汽车集团有限公司 Vehicle fleet communication method, vehicle fleet communication device and vehicle-mounted terminal
CN114222369A (en) * 2021-12-15 2022-03-22 成都航天通信设备有限责任公司 Networking communication method, device and system
CN115190559A (en) * 2022-07-14 2022-10-14 浙江方大通信有限公司 Networking and control method of multi-scene-oriented Internet of things equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车用自组织网络SR-ALOHA协议分析;谢旭等;微电子学与计算机;全文 *

Also Published As

Publication number Publication date
CN115884126A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
JP6666281B2 (en) Software update system, server
US10599418B2 (en) Software update system and server
JP6486484B2 (en) In-vehicle control device and information update system for in-vehicle control device
DE102017124683A1 (en) ENERGY REDUCTION FOR ONE VEHICLE
KR101499408B1 (en) Train information management device
WO2016020142A1 (en) Parking space management
JP2019191742A (en) On-vehicle update device, on-vehicle update system, update processing method, and update processing program
CN107020963A (en) Method for managing power in the charging station of electric vehicle
CN107196771A (en) Vehicle netbios synchronization dormancy method, system and gateway controller
CN105141649A (en) System and method for transmitting data of vehicle
CN115884126B (en) Method and device for constructing fleet communication network, electronic equipment and storage medium
CN112615797A (en) Vehicle data transfer queuing
CN108538077B (en) Method and system for generating a parking space for a motor vehicle and storage medium
CN114298294B (en) Neural network memory optimization method and device based on hardware accelerator
CN117315959A (en) Vehicle control method and electronic device
CN116834591A (en) Method, system, medium and equipment for controlling vehicle charging of stereo garage
Boubakri et al. A new architecture of autonomous vehicles: redundant architecture to improve operational safety
CN112668919B (en) Data processing method and device, computer equipment and storage medium
CN112597387A (en) Vehicle-mounted service recommendation method and system and vehicle with same
CN112590772A (en) Vehicle state monitoring method, device, equipment and storage medium
CN110535920A (en) Method, apparatus, storage medium and the vehicle of reporting fault
CN110276979A (en) A kind of method and system that parking stall is shared
CN115140018B (en) Control method and related equipment for hybrid vehicle
CN112671547B (en) Resource allocation method, device and system for service slices in vehicle
KR102663174B1 (en) Can communication system and method of vehicle

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: The construction method, device, electronic device, and storage medium of the fleet communication network

Granted publication date: 20230915

Pledgee: SHANDONG WEIQIAO PIONEERING GROUP Co.,Ltd.

Pledgor: Shanghai Luoke Intelligent Technology Co.,Ltd.

Registration number: Y2024980017205