Method for determining appropriate timing for transmitting data packet from rear end to at least one first control unit of motor vehicle
By waiting for packet confirmation at the backend to start the timer and retransmitting when the function is triggered on the vehicle, the problem of packet loss is solved, the success rate of packet reception and the reliability of communication is improved, and the security of the vehicle and the backend is ensured. connect.
Patent Information
- Application Number
- CN202380035633.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-05-24
- Filing Date
- 2023-05-10
- Publication Date
- 2024-12-03
AI Technical Summary
In the prior art, data packets transmitted by the back end to the motor vehicle may be lost on the communication path, especially in the case of poor mobile radio connection, resulting in data packets triggering function that cannot be successfully delivered to the vehicle and cannot be re-received in time. It affects the remote control and status update of the vehicle.
By starting the timer, wait for packet confirmation information, if no acknowledgment is received, the data packet is cached and retransmitted when the function is triggered on the car. The message delivery situation is detected by using the function trigger on the car to avoid retransmission of the same data packet multiple times, and Clean the cache after successful reception, ensuring high probability reception and security of data packets.
It improves the success rate of data packet reception in the vehicle, ensures the reliability and security of communication between the vehicle and the backend, reduces unnecessary retransmission and storage requirements, and enhances the reliability of remote control and status updates.
Smart Images

Figure CN119072916A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method according to the preamble of patent claim 1 for transmitting data packets from a back end to at least one first control unit of a motor vehicle. Background Art
[0002] Current vehicles or motor vehicles have a multiplicity of networked control units or controllers which exchange data with a vehicle backend, in which respect two types of functions / modes of action can be distinguished.
[0003] On the one hand, this exchange can be "offboard-triggered", i.e. the exchange is triggered outside the vehicle. The initial data transmission for realizing the corresponding function is carried out from the backend to the vehicle. The overall process generally corresponds to a (English) "Request / Response-Pattern", in which the backend sends a data packet to the vehicle, an example of a (English) "Request" is a command to lock the vehicle, the vehicle then confirms the successful processing of the data packet, an example of a (English) "Response" is the confirmation: "The vehicle was successfully locked". These functions are not initiated by the customer in / on the vehicle, but via a remote interface, such as a smartphone app, which corresponds to (English) "offboard".
[0004] On the other hand, this exchange can be "onboard-triggered", i.e. the exchange is triggered inside the vehicle. The initial data transmission for realizing the corresponding function takes place from the vehicle to the backend. The overall process also generally corresponds to a (English) "Request / Response-Pattern", in which the vehicle sends a data packet to the backend, a further example of a (English) "Request" is a command for updating status data, such as a command for updating an ignition switch change or a lock status, wherein the backend then gives the vehicle a confirmation that the data packet has been successfully processed, a (English) "Response". These functions are either initiated by the customer in / on the vehicle, e.g. when the customer unlocks the vehicle, or by the vehicle itself, e.g. when the battery charge is low, corresponding to (English) "onboard".
[0005] The backend usually does not communicate directly with the control unit that processes the data packets in the vehicle, but rather via a so-called telecommunications unit (TCU) with a mobile radio module. The TCU ensures a secure connection to the backend, but the protocol used does not guarantee the successful transmission or delivery of data packets, at least not at the application level. In addition, messages can only be received from the TCU if the TCU is available. Therefore, according to the prior art, data packets can be lost on the communication path, i.e. on the path from the backend towards the control unit and in the opposite direction.
[0006] Due to external influences, in the case of a function triggered from outside the vehicle, for example in the case of a missing or poor mobile radio connection, data packets may not be delivered to the vehicle. However, in order to successfully provide the various client functions triggered from outside the vehicle, there are data packets that must be delivered to the vehicle. However, depending on the client function, the delivery of the data packets does not necessarily have to occur immediately.
[0007] A method for restoring a cellular connection between a vehicle telematics unit and a wireless carrier system has been disclosed in US 9 179 488 B2. The method comprises detecting a loss of a cellular connection between the vehicle telematics unit and the wireless carrier system, and accessing a technology ranking table (TOT) which ranks a plurality of radio access technologies (RATs) as desired, which in turn can be used in the vehicle telematics unit. Likewise, the method attempts to restore the cellular connection, in particular by means of various method steps.
[0008] US2019 / 0141023 A1 discloses a method for configuring access to a vehicle network from a mobile device. In the event of an error, the corresponding signaling sequence is restarted.
[0009] US 2015 / 0133108 A1 discloses a method for off-board control of a telematics unit of a vehicle via a backend, and simply mentions the resending of a request without further explanation. Summary of the invention
[0010] An object of the present invention is to provide a method in which a data packet that has been transmitted to a vehicle but not delivered is retransmitted to the vehicle at an appropriate time, so that the data packet is received by the vehicle with a higher probability.
[0011] This object is achieved by a method having the features of patent claim 1. Advantageous embodiments with expedient developments of the invention are specified in the further patent claims.
[0012] The invention relates to a method for determining the appropriate time to transmit a data packet for controlling at least one function of the at least one first control unit from a backend to at least one first control unit of a vehicle, in particular a motor vehicle, in particular a passenger car. In this case, data packets are transmitted and received between the backend and the at least one control unit, wherein the transmission is triggered outside the vehicle and / or on the vehicle. It is also possible to transmit all data packets to different control units for controlling different functions, wherein the transmission structure has priorities, for example.
[0013] In order to achieve the purpose of the present invention, it is proposed according to the present invention that when at least one data packet is transmitted to the first control unit by an off-vehicle trigger, a timer is started, wherein the back end waits for confirmation information that the transmitted off-vehicle triggered data packet has been received. Here, in the case of receiving the confirmation information, the control of the function is confirmed, and in the case of not receiving the confirmation information, the data packet is buffered in the buffer of the back end for future transmission. The buffered data packet is retransmitted to the first control unit when the vehicle triggers the transmission of other data packets from the same control unit or another control unit. In particular, the timer enables messages that have not been delivered to the vehicle from the perspective of the back end or data packets that have not been transmitted to the corresponding control unit to be resent / transmitted at an appropriate time. It is detected by the timer that the message is likely not delivered. Through the message triggered on the vehicle and the buffer, it can be retransmitted at an appropriate time.
[0014] The solution for determining the appropriate time to resend a data packet in the case of an off-vehicle trigger function is implemented with the aid of the on-vehicle trigger function and on the assumption that communication between the backend and the vehicle takes place in a request / response mode and that the vehicle can thereby avoid receiving the same data packet multiple times. In other words, the on-vehicle trigger function triggers a retry of the transmission of the data packet that was not transmitted when the off-vehicle trigger function failed. If there is no response within a certain period of time or after the expiration of a timer in the case of an off-vehicle trigger function, the backend must assume that the corresponding data packet has not arrived at the vehicle or control unit. The backend must therefore buffer the data packets destined for this vehicle or this control unit.
[0015] The appropriate moment or triggering event for resending or retransmitting the data packet is then the successful reception of a data packet sent by the vehicle or the corresponding control unit to the backend within the framework of the on-board trigger function. The sending of these data packets is triggered by the vehicle or the corresponding control unit itself, for example when the customer unlocks the vehicle or changes the ignition switch and is therefore independent of the off-board trigger function and is usually carried out in a different context from the off-board trigger function. The receipt of a data packet from the vehicle or the corresponding control unit indicates that the vehicle or the control unit can be contacted again, so that the data packet sent from the backend is also received with a very high probability. This means that the probability of a single transmission without query is lower than the probability of the method according to the invention, because at least one additional transmission is performed here.
[0016] In an advantageous embodiment of the invention, it is provided that a necessity check is performed on the retransmitted data packets. This means that the necessity of certain functions in the buffer is checked at the time when the function is triggered on the vehicle. For example, after entering the vehicle, the lock security is no longer required, so the lock security can be deleted from the buffer. To ensure security, for example, each unexecuted function can be recorded and stored for further processing, so that less storage space and main memory are required.
[0017] In another advantageous embodiment of the invention, it is provided that the buffer is deleted / cleared after a successful transmission triggered on the vehicle. In this case, the buffer can be deleted either as a direct result of the on-vehicle trigger function or as a result of a time delay, wherein the deletion rule is specified by the OEM. In particular, in this case, the safety of the vehicle should be given priority.
[0018] Furthermore, a design of the invention has proven to be advantageous in which, if the transmission of a data packet triggered outside the vehicle is not confirmed, information about this is transmitted to the data receiver. This is advantageous due to security precautions at the application level, since in this case the user of the application is warned if the backend receives a confirmation message. This can lead to higher security in the case of various functions, for example, if the vehicle is not successfully locked.
[0019] Finally, in an advantageous embodiment of the invention, it is proposed that after the transmission of the data packet triggered on the vehicle is confirmed, another second timer and / or another timer is started, wherein the back end again waits for confirmation information about the reception of the previously buffered data packet triggered by the transmission outside the vehicle, and generates a signal for triggering a fault report if the confirmation information is not received again. The fault report confirms with a certain probability that the interface between the back end and the control unit may be interrupted and indicates to the user or OEM that a possible physical connection / interface or other component is defective.
[0020] The invention belongs to the field of telematics and describes a method that allows messages that were not delivered to the vehicle from the vehicle backend's point of view to be resent to the vehicle at an appropriate time.
[0021] Further advantages, features and details of the invention are given in the following description of preferred embodiments and with reference to the drawings. The above features and combinations of features mentioned in the description, as well as the features and combinations of features mentioned in the description of the drawings and / or shown alone in a single drawing, can be used not only in the respectively given combination but also in other combinations or alone without departing from the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The single FIGURE (FIG) shows a schematic diagram for explaining the method according to the invention. In the figures, identical and functionally identical elements are provided with the same reference numerals. DETAILED DESCRIPTION
[0023] In the single figure (FIG), an example of the use of the method according to the invention is shown, wherein the method is used to determine the appropriate time for transmitting a data packet 10 for controlling at least one function of the at least one control unit 14a from a backend 12 to at least one first control unit 14a of a vehicle 16, in particular a motor vehicle. Data packets 10 are transmitted and received between the backend 12 and the at least one control unit 14a, wherein the transmission is triggered by an off-vehicle trigger B1 and / or an on-vehicle trigger B2. When the off-vehicle trigger B1 transmits at least one data packet 10 to the first control unit 14a, a timer T is started, wherein an acknowledgement message 18 is waited for by the backend 12 that the transmitted data packet 10 of the off-vehicle trigger B1 has been received, wherein, in the case of receiving the acknowledgement message 18, the control of the function is acknowledged, and in the case of not receiving the acknowledgement message 18 and, therefore, in the case of transmitting a non-acknowledgement / non-acknowledgement message 28, the data packet 10 is buffered in a buffer 20 of the backend 12 for future transmission. The non-acknowledgement message 28 from the vehicle 16 to the backend 12 is, in particular, the expiration of the timer T, which can be forwarded to other entities. Finally, when the transmission of a further data packet 10 b is triggered B2 on the vehicle, the buffered data packet 10 is transmitted again to the at least one control unit 14 a .
[0024] Here, the only figure (figure) uses an example in which a customer / user 22 wishes to configure a function, indicated as air preconditioning, of a vehicle 16, which is designed as an electric vehicle, via a smartphone application 26 of the OEM so that the air preconditioning is activated in the vehicle 16 at a predetermined time of 2 p.m., which involves the transmission of a data packet 10 for this function by an external trigger B1. In this case, to implement the air preconditioning, an air preconditioning command 24 is transmitted to the vehicle 16 via the back end 12. In this case, a request data packet 10a is first sent to the back end 12, and then the data packet 10, which is designed as a command data packet, is sent from the back end 12 to the vehicle 16 and / or the control unit 14a. In other words, the data packets 10, 10a differ in that the command data packet or data packet 10 is applicable between the vehicle 16 and the back end 12, and the data packet 10a is applicable between the back end 12 and the customer / user 22.
[0025] As soon as the customer / user 22 has configured the desired activation time in the smartphone app 26, the backend 12 sends a corresponding data packet 10 with an air preconditioning command 24 for configuring the air preconditioning, which data packet 10 contains in particular the activation time, to the vehicle 16. If the backend 12 does not receive the expected confirmation message 18 or a “response” to the sent data packet 10 within a certain period of time or within a timer T, it can be assumed that the data packet 10 did not reach the vehicle 16 or the control unit 14a and that the air preconditioning 24 was not configured according to the customer's request.
[0026] According to the method, instead of sending a data packet 10 to the vehicle 16 or the control unit 14a at cyclic time intervals or having the client / user 22 re-perform the configuration of the activation time, the backend 12 waits until it receives from the vehicle 16 another data packet 10b that is sent within the scope of triggering the B2 function on board, for example, when the vehicle 16 connected for charging sends a new charge status to the backend 12. This data packet 10b, which is not related to the air preconditioning 24, thus triggers the retransmission of the buffered data packet 10, which has a very high probability of being received by the vehicle 16 or the control unit 14a, resulting in the configuration of the air preconditioning 24 in the vehicle 16 and the corresponding confirmation information 18 to the backend 12.
Claims
1. A method for determining an appropriate time to transmit a data packet (10) for controlling at least one function of the at least one first control unit (14a) of a motor vehicle (16) from a back end (12), wherein: Transmitting and receiving data packets (10) between the back end (12) and the at least one control unit (14a), wherein the transmission is triggered off-vehicle (B1) and / or on-vehicle (B2), It is characterized in that When an off-vehicle trigger (B1) transmits at least one data packet (10) to the first control unit (14a), a timer (T) is started, wherein a back end (12) waits for confirmation information (18) regarding the reception of at least one data packet (10) transmitted by the off-vehicle trigger (B1), wherein when the confirmation information (18) is received, control of the function is confirmed, and when no confirmation information (18) is received, the at least one data packet (10) is cached in a cache (20) of the back end (12) for future transmission, and when an on-vehicle trigger (B2) transmits other data packets (10b), the at least one cached data packet (10) is retransmitted to the control unit (14a).
2. The method according to claim 1, It is characterized in that A necessity check is performed on the at least one retransmitted data packet (10).
3. The method according to any one of the preceding claims 1 and 2, It is characterized in that After the data packet (10b) triggered (B2) on the vehicle is transmitted, the buffer (20) is deleted.
4. The method according to any one of the preceding claims, It is characterized in that If the transmission of the data packet (10) triggered by the off-vehicle (B1) is not confirmed, a non-confirmation message (28) is transmitted to the data receiver (30).
5. The method according to any one of the preceding claims 2 to 4, It is characterized in that After the transmission of the data packet (10b) triggered on the vehicle (B2) is confirmed, another second timer is started, wherein the back end (12) waits again for confirmation information (18) regarding the reception of the previously cached data packet (10) transmitted by the off-vehicle trigger (B1), and generates a signal for triggering a fault report if the confirmation information is not received again.
