Disclosure of Invention
The invention aims to provide a split screen processing method, a split screen processing device and a vehicle, and aims to solve the problems in the related art.
In a first aspect, a split-screen processing method is provided, which is applied to a display device having a touch screen, and a preset icon is displayed at a preset position of the touch screen;
the method comprises the following steps:
detecting a target position of the preset icon on the touch screen;
determining a display mode of the touch screen according to the target position, wherein the display mode comprises the following steps: full screen display and split screen display.
Optionally, the method further comprises:
when the display mode is determined to be split screen display, acquiring an application program which runs at the background currently;
and determining the number of split screen interfaces displayed in a split screen mode according to the number of the currently running background application programs, wherein each split screen interface is used for displaying one currently running application program in the background.
Optionally, the method further comprises:
and determining the number of split screen interfaces displayed in the split screen mode according to the target position.
Optionally, before the step of determining the position of the preset icon on the touch screen, the method further includes:
receiving touch operation of a user on the preset icon;
and when the touch operation is an icon moving operation, responding to the icon moving operation, and moving the preset icon to the target position.
Optionally, the step of determining the display mode of the touch screen according to the target position includes:
when the target position is located in a first preset area of the touch screen, determining that the display mode is full-screen display, wherein the full-screen display is used for displaying any application program or designated application program in the current application programs running in the background
And when the target position is located in a second preset area of the touch screen, determining that the display mode is split screen display, wherein the second preset area is different from the first preset area.
In a second aspect, a split screen processing device is provided, which is applied to a display device having a touch screen, wherein a preset icon is displayed at a preset position of the touch screen;
the split screen processing apparatus includes:
a detection module configured to detect a target position of the preset icon on the touch screen;
a display mode determination module configured to determine a display mode of the touch screen according to the target position, where the display mode includes: full screen display and split screen display.
Optionally, the split-screen processing apparatus further includes:
the acquisition module is configured to acquire the current application program running in the background when the display mode is determined to be split screen display;
the first split screen interface quantity determining module is configured to determine the quantity of split screen interfaces displayed in a split screen mode according to the quantity of currently running background application programs, wherein each split screen interface is used for displaying one currently running application program in a background.
Optionally, the split-screen processing apparatus further includes:
and the second split screen interface quantity determining module is configured to determine the split screen interface quantity displayed in the split screen mode according to the target position.
Optionally, the split-screen processing apparatus further includes:
the receiving module is configured to receive touch operation of a user on the preset icon;
a moving module configured to move the preset icon to the target position in response to the move icon operation when the touch operation is a move icon operation.
Optionally, the display mode determining module is configured to determine that the display mode is full-screen display when the target position is located in a first preset area of the touch screen, where the full-screen display is used to display any application program or a designated application program in application programs currently running in a background; and when the target position is located in a second preset area of the touch screen, determining that the display mode is split screen display, wherein the second preset area is different from the first preset area.
In a third aspect, a vehicle is provided, which includes the split screen processing device.
In a fourth aspect, a split screen processing apparatus is provided, including:
a processor, and a memory for storing processor-executable instructions;
wherein the processor is configured to detect a target position of the preset icon on the touch screen; determining a display mode of the touch screen according to the target position, wherein the display mode comprises the following steps: full screen display and split screen display.
According to the technical scheme, the display mode is determined according to the position of the preset icon, so that the user can control full-screen display and split-screen display of the touch screen by moving the preset icon, the operation is simple, the split screen is rapid, more intelligent and humanized operation experience is provided for the user, and the user can quickly and accurately acquire required vehicle information; on the other hand, the user can conveniently and rapidly switch the display modes, and the operation experience of the user is further improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a block diagram illustrating a display device according to an exemplary embodiment of the present disclosure. The display device 10 includes at least: a touch panel 101, a touch controller 102, a display screen 103, and a processor 104.
The touch panel 101 detects a change in resistance, pressure, capacitance, or the like due to being contacted, and generates a touch signal.
The touch controller 102 receives a touch signal generated from the touch panel 101, processes the touch signal, and transmits the processed signal to the processor 104.
The display screen 103 includes a backlight module, a display panel disposed above the backlight module, and a light guide plate disposed above the display panel. The display panel may be a liquid crystal panel, an OLED (Organic Light Emitting Diode) panel, an electrowetting panel, or a QLED (Quantum Dot Light Emitting Diode) panel.
The touch panel 101 may be disposed above the display panel, or the function of the touch panel 101 may be integrated into the display panel. When the touch panel 101 is superimposed on or integrated with a display panel in the form of a layer, the touch panel 101, the touch controller 102, and the display screen 103 may form a touch screen.
The processor 104 may perform a corresponding operation according to the received touch signal transmitted by the touch controller 102. The display screen 103 may implement display functionality under the control of the processor 104.
Fig. 2 is a block diagram of a vehicle shown in an exemplary embodiment of the present disclosure. The vehicle 20 includes: the touch screen and the processor 104 described above. The processor 104 is also connected to the CAN bus of the vehicle. The touch screen may be provided on a control panel in front of the vehicle interior.
The touch screen can be divided into a plurality of split screen interfaces for displaying, and the content displayed by the split screen interfaces comprises a navigation interface, a broadcast interface, a music playing interface, a call interface, a vehicle setting interface, a vehicle state and the like of the vehicle.
Fig. 3 is a schematic flow chart of a split-screen processing method according to an embodiment of the present disclosure. The split-screen processing method comprises the following steps:
in step S31, a target position of the preset icon on the touch screen is detected.
In the embodiment of the disclosure, a preset icon is displayed at a preset position of the touch screen, and a user can control a display mode of the touch screen by operating (for example, moving operation, clicking operation, and the like) the preset icon. The preset position may be any position of the touch screen, for example, a right edge position, an upper right corner position, or a middle position of the touch screen. In one embodiment, the preset icon may be a hover button having a shape, such as a circular hover button.
In one embodiment, the preset icon may be displayed at a preset position on the touch screen when the touch screen is turned on. In other embodiments, the preset icon may be displayed at a preset position on the touch screen when a screen splitting instruction input by a user through the touch screen is received. The screen splitting instruction can be clicking a set position of the touch screen, performing sliding operation at the set position of the touch screen, and the like.
Referring to fig. 4, the step of the preset icon being moved to the target position includes:
in step S41, a touch operation by the user on the preset icon is received.
In step S42, when the touch operation is a move icon operation, the preset icon is moved to the target position in response to the move icon operation.
The icon moving operation may be that after the preset icon is selected, the preset icon is slid on the touch screen, so that the preset icon moves on the touch screen, and the position where the sliding is stopped is the target position to which the preset icon is moved. The icon moving operation may also be performed by clicking the preset icon for a preset number of times and then clicking the preset number of times at other positions (i.e., the target position) of the touch screen, so that the preset icon is moved to the position. It should be understood that the operation of the mobile icon is preset, and it can be set according to the habit of the user or the operation experience, which is not limited by the present disclosure.
The target position of the preset icon on the touch screen is detected, the coordinate of the preset icon on the touch screen can be firstly obtained, and then the target position is determined according to the coordinate. In one embodiment, when it is detected that the target position of the preset icon is the same as the preset position, that is, the preset icon is not moved or is moved to the preset position, the display mode of the touch screen may be defaulted to full screen display.
In step S32, the display mode of the touch screen is determined based on the target position.
In the embodiment of the disclosure, the display modes include full-screen display and split-screen display, wherein the number of split-screen interfaces of the split-screen display is the same as the number of application programs currently running in the background.
The application program running in the background means that after the user opens one application program a, another application program B is opened again, and then the application program a runs in the background. When the display mode is determined to be split screen display, the current application programs running in the background can be obtained, and the number of split screen interfaces is determined according to the number of the current application programs running in the background. And after the number of the split screen interfaces is determined, splitting the touch screen according to the determined number, wherein each split screen interface respectively displays one current application program running in the background.
It should be understood that in embodiments of the present disclosure, the application programs may include, but are not limited to: navigation, broadcasting, music playing, conversation, vehicle setting, vehicle state display and the like.
Referring to fig. 5 and 6, in the embodiment of the present disclosure, the target position where the preset icon is located corresponds to a display mode of the touch screen.
Referring to fig. 5, when it is detected that the target position of the preset icon 50 is located in the first preset area 51 of the touch screen, it is determined that the display mode of the touch screen is full-screen display. In one embodiment, the first preset area 51 may be an edge position of the touch screen, for example, an edge position such as a right side edge of the touch screen, a left side edge of the touch screen, an upper right corner of the touch screen, and a lower right corner of the touch screen.
And when the display mode is full-screen display, the touch screen is used for displaying any application program or designated application program in the current application programs running in the background.
Referring to fig. 6, when the target position of the preset icon 50 is located in the second preset area 61 of the touch screen, it is determined that the display mode of the touch screen is split screen display. The second preset area 61 is an area different from the first preset area 51. In one embodiment, the second preset area 61 may be any area other than the first preset area 51, the middle of the touch screen, or the like.
When a split-screen display mode is adopted, the current application program running in the background is obtained, and therefore the number of split-screen interfaces and the display content of each split-screen interface are determined. In an embodiment of the present disclosure, in order to ensure the display effect, a maximum number of split screen interfaces may be set, and thus, if the number of the current applications running in the background exceeds the maximum number, the split screen is performed according to the maximum number of split screen interfaces, and the display content of each split screen interface may be selected according to the time when the application starts running, the display priority of the application, or the running frequency of the application.
Referring to fig. 7, a position X is in the first preset area 51 and a position Y is in the second preset area 61, whereby when the preset icon is moved from the position X to the position Y, the display manner of the touch screen is changed from the full screen display to the split screen display. In contrast, when the preset icon is moved from the position Y to the position X, the display manner of the touch screen is switched from the split-screen display to the full-screen display.
From this, the user can realize the control to the full screen display of touch-sensitive screen and split screen display through removing the icon of predetermineeing, easy operation, and the split screen is rapid, promotion user's that can be very big experience.
In another embodiment of the present disclosure, the number of split-screen interfaces displayed in a split screen may be determined according to a target position of a preset icon. The corresponding relation between the target position and the number of the split screen interfaces can be preset, and when the target position is detected, the number of the split screen interfaces can be determined according to the corresponding relation. In an embodiment, referring to fig. 8a, when the target position of the preset icon is located at the middle position of the touch screen, the number of the corresponding split screen interfaces is 4, that is, the touch screen is divided into 4 split screen interfaces by taking the preset icon as a center, and the split screen interfaces are respectively used for displaying the contents of different application programs. Referring to fig. 8B, when the target position of the preset icon is located at the middle position of the lower edge of the touch screen, the corresponding number of the split interfaces is 3, and the 3 split interfaces may respectively use the connection line C1 between the top left corner a1 of the touch screen and the preset icon B and the connection line C2 between the top right corner a2 of the touch screen and the preset icon B as boundaries. Among them, the region having the largest area (i.e., the region between C1 and C2) may be used to display the application having the highest priority or to designate the application.
In one embodiment, when the number of split screen interfaces determined according to the target position is larger than the number of applications currently running in the background, a main interface (for example, a main interface of an in-vehicle entertainment system) can be displayed on redundant split screen interfaces. In other embodiments, when the number of the split screen interfaces determined according to the target position is greater than the number of the current applications running in the background, the number of the split screen interfaces is adjusted according to the number of the current applications running in the background, so that the number of the split screen interfaces is equal to the number of the current applications running in the background.
Therefore, the screen splitting mode and the number of the screen splitting interfaces are determined through the target position of the preset icon, the operation experience of a user can be improved, and the screen splitting of the touch screen can be quickly realized.
Referring to fig. 9, correspondingly, the embodiment of the present disclosure further provides a split screen processing apparatus, which is applied to a display apparatus having a touch screen, where a preset icon is displayed at a preset position of the touch screen. The split-screen processing apparatus 900 includes:
a detecting module 901 configured to detect a target position of the preset icon on the touch screen;
a display mode determining module 902, configured to determine a display mode of the touch screen according to the target position, where the display mode includes: full screen display and split screen display.
In one embodiment, the apparatus 900 further comprises:
an obtaining module 903, configured to obtain a current application running in a background when it is determined that the display mode is split-screen display;
the first split-screen interface number determining module 904 is configured to determine the number of split-screen interfaces displayed in a split-screen manner according to the number of currently running background applications, where each split-screen interface is used for displaying one currently running application in a background.
In one embodiment, the apparatus 900 further comprises:
a second split-screen interface number determining module 905 configured to determine the number of split-screen interfaces displayed in a split screen according to the target position.
In one embodiment, the apparatus 900 further comprises:
a receiving module 906 configured to receive a touch operation of a user on the preset icon;
a moving module 907 configured to move the preset icon to the target position in response to the moving icon operation when the touch operation is a moving icon operation.
In one embodiment, the display mode determining module 902 is configured to determine that the display mode is a full-screen display when the target position is located in the first preset area of the touch screen, where the full-screen display is used to display any application program or a designated application program in application programs currently running in a background.
In an embodiment, the display mode determining module 902 is configured to determine that the display mode is split-screen display when the target position is located in a second preset area of the touch screen, where the second preset area is different from the first preset area.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating an apparatus 1000 for a split screen processing method according to an example embodiment. For example, the apparatus 1000 may be provided as a vehicle. Referring to fig. 10, the apparatus 1000 includes: the system comprises a touch screen 1001, a processor 1002, a CAN bus 1003, a vehicle braking system 1004, a steering wheel angle sensor 1005, a wheel speed sensor 1006, an engine system 1007, a memory 1008 and the like.
The processor 1002 is configured to control the overall operation of the apparatus 1000, so as to complete all or part of the steps in the split-screen processing method. The memory 1008 is used to store an operating system, various types of data to support operation of the device 1000, such as instructions for any application or method operating on the device 1000 and application-related data. The Memory 1008 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
Any process or method descriptions in flow charts or otherwise described in embodiments of the present disclosure may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the embodiments of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.