A processing system and method for a vehicle lamp and a vehicle
By abstracting and arranging vehicle lighting fixtures along a timeline, the problem of high complexity in vehicle lighting fixture arrangement is solved, enabling flexible configuration and efficient execution of lighting effect services, and improving the convenience and user experience of user-customized arrangement.
Patent Information
- Application Number
- CN202310334493.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-03-31
AI Technical Summary
Existing technologies for vehicle lighting fixtures involve complex arrangement methods and make it difficult for users to customize the arrangement, resulting in reduced ease of operation and user experience.
The lighting management module is used for abstract processing to obtain the information of the orchestration objects and their behaviors. The lighting effect service is obtained by using the lighting data distribution service library. The lighting orchestration designer performs timeline orchestration, and the lighting orchestration execution engine executes the instructions to realize the lighting effect service.
It enables flexible configuration of vehicle lighting data, improves the richness and diversity of programming, simplifies programming complexity, and enhances the execution speed and accuracy of lighting effects.
Smart Images

Figure CN116572826B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the automobile technical field, in particular to a vehicle-mounted lamp processing system and method and vehicle. BACKGROUND
[0002] With the continuous development of Internet technology and Internet of Vehicles technology, the automobile is no longer just a means of transportation, and new entertainment functions have also been gradually developed on the automobile. The light show of the vehicle is a new form of entertainment performance. The light show of the vehicle is realized by the arrangement of the vehicle-mounted lamp, and if the arrangement of the vehicle-mounted lamp is realized by professional developers configuring control files, the richness of the arrangement of the vehicle-mounted lamp is greatly limited. If the arrangement is customized by the user, because the number and types of lamps carried on the vehicle are various, the arrangement mode related to the vehicle-mounted lamp is very complex, which creates difficulties for the user's custom arrangement and greatly reduces the user's operation convenience and experience. SUMMARY
[0003] One of the purposes of the present application is to provide a vehicle-mounted lamp processing system to solve the problem of low richness of the arrangement of the vehicle-mounted lamp in the prior art and because the number and types of lamps carried on the vehicle are various, the arrangement mode related to the vehicle-mounted lamp is very complex, which creates difficulties for the user's custom arrangement and greatly reduces the user's operation convenience and experience. The second purpose is to provide a vehicle-mounted lamp processing method, and the third purpose is to provide a vehicle.
[0004] In order to achieve the above-mentioned purposes, the technical solutions adopted by the present application are as follows:
[0005] A vehicle-mounted lamp processing system, the system comprises:
[0006] A lamp management module, which abstractly processes a plurality of vehicle-mounted lamps, obtains arrangement object information and behavior information of the arrangement object, and
[0007] A lamp data distribution service library, which obtains lamp effect services of a plurality of vehicle-mounted lamps,
[0008] A lamp arrangement designer, which arranges the arrangement object information and the behavior information of the arrangement object according to a time axis, and obtains script information of a plurality of lamp arrangements; and
[0009] A lamp arrangement execution engine, which analyzes the script information of the lamp arrangement, obtains execution instructions of the lamp effect capabilities of a plurality of vehicle-mounted lamps, and according to the execution instructions, the lamp arrangement execution engine obtains lamp effect services corresponding to the execution instructions from the lamp effect services of a plurality of vehicle-mounted lamps, and executes the lamp effect services corresponding to the execution instructions.
[0010] In an embodiment of the present application, the lamp management module comprises a data abstraction unit, which abstracts the names of the vehicle-mounted lamps, obtains the choreography object information, abstracts the light effect capabilities of the vehicle-mounted lamps, and obtains the behavior information of the choreography object.
[0011] In an embodiment of the present application, the lamp management module comprises an interface unit, which is connected with the data abstraction unit, and provides a plurality of interfaces, through which the data abstraction unit transmits the choreography object information and the behavior information of the choreography object to the lamp choreography designer.
[0012] In an embodiment of the present application, the lamp choreography designer comprises a visual interface, on which the choreography object information and the behavior information of the choreography object are displayed and choreographed, and the content of the lamp choreography is obtained.
[0013] In an embodiment of the present application, the lamp choreography designer further comprises a lamp choreography module, which is connected with the visual interface, and converts the content of the lamp choreography in real time to obtain the script information of the lamp choreography.
[0014] In an embodiment of the present application, the lamp choreography module renders the timeline on the visual interface.
[0015] In an embodiment of the present application, the lamp choreography execution engine further sorts the execution instructions, and obtains the corresponding light effect services for the sorted execution instructions one by one, and executes the corresponding light effect services.
[0016] The present application provides a processing method of vehicle-mounted lamps, which comprises:
[0017] abstracting the vehicle-mounted lamps to obtain choreography object information and behavior information of the choreography object;
[0018] obtaining light effect services of the vehicle-mounted lamps;
[0019] choreographing the choreography object information and the behavior information of the choreography object according to a timeline to obtain script information of lamp choreography; and
[0020] analyzing the script information of the lamp choreography to obtain execution instructions of the light effect capabilities of the vehicle-mounted lamps, and obtaining the light effect services corresponding to the execution instructions from the light effect services of the vehicle-mounted lamps according to the execution instructions, and executing the light effect services corresponding to the execution instructions.
[0021] In an embodiment of the present application, the script information of the plurality of light fixtures is obtained by the following steps:
[0022] The name information and the light effect capability information of the vehicle-mounted light fixture are obtained, and a visual interface is rendered according to the name information and the light effect capability information of the vehicle-mounted light fixture;
[0023] On the visual interface, the name information and the light effect capability information of the vehicle-mounted light fixture are arranged according to a time axis, and the content of the light fixture arrangement is obtained; and
[0024] The content of the light fixture arrangement is converted in real time, and the script information of the light fixture arrangement is obtained.
[0025] A vehicle comprising the processing system of any one of the vehicle-mounted light fixtures.
[0026] The present application has the following beneficial effects:
[0027] (1) In the present application, the name information and the light effect capability information of the vehicle-mounted light fixture are obtained as the arrangement capability of the vehicle-mounted light fixture by abstracting the vehicle-mounted light fixture, so as to realize flexible configuration of the related data of the vehicle-mounted light fixture.
[0028] (2) In the present application, the name information and the light effect capability information of the vehicle-mounted light fixture are arranged by the user according to a time axis, so as to not only improve the richness and diversity of the arrangement of the vehicle-mounted light fixture, but also simplify the complexity of the arrangement of the vehicle-mounted light fixture.
[0029] (3) In the present application, the execution rate and the accuracy of the light effect capability of the vehicle-mounted light fixture are improved by processing the execution of the light effect capability of the vehicle-mounted light fixture in the form of a service. BRIEF DESCRIPTION OF DRAWINGS
[0030] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate one embodiment consistent with the present application and, together with the description, serve to explain the principles of the application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained from these drawings without creative labor for those skilled in the art. In the drawings:
[0031] Figure 1 is a structural schematic diagram of the processing system of the vehicle-mounted light fixture according to an exemplary embodiment of the present application;
[0032] Figure 2 is a schematic diagram of part of the structure of the processing system of the vehicle-mounted light fixture according to an exemplary embodiment of the present application;
[0033] Figure 3 is a flowchart of the processing method of the vehicle-mounted light fixture according to an exemplary embodiment of the present application;
[0034] Figure 4 is a flow chart of a method for acquiring script information of a lamp arrangement according to an exemplary embodiment of the present application;
[0035] Figure 5 A structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present application is shown.
[0036] wherein, 110 - lamp management module; 111 - data abstraction unit; 112 - interface unit; 120 - lamp data distribution service library; 130 - lamp arrangement designer; 131 - lamp arrangement module; 132 - visual interface; 140 - lamp arrangement execution engine; 500 - computer system; 501 - central processing unit; 502 - read-only memory; 503 - random access memory; 504 - bus; 505 - I / O interface; 506 - keyboard input part; 507 - output part; 508 - storage part; 509 - communication part; 510 - driver; 511 - removable medium. DETAILED DESCRIPTION
[0037] Other advantages and effects of the present application can be easily understood by those skilled in the art from the above description of the embodiments of the present application. The present application can also be implemented or applied in other different specific embodiments, and the details in the specification can be modified or changed based on different views and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, and are not intended to limit the protection scope of the present application.
[0038] It should be noted that the diagrams provided in the following embodiments only schematically illustrate the basic concept of the present application, and only show the components related to the present application in the diagrams, but are not drawn according to the number, shape and size of the components in actual implementation, and the type, number and proportion of the components in actual implementation can be arbitrarily changed, and the component layout type can also be more complex.
[0039] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application, however, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details, and in other embodiments, the known structures and devices are shown in the form of block diagrams rather than in the form of details, to avoid making the embodiments of the present application difficult to understand.
[0040] First of all, it needs to be pointed out that DDS (Data Distribution Service) is a new generation of distributed real-time communication middleware protocol, which adopts the publish / subscribe architecture, emphasizes data center, provides rich QoS (Quality of Service) strategy to ensure real-time, efficient and flexible distribution of data, and can meet various distributed real-time communication application requirements. Because the DDS communication between services is through publish / subscribe, the two parties of the communication need to be under the same topic to establish a communication connection for communication, and the data receiver can communicate data by subscribing to the topic of the data sender. DDS communication has the advantages of easy integration, high performance efficiency, scalability, high security, high open standard and wide application range.
[0041] In some embodiments, the arrangement of the vehicle-mounted lamps is realized by professional developers configuring control files, which greatly limits the richness of the arrangement of the vehicle-mounted lamps. If the arrangement is customized by the user, the number and types of lamps mounted on the vehicle are various, and the arrangement mode involved in the vehicle-mounted lamps is very complex, which creates difficulties for the user to customize the arrangement, greatly reducing the user's sense of convenience and experience. To solve these problems, embodiments of the present application respectively propose a vehicle-mounted lamp processing system, method and vehicle, which will be described in detail below.
[0042] Figure 1 is a structural schematic diagram of a vehicle-mounted lamp processing system according to an example embodiment of the present application. As shown in Figure 1 The vehicle-mounted lamp processing system includes a lamp management module 110, a lamp data distribution service library 120, a lamp arrangement designer 130 and a lamp arrangement execution engine 140. The lamp management module 110 is used to abstractly process a plurality of vehicle-mounted lamps, and obtain arrangement object information and behavior information of the arrangement object. The lamp data distribution service library 120 is used to obtain lamp effect services of a plurality of vehicle-mounted lamps. The lamp arrangement designer 130 is used to arrange the arrangement object information and the behavior information of the arrangement object according to a time axis, and obtain script information of a plurality of lamp arrangements. The lamp arrangement execution engine 140 is used to parse the script information of the lamp arrangement, obtain execution instructions of lamp effect capabilities of a plurality of vehicle-mounted lamps, and according to the execution instructions, the lamp arrangement execution engine 140 obtains lamp effect services corresponding to the execution instructions from the lamp effect services of a plurality of vehicle-mounted lamps, and executes the corresponding lamp effect services.
[0043] Please refer to Figure 1 and Figure 2As shown, in the embodiment, after the function of the vehicle-mounted lamp is determined, all the function information data of the vehicle-mounted lamp can be maintained into the lamp management module 110. The lamp management module 110 includes a data abstraction unit 111 and an interface unit 112. The interface in the interface unit 112 is connected with the data abstraction unit 111. All the function information data of the vehicle-mounted lamp includes the scheduling object information, i.e., the name information, the behavior information of the scheduling object, i.e., the light effect capability information, and the parameters of the behavior of the scheduling object. The data abstraction unit 111 abstracts the name of the specific vehicle-mounted lamp as a scheduling object, then abstracts the light effect capability of the vehicle-mounted lamp as the behavior of the scheduling object, and abstracts the content that can be adjusted by the light effect of each vehicle-mounted lamp as the parameter of the behavior of the scheduling object. Among them, the scheduling object of the vehicle-mounted lamp includes but is not limited to the left high beam, the left low beam, the right high beam, and the right low beam, etc., the behavior of the scheduling object includes but is not limited to blinking, the behavior code of which is for example BLINK_ON, turning off blinking, the behavior code of which is for example BLINK_OFF, breathing, the behavior code of which is for example BREATHE_ON, and turning off breathing, the behavior code of which is for example BREATHE_OFF, etc. The parameters of the scheduling object include but are not limited to the parameter name, the parameter code, the parameter type, etc. For example, the behavior of the scheduling object is blinking, the scheduling object is for example the left high beam, the parameter name of the parameter of the scheduling object is for example the light frequency, the parameter code of which is for example freq, and the parameter type is for example int (integer type). The interface unit 112 establishes an API (Application Programming Interface, interface) according to the data of the vehicle-mounted lamp in the data abstraction unit 111, and provides the API for the lamp scheduling designer 130 to use. Through the abstract processing of the vehicle-mounted lamp, the name information and the light effect capability information of the vehicle-mounted lamp are obtained as the scheduling capability of the vehicle-mounted lamp, and the flexible configuration of the related data of the vehicle-mounted lamp is realized.
[0044] Please refer to Figure 1 As shown, in the embodiment, after the function of the vehicle-mounted lamp is determined, according to the SOA (Service-Oriented Architecture, service-oriented architecture), the lamp data distribution service library 120 services the light effect capability of the vehicle-mounted lamp, obtains the light effect services of multiple vehicle-mounted lamps, and publishes the multiple light effect services in the form of DDS (Data Distribution Service) service. The light effect service of the vehicle-mounted lamp is the basic guarantee for executing the scheduling of the vehicle-mounted lamp, and only when the light effect service corresponding to the vehicle-mounted lamp is executed by the lamp scheduling execution engine 140, the vehicle can realize the corresponding light effect, thereby realizing the execution of the lamp scheduling.
[0045] Please refer to Figure 1 and Figure 2As shown, in this embodiment, after the lamp management module 110 completes the maintenance of the data of the vehicle-mounted lamps, the user can arrange the vehicle-mounted lamps according to the lamp arrangement designer 130 at the vehicle end. The lamp arrangement designer 130 is in communication connection with the lamp management module 110 through the API provided by the interface unit 112, and obtains and calls the data of all vehicle-mounted lamps in the lamp management module 110 through the API. The lamp arrangement designer 130 includes a visual interface 131 and a lamp arrangement module 132. After the lamp arrangement designer 130 on the vehicle end is started, the lamp arrangement module 132 will first request the data of the vehicle-mounted lamps from the lamp management module 110 through the API. After receiving the request, the lamp management module 110 returns the data of the vehicle-mounted lamps to the lamp arrangement module 132, wherein the data of the vehicle-mounted lamps includes the name information and the light effect capability information of the vehicle-mounted lamps. After the lamp arrangement designer 130 receives the data of the vehicle-mounted lamps, the visual interface 131 is rendered according to the data of the vehicle-mounted lamps, and the data of the vehicle-mounted lamps is displayed on the visual interface 131. Among them, the data of the vehicle-mounted lamps includes the arrangement object information, that is, the name of the vehicle-mounted lamps, and the behavior information of the arrangement object, that is, the light effect capability of the vehicle-mounted lamps. The lamp arrangement module 132 also renders a time axis on the visual interface 131, and the user customizes and designs the vehicle-mounted lamps according to the time axis. When the vehicle-mounted lamps are dragged on the time axis, it indicates that the arrangement action of the vehicle-mounted lamps in this time period. Based on the arrangement mode of the time axis, the continuity of the vehicle-mounted lamps can be realized, and the seamless switching of the light effect capability between the vehicle-mounted lamps can also be realized. Among them, the time axis can be enlarged and reduced, and the use of the enlarged and reduced time axis can more accurately realize the time granularity of the vehicle-mounted lamp arrangement, and simplify the complexity of the vehicle-mounted lamp arrangement.
[0046] Please refer to Figure 1 and Figure 2As shown, in this embodiment, the user can drag the required vehicle-mounted lamps on the visual interface 131, select the corresponding lamp effect capability of the vehicle-mounted lamps, and drag the time axis of the duration of the vehicle-mounted lamps. Then, the user selects the next required vehicle-mounted lamps and drags the time axis of the duration of the next vehicle-mounted lamps from the end point of the previous vehicle-mounted lamps. In this way, the user completes the arrangement of the vehicle-mounted lamps on the lamp arrangement designer 130 and obtains the content of the lamp arrangement. Moreover, the lamp arrangement module 132 converts the arranged content into the script information of the lamp arrangement in real time according to the arrangement operation of the user on the visual interface 131 and according to the content of the lamp arrangement. The rule for converting the arranged content into the script information of the lamp arrangement is to divide the entire time axis into a plurality of sub-time axes, and to regard each sub-time axis as a script block. Each sub-time axis is divided into a start time point and an end time point, and the two time points correspond to the start time and the end time of a certain lamp effect capability of the vehicle-mounted lamps, for example, the start of flashing and the end of flashing of the vehicle-mounted lamps. Each sub-time axis is converted into a script block content, and a plurality of script block contents constitute the script information of the entire lamp arrangement.
[0047] Referring to Figure 1 As shown, in this embodiment, the lamp arrangement execution engine 140 is communicatively connected to the lamp arrangement designer 130 through middleware. After the lamp arrangement designer 130 completes the generation of the script information of the lamp arrangement, the lamp arrangement designer 130 uploads the script information of the lamp arrangement to the lamp arrangement execution engine 140. The lamp arrangement execution engine 140 obtains the script information of the lamp arrangement, and performs content analysis on the script information to parse out the content of each script block in the script information, obtains the execution instructions of the lamp effect capabilities of all the vehicle-mounted lamps in the script information, and sorts the execution instructions in time sequence. When executing the execution instructions of the lamp effect capabilities of the vehicle-mounted lamps, the lamp arrangement execution engine 140 starts a local timer, and according to the time of the timer, the lamp arrangement execution engine 140 processes the execution instructions of the lamp effect capabilities of different vehicle-mounted lamps. When executing the execution instructions of the lamp effect capabilities, according to the lamp effect services of the vehicle-mounted lamps in the lamp data distribution service library 120, the lamp arrangement execution engine 140 converts the execution instructions into the lamp effect services of the vehicle-mounted lamps corresponding to the execution instructions. The lamp arrangement execution engine 140 executes the lamp effect services of the corresponding vehicle-mounted lamps, and the vehicle displays the lamp effect of the corresponding vehicle-mounted lamps, thereby completing the execution of the lamp arrangement. The lamp effect capabilities of the vehicle-mounted lamps are executed through the lamp effect services of the vehicle-mounted lamps, thereby improving the execution rate and accuracy of the lamp effect capabilities of the vehicle-mounted lamps.
[0048] Figure 3 is a flowchart of a processing method of a vehicle-mounted lamp according to an example embodiment of the present application. In some embodiments, the method is specifically performed by the processing system of the vehicle-mounted lamp provided by the present application. As shown in the flowchart, the processing system of the vehicle-mounted lamp first receives a lamp effect capability of the vehicle-mounted lamp (step S101). Then, the processing system of the vehicle-mounted lamp receives a time axis of the duration of the vehicle-mounted lamps (step S102). Then, the processing system of the vehicle-mounted lamp executes the lamp effect capability of the vehicle-mounted lamp according to the time axis of the duration of the vehicle-mounted lamps (step S103). Figure 3As shown, in an exemplary embodiment, the method for processing vehicle-mounted lights includes at least steps S310 to S340, which are described in detail below:
[0049] Step S310: Abstract the multiple vehicle lights, and the light management module obtains the arrangement object information and the behavior information of the arrangement object.
[0050] In this embodiment, after the functions of the vehicle-mounted lights are determined, all functional information data of the vehicle-mounted lights can be maintained. Figure 1 The lighting management module 110 shown includes... Figure 2 The diagram shows a data abstraction unit 111 and an interface unit 112. The interface within the interface unit 112 is connected to the data abstraction unit 111. All functional information data of the vehicle-mounted lighting fixtures includes arrangement object information (name information), arrangement object behavior information (lighting effect capability information), and parameters of the arrangement object's behavior. The data abstraction unit 111 abstracts the name information of a specific vehicle-mounted lighting fixture into an arrangement object, then abstracts the lighting effect capability information of the vehicle-mounted lighting fixture into the behavior of the arrangement object, and abstracts the adjustable content of the lighting effect of each vehicle-mounted lighting fixture into parameters of the arrangement object's behavior. The arrangement objects of the vehicle-mounted lighting fixtures include, but are not limited to, left high beam, left low beam, right high beam, and right low beam, etc. The behaviors of the arrangement objects include, but are not limited to, flashing (e.g., BLINK_ON), turning off flashing (e.g., BLINK_OFF), breathing (e.g., BREATHE_ON), and turning off breathing (e.g., BREATHE_OFF), etc. The parameters of the arrangement objects include, but are not limited to, parameter name, parameter code, and parameter type. For example, if the behavior of the orchestration object is blinking, the orchestration object could be the left high beam, the parameter name of the orchestration object could be the light frequency, the parameter encoding could be freq, and the parameter type could be int (integer).
[0051] Step S320: Obtain the lighting effect service of multiple vehicle-mounted lights.
[0052] In this embodiment, after the functions of the vehicle-mounted lights are determined, according to SOA (Service-Oriented Architecture), the lighting data distribution service library 120 service-izes the lighting effect capabilities of the vehicle-mounted lights, obtains lighting effect services for multiple vehicle-mounted lights, and publishes these services in the form of DDS services. The lighting effect services of the vehicle-mounted lights are the fundamental guarantee for executing vehicle-mounted lighting orchestration. Only when the lighting orchestration execution engine 140 executes the corresponding lighting effect services of the vehicle-mounted lights can the vehicle achieve the corresponding lighting effect, thereby realizing the execution of lighting orchestration.
[0053] Step S330: Arrange the arrangement object information and the behavior information of the arrangement object according to the timeline, and obtain the script information for the arrangement of multiple lamps.
[0054] In this embodiment, Figure 1 After the lighting management module 110 completes the maintenance of the vehicle lighting data, the user can arrange the vehicle lighting according to the vehicle-side lighting arrangement designer 130. The lighting arrangement designer 130 communicates with the lighting management module 110 through the API provided by the interface unit 112, and obtains and calls the data of all vehicle lighting in the lighting management module 110 through the API. The lighting arrangement designer 130 includes... Figure 2 The visualization interface 131 and the lighting arrangement module 132 are shown. After the lighting arrangement designer 130 on the vehicle is started, the lighting arrangement module 132 first requests data on the vehicle lighting fixtures from the lighting management module 110 via API. After receiving the request, the lighting management module 110 returns the data on the vehicle lighting fixtures to the lighting arrangement module 132. After receiving the data on the vehicle lighting fixtures, the lighting arrangement designer 130 renders the visualization interface 131 based on the data, displaying the data on the vehicle lighting fixtures. The data on the vehicle lighting fixtures includes arrangement object information, i.e., the name of the vehicle lighting fixture, and the behavior information of the arrangement object, i.e., the lighting effect capability of the vehicle lighting fixture. The lighting arrangement module 132 also renders a timeline on the visualization interface 131, allowing users to customize and design the vehicle lighting fixtures according to the timeline and obtain the content of the lighting arrangement. Dragging on the timeline indicates the arrangement action of the vehicle lighting fixture within that time period. The time-axis-based arrangement method enables continuous arrangement of vehicle lighting fixtures and seamless switching of lighting effects between different vehicle lighting fixtures. The time axis can be zoomed in and out, allowing for more precise time granularity in the arrangement of vehicle lighting fixtures.
[0055] In this embodiment, Figure 2 The lighting arrangement module 132, as shown, converts the lighting arrangement content obtained from the user's arrangement operations on the visual interface 131 into lighting arrangement script information in real time. The rule for converting the lighting arrangement content into script information is to divide the entire timeline into sub-timelines, treating each sub-timeline as a script block. Each sub-timeline has two time points: a start and an end. These two time points correspond to the start and end times of a specific lighting effect capability of the vehicle lighting fixture, such as the start and end of flashing. Each sub-timeline is converted into script block content, and multiple script blocks constitute the entire lighting arrangement script information.
[0056] Step S340, the script information of the lamp arrangement is parsed, the execution instructions of the light effect capabilities of the plurality of vehicle-mounted lamps are obtained, and according to the execution instructions, the light effect service corresponding to the execution instructions is obtained from the light effect services of the plurality of vehicle-mounted lamps, and the corresponding light effect service is executed.
[0057] In this embodiment, Figure 1 The lamp arrangement execution engine 140 shown in the figure is in communication connection with the lamp arrangement designer 130 through middleware. After the lamp arrangement designer 130 completes the generation of the script information of the lamp arrangement, the lamp arrangement designer 130 uploads the script information of the lamp arrangement to the lamp arrangement execution engine 140. The lamp arrangement execution engine 140 obtains the script information of the lamp arrangement, and makes content analysis on the script information, parses the content of each script block in the script information, obtains the execution instructions of the light effect capabilities of all the vehicle-mounted lamps in the script information, and sorts the plurality of execution instructions in time sequence. When executing the execution instructions of the light effect capabilities of the vehicle-mounted lamps, the lamp arrangement execution engine 140 starts a timer locally, and according to the time of the timer, the lamp arrangement execution engine 140 executes different execution instructions of the light effect capabilities of the vehicle-mounted lamps. When executing the execution instructions of the light effect capabilities, according to the light effect services of the vehicle-mounted lamps in the lamp data distribution service library 120, the lamp arrangement execution engine 140 converts the execution instructions into the light effect services of the vehicle-mounted lamps corresponding to the execution instructions. The lamp arrangement execution engine 140 executes the light effect services of the corresponding vehicle-mounted lamps, the vehicle makes the light effect of the corresponding vehicle-mounted lamps, and the execution of the lamp arrangement is completed.
[0058] Figure 4 The flow chart of the method for obtaining the script information of the lamp arrangement shown in this example embodiment of the present application. As Figure 4 As shown in an example embodiment, the method for obtaining the script information of the lamp arrangement at least includes steps S410 to S430, which are described in detail as follows:
[0059] Step S410, the arrangement object information and the behavior information of the arrangement object are obtained, and a visual interface is rendered according to the arrangement object information and the behavior information of the arrangement object.
[0060] In this embodiment, Figure 1 As shown in the figure, after the lamp arrangement designer 130 on the vehicle side is started, first, the lamp arrangement module 132 will request the data of the vehicle-mounted lamps to the lamp management module 110 through API. After receiving the request, the lamp management module 110 returns the data of the vehicle-mounted lamps to the lamp arrangement module 132. Figure 2The lamp arrangement module 132 shown in the figure. The lamp arrangement designer 130 receives the data of the vehicle lamps, and then renders the visual interface 131 according to the data of the vehicle lamps, and displays the data of the vehicle lamps on the visual interface 131. The data of the vehicle lamps includes the arrangement object information, that is, the name information of the vehicle lamps, and the behavior information of the arrangement object, that is, the light effect capability information.
[0061] Step S420, rendering a time axis on the visual interface, and arranging the arrangement object information and the behavior information of the arrangement object according to the time axis to obtain the content of the lamp arrangement.
[0062] In this embodiment, Figure 2 The lamp arrangement module 132 shown in the figure also renders a time axis on the visual interface 131, and the user customizes and designs the vehicle lamps according to the time axis.
[0063] Step S430, converting the content of the lamp arrangement in real time to obtain the script information of the lamp arrangement.
[0064] In this embodiment, Figure 2 The lamp arrangement module 132 shown in the figure obtains the content of the lamp arrangement according to the arrangement operation of the user on the visual interface 131, and converts the content of the lamp arrangement into the script information of the lamp arrangement in real time. The rule of converting the content of the lamp arrangement into the script information of the lamp arrangement is to divide the entire time axis into a plurality of sub-time axes, and regard each sub-time axis as a script block. Each sub-time axis is divided into a start time point and an end time point, and the two time points correspond to the start time and the end time of a certain light effect capability of the vehicle lamps, for example, the start flashing and the end flashing of the vehicle lamps. Each sub-time axis is converted into a script block content, and a plurality of script block contents constitute the script information of the entire lamp arrangement.
[0065] This embodiment also provides a vehicle including a plurality of vehicle lamps and the processing system of the vehicle lamps.
[0066] Figure 5 The structure of the computer system of the electronic device suitable for implementing the embodiments of the present application is shown. It should be noted that, Figure 5 The computer system 500 of the electronic device shown is only an example, and should not limit the functions and use range of the embodiments of the present application.
[0067] As Figure 5As shown, the computer system 500 includes a central processing unit (CPU) 501 which can perform various suitable actions and processes in accordance with programs stored in a read-only memory (ROM) 502 or loaded from the storage section 508 into a random access memory (RAM) 503, such as performing the methods described in the above embodiments. Various programs and data required for the operation of the system are also stored in the RAM 503. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0068] Connected to the I / O interface 505 are an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as necessary. A removable recording medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 510 as necessary, so that a computer program read therefrom is installed into the storage section 508 as necessary.
[0069] In particular, in accordance with embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 509, and / or installed from the removable recording medium 511. When the computer program is executed by the central processing unit (CPU) 501, various functions defined in the system of the present application are performed.
[0070] It should be noted that the computer-readable medium in the embodiments shown in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable computer programs. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit programs for use by or in connection with an instruction execution system, device, or component. The computer programs contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination of the above.
[0071] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions, and operations of the systems, methods, and application structures according to various embodiments of the present application. In the flowcharts or block diagrams, each block can represent a module, a program segment, or a part of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than those noted in the drawings. For example, two blocks represented in succession can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0072] The units described in the embodiments of the present application can be implemented in the form of software, or can be implemented in the form of hardware, and the described units can also be arranged in a processor. In some cases, the names of these units do not constitute a limitation on the units themselves.
[0073] Another aspect of the present application also provides a computer readable storage medium having stored thereon a computer program, which, when executed by a processor of a computer, causes the computer to run the processing system of the vehicle lamp as described above. The computer readable storage medium can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the electronic device.
[0074] Another aspect of the present application also provides a computer program product or computer program, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device runs the processing system of the vehicle lamp provided in each of the above embodiments.
[0075] In the present application, by abstracting the vehicle-mounted lamp, the name information of the vehicle-mounted lamp as the arrangement object information and the light effect capability information of the vehicle-mounted lamp as the behavior information of the arrangement object are obtained as the arrangement capability of the vehicle-mounted lamp, the flexible configuration of the related data of the vehicle-mounted lamp is realized. According to the time axis, the user customizes the name information and the light effect capability information of the vehicle-mounted lamp, not only improves the richness and diversity of the arrangement of the vehicle-mounted lamp, but also simplifies the complexity of the arrangement of the vehicle-mounted lamp, meets the user's customized demand for the vehicle-mounted lamp. And by processing the execution of the light effect capability of the vehicle-mounted lamp in the form of service, the execution rate and accuracy of the light effect capability of the vehicle-mounted lamp are improved.
[0076] The above embodiments only exemplarily illustrate the principles and effects of the present application, and are not used to limit the present application. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes completed by those skilled in the art without departing from the spirit and technical thought of the present application should be covered by the claims of the present application.
Claims
1. A processing system for a vehicle headlamp, the processing system comprising: The system comprises: A lamp management module, which abstracts a plurality of vehicle-mounted lamps, obtains choreography object information and behavior information of the choreography object, the choreography object information comprises name information of the vehicle-mounted lamps, and the behavior information of the choreography object comprises parameters of behaviors of the choreography object, which are used to represent contents that can be adjusted by light effects of the vehicle-mounted lamps; A lamp data distribution service library, which obtains light effect services of a plurality of the vehicle-mounted lamps, and the light effect services are used to represent serviceization of light effect capabilities; A lamp choreography designer, which, according to a time axis, at least one of continuously choreographs the choreography object information and behavior capability information of the choreography object for a single vehicle-mounted lamp and seamlessly switches between a plurality of the vehicle-mounted lamps, and obtains script information of a plurality of lamp choreographies, the script information comprises a plurality of script block contents, and the script block contents comprise start time and end time of the light effect capabilities; and A lamp choreography execution engine, which analyzes the script information of the lamp choreography, obtains execution instructions of light effect capabilities of a plurality of the vehicle-mounted lamps, sorts a plurality of the execution instructions, and according to the sorted execution instructions, the lamp choreography execution engine obtains, from light effect services of a plurality of the vehicle-mounted lamps, light effect services corresponding to the execution instructions one by one, and executes the light effect services corresponding to the execution instructions.
2. The processing system of a vehicle-mounted lamp according to claim 1, characterized in that, The lamp management module comprises a data abstraction unit, which abstracts names of a plurality of the vehicle-mounted lamps, obtains the choreography object information, and abstracts light effect capabilities of the vehicle-mounted lamps, and obtains the behavior information of the choreography object.
3. The processing system of a vehicle-mounted lamp according to claim 2, characterized in that, The lamp management module comprises an interface unit, which is connected with the data abstraction unit, and the interface unit provides a plurality of interfaces, and the data abstraction unit transmits the choreography object information and the behavior information of the choreography object to the lamp choreography designer through the plurality of interfaces.
4. The processing system of a vehicle lamp according to claim 1, characterized in that, The lamp choreography designer comprises a visual interface, on which the choreography object information and the behavior information of the choreography object are displayed and choreographed, and content of lamp choreography is obtained.
5. The processing system of a vehicle lamp according to claim 4, wherein The lamp choreography designer further comprises a lamp choreography module, which is connected with the visual interface, and the lamp choreography module converts the content of the lamp choreography in real time, and obtains script information of the lamp choreography.
6. The processing system of a vehicle-mounted lamp according to claim 5, characterized in that, The lamp choreography module renders the time axis on the visual interface.
7. A processing method of a vehicle-mounted lamp, characterized by, The method comprises: Abstracting a plurality of vehicle-mounted lamps, obtaining choreography object information and behavior information of the choreography object, the choreography object information comprising name information of the vehicle-mounted lamps, and the behavior information of the choreography object comprising parameters of behaviors of the choreography object, which are used to represent contents that can be adjusted by light effects of the vehicle-mounted lamps; Obtaining light effect services of a plurality of the vehicle-mounted lamps, and the light effect services being used to represent serviceization of light effect capabilities; According to the timeline, at least one of continuity arrangement of the arrangement object information and behavior information of the arrangement object on a single vehicle lamp and seamless switching arrangement between multiple vehicle lamps is performed to obtain script information of multiple lamp arrangements, the script information including multiple script block contents, and the script block content including start time and end time of the light effect capability; and The script information of the lamp arrangement is parsed to obtain execution instructions of the light effect capability of multiple vehicle lamps, the execution instructions are sorted, and according to the sorted execution instructions, the light effect service corresponding to the execution instruction is obtained from the light effect service of multiple vehicle lamps one by one, and the light effect service corresponding to the execution instruction is executed.
8. The processing method of claim 7, wherein, Obtaining script information of multiple lamp arrangements includes the following steps: Obtaining the arrangement object information and the behavior information of the arrangement object, and rendering a visual interface according to the arrangement object information and the behavior information of the arrangement object; Rendering the timeline on the visual interface, and arranging the arrangement object information and the behavior information of the arrangement object according to the timeline to obtain the content of the lamp arrangement; and Real-time conversion is performed on the content of the lamp arrangement to obtain the script information of the lamp arrangement.
9. A vehicle characterized by comprising: The vehicle includes the processing system of the vehicle lamp according to any one of claims 1-6.
Citation Information
Patent Citations
Data processing method and device
CN112306482A