WO2019000557A1 - 一种双屏异触异显的方法、装置及计算机可读存储介质 - Google Patents

一种双屏异触异显的方法、装置及计算机可读存储介质 Download PDF

Info

Publication number
WO2019000557A1
WO2019000557A1 PCT/CN2017/095692 CN2017095692W WO2019000557A1 WO 2019000557 A1 WO2019000557 A1 WO 2019000557A1 CN 2017095692 W CN2017095692 W CN 2017095692W WO 2019000557 A1 WO2019000557 A1 WO 2019000557A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
touch
screen
event
identifier
Prior art date
Application number
PCT/CN2017/095692
Other languages
English (en)
French (fr)
Inventor
谢小强
Original Assignee
百富计算机技术(深圳)有限公司
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 百富计算机技术(深圳)有限公司 filed Critical 百富计算机技术(深圳)有限公司
Priority to US15/743,820 priority Critical patent/US20190012005A1/en
Publication of WO2019000557A1 publication Critical patent/WO2019000557A1/zh

Links

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/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/1438Digital 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 more than one graphics controller
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Definitions

  • the present invention belongs to the field of computer applications, and in particular, to a method, an apparatus, and a computer readable storage medium for dual-screen hetero-visual display.
  • Existing electronic devices generally have at least one display screen for displaying an interface of an application.
  • these displays are not only used to display the image of the application, but also serve as an interface for human-computer interaction to realize the interaction between human and machine information.
  • the present invention provides a dual-screen hetero-visual display method, apparatus, and computer-readable storage medium for implementing human-computer interaction in a dual-screen hetero-visual manner.
  • a first aspect of the present invention provides a method for dual-screen hetero-visual display, which is applied to an electronic device that can connect two touch screens, and the method includes:
  • a second aspect of the present invention provides a dual-screen hetero-visual display device, which is applied to an electronic device that can connect two touch screens, and the device includes:
  • an event detecting module configured to detect a touch event and determine a touch screen in which the touch event occurs
  • a first identifier obtaining module configured to: when the event detecting module detects that the touch event occurs An event on the touch screen, obtaining an identifier of the first touch screen
  • a second identifier obtaining module configured to acquire an identifier of the second touch screen when the event detecting module detects that the touch event is an event occurring on the second touch screen;
  • a transmission module configured to transmit, according to the identifier of the first touch screen or the identifier of the second touch screen, corresponding content to the controller of the first touch screen or the second touch screen for display on the first touch screen or The second touch screen.
  • a third aspect of the present invention provides a terminal device including a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor executing the computer program to implement the following steps
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by the processor, to implement the following steps:
  • the identifier of the first touch screen is acquired, and when the touch event is detected, the event occurs on the second touch screen.
  • the identifier of the second touch screen is obtained, and finally, the corresponding content is transmitted to the controller of the first touch screen or the second touch screen for display on the first touch screen or the second touch screen according to the identifier of the first touch screen or the identifier of the second touch screen.
  • FIG. 1 is a schematic flowchart showing an implementation of a method for dual-screen hetero-visual display according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for dual-screen hetero-visual display according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for dual-screen hetero-visual display according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for dual-screen hetero-visual display according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of an implementation of a method for dual-screen hetero-visual display according to an embodiment of the present invention, which mainly includes the following steps S101 to S104.
  • the method illustrated in Figure 1 is applied to an electronic device that can connect two touch screens
  • the electronic device to which the method of dual-screen dissimilarity is applied can connect two touch screens.
  • the user can touch any one of the two touch screens or touch the two touch screens to interact with each other.
  • Each touch on the touch screen by the user is a touch event for the system, and the system detects the touch event and determines the occurrence of the touch event.
  • the touch screen is which touch screen is currently touched by the user.
  • detecting a touch event and determining that the touch screen occurs may be: determining whether the touch event occurs on the first touch screen or the touch screen according to the screen coordinates corresponding to the touch event occurring on the dual screen Two touch screens.
  • the screen coordinates of the first touch screen and the second touch screen are uniformly managed, and therefore, the system may occur on the dual screen according to the touch event. ⁇ Touch the corresponding screen coordinates to determine whether the touch event occurs on the first touch screen or the second touch screen.
  • the first touch screen may be a main screen of the electronic device, and the second touch screen may be a secondary screen or a guest screen of the electronic device;
  • the touch screen can be expanded. Therefore, the second touch screen can be a touch screen of the electronic device that can be inserted into the extended screen of the electronic device.
  • S102 Acquire an identifier of the first touch screen when the touch event is an event occurring on the first touch screen.
  • S103 Acquire an identifier of the second touch screen when the touch event is an event occurring on the second touch screen.
  • each touch screen has an identifier corresponding thereto, that is, the touch screen and the touch screen.
  • the logo can be bound in advance.
  • the touch event is an event occurring on the first touch screen
  • the identifier of the first touch screen is acquired; and when the touch event is an event occurring on the second touch screen, the identifier of the second touch screen is acquired.
  • the identifier of the touch screen is represented by the display ID
  • the identifier of the second touch screen may be any non-zero, that is, the display ID may be any value other than 0.
  • the second touch screen is an extended screen, its display ID may change continuously during its insertion and removal.
  • the touch event is sent to the To uchedWindow of the corresponding touch screen. For example, when the touch event occurs on the first touch screen, the touch event is sent to the TouchedWindow of the first touch screen. When the touch event occurs on the second touch screen, the touch event is sent to the TouchedWindow of the second touch screen, thereby implementing double-screen different touch.
  • S104 The corresponding content is transmitted to the controller of the first touch screen or the second touch screen for display on the first touch screen or the second touch screen according to the identifier of the first touch screen or the identifier of the second touch screen.
  • the electronic device has two controllers in addition to a central processing unit (CPU), and one controller is used to control one of the touch screens through an interface, and the content to be displayed is also transmitted through the interface. Finally displayed after touching the touch screen.
  • a display list of the first touch screen and the second touch screen that is, comparing whether the identification bit of the display layer matches the touch screen; When the identification bit matches the touch screen, the display layer matching the identification bit with the touch screen is added to the display list of the touch screen that matches the identification bit.
  • Each touch screen can be matched with one or more display layers, and each display layer has a corresponding identification bit, and each touch screen can display a matching display layer. For example, after constructing the display list of the first touch screen and the second touch screen, comparing whether the identification bit of the display layer layer-0 matches the first touch screen, if the identification bit of the display layer layer-0 matches the first touch screen, the display will be displayed.
  • the layer layer-0 adds a display list of the first touch screen matching the identification bit; for example, comparing whether the identification bit of the display layer layer-4 matches the second touch screen, if the identification bit of the display layer layer-4 matches the second touch screen , the display layer la y er _4 is added to the display list of the second touch screen matching the identification bit, and the like.
  • the display list of each touch screen can correspond to the identifier of the touch screen, and the display list of each touch screen can be stored in a buffer.
  • the controller of the first touch screen or the second touch screen for displaying the corresponding content for displaying on the first touch screen or the second touch screen may be: acquiring a display list of the first touch screen according to the identifier of the first touch screen, and displaying the first touch screen
  • the cache corresponding to the list is set to the controller of the first touch screen, or the display list of the second touch screen is obtained according to the identifier of the second touch screen, and the cache corresponding to the display list of the second touch screen is set to the controller of the second touch screen, , to achieve the dual screen difference.
  • the second touch screen may be an extended screen, that is, pluggable to the touch screen of the electronic device. If the electronic device currently only has the first touch screen, the second touch screen may be determined by detecting the interface, that is, the method illustrated in FIG. 1 further includes: detecting the state of the plug interface of the second touch screen; When the touch screen has been inserted into the plug interface, the software driver is notified to the presence of the second touch screen by calling a callback function. Specifically, for the Android system, a rk_hw C _Mmi_th rea d thread is opened in the open function of hwcomposer. The role of this thread is to detect the state of the plug-in interface, that is, the HDMI state.
  • the callback function hotplu g registered by hwcomposer in SF is called in hwcomposer to notify the SF driver that there is a second touch screen, so that the DMS service can acquire two touch screens, and the application can pass the corresponding API.
  • Write code that is different.
  • the present invention implements a dual-screen hetero-visual display function on one hand, and satisfies the interaction requirements of people in a special application scenario; on the other hand, implements on an electronic device.
  • the dual-screen dissimilar display eliminates the need for additional equipment, thus reducing the cost of dual-screen dissimilarity.
  • FIG. 2 is a schematic diagram of an apparatus for dual-screen hetero-visual display according to an embodiment of the present invention, which is applied to an electronic device that can connect two touch screens, including a car machine, a POS machine, a cash register, and a Karaoke.
  • the apparatus for the dual-screen dissimilarity shown in FIG. 2 mainly includes an event detection module 201, a first identifier acquisition module 202, a second identifier acquisition module 203, and a transmission module 204, which are described in detail as follows: [0050]
  • the event detection module 201 Detecting a touch event and determining a touch screen that occurs when the touch event occurs;
  • the first identifier obtaining module 202 is configured to: when the event detecting module 201 detects that the touch event occurs at the first The event ⁇ on the touch screen acquires the identifier of the first touch screen;
  • the second identifier obtaining module 203 is configured to acquire an identifier of the second touch screen when the event detecting module 201 detects that the touch event is an event occurring on the second touch screen;
  • the transmitting module 204 is configured to transmit, according to the identifier of the first touch screen or the identifier of the second touch screen, the corresponding content to the controller of the first touch screen or the second touch screen for displaying on the first touch screen or the second touch screen.
  • the event detecting module 201 exemplified in FIG. 2 may include a judging unit 301, such as the dual screen dissimilar display device illustrated in FIG.
  • the determining unit 301 is configured to determine whether the touch event occurs on the first touch screen or the second touch screen according to the screen coordinates corresponding to the touch event occurring on the dual screen.
  • the apparatus for dual-screen dissimilarity illustrated in FIG. 2 may further include a building block 401, such as the dual-screen dissimilarity device illustrated in FIG.
  • the building module 401 is configured to construct a display list of the first touch screen and the second touch screen before the event detecting module 201 detects the touch event and determines the touch screen where the touch event occurs. Specifically, the building module 401 constructs the first touch screen and the first The display list of the touch screen ⁇ compares whether the identification bit of the display layer matches the touch screen; if the identification bit of the display layer matches the touch screen, the display layer matching the identification bit and the touch screen is added to the display of the touch screen matching the identification bit; List.
  • the transmission module 204 illustrated in FIG. 4 may further include a first obtaining unit and a first setting unit, or the transmission module 204 may further include a second obtaining unit and a second setting unit, where:
  • a first obtaining unit configured to acquire, according to the identifier of the first touch screen, a display list of the first touch screen
  • a first setting unit configured to set a buffer corresponding to the display list of the first touch screen to the controller of the first touch screen
  • a second obtaining unit configured to acquire a display list of the second touch screen according to the identifier of the second touch screen
  • a second setting unit configured to set a cache corresponding to the display list of the second touch screen to the second touch screen Controller.
  • the dual-screen dissimilar display device of any of FIGS. 2 to 4 may further include status detection.
  • Module and tuning With modules where:
  • a state detecting module configured to detect a plug interface state of the second touch screen
  • a calling module configured to notify the software driver that the second touch screen currently exists by calling the callback function if it is detected that the second touch screen has been inserted into the plug interface.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and operable on the processor 50, such as a dual-screen hetero-visual method. program.
  • the processor 50 executes the computer program 52 to implement the steps in the method embodiment of the dual screen dissimilarity described above, such as steps S 1 01 through S104 shown in FIG.
  • the processor 50 executes the computer program 52 to implement the functions of the modules/units in the foregoing device embodiments, such as the event detection module 201, the first identifier acquisition module 202, the second identifier acquisition module 203, and the transmission module shown in FIG. 204 features.
  • the exemplary computer program 52 of the method for dual-screen dissimilarity mainly includes: detecting a touch event and determining a touch screen on which the touch event occurs; and when the touch event is an event occurring on the first touch screen, obtaining the first An identifier of a touch screen; when the touch event is an event occurring on the second touch screen, obtaining an identifier of the second touch screen; and a controller to the first touch screen or the second touch screen according to the identifier of the first touch screen or the identifier of the second touch screen The corresponding content is transmitted for display on the first touch screen or the second touch screen.
  • Computer program 52 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 51 and executed by processor 50 to carry out the invention.
  • the one or more modules/units may be a series of computer program instructions that are capable of performing a particular function, which is used to describe the execution of computer program 52 in computing device 5.
  • the computer program 52 can be divided into the functions of the event detection module 201, the first identifier acquisition module 202, the second identifier acquisition module 203, and the transmission module 204 (module in the virtual device).
  • Event detection module The first identifier acquiring module 202 is configured to: when the event detecting module 201 detects that the touch event is an event occurring on the first touch screen, acquiring the first touch screen, the touch screen is used to detect the touch event;
  • the second identifier obtaining module 203 is configured to: when the event detecting module 201 detects that the touch event is an event occurring on the second touch screen, obtain an identifier of the second touch screen; and the transmitting module 204 is configured to use the identifier of the first touch screen. Or the identifier of the second touch screen, and transmitting the corresponding content to the controller of the first touch screen or the second touch screen for display on the first touch screen or the second touch screen.
  • the terminal device 5 may include, but is not limited to, the processor 50 and the memory 51. It will be understood by those skilled in the art that FIG. 5 is only an example of the terminal device 5, and does not constitute a limitation of the terminal device 5, and may include more or less components than those illustrated, or combine some components, or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the processor 50 may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-to-use programmable gate array
  • CPU central processing unit
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5.
  • the memory 51 may also be an external storage device of the relay server 5, such as a plug-in hard disk equipped with the terminal device 5, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card ( Flash Card) and so on.
  • the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device.
  • the memory 51 is used to store computer programs and other programs and data required by the terminal device.
  • the memory 51 can also be used to temporarily store data that has been output or is about to be output.
  • each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned differently according to needs.
  • the functional unit and the module are completed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
  • Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be implemented by hardware.
  • Formal implementation can also be implemented in the form of software functional units.
  • the disclosed device/terminal device and method may be implemented in other manners.
  • the device/terminal device embodiments described above are merely illustrative, for example, the division of modules or units is only one logical function partitioning, and the actual implementation may have another partitioning manner, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple network units. on. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be executed by a computer program to instruct related hardware.
  • the computer program for restoring data during the power off period of the device may be stored in a computer readable In the storage medium, the computer program, after being executed by the processor, can implement the steps of the foregoing various method embodiments, that is, detecting a touch event and determining a touch screen generated by the touch event; when the touch event is an event occurring on the first touch screen ⁇ , get the identity of the first touch screen; when the touch event occurs in the first An event on the second touch screen, obtaining an identifier of the second touch screen; transmitting, according to the identifier of the first touch screen or the identifier of the second touch screen, the corresponding content to the controller of the first touch screen or the second touch screen for displaying on the first touch screen or The second touch screen.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code form, executable file or some intermediate form.
  • the computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Rea d-Only Memory), and a random memory. Take memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • computer readable media does not include Electrical carrier signal and telecommunication signal.
  • computer readable media does not include Electrical carrier signal and telecommunication signal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种双屏异触异显的方法、装置及计算机可读存储介质,涉及计算机应用领域,提供了以双屏异触异显的方式实现人机交互。该方法包括:检测触摸事件并判断触摸事件所发生的触摸屏(S101);当触摸事件是发生在第一触摸屏上的事件时,获取第一触摸屏的标识(S102);当触摸事件是发生在第二触摸屏上的事件时,获取第二触摸屏的标识(S103);根据第一触摸屏的标识或第二触摸屏的标识,向第一触摸屏或第二触摸屏的控制器传输相应的内容用于显示在第一触摸屏或第二触摸屏(S104)。该方法一方面实现了双屏异触异显功能,满足了人们在特殊应用场景下的交互需求;另一方面,在一个电子设备上实现双屏异触异显,无需增加另外的设备,因此降低了双屏异触异显实现的成本。

Description

一种双屏异触异显的方法、 装置及计算机可读存储介质 技术领域
[0001] 本发明属于计算机应用领域, 尤其涉及一种双屏异触异显的方法、 装置及计算 机可读存储介质。
背景技术
[0002] 现有的电子设备一般具有至少一个显示屏, 用于显示应用的界面。 随着触控技 术的发展, 这些显示屏不仅用于显示应用的画面, 还作为一种人机交互的接口 , 实现人与机器信息的交互。
[0003] 随着商业上的互动越来越依赖具有显示屏的电子设备, 单屏的电子设备也越来 越不能满足人们的需求, 例如, 对于银行等金融机构, 一种需求是在处理一项 业务吋, 希望银行工作人员在处理该项业务的终端上看到的是一个界面, 顾客 看到的是另一个界面。 虽然在人数众多吋, 可以配合投影设备轻易将信息呈现 在大众面前。 然而, 当需要进行一对一或一对少数的呈现吋, 利用投影设备既 不切实际, 又浪费资源。
[0004] 因此, 需要成本较低的方式实现双屏异触异显。
技术问题
[0005] 本发明提供一种双屏异触异显的方法、 装置及计算机可读存储介质, 以双屏异 触异显的方式实现人机交互。
问题的解决方案
技术解决方案
[0006] 本发明第一方面提供了一种双屏异触异显的方法, 应用于可连接两个触摸屏的 电子设备, 所述方法包括:
[0007] 检测触摸事件并判断所述触摸事件所发生的触摸屏;
[0008] 当所述触摸事件是发生在第一触摸屏上的事件吋, 获取所述第一触摸屏的标识 [0009] 当所述触摸事件是发生在第二触摸屏上的事件吋, 获取所述第二触摸屏的标识 [0010] 根据所述第一触摸屏的标识或第二触摸屏的标识, 向所述第一触摸屏或第二触 摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或第二触摸屏。
[0011] 本发明第二方面提供了一种双屏异触异显的装置, 应用于可连接两个触摸屏的 电子设备, 所述装置包括:
[0012] 事件检测模块, 用于检测触摸事件并判断所述触摸事件所发生的触摸屏; [0013] 第一标识获取模块, 用于当所述事件检测模块检测到所述触摸事件是发生在第 一触摸屏上的事件吋, 获取所述第一触摸屏的标识;
[0014] 第二标识获取模块, 用于当所述事件检测模块检测到所述触摸事件是发生在第 二触摸屏上的事件吋, 获取所述第二触摸屏的标识;
[0015] 传输模块, 用于根据所述第一触摸屏的标识或第二触摸屏的标识, 向所述第一 触摸屏或第二触摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或第 二触摸屏。
[0016] 本发明第三方面提供了一种终端设备, 包括存储器、 处理器以及存储在存储器 中并可在处理器上运行的计算机程序, 处理器执行计算机程序吋实现以下步骤
[0017] 检测触摸事件并判断所述触摸事件所发生的触摸屏;
[0018] 当所述触摸事件是发生在第一触摸屏上的事件吋, 获取所述第一触摸屏的标识 [0019] 当所述触摸事件是发生在第二触摸屏上的事件吋, 获取所述第二触摸屏的标识
[0020] 根据所述第一触摸屏的标识或第二触摸屏的标识, 向所述第一触摸屏或第二触 摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或第二触摸屏。
[0021] 本发明实施例的第四方面提供了一种计算机可读存储介质, 计算机可读存储介 质存储有计算机程序, 计算机程序被处理器执行吋实现以下步骤:
[0022] 检测触摸事件并判断所述触摸事件所发生的触摸屏;
[0023] 当所述触摸事件是发生在第一触摸屏上的事件吋, 获取所述第一触摸屏的标识 [0024] 当所述触摸事件是发生在第二触摸屏上的事件吋, 获取所述第二触摸屏的标识
[0025] 根据所述第一触摸屏的标识或第二触摸屏的标识, 向所述第一触摸屏或第二触 摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或第二触摸屏。
发明的有益效果
有益效果
[0026] 从上述本发明提供的技术方案可知, 当检测到触摸事件是发生在第一触摸屏上 的事件吋, 获取第一触摸屏的标识, 当检测到触摸事件是发生在第二触摸屏上 的事件吋, 获取第二触摸屏的标识, 最后根据第一触摸屏的标识或第二触摸屏 的标识, 向第一触摸屏或第二触摸屏的控制器传输相应的内容用于显示在第一 触摸屏或第二触摸屏, 与现有技术相比, 本发明一方面实现了双屏异触异显功 育 , 满足了人们在特殊应用场景下的交互需求; 另一方面, 在一个电子设备上 实现双屏异触异显, 无需增加另外的设备, 因此降低了双屏异触异显实现的成 本。
对附图的简要说明
附图说明
[0027] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动前 提下, 还可以根据这些附图获得其他的附图。
[0028] 图 1是本发明实施例提供的双屏异触异显的方法的实现流程示意图;
[0029] 图 2是本发明实施例提供的双屏异触异显的装置的结构示意图;
[0030] 图 3是本发明另一实施例提供的双屏异触异显的装置的结构示意图;
[0031] 图 4是本发明另一实施例提供的双屏异触异显的装置的结构示意图;
[0032] 图 5是本发明实施例提供的终端设备的结构示意图。
本发明的实施方式 [0033] 以下描述中, 为了说明而不是为了限定, 提出了诸如特定系统结构、 技术之类 的具体细节, 以便透彻理解本发明实施例。 然而, 本领域的技术人员应当清楚 , 在没有这些具体细节的其它实施例中也可以实现本发明。 在其它情况中, 省 略对众所周知的系统、 装置、 电路以及方法的详细说明, 以免不必要的细节妨 碍本发明的描述。
[0034] 为了说明本发明的技术方案, 下面通过具体实施例来进行说明。
[0035] 附图 1是本发明实施例提供的双屏异触异显的方法的实现流程示意图, 主要包 括以下步骤 S101至 S104。 附图 1示例的方法应用于可连接两个触摸屏的电子设备
, 以下详细说明:
[0036] S101 , 检测触摸事件并判断触摸事件所发生的触摸屏。
[0037] 在本发明实施例中, 双屏异触异显的方法所应用于的电子设备, 例如车机、 P OS机、 收银机和卡拉 OK等可连接两个触摸屏。 用户可触摸两个触摸屏中的任意 一个触摸屏或者同吋触摸两个触摸屏进行交互, 用户对触摸屏每进行一次触摸 , 对系统而言就是一次触摸事件, 系统会检测触摸事件并判断触摸事件所发生 的触摸屏即当前是哪个触摸屏被用户触摸。
[0038] 作为本发明一个实施例, 检测触摸事件并判断触摸事件所发生的触摸屏可以是 : 根据触摸事件发生在双屏上吋触摸所对应的屏幕坐标, 判断触摸事件发生在 第一触摸屏还是第二触摸屏。 本发明实施例中, 虽然第一触摸屏和第二触摸屏 物理上可能是分离的, 但第一触摸屏和第二触摸屏的屏幕坐标都是统一管理的 , 因此, 系统可以根据触摸事件发生在双屏上吋触摸所对应的屏幕坐标, 判断 触摸事件发生在第一触摸屏还是第二触摸屏。
[0039] 需要说明的是, 在本发明实施例中, 第一触摸屏可以是电子设备的主屏, 第二 触摸屏可以是电子设备的副屏或客屏; 副屏或客屏于电子设备而言还可以扩展 的触摸屏, 因此, 第二触摸屏可以是电子设备的扩展屏即可插拔于该电子设备 的触摸屏。
[0040] S102, 当触摸事件是发生在第一触摸屏上的事件吋, 获取第一触摸屏的标识。
[0041] S103 , 当触摸事件是发生在第二触摸屏上的事件吋, 获取第二触摸屏的标识。
[0042] 在本发明实施例中, 每个触摸屏有一个标识与其对应, 即, 触摸屏和该触摸屏 的标识可提前绑定。 当触摸事件是发生在第一触摸屏上的事件吋, 获取第一触 摸屏的标识; 当触摸事件是发生在第二触摸屏上的事件吋, 获取第二触摸屏的 标识。 例如, 当触摸屏的标识用 display ID表示吋, 第一触摸屏的标识可以是 0, 即 display ID=0, 第二触摸屏的标识可以是任意非 0, 即 display ID可以是除 0之外 的任意值。 若第二触摸屏是一种扩展屏, 则其 display ID可能在其插拔中不断变 化。
[0043] 当确定了触摸事件所发生的触摸屏后, 就会将触摸事件发送给对应触摸屏的 To uchedWindow^ 例如, 当触摸事件发生在第一触摸屏上, 则将触摸事件发送给第 一触摸屏的 TouchedWindow; 当触摸事件发生在第二触摸屏上, 则将触摸事件发 送给第二触摸屏的 TouchedWindow , 从而实现双屏异触。
[0044] S104, 根据第一触摸屏的标识或第二触摸屏的标识, 向第一触摸屏或第二触摸 屏的控制器传输相应的内容用于显示在第一触摸屏或第二触摸屏。
[0045] 在本发明实施例中, 电子设备除了中央处理单元 (CPU) 之外, 还具有两个控 制器, 一个控制器用于通过一个接口控制其中一个触摸屏, 要显示的内容也是 通过这个接口传输到触摸屏后最终显示。 可在检测触摸事件并判断触摸事件所 发生的触摸屏之前, 构建第一触摸屏和第二触摸屏的显示清单 (list) , 即, 比 较显示层 (layer) 的标识位是否与触摸屏匹配; 若显示层的标识位与触摸屏匹 配, 则将标识位与触摸屏匹配的显示层加入与标识位匹配的触摸屏的显示清单 。 每个触摸屏可以对应有一个或多个显示层与之匹配, 每个显示层都有一个相 应的标识位, 每个触摸屏能够显示的也是与之匹配的显示层。 例如, 在构建第 一触摸屏和第二触摸屏的显示清单吋, 比较显示层 layer-0的标识位是否与第一触 摸屏匹配, 若显示层 layer-0的标识位与第一触摸屏匹配, 则将显示层 layer-0加入 与标识位匹配的第一触摸屏的显示清单; 又如, 比较显示层 layer-4的标识位是否 与第二触摸屏匹配, 若显示层 layer-4的标识位与第二触摸屏匹配, 则将显示层 la yer_4加入与标识位匹配的第二触摸屏的显示清单, 等等。 需要说明的是, 每个 触摸屏的显示清单与该触摸屏的标识可对应, 并且, 每个触摸屏的显示清单可 存于缓存 (buffer) 。
[0046] 构建了触摸屏的显示清单后, 根据第一触摸屏的标识或第二触摸屏的标识, 向 第一触摸屏或第二触摸屏的控制器传输相应的内容用于显示在第一触摸屏或第 二触摸屏具体可以是: 根据第一触摸屏的标识, 获取第一触摸屏的显示清单, 将第一触摸屏的显示清单对应的缓存设置给第一触摸屏的控制器, 或者, 根据 第二触摸屏的标识, 获取第二触摸屏的显示清单, 将第二触摸屏的显示清单对 应的缓存设置给第二触摸屏的控制器, 如此, 实现了双屏的异显。
[0047] 如前所述, 第二触摸屏可以是扩展屏, 即可插拔于电子设备的触摸屏。 若电子 设备当前只存在第一触摸屏吋, 可通过对接口的检测确定是否有第二触摸屏, 即上述附图 1示例的方法还包括: 检测第二触摸屏的插拔接口状态; 若检测到第 二触摸屏已经插入插拔接口, 则通过调用回调函数通知软件驱动当前存在第二 触摸屏。 具体地, 对于 Android系统, 在 hwcomposer的 open函数中会幵启一个 rk_ hwC_Mmi_thread线程, 这个线程的作用就是检测插拔接口状态即 HDMI状态。 当 插入扩展屏后, 在 hwcomposer中会调用 hwcomposer在 SF中注册的回调函数 hotplu g, 来通知 SF驱动有第二触摸屏, 这样 DMS服务就能够获取到两个触摸屏, 应用 程序就可以通过相应的 API进行异显的代码编写。
[0048] 从上述附图 1示例的双屏异触异显的方法可知, 当检测到触摸事件是发生在第 一触摸屏上的事件吋, 获取第一触摸屏的标识, 当检测到触摸事件是发生在第 二触摸屏上的事件吋, 获取第二触摸屏的标识, 最后根据第一触摸屏的标识或 第二触摸屏的标识, 向第一触摸屏或第二触摸屏的控制器传输相应的内容用于 显示在第一触摸屏或第二触摸屏, 与现有技术相比, 本发明一方面实现了双屏 异触异显功能, 满足了人们在特殊应用场景下的交互需求; 另一方面, 在一个 电子设备上实现双屏异触异显, 无需增加另外的设备, 因此降低了双屏异触异 显实现的成本。
[0049] 图 2是本发明实施例提供的双屏异触异显的装置的示意图, 其应用于可连接两 个触摸屏的电子设备, 包括车机、 P0S机、 收银机和卡拉 0K等可连接两个触摸 屏的电子设备。 图 2示例的双屏异触异显的装置主要包括事件检测模块 201、 第 一标识获取模块 202、 第二标识获取模块 203和传输模块 204, 详细说明如下: [0050] 事件检测模块 201, 用于检测触摸事件并判断触摸事件所发生的触摸屏;
[0051] 第一标识获取模块 202, 用于当事件检测模块 201检测到触摸事件是发生在第一 触摸屏上的事件吋, 获取第一触摸屏的标识;
[0052] 第二标识获取模块 203, 用于当事件检测模块 201检测到触摸事件是发生在第二 触摸屏上的事件吋, 获取第二触摸屏的标识;
[0053] 传输模块 204, 用于根据第一触摸屏的标识或第二触摸屏的标识, 向第一触摸 屏或第二触摸屏的控制器传输相应的内容用于显示在第一触摸屏或第二触摸屏
[0054] 需要说明的是, 本发明实施例提供的装置, 由于与本发明方法实施例基于同一 构思, 其带来的技术效果与本发明方法实施例相同, 具体内容可参见本发明方 法实施例中的叙述, 此处不再赘述。
[0055] 附图 2示例的事件检测模块 201可以包括判断单元 301, 如附图 3示例的双屏异触 异显的装置。 判断单元 301用于根据触摸事件发生在双屏上吋触摸所对应的屏幕 坐标, 判断触摸事件发生在第一触摸屏还是第二触摸屏。
[0056] 附图 2示例的双屏异触异显的装置还可以包括构建模块 401, 如附图 4示例的双 屏异触异显的装置。 构建模块 401用于事件检测模块 201检测触摸事件并判断触 摸事件所发生的触摸屏之前, 构建第一触摸屏和第二触摸屏的显示清单 (list) , 具体地, 构建模块 401在构建第一触摸屏和第二触摸屏的显示清单吋, 比较显 示层 (layer) 的标识位是否与触摸屏匹配; 若显示层的标识位与触摸屏匹配, 则将标识位与触摸屏匹配的显示层加入与标识位匹配的触摸屏的显示清单。
[0057] 附图 4示例的传输模块 204还可以包括第一获取单元和第一设置单元, 或者, 传 输模块 204还可以包括第二获取单元和第二设置单元, 其中:
[0058] 第一获取单元, 用于根据第一触摸屏的标识, 获取第一触摸屏的显示清单;
[0059] 第一设置单元, 用于将第一触摸屏的显示清单对应的缓存设置给第一触摸屏的 控制器;
[0060] 第二获取单元, 用于根据第二触摸屏的标识, 获取第二触摸屏的显示清单; [0061] 第二设置单元, 用于将第二触摸屏的显示清单对应的缓存设置给第二触摸屏的 控制器。
[0062] 当第二触摸屏为可插拔于电子设备的触摸屏, 若电子设备当前只存在第一触摸 屏吋, 附图 2至 4任一示例的双屏异触异显的装置还可以包括状态检测模块和调 用模块, 其中:
[0063] 状态检测模块, 用于检测第二触摸屏的插拔接口状态;
[0064] 调用模块, 用于若检测到第二触摸屏已经插入插拔接口, 则通过调用回调函数 通知软件驱动当前存在第二触摸屏。
[0065] 图 5是本发明一实施例提供的终端设备的结构示意图。 如图 5所示, 该实施例的 终端设备 5包括: 处理器 50、 存储器 51以及存储在存储器 51中并可在处理器 50上 运行的计算机程序 52, 例如双屏异触异显的方法的程序。 处理器 50执行计算机 程序 52吋实现上述双屏异触异显的方法实施例中的步骤, 例如图 1所示的步骤 S 1 01至 S104。 或者, 处理器 50执行计算机程序 52吋实现上述各装置实施例中各模 块 /单元的功能, 例如图 2所示事件检测模块 201、 第一标识获取模块 202、 第二标 识获取模块 203和传输模块 204的功能。
[0066] 示例性的, 双屏异触异显的方法的计算机程序 52主要包括: 检测触摸事件并判 断触摸事件所发生的触摸屏; 当触摸事件是发生在第一触摸屏上的事件吋, 获 取第一触摸屏的标识; 当触摸事件是发生在第二触摸屏上的事件吋, 获取第二 触摸屏的标识; 根据第一触摸屏的标识或第二触摸屏的标识, 向第一触摸屏或 第二触摸屏的控制器传输相应的内容用于显示在第一触摸屏或第二触摸屏。 计 算机程序 52可以被分割成一个或多个模块 /单元, 一个或者多个模块 /单元被存储 在存储器 51中, 并由处理器 50执行, 以完成本发明。 一个或多个模块 /单元可以 是能够完成特定功能的一系列计算机程序指令段, 该指令段用于描述计算机程 序 52在计算设备 5中的执行过程。 例如, 计算机程序 52可以被分割成事件检测模 块 201、 第一标识获取模块 202、 第二标识获取模块 203和传输模块 204 (虚拟装 置中的模块) 的功能, 各模块具体功能如下: 事件检测模块 201, 用于检测触摸 事件并判断触摸事件所发生的触摸屏; 第一标识获取模块 202, 用于当事件检测 模块 201检测到触摸事件是发生在第一触摸屏上的事件吋, 获取第一触摸屏的标 识; 第二标识获取模块 203, 用于当事件检测模块 201检测到触摸事件是发生在 第二触摸屏上的事件吋, 获取第二触摸屏的标识; 传输模块 204, 用于根据第一 触摸屏的标识或第二触摸屏的标识, 向第一触摸屏或第二触摸屏的控制器传输 相应的内容用于显示在第一触摸屏或第二触摸屏。 [0067] 终端设备 5可包括但不仅限于处理器 50、 存储器 51。 本领域技术人员可以理解 , 图 5仅仅是终端设备 5的示例, 并不构成对终端设备 5的限定, 可以包括比图示 更多或更少的部件, 或者组合某些部件, 或者不同的部件, 例如终端设备还可 以包括输入输出设备、 网络接入设备、 总线等。
[0068] 所称处理器 50可以是中央处理单元 (Central Processing Unit, CPU) , 还可以 是其他通用处理器、 数字信号处理器 (Digital Signal Processor, DSP) 、 专用集 成电路 (Application Specific Integrated Circuit, ASIC) 、 现成可编程门阵列
(Field-Programmable Gate Array , FPGA) 或者其他可编程逻辑器件、 分立门或 者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理 器也可以是任何常规的处理器等。
[0069] 存储器 51可以是终端设备 5的内部存储单元, 例如终端设备 5的硬盘或内存。 存 储器 51也可以是中继服务器 5的外部存储设备, 例如终端设备 5上配备的插接式 硬盘, 智能存储卡 (Smart Media Card, SMC) , 安全数字 (Secure Digital, SD ) 卡, 闪存卡 (Flash Card) 等。 进一步地, 存储器 51还可以既包括终端设备 5的 内部存储单元也包括外部存储设备。 存储器 51用于存储计算机程序以及终端设 备所需的其他程序和数据。 存储器 51还可以用于暂吋地存储已经输出或者将要 输出的数据。
[0070] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 仅以上述各 功能单元、 模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功 能分配由不同的功能单元、 模块完成, 即将装置的内部结构划分成不同的功能 单元或模块, 以完成以上描述的全部或者部分功能。 实施例中的各功能单元、 模块可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两 个或两个以上单元集成在一个单元中, 上述集成的单元既可以采用硬件的形式 实现, 也可以采用软件功能单元的形式实现。 另外, 各功能单元、 模块的具体 名称也只是为了便于相互区分, 并不用于限制本申请的保护范围。 上述系统中 单元、 模块的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不 再赘述。
[0071] 在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有详述或 记载的部分, 可以参见其它实施例的相关描述。
[0072] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定的应用来使用不同方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。
[0073] 在本发明所提供的实施例中, 应该理解到, 所揭露的装置 /终端设备和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 /终端设备实施例仅仅是示 意性的, 例如, 模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系 统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦 合或直接耦合或通讯连接可以是通过一些接口, 装置或单元的间接耦合或通讯 连接, 可以是电性, 机械或其它的形式。
[0074] 作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元显示 的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分 布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元来实 现本实施例方案的目的。
[0075] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形式 实现。
[0076] 集成的模块 /单元如果以软件功能单元的形式实现并作为独立的产品销售或使 用吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实 现上述实施例方法中的全部或部分流程, 也可以通过计算机程序来指令相关的 硬件来完成, 恢复设备断电期间数据的方法的计算机程序可存储于一计算机可 读存储介质中, 该计算机程序在被处理器执行吋, 可实现上述各个方法实施例 的步骤, 即, 检测触摸事件并判断触摸事件所发生的触摸屏; 当触摸事件是发 生在第一触摸屏上的事件吋, 获取第一触摸屏的标识; 当触摸事件是发生在第 二触摸屏上的事件吋, 获取第二触摸屏的标识; 根据第一触摸屏的标识或第二 触摸屏的标识, 向第一触摸屏或第二触摸屏的控制器传输相应的内容用于显示 在第一触摸屏或第二触摸屏。 其中, 计算机程序包括计算机程序代码, 计算机 程序代码可以为源代码形式、 对象代码形式、 可执行文件或某些中间形式等。 计算机可读介质可以包括: 能够携带计算机程序代码的任何实体或装置、 记录 介质、 U盘、 移动硬盘、 磁碟、 光盘、 计算机存储器、 只读存储器 (ROM, Rea d-Only Memory) 、 随机存取存储器 (RAM, Random Access Memory) 、 电载波 信号、 电信信号以及软件分发介质等。 需要说明的是, 计算机可读介质包含的 内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减, 例如在某 些司法管辖区, 根据立法和专利实践, 计算机可读介质不包括电载波信号和电 信信号。 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照 前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其 依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特 征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发 明各实施例技术方案的精神和范围, 均应包含在本发明的保护范围之内。

Claims

权利要求书
[权利要求 1] 一种双屏异触异显的方法, 应用于可连接两个触摸屏的电子设备, 其 特征在于, 所述方法包括:
检测触摸事件并判断所述触摸事件所发生的触摸屏;
当所述触摸事件是发生在第一触摸屏上的事件吋, 获取所述第一触摸 屏的标识;
当所述触摸事件是发生在第二触摸屏上的事件吋, 获取所述第二触摸 屏的标识;
根据所述第一触摸屏的标识或第二触摸屏的标识, 向所述第一触摸屏 或第二触摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或 第二触摸屏。
[权利要求 2] 如权利要求 1所述双屏异触异显的方法, 其特征在于, 所述检测触摸 事件并判断所述触摸事件所发生的触摸屏, 包括: 根据所述触摸事件发生在双屏上吋触摸所对应的屏幕坐标, 判断所述 触摸事件发生在所述第一触摸屏还是所述第二触摸屏。
[权利要求 3] 如权利要求 1所述双屏异触异显的方法, 其特征在于, 所述检测触摸 事件并判断所述触摸事件所发生的触摸屏之前, 所述方法还包括: 构建所述第一触摸屏和第二触摸屏的显示清单。
[权利要求 4] 如权利要求 3所述双屏异触异显的方法, 其特征在于, 所述根据所述 第一触摸屏的标识或第二触摸屏的标识, 向所述第一触摸屏或第二触 摸屏的控制器传输相应的内容用于显示在所述第一触摸屏或第二触摸 屏, 包括:
根据所述第一触摸屏的标识, 获取所述第一触摸屏的显示清单; 将所述第一触摸屏的显示清单对应的缓存设置给所述第一触摸屏的控 制器; 或者
根据所述第二触摸屏的标识, 获取所述第二触摸屏的显示清单; 将所述第二触摸屏的显示清单对应的缓存设置给所述第二触摸屏的控 制器。 如权利要求 1至 4任意一项所述双屏异触异显的方法, 其特征在于, 当 所述第二触摸屏为可插拔于所述电子设备的触摸屏, 若所述电子设备 当前只存在所述第一触摸屏吋, 所述方法还包括:
检测所述第二触摸屏的插拔接口状态;
若检测到所述第二触摸屏已经插入所述插拔接口, 则通过调用回调函 数通知软件驱动当前存在所述第二触摸屏。
一种双屏异触异显的装置, 应用于可连接两个触摸屏的电子设备, 其 特征在于, 所述装置包括:
事件检测模块, 用于检测触摸事件并判断所述触摸事件所发生的触摸 屏;
第一标识获取模块, 用于当所述事件检测模块检测到所述触摸事件是 发生在第一触摸屏上的事件吋, 获取所述第一触摸屏的标识; 第二标识获取模块, 用于当所述事件检测模块检测到所述触摸事件是 发生在第二触摸屏上的事件吋, 获取所述第二触摸屏的标识; 传输模块, 用于根据所述第一触摸屏的标识或第二触摸屏的标识, 向 所述第一触摸屏或第二触摸屏的控制器传输相应的内容用于显示在所 述第一触摸屏或第二触摸屏。
如权利要求 6所述双屏异触异显的装置, 其特征在于, 所述事件检测 模块包括:
判断单元, 用于根据所述触摸事件发生在双屏上吋触摸所对应的屏幕 坐标, 判断所述触摸事件发生在所述第一触摸屏还是所述第二触摸屏 如权利要求 1所述双屏异触异显的装置, 其特征在于, 所述装置还包 括:
构建模块, 用于所述事件检测模块检测触摸事件并判断所述触摸事件 所发生的触摸屏之前, 构建所述第一触摸屏和第二触摸屏的显示清单 一种终端设备, 包括存储器、 处理器以及存储在所述存储器中并可在 所述处理器上运行的计算机程序, 其特征在于, 所述处理器执行所述 计算机程序吋实现如权利要求 1至 5任意一项所述方法的步骤。
[权利要求 10] —种计算机可读存储介质, 所述计算机可读存储介质存储有计算机程 序, 其特征在于, 所述计算机程序被处理器执行吋实现如权利要求 1 至 5任意一项所述方法的步骤。
PCT/CN2017/095692 2017-06-30 2017-08-02 一种双屏异触异显的方法、装置及计算机可读存储介质 WO2019000557A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/743,820 US20190012005A1 (en) 2017-06-30 2017-08-02 Method and device for asynchronous touch and asynchronous display on dual-screen and computer readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710526719.2 2017-06-30
CN201710526719.2A CN107368272A (zh) 2017-06-30 2017-06-30 一种双屏异触异显的方法、装置及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019000557A1 true WO2019000557A1 (zh) 2019-01-03

Family

ID=60305888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095692 WO2019000557A1 (zh) 2017-06-30 2017-08-02 一种双屏异触异显的方法、装置及计算机可读存储介质

Country Status (3)

Country Link
US (1) US20190012005A1 (zh)
CN (1) CN107368272A (zh)
WO (1) WO2019000557A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304040A (zh) * 2018-04-09 2018-07-20 广州视源电子科技股份有限公司 交互智能平板及触摸数据处理方法
US11573657B2 (en) 2018-04-09 2023-02-07 Guangzhou Shiyuan Electronics Co., Ltd. Interactive white board and data processing method and device for same
CN111752504B (zh) * 2019-03-26 2022-07-01 舜宇光学(浙江)研究院有限公司 电子设备多屏显示方法、多屏显示系统、电子设备及计算机可读介质
CN109976691B (zh) * 2019-03-29 2021-05-18 联想(北京)有限公司 一种信息处理方法、装置、设备及存储介质
CN110147256B (zh) * 2019-04-03 2022-04-29 珠海全志科技股份有限公司 一种多屏交互方法及装置
CN110888615B (zh) * 2019-11-12 2021-12-21 厦门亿联网络技术股份有限公司 用于Android系统双屏异显的多输入设备交互方法、装置及介质
CN111158566A (zh) * 2019-12-30 2020-05-15 深信服科技股份有限公司 一种事件处理方法、装置、设备和存储介质
CN114327321A (zh) * 2020-09-30 2022-04-12 上海商米科技集团股份有限公司 一种无线投屏异显异触的方法及其系统
CN115269297B (zh) * 2022-09-27 2023-01-06 北京云迹科技股份有限公司 触摸屏故障自动诊断方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587323A1 (en) * 2004-03-30 2005-10-19 OmniVision Technologies, Inc. Multi-video interface for a mobile device
CN201927007U (zh) * 2010-12-16 2011-08-10 西安天动数字科技有限公司 多点触摸及双屏显示控制系统
CN104216474A (zh) * 2014-06-12 2014-12-17 杨博文 一种电脑
CN106371792A (zh) * 2016-10-26 2017-02-01 深圳市赛格导航科技股份有限公司 Android车载终端、基于该车载终端的双屏显示方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2419454A (en) * 2004-10-19 2006-04-26 Pranil Ram Multiple monitor display apparatus
KR20140085048A (ko) * 2012-12-27 2014-07-07 삼성전자주식회사 멀티 디스플레이 장치 및 제어 방법
WO2014103023A1 (ja) * 2012-12-28 2014-07-03 Necディスプレイソリューションズ株式会社 表示装置、及び表示装置の制御方法
JP6255826B2 (ja) * 2013-09-13 2018-01-10 株式会社リコー システム、情報処理装置、画像表示方法、プログラム、記憶媒体
CN105302285B (zh) * 2014-08-01 2019-03-01 福州瑞芯微电子股份有限公司 多屏显示方法、设备及系统
CN105739758A (zh) * 2016-01-21 2016-07-06 广州市莱麦互联网科技有限公司 安卓设备的显示控制方法和装置
CN106250083A (zh) * 2016-07-31 2016-12-21 上海普览智能科技有限公司 双屏双控智能终端及实现方法
CN106843779A (zh) * 2016-11-23 2017-06-13 深圳市金立通信设备有限公司 一种屏幕控制方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587323A1 (en) * 2004-03-30 2005-10-19 OmniVision Technologies, Inc. Multi-video interface for a mobile device
CN201927007U (zh) * 2010-12-16 2011-08-10 西安天动数字科技有限公司 多点触摸及双屏显示控制系统
CN104216474A (zh) * 2014-06-12 2014-12-17 杨博文 一种电脑
CN106371792A (zh) * 2016-10-26 2017-02-01 深圳市赛格导航科技股份有限公司 Android车载终端、基于该车载终端的双屏显示方法及装置

Also Published As

Publication number Publication date
US20190012005A1 (en) 2019-01-10
CN107368272A (zh) 2017-11-21

Similar Documents

Publication Publication Date Title
WO2019000557A1 (zh) 一种双屏异触异显的方法、装置及计算机可读存储介质
US10042391B2 (en) Electronic device with foldable display and method of operating the same
KR102187255B1 (ko) 전자 장치의 디스플레이 방법 및 그 전자 장치
KR101887883B1 (ko) 통합 모바일 데스크탑
CN103197801B (zh) 一体机及其实现外部设备与内置系统同时触摸的方法
EP3223131A1 (en) Electronic device with fingerprint sensor and control method thereof
US9110863B2 (en) Seamless switching of USB devices connected to a monitor hub
US20160247306A1 (en) Apparatus and method for controlling display in electronic device having processors
WO2022111394A1 (zh) 信息处理方法、装置和电子设备
US20130103861A1 (en) Wake up state synchronization method between docked terminals and docking system using the same
CN104038803A (zh) 一种模块化智能电视和应用于模块化智能电视的交互方法
WO2022156603A1 (zh) 消息处理方法、装置和电子设备
WO2019196414A1 (zh) 交互智能平板及触摸数据处理方法
EP3699731A1 (en) Method and device for calling input method, and server and terminal
CN203966127U (zh) 永久锁定攻击检测
US20170344347A1 (en) Rendering interface objects defined by a separate application
EP3527036A1 (en) Methods, system, and media for pairing devices to complete a task using an application request
US20180203809A1 (en) Intermediate module for controlling communication between a data processing device and a peripheral device
US20190278724A1 (en) Keyboard-video-mouse switch, signal processing method, and non-transitory computer-readable storage medium
US20150009122A1 (en) Electronic device having display device for sync brightness control and operating method thereof
WO2017004442A1 (en) Systems and methods for transforming applications
CN112116342B (zh) 一种支付设备通信方法和装置
CN104503616B (zh) 一种通过触摸屏实现服务器kvm的方法
US12001849B1 (en) Distributed and parallel processing of data
CN218830077U (zh) 一种视频处理器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17915933

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17915933

Country of ref document: EP

Kind code of ref document: A1