Optical transmitting device, optical receiving device, terminal device, OTA upgrading method and system
The optical transmission equipment uses optical signal transmission data to upgrade OTA, which solves the problem of the long upgrade time of finished vehicles and realizes a fast and automatic OTA upgrade process.
Patent Information
- Application Number
- CN202411366459.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-08-01
AI Technical Summary
During the OTA upgrade process of finished vehicles, due to the poor network signal of the finished warehouse parking lot, the OTA upgrade time is too long, and the existing technology is difficult to effectively shorten the total upgrade time.
The optical transmission device is used to transmit target data through optical signals to perform OTA upgrades. The optical signal has high speed and large capacity, and does not rely on network signals. It combines with the mobile device to drive the light source along the preset route, automatically completing the upgrade of multiple terminal devices.
Through optical signal transmission, the total time for upgrading OTA of finished vehicles is reduced, and the upgrade can be automatically completed when the number of terminal equipment is large, saving human resources.
Smart Images

Figure CN120416698A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an optical transmitting device, an optical receiving device, a terminal device, and an OTA upgrade method and system. Background Art
[0002] With the continuous development of intelligent driving and intelligent cockpit services, the amount of in-vehicle software installed in each vehicle continues to increase, and the upgrade packages for each in-vehicle software are also increasing. The largest upgrade package can reach 10 gigabytes (GB), resulting in the increasing size of the files required for each vehicle upgrade. The files required for each vehicle upgrade include the upgrade packages for each in-vehicle software installed in the vehicle.
[0003] Therefore, before selling finished vehicles (also known as finished vehicles), they need to be placed in a finished product parking lot to centrally perform over-the-air (OTA) upgrades on them. However, the network signal in most finished product parking lots is poor, and the civilian base stations located around the parking lots cannot support the download of large batches of upgrade packages, resulting in a long total time for centralized OTA upgrades of finished vehicles.
[0004] Therefore, how to effectively reduce the total time for OTA upgrades of finished vehicles is an urgent problem to be solved. Summary of the Invention
[0005] The purpose of this application is to provide an optical transmitting device, an optical receiving device, a terminal device, an OTA upgrade method and a system, which can effectively reduce the total time for OTA upgrades of finished vehicles.
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] The present application provides an optical transmitting device, which includes a light source, and the light source is used to send an optical signal carrying target data to at least one optical receiving device, and the target data is used to perform OTA upgrade on the terminal device.
[0008] It can be seen from the above technical solution that in this application, when performing OTA upgrade, the optical sending device can send the target data for OTA upgrade of the terminal device to the optical receiving device through an optical signal, so that the terminal device uses the target data for OTA upgrade. The optical signal has the advantages of high speed and large capacity when transmitting data, and does not rely on network signals. Therefore, this method can effectively reduce the total time for OTA upgrade of finished vehicles.
[0009] In some embodiments, the optical transmitting device further includes a driving device configured to generate an optical signal.
[0010] Through the above technical solution, the optical transmission device can automatically generate an optical signal through the driving device. In this way, the transmission rate of the optical signal can be increased, so as to further reduce the total duration of OTA upgrading of the finished vehicle.
[0011] In some embodiments, the optical transmission device further includes a moving device, the moving device is connected to the light source, and the moving device can drive the light source to move. The moving device is used to travel along a preset route and drive the light source to move to each stopping point of the preset route. The light source is used to send an optical signal to at least one optical receiving device at each stopping point.
[0012] It can be seen from the above technical solution that the moving device can drive the light source to travel along a preset route, and the light source can send an optical signal containing target data to at least one optical receiving device at each stopping point of the preset route. Thus, when the number of terminal devices that need to be OTA upgraded is too large, the OTA upgrading of a huge number of terminal devices can be automatically completed, so as to further reduce the total duration of OTA upgrading of the finished vehicle.
[0013] In some embodiments, the light source sends an optical signal to at least one optical receiving device whose distance from the stopping point is less than a distance threshold at each stopping point.
[0014] In some embodiments, the preset route may include a first stopping point and a second stopping point, the first stopping point is located before the second stopping point. On this basis, the light source is used to send an optical signal to at least one first optical receiving device at the first stopping point. The moving device is used to travel from the first stopping point to the second stopping point along the preset route when the preset conditions are met. The light source is used to send an optical signal to at least one second optical receiving device at the second stopping point.
[0015] The above technical solution provides a specific implementation manner for the optical transmission device to travel along a preset route, which can effectively enhance the feasibility of the present application.
[0016] In some embodiments, the preset conditions include at least one of the following:
[0017] The duration of the optical transmission device sending an optical signal at the first stopping point is greater than a duration threshold.
[0018] The optical transmission device receives feedback signals from terminal devices connected to each first optical receiving device. The feedback signal of each terminal device is used to indicate that the terminal device has completed OTA upgrading using the target data.
[0019] The above technical solution provides two preset conditions for the movement of the optical transmission device. One is that the optical transmission device can move to the next position at regular intervals according to a preset route, and the other is that the optical transmission device can move to the next position after receiving the feedback signal from the terminal device. Moreover, the above two methods can be combined to effectively improve the compatibility of this application.
[0020] In some embodiments, the light source is in the off state during the process that the mobile device moves from the first stop point to the second stop point according to the preset route.
[0021] Turning off the light source during the process that the mobile device moves from the first stop point to the second stop point can effectively save energy consumption.
[0022] In some embodiments, the optical signal is visible light or laser.
[0023] Visible light can be observed by the naked eye, so that during the process of transmitting target data through the optical signal, relevant staff can confirm the signal coverage area of the optical signal through the visible light, which can not only avoid the phenomenon of missed transmission, but also effectively prevent information leakage and ensure the security of target data during the transmission process.
[0024] Laser has the advantage of high transmission rate. Therefore, using laser as the light wave of the optical signal can further increase the transmission rate of the target data, and further reduce the total duration of OTA upgrade for the finished vehicle.
[0025] In some embodiments, the light source includes at least one of a focusing lamp and a scattering lamp.
[0026] This application provides an optical receiving device, which includes a photodetector and a communicator. The photodetector is used to receive the optical signal carrying the target data. The communicator is used to send the target data to the terminal device connected to the optical receiving device.
[0027] Among them, the target data is used to perform OTA upgrade on the terminal device.
[0028] It can be seen from the above technical solution that in this application, after the optical receiving device receives the optical signal carrying the target data, it can be sent to the terminal device so that the terminal device uses the target data for OTA upgrade. And the optical signal has the advantages of high speed and large capacity when transmitting data, and does not depend on the network signal. Therefore, through this method, the total duration of OTA upgrade for the finished vehicle can be effectively reduced.
[0029] In some embodiments, the optical receiving device further includes a digital converter. On this basis, the photodetector is further configured to convert the optical signal into an analog electrical signal, the digital converter is configured to convert the analog electrical signal into a digital electrical signal, and the communicator is configured to send the digital electrical signal to a terminal device connected to the optical receiving device.
[0030] In some embodiments, the optical receiving device is a pluggable optical receiving device, and the pluggable optical receiving device is connected to a terminal device through a universal USB interface; or, the optical receiving device is a mounted optical receiving device, and the mounted optical receiving device is connected to a terminal device through a communication cable.
[0031] In some embodiments, the optical receiving device further includes a lens, and the lens is coupled to the photodetector; the lens is configured to focus the light wave emitted by the optical transmitting device to obtain a focused light wave, and the photodetector is configured to obtain an optical signal from the focused light wave.
[0032] Through the above technical solution, the angle of the light wave emitted by the optical transmitting device can be adjusted by the lens to achieve focusing of the light wave, and the focused light wave is more easily detected by the photodetector. Therefore, the detection efficiency of the photodetector for the optical signal can be effectively improved.
[0033] In some embodiments, the optical receiving device further includes a fluorescent antenna, and the fluorescent antenna is coupled to the photodetector. The fluorescent antenna is configured to receive the optical signal and send the optical signal to the photodetector.
[0034] Through the above technical solution, the detection range of the optical signal can be increased by increasing the length of the fluorescent antenna, so that the optical signal sent by the optical transmitting device is more easily detected. Therefore, the detection efficiency of the photodetector for the optical signal can be effectively improved.
[0035] In some embodiments, the terminal device connected to the optical receiving device is a vehicle head unit device, and the optical receiving device is located on the front side of the vehicle equipped with the vehicle head unit device, or the optical receiving device is located inside the vehicle lamp of the vehicle equipped with the vehicle head unit device.
[0036] The present application provides a terminal device, which includes a communicator and a processor. The communicator is configured to receive target data. The processor is configured to perform OTA upgrade using the target data.
[0037] The target data is used to perform OTA upgrade on the terminal device.
[0038] In some embodiments, the terminal device is a vehicle head unit device.
[0039] In some embodiments, after the processor uses the target data to complete the OTA upgrade, the processor is further configured to generate a feedback signal, and the communicator is further configured to send the feedback signal to the optical transmitting device.
[0040] The present application provides an OTA upgrade method, which is applied to an optical transmission device. The method includes: obtaining target data and sending an optical signal carrying the target data to at least one optical receiving device.
[0041] Wherein, the target data is used to perform OTA upgrade on the terminal device.
[0042] In some embodiments, sending an optical signal carrying the target data to at least one optical receiving device may include: driving along a preset route and sending an optical signal to at least one optical receiving device at each stop on the preset route.
[0043] In some embodiments, sending an optical signal to at least one optical receiving device at each stop on the preset route may include: sending an optical signal to at least one optical receiving device whose distance from the stop is less than a distance threshold at each stop on the preset route.
[0044] In some embodiments, the preset route includes a first stop and a second stop, and the first stop is located before the second stop. On this basis, driving along the preset route and sending an optical signal to at least one optical receiving device at each stop on the preset route may include: sending an optical signal to at least one first optical receiving device at the first stop; driving from the first stop to the second stop along the preset route under the condition of meeting the preset condition; and sending an optical signal to at least one second optical receiving device at the second stop.
[0045] In some embodiments, the preset condition may include at least one of the following:
[0046] The duration of the optical transmission device sending an optical signal at the first stop is greater than a duration threshold.
[0047] The optical transmission device receives feedback signals from the terminal devices connected to each first optical receiving device; the feedback signal of each terminal device is used to indicate that the terminal device has completed OTA upgrade using the target data.
[0048] In some embodiments, the method further includes: turning off the light source of the optical transmission device during the process of the optical transmission device driving from the first stop to the second stop along the preset route.
[0049] In some embodiments, the optical signal is visible light or laser.
[0050] In some embodiments, the light source of the optical transmission device includes at least one of a focusing lamp and a scattering lamp.
[0051] The present application provides an OTA upgrade method, which is applied to an optical receiving device. The method includes: receiving an optical signal carrying the target data and sending the target data to the terminal device connected to the optical receiving device.
[0052] The target data is used for OTA upgrading of the terminal device.
[0053] In some embodiments, before sending the target data to the terminal device connected to the optical receiving device, it further includes: converting the optical signal into an analog electrical signal, and converting the analog electrical signal into a digital electrical signal.
[0054] Correspondingly, sending the target data to the terminal device connected to the optical receiving device includes: sending the digital electrical signal to the terminal device connected to the optical receiving device.
[0055] In some embodiments, the optical receiving device is a pluggable optical receiving device, and the pluggable optical receiving device is connected to a terminal device through a universal USB interface; or, the optical receiving device is a mounted optical receiving device, and the mounted optical receiving device is connected to a terminal device through a communication cable.
[0056] In some embodiments, the optical receiving device includes a photodetector and a lens, and the lens is coupled to the photodetector. Before receiving the optical signal carrying the target data, it further includes: focusing the light wave emitted by the optical transmitting device through the lens to obtain a focused light wave.
[0057] Correspondingly, receiving the optical signal carrying the target data includes: obtaining the optical signal from the focused light wave through the photodetector.
[0058] In some embodiments, the optical receiving device includes a photodetector and a fluorescent antenna, and the fluorescent antenna is coupled to the photodetector. Receiving the optical signal carrying the target data includes: receiving the optical signal through the fluorescent antenna and sending the optical signal to the photodetector.
[0059] In some embodiments, the terminal device connected to the optical receiving device is a car machine device, and the optical receiving device is located on the front side of the vehicle equipped with the car machine device, or the optical receiving device is located inside the vehicle lamp of the vehicle equipped with the car machine device.
[0060] This application provides an OTA upgrading method applied to a terminal device. The method includes: receiving target data and performing OTA upgrading using the target data.
[0061] The target data is used for OTA upgrading of the terminal device.
[0062] In some embodiments, the terminal device is a car machine device.
[0063] In some embodiments, the method further includes: after completing OTA upgrading using the target data, sending a feedback signal to the optical transmitting device.
[0064] This application provides an OTA upgrade system, which includes the optical transmission device, the optical reception device, and the terminal device described above.
[0065] This application provides a computer-readable storage medium storing instructions. When the instructions run on the optical transmission device, the optical transmission device is caused to execute the corresponding OTA upgrade method; or when the instructions run on the optical reception device, the optical reception device is caused to execute the corresponding OTA upgrade method; or when the instructions run on the terminal device, the terminal device is caused to execute the corresponding OTA upgrade method.
[0066] This application provides a computer program product containing instructions. When a computer executes the above instructions, the computer is caused to execute the OTA upgrade method described above.
[0067] This application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a computer program or instructions to implement the OTA upgrade method described above.
[0068] Specifically, the chip provided in the embodiments of this application further includes a memory for storing a computer program or instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] To more clearly illustrate the technical solutions in the embodiments of this application, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0070] Figure 1 It is a schematic diagram of an application scenario of an OTA upgrade system provided in an embodiment of this application;
[0071] Figure 2 It is an interaction flowchart of an OTA upgrade method provided in an embodiment of this application;
[0072] Figure 3 It is a schematic diagram of an optical reception device provided in an embodiment of this application;
[0073] Figure 4 It is a schematic diagram of another optical reception device provided in an embodiment of this application;
[0074] Figure 5 It is a schematic diagram of a vehicle lamp provided in an embodiment of this application;
[0075] Figure 6 It is an interaction flowchart of another OTA upgrade method provided in an embodiment of this application;
[0076] Figure 7 The structural diagram of an OTA upgrade device provided by an embodiment of the present application;
[0077] Figure 8 The structural diagram of another OTA upgrade device provided by an embodiment of the present application;
[0078] Figure 9 The structural diagram of another OTA upgrade device provided by an embodiment of the present application;
[0079] Figure 10 The structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0080] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0081] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "front", "rear", "inner", "outer", etc. is the orientation or relative positional relationship based on the orientation shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the present application. Without special instructions, in the case of satisfying the relative positional relationship shown in the drawings, the above orientation description can be flexibly set during the actual application process.
[0082] The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0083] In the description of the present application, it should be noted that unless otherwise clearly defined and limited, the terms "installed", "connected", "connected", and "communicated" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection. It may be directly connected, or indirectly connected through an intermediate medium, and may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.
[0084] In some embodiments, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, article or device comprising that element.
[0085] In some embodiments, words such as "exemplary" or "for example" are used to indicate an example, illustration or explanation. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0086] In the description of this specification, specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner.
[0087] With the continuous development of businesses such as intelligent driving and intelligent cockpits, the number of in-vehicle software installed in each vehicle is increasing, and the upgrade packages for each in-vehicle software are also growing. The largest upgrade package can reach 10 GB, resulting in an increasing size of the files that need to be upgraded for each vehicle. Among them, the files that need to be upgraded for each vehicle include the upgrade packages of the various in-vehicle software installed in that vehicle.
[0088] Thus, before selling the finished vehicles, the finished vehicles need to be placed in the finished vehicle storage parking lot to centrally perform OTA upgrades on the finished vehicles. Currently, when performing OTA upgrades on the finished vehicles, a request upgrade task queue, a to-be-upgraded vehicle task queue and a download queue can be created to ensure that when performing OTA upgrades on the finished vehicles, the files that need to be upgraded for each finished vehicle can be downloaded in an orderly manner. However, the network signal in most finished vehicle storage parking lots is poor, and the civilian base stations around the finished vehicle storage parking lot cannot support the download of a large number of upgrade packages. Although this method can download the files that need to be upgraded for each finished vehicle in an orderly manner when the processing capacity and network bandwidth of the OTA server are limited, it cannot reduce the total time for all finished vehicles to complete OTA upgrades.
[0089] Therefore, how to effectively reduce the total time for performing OTA upgrades on finished vehicles is an urgent problem to be solved.
[0090] In view of this, an embodiment of the present application provides an optical transmission device, which includes a light source for sending an optical signal carrying target data to at least one optical receiving device, and the target data is used for OTA upgrade of a terminal device.
[0091] It can be seen that when performing OTA upgrade in the present application, the optical transmission device can send, through the optical signal, the target data for OTA upgrade of the terminal device to the optical receiving device, so that the terminal device uses the target data for OTA upgrade. The optical signal has advantages such as high speed and large capacity when transmitting data, and does not depend on the network signal. Therefore, through this method, the total time for OTA upgrade of a finished vehicle can be effectively reduced.
[0092] The OTA upgrade method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0093] Figure 1 It is an application scenario diagram of an OTA upgrade system provided by an embodiment of the present application. As Figure 1 shown, the OTA upgrade system may include at least one optical transmission device 101, at least one optical receiving device 102, and at least one terminal device 103.
[0094] The embodiment of the present application does not limit the number of the optical transmission device 101 and the optical receiving device 102 in the OTA upgrade system, and may include more or fewer optical transmission devices and optical receiving devices than Figure 1 those in.
[0095] The embodiment of the present application does not limit the number and specific form of the terminal device 103 in the OTA upgrade system, and may include more or fewer terminal devices than Figure 1 those in, and the terminal device 103 may be any device that needs to perform OTA upgrade, such as a car machine device, a server, a mobile phone, a computer, etc.
[0096] In the embodiment of the present application, the optical transmission device 101 may include a light source 104 for sending an optical signal to at least one optical receiving device 102, and the optical signal carries the target data for OTA upgrade of the terminal device 103.
[0097] The embodiment of the present application does not limit the light source 104. For example, the light source may include a light emitting diode (LED) lamp, a fluorescent lamp, etc.
[0098] Correspondingly, the optical receiving device 102 may include a photodetector and a communicator. The photodetector is used to receive the optical signal sent by the light source of the optical transmission device 101. The communicator is used to send the target data to the terminal device 103 connected to the optical receiving device 102.
[0099] The terminal device 103 may include a communicator and a processor. The communicator is used to receive the target data sent by the optical receiving device 102. The processor is used to perform OTA upgrade on the terminal device 103 using the target data.
[0100] Figure 2 It is an interaction flowchart of an OTA upgrade method provided by an embodiment of this application. This method is implemented through the interaction between Figure 1 the terminal device and the optical transmitting device as shown, as Figure 2 shown, this method includes:
[0101] S201, the optical transmitting device acquires the target data.
[0102] The target data is used to perform OTA upgrade on the terminal device.
[0103] The optical transmitting device may include a data input interface. The optical transmitting device may receive a digital signal carrying the target data through its own data input interface.
[0104] The optical transmitting device may be a device such as an automated guided vehicle (AGV), a drone, etc.
[0105] In the embodiment of this application, the manner in which the optical transmitting device receives the digital signal carrying the target data is not limited. For example, the optical transmitting device may receive the digital signal carrying the target data through Gigabit Ethernet, or may receive the digital signal carrying the target data through optical fiber communication.
[0106] In the embodiment of this application, the position of the data input interface of the optical transmitting device is not limited. For example, the data input interface may be located at the bottom of the optical transmitting device, called the bottom interface, or may be located at the top of the optical transmitting device, called the top interface, or may also be located inside the optical transmitting device, called the internal interface.
[0107] S202, the optical transmitting device sends an optical signal carrying the target data to at least one optical receiving device.
[0108] In an optional implementation manner, the optical transmitting device may include a driving device, and the driving device is used to generate an optical signal. Specifically, after the optical transmitting device receives the digital signal carrying the target data, it may convert the digital signal into an optical signal through a modulation circuit in its own driving device to obtain an optical signal carrying the target data, and send the optical signal to at least one optical receiving device through its own light source.
[0109] It should be noted that the number of optical transmission devices in the embodiments of the present application is not limited. For example, the number of optical transmission devices can be 1. Preferably, the number of optical transmission devices can be greater than 1, such as 3, 5, etc.
[0110] The number of optical transmission devices can be determined according to at least one of the number of terminal devices that need to be OTA-upgraded, the site for storing each terminal device, and the signal coverage range of the optical signals sent by the optical transmission devices.
[0111] For example, assume that the number of optical transmission devices can be determined according to the number of terminal devices that need to be OTA-upgraded and the site for storing each terminal device, and the number of terminal devices that need to be OTA-upgraded and the site for storing each terminal device are as Figure 1 shown. Then, the number of optical transmission devices can be set to 3, that is, optical signals can be sent to multiple terminal devices through 3 optical transmission devices simultaneously.
[0112] When the number of optical transmission devices is greater than 1, multiple optical transmission devices can send optical signals to at least one terminal device simultaneously, so as to further accelerate the rate of sending optical signals carrying target data to the terminal device and reduce the total duration of OTA-upgrading the finished vehicle.
[0113] The embodiments of the present application do not limit the signal coverage range of the optical signals sent by each optical transmission device. The signal coverage range of the optical signals sent by each optical transmission device can be determined by the structure of the light source in the optical transmission device. For example, when the light source installed on a certain optical transmission device is a focusing lamp, the light wave emitted by the light source is a focused light wave, and the signal coverage range of the optical signals sent by this optical transmission device is 1, that is, this optical transmission device can send optical signals to 1 terminal device simultaneously. When the light source installed on a certain optical transmission device is a scattering lamp, the light wave emitted by the light source is a scattered light wave, and the signal coverage range of the optical signals sent by this optical transmission device is greater than 1, that is, this optical transmission device can send optical signals to multiple terminal devices simultaneously.
[0114] When the light source installed on each optical transmission device is a scattering lamp, each optical transmission device can send optical signals to multiple terminal devices simultaneously, thereby accelerating the rate of sending optical signals carrying target data to the terminal device and reducing the total duration of OTA-upgrading the finished vehicle.
[0115] It should be noted that when the light source installed on the optical transmission device is a scattering lamp, the embodiments of the present application do not limit the signal coverage range of the optical signals sent by the optical transmission device. For example, the coverage range of the optical signals sent by the optical transmission device can be 4, that is, the optical transmission device sends optical signals to 4 terminal devices simultaneously, and the coverage range of the optical signals sent by the optical transmission device can also be 8, that is, the optical transmission device can send optical signals to 8 terminal devices simultaneously.
[0116] S203. The optical receiving device receives an optical signal carrying target data.
[0117] S204. The optical receiving device sends the target data to a terminal device connected to itself.
[0118] Specifically, the optical receiving device may include a photodetector and a communicator. Among them, the photodetector is used to receive the optical signal, and the communicator is used to send the target data to a terminal device connected to itself. Specifically, after the optical receiving device receives the optical signal sent by the optical transmitting device through its own photodetector, the adjustment circuit in the photodetector can demodulate the optical signal to obtain a digital electrical signal, and send the digital electrical signal to the terminal device connected to itself through its own communicator.
[0119] In an alternative embodiment, the optical receiving device may further include a digital converter. The digital converter is used to convert an analog electrical signal into a digital electrical signal. Specifically, after the photodetector of the optical receiving device detects an optical signal carrying target data, the optical signal can be converted into an analog electrical signal and sent to the digital converter. The digital converter can convert the analog electrical signal into a digital electrical signal carrying target data and send the digital electrical signal to the communicator. The communicator can send the digital electrical signal to a terminal device connected to the optical receiving device to send the target data to the terminal device.
[0120] S205. The terminal device receives the target data.
[0121] S204. The terminal device performs OTA upgrade using the target data.
[0122] Specifically, the terminal device may include a communicator and a processor. The communicator is used to receive the target data, and the processor is used to perform OTA upgrade using the target data. Specifically, for each terminal device, after the communicator of the terminal device receives the target data, the target data can be sent to the processor, and the processor can perform OTA upgrade using the target data.
[0123] In the embodiment of the present application, when performing OTA upgrade, the optical transmitting device can send the target data to the optical receiving device through an optical signal. The optical receiving device can send the target data to a terminal device connected to itself. The terminal device can perform OTA upgrade using the target data. In this process, the target data is transmitted by an optical signal, and the optical signal has advantages such as high speed and large capacity when transmitting data, and does not depend on a network signal. Therefore, the total time for OTA upgrade of a finished vehicle can be effectively reduced by this method.
[0124] In an alternative embodiment, in the above S202, when the optical transmission device sends an optical signal carrying target data to at least one optical reception device, it may further: travel along a preset route and send the optical signal to at least one optical reception device at each stop on the preset route.
[0125] Wherein, the preset route refers to the travel route of the optical transmission device set in advance. The preset routes of each optical transmission device are different, and each preset route of the optical transmission device may include multiple stops. The optical transmission device may send an optical signal to at least one terminal device at each stop.
[0126] The embodiments of the present application do not limit the generation method of the preset route of the optical transmission device. For example, the preset route of the optical transmission device may be set in advance by relevant staff, or may be generated in advance by the optical transmission device according to the locations of each terminal device and its own location.
[0127] Specifically, the optical transmission device may further include a mobile device. The mobile device is connected to the light source of the optical transmission device, and the mobile device can drive the light source of the optical transmission device to move. On this basis, the mobile device of the optical transmission device can travel along the preset route and drive the light source of the optical transmission device to move to each stop on the preset route, so that the light source can send an optical signal to at least one optical reception device at each stop.
[0128] In an alternative embodiment, when sending an optical signal to at least one optical reception device at each stop on the preset route, an optical signal may be sent to at least one optical reception device whose distance from the stop is less than a distance threshold at each stop on the preset route.
[0129] The embodiments of the present application do not limit the distance threshold. For example, the distance threshold may be 5 meters or 3 meters.
[0130] Exemplarily, assume that the preset route includes stop A and stop B, stop A is before stop B, the distance threshold is 5 meters, and the terminal devices whose distance from stop A is less than the distance threshold include vehicle a and vehicle b, and the terminal devices whose distance from stop B is less than the distance threshold include vehicle c and vehicle d. On this basis, at stop A, the optical transmission device may send optical signals to vehicle a and vehicle b, travel along the preset route, move from stop A to stop B, and send optical signals to vehicle c and vehicle d.
[0131] In an alternative embodiment, the preset route may include a first stop point and a second stop point, and the first stop point is located before the second stop point. When traveling according to the preset route and sending the optical signal to at least one optical receiving device at each stop point of the preset route, it may include: sending an optical signal to at least one first optical receiving device at the first stop point. When the preset conditions are met, the optical transmitting device may travel along the preset route, move from the first stop point to the second stop point, and send an optical signal to at least one second optical receiving device at the second stop point.
[0132] Wherein, the first terminal device may be a terminal device whose distance from the first stop point is less than the distance threshold, and the second terminal device may be a terminal device whose distance from the second stop point is less than the distance threshold.
[0133] It should be noted that the above-mentioned first stop point being located before the second stop point means that the time when the optical transmitting device arrives at the first stop point is before the time when the optical transmitting device arrives at the second stop point.
[0134] When the optical transmitting device sends an optical signal to the first optical receiving device at the first stop point, it may obtain the coordinates of the first stop point, and determine whether the first stop point is the last position on the preset route according to the coordinates of the first stop point and the coordinates of the last position on the preset route.
[0135] In the case where the first stop point is the last position on the preset route, the optical transmitting device may stop working and return to the preset location to wait for the next OTA upgrade when the duration of the optical signal sent by itself at the first stop point is greater than the duration threshold, or when the optical transmitting device receives a feedback signal sent by the terminal device connected to the first optical receiving device.
[0136] In the case where the first stop point is not the last position on the preset route, the optical transmitting device may travel along the preset route to move from the first stop point to the second stop point and send an optical signal to at least one second terminal device at the second stop point when the duration of the optical signal sent by itself at the first stop point is greater than the duration threshold, or when the optical transmitting device receives a feedback signal sent by the terminal device connected to the first optical receiving device.
[0137] Wherein, the feedback signal sent by the terminal device connected to the first optical receiving device is sent to the optical transmitting device after the terminal device completes the OTA upgrade using the target data. Therefore, the feedback signal of each terminal device is used to represent that the terminal device has completed the OTA upgrade using the target data.
[0138] The embodiments of the present application do not limit the manner in which the terminal device sends a feedback signal to the optical transmission device. For example, the terminal device can send a feedback signal to the optical transmission device via Bluetooth, or can also send a feedback signal to the optical transmission device via wireless fidelity (WIFI).
[0139] The embodiments of the present application do not limit the duration threshold. For example, the duration threshold can be 5 minutes or 2 minutes.
[0140] Exemplarily, assume that there are three stopping points on the preset route, namely stopping point A, stopping point B, and stopping point C. Stopping point A is before stopping point B, stopping point B is before stopping point C, and stopping point C is the last position. The distance threshold is 5 meters, the duration threshold is 2 minutes, and the terminal devices with a distance less than the distance threshold from stopping point A include vehicle a and vehicle b. The terminal devices with a distance less than the distance threshold from stopping point B include vehicle c and vehicle d. The terminal devices with a distance less than the distance threshold from stopping point C include vehicle e and vehicle f.
[0141] On this basis, at stopping point A, the optical transmission device can send optical signals to vehicle a and vehicle b, and when the duration of the optical transmission device sending optical signals at stopping point A exceeds 2 minutes, and / or when receiving the feedback signals of vehicle a and vehicle b, the optical transmission device travels along the preset route, moves from stopping point A to stopping point B, and sends optical signals to vehicle c and vehicle d. When the duration of the optical transmission device sending optical signals at stopping point B exceeds 2 minutes, and / or when receiving the feedback signals of vehicle c and vehicle d, the optical transmission device travels along the preset route, moves from stopping point B to stopping point C, and sends optical signals to vehicle e and vehicle f. When the duration of the optical transmission device sending optical signals at stopping point C exceeds 2 minutes, and / or when receiving the feedback signals of vehicle e and vehicle f, the optical transmission device travels along the preset route, moves from stopping point C to a preset location to wait for the next data transmission task.
[0142] As can be seen from the above technical solution, in the embodiment of the present application, when performing OTA upgrade, the optical transmission device can transmit target data to multiple terminal devices through an optical signal, so that each terminal device can use the target data for OTA upgrade. The optical signal has the advantages of high speed and large capacity when transmitting data, and does not depend on the network signal. Therefore, through this method, the total time for OTA upgrade of finished vehicles can be effectively reduced. In addition, the optical transmission device can travel along a preset route and send the optical signal to at least one terminal device at each stop point of the preset route. Thus, when the number of terminal devices that need to perform OTA upgrade is too large, the OTA upgrade of a huge number of terminal devices can be automatically completed without the management of staff, so as to further reduce the total time for OTA upgrade of finished vehicles and save human resources.
[0143] In an alternative embodiment, during the process of the optical transmission device traveling from the first stop point to the second stop point along the preset route, the light source of the optical transmission device can be turned off. That is, the above-mentioned situation where the optical transmission device travels along the preset route and moves from the first stop point to the second stop point under the condition of meeting the preset conditions can be replaced by: under the condition of meeting the preset conditions, the optical transmission device turns off the light source and travels along the preset route, moving from the first stop point to the second stop point.
[0144] Turning off the light source during the process of the above-mentioned optical transmission device traveling from one stop point to the next stop point can save the energy consumption of the optical transmission device.
[0145] In an alternative embodiment, the optical receiving device can be a plug-in optical receiving device or a mounted optical receiving device. Specifically, when the optical receiving device is a plug-in optical receiving device, the optical receiving device can be connected to a terminal device through a USB interface; or, when the optical receiving device is a mounted optical receiving device, the optical receiving device can be connected to a terminal device through a communication cable.
[0146] The plug-in optical receiving device integrated on the terminal device through the USB interface can be recycled and reused after the terminal device completes the OTA upgrade. The mounted optical receiving device integrated on the terminal device through the communication cable can be fixed on the terminal device for subsequent optical communication.
[0147] It should be noted that the optical receiving device can be integrated at any position of the terminal device to receive the optical signal emitted by the optical transmission device. For example, when the terminal device is a car machine device that needs to perform OTA upgrade, the optical receiving device can be installed at any position of the vehicle, such as around the front windshield, the engine hood, and the intake grille.
[0148] In an alternative embodiment, on the basis that the optical receiving device includes a photodetector, a lens may further be included, and the lens is coupled to the photodetector of the optical receiving device. On this basis, after the optical receiving device receives the optical signal carrying the target data from the optical transmitting device, the lens may further focus the light wave emitted by the optical transmitting device to obtain a focused light wave. Then, the optical receiving device may obtain the optical signal from the focused light wave through the photodetector.
[0149] It should be noted that in the case where the optical receiving device includes a photodetector and a lens, the embodiment of the present application does not limit the style of the optical receiving device. For example, when the optical receiving device is integrated on the terminal device through the USB interface 302, the optical receiving device may be implemented as Figure 3 a style similar to a USB flash drive as shown, such as Figure 3 shown, the lens 301 may focus the light wave emitted by the optical transmitting device to obtain a focused light wave, and send the aggregated light wave to the photodetector ( Figure 3 not shown in the figure), and the photodetector may modulate the aggregated light wave to obtain an optical signal.
[0150] Through the above technical solution, the angle of the light wave emitted by the optical transmitting device can be adjusted through the lens to achieve focusing of the light wave, and the focused light wave is more easily detected by the photodetector. Therefore, the detection efficiency of the photodetector for the optical signal can be effectively improved.
[0151] In an alternative embodiment, on the basis that the optical receiving device includes a photodetector, a fluorescent antenna may further be included, and the fluorescent antenna is coupled to the photodetector. On this basis, the optical receiving device may receive the optical signal through the fluorescent antenna and send the received optical signal to the photodetector.
[0152] Such as Figure 4 shown, after the optical transmitting device sends a light wave through its own light source at each stopping point on the preset route, for each optical receiving device, the optical receiving device may receive the light wave through its own fluorescent antenna 401 and send the received light wave to the photodetector 403 through the coupling port 402. After detecting the light wave, the photodetector 403 may modulate the light wave to obtain an optical signal.
[0153] The embodiment of the present application does not limit the length of the fluorescent antenna. The longer the length of the fluorescent antenna, the larger the detection range of the light wave, and the optical signal sent by the optical transmitting device is more easily detected. Therefore, when conditions permit, the length of the fluorescent antenna can be increased as much as possible.
[0154] It should be noted that in the case where the optical receiving device includes a photodetector and a fluorescent antenna, the embodiments of the present application do not limit the position of the optical receiving device. The fluorescent antenna can be cut into different lengths to be flexibly placed in devices of different sizes (such as vehicle lights). For example, when the optical receiving device is integrated on the terminal device through a communication cable, Figure 4 the optical receiving device shown can be integrated in Figure 5 the interior of the vehicle light shown, where 501 is the vehicle light housing, 502 is the vehicle light mounting bracket, 503 is the connection cable, 504 is the turn signal, 505 is the high beam, 506 is the low beam, and 507 is the mounting buckle.
[0155] Through the above technical solution, the detection range of the optical signal can be increased by increasing the length of the fluorescent antenna, making the optical signal sent by the optical transmitting device easier to be detected. Therefore, the detection efficiency of the photodetector for the optical signal can be effectively improved.
[0156] In an alternative embodiment, the optical signal can be visible light.
[0157] Visible light can be observed by the naked eye, so that during the process of transmitting target data through the optical signal, relevant staff can confirm the signal coverage area of the optical signal through the visible light, which can not only avoid the phenomenon of missed transmission, but also effectively prevent information leakage and ensure the security of the target data during the transmission process.
[0158] In an alternative embodiment, the optical signal can be a laser.
[0159] The laser has the advantage of high transmission rate. For example, the downstream transmission rate of the laser can reach about 5 Gbps. Therefore, when the data volume of the target data reaches 10 GB, the transmission of the target data can be completed within 1 minute through the laser. Therefore, using the laser as the light wave of the optical signal can further increase the transmission rate of the target data, and further reduce the total duration of OTA upgrade for the finished vehicle.
[0160] The following takes the terminal device as the in-vehicle device, the optical transmitting device as the AGV, and the coverage range of the optical signal sent by a single AGV at each stop on the preset route as 4 as an example to introduce the OTA upgrade method provided by the embodiments of the present application. This method is implemented through the interaction of the AGV, the optical receiving device integrated on the in-vehicle device, and the in-vehicle device, as Figure 6 shown, and the method includes:
[0161] S601, the AGV generates an optical signal carrying the target data.
[0162] For details, reference can be made to the description of S202, which will not be elaborated here.
[0163] S602, the AGV travels to the target stop point according to the preset route, and at the target stop point, it sends optical signals to four optical receiving devices through a light source.
[0164] For details, reference may be made to the description of S202, which will not be elaborated here.
[0165] S603, the optical receiving device converts the optical signal into a digital electrical signal.
[0166] S604, the optical receiving device sends the digital electrical signal to the vehicle-mounted device.
[0167] For details of S603 - S604, reference may be made to the description of S203 - S204, which will not be elaborated here.
[0168] S605, the vehicle-mounted device performs OTA upgrade using the target data.
[0169] S606, after the vehicle-mounted device completes the OTA upgrade, it sends a feedback signal to the AGV.
[0170] In the embodiments of the present application, the manner in which the vehicle-mounted device sends a feedback signal to the AGV is not limited. For example, the vehicle-mounted device can send a feedback signal to the AGV via Bluetooth, or can also send a feedback signal to the AGV via wireless fidelity (WIFI).
[0171] S607, after the AGV receives the feedback signals from the four vehicle-mounted devices, it determines whether the current stop point is the last stop point in the preset route; if not, it executes S608, if so, it executes S609.
[0172] S608, the AGV takes the next stop point of the current stop point as the target stop point.
[0173] S609, return to the preset location.
[0174] The above mainly introduces the solution provided by the embodiments of the present application from the perspective of methods. To implement the above functions, the OTA upgrade device or electronic device includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that, combining the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0175] Embodiments of the present application can, according to the above method, exemplarily divide the functional modules of an OTA upgrade device or an electronic device. For example, an OTA upgrade device or an electronic device may include various functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, merely a logical functional division, and there may be other division methods in actual implementation.
[0176] Figure 7 It is a structural diagram of an OTA upgrade device provided by an embodiment of the present application. This device is located in an optical transmission device, such as Figure 7 As shown, this device includes: an acquisition unit 701 and a transmission unit 702.
[0177] Among them: The acquisition unit 701 is used to acquire target data.
[0178] The transmission unit 702 is used to send an optical signal carrying the target data to at least one optical receiving device.
[0179] In some embodiments, the transmission unit 702 is specifically used for: traveling along a preset route and sending an optical signal to at least one optical receiving device at each stop point of the preset route.
[0180] In some embodiments, the transmission unit 702 is specifically used for: sending an optical signal to at least one optical receiving device whose distance from the stop point is less than a distance threshold at each stop point of the preset route.
[0181] In some embodiments, the preset route includes a first stop point and a second stop point, and the first stop point is located before the second stop point. On this basis, the transmission unit 702 is specifically used for: sending an optical signal to at least one first optical receiving device at the first stop point; traveling from the first stop point to the second stop point along the preset route under the condition of meeting the preset condition; sending an optical signal to at least one second optical receiving device at the second stop point.
[0182] In some embodiments, the preset condition may include at least one of the following:
[0183] The duration of the optical transmission device sending an optical signal at the first stop point is greater than a duration threshold.
[0184] The optical transmission device receives feedback signals from terminal devices connected to each first optical receiving device; the feedback signal of each terminal device is used to indicate that the terminal device has completed OTA upgrade using the target data.
[0185] In some embodiments, the device further includes a shutdown unit, which is specifically configured to: during the process that the optical transmission device travels from the first stopping point to the second stopping point according to a preset route, shut down the light source of the optical transmission device.
[0186] In some embodiments, the optical signal is visible light or laser light.
[0187] In some embodiments, the light source of the optical transmission device includes at least one of a focusing lamp and a scattering lamp.
[0188] Figure 8 The figure is a structural diagram of an OTA upgrade device provided by an embodiment of the present application. The device is located in an optical receiving device, such as Figure 8 As shown, the device includes: a receiving unit 801 and a transmitting unit 802.
[0189] Among them: The receiving unit 801 is configured to receive an optical signal carrying target data.
[0190] The transmitting unit 802 is configured to send the target data to a terminal device connected to the optical receiving device.
[0191] In some embodiments, the device further includes a conversion unit, which is specifically configured to: convert the optical signal into an analog electrical signal, and convert the analog electrical signal into a digital electrical signal. Correspondingly, the transmitting unit 802 is specifically configured to send the digital electrical signal to a terminal device connected to the optical receiving device.
[0192] In some embodiments, the optical receiving device is a pluggable optical receiving device, and the pluggable optical receiving device is connected to a terminal device through a universal USB interface; or, the optical receiving device is a mounted optical receiving device, and the mounted optical receiving device is connected to a terminal device through a communication cable.
[0193] In some embodiments, the device further includes a focusing unit, which is configured to: focus the light wave emitted by the optical transmission device through a lens to obtain a focused light wave. Correspondingly, the receiving unit 801 is specifically configured to: obtain an optical signal from the focused light wave through a photodetector.
[0194] In some embodiments, the optical receiving device includes a photodetector and a fluorescent antenna, and the fluorescent antenna is coupled to the photodetector. The receiving unit 801 is specifically configured to: receive the optical signal through the fluorescent antenna and send the optical signal to the photodetector.
[0195] In some embodiments, the terminal device connected to the optical receiving device is a car machine device, and the optical receiving device is located on the front side of the vehicle equipped with the car machine device, or, the optical receiving device is located inside the vehicle lamp of the vehicle equipped with the car machine device.
[0196] Figure 9The structural diagram of an OTA upgrade device provided by an embodiment of the present application. The device is located in a terminal device, such as Figure 9 As shown, the device includes: a receiving unit 901 and an upgrade unit 902.
[0197] Among them: the above-mentioned receiving unit 801 is used to receive target data. The above-mentioned upgrade unit 802 is used to perform OTA upgrade using the target data.
[0198] In some embodiments, the terminal device is a vehicle-mounted device.
[0199] In some embodiments, the device further includes a sending unit, and the sending unit is used to: after completing the OTA upgrade using the target data, send a feedback signal to the optical sending device.
[0200] In the OTA upgrade device provided by the embodiment of the present application, the optical sending device can transmit target data to the terminal device through an optical signal, so that the terminal device performs OTA upgrade using the target data. The optical signal has advantages such as high speed and large capacity when transmitting data, and does not depend on the network signal. Therefore, the total time for OTA upgrade of finished vehicles can be effectively reduced by this method.
[0201] In addition, the optical sending device can travel along a preset route and send the optical signal at each stopping point on the preset route. Thus, when the number of terminal devices that need to perform OTA upgrade is too large, the OTA upgrade of a huge number of terminal devices can be automatically completed to further reduce the total time for OTA upgrade of finished vehicles.
[0202] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0203] Figure 10 The structural diagram of an electronic device provided by an embodiment of the present application. As Figure 10 shown, the electronic device 1000 includes but is not limited to: a processor 1001 and a memory 1002.
[0204] Among them, the above-mentioned memory 1002 is used to store the executable instructions of the above-mentioned processor 1001. It can be understood that the above-mentioned processor 1001 is configured to execute instructions to implement the OTA upgrade method in the above embodiments.
[0205] It should be noted that those skilled in the art can understand that Figure 10 the structure of the electronic device shown in Figure 10 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than
[0206] The processor 1001 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 1002, and by calling the data stored in the memory 1002, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1001 may include one or more processing units. Optionally, the processor 1001 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1001 either.
[0207] The memory 1002 can be used to store software programs and various data. The memory 1002 mainly includes a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0208] In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as the memory 1002 including instructions. The above instructions can be executed by the processor 1001 of the electronic device 1000 to implement the OTA upgrade method in the above embodiment.
[0209] In actual implementation, Figure 7 the steps executed by the acquisition unit 701 and the sending unit 702 in Figure 10 can all be implemented by the processor 1001 in Figure 8 calling the computer program stored in the memory 1002, Figure 10 the steps executed by the receiving unit 801 and the sending unit 802 in Figure 9 can also be implemented by the processor 1001 in Figure 10 calling the computer program stored in the memory 1002, and Figure 9 the steps executed by the receiving unit 901 and the upgrade unit 902 in Figure 10 can also be implemented by the processor 1001 in Figure 10 calling the computer program stored in the memory 1002. The specific execution process can refer to the description of the method part in the above embodiment, and will not be elaborated here.
[0210] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0211] In an exemplary embodiment, the embodiments of the present application further provide a computer program product including one or more instructions, and the one or more instructions can be executed by a processor 1001 of an electronic device to complete the OTA upgrade method in the above embodiments.
[0212] It should be noted that when the instructions in the above computer-readable storage medium or the one or more instructions in the computer program product are executed by the processor of the electronic device, each process of the method embodiment above is implemented, and the same technical effects as the above method can be achieved. To avoid repetition, it will not be elaborated here.
[0213] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0214] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the device or unit may be in an electrical, mechanical or other form.
[0215] The unit described as a separated component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0216] In addition, in each embodiment of the present application, each functional unit may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0217] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a device (which may be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0218] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An optical transmission device, characterized in that, The optical transmission device includes a light source; The light source is configured to send an optical signal carrying target data to at least one optical reception device; the target data is used for over-the-air (OTA) upgrade of a terminal device.
2. The device according to claim 1, characterized in that The optical transmission device further includes a driving device; the driving device is configured to generate the optical signal.
3. The device according to claim 1, characterized in that, The light source is configured to move along a preset route, the preset route includes a plurality of stopping points, and the light source is configured to send the optical signal to at least one of the optical reception devices at each of the stopping points.
4. The device according to claim 3, characterized in that, The light source sends the optical signal to at least one of the optical reception devices whose distance from the stopping point is less than a distance threshold at each of the stopping points.
5. The device according to claim 3, characterized in that, The preset route includes a first stopping point and a second stopping point; the first stopping point is located before the second stopping point; The light source is configured to send the optical signal to at least one first optical reception device at the first stopping point, and is configured to send the optical signal to at least one second optical reception device at the second stopping point, and the light source is configured to travel from the first stopping point to the second stopping point along the preset route when a preset condition is satisfied.
6. The device according to claim 5, characterized in that The preset condition includes at least one of the following: The duration for which the optical transmission device sends the optical signal at the first stopping point is greater than a duration threshold; The optical transmission device receives feedback signals from terminal devices connected to each of the first optical reception devices; the feedback signal of each terminal device is used to indicate that the terminal device has completed OTA upgrade using the target data.
7. The device according to claim 5, characterized in that, During the process in which the optical transmission device moves from the first stopping point to the second stopping point along the preset route, the light source is in an off state.
8. The device according to any one of claims 1-7, characterized in that, The optical transmission device further includes a moving device; the moving device is connected to the light source and can drive the light source to move; the moving device is configured to travel along the preset route.
9. The device according to any one of claims 1-7, characterized in that, The optical signal is visible light or laser light.
10. The device according to any one of claims 1 - 7, characterized in that, The light source includes at least one of a focusing lamp and a scattering lamp.
11. An optical receiving device, characterized in that, The optical reception device includes a photodetector and a communicator; The photodetector is configured to receive an optical signal carrying target data; the target data is used for over-the-air (OTA) upgrade of a terminal device; The communicator is configured to send the target data to a terminal device connected to the optical reception device.
12. The device according to claim 11, wherein, The optical reception device further includes a digital converter; The photodetector is further configured to convert the optical signal into an analog electrical signal; The digital converter is configured to convert the analog electrical signal into a digital electrical signal; The communicator is configured to send the digital electrical signal to a terminal device connected to the optical reception device.
13. The device according to claim 11, characterized in that, The optical reception device is a pluggable optical reception device, and the pluggable optical reception device is connected to a terminal device through a universal serial bus (USB) interface; or, The optical reception device is a mounted optical reception device, and the mounted optical reception device is connected to a terminal device through a communication cable.
14. The device according to claim 11, characterized in that, The optical reception device further includes a lens; the lens is coupled to the photodetector; The lens is configured to focus the light wave emitted by the optical transmission device to obtain a focused light wave; The photodetector is configured to obtain the optical signal from the focused light wave.
15. The device according to claim 11, characterized in that, The optical receiving device further includes a fluorescent antenna; the fluorescent antenna is coupled to the photodetector; The fluorescent antenna is configured to receive the optical signal and transmit the optical signal to the photodetector.
16. The device according to claim 11, characterized in that, The terminal device connected to the optical receiving device is a vehicle head unit device. The optical receiving device is located on the front side of the vehicle equipped with the vehicle head unit device, or the optical receiving device is located inside the vehicle lamp of the vehicle equipped with the vehicle head unit device.
17. A terminal device, characterized in that, The terminal device includes a communicator and a processor; The communicator is configured to receive target data; the target data is used for over-the-air (OTA) upgrade of the terminal device; The processor is configured to perform OTA upgrade using the target data.
18. The device according to claim 17, wherein, The terminal device is a vehicle head unit device.
19. The device according to claim 17, characterized in that, The processor is further configured to generate a feedback signal after completing the OTA upgrade using the target data; The communicator is further configured to send the feedback signal to the optical transmitting device.
20. An OTA upgrade method, characterized in that, Applied to an optical transmitting device, the method includes: Obtain target data; the target data is used for over-the-air (OTA) upgrade of a terminal device; Send an optical signal carrying the target data to at least one optical receiving device.
21. The method according to claim 20, wherein The sending an optical signal carrying the target data to at least one optical receiving device includes: Drive along a preset route and send the optical signal to at least one of the optical receiving devices at each stop point on the preset route.
22. The method according to claim 21, wherein The sending the optical signal to at least one of the optical receiving devices at each stop point on the preset route includes: Send the optical signal to at least one of the optical receiving devices whose distance from the stop point is less than a distance threshold at each stop point on the preset route.
23. The method according to claim 21, wherein The preset route includes a first stop point and a second stop point; the first stop point is located before the second stop point; The driving along a preset route and sending the optical signal to at least one of the optical receiving devices at each stop point on the preset route includes: Send the optical signal to at least one first optical receiving device at the first stop point; Drive from the first stop point to the second stop point along the preset route when a preset condition is met; Send the optical signal to at least one second optical receiving device at the second stop point.
24. The method according to claim 23, wherein The preset condition includes at least one of the following: The duration for which the optical transmitting device sends the optical signal at the first stop point is greater than a duration threshold; The optical transmitting device receives feedback signals from terminal devices connected to each of the first optical receiving devices; the feedback signal of each terminal device is used to indicate that the terminal device has completed the OTA upgrade using the target data.
25. The method according to claim 23, wherein The method further includes: Turn off the light source of the optical transmitting device during the process of the optical transmitting device driving from the first stop point to the second stop point along the preset route.
26. The method according to claim 20, wherein The optical signal is visible light or laser light.
27. The method according to claim 20, wherein The light source of the optical transmitting device includes at least one of a focusing lamp and a scattering lamp.
28. An OTA upgrade method, characterized in that, Applied to an optical receiving device, the method includes: Receive an optical signal carrying target data; the target data is used for over-the-air (OTA) upgrade of a terminal device. Send the target data to a terminal device connected to the optical receiving device.
29. The method according to claim 28, wherein Before sending the target data to a terminal device connected to the optical receiving device, it further includes: Convert the optical signal into an analog electrical signal. Convert the analog electrical signal into a digital electrical signal. Sending the target data to a terminal device connected to the optical receiving device includes: Send the digital electrical signal to a terminal device connected to the optical receiving device.
30. The method according to claim 28, characterized in that, The optical receiving device is a pluggable optical receiving device, and the pluggable optical receiving device is connected to a terminal device through a Universal Serial Bus (USB) interface; or, The optical receiving device is a mounted optical receiving device, and the mounted optical receiving device is connected to a terminal device through a communication cable.
31. The method according to claim 28, wherein The optical receiving device includes a photodetector and a lens; the lens is coupled to the photodetector. Before receiving the optical signal carrying target data, it further includes: Focus the light wave emitted by the optical transmitting device through the lens to obtain a focused light wave. Receiving the optical signal carrying target data includes: Obtain the optical signal from the focused light wave through the photodetector.
32. The method according to claim 28, wherein, The optical receiving device includes a photodetector and a fluorescent antenna. The fluorescent antenna is coupled to the photodetector. Receiving the optical signal carrying target data includes: Receive the optical signal through the fluorescent antenna and send the optical signal to the photodetector.
33. The method according to claim 28, wherein The terminal device connected to the optical receiving device is a vehicle head unit device, and the optical receiving device is located on the front side of the vehicle equipped with the vehicle head unit device, or the optical receiving device is located inside the vehicle lamp of the vehicle equipped with the vehicle head unit device.
34. An OTA upgrade method, characterized in that, Applied to a terminal device, the method includes: Receive target data; the target data is used for over-the-air (OTA) upgrade of the terminal device. Perform OTA upgrade using the target data.
35. The method according to claim 34, wherein The terminal device is a vehicle head unit device.
36. The method according to claim 34, characterized in that, The method further includes: After completing the OTA upgrade using the target data, send a feedback signal to the optical transmitting device.
37. An OTA upgrade system, characterized in that, The system includes at least one optical transmitting device as described in any one of claims 1 - 10, at least one optical receiving device as described in any one of claims 11 - 16, and at least one terminal device as described in any one of claims 17 - 19.
38. A computer-readable storage medium storing instructions therein, characterized in that, When a computer executes the instruction, the computer executes the method described in any one of claims 20 to 27 or any one of claims 28 to 33 or any one of claims 34 to 36 above.
39. A computer program product, the computer program product comprising instructions, characterized in that, When the instruction is executed on a computer, the computer executes the method described in any one of claims 20 to 27 or any one of claims 28 to 33 or any one of claims 34 to 36 above.