Vehicle control method and vehicle
By obtaining the preset time and vehicle control strategy set by the user, and automatically controlling the vehicle equipment after detecting a specific event, the problem of low intelligence in existing vehicles is solved and higher intelligence and user experience is achieved.
Patent Information
- Application Number
- CN202111474441.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-12-03
AI Technical Summary
The existing vehicles are low in intelligence and cannot meet users' needs for intelligent vehicles, especially when the vehicle equipment is triggered at a specific time or event cannot be automatically controlled to operate.
By obtaining the preset time and vehicle control policy set by the user, after detecting the corresponding event, the target device in the vehicle is controlled to perform actions according to the policy, such as automatically playing birthday songs or turning on the headlights on the birthday.
It improves the intelligence level of the vehicle and can automatically control the vehicle equipment under the time and conditions set by the user, enhancing the user experience and sense of ritual.
Smart Images

Figure CN115107672B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a vehicle control method and a vehicle. Background Art
[0002] Vehicles are an indispensable item for every family or individual. With the continuous development of artificial intelligence, people's demand for vehicles is not only limited to driving, but people's requirements for the intelligence of vehicles are getting higher and higher.
[0003] With the development of vehicle intelligence, many users will use vehicles to create surprises for family or friends to enhance the sense of ritual in life. For example, on a family member's birthday, they can use speakers to play birthday songs to make the atmosphere in the car more romantic. However, the current level of vehicle intelligence is limited and cannot meet the needs of users. Summary of the invention
[0004] The embodiments of the present application provide a vehicle control method and a vehicle, which can solve the problem of low intelligence level of current vehicles.
[0005] In a first aspect, an embodiment of the present application provides a vehicle control method, including:
[0006] Acquire a first preset time set by a first user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy, wherein the trigger condition includes receiving instruction information and / or detecting that a second user is in the vehicle;
[0007] When the current time is the first preset time, if a first event is detected, determining whether the first event satisfies the trigger condition;
[0008] If the first event satisfies the trigger condition, according to the vehicle control strategy, a target device in the vehicle is controlled to act according to the vehicle control strategy, wherein the target device is a device included in the vehicle control strategy.
[0009] In a second aspect, an embodiment of the present application provides a vehicle, comprising: an electronic device, wherein the electronic device is used to implement the vehicle control method described in the first aspect above.
[0010] In a third aspect, an embodiment of the present application provides a vehicle control device, including:
[0011] A user setting module, used to obtain a first preset time set by a first user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy, wherein the trigger condition includes receiving instruction information and / or detecting the presence of a second user in the vehicle;
[0012] An event detection module, configured to, when the current time is a first preset time, if a first event is detected, determine whether the first event satisfies the trigger condition;
[0013] A control module is used to control a target device in the vehicle to act according to the vehicle control strategy if the first event satisfies the trigger condition, wherein the target device is a device included in the vehicle control strategy.
[0014] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle control method described in any one of the first aspects above when executing the computer program.
[0015] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein the computer program, when executed by a processor, implements the vehicle control method described in any one of the first aspects above.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the vehicle control method described in any one of the above-mentioned first aspects.
[0017] Compared with the prior art, the first aspect of the embodiment of the present application has the following beneficial effects: the electronic device in the vehicle of the present application can first obtain the first preset time set by the first user, the vehicle control strategy corresponding to the first preset time, and the trigger condition corresponding to the vehicle control strategy. When the current time is the first preset time, if the first event is detected, it is determined whether the first event meets the trigger condition; if the first event meets the trigger condition, according to the vehicle control strategy, the target device in the vehicle is controlled to act according to the vehicle control strategy. Compared with the prior art in which the user cannot set the vehicle control strategy, the vehicle of the present application can obtain the vehicle control strategy set by the user, and when the time set by the user and the trigger condition of the vehicle control strategy are met, the device in the vehicle is controlled to act according to the vehicle control strategy set by the user, thereby improving the intelligence level of the vehicle.
[0018] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 It is a schematic diagram of an application scenario of a vehicle control method provided by an embodiment of the present application;
[0021] Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present application;
[0022] Figure 3 It is a flowchart of a method for controlling device actions according to a control strategy provided by an embodiment of the present application;
[0023] Figure 4 It is a flowchart of a method for determining a trigger condition provided in an embodiment of the present application;
[0024] Figure 5 It is a flowchart of a method for setting and applying dialog information provided by an embodiment of the present application;
[0025] Figure 6 is a flow chart of a method for determining a voice interaction mode of a vehicle provided in an embodiment of the present application;
[0026] Figure 7 is a structural schematic diagram of a vehicle control device provided by an embodiment of the present application;
[0027] Figure 8 It is a schematic diagram of the structure of a vehicle provided in one embodiment of the present application. DETAILED DESCRIPTION
[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0029] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0030] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0031] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0032] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0033] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0034] Figure 1 The following is a schematic diagram of an application scenario of the vehicle control method provided in an embodiment of the present application. The above-mentioned vehicle control method can be used to control devices in a vehicle. Among them, the central control device 10 in the vehicle is used to obtain information set by the user, and the information set by the user includes a first preset time set by the user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy. The central control device 10 can also detect the current event. When the central control device 10 determines that the current time is the first preset time and the current event meets the trigger condition, the central control device 10 controls the target device 20 in the vehicle to act according to the vehicle control strategy according to the vehicle control strategy.
[0035] Figure 2 A schematic flow chart of the vehicle control method provided by the present application is shown, referring to Figure 2 , the method is described in detail as follows:
[0036] S101, obtaining a first preset time set by a first user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy.
[0037] In this embodiment, the triggering condition includes receiving instruction information and / or detecting the presence of a second user in the vehicle.
[0038] In this embodiment, the instruction information may include a voice instruction issued by the user. The instruction information may also include instructions generated by the user acting on a device, button or control on the vehicle. For example, the voice instruction may be set as needed. For example, the voice instruction may be "Happy Birthday to my daughter", "Start the magic moment", etc. The instruction generated by the user acting on the device of the vehicle may include an instruction generated after the user opens the door.
[0039] In this embodiment, the instruction information may also be an instruction generated after a preset face image is recognized, and the preset face image may be an image set by the first user.
[0040] In this embodiment, the instruction information may also be an instruction generated after a preset fingerprint is identified, and the preset fingerprint may be a fingerprint set by the first user.
[0041] Specifically, whether there is a second user in the car can be determined through image information or audio information in the car.
[0042] In this embodiment, the first preset time can be set as needed. The first preset time can be a period of time, a date, or a time point, etc. For example, the second user's birthday, the first user's wedding anniversary, etc.
[0043] In this embodiment, the electronic device may obtain the first preset time set by the first user. The electronic device may be a central control device in a vehicle.
[0044] Specifically, the first user can set the first preset time through various terminals that can set the first preset time. For example, the first user can set the first preset time through a mobile terminal, and send the first preset time set in the mobile terminal to the electronic device. The mobile terminal may include a mobile phone, a tablet computer, etc. The mobile terminal can transmit the first preset time to the electronic device through the cloud. The first user can also set the first preset time through the central control device on the vehicle. The central control device reserves an interface for the user to set the first preset time. Specifically, the method for the user to set the vehicle control strategy corresponding to the first preset time and the trigger condition corresponding to the vehicle control strategy is the same as the method for setting the first preset time described above, and will not be repeated here.
[0045] S102: When the current time is a first preset time, if a first event is detected, determine whether the first event satisfies the trigger condition.
[0046] In this embodiment, the first event may include a vehicle door being opened, an audio or video device being turned on, a user being present in the vehicle, and the like.
[0047] Specifically, after detecting the first event, the electronic device determines whether the first event is an event that triggers the vehicle control strategy.
[0048] S103: If the first event meets the triggering condition, according to the vehicle control strategy, control the target device in the vehicle to act according to the vehicle control strategy.
[0049] In this embodiment, the target device is a device included in the vehicle control strategy.
[0050] For example, if the trigger condition includes receiving a voice command, and the voice command is "Happy birthday to my daughter", after detecting the voice information, the electronic device determines whether the content of the voice information matches "Happy birthday to my daughter", and if the content of the voice information matches "Happy birthday to my daughter", the electronic device controls the action of the target device in the vehicle according to the vehicle control strategy.
[0051] In the embodiment of the present application, the electronic device in the vehicle can first obtain the first preset time set by the first user, the vehicle control strategy corresponding to the first preset time, and the trigger condition corresponding to the vehicle control strategy. When the current time is the first preset time, if the first event is detected, it is determined whether the first event meets the trigger condition; if the first event meets the trigger condition, according to the vehicle control strategy, the target device in the vehicle is controlled to act according to the vehicle control strategy. Compared with the prior art in which the user cannot set the vehicle control strategy, the vehicle of the present application can obtain the vehicle control strategy set by the user, and control the device in the vehicle to act according to the vehicle control strategy set by the user at the time set by the user and when the trigger condition of the vehicle control strategy is met, thereby improving the intelligence level of the vehicle.
[0052] In one possible implementation, the vehicle control strategy includes a first control mode and a second control mode. The first control mode includes the audio and video equipment on the vehicle displaying a preset first applet, and the second control mode includes the audio and video equipment displaying operation result information. The priority of the first control mode is higher than the priority of the second control mode.
[0053] like Figure 3 As shown, specifically, step S103 may include:
[0054] S1031, searching for the control method with the highest priority in the vehicle control strategy.
[0055] In this embodiment, each control mode corresponds to a priority, and the priorities of the control modes may include first level, second level, third level, etc. The first level is higher than the second level, and the second level is higher than the third level.
[0056] In this embodiment, after determining that the first event meets the trigger condition, the electronic device may first determine how many control methods are included in the vehicle control strategy. If the vehicle control strategy includes one control method, the electronic device controls the target device to act according to the control method. If the vehicle control strategy includes at least two control methods, the electronic device needs to sort the control methods and start executing the control methods in order of priority from high to low.
[0057] S1032: If the first control method is the control method with the highest priority in the vehicle control strategy, control the audio and video device to display and run the first mini program according to the first control method.
[0058] In this embodiment, the first applet is used to prompt the location information of the gift.
[0059] In this embodiment, the audio and video equipment may be a display screen, an instrument display device, a head-up display device (HUD), a co-pilot screen or a projection device, etc.
[0060] In this embodiment, the electronic device can also obtain the first applet set by the first user corresponding to the first preset time. The first applet may include a game program and a lottery program, etc. The number of the first applet may be one or more. The user can start the applet after clicking the first applet or clicking the entry button corresponding to the first applet. Correspondingly, the electronic device starts running the first applet after detecting the user's instructions on the first applet or the instructions on the button corresponding to the first applet. Specifically, the setting process of the first applet is the same as the setting process of the first preset time. In addition, the central control device on the vehicle can reserve a setting interface for the applet for the user, and the central control device displays the setting page of the applet through the audio and video device. The user can set the first applet in the vehicle control strategy through the setting page of the applet.
[0061] In this embodiment, the mini program can be displayed on the audio and video device in the form of animation, text or picture.
[0062] S1033: Search for a control method in the vehicle control strategy whose priority is lower than the first control method.
[0063] In this embodiment, the electronic device determines the second level control mode after running the first control mode.
[0064] S1034, if the second control method is a control method with a lower priority than the first control method in the vehicle control strategy, after determining that the first mini program has finished running, the audio and video device is controlled to play the running result information based on the second control method.
[0065] In this embodiment, the operation result information is information set by the first user, and the operation result information includes location information of the gift on the vehicle.
[0066] Specifically, the operating conditions of the second control mode can be set in the vehicle control strategy. In the present application, the operating conditions of the second control mode include the completion of the operation of the first mini-program.
[0067] In this embodiment, the electronic device can monitor whether the first applet has been completed.
[0068] In this embodiment, the electronic device can also determine that the first applet has ended after receiving the end voice.
[0069] In this embodiment, the operation result information can be played in the form of text display, animation display or voice broadcast.
[0070] In an embodiment of the present application, the vehicle control strategy may include displaying a first mini program to the user, increasing the interaction between the person and the vehicle through the first mini program, and increasing the fun. In addition, after the first mini program is completed, the location of the prize can be displayed to the user to increase the stickiness between the vehicle and the user and provide more services to the user.
[0071] In a possible implementation, after step S1034, the method may further include:
[0072] If the location information is a trunk of the vehicle, control the trunk to open.
[0073] Controlling the audio and video equipment in the vehicle to play preset audio; and / or
[0074] Controlling the audio and video equipment to play a preset video; and / or
[0075] Controlling the lights on the vehicle to turn on; and / or
[0076] Control the fragrance device on the vehicle to turn on.
[0077] In this embodiment, before controlling the trunk and lights to be turned on, the vehicle speed collected by the vehicle speed detection device in the vehicle can also be obtained first, and if the vehicle speed is 0, the trunk and / or lights are controlled to be turned on. If the vehicle speed is not 0, the trunk and / or lights cannot be controlled to be turned on.
[0078] In a possible implementation, step S103 may specifically include:
[0079] Controlling the audio and video equipment in the vehicle to play preset audio; and / or
[0080] Controlling the audio and video equipment to play a preset video; and / or
[0081] Controlling the lights on the vehicle to turn on; and / or
[0082] Control the fragrance device on the vehicle to turn on.
[0083] In this embodiment, the preset audio may include a song, a voice, etc. The preset audio may be the audio set by the first user.
[0084] In this embodiment, the preset video may include animation, photo album, etc.
[0085] In this embodiment, controlling the lights on the vehicle to turn on may include turning on a preset number of lights, turning on lights in different positions, such as front lights, interior lights, etc. Controlling the lights on the vehicle to turn on may also include controlling the lights on the vehicle to flash, emit lights of corresponding colors, etc., which may be set as needed.
[0086] In this embodiment, the electronic device can also control the actions of windows, seats, air conditioning, sunroof, etc. in the vehicle.
[0087] In this embodiment, if the lights on the vehicle are controlled to turn on and the audio and video equipment is controlled to play preset audio at the same time, the electronic device can also control the lights to flash with the rhythm of the preset audio or game sound effects.
[0088] In this embodiment, the trunk can be opened or the audio and video equipment can be controlled to play voice information or video information according to the voice command. Specifically, the voice command is obtained, and the corresponding voice information or video information is played according to the voice command. For example, if the received voice command is to play a birthday song, the audio and video equipment is controlled to play the birthday song. The specific content of the voice command can be set as needed.
[0089] In the embodiment of the present application, the electronic device controls different devices on the vehicle to work in conjunction with each other, which not only improves the intelligence of the vehicle but also brings a better experience atmosphere to the user.
[0090] In a possible implementation manner, the above method may further include: acquiring image data of the second user set by the first user.
[0091] In this embodiment, the electronic device can determine whether the second user is in the vehicle according to the image data of the second user. Specifically, the process of the first user setting the image data of the second user is the same as the process of setting the first preset time, which will not be repeated here.
[0092] In a possible implementation, the trigger condition includes detecting the presence of a second user in the vehicle, and the first event includes a camera device in the vehicle capturing a current in-vehicle video.
[0093] like Figure 4 As shown, the implementation process of step S102 may include:
[0094] S1021, based on the image data of the second user and the current in-vehicle video, determine whether the users in the vehicle at the current moment include the second user.
[0095] In this embodiment, after the current in-car video is acquired, the current in-car video may be analyzed to determine whether there is an image matching the image data of the second user in the current in-car video. If there is an image matching the image data of the second user in the current in-car video, it is determined that the second user is in the vehicle. If there is an image matching the image data of the second user in the middle of the current in-car video, it is determined that the second user is not in the vehicle.
[0096] Specifically, the image in the current in-vehicle video and the image data of the second user can be input into the first neural network model to obtain the image matching degree. If the matching degree is greater than a preset value, it is determined that the second user is in the vehicle. If the matching degree is less than or equal to the preset value, it is determined that the second user is not in the vehicle. The first neural network model can be a pre-trained neural network model.
[0097] S1022: If the users on the vehicle at the current moment include a second user, it is determined that the first event satisfies the trigger condition.
[0098] In a possible implementation manner, the above method may further include: acquiring audio data of the second user set by the first user.
[0099] In this embodiment, the electronic device can determine whether the second user is in the vehicle according to the audio data of the second user. Specifically, the process of the first user setting the audio data of the second user is the same as the process of setting the first preset time, which will not be repeated here.
[0100] In a possible implementation, the trigger condition includes detecting the presence of a second user in the vehicle, and the first event includes an audio collection device in the vehicle detecting the presence of a user in the vehicle.
[0101] The implementation process of step S102 may include:
[0102] S1023: Determine whether the users on the vehicle at the current time include the second user based on the audio data of the second user and the audio information collected by the audio collection device at the current time.
[0103] S1024: If the users on the vehicle at the current time include the second user, it is determined that the first event satisfies the trigger condition.
[0104] In this embodiment, after the audio information is acquired, the audio information can be analyzed to determine whether the audio information matches the audio data. If the audio information matches the audio data, it is determined that the second user is in the vehicle. If the audio information does not match the audio data, it is determined that the second user is not in the vehicle.
[0105] Specifically, the audio information and the audio data can be input into the second neural network model to detect the similarity between the audio information and the audio data. If the similarity is greater than a preset threshold, it is determined that the second user is in the vehicle; if the similarity is less than or equal to the preset threshold, it is determined that the second user is not in the vehicle. The second neural network model can be a pre-trained model.
[0106] like Figure 5 As shown, in a possible implementation, the above method may further include:
[0107] S201, obtaining dialogue information set by a first user and preset scenario information corresponding to the dialogue information, wherein the dialogue information includes first information and second information for answering the first information.
[0108] In this embodiment, the preset scene information can be set as needed. For example, the second preset scene information may include the second user being in the car, the fragrance device being turned on, the lights in the car being turned on, etc.
[0109] In this embodiment, the dialogue information may be text information or voice information.
[0110] In this embodiment, a character nickname may also be set in the conversation information, and the character nickname may be played or displayed during the conversation.
[0111] For example, the first information may be “Who is the most handsome?” and the second information may be “So-and-so is the most handsome.”
[0112] S202, after receiving the voice information of the third user, determine whether the current in-vehicle scene matches the preset scene information.
[0113] In this embodiment, the third user may be the first user or the second user. The third user may also be a user other than the first user and the second user.
[0114] For example, if the preset scene information is that the fragrance device is turned on, the electronic device can detect the state of the fragrance device. If the state of the fragrance device is turned on, it is determined that the current in-car scene matches the preset scene information.
[0115] S203: If the current in-car scene matches the preset scene information, detect whether the voice information of the third user matches the first information.
[0116] In this embodiment, after acquiring the voice information, the electronic device can extract the keywords in the voice information, match the keywords in the voice information with the first information, and determine the number of identical characters in the keywords in the voice information and the first information. If the number of identical characters is greater than a preset number, it is determined that the voice information matches the first information. If the number of identical characters is less than or equal to the preset number, it is determined that the voice information does not match the first information.
[0117] S204: If the voice information of the third user matches the first information, control the audio and video equipment in the vehicle to play the second information.
[0118] In this embodiment, the second information can be played in the form of voice or text.
[0119] In an embodiment of the present application, the user can set dialogue information. After the user speaks the first information, the vehicle can output the corresponding second information, which not only improves the intelligence level of the vehicle, but also increases the fun of human-computer interaction.
[0120] In a possible implementation, the above method may further include:
[0121] When it is determined that the current time is a second preset time and the first user is in the vehicle, the audio and video equipment in the vehicle is controlled to play a reminder message, the second preset time is a time before the first preset time, and the reminder message is used to prompt the type of festival at the first preset time.
[0122] In this embodiment, the difference between the first preset time and the second preset time can be set as needed. For example, the difference between the first preset time and the second preset time can be 1 day, 2 days, 3 days, etc.
[0123] In this embodiment, the reminder information is used to remind the first user not to forget the day of the first preset time. The holiday type may be set by the first user when setting the first preset time. The holiday type may be a birthday, a wedding anniversary, etc. The reminder information may be displayed in the form of text or video, and the reminder information may include the first preset time and the holiday type.
[0124] For example, if the first preset time is the daughter's birthday, which is May 3, then at the second preset time, May 1, and when the first user is in the car, the audio and video equipment is controlled to play a reminder message, and the content of the reminder message may be: May 3 is the daughter's birthday.
[0125] In a possible implementation, the above method may further include:
[0126] When it is determined that the current time is the second preset time, the information sending module in the vehicle is controlled to send a reminder message to the mobile terminal of the first user. The mobile terminal may include a mobile phone or a tablet computer.
[0127] like Figure 6 As shown, in a possible implementation, the above method may further include:
[0128] S301, obtaining a voice interaction mode corresponding to a first preset time set by the first user and voice data of a fourth user, wherein the voice data of the fourth user is associated with the voice interaction mode corresponding to the first preset time.
[0129] In this embodiment, the voice data of the fourth user is associated with the voice interaction mode corresponding to the first preset time, that is, the response information of the fourth user can be determined according to the voice interaction mode only when the fourth user speaks at the first preset time.
[0130] In this embodiment, the voice interaction mode includes one of a parent-child mode, a couple mode, a friend mode, and a default mode. The content stored in different voice interaction modes may be different. For example, the types of songs stored in different voice interaction modes may be different, and the content of the conversation may be different. For example, the conversation content stored in the parent-child mode may be more childish, and the conversation content stored in the friend-family mode may be more formal, etc. The songs stored in the parent-child mode may be children's songs, and the songs stored in the couple mode may be love songs.
[0131] In this embodiment, the setting process of the voice interaction mode and the voice data of the fourth user is the same as the device process of the first preset time. Please refer to the setting process of the first preset time above, which will not be repeated here.
[0132] S302: When it is determined that the current time is the first preset time, if a first voice message is received, determine whether the first voice message matches the voice data of the fourth user according to the voice message of the fourth user.
[0133] S303: If the first voice information matches the voice data of the fourth user, obtain a voice interaction mode corresponding to the fourth user.
[0134] S304: If the current voice interaction mode is not the voice interaction mode corresponding to the fourth user, switch the current voice interaction mode to the voice interaction mode corresponding to the fourth user.
[0135] In this embodiment, if the current voice interaction mode is the voice interaction mode corresponding to the fourth user, the current voice interaction mode is maintained.
[0136] S305: Based on the first voice information, control the audio and video equipment in the vehicle to output third information, wherein the third information is response information corresponding to the first voice information in the current voice interaction mode.
[0137] For example, if the voice interaction mode corresponding to the first preset time is the parent-child mode, after the voice information of the fourth user is obtained at the first time to play a song, the audio and video equipment is controlled to play a nursery rhyme.
[0138] In this embodiment, the third information may include dialogue information, songs, tongue twisters, etc.
[0139] In this embodiment, the stop time of the voice interaction mode corresponding to the first preset time set by the first user can also be obtained. When the current time is determined to be the stop time, the voice interaction mode corresponding to the first preset time is exited and the default mode is entered.
[0140] In a possible implementation, the above method may further include:
[0141] If it is determined that the current time is the third preset time, the audio and video equipment is controlled to play the information corresponding to the third preset time. The information corresponding to the third preset time can be determined according to the type of the third preset time.
[0142] In this embodiment, the types of the third preset time may include holidays, the owner's birthday, the owner's wedding anniversary, the car purchase anniversary, the maintenance date, etc. Different types may correspond to different playback information. For example, a birthday song may be played on a birthday. The third preset time and the information corresponding to the third preset time may be set by the user or pushed by the operator. For example, birthdays and wedding anniversaries may be set by the user. Holidays, car purchase anniversaries, and maintenance dates may be pushed by the operator. The information corresponding to the third preset time may include video, audio, electronic photo album, text information, coupons, etc.
[0143] Specifically, after the vehicle is started, if it is determined that the current time is the third preset time, the audio and video equipment is controlled to play information corresponding to the third preset time.
[0144] Specifically, after the vehicle is started, if it is determined that the current time is the third preset time and the vehicle owner is in the vehicle, the audio and video equipment is controlled to play information corresponding to the third preset time.
[0145] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0146] An embodiment of the present application provides a vehicle, including an electronic device, and the electronic device is used to execute the above-mentioned vehicle control method.
[0147] The present application embodiment provides a vehicle control device, referring to Figure 7 The device 400 includes a user setting module 410, an event detection module 420 and a control module 430.
[0148] The user setting module 410 is used to obtain a first preset time set by a first user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy, wherein the trigger condition includes receiving instruction information and / or detecting the presence of a second user in the vehicle;
[0149] An event detection module 420, configured to determine whether a first event satisfies the trigger condition if a first event is detected when the current time is a first preset time;
[0150] The control module 430 is used to control the target device in the vehicle to act according to the vehicle control strategy if the first event meets the trigger condition, wherein the target device is a device included in the vehicle control strategy.
[0151] In a possible implementation, the vehicle control strategy includes a first control mode and a second control mode, the first control mode includes the audio and video equipment on the vehicle displaying a preset first applet, the second control mode includes the audio and video equipment displaying operation result information, and the priority of the first control mode is higher than the priority of the second control mode;
[0152] The control module 430 may be specifically used for:
[0153] Finding the control method with the highest priority in the vehicle control strategy;
[0154] If the first control mode is the control mode with the highest priority in the vehicle control strategy, according to the first control mode, the audio and video device is controlled to display and run the first applet;
[0155] Searching for a control method in the vehicle control strategy having a lower priority than the first control method;
[0156] If the second control method is a control method with a lower priority than the first control method in the vehicle control strategy, after the first mini program is completed, based on the second control method, the audio and video device is controlled to play the operation result information, wherein the operation result information is the information set by the first user, and the operation result information includes the location information of the gift on the vehicle.
[0157] In a possible implementation, the control module 430 may be specifically configured to:
[0158] If the location information is a trunk of the vehicle, control the trunk to open.
[0159] In a possible implementation, the control module 430 may be specifically configured to:
[0160] Controlling the audio and video equipment in the vehicle to play preset audio; and / or
[0161] Controlling the audio and video equipment to play a preset video; and / or
[0162] Controlling the lights on the vehicle to turn on; and / or
[0163] Control the fragrance device on the vehicle to turn on.
[0164] In a possible implementation, the electronic device 400 may further include:
[0165] An image acquisition module, used to acquire the image data of the second user set by the first user;
[0166] The trigger condition includes detecting a second user in the vehicle, and the first event includes a camera in the vehicle capturing a current in-vehicle video;
[0167] The event detection module 420 may be specifically used for:
[0168] Determining whether the users on the vehicle at the current moment include the second user based on the image data of the second user and the current in-vehicle video;
[0169] If the users on the vehicle at the current moment include the second user, it is determined that the first event satisfies the trigger condition.
[0170] In a possible implementation, the electronic device 400 may further include:
[0171] An audio acquisition module, used to acquire the audio data of the second user set by the first user;
[0172] If the trigger condition includes detecting a second user in the vehicle, the first event includes an audio acquisition device in the vehicle detecting the presence of a user in the vehicle;
[0173] The event detection module 420 may be specifically used for:
[0174] Based on the audio data of the second user and the audio information collected by the audio collection device at the current time, determining whether the users on the vehicle at the current time include the second user;
[0175] If the users on the vehicle at the current time include the second user, it is determined that the first event meets the trigger condition.
[0176] In a possible implementation, the electronic device 400 may further include:
[0177] A dialogue information acquisition module, used to acquire dialogue information set by a first user and preset scenario information corresponding to the dialogue information, wherein the dialogue information includes first information and second information used to answer the first information;
[0178] A scene determination module, configured to determine whether the current in-vehicle scene matches the preset scene information after receiving the voice information of the third user;
[0179] A voice judgment module, configured to detect whether the voice information of the third user matches the first information if the current in-car scene matches the preset scene information;
[0180] A dialogue output module is used to control the audio and video equipment in the vehicle to play the second information if the voice information of the third user matches the first information.
[0181] In a possible implementation, the electronic device 400 may further include:
[0182] A reminder output module is used to control the audio and video equipment in the vehicle to play a reminder message when it is determined that the current time is a second preset time and the first user is in the vehicle, the second preset time is the time before the first preset time, and the reminder message is used to prompt the type of festival at the first preset time.
[0183] In a possible implementation, the electronic device 400 may further include:
[0184] a mode acquisition module, configured to acquire a voice interaction mode corresponding to the first preset time set by the first user and voice data of the fourth user, wherein the voice interaction mode includes one of a parent-child mode, a couple mode, a friend mode and a default mode, and the voice data of the fourth user is associated with the voice interaction mode corresponding to the first preset time;
[0185] a voice matching module, configured to determine, when determining that the current time is the first preset time, whether the first voice information matches the voice data of the fourth user according to the voice information of the fourth user if the first voice information is received;
[0186] an interaction mode determination module, configured to obtain a voice interaction mode corresponding to the fourth user if the first voice information matches the voice data of the fourth user;
[0187] a mode changing module, configured to switch the current voice interaction mode to the voice interaction mode corresponding to the fourth user if the current voice interaction mode is not the voice interaction mode corresponding to the fourth user;
[0188] A response information output module is used to control the audio and video equipment in the vehicle to output third information based on the first voice information, wherein the third information is the response information corresponding to the first voice information in the current voice interaction mode.
[0189] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0190] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0191] The present application also provides a vehicle, see Figure 8The vehicle 700 may include: at least one processor 710, a memory 720, and a computer program stored in the memory 720 and executable on the at least one processor 710. When the processor 710 executes the computer program, the steps in any of the above-mentioned method embodiments are implemented, for example: Figure 2 Steps S101 to S103 in the illustrated embodiment. Alternatively, when the processor 710 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 7 The functions of modules 410 to 430 are shown.
[0192] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 720 and executed by the processor 710 to complete the present application. The one or more modules / units may be a series of computer program segments capable of completing specific functions, and the program segments are used to describe the execution process of the computer program in the vehicle 700.
[0193] Those skilled in the art will understand that Figure 8 These are merely examples of vehicles and do not constitute a limitation on the vehicle, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0194] The processor 710 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0195] The memory 720 may be an internal storage unit of the vehicle or an external storage device of the vehicle, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 720 is used to store the computer program and other programs and data required by the vehicle. The memory 720 may also be used to temporarily store data that has been output or is to be output.
[0196] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0197] The vehicle control method provided in the embodiment of the present application can be applied to terminal devices such as computers, tablet computers, laptop computers, netbooks, personal digital assistants (PDAs), etc. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.
[0198] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0199] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0200] In the embodiments provided in the present application, it should be understood that the disclosed terminal equipment, devices and methods can be implemented in other ways. For example, the terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0201] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0202] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0203] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by one or more processors, the steps of each of the above-mentioned method embodiments can be implemented.
[0204] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by one or more processors, the steps of each of the above-mentioned method embodiments can be implemented.
[0205] Similarly, as a computer program product, when the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0206] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0207] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle control method, characterized in that: include: Acquire a first preset time set by a first user, a vehicle control strategy corresponding to the first preset time, and a trigger condition corresponding to the vehicle control strategy, wherein the trigger condition includes receiving instruction information and detecting that a second user is in the vehicle; When the current time is the first preset time, if a first event is detected, determining whether the first event satisfies the trigger condition; If the first event satisfies the trigger condition, according to the vehicle control strategy, controlling the target device in the vehicle to act according to the vehicle control strategy, wherein the target device is a device included in the vehicle control strategy; The step of controlling the target device in the vehicle to act according to the vehicle control strategy includes: Finding a control method with the highest priority in the vehicle control strategy, wherein the vehicle control strategy includes a first control method and a second control method; If the first control mode is the control mode with the highest priority in the vehicle control strategy, according to the first control mode, the audio and video equipment in the vehicle is controlled to display and run the first applet; Searching for a control method in the vehicle control strategy having a lower priority than the first control method; If the second control method is a control method with a lower priority than the first control method in the vehicle control strategy, after the first mini program is completed, based on the second control method, the audio and video device is controlled to play the operation result information, wherein the operation result information is the information set by the first user, and the operation result information includes the location information of the gift on the vehicle.
2. The vehicle control method according to claim 1, characterized in that: After controlling the audio and video device to play the operation result information, the method further comprises: If the location information is a trunk of the vehicle, control the trunk to open.
3. The vehicle control method according to claim 1, characterized in that: According to the vehicle control strategy, controlling the target device in the vehicle to act according to the vehicle control strategy includes: Controlling the audio and video equipment in the vehicle to play preset audio; and / or Controlling the audio and video equipment to play a preset video; and / or Controlling the lights on the vehicle to turn on; and / or Control the fragrance device on the vehicle to turn on.
4. The vehicle control method according to claim 1, characterized in that: The method further comprises: Acquire the image data of the second user set by the first user; The trigger condition includes detecting a second user in the vehicle, and the first event includes a camera in the vehicle capturing a current in-vehicle video; The determining whether the first event satisfies the trigger condition includes: Determining whether the users on the vehicle at the current moment include the second user based on the image data of the second user and the current in-vehicle video; If the users on the vehicle at the current moment include the second user, it is determined that the first event satisfies the trigger condition.
5. The vehicle control method according to claim 1, characterized in that: The method further comprises: Acquire the audio data of the second user set by the first user; If the trigger condition includes detecting a second user in the vehicle, the first event includes an audio acquisition device in the vehicle detecting the presence of a user in the vehicle; The determining whether the first event satisfies the trigger condition includes: Based on the audio data of the second user and the audio information collected by the audio collection device at the current time, determining whether the users on the vehicle at the current time include the second user; If the users on the vehicle at the current time include the second user, it is determined that the first event meets the trigger condition.
6. The vehicle control method according to claim 1, characterized in that: The method further comprises: Acquire dialogue information set by a first user and preset scenario information corresponding to the dialogue information, wherein the dialogue information includes first information and second information for answering the first information; After receiving the voice information of the third user, determining whether the current in-vehicle scene matches the preset scene information; If the current in-car scene matches the preset scene information, detecting whether the voice information of the third user matches the first information; If the voice information of the third user matches the first information, the audio and video equipment in the vehicle is controlled to play the second information.
7. The vehicle control method according to claim 1, characterized in that: The method further comprises: When it is determined that the current time is a second preset time and the first user is in the vehicle, the audio and video equipment in the vehicle is controlled to play a reminder message, the second preset time is a time before the first preset time, and the reminder message is used to prompt the type of festival at the first preset time.
8. The vehicle control method according to claim 1, characterized in that: The method further comprises: acquiring a voice interaction mode corresponding to the first preset time set by the first user and voice data of a fourth user, wherein the voice interaction mode includes one of a parent-child mode, a couple mode, a friend mode and a default mode, and the voice data of the fourth user is associated with the voice interaction mode corresponding to the first preset time; In the case where it is determined that the current time is the first preset time, if a first voice message is received, determining whether the first voice message matches the voice data of the fourth user; If the first voice information matches the voice data of the fourth user, obtaining a voice interaction mode corresponding to the fourth user; If the current voice interaction mode is not the voice interaction mode corresponding to the fourth user, switching the current voice interaction mode to the voice interaction mode corresponding to the fourth user; Based on the first voice information, the audio and video equipment in the vehicle is controlled to output third information, wherein the third information is response information corresponding to the first voice information in the current voice interaction mode.
9. A vehicle, characterized in that: The vehicle comprises an electronic device, and the electronic device is used to execute the vehicle control method as described in any one of claims 1-8.
Citation Information
Patent Citations
Vehicle door control method and device, OBD and terminal
CN109398269A
Control method and system for vehicle atmosphere pattern, and vehicle
CN110406487A