CN109348509B - Communication method and apparatus, electronic device, and storage medium - Google Patents

Communication method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
CN109348509B
CN109348509B CN201811110697.2A CN201811110697A CN109348509B CN 109348509 B CN109348509 B CN 109348509B CN 201811110697 A CN201811110697 A CN 201811110697A CN 109348509 B CN109348509 B CN 109348509B
Authority
CN
China
Prior art keywords
data packet
terminal
data
standard format
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811110697.2A
Other languages
Chinese (zh)
Other versions
CN109348509A (en
Inventor
王枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebred Network Technology Co Ltd
Original Assignee
Zebred Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zebred Network Technology Co Ltd filed Critical Zebred Network Technology Co Ltd
Priority to CN201811110697.2A priority Critical patent/CN109348509B/en
Publication of CN109348509A publication Critical patent/CN109348509A/en
Application granted granted Critical
Publication of CN109348509B publication Critical patent/CN109348509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a communication method, a communication device, electronic equipment and a storage medium, and relates to the technical field of Internet of vehicles. The method comprises the following steps: receiving a data packet sent by a first terminal to a second terminal; determining whether the data packet is a data packet of a V2X standard format of the Internet of vehicles, and determining whether the second terminal can receive the data packet of the V2X standard format; if the data packet is determined to be in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, analyzing the data packet according to the V2X standard protocol to acquire data in the data packet; and packaging the data according to a preset data format, and sending the packaged data to the second terminal. The embodiment of the invention not only can solve the problem of communication between the vehicle not equipped with the V2X protocol and the vehicle equipped with the V2X protocol, but also can separate the implementation of the V2X technology from hardware communication equipment, thereby facilitating the wider use of the V2X technology.

Description

Communication method and apparatus, electronic device, and storage medium
Technical Field
The invention relates to the technical field of vehicle networking, in particular to a communication method, a communication device, electronic equipment and a computer readable storage medium.
Background
With the development of communication technology, the communication technology between vehicles is more and more emphasized, and among them, the V2X (Vehicle to electrical networking) technology is most widely used. The V2X is an information exchange technology between a vehicle and the outside, and the V2X technology integrates a global positioning system navigation technology, a vehicle-to-vehicle interaction technology, a wireless communication technology and a remote sensing technology, so that the travel safety and traffic efficiency of the vehicle can be improved, and information services can be provided.
At present, in the related art, the V2X technology is implemented by integrating a software protocol stack and a hardware device and installing the software protocol stack and the hardware device on a vehicle, so that only vehicles equipped with V2X devices can communicate with each other. In these solutions, the vehicle not equipped with V2X device cannot communicate with the vehicle equipped with V2X device, which causes great limitation to the vehicle V2X communication, and is not favorable for the wide use of V2X technology.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the invention and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present invention are directed to a communication method, a communication apparatus, an electronic device, and a computer-readable storage medium, which overcome at least some of the limitations and disadvantages of the related art, such as the limitation of vehicle communication with V2X equipment, and difficulty in popularizing the V2X technology.
According to a first aspect of the embodiments of the present invention, there is provided a communication method, including: receiving a data packet sent by a first terminal to a second terminal; determining whether the data packet is a data packet in a V2X standard format for Internet of vehicles, and determining whether the second terminal can receive the data packet in the V2X standard format; if the data packet is determined to be the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, analyzing the data packet according to a V2X standard protocol to acquire data in the data packet; and packaging the data according to a preset data format, and sending the packaged data to the second terminal.
In some exemplary embodiments of the present invention, the communication method further comprises: repackaging the data packet in accordance with the V2X standard format if it is determined that the data packet is not in the V2X standard format and the second terminal is capable of receiving the data packet in the V2X standard format; and sending the repackaged data packet to the second terminal.
In some exemplary embodiments of the present invention, the communication method further comprises: and if the data packet is determined to be the data packet in the V2X standard format and the second terminal can receive the data packet in the V2X standard format, transmitting the data packet to the second terminal in the V2X standard format.
In some exemplary embodiments of the present invention, the communication method further comprises: and if the data packet is determined not to be the data packet in the V2X standard format and the data packet in the V2X standard format cannot be received by the second terminal, transmitting the data packet to the second terminal in the predetermined data format.
In some exemplary embodiments of the present invention, the communication method is applied to a cloud end, and a software stack of the V2X standard is deployed in the cloud end, where the software stack includes a service layer and an application layer.
In some exemplary embodiments of the invention, determining whether the second terminal is capable of receiving the data packet in the V2X standard format comprises: sending a test request to the second terminal based on the service layer; judging the data format of the return value of the test request; determining that the second terminal is capable of receiving the packet in the V2X standard format if it is determined that the data format of the returned value of the test request is in the V2X standard format.
In some exemplary embodiments of the present invention, the communication method further comprises: adding data related to a user of the second terminal to the data when the data is packaged in a predetermined data format.
According to a second aspect of embodiments of the present invention, there is provided a communication apparatus including: the data packet receiving unit is used for receiving a data packet sent by a first terminal to a second terminal; a format judging unit for determining whether the data packet is a data packet of a V2X standard format and determining whether the second terminal can receive the data packet of the V2X standard format; the analyzing unit is used for analyzing the data packet according to a V2X standard protocol to acquire data in the data packet if the data packet is determined to be the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format; and the data transmission unit is used for packaging the data according to a preset data format and sending the packaged data to the second terminal.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including: a processor; and a memory having computer readable instructions stored thereon which, when executed by the processor, implement a communication method according to any of the above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a communication method according to any one of the above.
The communication method in the exemplary embodiment of the present invention, upon receiving a packet transmitted from a first terminal to a second terminal, determines whether the packet is based on the V2X protocol and determines whether the second terminal can receive a packet in the V2X standard format; when the data packet is determined to be in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, the data packet is analyzed according to the V2X standard protocol, data in the data packet is obtained, and then the data is repackaged according to the preset data format and sent to the second terminal. On one hand, the data packet in the V2X standard format is parsed and repackaged by using a preset data format, and is sent to the second terminal not equipped with the V2X standard format, so that the communication between the vehicle not equipped with the V2X equipment and the vehicle equipped with the V2X equipment can be realized, and the application range of the communication of the vehicle V2X is expanded; on the other hand, the communication method can decouple implementation of the V2X technology from hardware communication devices, thereby facilitating wider use of the V2X technology.
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 invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 schematically illustrates a schematic block diagram of a communication method flow according to some embodiments of the present invention;
FIG. 2 schematically illustrates a V2X software stack architecture diagram, according to some embodiments of the invention;
FIG. 3 schematically illustrates a schematic diagram of a V2X equipped vehicle communicating with a V2X unarmed vehicle, in accordance with some embodiments of the invention;
FIG. 4 schematically illustrates a schematic diagram of a vehicle not equipped with V2X in communication with a vehicle equipped with V2X, in accordance with some embodiments of the invention;
FIG. 5 schematically illustrates a schematic diagram of a V2X equipped vehicle communicating with a V2X equipped vehicle, in accordance with some embodiments of the invention;
FIG. 6 schematically illustrates a schematic diagram of a vehicle not equipped with V2X communicating with a vehicle not equipped with V2X, in accordance with some embodiments of the invention;
FIG. 7 schematically illustrates a schematic block diagram of a communication device according to some embodiments of the present invention;
FIG. 8 schematically illustrates a schematic block diagram of a computer system of an electronic device in accordance with some embodiments of the invention;
FIG. 9 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
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 provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to 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 actual execution sequence may be changed according to the actual situation.
In the present exemplary embodiment, a communication method is first provided, and fig. 1 schematically illustrates a schematic block diagram of a flow of a communication method according to some embodiments of the present invention. Referring to fig. 1, the communication method includes the steps of:
step S110, receiving a data packet sent by a first terminal to a second terminal;
step S120, determining whether the data packet is in a V2X standard format of the Internet of vehicles, and determining whether the second terminal can receive the data packet in the V2X standard format;
step S130, if the data packet is determined to be the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, analyzing the data packet according to a V2X standard protocol to acquire data in the data packet;
step S140, packing the data according to a predetermined data format, and sending the packed data to the second terminal.
According to the communication method in the exemplary embodiment, on one hand, the data packet in the V2X standard format is parsed and repackaged by using the preset data format, and is sent to the second terminal which is not equipped with the V2X standard format, so that the communication between the vehicle which is not equipped with the V2X equipment and the vehicle which is equipped with the V2X equipment can be realized, and the application range of the communication of the vehicle V2X is expanded; on the other hand, the communication method can decouple implementation of the V2X technology from hardware communication devices, thereby facilitating wider use of the V2X technology.
Next, the communication method of the present exemplary embodiment will be further explained.
Referring to fig. 1, in step S110, a data packet transmitted from a first terminal to a second terminal is received.
In some example embodiments of the present invention, the third party platform receives a communication request of the first terminal, verifies user information of the first terminal, and receives a data packet sent by the first terminal to the second terminal after the verification is passed. In the present example embodiment, the first terminal and the second terminal may be a vehicle equipped with a V2X device or a vehicle not equipped with a V2X device.
It should be noted that the third party platform end may be a cloud end, and a software stack of the V2X standard is deployed in the cloud end, and includes a service layer and an application layer. As shown in fig. 2, fig. 2 schematically illustrates a V2X software stack architecture diagram according to some embodiments of the present invention, the left half is a united states standard, and the right half is a european standard, and unless otherwise specified, all the V2X software stacks mentioned in this specification are united states standards. The communication protocol below the network and transport layer mainly defines the underlying communication mechanism, and has no relation with the data or message content, so the implementation of the cloud in this example embodiment does not specify the contents below the network and transport layer.
In step S120, it is determined whether the data packet is a data packet of the V2X standard format for the internet of vehicles, and it is determined whether the second terminal can receive the data packet of the V2X standard format.
In some example embodiments of the present invention, when receiving a packet sent by the first terminal, the service layer on the third party platform detects whether the packet is a packet in the V2X standard format, for example, the packet is unwrapped using the V2X standard format, if unwrapped, the packet is determined to be a packet based on the V2X protocol, and if not, the packet is determined to be a packet in the predetermined data format. The predetermined data format refers to other data formats which are deployed at the third-party platform end and can realize the invention besides the V2X standard format.
It should be noted that after determining the format of the data packet transmitted by the first terminal, it is necessary to continuously determine whether the second terminal can receive the data packet in the V2X standard format. And the service layer of the V2X software stack at the third platform end sends a test request to the second terminal, receives a return value corresponding to the test request, and judges whether the data format of the return value is the V2X standard format. If the data format of the return value is the V2X standard format, determining that the second terminal is equipped with a V2X device and can receive the data packet of the V2X standard format; if it is not the V2X standard format or no return value is received, it is determined that the second terminal equipment does not have a V2X device and cannot receive the data packet in the V2X standard format.
In step S130, if it is determined that the data packet is the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, the data packet is parsed according to the V2X standard protocol, and the data in the data packet is obtained.
In some example embodiments of the present invention, when the determination result is the first mode, that is, when it is determined that the first terminal transmits the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, the data packet in the V2X standard format needs to be processed to enable the second terminal to receive and read the data transmitted by the first terminal. And the service layer at the third-party platform end analyzes the data packet according to the V2X standard protocol to enable the data packet to become ordinary data.
As shown in fig. 3, fig. 3 schematically illustrates a communication diagram between a vehicle equipped with V2X and a vehicle not equipped with V2X, in step S310, a User ID corresponding to a User1 vehicle is matched at a cloud service layer, that is, a User1, and after the request verification of the User1 is passed, a data packet sent from the User1 vehicle to a User2 vehicle is received, and it is detected whether the data packet is in a V2X standard format; in step S320, determining that the data packet is in the V2X standard format, parsing the data packet according to the V2X standard protocol to make the data packet become normal data and sending the normal data to the application layer; in step S330, after receiving the common data sent by the service layer, the application layer in the cloud matches the User ID, i.e., User2, corresponding to the User2 vehicle end, adds data related to User1 and User2 to the common data to generate new data, and sends a test request according to the User2 to detect whether the vehicle end of the User2 can receive a data packet in the V2X standard format; in step S340, when it is determined that the User2 car end cannot receive the data packet in the V2X standard format, repackaging the new data according to the predetermined data format, sending the processed data packet in the predetermined data format to the User2 car end by the cloud end according to the User2, displaying the playing data through an HMI (Human Machine Interface), and completing the communication from the User1 car end to the User2 car end.
In step S140, the data is packaged according to a predetermined data format, and the packaged data is sent to the second terminal.
In some exemplary embodiments of the present invention, the service layer at the third platform parses the data packet sent by the first terminal according to the V2X standard format to generate normal data, sends the data to the application layer to repackage the data according to a predetermined data format, that is, a data format that can be recognized by the second terminal, sends the data packet with the predetermined data format to the second terminal, and completes the communication from the first terminal to the second terminal.
In some example embodiments of the present invention, when the determination result is the second mode, that is, when it is determined that the first terminal transmits a data packet that is not in the V2X standard format and the second terminal can receive the data packet in the V2X standard format, the data packet in the predetermined data format needs to be processed to enable the second terminal to receive and read the data transmitted by the first terminal. And analyzing the data packet at a service layer of the third-party platform end according to a preset data format to enable the data packet to become common data. The data is sent to an application layer to be repackaged according to the V2X standard format, and the data package of the V2X standard format is sent to the second terminal, so that the communication from the first terminal to the second terminal is completed.
As shown in fig. 4, fig. 4 schematically illustrates a schematic diagram of a vehicle not equipped with V2X communicating with a vehicle equipped with V2X, in accordance with some embodiments of the present invention. In step S410, after the request verification of the User1 is passed by matching the User ID corresponding to the User1 vehicle end, that is, the User1, in the cloud service layer, receiving a data packet sent from the User1 vehicle end to the User2 vehicle end, and detecting whether the data packet is in the V2X standard format; in step S420, determining that the data packet is not in the V2X standard format, parsing the data packet according to a predetermined data format to change the data packet into normal data and sending the normal data to the application layer; in step S430, after receiving the common data sent by the service layer, the application layer in the cloud matches the User ID, i.e., User2, corresponding to the User2 vehicle end, adds data related to User1 and User2 to the common data to generate new data, and sends a test request according to the User2 to detect whether the vehicle end of the User2 can receive a data packet in the V2X standard format; in step S440, when it is determined that the User2 car can receive the data packet in the V2X standard format, the data is repackaged according to the V2X standard format, and the cloud sends the processed data packet in the V2X standard format to the User2 car according to the User2, thereby completing the communication from the User1 car to the User2 car.
In some exemplary embodiments of the present invention, when the determination result is in the third mode, that is, when it is determined that the first terminal sends the data packet in the V2X standard format and the second terminal can receive the data packet in the V2X standard format, the second terminal may process the data packet in the V2X standard format by itself without the assistance of the third party platform, so that the data packet is transparently transmitted, that is, transparently transmitted to the second terminal without processing, and the communication from the first terminal to the second terminal is completed.
As shown in fig. 5, fig. 5 schematically illustrates a schematic diagram of a vehicle equipped with V2X and a vehicle equipped with V2X according to some embodiments of the present invention, in step S510, a User ID, i.e., User1, corresponding to a User1 vehicle is matched at a cloud service layer, and after the request verification of the User1 is passed, a data packet sent by the User1 vehicle to the User2 vehicle through an LTE (Long Term Evolution) network is received, and it is detected whether the data packet is in a V2X standard format; in step S520, it is determined that the data packet is in the V2X standard format, the User ID corresponding to the User2 vehicle end, that is, the User2, is matched, and a test request is sent according to the User2 to detect whether the User2 vehicle end can receive the data packet in the V2X standard format; in step S530, it is determined that the User2 car can receive the data packet in the V2X standard format, and the data packet in the V2X standard format is transmitted to the User2 car, so as to complete the communication from the User1 car to the User2 car.
In some exemplary embodiments of the present invention, when the determination result is the fourth mode, that is, when it is determined that the first terminal sends a data packet that is not in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, the second terminal may process the data packet in the predetermined data format by itself without the assistance of the third party platform, so that the data packet is transmitted to the second terminal, and the communication from the first terminal to the second terminal is completed.
As shown in fig. 6, fig. 6 schematically illustrates a communication between a vehicle not equipped with V2X and a vehicle not equipped with V2X, in step S610, a User ID, i.e., User1, corresponding to a User1 vehicle is matched at a cloud service layer, and after the request verification of the User1 is passed, a data packet sent from the User1 vehicle to the User2 vehicle is received, and it is detected whether the data packet is in a V2X standard format; in step S620, it is determined that the data packet is not in the V2X standard format, the User ID corresponding to the User2 vehicle end, that is, the User2, is matched, and a test request is sent according to the User2 to detect whether the User2 vehicle end can receive the data packet in the V2X standard format; in step S630, it is determined that the User2 car end cannot receive the data packet in the V2X standard format, the data packet in the predetermined data format is transmitted to the User2 car end, the playing data is displayed through an HMI (Human Machine Interface), the communication from the User1 car end to the User2 car end is completed, and the communication from the User1 car end to the User2 car end is completed.
Further, the service layer at the third platform end may add data elements of the first terminal related to the user of the second terminal to the parsed data when the parsed data in the data packet is packaged according to the predetermined data format/V2X standard format. For example, when the User1 car end is close to the User2 car end, the User1 car end sends a collision warning to the User2 car end, and the application layer in the cloud retrieves the User information of the two cars in the big data platform and adds the elements of the associated social attributes to become sentences containing social elements, such as "i is a sister and you are too close to me will be tensed".
In addition, in the embodiment of the invention, a communication device is also provided. Referring to fig. 7, the communication apparatus 700 includes: a packet receiving unit 710, a format determining unit 720, a parsing unit 730, and a data transmitting unit 740. Wherein: the data packet receiving unit 710 is configured to receive a data packet sent by a first terminal to a second terminal; the format judging unit 720 is configured to determine whether the data packet is a data packet in a V2X standard format in the internet of vehicles, and determine whether the second terminal can receive the data packet in the V2X standard format; the processing unit 730 is configured to, if it is determined that the data packet is the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, parse the data packet according to the V2X standard protocol, and obtain data in the data packet; the data transmitting unit 740 is configured to package the data according to a predetermined data format, and send the packaged data to the second terminal.
In some example embodiments of the present invention, based on the foregoing scheme, the format determining unit 720 is configured to: sending a test request to the second terminal based on the service layer; judging the data format of the test request return value; if the data format of the test request return value is determined to be the V2X standard format, it is determined that a data packet in the V2X standard format can be received.
In some example embodiments of the present invention, based on the foregoing scheme, the communication apparatus 700 further includes: a second processing unit, configured to repackage the data packet according to the V2X standard format if it is determined that the data packet is not the data packet in the V2X standard format and the second terminal is capable of receiving the data packet in the V2X standard format; and sending the repackaged data packet to the second terminal.
In some example embodiments of the present invention, based on the foregoing scheme, the communication apparatus 700 further includes: a third processing unit, configured to pass through the data packet in the V2X standard format to the second terminal if it is determined that the data packet is the data packet in the V2X standard format and the second terminal is capable of receiving the data packet in the V2X standard format.
In some example embodiments of the present invention, based on the foregoing scheme, the communication apparatus 700 further includes: a fourth processing unit, configured to pass through the data packet in the predetermined data format to the second terminal if it is determined that the data packet is not the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format.
In some example embodiments of the present invention, based on the foregoing scheme, the communication apparatus 700 further includes: a data adding unit, configured to add data related to a user of the second terminal to the data when the data is packed in a predetermined data format.
The specific details of each module of the communication device have been described in detail in the corresponding communication method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the communication device are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present invention, there is also provided an electronic device capable of implementing the above communication method. Referring now to FIG. 8, FIG. 8 schematically illustrates a computer system 800 suitable for use in implementing an electronic device of an embodiment of the invention. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, an electronic device according to the invention may comprise at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps in the communication method according to various exemplary embodiments of the present invention described in the above section "exemplary method" of the present specification. For example, the processing unit may execute step S110 shown in fig. 1, receiving a data packet sent by the first terminal to the second terminal; step S120, determining whether the data packet is in a V2X standard format of the Internet of vehicles, and determining whether the second terminal can receive the data packet in the V2X standard format; step S130, if the data packet is determined to be the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, analyzing the data packet according to a V2X standard protocol to acquire data in the data packet; step S140, packing the data according to a predetermined data format, and sending the packed data to the second terminal.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 801, the at least one memory unit 802, and a bus 803 that couples various system components including the memory unit 802 and the processing unit 801.
Bus 803 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 802 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)8021 and/or cache memory 8022, and may further include Read Only Memory (ROM) 8023.
Storage unit 802 can also include a program/utility 8025 having a set (at least one) of program modules 8024, such program modules 8024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 800 may also communicate with one or more external devices 804 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interfaces 805. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 806. As shown, the network adapter 806 communicates with the other modules of the electronic device 800 over the bus 803. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the communication device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the particular embodiments disclosed, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
As another aspect, the present application also provides a computer-readable medium 900, where the computer-readable medium 900 may be included in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium 900 carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the communication method as described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of a device or apparatus for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A communication method is applied to a cloud end, a V2X standard software stack is deployed on the cloud end, the software stack comprises a service layer and an application layer, and the method comprises the following steps:
receiving a data packet sent by a first terminal to a second terminal; the first terminal and the second terminal are both vehicle communication terminals;
determining whether the data packet is a data packet in a V2X standard format for Internet of vehicles, and determining whether the second terminal can receive the data packet in the V2X standard format;
if the data packet is determined to be the data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, analyzing the data packet according to a V2X standard protocol to acquire data in the data packet;
and packaging the data according to a preset data format, and sending the packaged data to the second terminal.
2. The communication method according to claim 1, further comprising:
repackaging the data packet in accordance with the V2X standard format if it is determined that the data packet is not in the V2X standard format and the second terminal is capable of receiving the data packet in the V2X standard format;
and sending the repackaged data packet to the second terminal.
3. The communication method according to claim 1, further comprising:
and if the data packet is determined to be the data packet in the V2X standard format and the second terminal can receive the data packet in the V2X standard format, transmitting the data packet to the second terminal in the V2X standard format.
4. The communication method according to claim 1, further comprising:
and if the data packet is determined not to be the data packet in the V2X standard format and the data packet in the V2X standard format cannot be received by the second terminal, transmitting the data packet to the second terminal in the predetermined data format.
5. The communication method according to claim 1, wherein determining whether the second terminal is capable of receiving the packet in the V2X standard format comprises:
sending a test request to the second terminal based on the service layer;
judging the data format of the return value of the test request;
determining that the second terminal is capable of receiving the packet in the V2X standard format if it is determined that the data format of the returned value of the test request is in the V2X standard format.
6. The communication method according to claim 1, further comprising:
adding data related to a user of the second terminal to the data when the data is packaged in a predetermined data format.
7. A communication apparatus, disposed in a cloud, where a software stack of a V2X standard is deployed in the cloud, the software stack including a service layer and an application layer, the apparatus comprising:
the data packet receiving unit is used for receiving a data packet sent by a first terminal to a second terminal; the first terminal and the second terminal are both vehicle communication terminals;
a format judging unit for determining whether the data packet is a data packet of a V2X standard format and determining whether the second terminal can receive the data packet of the V2X standard format;
a processing unit, configured to, if it is determined that the data packet is a data packet in the V2X standard format and the second terminal cannot receive the data packet in the V2X standard format, parse the data packet according to a V2X standard protocol, and obtain data in the data packet;
and the data transmission unit is used for packaging the data according to a preset data format and sending the packaged data to the second terminal.
8. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the communication method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the communication method according to any one of claims 1 to 6.
CN201811110697.2A 2018-09-21 2018-09-21 Communication method and apparatus, electronic device, and storage medium Active CN109348509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811110697.2A CN109348509B (en) 2018-09-21 2018-09-21 Communication method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811110697.2A CN109348509B (en) 2018-09-21 2018-09-21 Communication method and apparatus, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109348509A CN109348509A (en) 2019-02-15
CN109348509B true CN109348509B (en) 2022-05-03

Family

ID=65306510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811110697.2A Active CN109348509B (en) 2018-09-21 2018-09-21 Communication method and apparatus, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109348509B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148070B (en) * 2019-12-31 2021-06-15 华为技术有限公司 V2X communication method and device and vehicle
CN111740956B (en) * 2020-05-19 2023-05-26 腾讯科技(深圳)有限公司 Vehicle communication method, device, computer readable medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509218A (en) * 2017-08-25 2017-12-22 中国联合网络通信集团有限公司 A kind of information transferring method, device and wireless communication system
CN108269424A (en) * 2017-01-04 2018-07-10 本田技研工业株式会社 For the system and method for vehicle congestion estimation

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582012B (en) * 2012-08-07 2018-06-01 中兴通讯股份有限公司 A kind of data distributing method and device
CN102970279B (en) * 2012-10-24 2015-01-21 厦门金龙联合汽车工业有限公司 Adaptive communication system of automobile electronic device based on serial ports
US20160148512A1 (en) * 2013-06-21 2016-05-26 Qatar University Qstp-B System and method for traffic incident reporting
CN105898412A (en) * 2016-04-26 2016-08-24 湖北睛彩视讯科技有限公司 Internet tv cloud platform
CN108011904B (en) * 2016-10-31 2021-04-20 比亚迪股份有限公司 Information sending method, receiving method, device and information receiving and sending system
US10137905B2 (en) * 2016-11-29 2018-11-27 Toyota Jidosha Kabushiki Kaisha Optimization of a vehicle to compensate for water contamination of a fluid of a vehicle component
CN106685714B (en) * 2016-12-27 2019-11-19 西安大唐电信有限公司 A kind of distributed terminal supplemental characteristic processing method and system based on GPS
US10986516B2 (en) * 2017-03-10 2021-04-20 Huawei Technologies Co., Ltd. System and method of network policy optimization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269424A (en) * 2017-01-04 2018-07-10 本田技研工业株式会社 For the system and method for vehicle congestion estimation
CN107509218A (en) * 2017-08-25 2017-12-22 中国联合网络通信集团有限公司 A kind of information transferring method, device and wireless communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Cyber Security Standards and Issues in V2X Communications for Internet of Vehicles";I Ivanov, C Maple, T Watson, S Lee;《Cybersecurity of the IoT》;20180614;全文 *

Also Published As

Publication number Publication date
CN109348509A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
US10172138B2 (en) Method, apparatus, and storage medium for wireless communication
US10795629B2 (en) Text and custom format information processing method, client, server, and computer-readable storage medium
US11514783B2 (en) Vehicle navigation under control of an interactive terminal
CN111818136B (en) Data processing method, device, electronic equipment and computer readable medium
CN109348509B (en) Communication method and apparatus, electronic device, and storage medium
CN106549989B (en) Data transmission method and system, user terminal and application server
CN106330483B (en) Information acquisition method, client device and server device
CN109792460A (en) A kind of file updating method, file updating device and terminal device
CN106921670A (en) A kind of method and device for acting on behalf of detection
CN111552568A (en) Cloud service calling method and device
WO2021134418A1 (en) Data checking method and apparatus
CN115705044A (en) Vehicle remote diagnosis method, device and system
CN111787125B (en) Information interaction system and method
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
CN109218331A (en) Remote user's vehicle fault detection method and apparatus
US10038604B2 (en) Processing method and apparatus for signaling tracing
CN114125717A (en) Rescue information sending method and device
CN114401241A (en) Vehicle early warning information processing method and device, electronic equipment and storage medium
CN108648298B (en) Message processing method and device, storage medium and electronic equipment
CN109068298B (en) Communication method, communication device, electronic apparatus, and storage medium
CN106230455B (en) Content output method, device and system
CN116248778B (en) Data fusion transmission method and system in multi-protocol environment
CN117061588B (en) Device access method, electronic device, and computer-readable storage medium
CN112422414B (en) Session message processing method, device and computer readable storage medium
CN117675251A (en) Method and device for interaction of Radius message, electronic equipment and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant