Vehicle light control file generation method, device, medium, equipment and program product

By receiving and converting music files to generate vehicle light show control files, the problems of manual operation dependence and format adaptation in the existing technology are solved, and the rapid generation and wide adaptation of vehicle light show functions are realized, simplifying the configuration process and improving efficiency .

CN114179710BActive Publication Date: 2024-12-27ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111545338.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-12-27
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

The generation of existing vehicle light show control files depends on manual operation, and the configuration is complex and cumbersome, resulting in high labor costs, long time periods, and difficulty in adapting to the control file formats of different vehicles, limiting the widespread promotion of functions.

Method used

By receiving file generation requests from the main application server, obtaining the music file to be converted from the file storage server, and converting it into the target light control file using the preset file converter, including control package sequence and frame parameters, supporting the lighting of different vehicles Control and adapt control files of different vehicles through configuration conversion protocols.

Benefits of technology

It realizes the rapid generation and wide adaptation of vehicle light show control files, reduces manual operation dependence, simplifies the configuration process, and improves the applicability and efficiency of functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114179710B_ABST
    Figure CN114179710B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, medium, equipment and program product for generating a headlight control file. The method provided in the embodiment of the present application receives a file generation request sent by a main application server, then obtains a music file to be converted corresponding to the music file information to be converted from a file storage server according to the file generation request, and then uses a preset file converter to convert the music file to be converted into a target headlight control file, so that the target headlight control file generated after conversion can be used to control the headlights of the target vehicle. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated headlight control file has a wider adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, medium, equipment and program product for generating a vehicle light control file. Background Art

[0002] Currently, with the development of vehicle technology, more and more newly developed electric vehicles are equipped with light show functions.

[0003] Among them, the light show function is currently only customized for exterior lights, which requires a long labor cost and time cycle, and the project team needs to have separate manpower. In addition, the light show function is mostly applicable in static scenes, which requires a large amount of content to support it. In the existing technology, the generation of vehicle light show control files mostly relies on professionals to edit each light frame by frame, which is highly dependent on manual operation.

[0004] It can be seen that the generation of the existing car light control file of the light show function is highly dependent on manual operation, and the configuration process is complicated and cumbersome, which is not conducive to the wide promotion and application of this function. Summary of the invention

[0005] The embodiments of the present application provide a method, apparatus, medium, device and program product for generating a vehicle light control file to ensure rapid generation and adaptation of a vehicle light control file for a light show function.

[0006] In a first aspect, an embodiment of the present application provides a method for generating a vehicle light control file, comprising:

[0007] Receiving a file generation request sent by a main application server, wherein the file generation request includes information of a music file to be converted;

[0008] Acquiring the music file to be converted corresponding to the music file information to be converted from the file storage server according to the file generation request;

[0009] The music file to be converted is converted into a target vehicle light control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert a preset music format into a target binary file.

[0010] In a possible design, the target binary file includes a control packet sequence, and each control packet in the control packet sequence is used to control at least one vehicle light on a vehicle to be controlled.

[0011] In a possible design, each of the control packets includes multiple control frames, and each of the control frames includes a time parameter and a vehicle light control parameter.

[0012] In a possible design, the time parameters include: timestamp, light on time and cycle time, and the headlight control parameters include: headlight mode, maximum brightness and minimum brightness.

[0013] In a possible design, the parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum value bit field, and a minimum value bit field.

[0014] In a possible design, the vehicle light control file generation method further includes:

[0015] A change instruction is obtained, where the change instruction is used to modify various parameters in the control frame so that the changed control frame is adapted to the headlights on another vehicle to be controlled.

[0016] In a possible design, after converting the music file to be converted into a target vehicle light control file by using a preset file converter, the method further includes:

[0017] Sending the target vehicle light control file to the file storage server; and / or,

[0018] Send the target vehicle light control file to a target email address.

[0019] In a second aspect, an embodiment of the present application provides a vehicle light control file generating device, comprising:

[0020] A receiving module, used for receiving a file generation request sent by a main application server, wherein the file generation request includes information of a music file to be converted;

[0021] A processing module, configured to obtain the music file to be converted corresponding to the music file information to be converted from a file storage server according to the file generation request;

[0022] The processing module is also used to convert the music file to be converted into a target headlight control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert the preset music format into a target binary file.

[0023] In a possible design, the target binary file includes a control packet sequence, and each control packet in the control packet sequence is used to control at least one vehicle light on a vehicle to be controlled.

[0024] In a possible design, each of the control packets includes multiple control frames, and each of the control frames includes a time parameter and a vehicle light control parameter.

[0025] In a possible design, the time parameters include: timestamp, light on time and cycle time, and the headlight control parameters include: headlight mode, maximum brightness and minimum brightness.

[0026] In a possible design, the parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum value bit field, and a minimum value bit field.

[0027] In one possible design, the device further includes:

[0028] The acquisition module is also used to acquire a change instruction, where the change instruction is used to modify various parameters in the control frame so that the changed control frame is adapted to the headlights on another vehicle to be controlled.

[0029] In one possible design, the device further includes:

[0030] A sending module is used to send the target vehicle light control file to the file storage server; and / or send the target vehicle light control file to a target email address.

[0031] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0032] Processor; and

[0033] a memory for storing a computer program for the processor;

[0034] The processor is configured to implement any one of the vehicle light control file generation methods in the first aspect by executing the computer program.

[0035] In a fourth aspect, an embodiment of the present application further provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements any one of the vehicle light control file generation methods in the first aspect.

[0036] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements any one of the vehicle light control file generation methods in the first aspect.

[0037] The embodiments of the present application provide a method, apparatus, medium, device and program product for generating a headlight control file. The method receives a file generation request sent by a main application server, obtains a music file to be converted corresponding to the music file information to be converted from a file storage server according to the file generation request, and then uses a preset file converter to convert the music file to be converted into a target headlight control file, so that the target headlight control file generated after conversion can be used to control the lights of the target vehicle. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated headlight control file has a wider adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 is a schematic diagram of an application scenario of a method for generating a vehicle light control file according to an exemplary embodiment of the present application;

[0040] Figure 2 is a flow chart of a method for generating a vehicle light control file according to an exemplary embodiment of the present application;

[0041] Figure 3 is a schematic diagram of the architecture of a vehicle light control file according to an exemplary embodiment of the present application;

[0042] Figure 4 is a schematic diagram of an application scenario of a method for generating a vehicle light control file according to another exemplary embodiment of the present application;

[0043] Figure 5 is a flow chart of a method for generating a vehicle light control file according to another exemplary embodiment of the present application;

[0044] Figure 6 is a structural schematic diagram of a vehicle light control file generating device according to an exemplary embodiment of the present application;

[0045] Figure 7 is a structural schematic diagram of a vehicle light control file generating device according to another exemplary embodiment of the present application;

[0046] Figure 8 It is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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.

[0048] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0049] With the development of the automobile industry, more and more car companies have equipped newly developed vehicles with light show functions in order to enrich vehicle functions. At present, most light shows usually require customized development, which requires long manpower costs and time cycles, and the project team needs to have separate manpower to be equipped. In the current customized development, the generation of vehicle light show control files mostly depends on the supplier's professionals to edit each headlight frame by frame, that is, it is strongly dependent on manual operation. In addition, due to the differences in conversion protocols adopted by different suppliers, if the light control file structure of the supplier's controller in the custom light show solution is different from the song description file format sent by the mobile phone, it needs to be converted through a converter to support light control. However, since the conversion process is too dependent on the manual configuration of the supplier, the generation of the headlight control file of the existing light show function is too dependent on manual operation, and the configuration process is complicated and cumbersome, which is not conducive to the widespread promotion and application of this function.

[0050] In order to overcome the problems existing in the above-mentioned prior art regarding the generation of vehicle light show control files, the present application aims to receive a file generation request sent by a main application server, and then, according to the file generation request, obtain the music file to be converted corresponding to the music file information to be converted from a file storage server, and then use a preset file converter to convert the music file to be converted into a target car light control file, so that the target car light control file generated after the conversion can be used to control the lights of the target vehicle. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated car light control file has a wider adaptability.

[0051] Figure 1 FIG. 1 is a schematic diagram of an application scenario of a method for generating a vehicle light control file according to an exemplary embodiment of the present application. Figure 1 As shown, the method for generating a headlight control file provided in this embodiment can be applied to a platform side, wherein a binary file converter is provided in the platform side. It is worth noting that the binary file converter can be configured with only one conversion protocol or with a few conversion protocols, so that music files can be converted into different binary files through different conversion protocols, thereby meeting the headlight control requirements of vehicles of different OEMs and different models.

[0052] In addition, the platform end can be connected to the main application server and the file storage server respectively. Among them, the main application server can be a server for receiving user requests for target music and generating corresponding car light control files. In a possible implementation, the main application server can be connected to the user's terminal device (for example, a mobile phone) for communication. When the user needs to generate a car light control file for a music file to be converted (for example, song A), the user can initiate a request to the main application server through the terminal device.

[0053] After receiving the user request, the main application server sends a file generation request to the binary file converter in the platform. At this time, the binary file converter can obtain the music file to be converted corresponding to the user request (for example, the music description information json file) from the file storage server, and use the conversion algorithm in the binary file converter to convert it into a target headlight control file (for example, a binary file) that can be used to control the headlights. After generating the binary file for controlling the headlights, the target headlight control file can be uploaded to the file storage server for storage, so that the target vehicle can obtain the file from the file storage server later, thereby controlling the headlights of the target vehicle for the corresponding light show function.

[0054] Figure 2FIG. 1 is a flow chart of a method for generating a vehicle light control file according to an exemplary embodiment of the present application. Figure 2 As shown, the method for generating a vehicle light control file provided in this embodiment includes:

[0055] Step 101: Receive a file generation request sent by a main application server.

[0056] The main application server can be connected to the user's terminal device (e.g., mobile phone) for communication. When the user needs to generate a car light control file for a music file to be converted (e.g., song A), the user can initiate a request to the main application server through the terminal device. In this step, after receiving the user's request, the main application server sends a file generation request to the binary file converter in the platform end. The file generation request may include information about the music file to be converted, for example, information about "song A".

[0057] Step 102: Obtain the music file to be converted corresponding to the music file information to be converted from the file storage server according to the file generation request.

[0058] After receiving the user request, the main application server sends a file generation request to the preset file converter (e.g., binary file converter) in the platform end. At this time, the preset file converter can obtain the music file to be converted corresponding to the user request (e.g., music description information json file) from the file storage server.

[0059] Step 103: Use a preset file converter to convert the music file to be converted into a target vehicle light control file.

[0060] The music file to be converted is converted into a target vehicle light control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert the preset music format into a target binary file.

[0061] In this step, the light control description file corresponding to the music file to be converted is converted into a light control binary file for a specific controller through a conversion tool, so as to ensure that if the light control file needs to be replaced later, it can be quickly adapted. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated vehicle light control file has a wider adaptability.

[0062] Figure 3 FIG. 1 is a schematic diagram of the structure of a vehicle light control file according to an exemplary embodiment of the present application. Figure 3As shown, the target binary file (e.g., binary file format) for controlling the target vehicle lights to perform a light show operation may include a control packet sequence, wherein each control packet in the control packet sequence is used to control at least one light on the vehicle to be controlled. Figure 3 As shown, when controlling the light show of a vehicle, a class (e.g., the Light class) can be defined first, and the class is used to control the 45 lights to be controlled on the target vehicle. A control package sequence (e.g., the Package class) is configured under the class, and multiple control packages are configured under the control package sequence (e.g., Package 1 to Package 45 are configured under the Package class), and each control package is used to control one of the 45 lights to be controlled.

[0063] In addition, each control packet includes multiple control frames, each control frame includes time parameters and headlight control parameters. Optionally, the time parameters include: timestamp, light on time and cycle time, and the headlight control parameters include: headlight mode, maximum brightness and minimum brightness.

[0064] The parameters in each control frame may include: a name bit field, a start bit field, a length bit field, a maximum value bit field, and a minimum value bit field.

[0065] When controlling the light show of different vehicles, the generated binary file can be adapted to the vehicle's headlight control by configuring the parameters in each control frame according to the requirements of the corresponding vehicle. Specifically, a change instruction can be obtained, wherein the change instruction is used to modify the parameters in the control frame so that the changed control frame is adapted to the headlights of another vehicle to be controlled. It can be seen that the above-mentioned architecture setting of the headlight control file can make the generated headlight control file have better adaptability.

[0066] In order to explain more intuitively, the architecture of the above-mentioned headlight control file can be specifically described by taking a possible implementation as an example. There are 45 headlights on the vehicle. During the time interval of the entire song, each light needs to be controlled by a Package. Each Package is divided into several (N) time slices, and each time slice is described by a frame (Frame). The information of each frame consists of 6 elements: timestamp: timestamp, mode: light mode, offsetTime: light on time, continueTime: a cycle time, lowerIlluminance: minimum brightness, upperIlluminance: maximum brightness. The description of each element consists of 5 bit fields: name: Field Name, starting bit: start_bit, bit length: length, maximum value: max_value, minimum value: min_value. If you need to make the changed control frame adapt to the headlights on another vehicle to be controlled, you can modify the 5 bit fields in each frame information to make adaptive adjustments. Compared with the existing manual adjustment, in this embodiment, by defining the structure of the vehicle light control file, the generated vehicle light control file has wider adaptability.

[0067] In this embodiment, a file generation request sent by a main application server is received, and then, according to the file generation request, a music file to be converted corresponding to the music file information to be converted is obtained from a file storage server, and then a preset file converter is used to convert the music file to be converted into a target headlight control file, so that the target headlight control file generated after the conversion can be used to control the headlights of the target vehicle. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated headlight control file has a wider adaptability.

[0068] Figure 3 FIG. 1 is a schematic diagram of the structure of a vehicle light control file according to an exemplary embodiment of the present application. Figure 3As shown, the method for generating a car light control file provided in this embodiment is applied to a platform end, wherein a binary file converter is provided in the platform end. The platform end can be connected to a main application server and a file storage server respectively. Among them, the main application server can be a server for accepting a user's request for a target music to generate a corresponding car light control file. After receiving the user's request, the main application server sends a file generation request to the binary file converter in the platform end. At this time, the binary file converter can obtain the music file to be converted corresponding to the user's request from the file storage server (for example: a music description information json file), and use the conversion algorithm in the binary file converter to convert it into a target car light control file (for example: a binary file) that can be used to control the car light. After generating a binary file for controlling the car light, the target car light control file can be uploaded to the file storage server for storage, so that the subsequent target vehicle can obtain the file from the file storage server, thereby controlling the corresponding light show function of the target vehicle's car light. In addition, the platform end can also be deployed to a server to support remote calls using the http protocol, and the caller can implement the conversion process and receive an email notification and the generated binary file at the same time. If the caller is a developer, the developer may further edit the received binary file to further manually adjust the file.

[0069] Figure 4 It is a schematic diagram of an application scenario of a method for generating a vehicle light control file according to another exemplary embodiment of the present application.

[0070] Figure 5 FIG. 1 is a flow chart of a method for generating a vehicle light control file according to another exemplary embodiment of the present application. Figure 5 As shown, the method for generating a vehicle light control file provided in this embodiment includes:

[0071] Step 201: Receive a file generation request sent by a main application server.

[0072] The main application server can be connected to the user's terminal device (e.g., mobile phone) for communication. When the user needs to generate a car light control file for a music file to be converted (e.g., song A), the user can initiate a request to the main application server through the terminal device. In this step, after receiving the user's request, the main application server sends a file generation request to the binary file converter in the platform end. The file generation request may include information about the music file to be converted, for example, information about "song A".

[0073] Step 202: Acquire the music file to be converted corresponding to the music file information to be converted from the file storage server according to the file generation request.

[0074] After receiving the user request, the main application server sends a file generation request to the preset file converter (e.g., binary file converter) in the platform end. At this time, the preset file converter can obtain the music file to be converted corresponding to the user request (e.g., music description information json file) from the file storage server.

[0075] Step 203: Use a preset file converter to convert the music file to be converted into a target vehicle light control file.

[0076] The music file to be converted is converted into a target vehicle light control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert the preset music format into a target binary file.

[0077] In this step, the light control description file corresponding to the music file to be converted is converted into a light control binary file for a specific controller through a conversion tool, so as to ensure that if the light control file needs to be replaced later, it can be quickly adapted. In addition, since the preset file converter includes at least one conversion protocol, by configuring different conversion protocols in the preset file converter, the music file information to be converted can also be converted into a control file that can be adapted to different vehicles, so that the generated vehicle light control file has a wider adaptability.

[0078] Step 204: Send the target vehicle light control file to a file storage server.

[0079] After generating the binary file for controlling the lights, the target lights control file can be uploaded to the file storage server for storage, so that the target vehicle can obtain the file from the file storage server later, thereby controlling the lights of the target vehicle for the corresponding light show function. In addition, the platform can also be deployed to the server to support remote calls via the http protocol. The caller can implement the conversion process and receive email notifications and the generated binary file at the same time. If the caller is a developer, the developer can further edit the received binary file to further manually adjust the file.

[0080] Step 205: Send the target vehicle light control file to the vehicle to be controlled to control at least one vehicle light on the vehicle to be controlled.

[0081] In addition, a target vehicle light control file may be sent to the vehicle to be controlled to control at least one vehicle light on the vehicle to be controlled, so that the vehicle to be controlled controls the light show according to the received target vehicle light control file.

[0082] Figure 6 FIG. 1 is a schematic diagram of a structure of a vehicle light control file generating device according to an exemplary embodiment of the present application. Figure 6As shown, the vehicle light control file generating device 300 provided in this embodiment includes:

[0083] The receiving module 301 is used to receive a file generation request sent by the main application server, wherein the file generation request includes information of the music file to be converted;

[0084] The processing module 302 is used to obtain the music file to be converted corresponding to the music file information to be converted from the file storage server according to the file generation request;

[0085] The processing module 302 is further used to convert the music file to be converted into a target headlight control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert the preset music format into a target binary file.

[0086] In a possible design, the target binary file includes a control packet sequence, and each control packet in the control packet sequence is used to control at least one vehicle light on a vehicle to be controlled.

[0087] In a possible design, each of the control packets includes multiple control frames, and each of the control frames includes a time parameter and a vehicle light control parameter.

[0088] In a possible design, the time parameters include: timestamp, light on time and cycle time, and the headlight control parameters include: headlight mode, maximum brightness and minimum brightness.

[0089] In a possible design, the parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum value bit field, and a minimum value bit field.

[0090] exist Figure 6 Based on the embodiment shown, Figure 7 FIG. 1 is a schematic diagram of a structure of a vehicle light control file generating device according to another exemplary embodiment of the present application. Figure 7 As shown, the vehicle light control file generating device 300 provided in this embodiment further includes:

[0091] The acquisition module 303 is further used to acquire a change instruction, where the change instruction is used to modify various parameters in the control frame so that the changed control frame is adapted to the headlights on another vehicle to be controlled.

[0092] In a possible design, the vehicle light control file generating device 300 further includes:

[0093] The sending module 304 is used to send the target vehicle light control file to the file storage server; and / or send the target vehicle light control file to a target email address.

[0094] The external class loading device provided in this embodiment can be used to execute the steps in the above method embodiment. For details not disclosed in the device embodiment of this application, please refer to the method embodiment of this application.

[0095] Figure 8 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. Figure 8 As shown, this embodiment provides an electronic device 400, including:

[0096] Processor 401; and

[0097] A memory 402, used to store executable instructions of the processor, and the memory may also be a flash memory;

[0098] The processor 401 is configured to execute each step in the above method by executing the executable instructions.

[0099] Optionally, the memory 402 may be independent or integrated with the processor 401 .

[0100] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:

[0101] The bus 403 is used to connect the processor 401 and the memory 402 .

[0102] This embodiment further provides a readable storage medium, in which a computer program is stored. When at least one processor of an electronic device executes the computer program, the electronic device executes each step in the above method.

[0103] This embodiment also provides a program product, which includes a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device implements each step in the above method.

[0104] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a vehicle light control file, characterized in that: include: Receiving a file generation request sent by a main application server, wherein the file generation request includes information of a music file to be converted; Acquire the music file to be converted corresponding to the music file information to be converted from the file storage server according to the file generation request, wherein the music file to be converted is a music description information json file; The music file to be converted is converted into a target headlight control file using a preset file converter, wherein the preset file converter includes at least one conversion protocol, and the conversion protocol is used to convert the preset music format into a target binary file, wherein the target binary file includes a control packet sequence, and each control packet in the control packet sequence is used to control at least one headlight on the vehicle to be controlled.

2. The method for generating a vehicle light control file according to claim 1, characterized in that: Each of the control packets includes a plurality of control frames, and each of the control frames includes a time parameter and a vehicle light control parameter.

3. The method for generating a vehicle light control file according to claim 2, characterized in that: The time parameters include: timestamp, light on time and cycle time, and the headlight control parameters include: headlight mode, maximum brightness and minimum brightness.

4. The method for generating a vehicle light control file according to claim 2 or 3, characterized in that: The parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum value bit field and a minimum value bit field.

5. The method for generating a vehicle light control file according to claim 4, characterized in that: Also includes: A change instruction is obtained, where the change instruction is used to modify various parameters in the control frame so that the changed control frame is adapted to the headlights on another vehicle to be controlled.

6. The method for generating a vehicle light control file according to any one of claims 1 to 3, characterized in that: After the music file to be converted is converted into a target vehicle light control file by using a preset file converter, the method further includes: Sending the target vehicle light control file to the file storage server; and / or, Send the target vehicle light control file to a target email address.

7. A vehicle light control file generating device, characterized in that: include: A receiving module, used for receiving a file generation request sent by a main application server, wherein the file generation request includes information of a music file to be converted; A processing module, used for acquiring the music file to be converted corresponding to the music file information to be converted from a file storage server according to the file generation request, wherein the music file to be converted is a music description information json file; The processing module is also used to convert the music file to be converted into a target headlight control file using a preset file converter, the preset file converter includes at least one conversion protocol, the conversion protocol is used to convert the preset music format into a target binary file, the target binary file includes a control packet sequence, each control packet in the control packet sequence is used to control at least one headlight on the vehicle to be controlled.

8. An electronic device, characterized in that: include: processor; as well as a memory for storing a computer program for the processor; The processor is configured to implement the vehicle light control file generation method according to any one of claims 1 to 6 by executing the computer program.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a vehicle light control file according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a vehicle light control file according to any one of claims 1 to 6 is implemented.