Vehicle control method, device and system

Through the vehicle control system, the vehicle control service and music service are called, and the output music and lighting mode is matched based on pre-stored relationships, the problem that the existing system cannot respond to market demand quickly is solved, and the rapid iteration and rapid development of functions is achieved, which meets the Users have high requirements for vehicle entertainment.

CN115635928BActive Publication Date: 2024-11-15GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211102462.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2024-11-15
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

The existing vehicle music light show system cannot respond quickly to market demand. Adding a new light show mode requires multiple electronic control units to synchronize the signal change, and the change cycle is long, which cannot meet the high user requirements for comfort and entertainment.

Method used

By obtaining a light control request, the vehicle's vehicle control service is called, and if the conditions are met, the music service and external light service are called. Based on the corresponding relationship between pre-stored music and light mode, the corresponding music and light mode are matched and outputted to realize light control .

Benefits of technology

It realizes rapid iteration and rapid development of functions, shortens the development cycle, and adds new lighting modes by simply adjusting the corresponding relationship. The output of different modes is achieved through the combination of services and interfaces, improving the flexibility and response speed of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115635928B_ABST
    Figure CN115635928B_ABST
Patent Text Reader

Abstract

The present application discloses a vehicle control method, device and system. If it is determined based on the whole vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the music service is called. When the vehicle outputs the first music through the music interface in the music service, the corresponding relationship between the music and the lighting mode is directly found, and the mode of light output by the external light module is determined based on the corresponding relationship, thereby calling the music service, and calling the external light interface corresponding to the mode matching the first music through the music service, so as to output the light matching the first music through the external light interface. When it is necessary to add a new mode of light output by the external light module, it is only necessary to adjust the corresponding relationship, thereby realizing rapid iteration of functions and shortening the development cycle; and, the calling of the external light module is realized by means of services and interfaces, and the output of light shows of different modes can be realized as long as different combinations of the external light interfaces are performed, thereby realizing rapid iteration of functions and shortening the development cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control, and in particular to a vehicle control method, device and system. Background Art

[0002] As vehicles become more intelligent, users have higher and higher requirements for vehicle comfort and entertainment. For vehicle music light shows, they are currently mainly developed and designed based on signals and have fixed modes. If new light show modes are to be added, multiple electronic control units need to change the signals synchronously, and the change cycle is long, which cannot adapt to the rapid market demand. Summary of the invention

[0003] In view of this, the present application provides a vehicle control method, device and system, and the specific scheme thereof is as follows:

[0004] A vehicle control method, comprising:

[0005] Get lighting control request;

[0006] Invoking a vehicle control service of the vehicle based on the lighting control request;

[0007] If it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then calling the vehicle's music service, and calling a corresponding music interface based on the music service, so as to output the first music based on the music interface;

[0008] Based on the correspondence between music and light modes, a mode matching the first music output by the vehicle is determined, and the exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0009] Further, the calling of the vehicle control service of the vehicle based on the lighting control request includes:

[0010] The vehicle control service of the vehicle is called based on the light control request to obtain at least the current driving state, power state, hazard warning light state and turn signal state of the vehicle.

[0011] Further, if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then calling the vehicle's music service, and calling the corresponding music interface based on the music service, so as to output the first music based on the music interface, including:

[0012] If it is determined based on the vehicle control service that the vehicle is currently in a stopped state, the power supply is in a normal power supply state, and the hazard warning lights and turn lights are in an off state, the vehicle's music service is called, and the corresponding music interface is called based on the music service to output the first music based on the music interface.

[0013] Further, the determining a pattern matching the first music output by the vehicle, calling an exterior light service, and calling an exterior light interface corresponding to the pattern matching the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface, includes:

[0014] determining a music genre of a first music output by the vehicle;

[0015] Based on the pre-stored correspondence between music and lighting modes, a first lighting mode corresponding to the music type of the first music is determined, and a music service is called. The external light interface of the external light in the external light module required to implement the first lighting mode is called through the music service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the first lighting mode.

[0016] Further, the determining a pattern matching the first music output by the vehicle, calling an exterior light service, and calling an exterior light interface corresponding to the pattern matching the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface, includes:

[0017] Determining an output frequency band of a first music output by the vehicle;

[0018] Based on the pre-stored correspondence between music and light modes, a second light mode corresponding to the output frequency band of the first music is determined, and an external light service is called. The external light interface of the external light in the external light module required to implement the second light mode is called through the external light service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the second light mode.

[0019] Furthermore, it also includes:

[0020] If the output frequency band of the first music changes during the process of the vehicle outputting the first music, and is adjusted from the first output frequency band to the second output frequency band, a third lighting mode corresponding to the second output frequency band is determined based on the correspondence between the music and the lighting modes stored in advance, and the external light service is called. The external light interface corresponding to the third lighting mode is called through the external light service, so as to control the external light output light in the corresponding external light module through the called external light interface.

[0021] Furthermore, it also includes:

[0022] If the music service is stopped, the vehicle stops outputting the first music and stops calling the exterior light service to stop outputting lights matching the first music.

[0023] A vehicle control system, comprising:

[0024] A first obtaining unit, used for obtaining a lighting control request;

[0025] A second obtaining unit, configured to call a vehicle control service of the vehicle based on the lighting control request;

[0026] A control unit, configured to call a music service of the vehicle when it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, and call a corresponding music interface based on the music service, so as to output a first music based on the music interface;

[0027] A determination unit is used to determine a mode that matches the first music output by the vehicle based on a pre-stored correspondence between music and light modes, call an exterior light service, and call an exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0028] A vehicle control device, comprising:

[0029] Audio output module, used to output music;

[0030] An external light module, used for outputting light;

[0031] A controller, used to obtain a lighting control request;

[0032] Based on the light control request, the vehicle control service of the vehicle is called; if it is determined based on the vehicle control service that the current operating state of the vehicle meets the light control conditions, the vehicle's music service is called, and the corresponding music interface is called based on the music service, so as to output the first music based on the music interface; based on the pre-stored correspondence between music and light modes, the mode matching the first music output by the vehicle is determined, and the exterior light service is called, and the exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0033] A readable storage medium for storing at least one set of instructions;

[0034] The instruction set is used to be called and at least execute the vehicle control method as described in any one of the above items.

[0035] It can be seen from the above technical scheme that the vehicle control method, device and system disclosed in the present application obtain a lighting control request, call the vehicle control service of the vehicle based on the lighting control request, if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, then call the vehicle's music service, call the corresponding music interface based on the music service, so as to output the first music based on the music interface, determine the mode matching the first music output by the vehicle based on the pre-stored correspondence between the music and the lighting mode, call the external light service, and call the external light interface corresponding to the mode matching the first music through the external light service, so as to control the external light output light in the corresponding external light module through the called external light interface. In this solution, if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the music service is called. When the vehicle outputs the first music through the music interface in the music service, the correspondence between the music and the lighting mode is directly found, and the mode of light output by the external light module is determined based on the correspondence, thereby calling the music service, and calling the external light interface corresponding to the mode matching the first music through the music service, so as to output the light matching the first music through the external light interface. In this solution, when it is necessary to add a new mode for the external light module to output light, it is only necessary to adjust the correspondence, thereby realizing rapid iteration of functions and shortening the development cycle; and, the external light module is called through services and interfaces, and different modes of light show output can be realized as long as different combinations of external light interfaces are performed, thereby realizing rapid iteration of functions and shortening the development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 work.

[0037] Figure 1 A flow chart of a vehicle control method disclosed in an embodiment of the present application;

[0038] Figure 2 A flow chart of a vehicle control method disclosed in an embodiment of the present application;

[0039] Figure 3 A flow chart of a vehicle control method disclosed in an embodiment of the present application;

[0040] Figure 4 A flow chart of a vehicle control method disclosed in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of the structure of a vehicle control system disclosed in an embodiment of the present application;

[0042] Figure 6 This is a schematic diagram of the structure of a vehicle control device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The present application discloses a vehicle control method, and its flow chart is as follows: Figure 1 As shown, including:

[0045] Step S11, obtaining a lighting control request;

[0046] Step S12: calling the vehicle control service of the vehicle based on the lighting control request;

[0047] Step S13: if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then the music service of the vehicle is called, and a corresponding music interface is called based on the music service, so as to output the first music based on the music interface;

[0048] Step S14: based on the pre-stored correspondence between music and light modes, determine a mode that matches the first music output by the vehicle, call the exterior light service, and call the exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0049] When controlling the vehicle lights, it at least includes controlling the lights during the driving process of the vehicle, such as: when turning left, controlling the left turn signal to flash, and when braking, controlling the brake light to light up; in addition, the lights can also be controlled to match the light mode of the music. This solution is aimed at controlling the light mode matching the music, and through the SOA architecture, the interface of each external light in the external light module is called to realize the control of different light modes and achieve rapid iteration.

[0050] To obtain the lighting control request, the user may trigger a specific button, and the specific button will output the lighting control request so that the system can control the lighting mode that matches the music based on the specific button; or, the user may input a specific instruction on the human-machine interaction interface HMI so that the system can obtain the lighting control request; or, the user may input voice, and the system may determine, based on analysis of the voice, that the user is requesting the control of the lighting mode that matches the music.

[0051] After receiving the lighting control request, the vehicle control system directly calls the vehicle control service to control the vehicle based on the lighting control request. After receiving the lighting control request, it is first necessary to determine whether the current operating state of the vehicle meets the lighting control conditions. Therefore, it is necessary to first determine the current operating state of the vehicle based on the vehicle control service.

[0052] If it is determined that the current operating state of the vehicle does not meet the lighting control conditions, the control of subsequent lighting modes is terminated, and a prompt message is output to make it clear to the user that the current vehicle does not meet the lighting control conditions; if it is determined that the current operating state of the vehicle meets the lighting control conditions, the external light service is called to call the corresponding external light interface as needed to achieve lighting control. Specifically, the vehicle's music service can be called first, and the corresponding music interface under the music service can be called through the music service to output the first music based on the music interface, that is, the music interface is called to enable the vehicle's audio and video entertainment system to output the first music.

[0053] When the vehicle outputs the first music, the system will determine the lighting mode that matches the first music, that is, the system will pre-store the correspondence between different music and lighting modes. As long as the first music output by the vehicle is one of the pre-stored correspondences, the lighting mode corresponding to the first music can be directly determined through the correspondence, and the external light service can be called. Then, the external light interface under the external light service corresponding to the lighting mode can be directly called to control the external light output light in the external light module corresponding to the called external light interface.

[0054] Specifically, an exterior light interface corresponds to an exterior light in the exterior light module, such as: the first exterior light interface corresponds to the left front high beam, and the second exterior light interface corresponds to the right front high beam. When in a certain lighting mode, it is necessary to call the first exterior light interface and the second exterior light interface, then the first exterior light interface and the second exterior light interface are directly called. When the first exterior light interface is called, the left front high beam is on, and when the second exterior light interface is called, the right front high beam is on.

[0055] That is, different combinations of the underlying basic service interfaces are made through the application layer software to achieve the output of different lighting modes.

[0056] When a new lighting mode needs to be added, the corresponding relationship stored in the system can be directly adjusted. The lighting mode corresponding to the pre-stored music can be modified, or music not stored in the system can be added to correspond to the newly added lighting mode.

[0057] Among them, the vehicle's exterior light module includes the vehicle's exterior lights, such as: left front high beam, right front high beam, left rear brake light, right rear brake light, left front turn signal, right front turn signal, left rear turn signal, right rear turn signal, left front fog light, right front fog light, left rear fog light, right rear fog light, left front daytime lane, right front daytime lane, left front low beam, right front low beam, license plate light, etc. The vehicle's exterior light service includes the external interfaces of the above-mentioned exterior lights. Calling the exterior light service is the prerequisite for calling any exterior light. After calling the exterior light service, the called exterior light interface can control the lighting of the corresponding exterior light.

[0058] Based on the SOA architecture, by calling various basic services in the system, such as vehicle control service, exterior light service, music service, etc., the control of light and music output is realized. When the light mode needs to be changed, different exterior light interfaces are called through the exterior light service to realize the output of different light modes in different modes. By reassembling the service interface, the development cycle is shortened and the iteration speed of functions is improved.

[0059] It should be noted that the vehicle control method disclosed in this embodiment is executed by the vehicle control system, and it is implemented under the SOA architecture, that is, the vehicle control system obtains a lighting control request, the vehicle control system calls the vehicle control service of the vehicle based on the lighting control request, the vehicle control system determines that the current operating state of the vehicle meets the lighting control conditions based on the vehicle control service, calls the vehicle's music service, calls the corresponding music interface based on the music service, so as to output the first music based on the music interface, the vehicle control system determines the mode that matches the first music output by the vehicle based on the correspondence between the pre-stored music and the lighting mode, calls the exterior light service, and calls the exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface;

[0060] It can also be: executed by the vehicle's audio and video entertainment system, that is, the audio and video entertainment system obtains a lighting control request, the audio and video entertainment system calls the vehicle's whole vehicle control service based on the lighting control request, the audio and video entertainment system determines that the vehicle's current operating state meets the lighting control conditions based on the whole vehicle control service, calls the vehicle's music service, calls the corresponding music interface based on the music service, so as to output the first music based on the music interface, the audio and video entertainment system determines the mode that matches the first music output by the vehicle based on the correspondence between pre-stored music and lighting modes, calls the exterior light service, and calls the exterior light interface corresponding to the mode matching the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0061] The vehicle control method disclosed in this embodiment obtains a lighting control request, and calls the vehicle control service of the vehicle based on the lighting control request. If it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the vehicle's music service is called, and the corresponding music interface is called based on the music service to output the first music based on the music interface. Based on the correspondence between the pre-stored music and the lighting mode, the mode matching the first music output by the vehicle is determined, and the exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface. In this solution, if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the music service is called. When the vehicle outputs the first music through the music interface in the music service, the correspondence between the music and the lighting mode is directly found, and the mode of light output by the external light module is determined based on the correspondence, thereby calling the music service, and calling the external light interface corresponding to the mode matching the first music through the music service, so as to output the light matching the first music through the external light interface. In this solution, when it is necessary to add a new mode for the external light module to output light, it is only necessary to adjust the correspondence, thereby realizing rapid iteration of functions and shortening the development cycle; and, the external light module is called through services and interfaces, and different modes of light show output can be realized as long as different combinations of external light interfaces are performed, thereby realizing rapid iteration of functions and shortening the development cycle.

[0062] This embodiment discloses a vehicle control method, and its flow chart is as follows: Figure 2 As shown, including:

[0063] Step S21, obtaining a lighting control request;

[0064] Step S22: calling the vehicle control service of the vehicle based on the lighting control request to obtain at least the current driving state, power state, hazard warning light state and turn signal state of the vehicle;

[0065] Step S23: if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then the music service of the vehicle is called, and a corresponding music interface is called based on the music service, so as to control the vehicle to output the first music based on the music interface;

[0066] Step S24: based on the pre-stored correspondence between music and light modes, determine a mode that matches the first music output by the vehicle, call the exterior light service, and call the exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0067] The current operating status of the vehicle includes at least: the vehicle's current driving status, power status, hazard warning light status and turn signal status. The current operating status of the vehicle may also include other information, such as: braking status, fuel tank valve status, etc. In this embodiment, the vehicle's current driving status, power status, hazard warning light status and turn signal status are used as examples for explanation.

[0068] The current running state of the vehicle meets the lighting control conditions: each state in the current running state of the vehicle meets the lighting control conditions, that is, the current driving state of the vehicle is stopped, the power supply state is in normal power supply state, the hazard warning light state is off, and the turn signal light is also off.

[0069] Only when each of the above states meets the lighting control conditions can the vehicle's safety be guaranteed when the lighting mode matches the music.

[0070] Among them, the current driving state of the vehicle is a stopped state, which can be: determining that the gear position of the vehicle is in the parking gear P gear, or the vehicle is in the parking brake state, or determining that the vehicle is currently in a parking lot through an image acquisition device installed on the vehicle, then determining that the vehicle is currently in a stopped state, etc.

[0071] The power supply is in a normal power supply state, which can be: the power supply state is ON; the hazard warning light is in an off state, which can be: the hazard warning light state is OFF; the turn signal light is in an off state, which can be: the turn signal light state is OFF.

[0072] As long as any state does not meet the lighting control conditions, the system will not call the music interface to control the vehicle to output the first music, or the vehicle can call the music interface to output the first music, but after outputting the first music, the exterior light service and exterior light interface will not be called, and the vehicle's exterior light module will not be controlled to output a lighting mode matching the first music, so as to ensure the safety of the vehicle.

[0073] When there is an operating state that does not meet the lighting control conditions, the system will output a prompt message to remind the user that the lighting mode cannot be started at present to match it with the music. In addition, the prompt message will indicate whether the state that does not meet the lighting control conditions is the vehicle's driving state, power state, danger alarm state and / or turn signal state.

[0074] Among them, the vehicle's current driving status, power status, hazard warning light status and turn signal status are provided by the vehicle control system to the audio and video entertainment system. Specifically, the first core of the vehicle control system can provide basic service interfaces such as the vehicle's power status, driving status, exterior light status, exterior light control, and window control. The first core of the vehicle control system converts the service interface into a signal through S2S and sends it to the second core of the vehicle control system. The second core of the vehicle control system executes the above-mentioned basic services such as the vehicle's power status, driving status, exterior light status, exterior light control, and window control.

[0075] The vehicle control method disclosed in this embodiment obtains a lighting control request, calls the vehicle control service of the vehicle based on the lighting control request, and if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control conditions, then calls the vehicle's music service, calls the corresponding music interface based on the music service, so as to output the first music based on the music interface, determines the mode that matches the first music output by the vehicle based on the pre-stored correspondence between the music and the lighting mode, calls the exterior light service, and calls the exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output of the corresponding exterior light module through the called exterior light interface. In this solution, only when the current running state of the vehicle meets the lighting control conditions will the corresponding service and interface be called to output the lighting mode matching the music, which avoids the situation of dangerous driving of the vehicle caused by the output of the lighting mode when the vehicle's driving state, power state, hazard warning light state and / or turn signal state do not meet the lighting control conditions.

[0076] This embodiment discloses a vehicle control method, and its flow chart is as follows: Figure 3 As shown, including:

[0077] Step S31, obtaining a lighting control request;

[0078] Step S32: calling the vehicle control service of the vehicle based on the lighting control request;

[0079] Step S33: if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then the music service of the vehicle is called, and a corresponding music interface is called based on the music service, so as to output the first music based on the music interface;

[0080] Step S34, determining the music type of the first music output by the vehicle;

[0081] Step S35: determine the first lighting mode corresponding to the music type of the first music based on the pre-stored correspondence between the music and the lighting modes, call the external light service, and call the external light interface of the external light in the external light module required to implement the first lighting mode through the external light service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light required to implement the first lighting mode.

[0082] Determining the music type of the first music output by the vehicle may include: determining the output language of the first music, that is, determining whether the first music is a Chinese song, an English song, or a Japanese song, etc., and outputting lights in different light modes in combination with music with different output voices, so that the user can achieve different experience effects for music in different languages ​​in the music and light show of the vehicle;

[0083] It can also be: determining the music style of the first music, such as: determining that the first music belongs to classical music, pop music, folk music, rock music, disco music, etc., and outputting lights in different lighting modes for different styles of music, so that users can achieve different experience effects for different styles of music in the vehicle's music light show.

[0084] That is, the pre-stored correspondence between music and lighting modes is actually the pre-stored correspondence between different music types and different lighting modes. When it is determined that there is a first music output, the first music is directly analyzed to determine the music type of the first music, so that the pre-stored correspondence can be searched based on the music type to determine the first lighting mode corresponding to the music type of the first music, so that the external light module can be controlled to output light in the first lighting mode.

[0085] Among them, calling the exterior light service can be: when calling the music service and outputting the first music through the music interface under the music service, the system will request the exterior light control start service interface in the vehicle control system through the SOA architecture, such as: high beam service start interface, low beam service start interface, brake light service start interface, etc.

[0086] If the exterior light control start service interface is successfully executed, the vehicle control system will feed back the information of successful service execution to the audio and video entertainment system, and simultaneously convert the service into a signal and send it to the exterior light module, so that the exterior light module can drive the exterior lights that are successfully turned on by the service interface through the CAN signal to light up the high beam, low beam, brake lights and other lights.

[0087] Alternatively, the corresponding relationship between the music type and the different light modes may be stored in the exterior light module. After the system calls the music service and calls the music interface through the music service to control the vehicle to output the first music, the first music is directly sent to the exterior light module. The exterior light module analyzes the first music to determine the music type of the first music, searches for the first light mode corresponding to the music type, and calls the exterior light service, so that the exterior light module turns on and calls the corresponding exterior light interface under the exterior light service to output light in the first light mode.

[0088] Alternatively, the correspondence between the music type and the different lighting modes is stored in the exterior light module. After the system calls the music service and calls the music interface through the music service to control the vehicle to output the first music, the first music is analyzed to determine the music type of the first music. The music type of the first music is then directly sent to the exterior light module. The exterior light module searches for the pre-stored correspondence to determine the first lighting mode corresponding to the music type of the first music, thereby calling the exterior light service, and directly turning on and calling the corresponding exterior light interface under the exterior light service to output light in the first lighting mode.

[0089] It should be noted that when outputting lights in different music modes, different window services can be opened and called synchronously for different music types or different music, and different window interfaces under the window services can be called to control the opening or closing of different windows, so as to enhance the display effect of the music light show on the vehicle.

[0090] The vehicle control method disclosed in this embodiment obtains a lighting control request, calls the vehicle control service based on the lighting control request, and if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, then calls the vehicle's music service, calls the corresponding music interface based on the music service, so as to control the vehicle to output the first music based on the music interface, determine the music type of the first music, determine the first lighting mode corresponding to the music type of the first music based on the pre-stored correspondence between music and lighting modes, call the exterior light service, and call the exterior light interface of the exterior light module that implements the first lighting mode through the exterior light interface of the exterior light in the exterior light module required to implement the first lighting mode, so as to control the exterior light output in the corresponding exterior light module through the exterior light interface of the exterior light in the exterior light module required to implement the first lighting mode. In this solution, when outputting the lighting mode, different lighting modes are matched with the lighting output for different types of music to ensure the user's experience of the music light show on the vehicle.

[0091] This embodiment discloses a vehicle control method, and its flow chart is as follows: Figure 4 As shown, including:

[0092] Step S41, obtaining a lighting control request;

[0093] Step S42: calling the vehicle control service of the vehicle based on the lighting control request;

[0094] Step S43: if it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then the music service of the vehicle is called, and a corresponding music interface is called based on the music service, so as to output the first music based on the music interface;

[0095] Step S44, determining an output frequency band of the first music output by the vehicle;

[0096] Step S45: determine the second lighting mode corresponding to the output frequency band of the first music based on the pre-stored correspondence between the music and the lighting modes, call the external light service, and call the external light interface of the external light in the external light module required to implement the second lighting mode through the external light service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the second lighting mode.

[0097] An output frequency band of the first music output by the vehicle is determined, and the first music may be a complete song or audio, or a part of a complete song or audio.

[0098] If the first music is a complete song or audio, then determining the output frequency band of the first music actually determines the frequency band in which the complete song or audio is located, or the frequency band in which at least a preset proportion of syllables in the complete song or audio are located.

[0099] If all the syllables output in the first music are in the high frequency band, it is determined that the output frequency band of the first music is the high frequency band, and the lighting mode corresponding to the high frequency band is determined, and then the external light service is called, and the corresponding external light interface under the external light service is called to output the light in the lighting mode corresponding to the high frequency band, so as to achieve the synchronous output of the light output in the lighting mode corresponding to the high frequency band and the music in the high frequency band; similarly, if all the syllables output in the first music are in the medium frequency band, it is determined that the output frequency band of the first music is the medium frequency band, and then the lighting mode corresponding to the medium frequency band is determined, and then the external light service is called, and the corresponding external light interface under the external light service is called to output the light in the lighting mode corresponding to the medium frequency band, so as to achieve the synchronous output of the light output in the lighting mode corresponding to the medium frequency band and the music in the medium frequency band; if all the syllables output in the first music are in the low frequency band, it is determined that the output frequency band of the first music is the low frequency band, and then the lighting mode corresponding to the low frequency band is determined, and then the external light service is called, and the corresponding external light interface under the external light service is called to output the light in the lighting mode corresponding to the low frequency band, so as to achieve the synchronous output of the light output in the lighting mode corresponding to the low frequency band and the music in the low frequency band.

[0100] Of course, when confirming the output frequency band, different frequency band ranges can also be set to determine different lighting modes based on different frequency band ranges, without being limited to the three frequency bands of high, medium and low.

[0101] If the first music is a complete song or a part of the audio, the audio and video entertainment system will determine the current frequency band of the music it outputs in real time when calling the corresponding music interface under the music service to output the music. As long as it is determined that the frequency band of the output music has changed, it indicates that it is time to enter the next part. At this time, the lighting mode of the external light module's output light is determined based on the changed frequency band, and the corresponding external light interface under the external light service is called to achieve the effect of matching the light output mode of the external light module with the frequency band of the music output by the audio and video entertainment system.

[0102] That is, if the output frequency band of the first music changes during the process of the vehicle outputting the first music, and is adjusted from the first output frequency band to the second output frequency band, the third lighting mode corresponding to the second output frequency band is determined based on the pre-stored correspondence between the music and the lighting mode, the external light interface under the called external light service is adjusted, and the external light interface of the external light corresponding to the third lighting mode is called to control the vehicle's external light module to output light in the third lighting mode.

[0103] For example: if the music currently output by the audio-visual entertainment system is in the first output frequency band, the corresponding external light module calls the corresponding external light interface to output light in the fourth lighting mode; if the frequency band of the music output by the audio-visual entertainment system changes, from the first output frequency band to the second output frequency band, the corresponding external light module no longer outputs light in the fourth lighting mode, but also calls the external light service, but calls the external light interface corresponding to the third lighting mode under the external light service, thereby outputting light in the third lighting mode.

[0104] For example: if the music currently output by the audio-visual entertainment system is 20Hz, the corresponding left front turn signal and right front turn signal of the exterior light module will flash. If the music output by the audio-visual entertainment system is 50Hz at the next moment, the corresponding left front high beam and right front high beam of the exterior light module will flash.

[0105] The vehicle control method disclosed in this embodiment obtains a lighting control request, calls the vehicle control service of the vehicle based on the lighting control request, and if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, then calls the vehicle's music service, calls the corresponding music interface based on the music service, so as to output the first music based on the music interface, determine the output frequency band of the first music, determine the second lighting mode corresponding to the output frequency band of the first music based on the pre-stored correspondence between music and lighting modes, call the external light service, and call the external light interface of the external light in the external light module required to implement the second lighting mode through the external light interface of the external light in the external light module required to implement the second lighting mode, so as to control the external light output of the corresponding external light module through the external light interface of the external light in the external light module required to implement the second lighting mode. In this solution, when outputting the lighting mode, the music with different output frequency bands is matched with the lighting output of different lighting modes to ensure the user's experience of the music light show on the vehicle.

[0106] Furthermore, the vehicle control method disclosed in this embodiment may also include:

[0107] If the music service is stopped, the vehicle stops outputting the first music, and further stops calling the exterior light service to stop outputting lights matching the first music.

[0108] The vehicle stops outputting the first music, which means that the first music output is completed. At this time, the call of the music service and the music interface stops, and the external light service and the external light interface are no longer called, so the external light module no longer outputs lights in a mode matching the first music, that is, the music light show of the vehicle ends;

[0109] Stop calling the music service and the music interface, that is, the vehicle stops outputting the first music. It can also be: when receiving a specific operation of the user on the vehicle, the first music stops playing. At this time, the call to the external light service and the external light interface will also stop, that is, the external light module will no longer output lights in a mode that matches the first music. Among them, the user's specific operation on the vehicle can be: the user's operation of stopping music playback on the audio-visual entertainment system, or it can be: the user starts the vehicle, at this time, the vehicle's operating state no longer meets the lighting control conditions, therefore, stop calling the external light service and the external light interface to terminate the external light module from outputting lights in a mode that matches the first music; or the user performs an operation of turning on the turn signal, at this time, the vehicle's operating state no longer meets the lighting control conditions, therefore, stop calling the external light service and the external light interface to terminate the external light module from outputting lights in a mode that matches the first music.

[0110] When the audio-visual entertainment system determines to stop calling the exterior light service and the exterior light interface, so that the vehicle's exterior light module stops outputting lights in the mode matched with the first music, that is, it is determined that the vehicle's music light show is over, at this time, the exterior light control shutdown service interface in the vehicle control system can be requested through the SOA architecture, such as: high beam service shutdown interface, low beam service shutdown interface, brake light service shutdown interface, etc., that is, request to shut down the exterior light interface. If the exterior light control shutdown service interface executed by the vehicle control system is successfully executed, the vehicle control system will feedback the success of the service execution to the audio-visual entertainment system.

[0111] At this time, the audio and video entertainment system can restore the human-computer interaction interface to the homepage of a specific application so that the user can again execute a lighting control request for the specific application and enter the vehicle's music light show mode, so that while the audio and video entertainment system outputs music, the exterior light module can output lights in a matching mode in conjunction with the music.

[0112] The audio and video light show mode disclosed in the vehicle control method disclosed in this embodiment is just a recombination of the software components of the underlying basic service interface by the application layer software. When the hardware architecture remains unchanged, there is no need to adjust the signals of the exterior light module, the window module, the power supply system or the gear system, etc. The audio and video entertainment system only needs to call different basic service interfaces according to different functional requirements. The change cycle of each system in the vehicle is small and short, which can better meet the optimization needs of the music and light show mode.

[0113] This embodiment discloses a vehicle control system, and its structural diagram is shown in FIG. Figure 5 As shown, including:

[0114] A first obtaining unit 51 , a second obtaining unit 52 , a control unit 53 and a determining unit 54 .

[0115] The first obtaining unit 51 is used to obtain a lighting control request;

[0116] The second obtaining unit 52 is used to call the normal control service of the vehicle based on the lighting control request;

[0117] The control unit 53 is used to call the music service of the vehicle when it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, and call the corresponding music interface based on the music service, so as to output the first music based on the music interface;

[0118] The determination unit 54 is used to determine a mode that matches the first music output by the vehicle based on the pre-stored correspondence between the music and the light mode, call the exterior light service, and call the exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0119] Furthermore, the second obtaining unit is used to call the normal control service of the vehicle based on the light control request to obtain at least the current driving state, power state, hazard warning light state and turn signal state of the vehicle.

[0120] Furthermore, the control unit is used to call the vehicle's music service when it is determined based on the vehicle control service that the vehicle is currently in a stopped state, the power supply is in a normal power supply state, and the hazard warning lights and turn lights are in an off state, and call the corresponding music interface based on the music service, so as to output the first music based on the music interface.

[0121] Furthermore, the determination unit is used to: determine a music type of first music output by the vehicle; determine a first lighting mode corresponding to the music type of the first music based on a pre-stored correspondence between music and lighting modes, call a music service, and call an external light interface of an external light in a corresponding external light module required to implement the first lighting mode based on the music service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the first lighting mode.

[0122] Furthermore, the determination unit is used to: determine an output frequency band of a first music output by the vehicle; determine a second lighting mode corresponding to the output frequency band of the first music based on a pre-stored correspondence between music and lighting modes, call a music service, and call an external light interface of an external light in a corresponding external light module required to implement the second lighting mode based on the music service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the second lighting mode.

[0123] Furthermore, the determination unit is also used for: if the output frequency band of the first music changes during the process of the vehicle outputting the first music, and is adjusted from the first output frequency band to the second output frequency band, then determining the third lighting mode corresponding to the second output frequency band based on the correspondence between the music and the lighting mode stored in advance, calling the music service, and calling the corresponding external light interface corresponding to the third lighting mode based on the music service, so as to control the external light output light in the corresponding external light module through the called external light interface.

[0124] Furthermore, the determination unit is also used to, if the music service is stopped, cause the vehicle to stop outputting the first music and to stop calling the exterior light service to stop outputting lights matching the first music.

[0125] The vehicle control system disclosed in this embodiment is implemented based on the vehicle control method disclosed in the above embodiment, which will not be described in detail here.

[0126] The vehicle control system disclosed in the present embodiment obtains a lighting control request, and calls the vehicle control service of the vehicle based on the lighting control request. If it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the vehicle's music service is called, and the corresponding music interface is called based on the music service to output the first music based on the music interface. Based on the correspondence between the pre-stored music and the lighting mode, the mode matching the first music output by the vehicle is determined, and the exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface. In this solution, if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the music service is called. When the vehicle outputs the first music through the music interface in the music service, the correspondence between the music and the lighting mode is directly found, and the mode of light output by the external light module is determined based on the correspondence, thereby calling the music service, and calling the external light interface corresponding to the mode matching the first music through the music service, so as to output the light matching the first music through the external light interface. In this solution, when it is necessary to add a new mode for the external light module to output light, it is only necessary to adjust the correspondence, thereby realizing rapid iteration of functions and shortening the development cycle; and, the external light module is called through services and interfaces, and different modes of light show output can be realized as long as different combinations of external light interfaces are performed, thereby realizing rapid iteration of functions and shortening the development cycle.

[0127] This embodiment discloses a vehicle control device, and its structural schematic diagram is shown in FIG. Figure 6 As shown, including:

[0128] Audio output module 61 , exterior light module 62 and controller 63 .

[0129] Wherein, the audio output module 61 is used to output music;

[0130] The external light module 62 is used to output light;

[0131] The controller 63 is used to obtain a light control request and call the vehicle control service of the vehicle based on the light control request; if it is determined based on the vehicle control service that the current operating state of the vehicle meets the light control conditions, the vehicle's music service is called, and the music interface is called based on the music service so as to output the first music based on the music interface; based on the pre-stored correspondence between music and light modes, the mode matching the first music output by the vehicle is determined, the exterior light service is called, and the exterior light interface corresponding to the mode matching the first music is called through the exterior light service so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

[0132] The vehicle control device disclosed in this embodiment is implemented based on the vehicle control method disclosed in the above embodiment, which will not be described in detail here.

[0133] The vehicle control device disclosed in this embodiment obtains a lighting control request, and calls the vehicle control service of the vehicle based on the lighting control request. If it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the vehicle's music service is called, and the corresponding music interface is called based on the music service to output the first music based on the music interface. Based on the correspondence between the pre-stored music and the lighting mode, the mode matching the first music output by the vehicle is determined, and the exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface. In this solution, if it is determined based on the vehicle control service that the current operating state of the vehicle meets the lighting control conditions, the music service is called. When the vehicle outputs the first music through the music interface in the music service, the correspondence between the music and the lighting mode is directly found, and the mode of light output by the external light module is determined based on the correspondence, thereby calling the music service, and calling the external light interface corresponding to the mode matching the first music through the music service, so as to output the light matching the first music through the external light interface. In this solution, when it is necessary to add a new mode for the external light module to output light, it is only necessary to adjust the correspondence, thereby realizing rapid iteration of functions and shortening the development cycle; and, the external light module is called through services and interfaces, and different modes of light show output can be realized as long as different combinations of external light interfaces are performed, thereby realizing rapid iteration of functions and shortening the development cycle.

[0134] An embodiment of the present application also provides a readable storage medium on which a computer program is stored. The computer program is loaded and executed by a processor to implement the various steps of the above-mentioned vehicle control method. The specific implementation process can refer to the description of the corresponding part of the above-mentioned embodiment, and this embodiment will not repeat it.

[0135] The present application also proposes a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device executes the method provided in various optional implementations of the vehicle control method or the vehicle control device. The specific implementation process can refer to the description of the corresponding embodiment above, and will not be repeated here.

[0136] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0137] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.

[0138] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0139] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A vehicle control method, characterized in that: include: Get lighting control request; Invoking a vehicle control service of the vehicle based on the lighting control request; If it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then calling the vehicle's music service, and calling a corresponding music interface based on the music service, so as to output the first music based on the music interface; Based on the correspondence between music and light modes, a mode matching the first music output by the vehicle is determined, and the exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

2. The method according to claim 1, characterized in that The calling of the vehicle control service of the vehicle based on the lighting control request includes: Based on the light control request, the vehicle control service of the vehicle is called to obtain at least the current driving state, power state, hazard warning light state and turn signal state of the vehicle.

3. The method according to claim 2, characterized in that If it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, calling the vehicle's music service, and calling the corresponding music interface based on the music service, so as to output the first music based on the music interface, comprising: If it is determined based on the vehicle control service that the vehicle is currently in a stopped state, the power supply is in a normal power supply state, and the hazard warning lights and turn lights are in an off state, the vehicle's music service is called, and the corresponding music interface is called based on the music service to output the first music based on the music interface.

4. The method according to claim 1, characterized in that: The determining a mode matching the first music output by the vehicle, calling an exterior light service, and calling an exterior light interface corresponding to the mode matching the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface, includes: determining a music genre of a first music output by the vehicle; Based on the pre-stored correspondence between music and lighting modes, a first lighting mode corresponding to the music type of the first music is determined, and a music service is called. The external light interface of the external light in the external light module required to implement the first lighting mode is called through the music service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the first lighting mode.

5. The method according to claim 1, characterized in that: The determining a mode matching the first music output by the vehicle, calling an exterior light service, and calling an exterior light interface corresponding to the mode matching the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface, includes: Determining an output frequency band of a first music output by the vehicle; Based on the pre-stored correspondence between music and light modes, a second light mode corresponding to the output frequency band of the first music is determined, and an external light service is called. The external light interface of the external light in the external light module required to implement the second light mode is called through the external light service, so as to control the output light of the external light in the corresponding external light module through the external light interface of the external light in the external light module required to implement the second light mode.

6. The method according to claim 5, characterized in that Also includes: If the output frequency band of the first music changes during the process of the vehicle outputting the first music, and is adjusted from the first output frequency band to the second output frequency band, a third lighting mode corresponding to the second output frequency band is determined based on the correspondence between the music and the lighting modes stored in advance, and the external light service is called. The external light interface corresponding to the third lighting mode is called through the external light service, so as to control the external light output light in the corresponding external light module through the called external light interface.

7. The method according to claim 1, characterized in that Also includes: If the music service is stopped from being called, the vehicle stops outputting the first music and stops calling the exterior light service to stop outputting lights matching the first music.

8. A vehicle control system, characterized in that: include: A first obtaining unit, used for obtaining a lighting control request; A second obtaining unit, configured to call a vehicle control service of the vehicle based on the lighting control request; A control unit, configured to call a music service of the vehicle when it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, and call a corresponding music interface based on the music service, so as to output a first music based on the music interface; A determination unit is used to determine a mode that matches the first music output by the vehicle based on a pre-stored correspondence between music and light modes, call an exterior light service, and call an exterior light interface corresponding to the mode that matches the first music through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

9. A vehicle control device, characterized in that: include: Audio output module, used to output music; An external light module, used for outputting light; A controller, used to obtain a lighting control request; Invoking a vehicle control service of the vehicle based on the lighting control request; If it is determined based on the vehicle control service that the current running state of the vehicle meets the lighting control condition, then calling the vehicle's music service, and calling a corresponding music interface based on the music service, so as to output the first music based on the music interface; Based on the pre-stored correspondence between music and light modes, a mode matching the first music output by the vehicle is determined, and an exterior light service is called. The exterior light interface corresponding to the mode matching the first music is called through the exterior light service, so as to control the exterior light output light in the corresponding exterior light module through the called exterior light interface.

10. A readable storage medium for storing at least one set of instruction sets; The instruction set is used to be called and at least execute the vehicle control method according to any one of claims 1-7.