A vehicle-mounted multi-screen interaction method, a storage medium and a vehicle
By adopting the SOA model and in-vehicle Ethernet for data transmission between in-vehicle display controllers, the problem of insufficient information interaction between front and rear devices in in-vehicle gaming systems is solved, achieving more efficient multi-screen gaming services and synchronization, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BYD CO LTD
- Filing Date
- 2024-04-28
- Publication Date
- 2026-05-01
AI Technical Summary
In existing in-vehicle gaming systems, there is insufficient information interaction between the front and rear in-vehicle devices, resulting in poor synchronization and inability to provide effective gaming services across multiple screens.
The system adopts a layered structure based on the SOA model, and transmits game data between display controllers via in-vehicle Ethernet. This enables the first display controller to provide game scene services to the second display controller, and allows for data calls and adjustments through interface function commands, thereby enhancing information interaction and response speed between devices.
It improves the information interaction and synchronization between in-vehicle devices, enhances the flexibility and real-time nature of in-vehicle games, and provides a better gaming experience and a greater sense of realism.
Smart Images

Figure CN118593981B_ABST
Abstract
Description
A method for multi-screen interaction in a vehicle, a storage medium, and a vehicle Technical Field
[0001] This application relates to the field of vehicles, and more particularly to an in-vehicle multi-screen interaction method, device, storage medium, and vehicle. Background Technology
[0002] Car transportation is loved by people for its convenience, comfort, and flexibility, and has become the primary choice for most people's travel.
[0003] To enhance the intelligence and entertainment features of the vehicle's infotainment system and provide a better user experience, the front-row displays are equipped with entertainment and gaming functions. However, with this method of controlling in-vehicle games, each electronic device can generally only provide gaming services to a single user, and the information interaction between the front and rear in-vehicle devices needs to be improved. Summary of the Invention
[0004] In a first aspect, this application provides an in-vehicle multi-screen interaction method, a storage medium, and a vehicle, applied to a first display screen controller. The method includes: generating a first interface function instruction in response to a first operation, the first interface function instruction being used to call first scene service data; sending the first interface function instruction via an in-vehicle Ethernet to generate second scene service data based on the first scene service data; wherein the first scene service data is placed in the first display screen controller, and the second scene service data is placed in a second display screen controller.
[0005] In this embodiment, the first scene service data is data related to team-based gameplay between the first game application and / or the first display controller and the second display controller. Both the first and second display controllers have the first game application installed.
[0006] The in-vehicle multi-screen interaction method provided in this application allows the first display controller to provide a first interface function instruction to the second display controller via in-vehicle Ethernet. This enables the first display controller to provide game scene services to the second display controller, improving information interaction between in-vehicle devices and providing users with better game services and a better user experience. Furthermore, the high communication speed of in-vehicle Ethernet allows for more flexible implementation of in-vehicle game programs, better real-time performance and synchronization, and faster response times when transmitting game data between in-vehicle display controllers.
[0007] In one possible implementation, the step of generating a first interface function instruction in response to a first operation specifically includes: generating the first scenario service data in response to the first operation; constructing a first scenario service layer based on a first SOA model, wherein the first scenario service layer includes the first scenario service data; and generating the first interface function instruction corresponding to the first scenario service layer.
[0008] In one possible implementation, generating the first scene service data in response to the first operation specifically includes: generating first vehicle control data in response to the first operation; constructing a first enhanced service layer in the first SOA model, the first enhanced service layer including the first vehicle control data; generating a second interface function instruction corresponding to the first enhanced service layer, the second interface function instruction being used to call the first vehicle control data; generating the first scene service data according to the second interface function instruction; wherein, the first SOA model is applied to the first display controller.
[0009] In one possible implementation, the method further includes: sending the second interface function instruction in response to a second operation to cause the second display controller to generate second vehicle control data and / or second scene service data based on the first vehicle control data, wherein the second vehicle control data is placed in the second display controller.
[0010] In one possible implementation, generating the first vehicle control data in response to the first operation specifically includes: acquiring first vehicle parameter data in response to the first operation; constructing a first atomic service layer in the first SOA model, the first atomic service layer including the first vehicle parameter data; generating a third interface function instruction corresponding to the first atomic service layer, the third interface function instruction being used to call the first vehicle parameter data; and generating the first vehicle control data according to the third interface function instruction.
[0011] In one possible implementation, the method further includes: sending the third interface function instruction to the second display controller in response to a third operation, so that the second display controller generates second vehicle parameter data and / or second vehicle control data based on the first vehicle parameter data, wherein the second vehicle parameter data is placed in the second display controller.
[0012] In one possible implementation, the step of acquiring the first vehicle parameter data in response to the first operation specifically includes: acquiring the first vehicle parameter data via CAN communication in response to the first operation; wherein the first vehicle parameter data includes at least one of the following: vehicle speed information, gear information, and outdoor environment information.
[0013] In one possible implementation, the method further includes: constructing a first application layer based on the first SOA model, the first application layer including at least one application module; implementing the first scenario service data on the application module according to the first interface function instructions, and / or implementing the first vehicle control data on the application module according to the second interface function instructions.
[0014] In this implementation, the game-related software architecture connected to the display device adopts a layered structure based on the SOA model, which can reduce the coupling between service layers, adapt to more complex in-vehicle gaming environments, respond more quickly to ever-changing game application needs, and realize new game scenarios and experiences as the intelligence level of the vehicle system increases.
[0015] In one possible implementation, before generating the first interface function instruction in response to the first operation, the method further includes: if it is determined that the current state of the vehicle is a non-driving state, setting at least one component of the vehicle to a decoupled state, wherein the at least one component in the decoupled state is used to associate the first scenario service data; wherein the at least one component includes at least one of the following: a steering wheel, a brake pedal, a transmission, and an accelerator pedal.
[0016] In one possible implementation, the method further includes: in response to the fourth operation, invoking a fifth interface function instruction in the second display controller corresponding to the second vehicle control data, so as to invoke and / or adjust the second vehicle control data.
[0017] Using this method, the first display controller can call or adjust the second vehicle control data in the second display controller through the fifth interface function instructions, thereby enhancing the information interaction between devices, improving the operability of in-vehicle games, and enhancing the realism of in-vehicle games.
[0018] Secondly, this application provides a method for multi-screen interaction in a vehicle, the method comprising: receiving a first interface function instruction via a vehicle Ethernet, the first interface function instruction being used to call first scene service data in a first display controller; generating second scene service data based on the first interface function instruction; wherein the first scene service data is placed in the first display controller, and the second scene service data is placed in the second display controller.
[0019] In one possible implementation, after generating the second scene service data, the method further includes: constructing a second scene service layer based on a second SOA model, the second scene service layer including the second scene service data; generating a fourth interface function instruction for calling the second scene service data; and applying the second SOA model to the second display controller.
[0020] In one possible implementation, the method further includes: receiving a second interface function instruction, the second interface function instruction being used to invoke first vehicle control data in the first display controller; generating second vehicle control data and / or second scene service data based on the second interface function instruction, wherein the first vehicle control data is placed in the first display controller and the second vehicle control data is placed in the second display controller.
[0021] In one possible implementation, the first vehicle control data includes at least one of the following: a scene image of the game screen, display parameters of the lights corresponding to the first display controller, and game sound effects corresponding to the first display controller; the second vehicle control data includes at least one of the following: a scene image of the game screen, display parameters of the lights corresponding to the second display controller, and game sound effects corresponding to the second display controller.
[0022] In one possible implementation, after generating the second vehicle control data, the method further includes: constructing a second enhanced service layer in the second SOA model, the second enhanced service layer including the second vehicle control data; generating a fifth interface function instruction corresponding to the second enhanced service layer, the fifth interface function instruction being used to call the second vehicle control data.
[0023] In one possible implementation, the method further includes: receiving a third interface function instruction, the third interface function instruction being used to call first vehicle parameter data; generating second vehicle parameter data and / or second vehicle control data according to the third interface function instruction, wherein the first vehicle parameter data is placed in the first display screen controller, and the second vehicle parameter data is placed in the second display screen controller.
[0024] In one possible implementation, after generating the second vehicle parameter data, the method further includes: constructing a second atomic service layer in the second SOA model, the second atomic service layer including the second vehicle parameter data; generating a sixth interface function instruction corresponding to the second atomic service layer, the sixth interface function instruction being used to call the second vehicle parameter data.
[0025] In one possible implementation, the method further includes: constructing a second application layer based on the SOA model, the second application layer including at least one application module; implementing the second scenario service data on the application module according to the interface function instructions corresponding to the second scenario service layer, and / or implementing the second vehicle control data on the application module according to the fifth interface function instructions.
[0026] Thirdly, this application provides an in-vehicle multi-screen interactive system, the system including a first display controller and at least one second display controller, the first display controller and the at least one second display controller having a communication connection established via an in-vehicle Ethernet, the first display controller being used to execute the first aspect or any possible implementation of the first aspect, and the second display controller being used to execute the second aspect or any possible implementation of the second aspect, so as to realize the interaction between the first display controller and the at least one second display controller.
[0027] Fourthly, a vehicle comprising the in-vehicle multi-screen interactive system described above.
[0028] Fifthly, embodiments of this application provide a chip system applied to a display device. The chip system includes one or more processors, which are configured to invoke computer instructions to cause the display device to perform the method shown in the first aspect or any possible implementation thereof, or the second aspect or any possible implementation thereof.
[0029] In a sixth aspect, this application provides a computer-readable storage medium storing a computer program; when the computer program is run on one or more processors, it causes the electronic device to perform the method described in the first aspect and any possible implementation thereof, or the second aspect or any possible implementation thereof.
[0030] In a seventh aspect, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof, or the second aspect or any possible implementation thereof.
[0031] It is understood that the in-vehicle multi-screen interactive system, vehicle, computer storage medium, computer program, computer program product, and chip system provided above are all used to execute the methods shown in any implementation of the corresponding aspects of the embodiments of this application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below.
[0033] Figure 1 is a schematic diagram of the network topology of an in-vehicle multi-screen interaction method provided in an embodiment of this application;
[0034] Figure 2 is a flowchart illustrating a vehicle-mounted multi-screen interaction method provided in an embodiment of this application;
[0035] Figure 3 is a schematic diagram of the software architecture of a game service connected to a first display screen controller according to an embodiment of this application;
[0036] Figure 4 is a communication architecture diagram between display devices provided in an embodiment of this application;
[0037] Figure 5 is a flowchart illustrating another in-vehicle multi-screen interaction method provided in an embodiment of this application;
[0038] Figure 6 is a structural schematic diagram of an in-vehicle multi-screen interactive device provided in an embodiment of this application;
[0039] Figure 7 is a structural schematic diagram of another in-vehicle multi-screen interactive device provided in an embodiment of this application;
[0040] Figure 8 is a structural schematic diagram of another in-vehicle multi-screen interactive device provided in an embodiment of this application;
[0041] Figure 9 is a structural schematic diagram of another in-vehicle multi-screen interactive device provided in an embodiment of this application;
[0042] Figure 10 is a structural schematic diagram of another in-vehicle multi-screen interactive device provided in an embodiment of this application. Detailed Implementation
[0043] The present application will now be described in further detail with reference to the accompanying drawings.
[0044] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise.
[0045] In this application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three or more, and "and / or" is used to describe the relationship between related objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items. For example, at least one (item) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c".
[0046] In the in-vehicle multi-screen interaction method provided in this application, at least two display devices are provided in the cabin area of the vehicle, and the at least two display devices are connected to each other via an in-vehicle Ethernet.
[0047] The following, with reference to Figure 1, uses an example of a display device A located in the front passenger cabin area, a display device B located in the left rear passenger cabin area, and a display device C located in the right rear passenger cabin area to introduce a network topology diagram of an in-vehicle multi-screen interaction method provided in this application embodiment.
[0048] As shown in Figure 1, display device A includes a central control screen (also known as a front-row display screen) and a first control module; display device B includes a left rear-row display screen and a second control module; and display device C includes a right rear-row display screen and a third control module. Each display device's corresponding control module is equipped with an Ethernet switch (shown as Switch in Figure 1), and communication connections between the display devices are established through the Ethernet switch.
[0049] As an example, the first control module is the first display screen controller described elsewhere in this document, and the second and third control modules are the second display screen controllers described elsewhere in this document. It should be noted that this example only uses the first display screen controller as the control module for the front display screen and the second display screen controller as the control module for the rear display screen; however, in other implementations, the first display screen controller could also be the control module for the rear display screen, and the second display screen controller could be the control module for the front display screen. This document does not impose any limitations on this.
[0050] Optionally, the display screen and control module in the display device can be integrated into the same device or they can be two different devices; this document does not limit this. It should be noted that this document mainly uses the control module as the execution subject for implementing the in-vehicle multi-screen interaction method provided in this application, but the execution subject for implementing the in-vehicle multi-screen interaction method provided in this application can also be the display device containing the display screen and control module.
[0051] As an example, the Ethernet switches in the various display devices can establish communication via automotive Ethernet 100Base T1 (also known as 802.3bw in communication standards).
[0052] As an example, display device A can be connected to the vehicle's onboard bus, which is a communication network interconnecting underlying vehicle devices (such as display device A, air conditioning system, lighting system, instrument panel, etc.). For example, the onboard bus may include, but is not limited to, a CAN bus. In this embodiment, display device A can obtain vehicle status information, such as vehicle speed and gear position, based on the onboard bus, and can also share this vehicle status information with other display devices through in-vehicle Ethernet and SOA model.
[0053] In this embodiment of the application, at least one component in the vehicle (the at least one component includes at least one of the following: steering wheel, brake pedal, transmission, and accelerator pedal) can be set to a decoupled state. The at least one component in the decoupled state is used to control the virtual operation controls in the game screen displayed on the corresponding display device, rather than to control the driving state of the vehicle.
[0054] As an example, as shown in Figure 1, the steering wheel in the vehicle can be set to a decoupled state and establish communication with display device A based on short-range communication technology (such as Bluetooth technology), and be used to control the virtual operation controls in the game screen displayed on display device A.
[0055] As another example, display device A can also connect to remote control 1 via Bluetooth. Remote control 1 is used to control the virtual operation controls in the game screen displayed on display device A. The remote control can be a dedicated game controller or a terminal that can be used as a virtual game controller.
[0056] It should be noted that the number of remote control handles connected to each display device can be greater than or equal to 0, and this article does not limit this.
[0057] As an example, if the number of remote controllers connected to the display device is 0 and the steering wheel is not decoupled, the display device can provide the user with the function of controlling virtual operation controls in the game screen based on the screen touch function. As an example, when a game application only supports creating one game character, display device A can be connected to a steering wheel or remote controller 1, and display devices B and C can be connected to remote controller 2 and remote controller 3 respectively; when a game application supports creating multiple (at least two) game characters, display device A can be connected to a steering wheel and / or at least one remote controller 1 at the same time, and display devices B and C can be connected to multiple remote controllers 2 and multiple remote controllers 3 respectively.
[0058] In this embodiment, the first display controller can be a control module of any one of display device A, display device B, or display device C, and the second display controller can be a control module of any other display device besides the display device corresponding to the first display controller. The first display controller is used to execute the methods or steps executed by the first display controller in the method embodiments provided herein (e.g., Figure 2 or Figure 5), and the first display controller is used to execute the methods or steps executed by the second display controller in the method embodiments provided herein (e.g., Figure 2 or Figure 5).
[0059] The in-vehicle multi-screen interaction method provided in this application is described below with reference to Figure 2. At least two in-vehicle display controllers are installed in the vehicle's cabin area. These at least two in-vehicle display controllers are connected via an in-vehicle Ethernet network. Specifically, the at least two in-vehicle display controllers include a first display controller and at least one second display controller. The first display controller is one of the at least two in-vehicle display controllers, and the second display controller is the one other than the first display controller. As shown in Figure 2, the method specifically includes the following steps:
[0060] S201, in response to the first operation, the first display controller generates a first interface function instruction.
[0061] The first interface function instruction is used to call the first scene service data.
[0062] In this embodiment, the first display controller determines, based on the first operation, that it needs to provide game scene services to the second display controller. As an example, the first operation could be a user operation requesting the first and second display controllers to enter a team game. Based on this first operation, the first display controller determines that it needs to provide the aforementioned first scene service data to the second display controller. Therefore, the first display controller generates the aforementioned first interface function instruction and sends it to the second display controller to provide game services, thereby enhancing the game interactivity for in-vehicle users.
[0063] In this embodiment, the first scene service data is data related to the first game application and / or data related to team-based gameplay between the first display controller and the second display controller. For example, the first scene service data includes, but is not limited to, one or both of the first game scene parameters and the first game operation control method parameters. The first game scene parameters indicate whether the current game scene is a single-screen game scene or a multi-screen interactive team game scene, and the first game operation control method parameters indicate whether the game operation control method of the first display controller is a vehicle component decoupled mode, a game controller mode, or a virtual game controller mode.
[0064] As an example, after the first display controller activates the first game application based on a user-initiated activation command, it receives the first operation, which is a user's click operation on the team game function provided in the first game application. The first game application is installed on both the first and second display controllers. This first game application supports game characters creating virtual spaces for multiplayer team games; for example, the first game application may include, but is not limited to, competitive games, tactical competitive games, or card games.
[0065] S202, the first display controller sends the aforementioned first interface function instruction to the second display controller, and correspondingly, the second display controller receives the first interface function instruction.
[0066] In this embodiment of the application, the first display controller sends the aforementioned first interface function instruction to the second display controller based on Ethernet communication between the first display controller and the second display controller.
[0067] S203, the second display controller generates second scene service data based on the first interface function instruction.
[0068] In this embodiment, after receiving the first interface function instruction, the second display controller can call the first scene service data through the first interface function instruction, generate second scene service data based on the first scene service data, and the second scene service data is at least partially the same as the first scene service data, so as to provide corresponding game scene services for the game application of the second display controller.
[0069] It should be noted that the second display controller can selectively call some or all of the data contained in the first scene service data through the first interface function instruction. It can also be understood that the second display controller uses the game scene service data required for in-vehicle team games based on the game application running in the second display controller.
[0070] As an example, the first scene service data includes, but is not limited to, the aforementioned first game scene parameters and the aforementioned first game operation control method parameters. After launching the first game application, the first display controller determines that the current game scene is a multi-screen interactive team game scene based on a first operation (the first operation being a click operation to initiate a team game). It assigns the game scene parameters a value indicating that the current game scene is a multi-screen interactive team game scene, and determines that it needs to send the aforementioned first interface function instruction to the second display controller based on the current game scene being a multi-screen interactive team game scene. Upon receiving the first interface function instruction and launching the first game application, the second display controller calls the first game scene parameters in the first scene service data through the first interface function instruction. Based on the first game scene parameters indicating that the current game scene is a multi-screen interactive team game scene, it generates second scene service data. This second scene service data includes second game scene parameters, which are determined based on the values of the first game scene parameters.
[0071] As an example, the second display controller can further enable software programs corresponding to the multi-screen interactive team game scene based on the second game scene parameters. For example, the software programs corresponding to the multi-screen interactive team game scene include, but are not limited to: dynamically adjusting the scene image of the game screen displayed by the second display controller according to the game service provided by the first display controller during the process of the second display controller running the game application, adjusting the lighting parameters of the area in the vehicle cabin corresponding to the second display controller, or adjusting the game sound effects in the second display controller.
[0072] Using the method provided in this application, on the one hand, the first display controller provides a first interface function instruction to the second display controller via vehicle Ethernet, enabling the first display controller to provide game scene services to the second display controller and improving information interaction between vehicle devices. On the other hand, the high communication speed of vehicle Ethernet allows for the transmission of game data between vehicle display controllers, making the implementation of vehicle game programs more flexible, with better real-time performance and synchronization, and faster response speed.
[0073] In some possible implementations, the first display controller generates a first interface function instruction in response to a first operation, specifically including: acquiring the aforementioned first scene service data in response to the first operation; constructing a first scene service layer based on a service-oriented architecture (SOA) model, the first scene service layer including the aforementioned first scene service data; and generating the aforementioned first interface function instruction corresponding to the first scene service layer. Alternatively, it can be understood that a first SOA model is constructed in the first display controller, the first SOA model includes the first scene service layer, the first scene service layer is used to carry the first scene service data, and the first interface function instruction is used to access the first scene service layer.
[0074] In some possible implementations, the first electronic device further constructs a first application layer based on a first SOA model, the first application layer including at least one application module mounted on the first display controller; and implements first scene service data on the application module according to the first interface function instructions.
[0075] In this embodiment, the first application layer, as well as other external applications (such as the second application layer in the second SOA model in the second display controller) that have access to the first scene service layer, can access the first scene service layer through the first interface function instruction to obtain the required first scene service data.
[0076] In this implementation, the first display controller integrates the first scene service data into the first scene service layer based on the SOA model. This first scene service layer is distinct from other service layers in the SOA model. This implementation helps to decouple functions and facilitates subsequent function expansion and development.
[0077] It should be noted that in this implementation, the first display controller can execute the task of building the first scene service layer only once in response to the first operation. When the first operation is received again, it is not necessary to create the first scene service layer again. Instead, it can directly obtain the first interface function instruction based on the already created first scene service layer and send the first interface function instruction to the second display controller.
[0078] In some possible implementations, after generating the second scene service data, the second display controller further constructs a second scene service layer based on an SOA model. This second scene service layer includes the second scene service data. Alternatively, it can be understood that a second SOA model is constructed within the second display controller, containing the second scene service layer, which is used to carry the second scene service data. As an example, this second SOA model also includes interface call functions corresponding to the second scene service layer. The second application layer of this second SOA model can access the aforementioned second scene service data through these interface call functions.
[0079] In some possible implementations, the first display controller can also call and / or adjust the second scene service data based on the interface function instructions corresponding to the second scene service layer in the second display controller, further enhancing the operability between vehicle-mounted devices.
[0080] In some possible implementations, the first display controller acquires the aforementioned first scene service data in response to the first operation, specifically including: acquiring first vehicle control data in response to the first operation; constructing a first enhanced service layer in a first SOA model, the first enhanced service layer including the first vehicle control data; generating a second interface function instruction corresponding to the first enhanced service layer, the second interface function instruction being used to call the first vehicle control data; and generating the first scene service data based on the first vehicle control data.
[0081] Specifically, generating the first scene service data based on the first vehicle control data can be done by directly generating the first scene service data based on the first vehicle control data obtained in response to the first operation, or by calling the first enhanced service layer through the second interface function instruction to obtain the first vehicle control data for generating the first scene service data.
[0082] It should be noted that the first display controller can execute the task of building the first enhanced service layer only once in response to the first operation. If the first display controller receives the first operation again, it does not need to create the first enhanced service layer again. Instead, it directly calls the already created first enhanced service layer based on the second interface function instruction to obtain the first vehicle control data and generate or update the first scene service data based on the first vehicle control data.
[0083] In this embodiment, the first vehicle control data is game enhancement service data designed to enhance the realistic experience of in-vehicle gaming for users. As an example, the first vehicle control data includes, but is not limited to, lighting parameters in the area corresponding to the first display controller within the vehicle cabin, scene images of the game screen displayed by the first display controller, game sound effects corresponding to the first display controller, and parameters defining whether the vehicle steering wheel is allowed to decouple.
[0084] As an example, the first vehicle control data includes a first parameter defining whether vehicle components, such as the vehicle steering wheel, are allowed to be decoupled. Whether vehicle components are allowed to be decoupled depends on the current vehicle gear and / or speed. The first scene service data includes the aforementioned first game operation control mode parameter. The first display controller can access the first enhanced service layer through a second interface function instruction to obtain the first parameter. Based on the first parameter and the user-initiated vehicle component decoupling request, it determines whether the first game operation control mode parameter in the first scene service layer is set to a value indicating that the first display controller's game operation control mode is a vehicle component decoupling mode. The vehicle components include one or more of the following: steering wheel, brake pedal, accelerator pedal, gear shift lever, and parking brake.
[0085] In this implementation, the aforementioned second interface function instruction can be used to provide an interface for calling (calling can also be understood as obtaining or accessing) and / or adjusting the first vehicle control data to the first application layer in the first SOA model. The first display controller can also implement the first vehicle control data on the application module using the second interface function instruction.
[0086] In some possible implementations, the first display controller further sends a second interface function instruction to the second display controller in response to the second operation. Upon receiving the second interface function instruction, the second display controller generates second vehicle control data and / or second scene service data based on the instruction, the second vehicle control data being at least partially identical to the first vehicle control data described above.
[0087] In this implementation, the first display controller determines that game enhancement services need to be provided to the second display controller based on the second operation. As an example, the second operation could be the first display controller detecting that both the first and second display controllers have entered the same virtual space for a team game, and / or the second display controller detecting a user-initiated start-of-game operation to begin a team game with the first display controller.
[0088] As an example, the second vehicle control data includes, but is not limited to, the lighting parameters of the area in the vehicle cabin corresponding to the second display controller, the scene image of the game screen displayed by the second display controller, and the game sound effects corresponding to the second display controller.
[0089] As an example, the second display controller generates second vehicle control data according to the second interface function instruction, specifically including: the second display controller calls the first enhanced service layer to obtain the first vehicle control parameters through the second interface function instruction, and generates the second vehicle control parameters based on the first vehicle control parameters.
[0090] For example, the first vehicle control data includes a scene image of the game screen displayed by the first display controller, and the second vehicle control data includes a scene image of the game screen displayed by the second display controller. After receiving the aforementioned second interface function instruction, the second display controller calls the first enhanced service layer based on the second interface function instruction to obtain the data of the scene image of the game screen displayed by the first display controller from the first vehicle control parameters, and generates the scene image of the game screen displayed by the second display controller in the second vehicle control data based on the scene image of the game screen displayed by the first display controller.
[0091] As an example, the second display controller generates second scene service data according to the second interface function instruction, specifically including: the second display controller calls the first enhanced service layer to obtain the first vehicle control parameters through the second interface function instruction, and generates the second scene service data based on the first vehicle control parameters.
[0092] In this implementation, the first display controller can provide the second display controller with game services related to game scene images and ambient lighting based on the first vehicle control parameters. This can improve the information interaction between the various in-vehicle display controllers, enhance the operability of the in-vehicle equipment, and improve the user's gaming experience.
[0093] In some possible implementations, after generating the second vehicle control data, the second display controller further constructs a second enhanced service layer within the second SOA model. This second enhanced service layer includes the second vehicle control data. It also generates a fifth interface function instruction corresponding to the second enhanced service layer. This fifth interface function instruction provides an interface to the first display controller for calling and / or adjusting the second vehicle control data. As an example, in response to the fourth operation, the first display controller calls the fifth interface function instruction corresponding to the second vehicle control data in the second display controller to call and / or adjust the second vehicle control data. This fourth interface function can also be used to provide an interface to the second application layer in the second SOA model for calling and / or adjusting the second vehicle control data.
[0094] As an example, the first display controller can invoke the second enhanced service layer in the second SOA model through the fifth interface function instructions and the vehicle Ethernet to invoke and / or adjust the second vehicle control data.
[0095] As an example, the fourth operation could be an operation initiated by the user on the first display controller side to call or adjust the second vehicle control data on the second display controller side. For example, the second vehicle control data includes game sound effects. The fourth operation could be a request initiated by the user on the first display controller side to display the game sound effects of the second display controller. After receiving the fourth operation, the first display controller would obtain the game sound effects of the second display controller through the fifth interface function instruction to display the game sound effects to the user. Furthermore, the first display controller could also provide the user with the function to adjust the game sound effects of the second display controller, and after receiving an operation initiated by the user to adjust the game sound effects of the second display controller, it would update the game sound effects of the second display controller through the fifth interface function instruction.
[0096] As an example, the fourth operation could also be the first display controller detecting that both the first and second display controllers have entered the same virtual space for the team game, and / or the second display controller detecting a user-initiated start game operation to begin a team game with the first display controller. For example, when the first display controller detects that the game has started, displays the relevant game screen, and obtains that the scene image of the game screen in the first vehicle control data is a background image of a rainy day, it can use the fifth interface function instruction to set the scene image of the game screen in the second vehicle control data corresponding to the second display controller to the background image of a rainy day as well.
[0097] Using this approach, the first display controller can directly adjust the game enhancement service effect of the second display controller based on the SOA model and user operations, further enhancing the information interactivity and operability of the in-vehicle equipment.
[0098] In some possible implementations, the first display controller acquires first vehicle control data in response to a first operation, specifically including: acquiring first vehicle parameter data in response to the first operation; constructing a first atomic service layer in a first SOA model, the first atomic service layer including the first vehicle parameter data; generating a third interface function instruction corresponding to the first atomic service layer, the third interface function instruction being used to call the first vehicle parameter data; and generating the aforementioned first vehicle control data based on the first vehicle parameter data.
[0099] As an example, the first electronic device establishes a communication connection with the vehicle's CAN bus. The first electronic device acquires the first vehicle parameter data in response to the first operation, specifically by acquiring the first vehicle parameter data through the CAN communication method of the CAN bus in response to the first operation.
[0100] As an example, the first vehicle parameter data includes at least one of the following: vehicle speed information, gear information, and outdoor environment information. Specifically, the outdoor environment information can be obtained from the vehicle's optical sensors via the CAN bus. As an example, the outdoor environment information may include, but is not limited to, at least one of the following: weather information, feature information of buildings in the location, and day / night information. Weather information may include, but is not limited to, sunny, rainy, cloudy, and snowy days; feature information of buildings in the location may include, but is not limited to, ordinary road environments and tunnel environments; and day / night information includes daytime and nighttime. This enhances the realism of the game, enriches the in-vehicle game scene, and improves the in-vehicle game experience.
[0101] As an example, the first vehicle parameter data includes outdoor environmental information, and the first vehicle control data includes scene images of the game screen, lighting parameters of the game screen, and lighting parameters of the area in the vehicle cabin corresponding to the first display controller. For example, if the outdoor environmental information includes that the outdoor weather is rainy, then the first display controller generates the aforementioned first vehicle control data based on the first vehicle parameter data by: determining that the scene image of the game screen includes an image representing a rainy scene, based on the outdoor environmental information including that the outdoor weather is rainy. For example, if the outdoor environmental information also includes that the vehicle is driving in a tunnel, then the first display controller generates the aforementioned first vehicle control data by: determining that the scene image of the game screen includes an image of a tunnel scene, and / or determining to increase the lighting brightness of the game screen corresponding to the first display controller, and / or turning on the lights in the area of the vehicle cabin corresponding to the second display controller. For example, if the outdoor environment information also includes outdoor day / night information, then the first display controller generating the aforementioned first vehicle control data based on the first vehicle parameter data may further include: based on the outdoor environment information including a daytime scene, the first display controller determines to turn on the lights corresponding to the first display controller in the vehicle cabin area, and / or increases the brightness of the lights corresponding to the first display controller in the cabin area, and / or sets the lights corresponding to the first display controller in the cabin area to a flashing state, and / or increases the brightness of the game screen lights, and / or sets the game screen lights to a flashing state.
[0102] It should be noted that when the first display screen controller determines that the same parameter needs to be adjusted based on weather information, the feature information of the building in its location (including tunnel scenes), and day and night information (such as scene image parameters of the same screen or display parameters of lights in the same cockpit area corresponding to the first display screen controller), the final value of the parameter can be determined based on the corresponding priority design.
[0103] In some possible implementations, the first display controller further responds to a third operation by sending a third interface function instruction to the second display controller to generate second vehicle parameter data and / or second vehicle control data, wherein the second vehicle parameter data is at least partially identical to the first vehicle parameter data, i.e., the second vehicle parameter data is partially or entirely identical to the first vehicle parameter data. As an example, the third operation can be either the first operation or the second operation described above.
[0104] As an example, the second display controller can generate second vehicle parameter data based on the first vehicle parameter data, and then generate the aforementioned second vehicle control data based on the second vehicle parameter data.
[0105] In this embodiment, the first display controller can directly provide data related to enhanced gaming services to the second display controller via a second interface function, or indirectly provide enhanced gaming services to the second display controller by providing the first vehicle parameter data required to generate the data related to enhanced gaming services via a third interface function. This improves information interaction between various in-vehicle display devices, providing users with better gaming services and a better user experience. Furthermore, typically only the main control screen (e.g., the first display controller corresponds to the main control screen) is connected to the CAN bus in a vehicle. Compared to the second display controller also connecting to the CAN bus and obtaining second vehicle parameter data from the CAN bus, the first display controller shares this first vehicle parameter data with the second display controller via the third interface function. Since in-vehicle Ethernet has a much faster communication speed than CAN bus, this improves the synchronization of gaming services between the front and rear devices (e.g., lights turning on simultaneously), and also reduces the number of times the same data is accessed from the in-vehicle bus, reducing performance loss.
[0106] In some possible implementations, before the first display controller generates the first interface function instruction in response to the first operation, the first display controller may, if it determines that the current state of the vehicle is a non-driving state, set at least one component of the vehicle to a decoupled state, and the at least one component in the decoupled state is used to associate with the first scene service data; or, if it determines that the current state of the vehicle is a non-driving state, in response to a decoupling request initiated by the user, set at least one component of the vehicle to a decoupled state. The at least one component includes at least one of the following: a steering wheel, a brake pedal, a transmission, and an accelerator pedal.
[0107] As an example, the first SOA model constructed by the first display controller can be as shown in Figure 3, specifically including a first atomic service layer, a first enhanced service layer, a first scene service layer, and a first application layer. Software programs at each layer can call each other. The first atomic service layer can obtain vehicle hardware information through the input / output abstraction layer (I / O abstraction layer). This first SOA model can also be understood as the architecture of the game service software connected to the first electronic device.
[0108] The first atomic service layer carries the first vehicle parameter data, which includes, but is not limited to, gear parameters, sound effect parameters, vehicle speed, and outdoor environment information. The sound effect parameters include those corresponding to the first display screen controller, and these parameters may include, but are not limited to, volume and timbre information.
[0109] The first enhanced service layer is used to carry the first vehicle control data, which includes, but is not limited to: ambient lighting service, sound effect service, vehicle component decoupling service, and game scene service. The ambient lighting service includes parameters such as the on / off state and flashing of the lights in the area corresponding to the first display screen controller in the vehicle cabin, and the game scene service includes game scene images and game lighting brightness parameters.
[0110] The first scenario service layer includes, but is not limited to: single-screen game mode, multi-screen interactive game mode, vehicle component decoupling mode, game controller mode, and virtual controller mode.
[0111] The first application layer includes, but is not limited to: game application 1 (APP1) and game application 2 (APP2).
[0112] Specifically, the interface function instruction corresponding to the first atomic service layer is the third interface function instruction, the interface function instruction corresponding to the first enhanced service layer is the second interface function instruction, and the interface function instruction corresponding to the first scene service layer is the first interface function instruction. The first application layer can call the first scene service layer to access the first scene service data through the first interface function instruction. The first application layer and the first scene service layer can call the first enhanced service layer to access the first vehicle control data through the second function interface. The first enhanced service layer can call the first atomic service layer to access the first vehicle parameter data through the third interface function.
[0113] In this embodiment, the architecture of the second SOA model is similar to that of the first SOA model, but some differences may exist. For example, if the first display controller is the main control screen and has established a communication connection with the CAN bus, then the first atomic service layer can establish communication with the I / O abstraction layer through the CAN bus. However, if the second display controller is a rear display screen and has not established a communication connection with the CAN bus, then the second atomic service layer does not establish communication with the I / O abstraction layer. As another example, if the first display controller is the main control screen and the second display controller is a rear display screen, and vehicle components can only be decoupled for use by the game application corresponding to the main control screen, then the second enhanced service layer does not include steering wheel decoupling services, brake pedal decoupling services, accelerator pedal decoupling services, gear shift lever decoupling services, and parking brake decoupling services, and the first scene service layer does not include scene data for vehicle component decoupling modes.
[0114] In some possible implementations, the first display controller may also call and / or adjust the second vehicle parameter data based on the interface function instructions corresponding to the second atomic service layer.
[0115] As an example, as shown in Figure 4, the first display controller and the second display controller can establish a game control system based on the SOA model through an IP-based scalable service-oriented middleware (Some / IP). Each individual vehicle display controller (or a display device including the display screen and the vehicle display controller) can act as a client or a server in the game service.
[0116] As an example, reusing Figure 4, the first and second display controllers each have a game service program A (e.g., corresponding to APP1) and a game service program B installed. The first and second display controllers are connected to their respective SOA models via SOA interfaces. The first and second display controllers can interact with each other via SOA models, Transmission Control Protocol / Internet Protocol (TCP / IP), and in-vehicle Ethernet.
[0117] In this embodiment, the vehicle display controller interfaces with the game software architecture using a layered structure based on the SOA model. The atomic service layer manages data that cannot be further decomposed or has low granularity after decomposition. The enhanced service layer then provides diverse game services to the vehicle display device based on the atomic data in the atomic service layer. This reduces the coupling between the service layers, adapts to more complex vehicle game environments, and enables new game scenarios and experiences as the intelligence level of the vehicle system increases.
[0118] Based on the structural model shown in Figures 3 and 4, the following describes another implementation of the game control method provided in this application embodiment, taking the first display controller corresponding to the main control display device (or central control screen) in the front cabin, the second display controller corresponding to the rear display device in the rear cabin area, and the first display controller having a communication connection with the vehicle bus, in conjunction with the interaction flowchart shown in Figure 5.
[0119] As shown in Figure 5, the method includes:
[0120] S501, after detecting the first operation and determining that the vehicle is in a non-driving state, the first display controller obtains the first vehicle parameter data through CAN communication.
[0121] For example, the first operation could be a launch command for a first game application. In response to the first operation, the first display controller would also launch the first game application.
[0122] S502, the first display screen controller constructs a first atomic service layer in the first SOA model based on the first vehicle parameter data, and generates a third interface function instruction corresponding to the first atomic service layer.
[0123] In this embodiment of the application, the first atomic service layer includes the first vehicle parameter data.
[0124] S503, in response to the third operation, the first display controller sends a third interface function instruction to the second display controller, and the second display controller receives the third interface function instruction accordingly.
[0125] As an example, the third operation can be the first operation described above. As another example, after the first display controller starts the first game application, it receives a request instruction from the user to form a team game, and then creates a virtual space for the team game. This third operation is the operation in which the first display controller detects that the second display controller has joined the virtual space.
[0126] In this embodiment, the second display controller can generate second vehicle parameter data and / or second vehicle control data based on the third interface function instruction.
[0127] S504, the second display controller generates second vehicle parameter data based on the third interface function instructions.
[0128] As an example, the second display controller uses the third interface function to call the first atomic service layer to obtain the first vehicle parameter data, and then generates the second vehicle parameter data based on the first vehicle parameter data.
[0129] In this embodiment, the second display controller can also construct a second atomic service layer in the second SOA model based on the second vehicle parameter data, and the second atomic service layer includes the second vehicle parameter data.
[0130] S505, the first display screen controller generates first vehicle control data based on the first vehicle parameter data.
[0131] As one example, the first vehicle parameter data includes outdoor environment information, and the first vehicle control data includes ambient lighting service and game scene image service. The first display controller can determine the ambient lighting service and game scene image service based on the outdoor environment information. As another example, the first vehicle parameter data includes gear parameters and vehicle speed information, and the first vehicle control data includes vehicle component decoupling service. The first display controller determines whether to enable the vehicle component decoupling service function based on the gear parameters and vehicle speed information.
[0132] S506, the first display controller constructs a first enhanced service layer in the first SOA model based on the first vehicle control data, and generates a second interface function instruction corresponding to the first enhanced service layer.
[0133] In this embodiment of the application, the first enhanced service layer includes the first vehicle control data.
[0134] S507, in response to the second operation, the first display controller sends the second interface function instruction to the second display controller, and correspondingly, the second display controller receives the second interface function instruction.
[0135] As an example, the second operation can be the first operation described above. As another example, the second operation can be the operation where the first display controller detects that the second display controller has joined the virtual space.
[0136] S508, the second display controller generates second vehicle control data based on the second interface function instruction.
[0137] Specifically, the second display controller obtains the first vehicle control data based on the second interface function instruction, and generates the second vehicle control data based on the first vehicle control data.
[0138] In this embodiment of the application, the second vehicle control data is partially or entirely the same as the first vehicle control data.
[0139] S509, the second display controller constructs a second enhanced service layer in the second SOA model based on the second vehicle control data, and generates the fifth interface function instruction corresponding to the second enhanced service layer.
[0140] S510, the second display controller sends a fifth interface function instruction to the first display controller, and the first display controller receives the fifth interface function instruction accordingly.
[0141] S511, the first display controller responds to the fourth operation by calling the fifth interface function instruction to adjust the second vehicle control data.
[0142] The explanation of the fourth operation can be found in the relevant description above, and will not be elaborated here.
[0143] In this embodiment, the first display controller can update the second vehicle control data by calling the fifth interface function instruction. For example, the first display controller can use the fifth interface function instruction to update data related to ambient lighting services, sound effects services, and game scene services in the second vehicle control data.
[0144] For explanations of the first vehicle parameter data, the first vehicle control data, and the first scenario service data, please refer to the relevant explanations above, such as the descriptions related to Figure 3 above.
[0145] S512, the first display screen controller generates first scene service data based on the first vehicle control data.
[0146] As an example, the first vehicle control data includes vehicle decoupling services, and the first scene service data includes vehicle component decoupling modes. The first display controller determines whether the game control mode in the first scene service data is a vehicle component decoupling mode based on the first vehicle control data and the received user-initiated vehicle component decoupling request.
[0147] S513, the first display controller constructs a first scene service layer in the first SOA model and generates a first interface function instruction corresponding to the first scene service layer.
[0148] In this embodiment of the application, the first scene service layer includes first scene service data.
[0149] S514, in response to the first operation described above, the first display controller sends a first interface function instruction to the second display controller, and correspondingly, the second display controller receives the first interface function instruction.
[0150] S515, the second display controller generates second scene service data based on the first interface function instruction.
[0151] As an example, after the vehicle components are decoupled, they can be used for game operations by either the first display controller or the second display controller. The second scene service data includes whether the game operation mode is the vehicle component decoupling mode. The second display controller determines, through the first interface function instruction, that the first display controller is not using the vehicle component decoupling mode for game operations. Furthermore, the second display controller accesses the first enhanced service layer or the second enhanced service layer in the second SOA model through the aforementioned second interface function instruction to determine that the vehicle component decoupling function is enabled (i.e., allowing decoupling of vehicle components for game operations). Additionally, if the second display controller receives a user-initiated request message requesting vehicle component decoupling, the second display controller determines that the game operation mode in the second scene service data is the vehicle component decoupling mode.
[0152] S516, the second display controller constructs the second scene service layer in the second SOA model based on the second scene service data.
[0153] In this embodiment of the application, the second scenario service layer includes the aforementioned second scenario service data.
[0154] Using the in-vehicle multi-screen interaction method provided in this application embodiment, the first display controller can provide game services related to scene images and ambient lighting to the second display controller based on in-vehicle Ethernet and SOA model, or adjust the game sound effects in the second display controller, thereby enhancing the information interaction between devices, improving the operability of in-vehicle games, enhancing the realism of in-vehicle games, and providing users with a better in-vehicle game experience with better information interaction and front and rear seat interaction.
[0155] The following description, in conjunction with Figure 6, introduces a first in-vehicle multi-screen interactive device corresponding to a first display controller provided in this application. The first in-vehicle multi-screen interactive device is applied in a vehicle scenario. A first display controller and one or more second display controllers are provided in the cabin area of the vehicle. The first display controller and the first or more second display controllers are connected via an in-vehicle Ethernet. The first in-vehicle multi-screen interactive device is applied to the first display controller in the vehicle. For a description of the first display controller and the second display controller, please refer to the relevant descriptions elsewhere in this document.
[0156] As shown in Figure 6, the first in-vehicle multi-screen interactive device includes:
[0157] The generation unit 601 is used to generate a first interface function instruction in response to the first operation, the first interface function instruction being used to call the first scene service data.
[0158] The sending unit 602 is used to send the first interface function instruction to the second display controller to generate second scene service data, wherein the second scene service data is at least partially the same as the first scene service data.
[0159] In one possible implementation, the generation unit 601 is specifically used to obtain the first scenario service data in response to the first operation; construct a first scenario service layer based on a service-oriented architecture (SOA) model, the first scenario service layer including the first scenario service data; and generate the first interface function instruction corresponding to the first scenario service layer.
[0160] In one possible implementation, the generation unit 601 is further specifically used to acquire first vehicle control data in response to a first operation; construct a first enhanced service layer in the SOA model, the first enhanced service layer including the first vehicle control data; generate a second interface function instruction corresponding to the first enhanced service layer, the second interface function instruction being used to call the first vehicle control data; and generate the first scene service data based on the first vehicle control data.
[0161] In one possible implementation, the sending unit 602 is further configured to send the second interface function instruction to the second display controller in response to the second operation, for generating second vehicle control data and / or second scene service data, wherein the second vehicle control data is at least partially the same as the first vehicle control data.
[0162] In one possible implementation, the generation unit 601 is further specifically configured to: acquire first vehicle parameter data in response to a first operation; construct a first atomic service layer in the SOA model, the first atomic service layer including the first vehicle parameter data; generate a third interface function instruction corresponding to the first atomic service layer, the third interface function instruction being used to call the first vehicle parameter data; and generate first vehicle control data based on the first vehicle parameter data.
[0163] In one possible implementation, the sending unit 602 is further configured to send the third interface function instruction to the second display controller in response to the third operation, for generating second vehicle parameter data and / or second vehicle control data, wherein the second vehicle parameter data is at least partially the same as the first vehicle parameter data.
[0164] In one possible implementation, the generation unit 601 is further specifically used to obtain the first vehicle parameter data via CAN communication in response to the first operation; wherein the first vehicle parameter data includes at least one of the following: vehicle speed information, gear information, and outdoor environment information.
[0165] In one possible implementation, the generation unit 601 is further configured to construct a first application layer based on the SOA model, the first application layer including at least one application module mounted on the first display controller; implement the first scene service data on the application module according to the first interface function instructions, and / or implement the first vehicle control data on the application module according to the second interface function instructions.
[0166] In one possible implementation, as shown in Figure 7, the first in-vehicle multi-screen interactive device further includes: a setting unit 603, used to set at least one component of the vehicle to a decoupled state when it is determined that the current state of the vehicle is a non-driving state, wherein the at least one component in the decoupled state is used to associate with the first scene service data; wherein the at least one component includes at least one of the following: a steering wheel, a brake pedal, a transmission, and an accelerator pedal.
[0167] In one possible implementation, the first in-vehicle multi-screen interactive device further includes: a calling unit 604, which, in response to the fourth operation, calls the fifth interface function instruction in the second display controller corresponding to the second vehicle control data, so as to call and / or adjust the second vehicle control data.
[0168] It should be noted that the specific execution process can be found in the detailed description of the embodiments shown in Figure 2 or Figure 5, and will not be repeated here.
[0169] The following description, in conjunction with Figure 8, introduces another type of second vehicle-mounted multi-screen interactive device corresponding to the second display controller provided in this application.
[0170] As shown in Figure 8, the second in-vehicle multi-screen interactive device includes:
[0171] The receiving unit 801 is used to receive a first interface function instruction, which is used to call the first scene service data.
[0172] The generation unit 802 is used to generate second scene service data according to the first interface function instruction, wherein the second scene service data is at least partially the same as the first scene service data.
[0173] In one possible implementation, as shown in Figure 9, the second in-vehicle multi-screen interactive device further includes: a creation unit 803, used to construct a second scene service layer based on an SOA model, wherein the second scene service layer includes the second scene service data.
[0174] In one possible implementation, the receiving unit 801 is further configured to receive a second interface function instruction, the second interface function instruction being used to invoke the first vehicle control data; the generating unit 802 is further configured to generate second vehicle control data and / or second scene service data according to the second interface function instruction, wherein the second vehicle control data is at least partially the same as the first vehicle control data.
[0175] In one possible implementation, the first vehicle control data includes at least one of the following: a scene image of the game screen, display parameters of the lights corresponding to the first display controller, and game sound effects corresponding to the first display controller; the second vehicle control data includes at least one of the following: a scene image of the game screen, display parameters of the lights corresponding to the second display controller, and game sound effects corresponding to the second display controller.
[0176] In one possible implementation, the creation unit 803 is further configured to construct a second enhanced service layer in the SOA model, the second enhanced service layer including the second vehicle control data; and generate a fifth interface function instruction corresponding to the second enhanced service layer, the fifth interface function instruction being used to provide the first display controller with an interface for calling and / or adjusting the second vehicle control data.
[0177] In one possible implementation, the receiving unit 801 is further configured to receive a third interface function instruction, the third interface function instruction being used to call the first vehicle parameter data; the generating unit 802 is further configured to generate second vehicle parameter data and / or second vehicle control data according to the third interface function instruction, the second vehicle parameter data being at least partially the same as the first vehicle parameter data.
[0178] In one possible implementation, the creation unit 803 is further configured to construct a second atomic service layer in the SOA model, the second atomic service layer including the second vehicle parameter data.
[0179] In one possible implementation, the creation unit 803 is further configured to construct a second application layer based on the SOA model, the second application layer including at least one application module mounted on the vehicle display controller; implement the second scene service data on the application module according to the interface function instructions corresponding to the second scene service layer, and / or implement the second vehicle control data on the application module according to the fifth interface function instructions.
[0180] It should be noted that the specific execution process can be found in the detailed description of the embodiments shown in Figure 2 or Figure 5, and will not be repeated here.
[0181] The following describes an in-vehicle multi-screen interactive system provided by this application. This system is applied in a vehicle scenario, wherein the vehicle is equipped with at least two in-vehicle display controllers, which are connected via an in-vehicle Ethernet network. In response to a first operation, the first display controller generates a first interface function instruction to invoke first scene service data and sends the first interface function instruction to the second display controller. The second display controller generates second scene service data based on the first interface function instruction, and the second scene service data is at least partially identical to the first scene service data.
[0182] In one possible implementation, a first display controller is specifically configured to acquire the first scene service data in response to a first operation; construct a first scene service layer based on a service-oriented architecture (SOA) model, the first scene service layer including the first scene service data; and generate the first interface function instruction corresponding to the first scene service layer.
[0183] In one possible implementation, the second display controller is specifically used to construct a second scene service layer based on the SOA model, the second scene service layer including the second scene service data.
[0184] In one possible implementation, the first display controller is further configured to acquire first vehicle control data in response to a first operation; construct a first enhanced service layer in the SOA model, the first enhanced service layer including the first vehicle control data; generate a second interface function instruction corresponding to the first enhanced service layer, the second interface function instruction being used to call the first vehicle control data; and generate the first scene service data based on the first vehicle control data.
[0185] In one possible implementation, the first display controller is further configured to send the second interface function instruction to the second display controller in response to the second operation; the second display controller is further configured to generate second vehicle control data and / or second scene service data according to the second interface function instruction, wherein the second vehicle control data is at least partially the same as the first vehicle control data.
[0186] In one possible implementation, the first display controller is further configured to acquire first vehicle parameter data in response to a first operation; construct a first atomic service layer in the SOA model, the first atomic service layer including the first vehicle parameter data; generate a third interface function instruction corresponding to the first atomic service layer, the third interface function instruction being used to call the first vehicle parameter data; and generate first vehicle control data based on the first vehicle parameter data.
[0187] In one possible implementation, the second display controller is further configured to construct a second enhanced service layer in the SOA model, the second enhanced service layer including the second vehicle control data; and generate a fifth interface function instruction corresponding to the second enhanced service layer, the fifth interface function instruction being used to provide the first display controller with an interface for calling and / or adjusting the second vehicle control data.
[0188] In one possible implementation, the first display controller is further configured to send the third interface function instruction to the second display controller in response to the third operation; the second display controller is further configured to generate second vehicle parameter data and / or second vehicle control data according to the third interface function instruction, wherein the second vehicle parameter data is at least partially the same as the first vehicle parameter data.
[0189] In one possible implementation, the second display controller is also used to construct a second atomic service layer in the SOA model, the second atomic service layer including the second vehicle parameter data.
[0190] In one possible implementation, the first display controller is further configured to, in response to the first operation, acquire the first vehicle parameter data via CAN communication; wherein the first vehicle parameter data includes at least one of the following: vehicle speed information, gear information, and outdoor environment information.
[0191] In one possible implementation, the first display controller is further configured to construct a first application layer based on the SOA model, the first application layer including at least one application module mounted on the first display controller; implement the first scene service data on the application module according to the first interface function instructions, and / or implement the first vehicle control data on the application module according to the second interface function instructions.
[0192] In one possible implementation, a second application layer is constructed based on the SOA model. The second application layer includes at least one application module mounted on the vehicle display controller. The second scene service data is implemented on the application module according to the interface function instructions corresponding to the second scene service layer, and / or the second vehicle control data is implemented on the application module according to the fifth interface function instructions.
[0193] In one possible implementation, the first display controller is further configured to set at least one component of the vehicle to a decoupled state when it is determined that the current state of the vehicle is a non-driving state, wherein the at least one component in the decoupled state is used to associate with the first scene service data; wherein the at least one component includes at least one of the following: a steering wheel, a brake pedal, a transmission, and an accelerator pedal.
[0194] In one possible implementation, the first display controller is further configured to, in response to the fourth operation, invoke a fifth interface function instruction in the second display controller corresponding to the second vehicle control data, so as to invoke and / or adjust the second vehicle control data.
[0195] It should be noted that the specific execution process can be found in the detailed description of the embodiments shown in Figure 2 or Figure 5, and will not be repeated here.
[0196] Understandably, the in-vehicle multi-screen interactive device shown in Figures 6, 7, 8, or 9 can have various product forms. For example, the in-vehicle multi-screen interactive device can also be a communication module as shown in Figure 10, including a processor, communication interface, memory, and communication bus, wherein the communication bus includes an AT port. The software program in this in-vehicle multi-screen interactive device includes an application program corresponding to the server, and the processor can execute the functions required by the server based on the application program corresponding to the server. Specifically, as shown in Figure 10, the in-vehicle multi-screen interactive device 100 may include:
[0197] The system includes at least one processor 1001, such as a CPU, at least one communication interface 1003, a memory 1004, and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The communication interface 1003 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface or a Bluetooth interface). The memory 1004 may be high-speed RAM or non-volatile memory, such as at least one disk drive. Optionally, the memory 1004 may also be at least one storage device located remotely from the aforementioned processor 1001. As shown in Figure 10, the memory 1004, as a computer storage medium, may include an operating system and program instructions.
[0198] For example, the processor 1001 can be used to implement one or more steps or methods executed by the generation unit 601 in FIG6 or FIG7, and the communication interface 1003 can implement one or more steps or methods executed by the sending unit 602, the setting unit 603, and the calling unit 604 in FIG6 or FIG7.
[0199] For example, the communication interface 1003 can implement one or more steps or methods performed by the receiving unit 801 in FIG8 or FIG9, and the processor 1001 can be used to implement one or more steps or methods performed by the generating unit 802 in FIG8 or FIG9 and the creation unit 803 in FIG9.
[0200] Understandably, the above methods are merely examples, and the steps or methods executed by the above-mentioned unit can also be implemented by the processor 1001, the communication interface 1003, and other modules in the above-mentioned vehicle multi-screen interactive device 100. This document does not limit this.
[0201] In the in-vehicle multi-screen interactive device 100 shown in Figure 10, the processor 1001 can be used to load program instructions stored in the memory 1004 and specifically perform the following operations:
[0202] In response to the first operation, a first interface function instruction is generated, which is used to call the first scenario service data;
[0203] The first interface function instruction is sent to the second display controller to generate second scene service data, which is at least partially the same as the first scene service data.
[0204] Alternatively, in the in-vehicle multi-screen interactive device 100 shown in Figure 10, the processor 1001 can be used to load program instructions stored in the memory 1004 and specifically perform the following operations:
[0205] Receive a first interface function instruction, which is used to call the first scenario service data;
[0206] The second scene service data is generated according to the first interface function instruction, and the second scene service data is at least partially the same as the first scene service data.
[0207] It should be noted that the specific execution process can be found in the detailed description of the embodiments shown in Figure 2 or Figure 5, and will not be repeated here.
[0208] This invention also provides a computer storage medium that can store multiple instructions. These instructions are adapted to be loaded by a processor and executed as shown in the embodiments of Figures 2 to 5. For details of the execution process, please refer to the specific description of the embodiments shown in Figures 2 to 5, which will not be repeated here.
[0209] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0210] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0211] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for multi-screen interaction in a vehicle, characterized in that, The method includes: generating first vehicle control data in response to a first operation; constructing a first enhanced service layer in a first SOA model, the first enhanced service layer including the first vehicle control data; generating a second interface function instruction corresponding to the first enhanced service layer, the second interface function instruction being used to call the first vehicle control data; generating first scene service data according to the second interface function instruction; constructing a first scene service layer based on the first SOA model, the first scene service layer including the first scene service data, the first SOA model being included in a first display controller, the first SOA model being applied to the first display controller; generating a first interface function instruction corresponding to the first scene service layer, the first interface function instruction being used to call the first scene service data; and sending the first interface function instruction via an in-vehicle Ethernet to generate second scene service data based on the first scene service data; wherein the first scene service data is placed in the first display controller, and the second scene service data is placed in the second display controller.
2. The method according to claim 1, characterized in that, The method further includes: sending the second interface function instruction in response to the second operation to generate second vehicle control data and / or second scene service data based on the first vehicle control data; the second vehicle control data is placed in the second display controller.
3. The method according to claim 1, characterized in that, The step of generating first vehicle control data in response to a first operation specifically includes: acquiring first vehicle parameter data in response to a first operation; constructing a first atomic service layer in the first SOA model, the first atomic service layer including the first vehicle parameter data; generating a third interface function instruction corresponding to the first atomic service layer, the third interface function instruction being used to call the first vehicle parameter data; and generating the first vehicle control data according to the third interface function instruction.
4. The method according to claim 3, characterized in that, The method further includes: responding to a third operation by sending the third interface function instruction to generate second vehicle parameter data and / or second vehicle control data based on the first vehicle parameter data; the second vehicle parameter data is placed in the second display controller.
5. The method according to claim 3, characterized in that, The step of acquiring the first vehicle parameter data in response to the first operation specifically includes: acquiring the first vehicle parameter data via CAN communication in response to the first operation; wherein the first vehicle parameter data includes at least one of the following: vehicle speed information, gear information, and outdoor environment information.
6. The method according to claim 1, characterized in that, The method further includes: constructing a first application layer based on the first SOA model, the first application layer including at least one application module; implementing the first scenario service data on the application module according to the first interface function instructions, and / or implementing the first vehicle control data on the application module according to the second interface function instructions.
7. The method according to any one of claims 1-6, characterized in that, Before generating the first interface function instruction in response to the first operation, the method further includes: when it is determined that the current state of the vehicle is a non-driving state, setting at least one component of the vehicle to a decoupled state, wherein the at least one component in the decoupled state is used to associate the first scenario service data; wherein the at least one component includes at least one of the following: a steering wheel, a brake pedal, a transmission, and an accelerator pedal.
8. A method for multi-screen interaction in a vehicle, characterized in that, The method includes: receiving a first interface function instruction via an in-vehicle Ethernet, the first interface function instruction being used to invoke first scene service data; generating second scene service data based on the first interface function instruction; constructing a second scene service layer based on a second SOA model, the second scene service layer including the second scene service data, the second SOA model being included in a second display controller; generating a fourth interface function instruction, the fourth interface function instruction being used to invoke the second scene service data; the second SOA model being applied to the second display controller; wherein, the first scene service data is placed in the first display controller, and the second scene service data is placed in the second display controller; the method further includes: receiving a second interface function instruction, the second interface function instruction being used to invoke first vehicle control data; generating the second scene service data based on the second interface function instruction; the first vehicle control data being placed in the first display controller.
9. The method according to claim 8, characterized in that, The method further includes: generating second vehicle control data based on the second interface function instruction; wherein the second vehicle control data is placed in the second display controller.
10. The method according to claim 9, characterized in that, The first vehicle control data includes at least one of the following: scene images of the game screen, display parameters of the lights corresponding to the first display screen controller, and game sound effects corresponding to the first display screen controller; the second vehicle control data includes at least one of the following: scene images of the game screen, display parameters of the lights corresponding to the second display screen controller, and game sound effects corresponding to the second display screen controller.
11. The method according to claim 9, characterized in that, After generating the second vehicle control data, the method further includes: constructing a second enhanced service layer in the second SOA model, the second enhanced service layer including the second vehicle control data; generating a fifth interface function instruction corresponding to the second enhanced service layer, the fifth interface function instruction being used to call the second vehicle control data.
12. The method according to claim 9, characterized in that, The method further includes: receiving a third interface function instruction, the third interface function instruction being used to call first vehicle parameter data; generating second vehicle parameter data and / or second vehicle control data according to the third interface function instruction, the second vehicle parameter data being at least partially the same as the first vehicle parameter data; the first vehicle parameter data being placed in the first display screen controller, and the second vehicle parameter data being placed in the second display screen controller.
13. The method according to claim 12, characterized in that, After generating the second vehicle parameter data, the method further includes: constructing a second atomic service layer in the second SOA model, the second atomic service layer including the second vehicle parameter data; generating a sixth interface function instruction corresponding to the second atomic service layer, the sixth interface function instruction being used to call the second vehicle parameter data.
14. The method according to claim 13, characterized in that, The method further includes: constructing a second application layer based on the second SOA model, the second application layer including at least one application module; implementing the second scenario service data on the application module according to the interface function instructions corresponding to the second scenario service layer, and / or implementing the second vehicle control data on the application module according to the fifth interface function instructions.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program; when the computer program is run on one or more processors, it causes the electronic device to perform the method as described in any one of claims 1-14.
16. A vehicle-mounted multi-screen interactive system, characterized in that, The system includes a first display controller and at least one second display controller. The first display controller and the at least one second display controller are connected via an in-vehicle Ethernet communication link. The first display controller is configured to perform the method as described in any one of claims 1-7, and the second display controller is configured to perform the method as described in any one of claims 8-14, so as to enable interaction between the first display controller and the at least one second display controller.
17. A vehicle, characterized in that, The vehicle includes the in-vehicle multi-screen interactive system as described in claim 16.
Citation Information
Patent Citations
Double-screen multi-task execution method, mobile terminal and computer readable storage medium
CN109819106A
SOA service-based vehicle-mounted game interaction control system
CN115475378A