CN111740956B - Vehicle communication method, device, computer readable medium and electronic equipment - Google Patents
Vehicle communication method, device, computer readable medium and electronic equipment Download PDFInfo
- Publication number
- CN111740956B CN111740956B CN202010427002.4A CN202010427002A CN111740956B CN 111740956 B CN111740956 B CN 111740956B CN 202010427002 A CN202010427002 A CN 202010427002A CN 111740956 B CN111740956 B CN 111740956B
- Authority
- CN
- China
- Prior art keywords
- protocol
- communication
- target
- length
- data
- 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
Links
- 230000006854 communication Effects 0.000 title claims abstract description 544
- 238000004891 communication Methods 0.000 title claims abstract description 543
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004590 computer program Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/03—Protocol definition or specification
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
Embodiments of the present application provide a vehicle communication method, apparatus, computer readable medium, and electronic device. The vehicle communication method includes: acquiring protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, wherein the protocol structures comprise a protocol head length and a protocol tail length; and determining a target protocol structure with the deviation degree smaller than or equal to a preset threshold value between the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols, wherein the target protocol structure is used for generating a target communication protocol for carrying out internet-of-things communication. According to the technical scheme, the communication delay of the Internet of vehicles can be reduced, and the communication quality is improved.
Description
Technical Field
The application relates to the technical field of internet of vehicles, in particular to a vehicle communication method, a device, a computer readable medium and electronic equipment.
Background
Because the communication bodies in the internet of vehicles may use different protocols to encapsulate information to realize communication, in the internet of vehicles system, when the vehicles communicate with any body (such as a cloud platform, a vehicle, a road communication facility and a mobile terminal of a user), the information of the other party can be obtained by analyzing a protocol packet, which means that if multiple protocols exist in the internet of vehicles, the vehicles in the internet of vehicles also need to have multiple protocol analysis functions.
However, the more communication bodies adopting different protocols to encapsulate information in the internet of vehicles, the more protocol analysis functions the vehicles need to have, the larger the storage and calculation resource occupancy rate of the vehicles is, and further larger communication delay and more lost information may be brought, which will seriously affect the information communication quality of the internet of vehicles.
Disclosure of Invention
The embodiment of the application provides a vehicle communication method, a device, a computer readable medium and electronic equipment, so that the communication delay of the Internet of vehicles can be reduced at least to a certain extent, and the communication quality of the Internet of vehicles is improved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
According to an aspect of an embodiment of the present application, there is provided a vehicle communication method including: acquiring protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, wherein the protocol structures comprise a protocol head length and a protocol tail length; and determining a target protocol structure with the deviation degree smaller than or equal to a preset threshold value between the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols, wherein the target protocol structure is used for generating a target communication protocol for carrying out internet-of-things communication.
According to an aspect of an embodiment of the present application, there is provided a vehicle communication device including: the system comprises an acquisition unit, a communication unit and a communication unit, wherein the acquisition unit is configured to acquire protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, and the protocol structures comprise a protocol head length and a protocol tail length; and the determining unit is configured to determine a target protocol structure with the deviation degree smaller than or equal to a preset threshold value between the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols, wherein the target protocol structure is used for generating a target communication protocol for internet communication.
In some embodiments of the present application, based on the foregoing solution, the determining unit includes: a first calculating subunit configured to calculate, according to the protocol structures corresponding to the at least two communication protocols, a protocol length in which a degree of deviation between the protocol structures corresponding to the at least two communication protocols is less than or equal to a preset threshold; a second calculating subunit configured to calculate a new protocol header length and a new protocol trailer length according to the protocol lengths and the protocol structures corresponding to the at least two communication protocols; a structure determination subunit configured to determine the target protocol structure according to the new protocol header length and the new protocol trailer length.
In some embodiments of the present application, based on the foregoing scheme, the first computing subunit is configured to: the degree of deviation Q is calculated by the following formula:
wherein n isThe number of the existing communication protocols in the Internet of vehicles, H i For the length of the protocol head of the protocol structure corresponding to the ith communication protocol existing in the Internet of vehicles, E i And L is used for representing the protocol length for the protocol tail length of a protocol structure corresponding to the i-th communication protocol existing in the Internet of vehicles.
In some embodiments of the present application, based on the foregoing scheme, the first computing subunit is further configured to: and taking the L value when the deviation takes the minimum value as the protocol length.
In some embodiments of the present application, based on the foregoing scheme, the second computing subunit is configured to: calculating the sum of the length of the protocol head and the length of the protocol tail of the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain the length sum value; calculating a first ratio between the sum of the lengths of the protocol heads of the protocol structures corresponding to the at least two communication protocols and the length sum value, and a second ratio between the sum of the lengths of the protocol tails of the protocol structures corresponding to the at least two communication protocols and the length sum value; and dividing the protocol length according to the first ratio and the second ratio to obtain the new protocol head length and the new protocol tail length.
In some embodiments of the present application, based on the foregoing solution, the determining unit further includes: a content determination subunit configured to determine, based on the target protocol structure and protocol contents corresponding to each of the at least two communication protocols, target protocol contents corresponding to each of the communication protocols; and the generation subunit is configured to generate a target communication protocol corresponding to each communication protocol according to the target protocol structure and the target protocol content corresponding to each communication protocol.
In some embodiments of the present application, based on the foregoing scheme, the content determination subunit is configured to: a first type of communication protocol with a protocol header length greater than the protocol header length of the target protocol structure and a protocol trailer length greater than the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols; according to the sequence from high importance to low importance, acquiring first data with the same length as the protocol header of the target protocol structure from the protocol header data of the first type of communication protocol, and acquiring second data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the first type of communication protocol; and generating the target protocol content by taking the first data as protocol header data of the target protocol content and the second data as protocol tail data of the target protocol content.
In some embodiments of the present application, based on the foregoing scheme, the content determination subunit is configured to: a second type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure and the protocol tail length is smaller than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; and generating the target protocol content by taking the protocol header data of the second type of communication protocol as the protocol header data of the target protocol content and the protocol tail data of the second type of communication protocol as the protocol tail data of the target protocol content.
In some embodiments of the present application, based on the foregoing scheme, the content determination subunit is configured to: a third type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure, but the protocol tail length is larger than the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; according to the order of the importance from high to low, acquiring third data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the third type of communication protocol; and taking the third data as protocol tail data of the target protocol content, and taking the protocol head data of the third type of communication protocol as the protocol head data of the target protocol content to generate the target protocol content.
In some embodiments of the present application, based on the foregoing scheme, the content determination subunit is configured to: a fourth type of communication protocol, wherein the protocol head length is greater than the protocol head length of the target protocol structure, but the protocol tail length is less than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; acquiring fourth data with the same length as the protocol header of the target protocol structure from the protocol header data of the fourth type of communication protocol according to the order of importance from high to low; and taking the fourth data as protocol header data of the target protocol content, and taking protocol tail data of the fourth type of communication protocol as protocol tail data of the target protocol content to generate the target protocol content.
In some embodiments of the present application, based on the foregoing solution, the obtaining unit is configured to: classifying the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain at least one type of communication protocol; and acquiring protocol structures corresponding to various communication protocols in the at least one type of communication protocols.
According to an aspect of an embodiment of the present application, there is provided a vehicle communication device including: the system comprises an acquisition structure unit, a control unit and a control unit, wherein the acquisition structure unit is configured to acquire a target protocol structure, and the target protocol structure is a protocol structure with the deviation degree between protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles being smaller than or equal to a preset threshold value; a content determining unit configured to determine target protocol content based on protocol content corresponding to the communication protocol used and the target protocol structure; a protocol generation unit configured to generate a target communication protocol according to the target protocol structure and the target protocol content; and the communication unit is configured to perform Internet of vehicles communication according to the target communication protocol.
According to an aspect of the embodiments of the present application, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a vehicle communication method as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; and a storage means for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the vehicle communication method as described in the above embodiments.
In the technical solutions provided in some embodiments of the present application, by acquiring a protocol structure corresponding to an existing communication protocol in the internet of vehicles and determining a target protocol structure based on the protocol structure corresponding to the existing communication protocol, the target protocol structure is utilized to generate a target communication protocol for performing internet of vehicles communication, so that vehicles (or other subjects) in the internet of vehicles can directly determine the target communication protocol corresponding to the communication protocol used by themselves through the target protocol structure and communicate by utilizing the target communication protocol, thereby eliminating the need for the vehicles to have multiple communication protocol analysis functions, and in this way, storage resources and computing resources of the vehicles are saved, thereby reducing the delay of internet of vehicles communication and improving the communication quality of the internet of vehicles.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which the techniques of embodiments of the present application may be applied;
FIG. 2 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 3 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 4 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 5 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 6 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 7 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 8 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 9 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 10 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 11 illustrates a flow chart of a vehicle communication method according to one embodiment of the present application;
FIG. 12 illustrates a schematic diagram of a comparison of a protocol structure of a first type of communication protocol with a protocol structure of a target communication protocol in accordance with one embodiment of the present application;
13A-13D illustrate a protocol structure of a second type of communication protocol in accordance with one embodiment of the present application in comparison with a protocol structure of a target communication protocol;
14A-14B illustrate a protocol structure of a third type of communication protocol in accordance with one embodiment of the present application in comparison with a protocol structure of a target communication protocol;
15A-15B illustrate a comparison of a protocol structure of a fourth type of communication protocol with a protocol structure of a target communication protocol in accordance with one embodiment of the present application;
FIG. 16 illustrates a block diagram of a vehicle communication device according to one embodiment of the present application;
Fig. 17 shows a schematic diagram of a computer system suitable for use in implementing the electronic device of the embodiments of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
It should be appreciated that the vehicle communication method provided by the present application may be applied to an internet of vehicles system. The vehicle networking system takes the running vehicle as an information perception object, realizes network connection among vehicles, vehicles and people, vehicles and roads and vehicles and service platforms by means of a new generation information communication technology, improves the overall intelligent driving level of the vehicle, provides safe, comfortable, intelligent and efficient driving feeling and traffic service for users, improves traffic operation efficiency, and improves the intelligent level of social traffic service.
The Internet of vehicles system is to realize the collection, storage and transmission of all working conditions, static information and dynamic information of the vehicle by installing the vehicle-mounted terminal equipment on the vehicle instrument desk. The system is divided into three major parts: the vehicle-mounted terminal, the cloud computing processing platform and the data analysis platform are used for effectively monitoring and managing the vehicle according to different functional requirements of different industries on the vehicle. The operation of the vehicle often involves multiple switching values, sensor analog values, controller area network (Controller Area Network, CAN) signal data and the like, and vehicle data generated by a driver are continuously returned to a background database to form massive data in the operation process of the vehicle, the cloud computing platform is used for realizing the filtering and cleaning of the data, and the data analysis platform is used for performing the form reporting processing on the data for the manager to check.
For ease of understanding, referring to fig. 1, fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include a vehicle 101, a vehicle 102, a vehicle 103, and a network device 104. It may be appreciated that the network device 104 may actively acquire the vehicle information of the vehicle 101, the vehicle 102, and the vehicle 103, or the vehicle 101, the vehicle 102, and the vehicle 103 may actively report the vehicle information of itself to the network device 104. The vehicles 101, 102 and 103 are provided with terminal devices for communication, and the terminal devices can realize communication between vehicles and the cloud platform, communication between vehicles and roads, communication between vehicles and people and communication between devices in the vehicles through different communication protocols.
It should be noted that the terminal device includes, but is not limited to, tablet computer, notebook computer, palm computer, mobile phone, voice interaction device, and personal computer (personal computer, PC), which are not limited herein. It should be noted that, one network device 104 shown in fig. 1 is only one illustration, and the network device 104 may be one or more network devices, and the network device 104 may be disposed in a fixed area or may be disposed in a cloud. The three vehicles ( vehicle 101, 102, 103) shown in fig. 1 are also illustrative, and in practical applications, the internet of vehicles system may include other numbers of vehicles, not limited herein.
In an application scenario of the present application, the network device 104 may acquire a protocol structure corresponding to an existing communication protocol in the vehicle network, and determine a target protocol structure with a deviation degree between the protocol structures corresponding to the existing communication protocol being less than or equal to a preset threshold.
In one embodiment, after determining the target protocol structures, the network device 104 may send the target protocol structures to the vehicle 101, the vehicle 102, and the vehicle 103, respectively, and the vehicle 101, the vehicle 102, and the vehicle 103 determine respective corresponding target communication protocols according to the target protocol structures, and perform internet of vehicles communication according to the respective corresponding target communication protocols.
In another embodiment, after determining the target protocol structure, the network device 104 may generate target communication protocols corresponding to the vehicles 101, 102, and 103 through the target protocol structure and protocol contents corresponding to the communication protocols used by the vehicles 101, 102, and 103, and send the target communication protocols corresponding to the vehicles to the corresponding vehicles, respectively, so that the vehicles can perform internet of vehicles communication according to the received target communication protocols.
The vehicle communication method provided by the embodiment of the present application may be performed by the network device 104, and accordingly, the vehicle communication apparatus may be provided in the network device 104. Alternatively, the vehicle communication method provided by the embodiment of the present application may also be performed by terminal devices disposed on the vehicle 101, the vehicle 102, and the vehicle 103, and accordingly, the vehicle communication device may be disposed in the terminal devices on the vehicle 101, the vehicle 102, and the vehicle 103.
The implementation details of the technical solutions of the embodiments of the present application are described in detail below:
fig. 2 shows a flowchart of a vehicle communication method according to an embodiment of the present application, which may be performed by a network device, which may be the network device 104 shown in fig. 1, referring to fig. 2, the vehicle communication method includes:
step S210, acquiring protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, wherein the protocol structures comprise a protocol head length and a protocol tail length;
step S220, determining a target protocol structure with the deviation degree smaller than or equal to a preset threshold value between the protocol structures corresponding to at least two communication protocols according to the protocol structures corresponding to at least two communication protocols, wherein the target protocol structure is used for generating a target communication protocol for internet-of-things communication.
These steps are described in detail below.
In step S210, a protocol structure corresponding to at least two communication protocols existing in the internet of vehicles is obtained, where the protocol structure includes a protocol header length and a protocol trailer length.
Communication between the vehicle and the cloud platform, communication between the vehicle and the vehicle, communication between the vehicle and the road, communication between the vehicle and people and communication between in-vehicle devices can be realized in the Internet of vehicles. And the communication protocol refers to rules and conventions followed by communication or services performed between communication entities in the internet of vehicles, where different communication entities may use different communication protocols to encapsulate information to perform the communication or services, for example, communication protocol 1 is used to perform communication between vehicle 1 and vehicle 2, communication protocol 2 is used to perform communication between vehicle 1 and vehicle 3, and communication protocol 3 is used to perform communication between vehicle 1 and road communication facility 1, where communication protocol 1, communication protocol 2 and communication protocol 3 are represented herein as different communication protocols.
Thus, at least two communication protocols existing in the internet of vehicles can be acquired by the execution subject, wherein at least two means two or more. It should be understood that each communication protocol has a corresponding protocol structure, which is a structure formed including a protocol header length and a protocol trailer length.
In an embodiment of the present application, the acquiring manner may be that the executing body actively acquires protocol structures corresponding to at least two communication protocols existing in the internet of vehicles, or the executing body reports the communication protocol used by the executing body to the executing body, so that the executing body can acquire protocol structures corresponding to at least two communication protocols existing in the internet of vehicles.
Step S220, determining a target protocol structure with the deviation degree smaller than or equal to a preset threshold value between the protocol structures corresponding to at least two communication protocols according to the protocol structures corresponding to at least two communication protocols, wherein the target protocol structure is used for generating a target communication protocol for internet-of-things communication.
Specifically, after the executing body acquires the protocol structures corresponding to the at least two communication protocols, the executing body may determine a target protocol structure that satisfies a condition, where the condition may be that a degree of deviation between the protocol structures corresponding to the at least two communication protocols is less than or equal to a preset threshold. The preset threshold may be a value summarized empirically in advance.
The deviation degree, as the name implies, refers to the deviation degree between protocol structures, and the meaning is exemplified, and if a communication protocol used by a certain vehicle in the internet of vehicles is not its original communication protocol but a new communication protocol, the following two cases exist: a) The length of the protocol structure of the new communication protocol is smaller than that of the original communication protocol; or b) the length of the protocol structure of the new communication protocol is greater than the length of the protocol structure of the original communication protocol. It can be seen that, in either case a) or b), there is always a deviation between the protocol structure of the new communication protocol and the protocol structure of the original communication protocol, which deviation is the degree of deviation.
It should be noted that, the target protocol structure may be used to generate a target communication protocol for internet of vehicles communication, in other words, after the target protocol structure is determined, the target protocol structure may be used to generate the target communication protocol for internet of vehicles communication, and then vehicles in the internet of vehicles may use the target communication protocol to communicate when communicating, that is, the technical scheme provided by the embodiment of the application does not need the vehicles themselves to have at least two protocol analysis functions, the vehicles may communicate through the target communication protocol, and only needs to analyze the information encapsulated by the received target communication protocol, thereby saving the calculation storage resources of the vehicles, reducing the delay of vehicle communication, and further improving the information communication quality of the internet of vehicles.
In one embodiment of the present application, since the protocol structure includes a protocol header length and a protocol tail length, as shown in fig. 3, step S220 may specifically include steps S2201-S2203, which are described in detail below:
step S2201, according to the protocol structures corresponding to the at least two communication protocols, calculates a protocol length with a deviation degree between the protocol structures corresponding to the at least two communication protocols being less than or equal to a preset threshold.
In one embodiment of the present application, the degree of deviation Q may be calculated by the following formula:
wherein n is the number of communication protocols existing in the Internet of vehicles, H i For the length of the protocol head of the protocol structure corresponding to the ith communication protocol existing in the Internet of vehicles, E i And L is used for representing the protocol length for the protocol tail length of a protocol structure corresponding to the i-th communication protocol existing in the Internet of vehicles.
From the above formula, if a certain protocol length L and the sum of the protocol header length and the protocol tail length corresponding to the protocol structure corresponding to the existing communication protocol are known, the degree of deviation between the two can be expressed according to the absolute value of the difference between the two.
Therefore, in this step, in particular, conversely, a protocol length, in which the degree of deviation between the protocol structures corresponding to the at least two communication protocols is less than or equal to the preset threshold, may also be calculated according to the protocol structures corresponding to the at least two communication protocols.
In one embodiment of the present application, the value of L when the deviation degree takes the minimum value may also be calculated according to the above formula, and the value of L at this time is taken as the protocol length.
Step S2202, calculating a new protocol header length and a new protocol tail length according to the protocol length and the protocol structures corresponding to at least two communication protocols.
After the protocol length satisfying the condition is obtained in step S2201, a new protocol header length and a new protocol trailer length may be further calculated based on the protocol length and the protocol structures corresponding to at least two communication protocols.
Specifically, the new protocol header length and the new protocol tail length may be calculated according to the protocol header length and the protocol tail length of the protocol structures corresponding to the at least two communication protocols, and the protocol length obtained in step S2201. In one embodiment, the protocol length may be divided based on an average value of a sum of protocol header lengths of protocol structures corresponding to at least two communication protocols and an average value of a sum of protocol tail lengths of protocol structures corresponding to at least two communication protocols, and a new protocol header length and a new protocol tail length are calculated.
Step S2203, determining the target protocol structure according to the new protocol header length and the new protocol tail length.
Specifically, after the new protocol header length and the new protocol tail length are calculated, the new protocol header length can be used as the protocol header length of the target protocol structure, and the new protocol tail length can be used as the protocol tail length of the target protocol structure, so that the target protocol structure is determined.
In one embodiment of the present application, as shown in fig. 4, step S2202 specifically includes steps S22021-S22023:
step S22021, calculating the sum of the length of the protocol head and the length of the protocol tail of the protocol structure corresponding to at least two communication protocols according to the protocol structure corresponding to at least two communication protocols to obtain the length sum value;
step S22022, calculating a first ratio between the sum of the lengths of the protocol heads and the length and the value of the protocol structures corresponding to at least two communication protocols, and a second ratio between the sum of the lengths of the protocol tails and the length and the value of the protocol structures corresponding to at least two communication protocols;
step S22023, dividing the protocol length according to the first ratio and the second ratio to obtain a new protocol header length and a new protocol tail length.
These steps are described in detail below.
In step S22021, according to the protocol structures corresponding to the at least two communication protocols, the sum of the protocol header length and the protocol trailer length of the protocol structures corresponding to the at least two communication protocols is calculated, so as to obtain the length sum value.
Specifically, the length of the protocol header and the length of the protocol tail of the protocol structure corresponding to at least two communication protocols are summed to obtain a length sum value.
For example, if there are n kinds of communication protocols, respectively denoted as S1, S2, and S3 … Sn, and the protocol header lengths of the protocol structures corresponding to the various communication protocols are respectively denoted as H1, H2, and H3 … Hn, and the protocol tail lengths of the protocol structures corresponding to the various communication protocols are respectively denoted as E1, E2, and E3 … En, the sum of the lengths s=h1+e1+h2+e2+h3+e3 … … hn+en can be obtained.
Step S22022, calculating a first ratio between the sum of the lengths of the protocol headers and the length and the value of the protocol structures corresponding to the at least two communication protocols, and a second ratio between the sum of the lengths of the protocol tails and the length and the value of the protocol structures corresponding to the at least two communication protocols.
After the length and the value are obtained, a first ratio between the sum of the lengths of the protocol heads of the protocol structures corresponding to at least two communication protocols and the length and the value and a second ratio between the sum of the lengths of the protocol tails of the protocol structures corresponding to at least two communication protocols and the length and the value are further calculated.
Continuing with the above example, a first ratio q1= (h1+h2+h3+ … +hn)/S and a second ratio q2= (e1+e2+e3+ … +en)/S may be calculated.
Step S22023, dividing the protocol length according to the first ratio and the second ratio to obtain a new protocol header length and a new protocol tail length.
After the first ratio and the second ratio are calculated, the protocol length can be divided by using the first ratio and the second ratio, the part corresponding to the first ratio is used as a new protocol head length, and the part corresponding to the second ratio is used as a new protocol tail length.
Based on the technical scheme provided by the embodiment, the new protocol head length and the new protocol tail length are calculated by using the first ratio of the sum of the lengths of the existing protocol heads to the sum of the lengths of the values and the second ratio of the sum of the lengths of the existing protocol tails to the sum of the lengths of the values, so that the target protocol structure determined by the new protocol head length and the new protocol tail length corresponds to the protocol structure of the existing communication protocol, and the function of the existing communication protocol can be reserved to the greatest extent by the target protocol structure.
In an embodiment of the present application, after determining the target protocol structure, the executing body may further generate a target communication protocol corresponding to an existing communication protocol according to the target protocol structure, where in this embodiment, as shown in fig. 5, the vehicle communication method further includes:
Step S510, determining the target protocol content corresponding to each communication protocol based on the target protocol structure and the protocol content corresponding to each communication protocol in at least two communication protocols;
step S520, generating a target communication protocol corresponding to each communication protocol according to the target protocol structure and the target protocol content corresponding to each communication protocol.
In step S510, after the execution body determines the target protocol structure, all vehicles in the internet of vehicles can communicate by using the target protocol structure, and it is understood that, in order to implement internet of vehicles communication, when the communication is performed by using the target protocol structure, the protocol content needs to be encapsulated by using the target protocol structure, so as to obtain a complete communication protocol.
In this embodiment, the target protocol structure and the existing protocol content determine the target protocol content, so that the target protocol content is determined on the basis of fully combining the characteristics of the existing protocol content of the vehicle, the replacement of the communication protocol is avoided, and the data loss caused by the replacement of the communication protocol can be further reduced to the greatest extent.
In step S520, a target communication protocol corresponding to each communication protocol is generated based on the target protocol structure and the target protocol content corresponding to each communication protocol.
Specifically, after the target protocol structure and the target protocol content corresponding to each communication protocol are determined, the target communication protocol corresponding to each communication protocol can be generated directly according to the target protocol structure and the target protocol content corresponding to each communication protocol.
Since the protocol structure of each communication protocol is unlikely to be identical to the target protocol structure, when determining the target protocol content corresponding to each communication protocol based on the target protocol structure and the protocol content corresponding to each communication protocol, different processing modes can be selected according to various conditions existing between the protocol structure of each communication protocol and the target protocol structure.
In one embodiment of the present application, as shown in fig. 6, step S510 specifically includes:
step S610, a first type of communication protocol with a protocol header length greater than that of the target protocol structure and a protocol tail length greater than that of the target protocol structure is obtained from at least two communication protocols;
Step S620, according to the order of importance from high to low, acquiring first data with the same length as the protocol header of the target protocol structure from the protocol header data of the first type of communication protocol, and acquiring second data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the first type of communication protocol;
step S630, the first data is used as the protocol header data of the target protocol content, and the second data is used as the protocol trailer data of the target protocol content, so as to generate the target protocol content.
In step S610, a first type of communication protocol having a protocol header length greater than a protocol header length of the target protocol structure and a protocol trailer length greater than a protocol trailer length of the target protocol structure is acquired from at least two communication protocols.
Because the protocol structures of at least two existing communication protocols may be different from the target protocol structure, the protocol structures of at least two communication protocols may be compared with the target protocol structure, and then the determination mode of the target protocol content may be selected according to the comparison result.
In this embodiment, a first type of communication protocol may be obtained from at least two types of communication protocols, and a comparison schematic diagram of a protocol structure of the first type of communication protocol and a target protocol structure may be referred to as fig. 12, where a protocol header length of the first type of communication protocol is greater than a protocol header length of the target protocol structure, and a protocol trailer length of the first type of communication protocol is greater than a protocol trailer length of the target protocol structure.
In step S620, first data with the same length as the protocol header of the target protocol structure is obtained from the protocol header data of the first type of communication protocol in order of high importance from low importance, and second data with the same length as the protocol trailer of the target protocol structure is obtained from the protocol trailer data of the first type of communication protocol.
For the first type of communication protocol, since the length of the protocol header and the length of the protocol tail are respectively greater than the length of the protocol header and the length of the protocol tail of the target protocol structure, it is impossible to load all the protocol header data and the protocol tail data of the first type of communication protocol into the protocol header and the protocol tail of the target protocol structure respectively, in one embodiment, the protocol contents of the first type of communication protocol can be ordered from high to low in importance, it is understood that the importance of the protocol contents is preset, for example, the importance of the information representing the license plate of the vehicle in the protocol contents is self-evident, otherwise, the information transmitted by the vehicle is difficult to correspond to the vehicle transmitting the information.
After the importance of the protocol header data of the first type of communication protocol is sequenced, the first data with the same length as the protocol header of the target protocol structure can be obtained from the protocol header data, and likewise, after the importance of the protocol trailer data of the first type of communication protocol is sequenced, the second data with the same length as the protocol trailer of the target protocol structure can be obtained from the protocol header and the protocol trailer.
Step S630, the first data is used as the protocol header data of the target protocol content, and the second data is used as the protocol trailer data of the target protocol content, so as to generate the target protocol content.
Because the first data includes the data with the same length as the protocol header of the target protocol structure, and the second data includes the data with the same length as the protocol trailer of the target protocol structure, the first data can be completely loaded into the protocol header of the target protocol structure, and the second data can be completely loaded into the protocol trailer of the target protocol structure, that is, the first data is used as the protocol header data of the target protocol content, and the second data is used as the protocol trailer data of the target protocol content, so that the target protocol content is generated according to the protocol header data of the target protocol content and the protocol trailer data of the target protocol content.
The first data may be sequentially loaded into the protocol header of the target protocol structure according to importance, or the first data may be randomly loaded into the protocol header of the target protocol structure, and similarly, the second data may be sequentially loaded into the protocol tail of the target protocol structure according to importance, or the second data may be randomly loaded into the protocol header of the target protocol structure.
In one embodiment of the present application, as shown in fig. 7, step S510 specifically includes:
step S710, a second type of communication protocol with a protocol header length smaller than or equal to the protocol header length of the target protocol structure and a protocol tail length smaller than or equal to the protocol tail length of the target protocol structure is obtained from at least two communication protocols;
step S720, the protocol header data of the second type communication protocol is used as the protocol header data of the target protocol content, and the protocol tail data of the second type communication protocol is used as the protocol tail data of the target protocol content, so as to generate the target protocol content.
These steps are explained in detail below:
in step S710, a second type of communication protocol having a protocol header length less than or equal to a protocol header length of the target protocol structure and a protocol trailer length less than or equal to a protocol trailer length of the target protocol structure is acquired from at least two communication protocols.
In this embodiment, the second type of communication protocol may be obtained from at least two types of communication protocols, and a comparison diagram of a protocol structure of the second type of communication protocol and a target protocol structure may be seen in fig. 13A-13D, which includes four cases in total, as shown in fig. 13A, where the first case is: the protocol head length and the protocol tail length of the second type of communication protocol are respectively smaller than the protocol head length and the protocol tail length of the target protocol structure; as shown in fig. 13B, the second case is: the protocol head length and the protocol tail length of the second type of communication protocol are respectively equal to the protocol head length and the protocol tail length of the target protocol structure; as shown in fig. 13C, the third case is: the protocol head length of the second type of communication protocol is smaller than the protocol head length of the target protocol structure, but the protocol tail length of the second type of communication protocol is equal to the protocol tail length of the target protocol structure; as shown in fig. 13D, the fourth case is: the second type of communication protocol has a protocol header length equal to the protocol header length of the target protocol structure, but a protocol trailer length less than the protocol trailer length of the target protocol structure.
In step S720, the protocol header data of the second type communication protocol is used as the protocol header data of the target protocol content, and the protocol trailer data of the second type communication protocol is used as the protocol trailer data of the target protocol content, so as to generate the target protocol content.
For the second type of communication protocol, the protocol header length and the protocol trailer length are respectively smaller than the protocol header length and the protocol trailer length of the target protocol structure, or are respectively equal to the protocol header length and the protocol trailer length of the target protocol structure, or are respectively smaller than the protocol header length of the target protocol structure, the protocol trailer length is equal to the protocol trailer length of the target protocol structure, or are respectively equal to the protocol header length of the target protocol structure, and are smaller than the protocol trailer length of the target protocol structure, however, in either case, the protocol header data of the second type of communication protocol can be directly used as the protocol header data of the target protocol content, and the protocol trailer data of the second type of communication protocol can be used as the protocol trailer data of the target protocol content.
In addition, for the case that the protocol header length of the second type of communication protocol is smaller than the protocol header length of the target protocol structure, the rest of the protocol header of the target protocol structure may be further emptied or taken as a default value, where the default value may be determined according to the specific situation, where the rest of the protocol header of the target protocol structure refers to a portion lacking loadable protocol header data; alternatively, in the case that the protocol tail length of the second type of communication protocol is smaller than the protocol head length of the target protocol structure, the rest of the protocol tail of the target protocol structure may be emptied or taken as a default value.
In one embodiment of the present application, as shown in fig. 8, step S510 specifically includes steps S810 to S830, which are described in detail below:
in step S810, a third type of communication protocol having a protocol header length less than or equal to the protocol header length of the target protocol structure but a protocol trailer length greater than the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols.
In this embodiment, a third type of communication protocol may be obtained from at least two types of communication protocols, and a comparison schematic diagram of a protocol structure of the third type of communication protocol and a target protocol structure may be seen in fig. 14A-14B, which includes two cases, as shown in fig. 14A, where the first case is: the protocol head length of the third type of communication protocol is smaller than the protocol head length of the target protocol structure, but the protocol tail length of the third type of communication protocol is larger than the protocol tail length of the target protocol structure; as shown in fig. 14B, the second case is: the protocol header length of the third type of communication protocol is equal to the protocol header length of the target protocol structure, but the protocol trailer length of the third type of communication protocol is greater than the protocol trailer length of the target protocol structure.
Step S820, obtaining third data with the same protocol tail length as the target protocol structure from the protocol tail data of the third type of communication protocol according to the order of importance from high to low.
For the third type of communication protocol, since its protocol tail length is greater than the protocol tail length of the target protocol structure, it is impossible to load all of the protocol tail data of the third type of communication protocol into the protocol tail of the target protocol structure, and in one embodiment, the protocol tail data of the third type of communication protocol may be ordered from high to low in importance.
After ordering the importance of the protocol tail data of the third type of communication protocol, third data with the same protocol tail length as the target protocol structure can be obtained from the protocol tail data.
In step S830, the third data is used as the protocol tail data of the target protocol content, and the protocol header data of the third type of communication protocol is used as the protocol header data of the target protocol content, so as to generate the target protocol content.
Because the length of the protocol header of the third type of communication protocol is smaller than or equal to the length of the protocol header of the target protocol structure, the protocol header data of the third type of communication protocol can be completely loaded into the protocol header of the target protocol structure, that is, the protocol header data of the third type of communication protocol is used as the protocol header data of the target protocol content, and meanwhile, the third data obtained in the step S820 is used as the protocol tail data of the target protocol content, so that the target protocol content is generated according to the protocol header data of the target protocol content and the protocol tail data of the target protocol content.
In addition, for the case that the length of the protocol header of the third type of communication protocol is smaller than the length of the protocol header of the target protocol structure, the rest of the protocol header of the target protocol structure may be emptied or taken as a default value.
In one embodiment of the present application, as shown in fig. 9, step S510 specifically includes steps S910 to S920, which are now described in detail as follows:
step S910, a fourth type of communication protocol having a protocol header length greater than the protocol header length of the target protocol structure but a protocol trailer length less than or equal to the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols.
In this embodiment, a fourth type of communication protocol can be obtained from at least two types of communication protocols, and a comparison diagram of a protocol structure of the fourth type of communication protocol and a target protocol structure can be seen in fig. 15A-15B, which includes two cases in total, as shown in fig. 15A, where the first case is: the protocol head length of the fourth type of communication protocol is larger than the protocol head length of the target protocol structure, but the protocol tail length of the fourth type of communication protocol is smaller than the protocol tail length of the target protocol structure; as shown in fig. 15B, the second case is: the protocol header length of the fourth type of communication protocol is greater than the protocol header length of the target protocol structure, but the protocol trailer length of the fourth type of communication protocol is equal to the protocol trailer length of the target protocol structure.
In step S920, fourth data with the same length as the protocol header of the target protocol structure is acquired from the protocol header data of the fourth type of communication protocol in order of importance from high to low.
For the fourth type of communication protocol, since its protocol header length is greater than the protocol header length of the target protocol structure, it is impossible to load all of the protocol header data of the fourth type of communication protocol into the protocol header of the target protocol structure, and in one embodiment, the protocol header data of the fourth type of communication protocol may be ordered from high to low in importance.
After ordering the importance of the protocol header data of the fourth type of communication protocol, fourth data with the same length as the protocol header of the target protocol structure can be obtained from the protocol header data.
In step S930, the fourth data is used as the protocol header data of the target protocol content, and the protocol tail data of the fourth type of communication protocol is used as the protocol tail data of the target protocol content, so as to generate the target protocol content.
Because the length of the protocol tail of the fourth type of communication protocol is smaller than or equal to the length of the protocol tail of the target protocol structure, the protocol tail data of the fourth type of communication protocol can be completely loaded into the protocol tail of the target protocol structure, that is, the protocol tail data of the fourth type of communication protocol is used as the protocol tail data of the target protocol content, and meanwhile, the fourth data obtained in the step S920 is used as the protocol head data of the target protocol content, so that the target protocol content is generated according to the protocol head data of the target protocol content and the protocol tail data of the target protocol content.
In addition, for the case that the length of the protocol header of the fourth type of communication protocol is smaller than the length of the protocol tail of the target protocol structure, the rest part of the protocol tail of the target protocol structure can be emptied or taken as a default value.
In the following, a frame protocol used by a vehicle to report its own information to other vehicles in the driving of the internet of vehicles safety assistance is illustrated, and tables 1-1, 1-2 and 1-3 respectively show three communication protocols used by the vehicle in reporting to other vehicles, and in the technical scheme of the embodiment of the present application, the determined target protocol structure is the same as the communication protocol structure shown in table 1-3, so that the target communication protocols corresponding to the three communication protocols can be obtained according to the technical scheme of the embodiment of the present application, as shown in table 2-1, table 2-2 and table 2-3.
As can be seen from table 1-1, the protocol header length of the communication protocol of table 1-1 is equal to the protocol header length of the target protocol structure, but the protocol tail length is greater than the protocol tail length of the target protocol structure, so that the communication protocol of table 1-1 belongs to the third type of communication protocol, and therefore, the protocol header data of the communication protocol of table 1-1 can be regarded as the protocol header data of the target protocol content, and the protocol tail data of the communication protocol of table 1-1 can be sorted in importance, and the protocol tail data with the first three sorted importance can be obtained, namely, whether traffic light data, traffic light type (failure) is 0, red: 1, yellow: 2, green: 3) and traffic light distance are respectively, and the obtained protocol tail data with the first three bits is regarded as the protocol tail data of the target protocol content, so that the target communication protocol corresponding to table 1-1 as shown in table 2-1 can be obtained.
As can be seen from table 1-2, the protocol header length of the communication protocol of table 1-2 is smaller than the protocol header length of the target protocol structure, and the protocol trailer length is smaller than the protocol trailer length of the target protocol structure, so that the communication protocol of table 1-1 belongs to the second type of communication protocol, so that the protocol header data of the communication protocol of table 1-2 can be used as the protocol header data of the target protocol content, the protocol trailer data of the communication protocol of table 1-2 can be used as the protocol trailer data of the target protocol content, and the rest of the protocol header of the target protocol structure and the rest of the protocol trailer of the target protocol structure are emptied, so that the target communication protocol corresponding to table 1-2 as shown in table 2-2 can be obtained.
As can be seen from tables 1 to 3, the protocol header length of the communication protocol of tables 1 to 3 is equal to the protocol header length of the target protocol structure, and the protocol trailer length is equal to the protocol trailer length of the target protocol structure, and therefore, the communication protocol of tables 1 to 3 belongs to the second type of communication protocol, so that the protocol header data of the communication protocol of tables 1 to 3 can be used as the protocol header data of the target protocol content, and the protocol trailer data of the communication protocol of tables 1 to 3 can be used as the protocol trailer data of the target protocol content, so that the target communication protocol corresponding to tables 1 to 3 as shown in tables 2 to 3 can be obtained.
TABLE 1-1
TABLE 1-2
Tables 1 to 3
TABLE 2-1
TABLE 2-2
Tables 2 to 3
In one embodiment of the present application, since at least two communication protocols exist in the internet of vehicles, as shown in fig. 10, step S210 may specifically include steps S2101 to S2102, which will be described in detail below:
step S2101, classifying the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols, to obtain at least one type of communication protocol.
Specifically, each vehicle in the internet of vehicles can report the communication protocol used by each vehicle to the execution main body, and after receiving the reported communication protocol, the execution main body can classify the communication protocols into one type according to the protocol structure corresponding to the communication protocol, so as to obtain at least one type of communication protocol, wherein the protocol structure is identical, which means that the length of the protocol head and the length of the protocol tail are identical. It should be noted that at least one type refers to one type or more types, and multiple types refer to two types or more than two types.
Step S2102, obtaining a protocol structure corresponding to each type of communication protocol in at least one type of communication protocol.
Because each type of communication protocol has the same protocol structure, after classifying at least two existing communication protocols, the executing body can directly acquire the protocol structure corresponding to each type of communication protocol.
In one embodiment of the present application, there is also provided a vehicle communication method that can be performed by a vehicle, and accordingly, a vehicle communication device can be provided in the vehicle, as shown with reference to fig. 11, the vehicle communication method including:
step S1110, acquiring a target protocol structure, wherein the target protocol structure is a protocol structure with the deviation degree between protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles being smaller than or equal to a preset threshold value;
step S1120, determining target protocol content based on the protocol content corresponding to the used communication protocol and the target protocol structure;
step S1130, generating a target communication protocol according to the target protocol structure and the target protocol content;
step S1140, performing internet-of-vehicles communication according to the target communication protocol.
These steps are described in detail below:
step S1110, obtaining a target protocol structure, where the target protocol structure is a protocol structure with a deviation degree between protocol structures corresponding to at least two existing communication protocols in the internet of vehicles being less than or equal to a preset threshold.
In this embodiment, the executing body may acquire a target protocol structure from the network device, the target protocol structure being a protocol structure of a new communication protocol used by the executing body for switching a communication protocol currently used.
In addition, the target protocol structure is a protocol structure meeting a set condition, and the deviation degree between the protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles is smaller than or equal to a preset threshold.
Step S1120, determining the target protocol content based on the protocol content corresponding to the used communication protocol and the target protocol structure.
After the executing body acquires the target protocol structure, the executing body further needs to determine the target protocol content through the protocol content corresponding to the used communication protocol and the target protocol structure. The target protocol structure and the existing protocol content are used for determining the target protocol content, so that the target protocol content is determined on the basis of fully combining the characteristics of the existing communication protocol of the vehicle, the replacement of the communication protocol is avoided, and the data loss caused by the replacement of the communication protocol can be further reduced to the greatest extent.
Step S1130, generating a target communication protocol according to the target protocol structure and the target protocol content.
It will be appreciated that the target communication protocol may be generated directly from the target protocol structure and the target protocol content.
Step S1140, performing internet-of-vehicles communication according to the target communication protocol.
After the executing body acquires the target communication protocol, the executing body may switch the used communication protocol to the target communication protocol, thereby performing internet of vehicles communication using the target communication protocol.
Based on the technical scheme provided by the embodiment, the vehicle in the internet of vehicles can acquire the target protocol structure, and determine the target protocol content based on the protocol content corresponding to the communication protocol used by the vehicle and the target protocol structure, so that the internet of vehicles is further communicated with the internet of vehicles according to the target protocol structure and the target protocol content, and the target communication protocol is generated.
In order to verify the effect brought by the embodiment of the application, the time delay of carrying out vehicle communication by adopting the prior art and adopting the technical scheme of the embodiment of the application is further counted in an experimental mode, the time delay comprises the time delay of packaging information to be transmitted by a vehicle according to a communication protocol used by the vehicle, a data packet of the packaged information is transmitted, other vehicles receive the data packet and analyze the total time consumed in the whole communication process of the data packet, as shown in a table 3, 10 experiments are carried out altogether, and the experimental result shows that the technical scheme of the embodiment of the application can obviously reduce the time delay of vehicle communication.
TABLE 3 Table 3
The following describes an embodiment of an apparatus of the present application that may be used to perform the vehicle communication method of the above-described embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the vehicle communication method described in the present application.
Fig. 16 shows a block diagram of a vehicle communication device according to an embodiment of the present application, and referring to fig. 16, a vehicle communication device 1600 according to an embodiment of the present application includes: an acquisition unit 1602 and a determination unit 1604.
The acquiring unit 1602 is configured to acquire protocol structures corresponding to at least two existing communication protocols in the internet of vehicles, where the protocol structures include a protocol header length and a protocol tail length; the determining unit 1604 is configured to determine, according to the protocol structures corresponding to the at least two communication protocols, a target protocol structure with a deviation degree between the protocol structures corresponding to the at least two communication protocols being less than or equal to a preset threshold, where the target protocol structure is used to generate a target communication protocol for performing internet-of-vehicle communication.
In some embodiments of the present application, the determining unit 1604 includes: a first calculating subunit configured to calculate, according to the protocol structures corresponding to the at least two communication protocols, a protocol length in which a degree of deviation between the protocol structures corresponding to the at least two communication protocols is less than or equal to a preset threshold; a second calculating subunit configured to calculate a new protocol header length and a new protocol trailer length according to the protocol lengths and the protocol structures corresponding to the at least two communication protocols; a structure determination subunit configured to determine the target protocol structure according to the new protocol header length and the new protocol trailer length.
In some embodiments of the present application, the first computing subunit is configured to: the degree of deviation Q is calculated by the following formula:
wherein n is the number of communication protocols existing in the Internet of vehicles, H i For the length of the protocol head of the protocol structure corresponding to the ith communication protocol existing in the Internet of vehicles, E i And L is used for representing the protocol length for the protocol tail length of a protocol structure corresponding to the i-th communication protocol existing in the Internet of vehicles.
In some embodiments of the present application, the first computing subunit is further configured to: and taking the L value when the deviation takes the minimum value as the protocol length.
In some embodiments of the present application, the second computing subunit is configured to: calculating the sum of the length of the protocol head and the length of the protocol tail of the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain the length sum value; calculating a first ratio between the sum of the lengths of the protocol heads of the protocol structures corresponding to the at least two communication protocols and the length sum value, and a second ratio between the sum of the lengths of the protocol tails of the protocol structures corresponding to the at least two communication protocols and the length sum value; and dividing the protocol length according to the first ratio and the second ratio to obtain the new protocol head length and the new protocol tail length.
In some embodiments of the present application, the determining unit 1604 further includes: a content determination subunit configured to determine, based on the target protocol structure and protocol contents corresponding to each of the at least two communication protocols, target protocol contents corresponding to each of the communication protocols; and the generation subunit is configured to generate a target communication protocol corresponding to each communication protocol according to the target protocol structure and the target protocol content corresponding to each communication protocol.
In some embodiments of the present application, the content determination subunit is configured to: a first type of communication protocol with a protocol header length greater than the protocol header length of the target protocol structure and a protocol trailer length greater than the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols; according to the sequence from high importance to low importance, acquiring first data with the same length as the protocol header of the target protocol structure from the protocol header data of the first type of communication protocol, and acquiring second data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the first type of communication protocol; and generating the target protocol content by taking the first data as protocol header data of the target protocol content and the second data as protocol tail data of the target protocol content.
In some embodiments of the present application, the content determination subunit is configured to: a second type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure and the protocol tail length is smaller than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; and generating the target protocol content by taking the protocol header data of the second type of communication protocol as the protocol header data of the target protocol content and the protocol tail data of the second type of communication protocol as the protocol tail data of the target protocol content.
In some embodiments of the present application, the content determination subunit is configured to: a third type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure, but the protocol tail length is larger than the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; according to the order of the importance from high to low, acquiring third data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the third type of communication protocol; and taking the third data as protocol tail data of the target protocol content, and taking the protocol head data of the third type of communication protocol as the protocol head data of the target protocol content to generate the target protocol content.
In some embodiments of the present application, the content determination subunit is configured to: a fourth type of communication protocol, wherein the protocol head length is greater than the protocol head length of the target protocol structure, but the protocol tail length is less than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols; acquiring fourth data with the same length as the protocol header of the target protocol structure from the protocol header data of the fourth type of communication protocol according to the order of importance from high to low; and taking the fourth data as protocol header data of the target protocol content, and taking protocol tail data of the fourth type of communication protocol as protocol tail data of the target protocol content to generate the target protocol content.
In some embodiments of the present application, the obtaining unit 1602 is configured to: classifying the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain at least one type of communication protocol; and acquiring protocol structures corresponding to various communication protocols in the at least one type of communication protocols.
According to an aspect of an embodiment of the present application, there is provided a vehicle communication device including: the system comprises an acquisition structure unit, a control unit and a control unit, wherein the acquisition structure unit is configured to acquire a target protocol structure, and the target protocol structure is a protocol structure with the deviation degree between protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles being smaller than or equal to a preset threshold value; a content determining unit configured to determine target protocol content based on protocol content corresponding to the communication protocol used and the target protocol structure; a protocol generation unit configured to generate a target communication protocol according to the target protocol structure and the target protocol content; and the communication unit is configured to perform Internet of vehicles communication according to the target communication protocol.
Fig. 17 shows a schematic diagram of a computer system suitable for use in implementing the electronic device of the embodiments of the present application.
It should be noted that, the computer system 1700 of the electronic device shown in fig. 17 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 17, the computer system 1700 includes a Central processing unit (Central ProcessingUnit, CPU) 1701, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1602 or a program loaded from a storage portion 1708 into a random access Memory (Random Access Memory, RAM) 1703. In the RAM 1703, various programs and data required for system operation are also stored. The CPU 1701, ROM 1702, and RAM 1703 are connected to each other through a bus 1704. An Input/Output (I/O) interface 1705 is also connected to the bus 1704.
The following components are connected to the I/O interface 1705: an input section 1706 including a keyboard, a mouse, and the like; an output portion 1707 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and a speaker, etc.; a storage portion 1708 including a hard disk or the like; and a communication section 1709 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 1709 performs communication processing via a network such as the internet. The driver 1710 is also connected to the I/O interface 1705 as needed. A removable medium 1711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 1710, so that a computer program read therefrom is installed into the storage portion 1708 as needed.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1709, and/or installed from the removable media 1711. When executed by a Central Processing Unit (CPU) 1701, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by means of software, or may be implemented by means of hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the methods described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (22)
1. A method of vehicle communication, the method comprising:
acquiring protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, wherein the protocol structures comprise a protocol head length and a protocol tail length;
according to the protocol structures corresponding to the at least two communication protocols, calculating a protocol length with the deviation degree between the protocol structures corresponding to the at least two communication protocols being smaller than or equal to a preset threshold value;
calculating a new protocol header length and a new protocol tail length according to the protocol length and the protocol structures corresponding to the at least two communication protocols;
And determining a target protocol structure according to the new protocol head length and the new protocol tail length, wherein the target protocol structure is used for generating a target communication protocol for carrying out the internet-of-things communication.
2. The method of claim 1, wherein the degree of deviation Q is calculated by the formula:
wherein n is the number of communication protocols existing in the Internet of vehicles, H i For the length of the protocol head of the protocol structure corresponding to the ith communication protocol existing in the Internet of vehicles, E i And L is used for representing the protocol length for the protocol tail length of a protocol structure corresponding to the i-th communication protocol existing in the Internet of vehicles.
3. The method of claim 2, wherein the L value at which the degree of deviation is minimized is taken as the protocol length.
4. The method of claim 1, wherein calculating a new protocol header length and a new protocol trailer length from the protocol lengths and the protocol structures corresponding to the at least two communication protocols comprises:
calculating the sum of the length of the protocol head and the length of the protocol tail of the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain the length sum value;
Calculating a first ratio between the sum of the lengths of the protocol heads of the protocol structures corresponding to the at least two communication protocols and the length sum value, and a second ratio between the sum of the lengths of the protocol tails of the protocol structures corresponding to the at least two communication protocols and the length sum value;
and dividing the protocol length according to the first ratio and the second ratio to obtain the new protocol head length and the new protocol tail length.
5. The method according to claim 1, wherein the method further comprises:
determining target protocol contents corresponding to each communication protocol based on the target protocol structure and the protocol contents corresponding to each communication protocol in the at least two communication protocols;
and generating a target communication protocol corresponding to each communication protocol according to the target protocol structure and the target protocol content corresponding to each communication protocol.
6. The method of claim 5, wherein determining the target protocol content corresponding to each of the at least two communication protocols based on the target protocol structure and the protocol content corresponding to each communication protocol comprises:
A first type of communication protocol with a protocol header length greater than the protocol header length of the target protocol structure and a protocol trailer length greater than the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols;
according to the sequence from high importance to low importance, acquiring first data with the same length as the protocol header of the target protocol structure from the protocol header data of the first type of communication protocol, and acquiring second data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the first type of communication protocol;
and generating the target protocol content by taking the first data as protocol header data of the target protocol content and the second data as protocol tail data of the target protocol content.
7. The method of claim 5, wherein determining the target protocol content corresponding to each of the at least two communication protocols based on the target protocol structure and the protocol content corresponding to each communication protocol comprises:
a second type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure and the protocol tail length is smaller than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
And generating the target protocol content by taking the protocol header data of the second type of communication protocol as the protocol header data of the target protocol content and the protocol tail data of the second type of communication protocol as the protocol tail data of the target protocol content.
8. The method of claim 5, wherein determining the target protocol content corresponding to each of the at least two communication protocols based on the target protocol structure and the protocol content corresponding to each communication protocol comprises:
a third type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure, but the protocol tail length is larger than the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
according to the order of the importance from high to low, acquiring third data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the third type of communication protocol;
and taking the third data as protocol tail data of the target protocol content, and taking the protocol head data of the third type of communication protocol as the protocol head data of the target protocol content to generate the target protocol content.
9. The method of claim 5, wherein determining the target protocol content corresponding to each of the at least two communication protocols based on the target protocol structure and the protocol content corresponding to each communication protocol comprises:
a fourth type of communication protocol, wherein the protocol head length is greater than the protocol head length of the target protocol structure, but the protocol tail length is less than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
acquiring fourth data with the same length as the protocol header of the target protocol structure from the protocol header data of the fourth type of communication protocol according to the order of importance from high to low;
and taking the fourth data as protocol header data of the target protocol content, and taking protocol tail data of the fourth type of communication protocol as protocol tail data of the target protocol content to generate the target protocol content.
10. The method according to any one of claims 1-9, wherein the obtaining a protocol structure corresponding to at least two communication protocols existing in the internet of vehicles includes:
classifying the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain at least one type of communication protocol;
And acquiring protocol structures corresponding to various communication protocols in the at least one type of communication protocols.
11. A vehicle communication device, the device comprising:
the system comprises an acquisition unit, a communication unit and a communication unit, wherein the acquisition unit is configured to acquire protocol structures corresponding to at least two existing communication protocols in the Internet of vehicles, and the protocol structures comprise a protocol head length and a protocol tail length;
a determining unit configured to determine, according to protocol structures corresponding to the at least two communication protocols, a target protocol structure with a degree of deviation between the protocol structures corresponding to the at least two communication protocols being less than or equal to a preset threshold, the target protocol structure being used to generate a target communication protocol for performing internet-of-vehicle communication;
the determination unit includes:
a first calculating subunit configured to calculate, according to the protocol structures corresponding to the at least two communication protocols, a protocol length in which a degree of deviation between the protocol structures corresponding to the at least two communication protocols is less than or equal to a preset threshold;
a second calculating subunit configured to calculate a new protocol header length and a new protocol trailer length according to the protocol lengths and the protocol structures corresponding to the at least two communication protocols;
a structure determination subunit configured to determine the target protocol structure according to the new protocol header length and the new protocol trailer length.
12. The apparatus of claim 11, wherein the first computing subunit is configured to: the degree of deviation Q is calculated by the following formula:
wherein n is the number of communication protocols existing in the Internet of vehicles, H i For the length of the protocol head of the protocol structure corresponding to the ith communication protocol existing in the Internet of vehicles, E i And L is used for representing the protocol length for the protocol tail length of a protocol structure corresponding to the i-th communication protocol existing in the Internet of vehicles.
13. The apparatus of claim 12, wherein the first computing subunit is further configured to: and taking the L value when the deviation takes the minimum value as the protocol length.
14. The apparatus of claim 11, wherein the second computing subunit is configured to:
calculating the sum of the length of the protocol head and the length of the protocol tail of the protocol structures corresponding to the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain the length sum value;
calculating a first ratio between the sum of the lengths of the protocol heads of the protocol structures corresponding to the at least two communication protocols and the length sum value, and a second ratio between the sum of the lengths of the protocol tails of the protocol structures corresponding to the at least two communication protocols and the length sum value;
And dividing the protocol length according to the first ratio and the second ratio to obtain the new protocol head length and the new protocol tail length.
15. The apparatus of claim 11, wherein the determining unit further comprises:
a content determination subunit configured to determine, based on the target protocol structure and protocol contents corresponding to each of the at least two communication protocols, target protocol contents corresponding to each of the communication protocols;
and the generation subunit is configured to generate a target communication protocol corresponding to each communication protocol according to the target protocol structure and the target protocol content corresponding to each communication protocol.
16. The apparatus of claim 15, wherein the content determination subunit is configured to:
a first type of communication protocol with a protocol header length greater than the protocol header length of the target protocol structure and a protocol trailer length greater than the protocol trailer length of the target protocol structure is acquired from the at least two communication protocols;
according to the sequence from high importance to low importance, acquiring first data with the same length as the protocol header of the target protocol structure from the protocol header data of the first type of communication protocol, and acquiring second data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the first type of communication protocol;
And generating the target protocol content by taking the first data as protocol header data of the target protocol content and the second data as protocol tail data of the target protocol content.
17. The apparatus of claim 15, wherein the content determination subunit is configured to:
a second type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure and the protocol tail length is smaller than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
and generating the target protocol content by taking the protocol header data of the second type of communication protocol as the protocol header data of the target protocol content and the protocol tail data of the second type of communication protocol as the protocol tail data of the target protocol content.
18. The apparatus of claim 15, wherein the content determination subunit is configured to:
a third type of communication protocol, wherein the protocol head length is smaller than or equal to the protocol head length of the target protocol structure, but the protocol tail length is larger than the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
according to the order of the importance from high to low, acquiring third data with the same length as the protocol tail of the target protocol structure from the protocol tail data of the third type of communication protocol;
And taking the third data as protocol tail data of the target protocol content, and taking the protocol head data of the third type of communication protocol as the protocol head data of the target protocol content to generate the target protocol content.
19. The apparatus of claim 15, wherein the content determination subunit is configured to:
a fourth type of communication protocol, wherein the protocol head length is greater than the protocol head length of the target protocol structure, but the protocol tail length is less than or equal to the protocol tail length of the target protocol structure, is acquired from the at least two communication protocols;
acquiring fourth data with the same length as the protocol header of the target protocol structure from the protocol header data of the fourth type of communication protocol according to the order of importance from high to low;
and taking the fourth data as protocol header data of the target protocol content, and taking protocol tail data of the fourth type of communication protocol as protocol tail data of the target protocol content to generate the target protocol content.
20. The apparatus according to any one of claims 11-19, wherein the acquisition unit is configured to:
classifying the at least two communication protocols according to the protocol structures corresponding to the at least two communication protocols to obtain at least one type of communication protocol;
And acquiring protocol structures corresponding to various communication protocols in the at least one type of communication protocols.
21. A computer readable medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the vehicle communication method according to any one of claims 1 to 10.
22. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs that when executed by the one or more processors cause the one or more processors to implement the vehicle communication method of any of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010427002.4A CN111740956B (en) | 2020-05-19 | 2020-05-19 | Vehicle communication method, device, computer readable medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010427002.4A CN111740956B (en) | 2020-05-19 | 2020-05-19 | Vehicle communication method, device, computer readable medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111740956A CN111740956A (en) | 2020-10-02 |
CN111740956B true CN111740956B (en) | 2023-05-26 |
Family
ID=72646753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010427002.4A Active CN111740956B (en) | 2020-05-19 | 2020-05-19 | Vehicle communication method, device, computer readable medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111740956B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594788A (en) * | 2011-12-02 | 2012-07-18 | 曙光信息产业(北京)有限公司 | Method for achieving object-oriented data communication protocol structure |
CN104331292A (en) * | 2014-11-03 | 2015-02-04 | 重庆邮电大学 | Method for generating configuration for middleware protocol conversion of Internet of vehicles |
CN106878917A (en) * | 2015-12-11 | 2017-06-20 | 比亚迪股份有限公司 | The transfer control method of information, system, terminal and data acquisition unit |
CN107454058A (en) * | 2017-06-29 | 2017-12-08 | 广州视源电子科技股份有限公司 | Data sending method, system, readable storage medium and computer equipment |
CN109348509A (en) * | 2018-09-21 | 2019-02-15 | 斑马网络技术有限公司 | Communication means and device, electronic equipment and storage medium |
CN109739918A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | A kind of information processing method and equipment |
CN110365645A (en) * | 2019-06-06 | 2019-10-22 | 国家计算机网络与信息安全管理中心 | A kind of car networking protocol recognition methods and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10404838B2 (en) * | 2016-10-21 | 2019-09-03 | ShieldX Networks, Inc. | Systems and methods for selecting microservices to process protocol data streams |
-
2020
- 2020-05-19 CN CN202010427002.4A patent/CN111740956B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594788A (en) * | 2011-12-02 | 2012-07-18 | 曙光信息产业(北京)有限公司 | Method for achieving object-oriented data communication protocol structure |
CN104331292A (en) * | 2014-11-03 | 2015-02-04 | 重庆邮电大学 | Method for generating configuration for middleware protocol conversion of Internet of vehicles |
CN106878917A (en) * | 2015-12-11 | 2017-06-20 | 比亚迪股份有限公司 | The transfer control method of information, system, terminal and data acquisition unit |
CN107454058A (en) * | 2017-06-29 | 2017-12-08 | 广州视源电子科技股份有限公司 | Data sending method, system, readable storage medium and computer equipment |
CN109348509A (en) * | 2018-09-21 | 2019-02-15 | 斑马网络技术有限公司 | Communication means and device, electronic equipment and storage medium |
CN109739918A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | A kind of information processing method and equipment |
CN110365645A (en) * | 2019-06-06 | 2019-10-22 | 国家计算机网络与信息安全管理中心 | A kind of car networking protocol recognition methods and device |
Also Published As
Publication number | Publication date |
---|---|
CN111740956A (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110035410B (en) | Method for joint resource allocation and computational offloading in software-defined vehicle-mounted edge network | |
CN105657449A (en) | Video transcode allocation method and device and video transcode system | |
CN114285847A (en) | Data processing method and device, model training method and device, electronic equipment and storage medium | |
CN112560724A (en) | Vehicle monitoring method and device and cloud control platform | |
CN110580576A (en) | Order distribution method and device | |
CN104581749A (en) | A method and device for predicting service amount of data service of mobile network | |
CN111694651B (en) | Task processing optimization system based on cloud computing and medical big data | |
CN111343046B (en) | Method and device for generating pressure flow, electronic equipment and computer readable storage medium | |
CN114301980A (en) | Method, device and system for scheduling container cluster and computer readable medium | |
CN111583713A (en) | Vehicle driving early warning method and device | |
CN111740956B (en) | Vehicle communication method, device, computer readable medium and electronic equipment | |
CN116388112B (en) | Abnormal supply end power-off method, device, electronic equipment and computer readable medium | |
CN112389445A (en) | Vehicle driving regulation and control method and device, vehicle-mounted equipment and readable storage medium | |
CN111429237A (en) | Order price determining method and device, server and storage medium | |
CN117061553A (en) | Vehicle edge cloud cooperative task unloading method under edge computing resource limited environment | |
CN114741198B (en) | Video stream processing method and device, electronic equipment and computer readable medium | |
CN113269339B (en) | Method and system for automatically creating and distributing network appointment tasks | |
CN111866723B (en) | Control method and device for sharing power-assisted vehicle, electronic equipment and storage medium | |
CN114138466A (en) | Task cooperative processing method and device for intelligent highway and storage medium | |
CN111404729B (en) | Edge cloud cooperative system management method and device | |
CN116016458B (en) | Method and device for realizing audio and video interaction of webpage end based on webrtc | |
CN118201116B (en) | Communication resource allocation method, device, equipment and storage medium | |
CN109962920B (en) | Method, device and system for determining split page number | |
CN114844947B (en) | Request processing method and device, electronic equipment and computer readable medium | |
CN117235535B (en) | Abnormal supply end power-off method and device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40030694 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |