CN107977131B - Display device control method, storage medium, control device, and display device - Google Patents

Display device control method, storage medium, control device, and display device Download PDF

Info

Publication number
CN107977131B
CN107977131B CN201711370685.9A CN201711370685A CN107977131B CN 107977131 B CN107977131 B CN 107977131B CN 201711370685 A CN201711370685 A CN 201711370685A CN 107977131 B CN107977131 B CN 107977131B
Authority
CN
China
Prior art keywords
display
display screen
display device
screen
window stack
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711370685.9A
Other languages
Chinese (zh)
Other versions
CN107977131A (en
Inventor
伍学员
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xinyun display control technology Co.,Ltd.
Original Assignee
Shenzhen Xinyun Display Control Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xinyun Display Control Technology Co ltd filed Critical Shenzhen Xinyun Display Control Technology Co ltd
Priority to CN201711370685.9A priority Critical patent/CN107977131B/en
Publication of CN107977131A publication Critical patent/CN107977131A/en
Application granted granted Critical
Publication of CN107977131B publication Critical patent/CN107977131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller

Abstract

The invention discloses a control method of a display device, the control device, a storage medium and the display device, wherein the control method of the display device comprises the following steps: receiving an input control instruction and responding to the control instruction; judging whether the content displayed by the second display screen is the same as the content of the first display screen; if so, creating a second window stack according to the default window stack; acquiring a context object of a second display screen, and binding a second window stack with the acquired context object; and searching the currently applied form state object from the default form stack, adding the form state object to the second form stack, and deleting the form state object in the default form stack. The technical scheme of the invention realizes a quick and convenient screen switching method.

Description

Display device control method, storage medium, control device, and display device
Technical Field
The present invention relates to the field of display technologies, and in particular, to a control method, a storage medium, a control device, and a display device for a display device.
Background
One of the similar display devices in the current market only has a double-screen simultaneous display function and does not have a double-screen separate display function; the other type has the function of dual-screen simultaneous display/different display, the simultaneous display and different display switching technology is realized on the basis of the android platform by developed APP software, the user side is not flexible in switching and use, and the user enters the APP to search menu options after judging the current screen state, so that the menu options are selected step by step, the search is inconvenient and the switching speed is slow.
Disclosure of Invention
The invention mainly aims to provide a control method of a display device, aiming at realizing a quick and convenient screen switching method.
In order to achieve the above object, the present invention provides a control method of a display device, wherein the display device includes a first display screen and a second display screen, the control method including:
receiving an input control instruction and responding to the control instruction;
judging whether the content displayed by the second display screen is the same as the content of the first display screen;
if so, creating a second window stack according to the default window stack; acquiring a context object of a second display screen, and binding a second window stack with the acquired context object;
and searching the currently applied form state object from the default form stack, adding the form state object to the second form stack, and deleting the form state object in the default form stack.
Preferably, when the content displayed by the second display screen is different from the content of the first display screen,
and searching the currently applied window state object from the default window stack, moving the application window state object in the second window stack to the top of the default window stack, and then moving the currently applied window state object to the second window stack.
Preferably, the first display screen is an external screen, and the second display screen is a main screen.
The present invention also provides a control device of a display device, the control device comprising a memory, a processor and a control program of the display device stored in the memory and operable on the processor, wherein the control program of the display device realizes the steps of the control method of the display device when executed by the processor.
The present invention also proposes a storage medium storing a control program of a display device, which when executed by a processor implements the steps of the control method of the display device as described above.
The invention also provides a display device which comprises the control device.
Preferably, the display device further comprises a first display screen, a second display screen, a computer host and a driving device; the driving device is electrically connected with the first display screen, the second display screen, the control device and the computer host respectively.
Preferably, the driving device comprises a first display driver, a second display driver and a signal amplifier; the first display driver is electrically connected with the first display screen, the control device and the signal amplifier, and the second display driver is electrically connected with the signal amplifier and the second display screen respectively; the signal amplifier is also connected with the computer host.
Preferably, the display device further comprises a logic controller and a key; the key is connected with the logic controller, and the logic controller is also connected with the first display driver.
Preferably, the control device is an android motherboard.
According to the technical scheme, when a user needs to switch the display mode, the display device sends out the control command through specific operation, receives the input control command and responds to the control command. Judging whether the content displayed by the second display screen is the same as the content of the first display screen, and creating a second window stack according to a default window stack when the contents of the two display screens are the same; acquiring a context object of a second display screen, and binding a second window stack with the acquired context object; and searching the currently applied form state object from the default form stack, adding the form state object to the second form stack, and deleting the form state object in the default form stack. Therefore, the switching between different modes of the first display screen and the second display screen is realized, the switching is realized without step-by-step selection through menus, and the switching process is quick and convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a control method of a display device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating window movement in a control method of a display device according to the present invention;
fig. 3 is a schematic structural diagram of a display device according to an embodiment of the invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
101 Control device 105 Signal amplifier
102 First display screen 106 Second display screen
103 Second display screen 107 Push-button
104 First display driver 108 Logic controller
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions in the embodiments may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should be considered to be absent and not within the protection scope of the present invention.
The invention provides a control method of a display device.
Referring to fig. 1, fig. 2 and fig. 3, in the embodiment of the present invention, a control method of a display device, where the display device includes a first display screen 102 and a second display screen 103, it should be noted that in some application scenarios, a dual-screen simultaneous display or a dual-screen separate display is required, that is, two display screens display the same picture content or display different picture contents. For example, display devices are used at retail counters that have two displays, one for facing customers and one for facing tellers.
In one embodiment, in the beginning stage, the display screen facing the customer is the same as the display screen facing the teller, when the user settles, some contents are inconvenient to display to the customer, after the display screen facing the customer displays information such as price and articles after the display screen is switched by a key, and the display screen facing the teller displays other contents.
The control method comprises the following steps:
and S100, receiving an input control instruction and responding to the control instruction. The control instruction can be generated by a user through a key or a touch screen.
S200, judging whether the content displayed by the second display screen is the same as the content of the first display screen. Whether the display contents of the two display screens are consistent or not is judged by analyzing whether the driving signals of the first display screen and the second display screen are the same or not. And according to whether the contents are the same or not, carrying out different step flows.
S300, if so, creating a second window stack according to the default window stack; and acquiring a context object of the second display screen, and binding the second form stack with the acquired context object.
It should be noted that a context object (context object) refers to an object in the android system, which tracks the attributes of a MTS server component when the component runs in an activity, including the activation state, security information, transaction state (if any) of the tracked component, and the like.
S400, searching a currently applied form state object from the default form stack, adding the form state object to a second form stack, and deleting the form state object in the default form stack.
It should be noted that, in this embodiment, the default window stack and the second window stack are both stacks. A stack is an ordered data structure of data items that can only be inserted and deleted at one end, called the top of the stack (top).
It is worth to be noted that the switching mode of the dual-screen simultaneous display and the different display mainly utilizes the support of the Android platform for the multiple screens, and is realized by the software APP. The Android platform adds support for multiple screens after the 4.2 version, and there are mainly 3 screen types: a Primary screen (Primary Display), an External screen (External Display), and a Virtual screen (Virtual Display). In which the self-contained screen is generally recognized as a main screen, and a screen connected to the main screen through an HDMI interface is set as an external screen. In order to facilitate the APP to access the 3 screens, the Android provides a unified screen management service (displaymanager service), and the 3 screen widths and lengths are combined and rendered uniformly by the surfefinger.
When a screen switching requirement exists, if the current state is a double-screen simultaneous display state, an application requests to display the content of a first display screen on a second display screen, a new window stack-the second window stack is firstly created according to a default window stack (windowState) list, a second screen operation context object DisplayContent is obtained through a screen management service, and the newly created second window stack is bound with the obtained context object. At this time, the window state object (WindowState) of the current application is searched from the default window stack, the window state object is added into the second window stack after being acquired, and the window object is removed from the default window stack. And if the current display state is the double-screen different display state, searching a default window stack to obtain a currently applied window state object, moving an application window in a second window stack to the top of the default window stack, and then moving the currently applied window object to the second window stack. Therefore, the switching between the double-screen simultaneous display state and the double-screen different display state is realized.
According to the technical scheme, when a user needs to switch the display mode, the display device sends out the control command through specific operation, receives the input control command and responds to the control command. Judging whether the content displayed by the second display screen is the same as the content of the first display screen, and creating a second window stack according to a default window stack when the contents of the two display screens are the same; acquiring a context object of a second display screen, and binding a second window stack with the acquired context object; and searching the currently applied form state object from the default form stack, adding the form state object to the second form stack, and deleting the form state object in the default form stack. Therefore, the switching between different modes of the first display screen and the second display screen is realized, the switching is realized without step-by-step selection through menus, and the switching process is quick and convenient.
Specifically, S500, when the content displayed on the second display screen is different from the content displayed on the first display screen,
and searching the currently applied window state object from the default window stack, moving the application window state object in the second window stack to the top of the default window stack, and then moving the currently applied window state object to the second window stack.
In this embodiment, the first display screen is a main screen, and the second display screen is an external screen.
Based on the control method of the display device, the invention further provides a control device of the display device, the control device comprises a memory, a processor and a control program of the display device, the control program of the display device is stored in the memory and can run on the processor, and the control program of the display device realizes the steps of the control method of the display device when being executed by the processor.
The present invention also proposes a storage medium storing a control program of a display device, which when executed by a processor implements the steps of the control method of the display device as described above.
Referring to fig. 3, based on the control device, the invention further provides a display device, which includes the control device.
Further, the display device further includes a first display screen 102, a second display screen 103, a computer host and a driving device (not labeled); the driving device is electrically connected to the first display screen 102, the second display screen 103, the control device 101 and the computer host.
In this embodiment, the first display screen 102 and the second display screen 103 are both liquid crystal display screens.
Further, the driving device includes a first display driver 104, a second display driver 106, and a signal amplifier 105; the first display driver 104 is electrically connected to the first display screen 102, the control device 101 and the signal amplifier 105, and the second display driver 106 is electrically connected to the signal amplifier 105 and the second display screen 103, respectively; the signal amplifier 105 is also connected to the computer host.
The signal amplifier 105 is used for amplifying the signal of the host computer and then outputting the amplified signal to the first display driver 104 and the second display driver 106. The first display driver 104 is used to drive the first display screen 102, and the second display driver 106 is used to drive the second display screen 103. In this embodiment, the signal inputted to the first display driver 104 in the control device 101 is an HDMI format signal, and the signals inputted to the first display driver 104 and the second display driver 106 by the computer host are VGA format signals.
Further, the display device further comprises a logic controller 108 and a key 107. The keys 107 may be mechanical keys, capacitive touch keys, or the like. The key 107 is connected to the logic controller 108, and the logic controller 108 is further connected to the first display driver 104. When the key 107 is pressed, the level of the key pin changes, and the logic controller 108 detects the level change of the key pin, and sends a control command to the first display driver 104 to control the first display screen 102 to switch the data input by the control device 101 or the data input by the computer host.
In this embodiment, an android system is installed in the control device 101, and is an android motherboard.
According to the technical scheme, the mechanical button is connected to the logic controller 108, and the logic controller 108 controls two VGA signals (simultaneous display) and two HDMI signals (different display) on the first display driver, so that the switching between the pictures of the first display screen 102 and the second display screen 103 in the simultaneous display and the different display is realized, and the switching is convenient and quick. The problem that the current similar products can only display at the same time or select the switching picture step by step through menu selection is solved.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a smart television, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A control method of a display device including a first display screen and a second display screen, comprising:
receiving an input switching control instruction, and responding to the switching control instruction;
acquiring a first display screen driving signal and a second display screen driving signal according to the switching control instruction, and judging whether the content displayed by the second display screen is the same as the content of the first display screen according to the first display screen driving signal and the second display screen driving signal;
if so, creating a second window stack according to the default window stack; acquiring a context object of a second display screen, and binding a second window stack with the acquired context object;
searching a currently applied window state object from a default window stack, adding the window state object to a second window stack, and deleting the window state object in the default window stack;
when the content displayed by the second display screen is different from the content of the first display screen,
and searching the currently applied window state object from the default window stack, moving the applied window state object in the second window stack to the top of the default window stack, and then moving the currently applied window state object to the second window stack.
2. The method of controlling a display device according to claim 1, wherein the first display screen is an external screen, and the second display screen is a main screen.
3. A control device for a display device, comprising a memory, a processor, and a control program for a display device stored in the memory and executable on the processor, wherein the control program for a display device, when executed by the processor, implements the steps of the control method for a display device according to any one of claims 1 to 2.
4. A storage medium storing a control program of a display device, the control program of the display device realizing the steps of the control method of the display device according to any one of claims 1 to 2 when executed by a processor.
5. A display device, characterized in that the display device comprises a control device according to claim 3.
6. The display device according to claim 5, wherein the display device further comprises a first display screen, a second display screen, a host computer and a driving device; the driving device is electrically connected with the first display screen, the second display screen, the control device and the computer host respectively.
7. The display device of claim 6, wherein the driving means comprises a first display driver, a second display driver, and a signal amplifier; the first display driver is electrically connected with the first display screen, the control device and the signal amplifier, and the second display driver is electrically connected with the signal amplifier and the second display screen respectively; the signal amplifier is also connected with the computer host.
8. The display device of claim 7, wherein the display device further comprises a logic controller and keys; the key is connected with the logic controller, and the logic controller is also connected with the first display driver.
9. The display device of claim 5, wherein the control device is an android motherboard.
CN201711370685.9A 2017-12-18 2017-12-18 Display device control method, storage medium, control device, and display device Active CN107977131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711370685.9A CN107977131B (en) 2017-12-18 2017-12-18 Display device control method, storage medium, control device, and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711370685.9A CN107977131B (en) 2017-12-18 2017-12-18 Display device control method, storage medium, control device, and display device

Publications (2)

Publication Number Publication Date
CN107977131A CN107977131A (en) 2018-05-01
CN107977131B true CN107977131B (en) 2021-07-27

Family

ID=62006849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711370685.9A Active CN107977131B (en) 2017-12-18 2017-12-18 Display device control method, storage medium, control device, and display device

Country Status (1)

Country Link
CN (1) CN107977131B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968237B (en) * 2018-09-30 2023-10-31 北京奇虎科技有限公司 Control method and device for application program, mobile terminal and storage medium
CN110908552B (en) * 2019-10-11 2021-08-10 广州视源电子科技股份有限公司 Multi-window operation control method, device, equipment and storage medium
CN114025218B (en) * 2021-09-14 2024-04-02 百果园技术(新加坡)有限公司 Card type video interaction method, device, equipment and storage medium
CN114401373B (en) * 2022-03-24 2022-09-02 荣耀终端有限公司 Method for displaying on two screens simultaneously, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN103680471A (en) * 2012-09-21 2014-03-26 联想(北京)有限公司 Method and electronic device for displaying images
CN106027791A (en) * 2016-06-29 2016-10-12 努比亚技术有限公司 Mobile terminal and application service switching method
CN107357540A (en) * 2017-06-30 2017-11-17 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of display direction
CN107391063A (en) * 2017-06-30 2017-11-24 青岛海信移动通信技术股份有限公司 Method for information display, device and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5815275B2 (en) * 2011-04-26 2015-11-17 京セラ株式会社 Portable terminal device and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680471A (en) * 2012-09-21 2014-03-26 联想(北京)有限公司 Method and electronic device for displaying images
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN106027791A (en) * 2016-06-29 2016-10-12 努比亚技术有限公司 Mobile terminal and application service switching method
CN107357540A (en) * 2017-06-30 2017-11-17 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of display direction
CN107391063A (en) * 2017-06-30 2017-11-24 青岛海信移动通信技术股份有限公司 Method for information display, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN107977131A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN107977131B (en) Display device control method, storage medium, control device, and display device
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
KR102270953B1 (en) Method for display screen in electronic device and the device thereof
CN110326277B (en) Interface providing method for multitasking and electronic device implementing the same
WO2019041779A1 (en) Terminal interface switching, moving and gesture processing method and device and terminal
US20090222761A1 (en) Computer-readable recording medium having display screen setting program recorded thereon, information processing apparatus, and display screen setting method
CN108463799B (en) Flexible display of electronic device and operation method thereof
US20090235177A1 (en) Multi-monitor remote desktop environment user interface
KR20180106231A (en) Electronic device for controlling audio output and operating mehtod thereof
US10359904B2 (en) Graphic user interface pointer control
US9977582B2 (en) Window display method and apparatus of displaying a window using an external input device
CN104423804A (en) Method and electronic device for displaying content
KR102211776B1 (en) Method of selecting contents and electronic device thereof
US20150346989A1 (en) User interface for application and device
KR20160026322A (en) Electronic apparatus and method of executing function thereof
CN102902450A (en) Terminal and method for displaying data thereof
US20040135812A1 (en) Method of establishing a re-configurable taskbar
KR20160004590A (en) Method for display window in electronic device and the device thereof
CN110489041B (en) Method, device, equipment and medium for automatically aligning small program dragging elements
US20170031532A1 (en) Universal back navigation for multiple windows
US20150234576A1 (en) Method and apparatus for displaying information and electronic device adapted to the method
US8988369B1 (en) Restricted carousel with built-in gesture customization
CN111158788B (en) Desktop starter control method and device and storage medium
CN113268182A (en) Application icon management method and electronic equipment
CN109976605B (en) Class board content display method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210623

Address after: 518000 302, 90-15 Dayang Road, Xintian community, Fuhai street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Xinyun display control technology Co.,Ltd.

Address before: 518000 south area, 4th floor, building 15, COFCO (Fu'an) robot industrial park, Dayang Road, Fuyong street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN HUAYUAN DISPLAY CONTROL TECHNIQUE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant