CN114179710A - Vehicle lamp control file generation method, device, medium, equipment and program product - Google Patents

Vehicle lamp control file generation method, device, medium, equipment and program product Download PDF

Info

Publication number
CN114179710A
CN114179710A CN202111545338.1A CN202111545338A CN114179710A CN 114179710 A CN114179710 A CN 114179710A CN 202111545338 A CN202111545338 A CN 202111545338A CN 114179710 A CN114179710 A CN 114179710A
Authority
CN
China
Prior art keywords
file
lamp control
control
converted
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111545338.1A
Other languages
Chinese (zh)
Inventor
韩泽文
陈泽
吴欣桐
王海波
金晶
于捷
徐汉生
张建民
吴世伟
高山崎
李国庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Geely Automobile Research Institute Ningbo Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202111545338.1A priority Critical patent/CN114179710A/en
Publication of CN114179710A publication Critical patent/CN114179710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D25/00Control of light, e.g. intensity, colour or phase
    • G05D25/02Control of light, e.g. intensity, colour or phase characterised by the use of electric means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q2300/00Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
    • B60Q2300/05Special features for controlling or switching of the light beam

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides a vehicle lamp control file generation method, a vehicle lamp control file generation device, a vehicle lamp control file generation medium, a vehicle lamp control device and a program product. According to the method provided by the embodiment of the application, the file generation request sent by the main application server is received, then the music file to be converted corresponding to the music file information to be converted is obtained from the file storage server according to the file generation request, and then the preset file converter is utilized to convert the music file to be converted into the target car lamp control file, so that the target car lamp control file generated after conversion can be used for controlling the light of the car lamp of the target car.

Description

Vehicle lamp control file generation method, device, medium, equipment and program product
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a medium, a device, and a program product for generating a vehicle lamp control file.
Background
Currently, with the development of vehicle technology, more and more newly developed electric vehicles are equipped with a light show function.
The light show function is only customized development for the outer lamp at present, the required labor cost and the time period are long, and a project group needs to be equipped by independent manpower. Moreover, the application scene of the light show function is mostly applicable when static, and a large amount of content is needed to be supported. In the prior art, generation of a vehicle light show control file mostly depends on frame-by-frame editing of each vehicle light by a professional, namely, the generation of the vehicle light show control file strongly depends on manual operation.
It is thus clear that the car light control file of the beautiful function of current light generates and relies on manual operation by force, and the configuration process is complicated and loaded down with trivial details, is unfavorable for the extensive popularization and application of this function.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium, equipment and a program product for generating a vehicle lamp control file, so as to ensure the rapid generation and adaptation of the vehicle lamp control file with the function of light show.
In a first aspect, an embodiment of the present application provides a vehicle lamp control file generating method, including:
receiving a file generation request sent by a main application server, wherein the file generation request comprises information of music files to be converted;
acquiring 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 converting the music file to be converted into a target car lamp control file by using a preset file converter, wherein the preset file converter comprises at least one conversion protocol, and the conversion protocol is used for converting a preset music format into a target binary file.
In one possible design, the target binary file includes a sequence of control packets, each control packet in the sequence of control packets for controlling at least one vehicle light on a vehicle to be controlled.
In one possible design, 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.
In one possible design, the time parameter includes: timestamp, lamp length of time and cycle duration, car light control parameter includes: vehicle light mode, brightness maximum, and brightness minimum.
In one possible design, the various parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum bit field, and a minimum bit field.
In a possible design, the method for generating a vehicle lamp control file further includes:
and acquiring a change instruction, wherein the change instruction is used for modifying each parameter in the control frame so as to enable the changed control frame to be adapted to the lamp of another vehicle to be controlled.
In a possible design, after the converting the music file to be converted into the target vehicle lamp control file by using the preset file converter, the method further includes:
sending the target vehicle lamp control file to the file storage server; and/or the presence of a gas in the gas,
and sending the target vehicle lamp control file to a target mailbox address.
In a second aspect, an embodiment of the present application provides a vehicle lamp control file generating device, which includes
The system comprises a receiving module, a converting module and a converting module, wherein the receiving module is used for receiving a file generating request sent by a main application server, and the file generating request comprises information of a music file to be converted;
the processing module is 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;
the processing module is further configured to convert the music file to be converted into a target vehicle lamp control file by using a preset file converter, where 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.
In one possible design, the target binary file includes a sequence of control packets, each control packet in the sequence of control packets for controlling at least one vehicle light on a vehicle to be controlled.
In one possible design, 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.
In one possible design, the time parameter includes: timestamp, lamp length of time and cycle duration, car light control parameter includes: vehicle light mode, brightness maximum, and brightness minimum.
In one possible design, the various parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum bit field, and a minimum bit field.
In one possible design, the apparatus further includes:
and the obtaining module is also used for obtaining a change instruction, and the change instruction is used for modifying each parameter in the control frame so as to enable the changed control frame to be adapted to the vehicle lamp on another vehicle to be controlled.
In one possible design, the apparatus further includes:
the sending module is used for sending the target vehicle lamp control file to the file storage server; and/or sending the target vehicle lamp control file to a target mailbox address.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
a processor; and
a memory for storing a computer program for the processor;
wherein the processor is configured to implement any one of the vehicle lamp control file generation methods in the first aspect by executing the computer program.
In a fourth aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the vehicle lamp control file generation methods in the first aspect.
In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements any one of the vehicle lamp control file generation methods in the first aspect.
The method, the device, the medium, the equipment and the program product for generating the vehicle lamp control file provided by the embodiment of the application receive the file generation request sent by the main application server, then, according to the file generation request, the music file to be converted corresponding to the information of the music file to be converted is obtained from the file storage server, then the preset file converter is utilized to convert the music file to be converted into the target vehicle lamp control file, so that the target lamp control file generated after the conversion can be used for lamp control of the lamps of the target vehicle, and further, because the preset file converter comprises at least one conversion protocol, music file information to be converted can be converted into control files capable of being adapted to different vehicles by configuring different conversion protocols in the preset file converter, and the generated vehicle lamp control files have wider adaptability.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario of a vehicle lamp control file generation method according to an example embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a vehicle light control file generation method according to an exemplary embodiment of the present application;
FIG. 3 is an architectural schematic diagram of a vehicle light control file shown herein according to an example embodiment;
fig. 4 is a schematic view of an application scenario of a vehicle lamp control file generation method according to another exemplary embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of a vehicle light control file generation method according to another exemplary embodiment of the present application;
FIG. 6 is a schematic structural diagram of a vehicle light control file generating device according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a vehicle lamp control file generating device according to another exemplary embodiment;
fig. 8 is a schematic structural diagram of an electronic device shown in the present application according to an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
With the development of the automobile industry, more and more vehicle enterprises are equipped with a light show function for newly developed vehicles in order to enrich the functions of the vehicles. Currently, most light shows need to carry out customization development usually, and required human cost, time cycle are longer, and project group need have independent manpower to do the outfit. In the current customized development, the generation of the vehicle light show control file mostly depends on the frame-by-frame editing of the professional of the supplier for each vehicle light, namely, the generation strongly depends on manual operation, in addition, because the conversion protocols adopted by different suppliers have differences, if the format of the lamp control file structure of the supplier controller in the customized light show scheme is different from the format of the song description file sent by the mobile phone terminal, the control of the light can be supported after the conversion by the converter. And the process of this conversion is because too rely on the manual configuration of supplier, consequently, the car light control file generation of the beautiful function of current light too relies on manual operation, and the configuration process is complicated and loaded down with trivial details, is unfavorable for the extensive popularization and application of this function.
In order to overcome the problems of the prior art described above with respect to the generation of a vehicle light show control file, the present application is directed to a vehicle light show control system that, by receiving a file generation request sent by a host application server, then, according to the file generation request, the music file to be converted corresponding to the information of the music file to be converted is obtained from the file storage server, then the preset file converter is utilized to convert the music file to be converted into the target vehicle lamp control file, so that the target lamp control file generated after the conversion can be used for lamp control of the lamps of the target vehicle, and further, because the preset file converter comprises at least one conversion protocol, music file information to be converted can be converted into control files capable of being adapted to different vehicles by configuring different conversion protocols in the preset file converter, and the generated vehicle lamp control files have wider adaptability.
Fig. 1 is a schematic view of an application scenario of a vehicle lamp control file generation method according to an example embodiment. As shown in fig. 1, the method for generating a car light control file provided in this embodiment may be applied to a platform end, where a binary file converter is disposed in the platform end, and it is worth to describe that only one conversion protocol may be configured in the binary file converter, or a plurality of conversion protocols may be configured in the binary file converter, so as to convert a music file into different binary files through different conversion protocols, thereby meeting the control requirements of car lights of vehicles in different host factories and different car models.
In addition, the platform end can be connected with the main application server and the file existence server respectively. The main application server may be a server for receiving a user request for the target music to generate a corresponding car light control file. In a possible implementation manner, the master application server may be in communication connection with a terminal device (e.g., a mobile phone) of a user, and the user may initiate a request to the master application server through the terminal device when the vehicle lamp control file needs to be generated for a music file to be converted (e.g., song a).
After receiving the user request, the main application server sends a file generation request to a binary file converter in the platform end. At this time, the binary file converter may obtain a music file to be converted (e.g., music description information json file) corresponding to the user request from the file storage server, and convert the music file to a target vehicle lamp control file (e.g., binary file) that can be used to control a vehicle lamp by using a conversion algorithm in the binary file converter. After the binary file for controlling the vehicle lamps is generated, the target vehicle lamp control file can be uploaded to the file storage server to be stored, so that a subsequent target vehicle can obtain the file from the file storage server, and the vehicle lamps of the target vehicle can be controlled according to the light show function.
Fig. 2 is a schematic flow chart diagram illustrating a vehicle lamp control file generation method according to an example embodiment. As shown in fig. 2, the method for generating a vehicle light control file according to this embodiment includes:
step 101, receiving a file generation request sent by a main application server.
The main application server may be in communication connection with a terminal device (e.g., a mobile phone) of a user, and the user may initiate a request to the main application server through the terminal device when the user needs to generate a car light control file for a music file to be converted (e.g., song a). In this step, the primary application server sends a file generation request to the binary file converter in the platform side after receiving the user request. The file generation request may include information of the music file to be converted, for example, information including "song a".
And step 102, 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.
After receiving the user request, the main application server sends a file generation request to a preset file converter (for example, a binary file converter) in the platform side. At this time, the preset file converter may obtain a music file to be converted (e.g., music description information json file) corresponding to the user request from the file storage server.
And 103, converting the music file to be converted into a target vehicle lamp control file by using a preset file converter.
And converting the music file to be converted into a target vehicle lamp control file by using a preset file converter, wherein the preset file converter comprises at least one conversion protocol, and the conversion protocol is used for converting a preset music format into a target binary file.
In this step, the lamp control description file corresponding to the music file to be converted is converted into the lamp control binary file for the specific controller through the conversion tool, so that rapid adaptation can be performed if the lamp control file needs to be replaced subsequently. In addition, the preset file converter comprises at least one conversion protocol, and music file information to be converted can be converted into control files capable of being adapted to different vehicles by configuring different conversion protocols in the preset file converter, so that the generated vehicle lamp control files have wider adaptability.
Fig. 3 is a schematic diagram of an architecture of a vehicle light control file according to an example embodiment of the present application. As shown in fig. 3, the target binary file (e.g., binary file format) for controlling the lamps of the target vehicle to perform the light show operation may include a sequence of control packets, wherein each control packet in the sequence of control packets is used for controlling at least one lamp of the vehicle to be controlled. With continued reference to fig. 3, when performing the car lighting control on the vehicle, a class (for example, a lamp class, i.e., a Light class) may be defined first, and the class is used for performing the lighting control on 45 cars to be controlled on the target vehicle. And a control packet sequence (for example, a Package class) is configured under the class, and a plurality of control packets (for example, packages 1 to 45 are configured under the Package class) are configured under the control packet sequence, and each control packet is respectively used for controlling one of the 45 vehicle lamps to be controlled.
In addition, a plurality of control frames are included in each control packet, and each control frame includes a time parameter and a vehicle light control parameter. Optionally, the time parameter includes: timestamp, lamp length of time and cycle duration, car light control parameter includes: vehicle light mode, brightness maximum, and brightness minimum.
And for each parameter in each control frame, the following parameters may be included: a name bit field, a start bit field, a length bit field, a maximum bit field, and a minimum bit field.
When the light show control is carried out on different vehicles, each parameter in each control frame can be configured according to the requirement of the corresponding vehicle, so that the generated binary file can be adapted to the vehicle light control of the vehicle. Specifically, a change instruction may be obtained, where the change instruction is used to modify each parameter in the control frame, so that the changed control frame is adapted to a vehicle light on another vehicle to be controlled. Therefore, the generated vehicle lamp control file has better adaptability through the framework setting of the vehicle lamp control file.
For a more intuitive description, the above-mentioned architecture of the car light control file may be specifically described by taking a possible embodiment as an example, the number of the car target control lights is 45, and each light needs to be controlled by one Package in the whole song time interval. Each Package is divided into a plurality of (N) time slices, each time slice describes its behavior by a Frame (Frame), and the information of each Frame is composed of 6 element information: timing and map: timestamp, mode: lamp mode, offsetime: light-on time, continueTime: one cycle time, lowerluminance: luminance minimum, upper illumination: the maximum value of the brightness. The description of each element consists of 5 bit fields: name: field Name, start bit: start _ bit, bit length: length, maximum value: max _ value, minimum: min _ value. If the changed control frame needs to be adapted to the lamp of another vehicle to be controlled, the 5 bit fields in each frame of information can be modified to be adaptively adjusted. Compared with the existing manual adjustment, in the embodiment, the generated car light control file has wider adaptability by defining the framework of the car light control file.
In this embodiment, a file generation request sent by a host application server is received, then a to-be-converted music file corresponding to the to-be-converted music file information is obtained from a file storage server according to the file generation request, and then a preset file converter is used to convert the to-be-converted music file into a target vehicle lamp control file, so that the generated target vehicle lamp control file after conversion can be used for performing light control on a vehicle lamp of a target vehicle.
Fig. 3 is a schematic diagram of an architecture of a vehicle light control file according to an example embodiment of the present application. As shown in fig. 3, the method for generating a vehicle lamp control file provided in this embodiment is applied to a platform end, where a binary file converter is disposed in the platform end. The platform end can be connected with the main application server and the file storage server respectively. The main application server may be a server for receiving a user request for the target music to generate a corresponding car light control file. After receiving the user request, the main application server sends a file generation request to a binary file converter in the platform end. At this time, the binary file converter may obtain a music file to be converted (e.g., music description information json file) corresponding to the user request from the file storage server, and convert the music file to a target vehicle lamp control file (e.g., binary file) that can be used to control a vehicle lamp by using a conversion algorithm in the binary file converter. After the binary file for controlling the vehicle lamps is generated, the target vehicle lamp control file can be uploaded to the file storage server to be stored, so that a subsequent target vehicle can obtain the file from the file storage server, and the vehicle lamps of the target vehicle can be controlled according to the light show function. In addition, the platform end can also be deployed in a server, so that http protocol remote calling is supported, a caller can realize a conversion process, and meanwhile, a mail notification and a generated binary file are received. If the caller is a developer, the developer can further edit the received binary file so as to further manually adjust the file.
Fig. 4 is a schematic view of an application scenario of a vehicle lamp control file generation method according to another exemplary embodiment of the present application.
Fig. 5 is a schematic flow chart diagram illustrating a vehicle lamp control file generation method according to another exemplary embodiment of the present application. As shown in fig. 5, the method for generating a vehicle light control file according to this embodiment includes:
step 201, receiving a file generation request sent by a main application server.
The main application server may be in communication connection with a terminal device (e.g., a mobile phone) of a user, and the user may initiate a request to the main application server through the terminal device when the user needs to generate a car light control file for a music file to be converted (e.g., song a). In this step, the primary application server sends a file generation request to the binary file converter in the platform side after receiving the user request. The file generation request may include information of the music file to be converted, for example, information including "song a".
Step 202, 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.
After receiving the user request, the main application server sends a file generation request to a preset file converter (for example, a binary file converter) in the platform side. At this time, the preset file converter may obtain a music file to be converted (e.g., music description information json file) corresponding to the user request from the file storage server.
And 203, converting the music file to be converted into a target vehicle lamp control file by using a preset file converter.
And converting the music file to be converted into a target vehicle lamp control file by using a preset file converter, wherein the preset file converter comprises at least one conversion protocol, and the conversion protocol is used for converting a preset music format into a target binary file.
In this step, the lamp control description file corresponding to the music file to be converted is converted into the lamp control binary file for the specific controller through the conversion tool, so that rapid adaptation can be performed if the lamp control file needs to be replaced subsequently. In addition, the preset file converter comprises at least one conversion protocol, and music file information to be converted can be converted into control files capable of being adapted to different vehicles by configuring different conversion protocols in the preset file converter, so that the generated vehicle lamp control files have wider adaptability.
And step 204, sending the target vehicle lamp control file to a file storage server.
After the binary file for controlling the vehicle lamps is generated, the target vehicle lamp control file can be uploaded to the file storage server to be stored, so that a subsequent target vehicle can obtain the file from the file storage server, and the vehicle lamps of the target vehicle can be controlled according to the light show function. In addition, the platform end can also be deployed in a server, so that http protocol remote calling is supported, a caller can realize a conversion process, and meanwhile, a mail notification and a generated binary file are received. If the caller is a developer, the developer can further edit the received binary file so as to further manually adjust the file.
And step 205, sending the target vehicle lamp control file to the vehicle to be controlled so as to control at least one vehicle lamp on the vehicle to be controlled.
In addition, the target vehicle lamp control file can be sent to the vehicle to be controlled to control at least one vehicle lamp on the vehicle to be controlled, so that the vehicle to be controlled can control the light show according to the received target vehicle lamp control file.
Fig. 6 is a schematic structural diagram of a vehicle lamp control file generation device according to an example embodiment. As shown in fig. 6, the present embodiment provides a vehicle light control file generating device 300, which includes:
a receiving module 301, configured to receive a file generation request sent by a master application server, where the file generation request includes information of a music file to be converted;
the processing module 302 is configured to obtain a to-be-converted music file corresponding to the to-be-converted music file information from a file storage server according to the file generation request;
the processing module 302 is further configured to convert the music file to be converted into a target vehicle lamp control file by using a preset file converter, where 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.
In one possible design, the target binary file includes a sequence of control packets, each control packet in the sequence of control packets for controlling at least one vehicle light on a vehicle to be controlled.
In one possible design, 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.
In one possible design, the time parameter includes: timestamp, lamp length of time and cycle duration, car light control parameter includes: vehicle light mode, brightness maximum, and brightness minimum.
In one possible design, the various parameters in the control frame include: a name bit field, a start bit field, a length bit field, a maximum bit field, and a minimum bit field.
On the basis of the embodiment shown in fig. 6, fig. 7 is a schematic structural diagram of a vehicle lamp control file generation device according to another exemplary embodiment shown in the present application. As shown in fig. 7, the vehicle lamp control file generating device 300 according to the present embodiment further includes:
the obtaining module 303 is further configured to obtain a change instruction, where the change instruction is used to modify each parameter in the control frame, so that the changed control frame is adapted to a lamp on another vehicle to be controlled.
In one possible design, the vehicle light control file generating apparatus 300 further includes:
a sending module 304, configured to send the target vehicle lamp control file to the file storage server; and/or sending the target vehicle lamp control file to a target mailbox address.
The external class loading apparatus provided in this embodiment may be configured to execute the steps in the foregoing method embodiments. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 8 is a schematic structural diagram of an electronic device shown in the present application according to an example embodiment. As shown in fig. 8, the present embodiment provides an electronic device 400, including:
a processor 401; and the number of the first and second groups,
a memory 402 for storing executable instructions of the processor, which may also be a flash (flash memory);
wherein the processor 401 is configured to perform the steps of the above-described method via execution of the executable instructions.
Alternatively, the memory 402 may be separate or integrated with the processor 401.
When the memory 402 is a device independent from the processor 401, the electronic device 400 may further include:
a bus 403 for connecting the processor 401 and the memory 402.
The present embodiment also provides a readable storage medium, in which a computer program is stored, and when at least one processor of the electronic device executes the computer program, the electronic device executes the steps of the above method.
The present embodiment also provides a program product comprising a computer program stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the electronic device, and execution of the computer program by the at least one processor causes the electronic device to perform the steps of the above-described method.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A vehicle lamp control file generation method is characterized by comprising the following steps:
receiving a file generation request sent by a main application server, wherein the file generation request comprises information of music files to be converted;
acquiring 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 converting the music file to be converted into a target car lamp control file by using a preset file converter, wherein the preset file converter comprises at least one conversion protocol, and the conversion protocol is used for converting a preset music format into a target binary file.
2. The vehicular lamp control file generation method according to claim 1, wherein the target binary file comprises a sequence of control packets, each control packet in the sequence of control packets being used for controlling at least one vehicular lamp on a vehicle to be controlled.
3. The vehicle light control file generation method according to claim 2, wherein 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.
4. The vehicular lamp control file generation method according to claim 3, wherein the time parameter includes: timestamp, lamp length of time and cycle duration, car light control parameter includes: vehicle light mode, brightness maximum, and brightness minimum.
5. The vehicular lamp control file generation method according to claim 3 or 4, wherein each parameter in the control frame includes: a name bit field, a start bit field, a length bit field, a maximum bit field, and a minimum bit field.
6. The vehicular lamp control file generation method according to claim 5, further comprising:
and acquiring a change instruction, wherein the change instruction is used for modifying each parameter in the control frame so as to enable the changed control frame to be adapted to the lamp of another vehicle to be controlled.
7. The vehicle lamp control file generation method according to any one of claims 1 to 4, wherein after the converting the music file to be converted into the target vehicle lamp control file by using the preset file converter, the method further comprises:
sending the target vehicle lamp control file to the file storage server; and/or the presence of a gas in the gas,
and sending the target vehicle lamp control file to a target mailbox address.
8. A vehicle lamp control file generating device characterized by comprising:
the system comprises a receiving module, a converting module and a converting module, wherein the receiving module is used for receiving a file generating request sent by a main application server, and the file generating request comprises information of a music file to be converted;
the processing module is 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;
the processing module is further configured to convert the music file to be converted into a target vehicle lamp control file by using a preset file converter, where 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.
9. An electronic device, comprising:
a processor; and
a memory for storing a computer program for the processor;
wherein the processor is configured to implement the vehicular lamp control file generation method according to any one of claims 1 to 7 by executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the computer program being characterized by implementing the vehicle lamp control file generation method according to any one of claims 1 to 7 when executed by a processor.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the vehicle light control file generation method according to any one of claims 1 to 7.
CN202111545338.1A 2021-12-16 2021-12-16 Vehicle lamp control file generation method, device, medium, equipment and program product Pending CN114179710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111545338.1A CN114179710A (en) 2021-12-16 2021-12-16 Vehicle lamp control file generation method, device, medium, equipment and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111545338.1A CN114179710A (en) 2021-12-16 2021-12-16 Vehicle lamp control file generation method, device, medium, equipment and program product

Publications (1)

Publication Number Publication Date
CN114179710A true CN114179710A (en) 2022-03-15

Family

ID=80605398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111545338.1A Pending CN114179710A (en) 2021-12-16 2021-12-16 Vehicle lamp control file generation method, device, medium, equipment and program product

Country Status (1)

Country Link
CN (1) CN114179710A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090213602A1 (en) * 2008-02-22 2009-08-27 Gallegos Juan M Light-emitting device for the interior of a vehicle with music synchronization
CN110239422A (en) * 2019-06-25 2019-09-17 重庆长安汽车股份有限公司 Method, system and the computer readable storage medium for so that vapour embarkation lamp and music is linked
CN110816435A (en) * 2019-10-09 2020-02-21 南京领行科技股份有限公司 Method and device for remotely controlling vehicle
CN111942280A (en) * 2020-08-17 2020-11-17 广州小鹏汽车科技有限公司 Control method and control device for vehicle lamp and storage medium
CN112566340A (en) * 2020-12-23 2021-03-26 广州橙行智动汽车科技有限公司 Vehicle lamp synchronous control method and device for multiple vehicles, vehicle and readable medium
CN214728471U (en) * 2021-01-11 2021-11-16 上海海拉电子有限公司 Car lamp system and car
CN113771738A (en) * 2021-08-11 2021-12-10 深圳市智岩科技有限公司 Vehicle-mounted light control method, device, system, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090213602A1 (en) * 2008-02-22 2009-08-27 Gallegos Juan M Light-emitting device for the interior of a vehicle with music synchronization
CN110239422A (en) * 2019-06-25 2019-09-17 重庆长安汽车股份有限公司 Method, system and the computer readable storage medium for so that vapour embarkation lamp and music is linked
CN110816435A (en) * 2019-10-09 2020-02-21 南京领行科技股份有限公司 Method and device for remotely controlling vehicle
CN111942280A (en) * 2020-08-17 2020-11-17 广州小鹏汽车科技有限公司 Control method and control device for vehicle lamp and storage medium
CN112566340A (en) * 2020-12-23 2021-03-26 广州橙行智动汽车科技有限公司 Vehicle lamp synchronous control method and device for multiple vehicles, vehicle and readable medium
CN214728471U (en) * 2021-01-11 2021-11-16 上海海拉电子有限公司 Car lamp system and car
CN113771738A (en) * 2021-08-11 2021-12-10 深圳市智岩科技有限公司 Vehicle-mounted light control method, device, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110213102B (en) Device control method, device, electronic device and storage medium
CN107450899B (en) Method and device for generating terminal control script
EP2866142A1 (en) Upgrade package generation method and device, dynamic file differential upgrade method and terminal
CN111176133A (en) Method and device for determining smart home scene
US9319849B2 (en) Content output system
CN113498594B (en) Control method and device of smart home system, electronic equipment and storage medium
CN104144466A (en) Access method for sensor in Internet of Things, Internet of Things system and server
CN107491321A (en) A kind of processing method and processing device for being used to realize automatic software updating
CN113382033B (en) Central control adaptation method, device, equipment and storage medium
CN106657101A (en) SDK and method for remote control of different protocol types of wireless communication modules
CN114115866A (en) Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
CN107702274B (en) Terminal control method, device and computer readable storage medium
CN113297731A (en) Telemetering data channel multiplexing framing method and device
CN109766123B (en) Application program packaging method and device
CN114179710A (en) Vehicle lamp control file generation method, device, medium, equipment and program product
CN105323309A (en) Method and device for pushing bubble resources
CN104601786A (en) Method for controlling information reminder light of terminal, and terminal
CN103237115A (en) Terminal download control method and mobile terminal implementing same
CN108920333B (en) Event state monitoring method and event state monitor
CN103813014A (en) Information processing method and electronic devices
CN111511082A (en) Lamp effect control method, device, equipment and medium
CN105404557A (en) Interprocess communication method based on message queue
CN113423093B (en) Bluetooth communication method and system based on vehicle-mounted terminal
CN113612561B (en) Method and system for starting baseband board of comprehensive tester based on ZYNQ architecture
CN113645131A (en) Data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination