Vehicle-mounted intelligent glasses control method and device, vehicle, medium and product

By monitoring vehicle status and sending wearing reminders to in-vehicle smart glasses, the system uses lights, vibrations, and voice prompts to remind users to put on or take off the glasses, and calculates the optimal wearing time and duration. This solves the problem of inaccurate wearing time for in-vehicle smart glasses, improving driving safety and user experience.

CN118972786APending Publication Date: 2024-11-15CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042938.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Inaccurate wearing time of in-vehicle smart glasses can cause user fatigue while driving and affect the ability to adapt to external light.

Method used

By monitoring whether a vehicle is about to enter or exit a tunnel, the system sends a reminder to the in-vehicle smart glasses to put on or take off the glasses. It uses lights, vibrations, and voice prompts to remind users to put on or take off the glasses, and calculates the optimal time to put them on to ensure accurate wearing.

Benefits of technology

It improves the reliability and convenience of users wearing in-vehicle smart glasses, alleviates the black hole and white hole effects when entering and exiting tunnels, and reduces the impact on the driver's vision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972786A_ABST
    Figure CN118972786A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of auxiliary driving, and discloses a vehicle-mounted intelligent glasses control method and device, a vehicle, a medium and a product. When it is detected that the vehicle is about to enter the tunnel, wearing prompt information is sent to the vehicle-mounted intelligent glasses, and a user is prompted to wear the vehicle-mounted intelligent glasses; when it is detected that the vehicle is about to drive out of the tunnel, taking-off prompt information is sent to the vehicle-mounted intelligent glasses, and a user is prompted to take off the vehicle-mounted intelligent glasses. According to the invention, the wearing time accuracy of the vehicle-mounted intelligent glasses is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of assisted driving technology, and in particular to a method, device, vehicle, medium and product for controlling vehicle-mounted smart glasses. Background Art

[0002] During driving, the sudden change of the vehicle's external light environment often causes discomfort to the driver, and even affects driving safety. At present, a kind of smart glasses that can automatically adjust the lens color according to the ambient light outside the car window has emerged, which can solve the problem that users cannot adapt to the external ambient light. However, in actual driving, users do not need to wear glasses all the time. Wearing glasses for a long time will not only cause fatigue, but also have a negative impact on the user's ability to adapt to external light. Summary of the invention

[0003] In view of this, the present invention provides a method, device, equipment, medium and product for controlling vehicle-mounted smart glasses to solve the problem of inaccurate wearing time of vehicle-mounted smart glasses.

[0004] In a first aspect, the present invention provides a method for controlling vehicle-mounted smart glasses, the method comprising: detecting whether a vehicle is about to enter or exit a tunnel; when it is detected that the vehicle is about to enter a tunnel, sending a wearing reminder message to the vehicle-mounted smart glasses, prompting a user to wear the vehicle-mounted smart glasses; when it is detected that the vehicle is about to exit a tunnel, sending a taking off reminder message to the vehicle-mounted smart glasses, prompting the user to take off the vehicle-mounted smart glasses.

[0005] According to the above technical means, the present invention determines the drastic changes that will occur in the external ambient light by monitoring whether the vehicle is about to enter a tunnel, thereby sending an activation command to the on-board smart glasses, so that the on-board smart glasses prompt the user to put on the glasses in time through light, vibration, voice, etc., and remind the user to take off the glasses after exiting the tunnel. It can accurately remind the user to wear the on-board smart glasses when they need to, thereby alleviating the black hole effect and white hole effect of the user when entering and exiting the tunnel.

[0006] In an optional implementation, the wearing reminder information includes an optimal wearing time, and the optimal wearing time is used to indicate the optimal time point for the user to wear the vehicle-mounted smart glasses on the eyes.

[0007] In an optional implementation, the wearing reminder information includes an optimal wearing time, and the optimal wearing time is used to indicate the duration for which the user continuously wears the in-vehicle smart glasses.

[0008] According to the above-mentioned technical means, the embodiment of the present invention also ensures that the user wears the glasses before glare occurs by calculating the best wearing moment and the best wearing time, and keeps wearing the glasses until the factors of strong changes in external light are eliminated, so that the user knows the wearing time of the glasses, thereby further improving the reliability and convenience of the user wearing the glasses.

[0009] In an optional embodiment, the step of calculating the optimal wearing moment and the optimal wearing time includes: predicting the wearing action time and the remaining time for exiting the tunnel; calculating the optimal wearing moment based on the moment of receiving the activation instruction and the wearing action time; calculating the optimal wearing time based on the difference between the remaining time for exiting the tunnel and the wearing action time.

[0010] According to the above technical means, a specific calculation logic for the best wearing moment and the best wearing time is provided.

[0011] In an optional implementation, obtaining the wearing action time and the remaining time to exit the tunnel includes: obtaining historical driving data and user behavior data, the historical driving data including at least one of historical tunnel length, historical vehicle position, historical vehicle speed, and historical weather, the user behavior data including the action time from generating wearing prompt information when wearing the in-vehicle smart glasses to the user wearing the in-vehicle smart glasses under historical conditions; inputting the historical driving data into a first pre-trained machine model to predict the remaining time to exit the tunnel; inputting the user behavior data and the historical driving data into a second pre-trained machine model to predict the wearing action time.

[0012] According to the above-mentioned technical means, the method based on big data prediction utilizes historical driving data and user behavior data for training, so that the trained model can predict the remaining time to exit the tunnel and the wearing action time with higher accuracy, thereby significantly improving the accuracy of subsequent calculation of the optimal wearing moment and the optimal wearing time.

[0013] In an optional implementation, the remaining time to exit the tunnel is calculated as follows:

[0014] Tneeded=(LP) / V

[0015] In the formula, Tneeded represents the remaining time to exit the tunnel, L represents the length of the tunnel, P represents the distance from the tunnel entrance to the current position, and V represents the vehicle speed;

[0016] The optimal wearing time is calculated as follows:

[0017] Tbest=max(Tneeded-Tglasses, 0)

[0018] Where Tbest represents the best wearing time, and Tglasses represents the wearing action time.

[0019] According to the above technical means, the present invention provides a solution for calculating the remaining time for a vehicle to exit a tunnel at a uniform speed, and then calculates the optimal wearing time that is guaranteed not to be a negative number based on the remaining time for exiting the tunnel, thereby improving the calculation accuracy of the optimal wearing time at a uniform speed.

[0020] In a second aspect, the present invention provides a vehicle-mounted smart glasses control device, the device comprising: a detection module, used to detect whether a vehicle is about to enter or exit a tunnel; an activation module, used to send a wearing reminder message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to enter the tunnel, prompting the user to wear the vehicle-mounted smart glasses; and a deactivation module, used to send a removal reminder message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to exit the tunnel, prompting the user to take off the vehicle-mounted smart glasses.

[0021] In a third aspect, the present invention provides a vehicle, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0022] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0023] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0024] The technical solution provided by the present invention has the following advantages:

[0025] (1) According to the above technical means, the present invention determines whether the vehicle is about to enter a tunnel and whether the external ambient light is about to change drastically, thereby sending an activation command to the vehicle-mounted smart glasses, so that the vehicle-mounted smart glasses prompt the user to put on the glasses in time through light, vibration, voice, etc., and remind the user to take off the glasses after exiting the tunnel. The vehicle-mounted smart glasses can accurately remind the user to wear them when they need to, thereby alleviating the black hole effect and white hole effect of the user when entering and exiting the tunnel.

[0026] (2) According to the above technical means, the embodiment of the present invention also ensures that the user wears the glasses before glare occurs by calculating the best wearing moment and the best wearing time, and keeps wearing the glasses until the factors of strong changes in external light are eliminated, so that the user knows the wearing time of the glasses, thereby further improving the reliability and convenience of the user wearing the glasses.

[0027] (3) Based on the above technical means, a specific calculation logic for the best wearing moment and the best wearing time is provided.

[0028] (4) According to the above technical means, the method based on big data prediction is trained using historical driving data and user behavior data, so that the trained model can predict the remaining time to exit the tunnel and the wearing action time with higher accuracy, thereby significantly improving the accuracy of subsequent calculations of the optimal wearing moment and the optimal wearing time.

[0029] (5) Based on the above technical means, the present invention provides a solution for calculating the remaining time for a vehicle to exit a tunnel at a uniform speed, and then calculates the optimal wearing time that is guaranteed not to be a negative number based on the remaining time for exiting the tunnel, thereby improving the calculation accuracy of the optimal wearing time at a uniform speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 is a flow chart of a method for controlling vehicle-mounted smart glasses according to an embodiment of the present invention;

[0032] Figure 2 is another flow chart of a method for controlling vehicle-mounted smart glasses according to an embodiment of the present invention;

[0033] Figure 3 is a structural schematic diagram of a vehicle-mounted smart glasses control device according to an embodiment of the present invention;

[0034] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0036] According to an embodiment of the present invention, an embodiment of a method for controlling vehicle-mounted smart glasses is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] In this embodiment, a vehicle-mounted smart glasses control method is provided for a vehicle. Figure 1 1 is a flow chart of a method for controlling vehicle-mounted smart glasses according to an embodiment of the present invention, and the flow chart includes the following steps:

[0038] Step S101, detecting whether the vehicle is about to enter or exit a tunnel;

[0039] Step S102, when it is detected that the vehicle is about to enter a tunnel, sending a wearing reminder message to the vehicle-mounted smart glasses to prompt the user to wear the vehicle-mounted smart glasses;

[0040] Step S103, when it is detected that the vehicle is about to exit the tunnel, a take-off prompt message is sent to the vehicle-mounted smart glasses, prompting the user to take off the vehicle-mounted smart glasses. Specifically, the present invention provides a tunnel light adaptability assistance system in which the vehicle-mounted smart glasses are linked with the vehicle-mounted navigation system. The system can push information prompting the driver to wear smart glasses through the vehicle central control unit when the vehicle is about to enter or leave the tunnel, ensuring that the driver can immediately obtain the best time to wear glasses when entering and exiting the tunnel, thereby reducing the impact of the light environment on the driver's vision.

[0041] In an embodiment of the present invention, the vehicle at least includes an on-board navigation system and a vehicle central control unit. The on-board navigation system has high-precision map data, real-time positioning function and route planning capability, and is used to obtain vehicle driving route information and detect in real time whether the vehicle is about to enter or leave a tunnel; the central control unit is used to receive information from the on-board navigation system, determine the vehicle status, and send corresponding instructions to the smart glasses; the smart glasses communicate with the vehicle central control unit through a PIN port, USB port, Bluetooth, etc. (only as an example, not limited to this), and are used to receive instructions from the central control unit and respond.

[0042] Thus, when the vehicle navigation system detects that the vehicle is about to enter the tunnel, the central control unit sends a command to the vehicle smart glasses, causing the vehicle smart glasses to issue a wearing reminder message. In some optional embodiments, the vehicle smart glasses include a prompt light and / or a vibration motor, and the prompt light can be optionally a breathing light. The vehicle smart glasses generate wearing reminder messages by activating light or vibration prompts to prompt the driver to wear glasses. At the same time, in some optional embodiments, the central control unit can also play wearing reminder messages through the vehicle system, such as pushing pop-up prompts through the vehicle central control display system, playing voice prompts through the vehicle audio system, etc., so as to further remind the driver to pay attention to light changes. When the vehicle navigation system detects that the vehicle leaves the tunnel, the central control unit also sends a command to the smart glasses, causing the smart glasses to emit an activation light, prompting the driver to take off the glasses.

[0043] The smart glasses have a light adaptive adjustment function, which can automatically adjust the lens transmittance according to the external ambient light, further improving the driving safety of the driver at the entrance and exit of the tunnel. The specific lens transmittance adjustment technology is a prior art and will not be described in detail in the embodiments of the present invention.

[0044] According to the above technical means, the present invention determines the strong changes that will occur in the external environment light by monitoring whether the vehicle is about to enter the tunnel, and then sends an activation command to the vehicle-mounted smart glasses, so that the vehicle-mounted smart glasses remind the user to wear glasses in time through lights, vibrations, voices, etc., and remind the user to take off the glasses after exiting the tunnel. It can accurately remind the user to wear the vehicle-mounted smart glasses at the necessary time, alleviate the black hole effect and white hole effect when the user enters and exits the tunnel, and solve the problem of inaccurate wearing time of the vehicle-mounted smart glasses. In addition, the embodiment of the present invention reminds the user to wear the vehicle-mounted smart glasses from multiple angles, which significantly improves the reliability and accuracy of the reminder information.

[0045] In some optional embodiments, the wearing reminder information includes the best wearing time and the best wearing time. The best wearing time is used to indicate the best time point for the user to wear the vehicle-mounted smart glasses on the eyes, and the best wearing time is used to indicate the duration for which the user continuously wears the vehicle-mounted smart glasses.

[0046] Specifically, Figure 2As shown, the wearing reminder information broadcast by smart glasses, displayed on the vehicle screen or played by the vehicle voice also calculates the best wearing time and the best wearing time, so as to further remind the user before which specific time to wear the glasses to ensure that the glare is avoided, and inform the user of the estimated time after wearing the glasses before taking them off. For example, the wearing reminder information informs the user "Please wear the in-vehicle smart glasses on your eyes within 10 seconds or before 12:01". In this way, the accuracy, reliability and convenience of the prompt information are further improved, and the user's fatigue caused by wearing glasses for a long time is avoided.

[0047] In some optional implementations, the step of calculating the optimal wearing time includes:

[0048] Step a1, predicting the wearing action time;

[0049] Step a2, calculating the best wearing time based on the time of receiving the wearing reminder information and the wearing action time.

[0050] In some optional implementations, the step of calculating the optimal wearing time includes:

[0051] Step a3, predicting the wearing action time and the remaining time to exit the tunnel;

[0052] Step a4, calculating the optimal wearing time based on the difference between the remaining time to exit the tunnel and the wearing action time.

[0053] Specifically, the embodiment of the present invention first predicts the wearing action time according to the driver's habits or predefined fixed values, where the wearing action time represents the length of time from when the vehicle-mounted smart glasses send out a wearing prompt message to when the user correctly wears the vehicle-mounted smart glasses on the eyes. After the wearing action time is extended in combination with the moment when the activation instruction is received, the best wearing time for the user to wear the vehicle-mounted smart glasses is accurately predicted, thereby ensuring the reliability and accuracy of the user's anti-glare.

[0054] At the same time, the embodiment of the present invention predicts the remaining time for exiting the tunnel from the current moment to the vehicle exiting the tunnel according to the length of the tunnel, with the purpose of providing the best situation for the driver from wearing glasses until the vehicle exits the tunnel and then taking off the glasses. The calculated time difference between the remaining time for exiting the tunnel and the wearing action time is used, that is, after the in-vehicle smart glasses are worn on the eyes, an actual remaining time difference to exiting the tunnel is calculated, and the user is informed of the time when it is appropriate to take off the glasses according to the calculated remaining time difference, thereby further improving the accuracy of the prompt for using the in-vehicle smart glasses.

[0055] In some optional implementations, embodiments of the present invention predict the optimal wearing moment and the optimal wearing time through the technical means of a big data model. Since the optimal wearing moment and the optimal wearing time are calculated by the wearing action time and the remaining time for exiting the tunnel, the parameters actually calculated by the big data model are the wearing action time and the remaining time for exiting the tunnel.

[0056] Specifically, in the embodiment of the present invention, the specific steps of predicting the wearing action time and the remaining time to exit the tunnel include:

[0057] Step b1, obtaining historical driving data and user behavior data, the historical driving data including at least one of historical tunnel length, historical vehicle position, historical vehicle speed, and historical weather, and the user behavior data including the action time from generating wearing reminder information when wearing the in-vehicle smart glasses to the user wearing the in-vehicle smart glasses under historical conditions;

[0058] Step b2, inputting historical driving data into the first pre-trained machine model to predict the remaining time to exit the tunnel;

[0059] Step b3: input the user behavior data and historical driving data into the second pre-trained machine model to predict the wearing action time.

[0060] Specifically, the embodiment of the present invention uses data such as historical tunnel length, historical vehicle position, historical vehicle speed, and historical weather as training samples, and uses the remaining time to exit the tunnel under the driving scenario corresponding to each training sample as a training label, and generates a first pre-trained machine model through training using learning algorithms such as neural networks and vector machines, thereby comprehensively considering various factors of driving conditions, fully considering the impact of braking, turning, and obstacles that may occur during the user's driving of the vehicle on the vehicle speed, and then predicting the remaining time for the current user to exit the tunnel in the current tunnel, thereby significantly improving the accuracy of the remaining time to exit the tunnel.

[0061] Similarly, the embodiment of the present invention also combines user behavior data, fully considers the interference of different tunnels, different weather, different vehicle speeds and other conditions on user actions, and calculates the action time of the user wearing the smart glasses under different tunnels, different weather, different vehicle speeds and other conditions, and then trains the second pre-trained machine model. The second pre-trained machine model predicts the user's future action time of wearing the glasses before the user puts on the glasses, so as to calculate the corresponding optimal wearing moment and optimal wearing time according to the predicted wearing action time, which can significantly improve the calculation accuracy.

[0062] In addition, in some optional implementations, the remaining time to exit the tunnel is calculated as follows:

[0063] Tneeded=(LP) / V

[0064] In the formula, Tneeded represents the remaining time to exit the tunnel, L represents the length of the tunnel, P represents the distance from the tunnel entrance to the current position, and V represents the vehicle speed;

[0065] The optimal wearing time is calculated as follows:

[0066] Tbest=max(Tneeded-Tglasses, 0)

[0067] Where Tbest represents the best wearing time, and Tglasses represents the wearing action time.

[0068] Specifically, when the vehicle is traveling at a constant speed, considering that external interference is relatively small, in order to further improve the prediction speed in this special scenario, the present invention also provides a solution for calculating the remaining time of the vehicle to exit the tunnel at a constant speed, and the remaining time of exiting the tunnel is calculated by the time calculation formula Tneeded = (LP) / V. Furthermore, considering that the moment of prompting the user to wear glasses may also occur when the user is about to exit the tunnel, when calculating the best wearing time based on the difference between the remaining time of exiting the tunnel and the wearing action time, ensure that the calculation result is not a negative number, and correct the final calculation result with Tbest = max (Tneeded-Tglasses, 0). If the calculation result is negative, the best wearing time is taken as 0, which improves the calculation accuracy of the best wearing time at a constant speed.

[0069] In this embodiment, a vehicle-mounted smart glasses control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0070] This embodiment provides a vehicle-mounted smart glasses control device, such as Figure 3 As shown, including:

[0071] A detection module 301 is used to detect whether a vehicle is about to enter or exit a tunnel;

[0072] The activation module 302 is used to send a wearing reminder message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to enter the tunnel, prompting the user to wear the vehicle-mounted smart glasses;

[0073] The deactivation module 303 is used to send a take-off prompt message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to exit the tunnel, prompting the user to take off the vehicle-mounted smart glasses. In some optional implementations, the wearing prompt message includes an optimal wearing moment and an optimal wearing time. The optimal wearing moment is used to indicate the optimal time point for the user to wear the vehicle-mounted smart glasses to the eyes, and the optimal wearing time is used to indicate the duration of the user's continuous wearing of the vehicle-mounted smart glasses.

[0074] In some optional implementations, the activation module 302 further includes:

[0075] A first prediction unit, used for predicting the wearing action time;

[0076] The second prediction unit is used to predict the wearing action time and the remaining time to exit the tunnel;

[0077] An optimal wearing time calculation unit, used to calculate the optimal wearing time based on the activation instruction receiving time and the wearing action time;

[0078] The optimal wearing time calculation unit is used to calculate the optimal wearing time based on the difference between the remaining time for exiting the tunnel and the wearing action time.

[0079] In some optional implementations, the second prediction unit includes:

[0080] A data acquisition unit, used to acquire historical driving data and user behavior data, the historical driving data including at least one of historical tunnel length, historical vehicle position, historical vehicle speed, and historical weather, and the user behavior data including the action time from generating wearing prompt information when wearing the in-vehicle smart glasses to the user wearing the in-vehicle smart glasses under historical conditions;

[0081] A first prediction subunit is used to input historical driving data into a first pre-trained machine model to predict the remaining time to exit the tunnel;

[0082] The second prediction subunit is used to input the user behavior data and historical driving data into the second pre-trained machine model to predict the wearing action time.

[0083] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0084] The vehicle-mounted smart glasses control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0085] The embodiment of the present invention further provides a vehicle having the above Figure 3 The in-vehicle smart glasses control device shown.

[0086] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a vehicle provided by an optional embodiment of the present invention, such as Figure 4 As shown, the vehicle includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the vehicle, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple vehicles can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.

[0087] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0088] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0089] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the vehicle, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0090] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0091] The vehicle further includes a communication interface 30 for the vehicle to communicate with other devices or a communication network.

[0092] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0093] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0094] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for controlling vehicle-mounted smart glasses, characterized in that: The method comprises: Detecting whether a vehicle is about to enter or exit a tunnel; When it is detected that the vehicle is about to enter a tunnel, a wearing reminder message is sent to the vehicle-mounted smart glasses to remind the user to wear the vehicle-mounted smart glasses; When it is detected that the vehicle is about to exit the tunnel, a take-off prompting message is sent to the vehicle-mounted smart glasses to prompt the user to take off the vehicle-mounted smart glasses.

2. The method according to claim 1, characterized in that The wearing prompt information includes an optimal wearing time, and the optimal wearing time is used to indicate the optimal time point for the user to wear the vehicle-mounted smart glasses on the eyes.

3. The method according to claim 2, characterized in that The calculation method of the optimal wearing time includes: Predict wearing action time; The optimal wearing time is calculated based on the time when the wearing reminder information is received and the wearing action time.

4. The method according to any one of claims 1 to 3, characterized in that: The wearing reminder information includes an optimal wearing time, and the optimal wearing time is used to indicate the duration for which the user continuously wears the vehicle-mounted smart glasses.

5. The method according to claim 4, characterized in that The calculation method of the optimal wearing time includes: Predict the wearing action time and the remaining time to exit the tunnel; The optimal wearing time is calculated based on the difference between the remaining time for exiting the tunnel and the wearing action time.

6. The method according to claim 5, characterized in that The remaining time to exit the tunnel is calculated as follows: Tneeded=(LP) / V Wherein, Tneeded represents the remaining time to exit the tunnel, L represents the length of the tunnel, P represents the distance from the tunnel entrance to the current position, and V represents the vehicle speed; The optimal wearing time is calculated as follows: Tbest=max(Tneeded-Tglasses, 0) Wherein, Tbest represents the best wearing time, and Tglasses represents the wearing action time.

7. The method according to claim 5, characterized in that The predicted wearing action time and remaining time to exit the tunnel include: Acquire historical driving data and user behavior data, wherein the historical driving data includes at least one of historical tunnel length, historical vehicle position, historical vehicle speed, and historical weather, and the user behavior data includes the action time from when the vehicle-mounted smart glasses generate wearing prompt information to when the user wears the vehicle-mounted smart glasses under historical conditions; Inputting the historical driving data into a first pre-trained machine model to predict the remaining time to exit the tunnel; The user behavior data and the historical driving data are input into a second pre-trained machine model to predict the wearing action time.

8. A vehicle-mounted smart glasses control device, characterized in that: The device comprises: A detection module for detecting whether a vehicle is about to enter or exit a tunnel; An activation module, configured to send a wearing reminder message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to enter a tunnel, prompting the user to wear the vehicle-mounted smart glasses; The deactivation module is used to send a take-off prompt message to the vehicle-mounted smart glasses when it is detected that the vehicle is about to exit the tunnel, prompting the user to take off the vehicle-mounted smart glasses.

9. A vehicle, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.

11. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 7.