A single-system multi-screen operation method and device, equipment and storage medium

By parsing the event information input by the user and matching it with the registry based on the application package name of the secondary screen, the problem of control failure caused by the focus switching between the main and secondary displays in the vehicle was solved, and stable control of the main and secondary displays was achieved.

CN116149582BActive Publication Date: 2026-04-17HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
Filing Date
2021-11-22
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In existing vehicle designs, the focus switching between the main display screen and the secondary display screen causes the main screen to malfunction.

Method used

By acquiring event information input by the user, the target application package name is parsed and matched against a pre-defined registry of application package names for the secondary screen. This determines whether the event information is sent to the main display screen or the secondary display screen, thus preventing the main screen focus from changing due to the secondary display screen receiving the event.

Benefits of technology

This avoids the main screen from malfunctioning due to events received by the secondary display, and achieves stable operation of both the main and secondary displays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149582B_ABST
    Figure CN116149582B_ABST
Patent Text Reader

Abstract

This invention discloses a single-system multi-screen control method. It acquires user-input event information and parses the event information to obtain target application information, which at least includes the target application package name. Based on the query matching result of the target application package name in a preset secondary screen application package name registry, the event information is sent to the main display screen / secondary display screen. This invention also discloses a single-system multi-screen control device, equipment, and storage medium. The embodiments of this invention, after acquiring user-input event information, first parse the event information to obtain the target application package name, then determine whether the event information belongs to the main display screen or the secondary display screen based on the target application package name and the preset secondary screen application package name registry, and then distribute the event information accordingly. This avoids the situation in existing vehicle designs where the secondary display screen receiving events causes a change in the focus of the main screen, thereby preventing the main screen from malfunctioning due to focus dependence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically, to a single-system multi-screen control method, apparatus, device, and storage medium. Background Technology

[0002] With economic and technological development, people's quality of life is constantly improving, and their requirements for vehicles have evolved from simply being a means of transportation to becoming comfortable family necessities. When choosing a vehicle, people are paying more and more attention to in-car office and entertainment equipment. For example, they might set up a main display screen and at least one rear-seat display screen so that passengers in the front and rear seats can use applications on their respective screens for work or entertainment. However, in current vehicle designs, the focus switches between the main and secondary displays, and this switching can cause controls on the main screen that rely on the focus to malfunction. Summary of the Invention

[0003] The purpose of this invention is to provide a single-system multi-screen control method, device, equipment, and storage medium that can determine whether to send the event information to the main display screen or the secondary display screen by querying and matching the target application package name of the event information input by the user with the preset target application package name, thereby avoiding the failure of main screen control caused by switching the focus between the main display screen and the secondary display screen.

[0004] To achieve the above objectives, embodiments of the present invention provide a single-system multi-screen control method, comprising:

[0005] Obtain event information input by the user, and parse the event information to obtain target application information that includes at least the target application package name;

[0006] Based on the query matching results of the target application package name in the preset secondary screen application package name registry, the event information is sent to the main display screen / secondary display screen.

[0007] As an improvement to the above solution, sending the event information to the main display screen / secondary display screen specifically includes:

[0008] The event information is sent to the main display screen via the first event transmission channel; or...

[0009] The event information is sent to the secondary display screen through the second event transmission channel.

[0010] As an improvement to the above solution, the step of sending the event information to the main display screen / secondary display screen based on the query matching result of the target application package name in the preset secondary screen application package name registry specifically includes:

[0011] When the target application information does not contain a target application package name that matches the preset secondary screen application package name registry, the event information is sent to the target application on the main display screen through the first event transmission channel;

[0012] When the target application information contains a target application package name that matches the secondary screen application package name registry, the event information is sent to the target application on the secondary display screen through the second event transmission channel.

[0013] As an improvement to the above solution, the step of sending the event information to the secondary display screen through the second event transmission channel specifically includes:

[0014] Based on the target application package name, query the registry of the secondary screen application package name to determine the target window of the secondary display screen;

[0015] Based on the target coordinate information, a preset control coordinate information table is queried to determine the target control object of the target window of the secondary display screen; wherein, the target application information also includes the target coordinate information;

[0016] The event information is sent to the target control object.

[0017] As an improvement to the above solution, before obtaining the event information input by the user, the following steps are also included:

[0018] Receive the application package name sent by the application on the secondary display screen and register it in the application package name registry of the secondary display screen.

[0019] As an improvement to the above solution, the step of sending the event information to the main display screen through the first event transmission channel specifically includes:

[0020] Based on the target application information, determine the target window of the main display screen;

[0021] Based on a preset chain of responsibility model, the event information is sent to the target object of the target window of the main display screen.

[0022] To achieve the above objectives, embodiments of the present invention also provide a single-system, multi-screen control device, comprising:

[0023] The information acquisition module is used to acquire event information input by the user and parse the event information to obtain target application information that includes at least the target application package name;

[0024] The event sending module is used to send the event information to the main display screen / secondary display screen based on the query matching result of the target application package name in the preset secondary screen application package name registry.

[0025] As an improvement to the above solution, the event sending module is specifically used for:

[0026] Based on the query matching result of the target application package name in the preset secondary screen application package name registry, the event information is sent to the main display screen through the first event transmission channel or to the secondary display screen through the second event transmission channel.

[0027] To achieve the above objectives, embodiments of the present invention also provide a single-system multi-screen event distribution device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the single-system multi-screen control method as described in any of the above embodiments.

[0028] To achieve the above objectives, embodiments of the present invention also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the single-system multi-screen control method as described in any of the above embodiments.

[0029] Compared with existing technologies, the single-system multi-screen control method, apparatus, device, and storage medium disclosed in this invention acquire user-input event information and parse the event information to obtain target application information containing at least the target application package name. The event information is then sent to the main display screen or the secondary display screen based on the query matching result of the target application package name in a preset secondary screen application package name registry. Because the event information is parsed to obtain the target application package name after acquisition, and the event information is then distributed accordingly based on the target application package name and the preset secondary screen application package name registry, the issue of the event information belonging to the main display screen or the secondary display screen being distributed is avoided, preventing the focus change of the main screen caused by the secondary display screen receiving events, as is common in existing vehicle designs. This avoids the situation where the main screen's control malfunctions due to focus dependence. Attached Figure Description

[0030] Figure 1 This is a flowchart of a single-system multi-screen control method provided in an embodiment of the present invention;

[0031] Figure 2 This is an event distribution flowchart provided in one embodiment of the present invention;

[0032] Figure 3 This is a schematic diagram of the structure of a single-system multi-screen control device provided in an embodiment of the present invention;

[0033] Figure 4 This is a schematic diagram of the structure of a single-system multi-screen control device provided in an embodiment of the present invention. Detailed Implementation

[0034] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0035] See Figure 1 This is a flowchart of a single-system multi-screen control method provided in an embodiment of the present invention. The single-system multi-screen control method includes:

[0036] S1. Obtain event information input by the user, and parse the event information to obtain target application information that includes at least the target application package name;

[0037] S2. Based on the query matching result of the target application package name in the preset secondary screen application package name registry, send the event information to the main display screen / secondary display screen.

[0038] It is worth noting that in this embodiment, the vehicle is provided with a main display screen and at least one secondary display screen. The main display screen is equipped with the function of processing focus-dependent event information, while the secondary display screen does not have the function of processing focus-dependent event information. The secondary display screen is a touch screen. For example, the focus-dependent event information can be remote control event information of a remote controller.

[0039] Specifically, see Figure 2 The event distribution flowchart shown illustrates that the user inputs event information (touch event) on the main display or secondary display using their finger or stylus. The event information of the device node is read through EventHub, and InputReader is called to read the event information from EventHub. The event information is then processed to obtain target application information that includes at least the target application package name. The target application package name is then used to query and match the preset secondary screen application package name registry to obtain the query matching result. The query matching result determines whether the event information is sent to the main display or the secondary display.

[0040] It should be noted that the application package name recorded in the secondary screen application package name registry is the package name of the application on the secondary display screen; the target application package name refers to the package name of the application that handles the event information.

[0041] Compared with existing technologies, the single-system multi-screen control method disclosed in this invention obtains user-input event information and parses the event information to obtain target application information containing at least the target application package name. The event information is then sent to the main display screen or the secondary display screen based on the query matching result of the target application package name in a preset secondary screen application package name registry. Because the event information is parsed to obtain the target application package name after obtaining the user-input event information, and the event information is then distributed accordingly based on the target application package name and the preset secondary screen application package name registry, the method avoids the situation in existing vehicle designs where the secondary display screen receiving events causes a change in the focus of the main screen, thus preventing the main screen from malfunctioning due to focus dependence.

[0042] In one implementation, step S2, which involves sending the event information to the main display screen / secondary display screen, specifically includes:

[0043] The event information is sent to the main display screen via the first event transmission channel; or...

[0044] The event information is sent to the secondary display screen through the second event transmission channel.

[0045] Specifically, in combination Figure 2 A first event transmission channel (①→⑦→⑧→⑨) and a second event transmission channel (①→②→③→④) are set up. Event information processed by the application on the main display screen is distributed to the main display screen through the first event transmission channel, while event information processed by the application on the secondary display screen is distributed to the secondary display screen through the second event transmission channel. It is worth noting that since the secondary display screen does not process focus-dependent event information, multiple secondary display screens can share the second event transmission channel when multiple secondary display screens exist.

[0046] In one implementation, step S2, which involves sending the event information to the main display screen / secondary display screen based on the query and matching results of the target application package name in a preset secondary screen application package name registry, specifically includes steps S21 to S22:

[0047] S21. When the target application information does not contain a target application package name that matches the preset secondary screen application package name registry, the event information is sent to the target application on the main display screen through the first event transmission channel.

[0048] S22. When the target application information contains a target application package name that matches the secondary screen application package name registry, the event information is sent to the target application on the secondary display screen through the second event transmission channel.

[0049] Specifically, in combination Figure 2 The application package name recorded in the secondary screen application package name registry is the package name of the application on the secondary display screen. The `RseTouchPolicy` function queries the preset secondary screen application package name registry. If the target application package name is not recorded in the secondary screen application package name registry, meaning the target application information does not contain a target application package name that matches the preset secondary screen application package name registry, it is determined that the event information should be processed by the application on the main display screen. Therefore, the event information is sent to the target application on the main display screen through the first event transmission channel. If the target application package name is recorded in the secondary screen application package name registry, meaning the target application information contains a target application package name that matches the preset secondary screen application package name registry, it is determined that the event information should be processed by the application on the secondary display screen. Therefore, the event information is sent to the target application on the secondary display screen through the second event transmission channel. Both the main display screen and the secondary display screen are configured with corresponding event distribution paths, ensuring that event distribution on the secondary display screen does not affect the focus of the main display screen.

[0050] In one implementation, the step S22, which involves sending the event information to the secondary display screen via the second event transmission channel, specifically includes steps S221 to S223:

[0051] S221. Based on the target application package name, query the secondary screen application package name registry to determine the target window of the secondary display screen;

[0052] S222. Based on the target coordinate information, query a preset control coordinate information table to determine the target control object of the target window of the secondary display screen; wherein, the target application information also includes the target coordinate information;

[0053] S223. Send the event information to the target control object.

[0054] Specifically, in combination Figure 2 The process calls RseInputDispatcher in RseServer to query the registry of secondary screen application package names and find the target window of the secondary display screen corresponding to the target application package name. After determining the target window (RseAPP), it calls RseinputDispatcherManager to query the preset control coordinate information table based on the target coordinate information, find the target control object (target control) used to receive event information, and send the event information to the target control object of the target window. The target application information also includes target coordinate information.

[0055] It's worth noting that the secondary screen application package name registry contains the package name of the application on the secondary display screen, as well as the corresponding secondary display screen. This means that the corresponding secondary display screen and the target window within it can be found based on the target application's package name. The control coordinate information table can be obtained either by actively acquiring the coordinates of each control of the launched application after it's detected as running on the secondary display screen, and recording them in the control coordinate information table, or by the launched application actively recording the coordinates of its own controls in the control coordinate information table after it starts. For example, controls could be buttons, navigation bars, etc.

[0056] In one implementation, before obtaining the user-input event information in step S1, step S0 is further included:

[0057] S0. Receive the application package name sent by the application in the secondary display screen, and register it in the application package name registry of the secondary screen.

[0058] Specifically, in combination Figure 2 After the application starts on the secondary display screen, the application actively reports its own application package name and registers its own application package name in the secondary display application package name registry (⑤→⑥) in RseServer and the secondary display application package name registry in InputFlinger through RseinputDispatcherManager.

[0059] Optionally, when an application is detected to be launching on the secondary display, the application package name of the launched application can be obtained and registered.

[0060] In one implementation, the step S21 of sending the event information to the main display screen through the first event transmission channel specifically includes steps S211 to S212:

[0061] S211. Determine the target window of the main display screen based on the target application information;

[0062] S212. Based on the preset chain of responsibility model, the event information is sent to the target object of the target window of the main display screen.

[0063] Specifically, in combination Figure 2The InputDispatcher stores information about all windows on the main display. Based on the target application information, it locates the target window (NormalApp) on the main display within the InputDispatcher. Then, it sends event information to the InputEventReceiver via the InputChannel. The InputEventReceiver then searches for the target object within the target window according to the Chain of Responsibility pattern. It's worth noting that the Chain of Responsibility pattern is defined as follows: to avoid coupling the request sender with multiple request handlers, all request handlers are linked together in a chain by having each object remember a reference to the next object. When a request occurs, it can be passed along this chain until an object handles it.

[0064] Compared with the prior art, after obtaining the event information input by the user, the embodiments of the present invention first parse the event information to obtain the target application package name, determine whether the event information belongs to the main display screen or the secondary display screen according to the target application package name and the preset secondary screen application package name registry, and then distribute the event information accordingly. This avoids the situation in existing vehicle designs where the focus of the main screen changes due to the secondary display screen receiving events, and thus avoids the situation where the main screen operation, which depends on the focus, fails.

[0065] See Figure 3 This is a schematic diagram of a single-system multi-screen control device provided in an embodiment of the present invention. The single-system multi-screen control device includes:

[0066] The information acquisition module 11 is used to acquire event information input by the user and parse the event information to obtain target application information that includes at least the target application package name;

[0067] The event sending module 12 is used to send the event information to the main display screen / secondary display screen according to the query matching result of the target application package name in the preset secondary screen application package name registry.

[0068] In one embodiment, the event sending module 12 is specifically used for:

[0069] Based on the query matching result of the target application package name in the preset secondary screen application package name registry, the event information is sent to the main display screen through the first event transmission channel or to the secondary display screen through the second event transmission channel.

[0070] It is worth noting that the specific working process of the single-system multi-screen control device can be referred to the working process of the single-system multi-screen control method described in the above embodiments, and will not be repeated here.

[0071] Compared with existing technologies, the single-system multi-screen control device disclosed in this invention obtains user-input event information and parses the event information to obtain target application information containing at least the target application package name. It then sends the event information to the main display screen or the secondary display screen based on the query matching result of the target application package name in a preset secondary screen application package name registry. Because after obtaining the user-input event information, the event information is first parsed to obtain the target application package name, and the event information is determined to belong to the main display screen or the secondary display screen based on the target application package name and the preset secondary screen application package name registry, and then the event information is distributed accordingly, this avoids the situation in existing vehicle designs where the secondary display screen receiving events causes a change in the focus of the main screen, thereby avoiding the situation where the main screen operation, dependent on focus, malfunctions.

[0072] See Figure 4 , Figure 4 This is a schematic diagram of a single-system multi-screen control device provided in an embodiment of the present invention. The single-system multi-screen control device includes a processor 21, a memory 22, and a computer program, such as a driving control program, stored in the memory and configured to be executed by the processor. When the processor 21 executes the computer program, it implements the steps in the above-described single-system multi-screen control method embodiment, for example... Figure 1 The steps S1 to S5 are shown. Alternatively, when the processor 21 executes the computer program, it implements the functions of each module in the above-described device embodiments, such as the information acquisition module 11.

[0073] For example, the computer program can be divided into one or more modules, which are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the single-system multi-screen control device. For example, the computer program can be divided into an information acquisition module 11 and an event sending module 12, with the specific functions of each module as follows:

[0074] The information acquisition module 11 is used to acquire event information input by the user and parse the event information to obtain target application information that includes at least the target application package name;

[0075] The event sending module 12 is used to send the event information to the main display screen / secondary display screen according to the query matching result of the target application package name in the preset secondary screen application package name registry.

[0076] The specific working process of each module can be referred to the working process of the single-system multi-screen control device described in the above embodiments, and will not be repeated here.

[0077] The single-system multi-screen control device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The single-system multi-screen control device may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will understand that the schematic diagram is merely an example of a single-system multi-screen control device and does not constitute a limitation on the single-system multi-screen control device. It may include more or fewer components than illustrated, or combine certain components, or use different components. For example, the single-system multi-screen control device may also include input / output devices, network access devices, buses, etc.

[0078] The processor 21 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 21 is the control center of the single-system multi-screen control device, connecting various parts of the single-system multi-screen control device through various interfaces and lines.

[0079] The memory 22 can be used to store the computer programs and / or modules. The processor 21 implements various functions of the single-system multi-screen control device by running or executing the computer programs and / or modules stored in the memory 22 and calling the data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the main display screen and the secondary display screen (such as audio data, phone book, etc.). In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0080] Wherein, if the module integrated into the single-system multi-screen control device is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above-described method embodiments. Wherein, the computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.

[0081] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A single system multi-screen operation method, characterized in that, include: Obtain event information input by the user, and parse the event information to obtain target application information that includes at least the target application package name; Before obtaining the event information input by the user, it also includes: receiving the application package name sent by the application on the secondary display screen and registering it in the secondary display screen application package name registry; Based on the query results of the target application package name in the preset secondary screen application package name registry, the event information is sent to the main display screen / secondary display screen, specifically including: When the target application information does not contain a target application package name that matches the preset secondary screen application package name registry, the event information is sent to the target application on the main display screen through the first event transmission channel; When the target application information contains a target application package name that matches the secondary screen application package name registry, the event information is sent to the target application on the secondary display screen through the second event transmission channel.

2. The single system multi-screen manipulation method of claim 1, wherein, The step of sending the event information to the main display screen / secondary display screen specifically includes: The event information is sent to the main display screen via the first event transmission channel; or... The event information is sent to the secondary display screen through the second event transmission channel.

3. The method of claim 1, wherein the single system multi-screen control method is characterized by, The step of sending the event information to the secondary display screen through the second event transmission channel specifically includes: Based on the target application package name, query the registry of the secondary screen application package name to determine the target window of the secondary display screen; Based on the target coordinate information, a preset control coordinate information table is queried to determine the target control object of the target window of the secondary display screen; wherein, the target application information also includes the target coordinate information; The event information is sent to the target control object.

4. The single system multi-screen manipulation method of claim 1, wherein, The step of sending the event information to the main display screen through the first event transmission channel specifically includes: Based on the target application information, determine the target window of the main display screen; Based on a preset chain of responsibility model, the event information is sent to the target object of the target window of the main display screen.

5. A single system multi-screen manipulation device, characterized in that, include: The information acquisition module is used to acquire event information input by the user and parse the event information to obtain target application information that includes at least the target application package name; The event sending module is used to send the event information to the main display screen / secondary display screen based on the query matching result of the target application package name in the preset secondary screen application package name registry; the event sending module is specifically used for: Based on the query matching result of the target application package name in the preset secondary screen application package name registry, the event information is sent to the main display screen through the first event transmission channel or to the secondary display screen through the second event transmission channel.

6. A single-system, multi-screen event distribution device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the single-system multi-screen control method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the single-system multi-screen control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Multi-screen control method and device for vehicle-mounted system, storage medium and vehicle machine

    CN109491624A

  • Application display method in multi-screen scene and computer readable storage medium

    CN110968231A