Vehicle multi-screen control method and device
The matching plug-in is obtained through the link core in the Link framework and called its operations, which solves the problem of complex and poor control of multi-screen display systems in intelligent cars, and realizes unified control management of multi-screen display systems, reducing costs and improving flexibility.
Patent Information
- Application Number
- CN202411944619.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
Due to the different models of addition and deserial chips used in intelligent automobiles, the multi-screen display system uses different screens, resulting in complex control, poor flexibility, high maintenance and development costs, and difficult to reuse.
The matching plug-ins in the plug-in table are obtained through the link core in the Link framework, and the operations in the matching plug-in are combined with the addition and deserialization address and bus call are implemented to achieve unified control and management of multiple links displayed on multiple screens.
It reduces maintenance and development costs, reduces management and operation difficulty, improves the flexibility of use, realizes decoupling, and can be flexibly reused.
Smart Images

Figure CN119883165A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle computer technology, and more specifically, to a vehicle multi-screen control method and device. Background Art
[0002] In the automobile system, due to the limitation of the automobile structure, the distance between the automobile screen and the host is generally far, which requires the video signal of the screen to meet such long-distance transmission.
[0003] At present, in order to meet the long-distance transmission from the screen to the host, an adder and deserializer are used in the car system to achieve this.
[0004] However, today's intelligent cars generally have multiple screens, and the serializers used by different screens may be from different chip manufacturers. Even if the same chip is used, different screens may use different models of serializers. The serializers and deserializers from different chip manufacturers and different chip models have different control methods. Therefore, usually there are corresponding control programs for different serializers to run independently, but the management and operation are complex, the flexibility is average, the maintenance and development costs are high, and it is difficult to reuse. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a vehicle multi-screen control method and device. When the user uses the target operation through the link core in the Link framework, the matching plug-in in the plug-in table is obtained, and the operation in the matching plug-in is called in conjunction with the serialization and deserialization address and the bus to complete the operation of the screen. Through a unified interface, unified control and management of multiple links for multi-screen display is realized, maintenance and development costs are reduced, management and operation difficulties are reduced, and flexibility of use is improved. At the same time, decoupling is achieved and flexible reuse is possible.
[0006] In the first aspect, the embodiment of the present application provides a vehicle multi-screen control method, which is applied to a vehicle multi-screen control system; the vehicle multi-screen control system is implemented by a Link framework, including multiple links, each link controls a screen through an operation set; each link controls the screen through an adder and deserializer on the bus; the method includes:
[0007] Obtain a plug-in table for storing all plug-ins defined by a staff member; wherein the plug-in includes an operation set of multiple operations; the plug-in represents the control of the link; the plug-in corresponds to the screen one by one; different plug-ins correspond to different screens;
[0008] In response to a user using a target operation through the link core in the Link framework, selecting a matching plug-in corresponding to the target operation; wherein the matching plug-in represents a plug-in that needs to be called when the user initiates the target operation;
[0009] Receive the serialization and deserialization address and bus corresponding to the target operation sent by the user, and call the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
[0010] In a possible implementation, the operation set is determined by the following steps:
[0011] determining a plurality of elements of a minimum behavior of the link, and classifying the plurality of elements into fixed elements and variable elements;
[0012] According to the classified multiple elements, a minimum behavior including multiple elements is determined, and an operation set corresponding to the link is determined based on the multiple minimum behaviors; wherein the multiple elements of the minimum behavior include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address; and the operation set represents a set of various operations on the link.
[0013] In a possible implementation, determining the operation set corresponding to the link based on multiple minimum behaviors includes:
[0014] Determine all operations corresponding to the link based on multiple minimum behaviors;
[0015] After all operations are classified, an operation set corresponding to the link is obtained according to the classified operations.
[0016] In a possible implementation manner, the multiple elements include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address;
[0017] The fixed elements include a read action or a write action, and a register address; the variable elements include a deserializer address or a serializer address, and a bus.
[0018] In a possible implementation manner, the plug-in is obtained by the following steps:
[0019] For the operation set, in response to the setting of the operation set by the staff, determining a naming attribute of each operation set;
[0020] The corresponding operation set is named according to the naming attribute of each operation set to obtain the corresponding plug-in.
[0021] In a possible implementation, obtaining a plug-in table for storing all plug-ins defined by a staff member includes:
[0022] For the link, generating a corresponding plug-in according to the naming attributes set by the staff and the operation set required to implement the link;
[0023] The plug-ins of each link are combined to determine the plug-in table.
[0024] In a possible implementation, before selecting a matching plug-in corresponding to the target operation, the method further includes:
[0025] Determining the naming attributes of the plug-in required for the target operation;
[0026] According to the naming attribute of the plug-in, a corresponding plug-in is found in the plug-in table, and the plug-in is configured as a matching plug-in for the user.
[0027] In the second aspect, the embodiment of the present application also provides a vehicle multi-screen control device, which is applied to a vehicle multi-screen control system; the vehicle multi-screen control system is implemented by a Link framework, including multiple links, each link controls a screen through an operation set; each link controls the screen through an adder and deserializer on the bus; the device includes:
[0028] An acquisition module is used to acquire a plug-in table for storing all plug-ins defined by a staff member; wherein the plug-in includes an operation set of multiple operations; the plug-in represents the control of the link; the plug-in corresponds to the screen one by one; different plug-ins correspond to different screens;
[0029] A selection module, configured to select a matching plug-in corresponding to the target operation in response to the user using the target operation through the link core in the Link framework; wherein the matching plug-in represents the plug-in that needs to be called when the user initiates the target operation;
[0030] The calling module is used to receive the serialization and deserialization address and bus corresponding to the target operation sent by the user, and cooperate to call the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
[0031] In a possible implementation, the operation set is determined by the following steps:
[0032] A classification module, configured to determine multiple elements of the minimum behavior of the link and classify the multiple elements into fixed elements and variable elements;
[0033] The first determination module is used to determine the minimum behavior including multiple elements according to the classified multiple elements, and determine the operation set corresponding to the link based on the multiple minimum behaviors; wherein the multiple elements of the minimum behavior include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address; and the operation set represents a set of various operations on the link.
[0034] In a possible implementation manner, the first determining module is specifically configured to:
[0035] Determine all operations corresponding to the link based on multiple minimum behaviors;
[0036] After all operations are classified, an operation set corresponding to the link is obtained according to the classified operations.
[0037] In a possible implementation manner, the multiple elements include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address;
[0038] The fixed elements include a read action or a write action, and a register address; the variable elements include a deserializer address or a serializer address, and a bus.
[0039] In a possible implementation manner, the plug-in is obtained by the following steps:
[0040] A second determination module is used to determine, for the operation set, a naming attribute of each operation set in response to a setting of the operation set by a staff member;
[0041] The naming module is used to name the corresponding operation set according to the naming attributes of each operation set to obtain the corresponding plug-in.
[0042] In a possible implementation manner, the acquisition module is specifically configured to:
[0043] For the link, generating a corresponding plug-in according to the naming attributes set by the staff and the operation set required to implement the link;
[0044] The plug-ins of each link are combined to determine the plug-in table.
[0045] In a possible implementation manner, the vehicle multi-screen control device further includes:
[0046] A third determination module, configured to determine a naming attribute of a plug-in required for the target operation before selecting a matching plug-in corresponding to the target operation;
[0047] The search module is used to search for a corresponding plug-in in the plug-in table according to the naming attribute of the plug-in, and configure the plug-in as a matching plug-in for the user.
[0048] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle multi-screen control method as described in any one of the first aspects.
[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle multi-screen control method described in any one of the first aspects are executed.
[0050] A vehicle multi-screen control method and device provided in an embodiment of the present application obtains a plug-in table for storing all plug-ins defined by staff, selects a matching plug-in corresponding to the target operation in response to a user using a target operation through a link core in a Link framework, receives a serialization and deserialization address and bus corresponding to the target operation sent by the user, and cooperates with calling the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen. In the present application, when a user uses a target operation through a link core in a Link framework, a matching plug-in in a plug-in table is obtained, and the operation in the matching plug-in is called in coordination with the serialization and deserialization address and bus to complete the operation on the screen, and unified control and management of multiple links for multi-screen display is realized through a unified interface, which reduces maintenance and development costs, reduces management and operation difficulties, and improves flexibility of use. At the same time, decoupling is achieved, which can be flexibly reused.
[0051] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 is a flow chart of a vehicle multi-screen control method provided according to an embodiment of the present application;
[0054] Figure 2 It is a schematic diagram of the overall process of vehicle multi-screen control;
[0055] Figure 3 This is a schematic diagram of the plugin table;
[0056] Figure 4 is a flow chart of a vehicle multi-screen control method provided according to another embodiment of the present application;
[0057] Figure 5 is a structural schematic diagram of a vehicle multi-screen control device provided according to an embodiment of the present application;
[0058] Figure 6 It is a structural schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0059] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0060] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0061] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0062] Considering that in the automobile system, due to the limitations of the automobile structure, the distance between the automobile screen and the host is generally far, which requires the screen video signal to meet this long-distance transmission.
[0063] At present, in order to meet the long-distance transmission from the screen to the host, an adder and deserializer is used in the car system to achieve this. However, today's intelligent cars generally have multiple screens, and the adder and deserializer chips used by different screens may be from different chip manufacturers. Even if the same chip is used, the adder and deserializer chips used by different screens may be different models, and the adder and deserializers of different chip manufacturers and different chip models have different control methods. Therefore, usually there will be corresponding control programs for different adders and deserializers to run and use independently, but the management and operation are relatively complex, the flexibility is average, the maintenance and development costs are high, and it is difficult to reuse.
[0064] To address this problem, the present application provides a vehicle multi-screen control method. When the user uses the target operation through the link core in the Link framework, the matching plug-in in the plug-in table is obtained, and the operation in the matching plug-in is called in conjunction with the serialization and deserialization address and the bus to complete the operation of the screen. Through a unified interface, unified control and management of multiple links for multi-screen display is achieved, which reduces maintenance and development costs, reduces management and operation difficulties, and improves flexibility of use. At the same time, decoupling is achieved and flexible reuse is possible.
[0065] Figure 1 It is a flow chart of a vehicle multi-screen control method provided according to an embodiment of the present application. It is applied to a vehicle multi-screen control system; the vehicle multi-screen control system is implemented by a Link framework, including multiple links (control links), each link controls a screen through an operation set; each link controls the screen through an adder and a deserializer on the bus; the adder and the deserializer include a serializer and a deserializer. For example, Figure 2 As shown, the overall process of vehicle multi-screen control is represented.
[0066] like Figure 1 As shown, the vehicle multi-screen control method of the embodiment of the present application may specifically include:
[0067] S101. Obtain a plug-in table for storing all plug-ins defined by a staff member.
[0068] S102: In response to the user using a target operation through the link core in the Link framework, a matching plug-in corresponding to the target operation is selected.
[0069] S103, receiving the serialization and deserialization address and bus corresponding to the target operation sent by the user, and calling the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
[0070] In the above-mentioned vehicle multi-screen control method, when the user uses the target operation through the link core in the Link framework, the matching plug-in in the plug-in table is obtained, and the operations in the matching plug-in are called in conjunction with the serialization and deserialization addresses and the bus to complete the operation of the screen. The unified control management of multiple links for multi-screen display is realized through a unified interface, which reduces the maintenance and development costs, reduces the difficulty of management and operation, and improves the flexibility of use. At the same time, decoupling is achieved, which can be flexibly reused.
[0071] The above exemplary steps of the embodiment of the present application are described below with reference to specific examples:
[0072] S101, obtaining a plug-in table for storing all plug-ins defined by a staff member.
[0073] In the embodiment of the present application, the plug-in table is used to store all plug-ins defined by the developer. Figure 3 As shown, the plug-in includes a set of operations for multiple operations. The plug-in represents the one-to-one correspondence between the control plug-in and the screen of the link. Different plug-ins correspond to different screens. The plug-in table for storing all plug-ins defined by the staff is obtained for subsequent processing. For example, Figure 2 As shown, it can be seen that there are n screens (LCDs), corresponding to n links, each link corresponding to a serializer and a deserializer, and each link also corresponding to an operation set, and the plug-in table, namely the plugins table, is obtained.
[0074] The operation set is determined by the following steps: determining multiple elements of the minimum behavior of the link, and classifying the multiple elements into fixed elements and variable elements; determining the minimum behavior including multiple elements according to the classified multiple elements, and determining the operation set corresponding to the link based on multiple minimum behaviors; wherein the multiple elements of the minimum behavior at least include the deserializer address or the adder address, the bus, the read action or the write action, and the register address; the operation set represents the set of various operations on the link (adding and deserializing). The definition of the adder and deserializer operation set is shown in Table 1 below:
[0075] Table 1
[0076]
[0077] To continue, the multiple elements include at least the deserializer address or the serializer address, the bus, the read action or the write action, and the register address; the fixed elements include the read action or the write action, and the register address; the variable elements include the deserializer address or the serializer address, and the bus.
[0078] Specifically, the minimum behavior includes the following elements: deserializer (or adder) address + bus + read (or write) action + register address, and in the operation set, the operation is minimum behavior 1 + minimum behavior 2 + ... + minimum behavior n, that is, a series of minimum behaviors can constitute an operation on the link (such as querying the link status).
[0079] Optionally, when determining the operation set corresponding to the link based on multiple minimum behaviors, all operations corresponding to the link are determined based on the multiple minimum behaviors; after classifying all operations, the operation set corresponding to the link is obtained according to the classified operations.
[0080] Therefore, a series of minimum behaviors constitute an operation on a link, thereby obtaining all operations. After classifying them (operations of the link), this application obtains an operation set, and thus, this application defines a set of general operation sets.
[0081] S102, in response to the user using the target operation through the link core in the Link framework, selecting a matching plug-in corresponding to the target operation.
[0082] In the embodiment of the present application, the matching plug-in represents the plug-in and the corresponding screen that need to be called when the user initiates the target operation. The user is the caller. When the user initiates the target operation through the link core in the Link framework, the matching plug-in required to be called for the target operation is selected for subsequent processing. Among them, the target operation corresponds to the serialization and deserialization address and bus. For example, Figure 2 As shown, the user calls the interface of the Link framework, can use the Link framework, and then call the link core component in the Link framework to initiate the target operation, and determine the plug-in and corresponding screen that need to be called for the target operation.
[0083] It should be noted that the plug-in is obtained through the following steps: for the operation set, in response to the staff's settings for the operation set, determine the naming attributes of each operation set; name the corresponding operation set according to the naming attributes of each operation set to obtain the corresponding plug-in.
[0084] Specifically, if Figure 2As shown, for each link corresponding to the operation set, there is a corresponding name attribute, which is used to name the add / deserialize link link, i.e. the operation set, which also corresponds to the plug-in as name+operation set. For a specific add / deserialize link, the developer, i.e. the staff, fills in the name attribute (naming attribute) and describes the operation set that implements the link, thus forming a link plug-in. It can be seen that different screens correspond to different operation sets, and the named operation sets can correspond to links (screens) one by one. For example, operation set 1 can correspond to screen 1, operation set 2 can correspond to screen 2, and so on.
[0085] S103, receiving the serialization and deserialization address and bus corresponding to the target operation sent by the user, and calling the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
[0086] In the embodiment of the present application, the serialization and deserialization address and bus corresponding to the target operation sent by the user are received, and the operation in the matching plug-in is called according to the serialization and deserialization address and the bus to complete the target operation on the screen.
[0087] It should be noted that in a specific operation, this application uses read, write actions and register addresses as fixed behavioral elements, and uses the serialization and deserialization addresses and buses as variable elements. Therefore, in the operation definition, the register address, read action, and write action must be specific and fixed, while the serialization and deserialization addresses and buses are embodied with variable variables. In the specific operation, the specific serialization and deserialization addresses and buses are notified of the operation in real time by the user when calling, so that the operation set of the plug-in will be more flexible and applicable to the hardware environment of different projects.
[0088] To continue, on the bus where the adder and deserializer are located, if the address of the adder and deserializer is known, the device can be accessed, and a read register x action or a write register x action can be initiated for it, where x represents the address of a specific register.
[0089] The vehicle multi-screen control method provided in the embodiment of the present application obtains a plug-in table for storing all plug-ins defined by the staff, responds to the user using the target operation through the link core in the Link framework, selects the matching plug-in corresponding to the target operation, receives the serialization and deserialization address and bus corresponding to the target operation sent by the user, and cooperates with calling the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen. The vehicle multi-screen control method of the present application obtains the matching plug-in in the plug-in table when the user uses the target operation through the link core in the Link framework, and cooperates with the serialization and deserialization address and bus to call the operation in the matching plug-in to complete the operation on the screen. The unified control management of multiple links for multi-screen display is realized through a unified interface, which reduces the maintenance and development costs, reduces the difficulty of management and operation, and improves the flexibility of use. At the same time, decoupling is realized, which can be flexibly reused.
[0090] Further, such as Figure 4 As shown, the "obtaining a plug-in table for storing all plug-ins defined by the staff" in step S101 in the above embodiment may specifically include the following steps:
[0091] S401, for a link, generating a corresponding plug-in according to the naming attributes set by the staff and the operation set required to implement the link.
[0092] S402: Combine the plug-ins of each link to determine a plug-in table.
[0093] In the embodiment of the present application, the plug-in is name+operation set, and the corresponding plug-in is obtained after the operation set is named. Thus, the plug-ins of each link are combined to obtain a plug-in table.
[0094] Furthermore, before selecting the matching plug-in corresponding to the target operation, the vehicle multi-screen control method of the present application also includes:
[0095] a. Determine the naming attributes of the plug-in required for the target operation;
[0096] b. According to the naming attribute of the plug-in, find the corresponding plug-in in the plug-in table and configure the plug-in as the matching plug-in for the user.
[0097] In the embodiment of the present application, the naming attribute of the plug-in required for the target operation is determined according to the target operation, the corresponding plug-in is found in the plug-in table according to the naming attribute of the plug-in, and the plug-in is configured as a matching plug-in for the user.
[0098] It should be noted that before using the link operation, the user needs to tell the link core the name of the required plug-in. The link core will find the plug-in in the plug-in table according to the name, and then configure the plug-in as the matching plug-in for the user. When the user subsequently initiates a link operation through the link core, the link core will automatically call the operation in the plug-in, and at the same time cooperate with the serialization and deserialization address and bus passed by the user, the operation in the plug-in can fully complete the functional operation of the link.
[0099] Furthermore, for serialization and deserialization, a target address of serialization and deserialization is obtained based on the bus, and a screen corresponding to the serialization and deserialization is accessed based on the target address of the serialization and deserialization, wherein the target address of the serialization and deserialization includes a serializer address and a deserializer address.
[0100] Therefore, considering the maintenance and development costs, this application has designed a control management framework to unify the management and operation of different types of serialization and deserialization links under a unified program framework. Therefore, this application supports the control and management of multiple links at the same time, reducing the maintenance cost. Different screens have an abstract operation set interface, which realizes a unified interface and can be flexibly reused to achieve decoupling. The caller does not need to care about the hardware of the application or the implementation details of the plug-in. It only needs to call the plug-in directly.
[0101] Figure 5 is a schematic diagram of the structure of a vehicle multi-screen control device provided according to an embodiment of the present application; Figure 5 As shown, the vehicle multi-screen control device 500 of the embodiment of the present application may specifically include:
[0102] The acquisition module 501 is used to obtain a plug-in table for storing all plug-ins defined by the staff; wherein the plug-in includes an operation set of multiple operations; the plug-in represents the control of the link; the plug-in and the screen have a one-to-one correspondence; different plug-ins correspond to different screens.
[0103] The selection module 502 is used to select a matching plug-in corresponding to the target operation in response to the user using the target operation through the link core in the Link framework; wherein the matching plug-in represents the plug-in that needs to be called when the user initiates the target operation.
[0104] The calling module 503 is used to receive the serialization and deserialization address and bus corresponding to the target operation sent by the user, and call the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
[0105] In one possible implementation, the operation set is determined by the following steps:
[0106] A classification module, for determining multiple elements of the minimum behavior of the link, and classifying the multiple elements into fixed elements and variable elements;
[0107] The first determination module is used to determine the minimum behavior including multiple elements according to the classified multiple elements, and determine the operation set corresponding to the link based on the multiple minimum behaviors; wherein the multiple elements of the minimum behavior at least include a deserializer address or a serializer address, a bus, a read action or a write action, and a register address; the operation set represents a set of various operations on the link.
[0108] In a possible implementation, the first determining module is specifically configured to:
[0109] Determine all operations corresponding to the link based on multiple minimum behaviors;
[0110] After all operations are classified, the operation set corresponding to the link is obtained according to the classified operations.
[0111] In a possible implementation, the multiple elements include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address;
[0112] Fixed elements include read actions or write actions, and register addresses; variable elements include deserializer addresses or serializer addresses, and the bus they are on.
[0113] In a possible implementation, the plug-in is obtained by following the steps below:
[0114] A second determination module is used to determine the naming attribute of each operation set in response to the setting of the operation set by the staff;
[0115] The naming module is used to name the corresponding operation set according to the naming attributes of each operation set to obtain the corresponding plug-in.
[0116] In a possible implementation, the acquisition module is specifically configured to:
[0117] For a link, a corresponding plug-in is generated based on the naming attributes set by the staff and the set of operations required to implement the link;
[0118] The plug-ins of each link are combined to determine the plug-in table.
[0119] In a possible implementation manner, the vehicle multi-screen control device further includes:
[0120] A third determination module is used to determine the naming attribute of the plug-in required for the target operation before selecting a matching plug-in corresponding to the target operation;
[0121] The search module is used to find the corresponding plug-in in the plug-in table according to the naming attribute of the plug-in, and configure the plug-in as the matching plug-in of the user.
[0122] The vehicle multi-screen control device provided in the embodiment of the present application obtains a plug-in table for storing all plug-ins defined by the staff, responds to the user using the target operation through the link core in the Link framework, selects the matching plug-in corresponding to the target operation, receives the serialization and deserialization address and bus corresponding to the target operation sent by the user, and cooperates with calling the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen. The vehicle multi-screen control device of the present application obtains the matching plug-in in the plug-in table when the user uses the target operation through the link core in the Link framework, and cooperates with the serialization and deserialization address and bus to call the operation in the matching plug-in to complete the operation on the screen. The unified control management of multiple links for multi-screen display is realized through a unified interface, which reduces maintenance and development costs, reduces management and operation difficulties, and improves flexibility of use. At the same time, decoupling is achieved, which can be flexibly reused.
[0123] like Figure 6 As shown, an electronic device 600 provided in an embodiment of the present application includes: a processor 601, a memory 602 and a bus, wherein the memory 602 stores machine-readable instructions executable by the processor 601. When the electronic device is running, the processor 601 communicates with the memory 602 through the bus, and the processor 601 executes the machine-readable instructions to perform the steps of the vehicle multi-screen control method as described above.
[0124] Specifically, the above-mentioned memory 602 and processor 601 can be general-purpose memory and processor, which are not specifically limited here. When the processor 601 runs the computer program stored in the memory 602, the above-mentioned vehicle multi-screen control method can be executed.
[0125] Corresponding to the above-mentioned vehicle multi-screen control method, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned vehicle multi-screen control method are executed.
[0126] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0127] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0128] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0129] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the deployment method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0130] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle multi-screen control method, applied to a vehicle multi-screen control system; the vehicle multi-screen control system is implemented by a Link framework, including multiple links, each link controls a screen through an operation set; each link controls the screen through an adder and deserializer on the bus; characterized in that, The method comprises: Obtain a plug-in table for storing all plug-ins defined by a staff member; wherein the plug-in includes an operation set of multiple operations; the plug-in represents the control of the link; the plug-in corresponds to the screen one by one; different plug-ins correspond to different screens; In response to a user using a target operation through the link core in the Link framework, selecting a matching plug-in corresponding to the target operation; wherein the matching plug-in represents a plug-in that needs to be called when the user initiates the target operation; Receive the serialization and deserialization address and bus corresponding to the target operation sent by the user, and call the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
2. The method according to claim 1, characterized in that The operation set is determined by the following steps: determining a plurality of elements of a minimum behavior of the link, and classifying the plurality of elements into fixed elements and variable elements; According to the classified multiple elements, a minimum behavior including multiple elements is determined, and an operation set corresponding to the link is determined based on the multiple minimum behaviors; wherein the multiple elements of the minimum behavior include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address; and the operation set represents a set of various operations on the link.
3. The method according to claim 2, characterized in that The determining, based on a plurality of minimum behaviors, a set of operations corresponding to the link comprises: Determine all operations corresponding to the link based on multiple minimum behaviors; After all operations are classified, an operation set corresponding to the link is obtained according to the classified operations.
4. The method according to claim 3, characterized in that The multiple elements include at least a deserializer address or a serializer address, a bus, a read action or a write action, and a register address; The fixed elements include a read action or a write action, and a register address; the variable elements include a deserializer address or a serializer address, and a bus.
5. The method according to claim 4, characterized in that The plugin is obtained by following the steps below: For the operation set, in response to the setting of the operation set by the staff, determining a naming attribute of each operation set; The corresponding operation set is named according to the naming attribute of each operation set to obtain the corresponding plug-in.
6. The method according to claim 5, characterized in that The plugin table for storing all plugins defined by the staff is obtained, including: For the link, generating a corresponding plug-in according to the naming attributes set by the staff and the operation set required to implement the link; The plug-ins of each link are combined to determine the plug-in table.
7. The method according to claim 6, characterized in that Before selecting a matching plug-in corresponding to the target operation, the method further includes: Determining the naming attributes of the plug-in required for the target operation; According to the naming attribute of the plug-in, a corresponding plug-in is found in the plug-in table, and the plug-in is configured as a matching plug-in for the user.
8. A vehicle multi-screen control device, applied to a vehicle multi-screen control system; the vehicle multi-screen control system is implemented by a Link framework, including multiple links, each link controls a screen through an operation set; each link controls the screen through an adder and deserializer on the bus; characterized in that, The device comprises: An acquisition module is used to acquire a plug-in table for storing all plug-ins defined by a staff member; wherein the plug-in includes an operation set of multiple operations; the plug-in represents the control of the link; the plug-in corresponds to the screen one by one; different plug-ins correspond to different screens; A selection module, configured to select a matching plug-in corresponding to the target operation in response to the user using the target operation through the link core in the Link framework; wherein the matching plug-in represents the plug-in that needs to be called when the user initiates the target operation; The calling module is used to receive the serialization and deserialization address and bus corresponding to the target operation sent by the user, and cooperate to call the operation in the matching plug-in according to the serialization and deserialization address and bus to complete the target operation on the screen.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus. When the machine-readable instructions are executed by the processor, the steps of the vehicle multi-screen control method as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the vehicle multi-screen control method as described in any one of claims 1 to 7.