CN113852938A - Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device - Google Patents
Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device Download PDFInfo
- Publication number
- CN113852938A CN113852938A CN202010598869.6A CN202010598869A CN113852938A CN 113852938 A CN113852938 A CN 113852938A CN 202010598869 A CN202010598869 A CN 202010598869A CN 113852938 A CN113852938 A CN 113852938A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- mounted equipment
- data
- network
- equipment
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a communication method of vehicle-mounted equipment, the vehicle-mounted equipment, a storage medium and an electronic device, wherein the method comprises the following steps: the method comprises the following steps that the vehicle-mounted equipment of a first vehicle establishes communication connection with the vehicle-mounted equipment of a second vehicle through near field communication; the vehicle-mounted equipment of the first vehicle sends first data to a network terminal through the vehicle-mounted equipment of the second vehicle; and the vehicle-mounted equipment of the first vehicle receives second data from the network side, which is forwarded by the vehicle-mounted equipment of the second vehicle. According to the invention, under the condition that the network access is abnormal, the vehicle-mounted equipment of the first vehicle can transmit data with the network end through the vehicle-mounted equipment of the second vehicle, so that the problem of low communication reliability of vehicle-mounted products in the related technology is solved, and the effect of improving the safety of the vehicle-mounted products in high-speed running is further achieved.
Description
Technical Field
The embodiment of the invention relates to the field of mobile internet, in particular to a vehicle-mounted equipment communication method, vehicle-mounted equipment, a storage medium and an electronic device.
Background
When the vehicle-mounted product runs on a highway, due to the factors of high speed, trivial switching between the vehicle-mounted communication equipment and the network, different network distribution conditions of different operator networks and the like, frequent call drop of the vehicle-mounted product can be caused with high probability. Especially, in the 5G technology, the coverage is started only when the net is arranged at present, and the call drop situation is greatly increased. Furthermore, driving at high speed should have higher safety. Therefore, it is important to improve the safety and reliability of the vehicle-mounted product.
Disclosure of Invention
The embodiment of the invention provides a vehicle-mounted equipment communication method, vehicle-mounted equipment, a storage medium and an electronic device, which are used for at least solving the problem of low communication reliability of vehicle-mounted products in the related art when the vehicle-mounted products run at a high speed.
According to an embodiment of the invention, a vehicle-mounted device communication method is provided, which includes: the method comprises the following steps that the vehicle-mounted equipment of a first vehicle establishes communication connection with the vehicle-mounted equipment of a second vehicle through near field communication; the vehicle-mounted equipment of the first vehicle sends first data to a network terminal through the vehicle-mounted equipment of the second vehicle; and the vehicle-mounted equipment of the first vehicle receives second data from the network side, which is forwarded by the vehicle-mounted equipment of the second vehicle.
In an exemplary embodiment, before the vehicle-mounted device of the first vehicle establishes the communication connection with the vehicle-mounted device of the second vehicle through the short-distance communication, the method may further include sending the identification information of the first vehicle to the network terminal when the vehicle-mounted device of the first vehicle is powered on.
In one exemplary embodiment, before the vehicle-mounted device of the first vehicle establishes the communication connection with the vehicle-mounted device of the second vehicle through the short-range communication, the method may further include checking a network access state of the vehicle-mounted device of the first vehicle.
Further, the establishing of the communication connection between the vehicle-mounted device of the first vehicle and the vehicle-mounted device of the second vehicle through the short-distance communication may include: and under the condition that the network access state of the vehicle-mounted equipment of the first vehicle is abnormal, establishing communication connection with the vehicle-mounted equipment of the second vehicle through near field communication.
In an exemplary embodiment, after establishing the communication connection with the vehicle-mounted device of the second vehicle through the short-range communication, the method may further include: the vehicle-mounted equipment of the first vehicle sends a broadcast message requesting help to the vehicle-mounted equipment of the second vehicle; the vehicle-mounted device of the first vehicle receives the authorization message for providing help, which is responded by the vehicle-mounted device of the second vehicle; the method comprises the steps that vehicle-mounted equipment of a first vehicle sends a request type message to vehicle-mounted equipment of a second vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle; the vehicle-mounted equipment of the first vehicle receives a response message sent by the vehicle-mounted equipment of the second vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks; and the vehicle-mounted equipment of the first vehicle selects the vehicle-mounted equipment of the second vehicle as communication relay according to the response message.
In an exemplary embodiment, the sending, by the vehicle-mounted device of the first vehicle, the first data to the network side through the vehicle-mounted device of the second vehicle may include: and the vehicle-mounted equipment of the first vehicle sends the first data to the vehicle-mounted equipment of the second vehicle, wherein the first data comprises the identification information of the first vehicle.
In an exemplary embodiment, the receiving, by the vehicle-mounted device of the first vehicle, the second data forwarded by the vehicle-mounted device of the second vehicle from the network side may include: and the vehicle-mounted equipment of the first vehicle receives second data from the network terminal, which is forwarded by the vehicle-mounted equipment of the second vehicle, and analyzes the data information sent to the vehicle-mounted equipment by the network terminal according to the identification information of the first vehicle, which is carried in the second data.
According to another embodiment of the invention, a vehicle-mounted device communication method is provided, which includes: the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle are in communication connection in a near field communication mode; the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle and sends the first data to a network terminal; and the vehicle-mounted equipment of the second vehicle receives second data from a network terminal and sends the second data to the vehicle-mounted equipment of the first vehicle.
In an exemplary embodiment, before the on-board device of the second vehicle receives the first data transmitted by the on-board device of the first vehicle, the method may further include: the on-board equipment of the second vehicle receives a broadcast message which is sent by the on-board equipment of the first vehicle and requests help; the vehicle-mounted device of the second vehicle sends an authorization message for providing help to the vehicle-mounted device of the first vehicle; the vehicle-mounted equipment of the second vehicle receives a request type message sent by the vehicle-mounted equipment of the first vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle; and the vehicle-mounted equipment of the second vehicle sends a response message to the vehicle-mounted equipment of the first vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks.
Further, before the on-board device of the second vehicle receives the first data sent by the on-board device of the first vehicle, the method may further include: and the vehicle-mounted equipment of the second vehicle receives the identification information of the first vehicle, which is sent by the vehicle-mounted equipment of the first vehicle.
In an exemplary embodiment, the receiving, by the vehicle-mounted device of the second vehicle, first data sent by the vehicle-mounted device of the first vehicle, and sending the first data to a network side may include: and the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle, and sends the identification information of the first vehicle and the first data to the network side.
In an exemplary embodiment, the receiving, by the vehicle-mounted device of the second vehicle, second data from a network side and sending the second data to the first vehicle may include: the vehicle-mounted equipment of the second vehicle receives the second data from the network terminal; the vehicle-mounted equipment of the second vehicle judges whether the second data is data to be forwarded according to a flag bit field in a data packet of the second data; and when the second data is data to be forwarded, forwarding the second data to the vehicle-mounted equipment of the first vehicle according to the identification information of the first vehicle carried in the data of the second data.
According to another embodiment of the present invention, there is provided an in-vehicle apparatus located at a first vehicle, including: the establishing module is used for establishing communication connection with the vehicle-mounted equipment of the second vehicle through near field communication; the sending module is used for sending first data to a network terminal through the vehicle-mounted equipment of the second vehicle; and the receiving module is used for receiving second data from the network terminal, which is forwarded by the vehicle-mounted equipment of the second vehicle.
In an exemplary embodiment, the sending module may be further configured to send the identification information of the first vehicle to the network side when the vehicle-mounted device of the first vehicle is powered on.
In one exemplary embodiment, it may further include: a checking module for checking a network access status of the in-vehicle device of the first vehicle.
According to another embodiment of the present invention, there is provided an in-vehicle apparatus that is located in a second vehicle, including: the communication module is used for establishing communication connection with the vehicle-mounted equipment of the first vehicle in a short-distance communication mode; the first transceiver module is used for receiving first data sent by vehicle-mounted equipment of the first vehicle and sending the first data to a network end; and the second transceiver module is used for receiving second data from a network end and sending the second data to the vehicle-mounted equipment of the first vehicle.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
Through the embodiment of the invention, the vehicle-mounted equipment of the first vehicle can perform data transmission with the network end through the vehicle-mounted equipment of the second vehicle under the condition that the network access is abnormal, so that the problem of low communication reliability of vehicle-mounted products in related technologies can be solved, and the effect of improving the safety of the vehicle-mounted products in high-speed running is achieved.
Drawings
Fig. 1 is a flowchart of a communication method of an in-vehicle device according to an embodiment of the present invention;
FIG. 2 is a flow chart of a vehicle device communication method according to an alternative embodiment of the present invention;
FIG. 3 is a block diagram of the structure of an in-vehicle apparatus according to an embodiment of the invention;
FIG. 4 is a block diagram of the structure of an in-vehicle apparatus according to an alternative embodiment of the present invention;
fig. 5 is a block diagram of a configuration of an in-vehicle communication system according to an embodiment of the present invention;
FIG. 6 is a schematic illustration of a layered structure of a host vehicle on-board modules, in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of a hierarchy of modules on board an adjacent vehicle in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram of a network processing module hierarchy according to an embodiment of the present invention;
FIG. 9 is a flow chart of a method of secure communication according to an embodiment of the present invention;
fig. 10 is a flow chart of a foreign network neighbor selection and assistance process according to an embodiment of the present invention;
FIG. 11 is a flow chart of a method of secure communication according to an alternative embodiment of the present invention;
fig. 12 is a schematic diagram of a data packet encapsulation format according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a communication method for a vehicle-mounted device is provided, and fig. 1 is a flowchart of the communication method for the vehicle-mounted device according to the embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
s101, establishing communication connection between vehicle-mounted equipment of a first vehicle and vehicle-mounted equipment of a second vehicle through near field communication;
step S102, the vehicle-mounted equipment of the first vehicle sends first data to a network terminal through the vehicle-mounted equipment of the second vehicle;
step S103, the vehicle-mounted device of the first vehicle receives second data from the network side forwarded by the vehicle-mounted device of the second vehicle.
Before step S101 of this embodiment, the method may further include: and when the vehicle-mounted equipment of the first vehicle is started, the identification information of the first vehicle is sent to the network terminal.
Before step S101 of this embodiment, the method may further include: checking a network access status of an in-vehicle device of the first vehicle.
In this embodiment, step S101 may include: and under the condition that the network access state of the vehicle-mounted equipment of the first vehicle is abnormal, establishing communication connection with the vehicle-mounted equipment of the second vehicle through near field communication.
After step S101 of this embodiment, the method may further include: the vehicle-mounted equipment of the first vehicle sends a broadcast message requesting help to the vehicle-mounted equipment of the second vehicle; the vehicle-mounted device of the first vehicle receives the authorization message for providing help, which is responded by the vehicle-mounted device of the second vehicle; the method comprises the steps that vehicle-mounted equipment of a first vehicle sends a request type message to vehicle-mounted equipment of a second vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle; the vehicle-mounted equipment of the first vehicle receives a response message sent by the vehicle-mounted equipment of the second vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks; and the vehicle-mounted equipment of the first vehicle selects the vehicle-mounted equipment of the second vehicle as communication relay according to the response message.
In this embodiment, step S102 may include: and the vehicle-mounted equipment of the first vehicle sends the first data to the vehicle-mounted equipment of the second vehicle, wherein the first data comprises the identification information of the first vehicle.
In this embodiment, step S103 may include: and the vehicle-mounted equipment of the first vehicle receives second data from the network terminal, which is forwarded by the vehicle-mounted equipment of the second vehicle, and analyzes the data information sent to the vehicle-mounted equipment by the network terminal according to the identification information of the first vehicle, which is carried in the second data.
Through the steps, as the vehicle-mounted equipment of the first vehicle transmits data to the network terminal through the vehicle-mounted equipment of the second vehicle, the problem of low communication reliability in products such as vehicle-mounted products, intelligent household appliances and the like in the related technology is solved, the communication reliability of the products such as the vehicle-mounted products, the intelligent household appliances and the like is improved, and the communication safety of the products is enhanced.
Fig. 2 is a flowchart of a vehicle-mounted device communication method according to an alternative embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S201, communication connection is established between the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle in a near field communication mode;
step S202, the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle and sends the first data to a network side;
step S203, the vehicle-mounted device of the second vehicle receives second data from the network terminal and sends the second data to the vehicle-mounted device of the first vehicle.
Before step S202 in this embodiment, the method may further include: the on-board equipment of the second vehicle receives a broadcast message which is sent by the on-board equipment of the first vehicle and requests help; the vehicle-mounted device of the second vehicle sends an authorization message for providing help to the vehicle-mounted device of the first vehicle; the vehicle-mounted equipment of the second vehicle receives a request type message sent by the vehicle-mounted equipment of the first vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle; and the vehicle-mounted equipment of the second vehicle sends a response message to the vehicle-mounted equipment of the first vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks.
Before step S202 in this embodiment, the method may further include: and the vehicle-mounted equipment of the second vehicle receives the identification information of the first vehicle, which is sent by the vehicle-mounted equipment of the first vehicle.
In this embodiment, step S202 may include: and the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle, and sends the identification information of the first vehicle and the first data to the network side.
In this embodiment, step S203 may include: the vehicle-mounted equipment of the second vehicle receives the second data from the network terminal; the vehicle-mounted equipment of the second vehicle judges whether the second data is data to be forwarded according to a flag bit field in a data packet of the second data; and when the second data is data to be forwarded, forwarding the second data to the vehicle-mounted equipment of the first vehicle according to the identification information of the first vehicle carried in the data of the second data.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an on-board device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of the structure of an in-vehicle device according to an embodiment of the present invention, and as shown in fig. 3, the device is located in a first vehicle and includes a setup module 10, a transmission module 20, and a reception module 30.
The establishing module 10 is configured to establish a communication connection with a vehicle-mounted device of a second vehicle through near field communication.
The sending module 20 is configured to send the first data to the network side through the vehicle-mounted device of the second vehicle.
The receiving module 30 is configured to receive second data from a network side, which is forwarded by the vehicle-mounted device of the second vehicle.
In this embodiment, the sending module 20 may be further configured to send the identification information of the first vehicle to the network side when the vehicle-mounted device of the first vehicle is powered on.
In this embodiment, the method may further include: a checking module 40 for checking a network access status of the in-vehicle device of the first vehicle.
Fig. 4 is a block diagram of an in-vehicle device according to an alternative embodiment of the present invention, and as shown in fig. 4, the device is located in a second vehicle and includes a communication module 50, a first transceiver module 60, and a second transceiver module 70.
The communication module 50 is configured to establish a communication connection with a vehicle-mounted device of a first vehicle in a near field communication manner;
the first transceiver module 60 is configured to receive first data sent by the vehicle-mounted device of the first vehicle, and send the first data to a network;
the second transceiver module 70 is configured to receive second data from a network, and send the second data to the vehicle-mounted device of the first vehicle.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
In order to facilitate understanding of the technical solutions provided by the present invention, the following detailed description will be made with reference to embodiments of specific scenarios.
After the 4G network is abnormally disconnected, the connection of the vehicle-mounted product cannot be restored under many conditions, for example, the vehicle-mounted product exists in a real network environment, data communication disconnection occurs in the LTE 4G network, so that the vehicle-mounted product cannot perform network communication, and in some cases, the state product cannot be restored, a common communication product such as a data card and a mobile phone can be used by a user to restart the data connection for restoration or restart the device for restoration, but the communication module as the vehicle-mounted product and the intelligent household appliance cannot be automatically restored, and once the condition is met, information sent by a network end, especially some prompting important information such as a security patch and important prompting information sent by a manufacturer, and the vehicle-mounted product and the intelligent household appliance cannot be restored.
The embodiment of the invention focuses on improving the reliability of communication of products such as vehicle-mounted products, smart home appliances and the like to enhance the safety of the products, for example, when a vehicle runs to a condition without a network, in an extremely weak environment or due to abnormal disconnection caused by other reasons, the vehicle (namely, the first vehicle and the following steps) checks that the information of a network end cannot be received within a certain time, the vehicle finds an adjacent vehicle (namely, the second vehicle and the following steps) in a short distance to establish connection, and the vehicle initiates a help message to transmit a unique mark, such as: the vehicle frame number (VIN, vehicle identification code) is a set of alphanumeric codes assigned to a vehicle by the manufacturer for identification. The adjacent vehicle transmits the vehicle frame number to the network terminal, the network terminal adds the frame number identification to the data packet sent to the vehicle and sends the data packet to the adjacent vehicle, the adjacent vehicle starts a detection mechanism, and the packet carrying the vehicle frame number information of the detection data packet is sent to the vehicle so as to receive the information sent to the vehicle by the network terminal by using a unique packaging packet of the vehicle frame number, wherein the information comprises broadcast information and the like.
The embodiment of the invention can be applied to vehicle-mounted products under a 5G network, NB IOT products, intelligent household appliances, unmanned terminal products and other terminal products which can receive network and cloud control commands.
The intelligent household appliances can be developed vigorously by means of the 5G network internet of getting off, and accordingly vehicle-mounted products and NB terminal products can be used in large quantities, communication equipment can be in closer contact with our life under the environment of the interconnection of everything, so that the communication equipment is required to reduce communication delay (1 ms under the 5G network) on one hand, and the safety is required to be improved on the other hand. The embodiment of the invention can be used in a 5G low-delay network environment and improves the safety of communication products by means of a universal interconnection environment.
The system architecture in which alternative embodiments of the invention operate is described below with reference to fig. 5-8. It should be noted that the module division and functions involved in fig. 5 to 8 are not exactly the same as those of the previous embodiments. Fig. 5 is a block diagram of an in-vehicle communication system according to an embodiment of the present invention, and as shown in fig. 5, the in-vehicle communication system of the present embodiment includes a vehicle-mounted module 100, an adjacent vehicle-mounted module 200, and a network processing module 300, where the number of the adjacent vehicle-mounted modules 200 may be multiple (only one is shown in the figure). The vehicle-mounted module 100 is disposed in the vehicle, the vehicle-mounted module 200 of the adjacent vehicle is located in the adjacent vehicle, and the network processing module 300 is located at the network side. The vehicle-mounted module 100 and the adjacent vehicle-mounted module 200 can both communicate with the network processing module 300 in a normal network communication mode, and the vehicle-mounted module 100 and the adjacent vehicle-mounted module 200 can communicate in a short-distance communication mode.
Fig. 6 is a block diagram of a layered structure of a vehicle-mounted module according to an embodiment of the present invention, and as shown in fig. 6, the vehicle-mounted module 100 may further include a checking network module 110, a neighboring vehicle discovery module 120, a neighboring vehicle receiving and forwarding module 130, and a data analysis module 140.
The checking network module 110 is mainly used for checking a network status in real time to determine whether the network can be normally accessed.
The vehicle-adjacent discovery module 120 is mainly used for discovering the vehicle-mounted module of the adjacent vehicle and establishing short-distance communication with the vehicle-mounted module of the adjacent vehicle under the condition of abnormal network.
The receiving adjacent vehicle forwarding module 130 is mainly used for receiving the data packet from the network processing module 300 forwarded by the adjacent vehicle-mounted module.
The data parsing module 140 is mainly used for parsing the data information of the data packet.
Fig. 7 is a block diagram of a hierarchical structure of adjacent vehicle on-board modules according to an embodiment of the present invention, and as shown in fig. 7, the adjacent vehicle on-board module 200 may further include a receiving vehicle connection module 210, an uploading identification module 220, a checking packet module 230, and a forwarding packet module 240.
The vehicle connection receiving module 210 is mainly configured to receive a help request message from the vehicle-mounted module, respond to an authorization message to the vehicle-mounted module, and establish short-distance communication with the vehicle-mounted module.
The upload identifier module 220 is mainly configured to upload the identifier of the host vehicle to the network processing module.
The inspection packet module 230 is mainly configured to inspect the received packet and determine whether to forward the packet or determine its own packet.
The forward data packet module 240 is mainly used for forwarding the data packet of the vehicle-mounted module sent by the network processing module to the vehicle-mounted module.
Fig. 8 is a block diagram of a hierarchical structure of network processing modules according to an embodiment of the present invention, and as shown in fig. 8, the network processing module 300 further includes an acceptance identification module 310 and a group packet distribution module 320.
The receiving identification module 310 is configured to receive the identification of the vehicle uploaded by the adjacent vehicle-mounted module, and bind the identification of the vehicle with the IP address of the vehicle-mounted module of the vehicle.
And the package sending module 320 is configured to package the data package sent to the vehicle-mounted module of the vehicle and send the data package to the vehicle-mounted module of the adjacent vehicle. Based on the above system structure, an embodiment of the present invention provides a secure communication method, and fig. 9 is a flowchart of the secure communication method according to the embodiment of the present invention, as shown in fig. 9, the secure communication method specifically includes the following steps:
step S901: when the vehicle-mounted module is started, the vehicle such as the unique identification frame number is sent to the network side.
Step S902: the vehicle-mounted module checks the speed of the vehicle, checks the network state in real time when the vehicle runs at a high speed (for example, the speed is greater than nKm/h, and n is a settable constant), and judges whether the vehicle can normally access the network.
And S903 is judged: and judging whether the access network is normal or not, and determining whether different network assistance is needed or not.
Step S904: and finding the adjacent vehicle, and sending a message for requesting the network operator name of the adjacent vehicle to the adjacent vehicle, wherein if the adjacent vehicle is a different network registration and receives the request, the vehicle sends a help message containing information such as the vehicle frame number.
Step S905: and the adjacent vehicle-mounted device sends the received vehicle frame number to the network terminal.
Step S906: the network sends data addressed to the vehicle to the neighboring vehicle, such as the identification of the frame number.
Step S907: and the adjacent vehicle carries out detection and forwards the data packet.
Step S908: the vehicle receives the data packet and checks whether the vehicle has the own information packet.
As shown in fig. 10, the process of selecting and assisting neighboring vehicles in different networks in the foregoing embodiment is described below, and mainly includes the following steps:
step S1001, the vehicle is connected with the adjacent vehicle through the near distance discovery protocol and sends a request broadcast message to the adjacent vehicle, and the adjacent vehicle sends authorization information according to the same packet format after detecting the request message.
At step 1002, the host vehicle transmits a request for assistance in accordance with event 1.
Event 1 is: the host vehicle transmits the reason for seeking help (information such as no service in the network or no arrival of a data packet to the network) and the latest access network identification (MCC MNC or the like) of the host vehicle to the neighboring vehicle.
In step S1003, the adjacent vehicle triggers event 2 to respond to the own vehicle.
Event 2 is: and the adjacent vehicles acquire the help reasons of the vehicles, compare the network identifications of the adjacent vehicles and answer the vehicles. And setting the help grade as 2 for the same network side as the network identification comparison result, and if the network identification comparison result is that the help grade of the different network side identification is 1.
In step S1004, the host vehicle trigger event 3 selects an adjacent vehicle acquisition assistance.
Event 3: the vehicle receives the responses of the adjacent vehicles and checks the help level, if the vehicle self-checks not in the service area, the different-network adjacent vehicle with the help level of 1 is selected, and other adjacent vehicles are disconnected.
The embodiment of the present invention further provides an optional secure communication method, and the following detailed description is provided for the implementation of the entire embodiment with reference to fig. 11:
step S1101: when the vehicle is started, the vehicle such as the unique identification frame number is sent to the network side, and the network side binds the received frame number with the IP address allocated to the vehicle-mounted product. When the network receives a request carrying the frame number information from an adjacent vehicle, the network can identify which vehicle information needs to be forwarded by the adjacent vehicle.
Step S1102: the vehicle-mounted vehicle checks the network state in real time, determines whether the vehicle-mounted vehicle cannot receive network information for a long time, determines whether the vehicle-mounted vehicle can normally access the network, and executes the detection according to the determination step S1103, if the vehicle-mounted vehicle tries to register the network again for timeout or the like, the vehicle-mounted vehicle still does not recover after the conventional detection is completed.
Judgment S11033: if the network checking result is normal, a normal network communication mode is adopted, otherwise, step S1103 is executed.
Step S1104: the host vehicle discovers nearby neighbors and, once established, may connect using C-V2X (Mobile Internet of vehicles) where C-V2X implements the 3GPP standard. After the connection is established, the vehicle sends a request help message to wait for the response of the adjacent vehicle, and after receiving the response of the adjacent vehicle, the vehicle immediately sends the information of the vehicle, such as the frame number, to the adjacent vehicle.
Step S1105: and the adjacent vehicle receives the help request and the frame number information from the vehicle, sends the help request and the frame number to the network terminal, and starts a detection process for distinguishing the information packet or the data packet which needs to be forwarded to the adjacent vehicle.
Step S1106: the network end receives the request packet sent by the adjacent vehicle and the vehicle frame number information of the vehicle, matches the IP address by using the vehicle frame number according to the IP address and the vehicle frame number binding information described in the step S1101, and generates a data information packet which is required to be sent to the vehicle and carries the vehicle frame number information to be sent to the adjacent vehicle. The network may perform according to the packet encapsulation format of fig. 12.
Step S1106: the adjacent vehicle receives the packet sent by the network to detect whether the information carries the mark bit and the vehicle frame number information, if the information carries, the side forwards the data packet to the vehicle for the information data packet which needs to be sent to the vehicle seeking help.
Step S1107: after receiving the information data packet forwarded by the adjacent vehicle, the vehicle analyzes the data information sent to the vehicle by the network.
The following illustrates the data encapsulation format of the data packet in this embodiment. Fig. 12 is a schematic diagram of a data packet encapsulation format according to an embodiment of the present invention, as shown in fig. 12, when an IP packet is encapsulated at a network side, a data packet that needs an adjacent vehicle to forward to the vehicle is encapsulated again, specifically, an option that uses an IP packet header is not used, a flag bit may be set to identify the data packet as a data packet that needs to be forwarded, and if the flag bit is set, 8 bits of 32 bits may be set to 10101010, and the combined flag is true. And the frame number of the vehicle is added from the front part of the data segment to package a new packet, the adjacent vehicle receives the new packet and needs to check whether the flag is true, if so, the new packet is considered to be forwarded to the vehicle, and if not, the new packet is considered to be the own data packet without being forwarded.
The embodiment of the invention can be applied to the condition that the network area can not be normally accessed. The embodiment of the invention has the characteristics of improving the product energy and recovering the function of accessing the network.
The embodiment of the invention can enhance the safety of vehicle-mounted products and intelligent household appliances, and receives the server side, cloud control information, important data and the like under the abnormal condition that the network cannot be accessed.
The embodiment of the invention can also inform the user of the abnormity of the vehicle-mounted product in time and indicate the early troubleshooting.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (18)
1. A communication method of vehicle-mounted equipment is characterized by comprising the following steps:
the method comprises the following steps that the vehicle-mounted equipment of a first vehicle establishes communication connection with the vehicle-mounted equipment of a second vehicle through near field communication;
the vehicle-mounted equipment of the first vehicle sends first data to a network terminal through the vehicle-mounted equipment of the second vehicle;
and the vehicle-mounted equipment of the first vehicle receives second data from the network side, which is forwarded by the vehicle-mounted equipment of the second vehicle.
2. The method according to claim 1, further comprising, before the in-vehicle device of the first vehicle establishes the communication connection with the in-vehicle device of the second vehicle by near field communication,
and when the vehicle-mounted equipment of the first vehicle is started, the identification information of the first vehicle is sent to the network terminal.
3. The method according to claim 1, further comprising, before the in-vehicle device of the first vehicle establishes the communication connection with the in-vehicle device of the second vehicle by near field communication,
checking a network access status of an in-vehicle device of the first vehicle.
4. The method of claim 3, wherein establishing a communication connection between the on-board device of the first vehicle and the on-board device of the second vehicle via near field communication comprises:
and under the condition that the network access state of the vehicle-mounted equipment of the first vehicle is abnormal, establishing communication connection with the vehicle-mounted equipment of the second vehicle through near field communication.
5. The method of claim 1, further comprising, after establishing the communication connection with the in-vehicle device of the second vehicle via close-range communication:
the vehicle-mounted equipment of the first vehicle sends a broadcast message requesting help to the vehicle-mounted equipment of the second vehicle;
the vehicle-mounted device of the first vehicle receives the authorization message for providing help, which is responded by the vehicle-mounted device of the second vehicle;
the method comprises the steps that vehicle-mounted equipment of a first vehicle sends a request type message to vehicle-mounted equipment of a second vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle;
the vehicle-mounted equipment of the first vehicle receives a response message sent by the vehicle-mounted equipment of the second vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks;
and the vehicle-mounted equipment of the first vehicle selects the vehicle-mounted equipment of the second vehicle as communication relay according to the response message.
6. The method of claim 5, wherein the sending, by the vehicle-mounted device of the first vehicle, the first data to the network side through the vehicle-mounted device of the second vehicle comprises:
and the vehicle-mounted equipment of the first vehicle sends the first data to the vehicle-mounted equipment of the second vehicle, wherein the first data comprises the identification information of the first vehicle.
7. The method of claim 5, wherein the receiving, by the vehicle-mounted device of the first vehicle, the second data from the network side forwarded by the vehicle-mounted device of the second vehicle comprises:
and the vehicle-mounted equipment of the first vehicle receives second data from the network terminal, which is forwarded by the vehicle-mounted equipment of the second vehicle, and analyzes the data information sent to the vehicle-mounted equipment by the network terminal according to the identification information of the first vehicle, which is carried in the second data.
8. A communication method of vehicle-mounted equipment is characterized by comprising the following steps:
the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle are in communication connection in a near field communication mode;
the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle and sends the first data to a network terminal;
and the vehicle-mounted equipment of the second vehicle receives second data from a network terminal and sends the second data to the first vehicle.
9. The method of claim 8, wherein before the on-board device of the second vehicle receives the first data sent by the on-board device of the first vehicle, further comprising:
the on-board equipment of the second vehicle receives a broadcast message which is sent by the on-board equipment of the first vehicle and requests help;
the vehicle-mounted device of the second vehicle sends an authorization message for providing help to the vehicle-mounted device of the first vehicle;
the vehicle-mounted equipment of the second vehicle receives a request type message sent by the vehicle-mounted equipment of the first vehicle, wherein the request type message carries a reason for seeking help of the vehicle-mounted equipment of the first vehicle and network identification information of the vehicle-mounted equipment of the first vehicle;
and the vehicle-mounted equipment of the second vehicle sends a response message to the vehicle-mounted equipment of the first vehicle, wherein the response message carries information about whether the vehicle-mounted equipment of the second vehicle and the vehicle-mounted equipment of the first vehicle belong to the same network or different networks.
10. The method of claim 9, wherein before the on-board device of the second vehicle receives the first data sent by the on-board device of the first vehicle, further comprising:
and the vehicle-mounted equipment of the second vehicle receives the identification information of the first vehicle, which is sent by the vehicle-mounted equipment of the first vehicle.
11. The method according to claim 10, wherein the step of receiving the first data sent by the vehicle-mounted device of the first vehicle and sending the first data to the network side by the vehicle-mounted device of the second vehicle comprises:
and the vehicle-mounted equipment of the second vehicle receives first data sent by the vehicle-mounted equipment of the first vehicle, and sends the identification information of the first vehicle and the first data to the network side.
12. The method of claim 10, wherein the vehicle-mounted device of the second vehicle receives the second data from the network side and transmits the second data to the vehicle-mounted device of the first vehicle, and the method comprises:
the vehicle-mounted equipment of the second vehicle receives the second data from the network terminal;
the vehicle-mounted equipment of the second vehicle judges whether the second data is data to be forwarded according to a flag bit field in a data packet of the second data;
and when the second data is data to be forwarded, forwarding the second data to the vehicle-mounted equipment of the first vehicle according to the identification information of the first vehicle carried in the data of the second data.
13. An on-board device located on a first vehicle, comprising:
the establishing module is used for establishing communication connection with the vehicle-mounted equipment of the second vehicle through near field communication;
the sending module is used for sending first data to a network terminal through the vehicle-mounted equipment of the second vehicle;
and the receiving module is used for receiving second data from the network terminal, which is forwarded by the vehicle-mounted equipment of the second vehicle.
14. The vehicle-mounted device according to claim 13,
the sending module is further configured to send the identification information of the first vehicle to the network side when the vehicle-mounted device of the first vehicle is powered on.
15. The vehicle-mounted apparatus according to claim 13, characterized by further comprising:
a checking module for checking a network access status of the in-vehicle device of the first vehicle.
16. An in-vehicle apparatus located in a second vehicle, characterized by comprising:
the communication module is used for establishing communication connection with the vehicle-mounted equipment of the first vehicle in a short-distance communication mode;
the first transceiver module is used for receiving first data sent by vehicle-mounted equipment of the first vehicle and sending the first data to a network end;
and the second transceiver module is used for receiving second data from a network end and sending the second data to the vehicle-mounted equipment of the first vehicle.
17. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 12 when executed.
18. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 12.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010598869.6A CN113852938A (en) | 2020-06-28 | 2020-06-28 | Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device |
PCT/CN2021/100395 WO2022001665A1 (en) | 2020-06-28 | 2021-06-16 | Communication method for vehicle-mounted device, vehicle-mounted device, storage medium, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010598869.6A CN113852938A (en) | 2020-06-28 | 2020-06-28 | Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113852938A true CN113852938A (en) | 2021-12-28 |
Family
ID=78972603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010598869.6A Pending CN113852938A (en) | 2020-06-28 | 2020-06-28 | Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113852938A (en) |
WO (1) | WO2022001665A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679482A (en) * | 2022-03-28 | 2022-06-28 | 广州小鹏汽车科技有限公司 | Vehicle control method, vehicle, and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
PL2793205T3 (en) * | 2013-04-19 | 2016-04-29 | Kapsch Trafficcom Ag | Onboard installation for a vehicle |
CN103249073A (en) * | 2013-05-15 | 2013-08-14 | 苏州洁祥电子有限公司 | Car networking link protection system |
US10069919B2 (en) * | 2014-10-08 | 2018-09-04 | Huawei Technologies Co., Ltd. | Method for exchanging information between in-vehicle terminals and in-vehicle terminal |
CN106921694A (en) * | 2015-12-24 | 2017-07-04 | 北京奇虎科技有限公司 | The information sharing method and device of a kind of vehicle |
-
2020
- 2020-06-28 CN CN202010598869.6A patent/CN113852938A/en active Pending
-
2021
- 2021-06-16 WO PCT/CN2021/100395 patent/WO2022001665A1/en active Application Filing
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679482A (en) * | 2022-03-28 | 2022-06-28 | 广州小鹏汽车科技有限公司 | Vehicle control method, vehicle, and storage medium |
CN114679482B (en) * | 2022-03-28 | 2024-04-30 | 广州小鹏汽车科技有限公司 | Vehicle control method, vehicle, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2022001665A1 (en) | 2022-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110383896B (en) | Network access method, terminal, access network and core network | |
CN107889078B (en) | Method for communication of a vehicle | |
CN108111999B (en) | Device sharing request and control method, electronic device and storage medium | |
CN111542081B (en) | Communication switching method and device and Internet of things communication module | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN113473576B (en) | Roaming networking processing method and device, mobile terminal and readable storage medium | |
CN107547619B (en) | Timer parameter negotiation method and device | |
CN107454659B (en) | Terminal identification method, system, terminal equipment and base station | |
CN113852938A (en) | Vehicle-mounted equipment communication method, vehicle-mounted equipment, storage medium and electronic device | |
CN112770370B (en) | Method and device for intelligent equipment to access network and intelligent equipment | |
CN109981202B (en) | Vehicle broadcast alarm method and device | |
EP4250685A1 (en) | Network configuration method and apparatus for internet of things device | |
CN110933775A (en) | Method and device for establishing signal connection and electronic equipment | |
CN104756598B (en) | A kind of method and relevant device of data transmission | |
CN109314843B (en) | Device for controlling motor vehicle, method and motor vehicle for monitoring mobile Internet connection | |
CN111431911B (en) | Method for collecting basic information of equipment in network, network edge equipment and network equipment | |
CN110635927B (en) | Node switching method, network node and network system | |
JP2018174404A (en) | Communication control apparatus, communication control method, and program | |
CN105163335A (en) | Network access management method, network access server, mobile terminal and network access management system | |
JP2018097805A (en) | Attack notification system and attack notification method | |
CN114423098B (en) | Multi-base station networking method, multi-base station network communication method and related devices thereof | |
CN104105094A (en) | Request authentication method, device and system | |
CN112969158B (en) | Vehicle networking communication method, device and system, storage medium and vehicle | |
JP3827614B2 (en) | Radio communication system, accommodation device, accommodation device selection method, and program | |
CN107659975B (en) | Method for controlling device mount of transit node and storage 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 |