[go: up one dir, main page]

CN111596876A - Information display method, device, electronic device and storage medium - Google Patents

Information display method, device, electronic device and storage medium Download PDF

Info

Publication number
CN111596876A
CN111596876A CN202010352355.2A CN202010352355A CN111596876A CN 111596876 A CN111596876 A CN 111596876A CN 202010352355 A CN202010352355 A CN 202010352355A CN 111596876 A CN111596876 A CN 111596876A
Authority
CN
China
Prior art keywords
screen
information
resource
buffer memory
frame buffer
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.)
Pending
Application number
CN202010352355.2A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010352355.2A priority Critical patent/CN111596876A/en
Publication of CN111596876A publication Critical patent/CN111596876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses an information display method, an information display device, electronic equipment and a storage medium, wherein the electronic equipment comprises a first screen, a second screen and a frame cache memory, which are arranged oppositely, and the frame cache memory comprises a first frame cache memory and a second frame cache memory; the method comprises the following steps that a first screen is associated with a first frame cache memory, a second screen is associated with a second frame cache memory, and resources corresponding to information displayed on the first screen and the second screen are stored in the first frame cache memory and the second frame cache memory, and the method comprises the following steps: receiving a first input of a user on a first screen; in response to the first input, obtaining a target resource from a second frame buffer memory; and displaying target information corresponding to the target resource on the first screen according to the target resource. The problem that in the prior art, in the double-sided screen electronic equipment, the front screen can not preview the content displayed on the back screen can be solved.

Description

信息显示方法、装置、电子设备及存储介质Information display method, device, electronic device and storage medium

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种信息显示方法、装置、电子设备及存储介质。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an information display method, an apparatus, an electronic device, and a storage medium.

背景技术Background technique

随着通信技术与电子设备的发展进步,具有一个屏幕的电子设备已经不能满足广大用户的需求。由此,越来越多的电子设备支持在同一个电子设备上设置多个屏幕,如双面屏电子设备。With the development and progress of communication technology and electronic equipment, electronic equipment with one screen can no longer meet the needs of the majority of users. Therefore, more and more electronic devices support setting multiple screens on the same electronic device, such as electronic devices with double-sided screens.

目前,用户在使用双面屏电子设备想通过背屏向其他用户展示相关内容时,用户只能看到正屏的展示内容,只有通过翻转电子设备在用户面向背屏时才能看到背屏显示的内容,但是,在翻转电子设备之后,又无法看到正屏显示的内容。At present, when a user wants to display relevant content to other users through the back screen of a double-sided electronic device, the user can only see the displayed content on the front screen, and can only see the display on the back screen when the user faces the back screen by flipping the electronic device However, after flipping the electronic device, the content displayed on the front screen cannot be seen.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种信息显示方法、装置、电子设备及存储介质,能够解决现有技术中,在双面屏电子设备中,正屏不能预览背屏显示的内容的问题。Embodiments of the present invention provide an information display method, device, electronic device, and storage medium, which can solve the problem in the prior art that in electronic devices with double-sided screens, the front screen cannot preview the content displayed on the back screen.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种信息显示方法,应用于电子设备,该电子设备包括相对设置的第一屏和第二屏,以及帧缓存存储器,帧缓存存储器包括第一帧帧缓存存储器和第二帧缓存存储器;In a first aspect, an embodiment of the present invention provides an information display method, which is applied to an electronic device. The electronic device includes a first screen and a second screen that are relatively arranged, and a frame buffer memory. The frame buffer memory includes a first frame frame buffer. memory and a second frame buffer memory;

第一屏与第一帧缓存存储器相关联,第二屏与第二帧缓存存储器相关联,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在第一屏和第二屏上的信息对应的资源,方法包括:The first screen is associated with the first frame buffer memory, the second screen is associated with the second frame buffer memory, and the first frame buffer memory and the second frame buffer memory store information for display on the first screen and the second screen The corresponding resources include:

接收用户在第一屏上的第一输入;receiving the user's first input on the first screen;

响应于第一输入,从第二帧缓存存储器中获取目标资源;retrieving the target resource from the second frame buffer memory in response to the first input;

根据目标资源,将与目标资源对应的目标信息在第一屏上显示。According to the target resource, target information corresponding to the target resource is displayed on the first screen.

第二方面,本发明实施例提供了一种信息显示装置,该信息显示装置包括相对设置的第一屏和第二屏,以及帧缓存存储器,所述帧缓存存储器包括第一帧帧缓存存储器和第二帧缓存存储器;In a second aspect, an embodiment of the present invention provides an information display device, the information display device includes a first screen and a second screen arranged oppositely, and a frame buffer memory, the frame buffer memory includes a first frame frame buffer memory and a frame buffer memory. second frame buffer memory;

所述第一屏与所述第一帧缓存存储器相关联,所述第二屏与所述第二帧缓存存储器相关联,所述第一帧缓存存储器和所述第二帧缓存存储器存储有用于显示在所述第一屏和所述第二屏上的信息对应的资源,所述信息显示装置还包括:The first screen is associated with the first frame buffer memory, the second screen is associated with the second frame buffer memory, and the first frame buffer memory and the second frame buffer memory store data for The resources corresponding to the information displayed on the first screen and the second screen, the information display device further includes:

接收模块,用于接收用户在所述第一屏上的第一输入;a receiving module, configured to receive the first input of the user on the first screen;

获取模块,用于响应于所述第一输入,从所述第二帧缓存存储器中获取目标资源;an acquisition module, configured to acquire a target resource from the second frame buffer memory in response to the first input;

显示模块,用于根据所述目标资源,将与所述目标资源对应的目标信息在所述第一屏上显示。The display module is configured to display the target information corresponding to the target resource on the first screen according to the target resource.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第一方面所示的信息显示方法。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor is implemented as shown in the first aspect information display method.

第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,若计算机程序在计算机中执行,则令计算机执行如第一方面所示的信息显示方法。In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and if the computer program is executed in a computer, the computer is made to execute the information display method shown in the first aspect.

本发明实施例中,通过对电子设备的第一屏和第二屏分别设置不同的帧缓存存储器即第一屏与第一帧缓存存储器相关联,第二屏与第二帧缓存存储器相关联,其中,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在双面屏上的信息对应的资源。接着,响应于用户在第一屏上的第一输入,从第二帧缓存存储器中获取目标资源;根据目标资源,将与目标资源对应的目标信息在第一屏上显示。这样,可以实现用背屏向别人展示信息的时候,正屏可以预览背屏的情况,也可以实现正屏和背屏的显示信息的同步。In the embodiment of the present invention, by setting different frame buffer memories for the first screen and the second screen of the electronic device respectively, that is, the first screen is associated with the first frame buffer memory, and the second screen is associated with the second frame buffer memory, The first frame buffer memory and the second frame buffer memory store resources corresponding to the information displayed on the double-sided screen. Next, in response to the user's first input on the first screen, the target resource is acquired from the second frame buffer memory; according to the target resource, target information corresponding to the target resource is displayed on the first screen. In this way, when displaying information to others by using the back screen, the front screen can preview the situation of the back screen, and the display information of the front screen and the back screen can also be synchronized.

附图说明Description of drawings

从下面结合附图对本发明的具体实施方式的描述中可以更好地理解本发明其中,相同或相似的附图标记表示相同或相似的特征。The present invention can be better understood from the following description of specific embodiments of the present invention in conjunction with the accompanying drawings, wherein the same or similar reference numerals denote the same or similar features.

图1为本发明实施例提供的一种信息显示的架构示意图;FIG. 1 is a schematic structural diagram of an information display provided by an embodiment of the present invention;

图2为本发明实施例提供的一种信息显示方法的流程图;2 is a flowchart of an information display method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种第一屏以全屏显示目标信息的示意图;3 is a schematic diagram of a first screen displaying target information in a full screen according to an embodiment of the present invention;

图4为本发明实施例提供的一种第一屏以部分屏显示目标信息的示意图;4 is a schematic diagram of a first screen displaying target information with a partial screen according to an embodiment of the present invention;

图5为本发明实施例提供的一种第一显示区域和第二显示区域的界面示意图;5 is a schematic interface diagram of a first display area and a second display area provided by an embodiment of the present invention;

图6为本发明实施例提供的一种第一显示区域调节大小的界面示意图;6 is a schematic diagram of an interface for adjusting the size of a first display area according to an embodiment of the present invention;

图7为本发明实施例提供的一种信息显示装置的结构示意图;7 is a schematic structural diagram of an information display device according to an embodiment of the present invention;

图8为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

针对相关技术出现的问题,本发明实施例提供一种信息显示方法、装置、电子设备及存储介质,以解决在双面屏电子设备中,正屏不能预览背屏显示的内容的问题。In view of the problems in the related art, embodiments of the present invention provide an information display method, device, electronic device and storage medium to solve the problem that the front screen cannot preview the content displayed on the back screen in a double-screen electronic device.

电子设备中的操作系统如安卓Android系统的信息显示的原理如下所示,首先,各个界面展示资源都会对应存储于一个个图层组件surface中。接着,将这些surface混合后最终得到一个总的surface放入帧缓存存储器(Frame Buffer,fb)中,然后,在底层帧缓存存储器驱动的支持下,显示屏控制器(displayControl)就会不断的从fb中取出surfcae中的资源即对应于一个一个的像素点需要显示的色彩,以刷新电子设备屏幕的方式显示出来。The operating system in the electronic device, such as the Android system, displays the principle of information as follows. First, each interface display resource will be stored in the layer component surface correspondingly. Then, after mixing these surfaces, a total surface is finally put into the frame buffer memory (Frame Buffer, fb), and then, with the support of the underlying frame buffer memory driver, the display control (displayControl) will continue to The resources in the surfcae taken out from fb are corresponding to the colors that need to be displayed for each pixel, and are displayed by refreshing the screen of the electronic device.

基于此,本发明实施例提供的信息显示方法可以应用于电子设备,该电子设备具有双面屏,即相对设置的第一屏和第二屏。Based on this, the information display method provided by the embodiment of the present invention can be applied to an electronic device having a double-sided screen, that is, a first screen and a second screen arranged oppositely.

图1为本发明实施例提供的一种信息显示的架构示意图。FIG. 1 is a schematic structural diagram of an information display provided by an embodiment of the present invention.

如图1所示,这里,为了让双面屏的第一屏和第二屏的显示完全独立。由此,在本发明实施例中将第一屏和第二屏相关的surface区分开来,即与第一屏相关的第一surface,第一surface可以包括surface11、surface12……surface1N,N为正整数,以及与第二屏相关的第二surface,其中,第二surface包括surface21、surface22……surface2M,M为正整数。接着,需要两个fb,即第一屏与第一帧缓存fb1相关联,第二屏与第二帧缓存fb2相关联。电子设备还可以包括与第一屏相对应的第一displayControl和与第二屏相对应的第二displayControl。这里,第一displayControl和fb1相关联,第二displayControl和fb2相关联,其中,第一屏与fb1相关联可以代表是fb1存储有在第一屏上显示的资源,第二屏与fb2相关联同理。第一displayControl和fb1相关联可以代表第一displayControl获取fb1中的资源,并将该资源显示在第一屏上,第二屏、fb2与第二displayControl相关联同理。As shown in FIG. 1, here, in order to make the display of the first screen and the second screen of the double-sided screen completely independent. Therefore, in this embodiment of the present invention, the surfaces related to the first screen and the second screen are distinguished, that is, the first surface related to the first screen. The first surface may include surface11, surface12, . . . surface1N, where N is positive Integer, and a second surface related to the second screen, where the second surface includes surface21, surface22...surface2M, where M is a positive integer. Next, two fbs are required, that is, the first screen is associated with the first frame buffer fb1, and the second screen is associated with the second frame buffer fb2. The electronic device may further include a first displayControl corresponding to the first screen and a second displayControl corresponding to the second screen. Here, the first displayControl is associated with fb1, and the second displayControl is associated with fb2. The association between the first screen and fb1 may mean that fb1 stores resources displayed on the first screen, and the second screen is associated with fb2. reason. The association between the first displayControl and fb1 may represent the first displayControl to obtain the resource in fb1 and display the resource on the first screen, and the same is true for the association of the second screen, fb2 and the second displayControl.

值得注意的是,本发明实施例中除了上述涉及到的两个fb可以是一个帧缓存存储器的两个子fb,也可以是两个单独的帧缓存存储器,本发明实施例并不对电子设备中的帧缓存存储器的数目和结构进行限定。It is worth noting that in this embodiment of the present invention, in addition to the above-mentioned two fbs involved, they may be two sub-fbs of a frame buffer memory, or may be two separate frame buffer memories. The number and structure of framebuffer memories are limited.

由此,基于上述架构,为了实现通过第二屏向别人展示内容,第一屏显示独立,且用户通过第一屏可以预览到第二屏的显示内容的场景中。本发明实施例通过接收用户在第一屏上的第一输入,响应于第一输入,第一displayControl从第二帧缓存存储器即第二fb中获取目标资源,根据目标资源,将显示在第二屏上的目标信息在第一屏上显示。Therefore, based on the above architecture, in order to display content to others through the second screen, the first screen is displayed independently, and the user can preview the scene of the displayed content on the second screen through the first screen. In this embodiment of the present invention, the first input from the user on the first screen is received, and in response to the first input, the first displayControl acquires the target resource from the second frame buffer memory, that is, the second fb, and displays the target resource on the second frame according to the target resource. The target information on the screen is displayed on the first screen.

基于此,本发明实施例提供了一种信息显示的方法,具体可以结合图2进行详细说明。Based on this, an embodiment of the present invention provides a method for displaying information, which may be described in detail with reference to FIG. 2 .

图2为本发明实施例提供的一种信息显示方法的流程图。FIG. 2 is a flowchart of an information display method provided by an embodiment of the present invention.

如图2所示,该信息显示方法可以包括:首先,步骤210,接收在第一屏上的第一输入;接着,步骤220,响应于第一输入,从第二帧缓存存储器中获取目标资源;然后,步骤230,根据目标资源,将与目标资源对应的目标信息在第一屏上显示。As shown in FIG. 2, the information display method may include: first, step 210, receiving a first input on the first screen; then, step 220, in response to the first input, acquiring the target resource from the second frame buffer memory ; Then, in step 230, according to the target resource, the target information corresponding to the target resource is displayed on the first screen.

这样,用背屏向别人展示信息的时候,正屏可以预览背屏,也可以实现正屏和背屏的显示信息的同步,由此,本发明实施例提供的方法可以有效解决在双面屏电子设备中,正屏不能预览背屏显示的内容的问题。In this way, when using the back screen to display information to others, the front screen can preview the back screen, and can also realize the synchronization of the displayed information on the front screen and the back screen. Therefore, the method provided by the embodiment of the present invention can effectively solve the problem in the double-sided screen. In electronic devices, the front screen cannot preview the content displayed on the back screen.

可选地,电子设备还包括:第一显示屏控制器和第二显示屏控制器,所述第一显示屏控制器与所述第一屏相关联,所述第二显示屏控制器与所述第二屏相关联,所述响应于所述第一输入,从所述第二帧缓存存储器中获取目标资源,包括:响应于所述第一输入,所述第一显示屏控制器从所述第二帧缓存存储器中获取目标资源。Optionally, the electronic device further includes: a first display screen controller and a second display screen controller, the first display screen controller is associated with the first screen, and the second display screen controller is associated with all display screen controllers. The second screen is associated with the second screen, and the obtaining the target resource from the second frame buffer memory in response to the first input includes: in response to the first input, the first display screen controller obtains the target resource from the second screen. The target resource is obtained from the second frame buffer memory.

下面对上述涉及到的步骤210-步骤230进行详细说明,具体如下所示:The steps 210 to 230 involved in the above are described in detail below, as follows:

首先,涉及步骤220,本发明实施例中基于两种显示场景,提供了与两种显示场景分别对应的获取目标资源的方式,具体如下所示:First, it involves step 220. In the embodiment of the present invention, based on two display scenarios, methods for acquiring target resources corresponding to the two display scenarios are provided, which are as follows:

场景1,如图3所示,若第一输入用于指示在第一屏10上以全屏显示的方式显示目标信息,则该步骤220可以包括从第二帧缓存中获取目标资源。Scenario 1, as shown in FIG. 3 , if the first input is used to instruct to display the target information on the first screen 10 in a full-screen display manner, step 220 may include acquiring the target resource from the second frame buffer.

场景2,如图4所示,若第一输入用于指示在第一屏10上的第一显示窗口即悬浮窗11内以部分显示的方式显示目标信息,则该步骤220除了需要从第二帧缓存存储器中获取目标资源之外,还需要从第一帧缓存存储器中获取第一资源;其中,第一资源为用于显示在第一屏上的第一信息对应的资源,这样,该方式可以在第一屏上同时显示第一信息和目标信息。Scenario 2, as shown in FIG. 4 , if the first input is used to instruct the first display window on the first screen 10, that is, the floating window 11, to display the target information in a partially displayed manner, then in this step 220, in addition to the second In addition to acquiring the target resource in the frame buffer memory, it is also necessary to acquire the first resource from the first frame buffer memory; wherein, the first resource is the resource corresponding to the first information used for displaying on the first screen. In this way, this method The first information and the target information may be simultaneously displayed on the first screen.

举例说明,可以在第一屏中增加一个悬浮窗11即与第二屏相关的小窗口,将多个与第二屏相关的surface21、surface22……surface2M,混合后,生成的第二surface。将第二surface与第二屏小窗口关联,这样第二屏小窗口的第二surface即第二屏显示的所有内容和与第一屏相关的第一surface融合后得到的总的surface,就会使第一屏显示包含第二屏的资源的显示信息。从而实现,第一屏通过悬浮窗11就可以看到第二屏的显示内容,而第一屏显示独立且不影响第二屏。For example, a floating window 11, that is, a small window related to the second screen, can be added to the first screen, and a second surface is generated by mixing multiple surfaces21, surface22...surface2M related to the second screen. Associate the second surface with the small window on the second screen, so that the second surface of the small window on the second screen, that is, the total surface obtained after the fusion of all the content displayed on the second screen and the first surface related to the first screen, will be Make the first screen display the display information including the resources of the second screen. In this way, the display content of the second screen can be seen on the first screen through the floating window 11, and the display of the first screen is independent and does not affect the second screen.

另外,该悬浮窗11还可以放大显示或者缩小显示,即可以填充到整个第一屏,如场景1。这样,也可以在第一屏上同步显示第二屏上的信息。In addition, the floating window 11 can also be displayed enlarged or reduced, that is, it can fill the entire first screen, such as scene 1 . In this way, the information on the second screen can also be synchronously displayed on the first screen.

然后,涉及步骤230,基于步骤220中的场景2,为了实现在第一屏上同时显示第一信息和目标信息,在一种可能的实施例中,该步骤230具体可以包括:Then, involving step 230, based on the scenario 2 in step 220, in order to display the first information and the target information on the first screen at the same time, in a possible embodiment, this step 230 may specifically include:

在第一屏包括第一显示窗口和第二显示窗口的情况下,将第二帧缓存存储器与第一显示窗口关联,且在第一显示窗口内显示目标信息;将第一帧缓存存储器与第二显示窗口关联,且在第二显示窗口内显示第一信息;其中,第一信息为第一帧缓存存储器中第一资源对应的信息。其中,该第一显示窗口和第二显示窗口可以是以分屏的形式显示,也可以是以悬浮窗口的形式显示。When the first screen includes the first display window and the second display window, the second frame buffer memory is associated with the first display window, and the target information is displayed in the first display window; the first frame buffer memory is associated with the first display window. The two display windows are associated, and the first information is displayed in the second display window; wherein, the first information is information corresponding to the first resource in the first frame buffer memory. Wherein, the first display window and the second display window may be displayed in the form of a split screen, or may be displayed in the form of a floating window.

需要注意的是,本发明实施例中,除了如上述涉及的场景1和场景2,均可以实现第一屏独立于第二屏,通过第一显示区域透传第二屏上的目标信息,还可以对第一显示区域中的目标信息进行操作。例如,当用户想使第一屏和第二屏完全联动时,即第一屏显示什么第二屏就完全同步显示什么;或者,对第一屏如何操作,第二屏就同步完全一样的操作。以上场景均可以通过第一屏和第二屏共享相同的fb来实现,即想要通过第一屏显示第一屏和第二屏的内容时,第一displayControl可以既访问第一fb也可以访问第二fb;反之,在通过第二屏显示第一屏和第二屏的内容时,第二displayControl可以访问第一fb也可以访问第二fb。It should be noted that, in this embodiment of the present invention, in addition to the above-mentioned scenarios 1 and 2, the first screen can be independent of the second screen, and the target information on the second screen can be transparently transmitted through the first display area, and the target information on the second screen can be transparently transmitted through the first display area. The target information in the first display area can be manipulated. For example, when the user wants to make the first screen and the second screen completely linked, that is, what is displayed on the first screen will be displayed on the second screen completely; or, how to operate the first screen, the second screen will be synchronized with exactly the same operation. . All the above scenarios can be realized by sharing the same fb between the first screen and the second screen, that is, when you want to display the content of the first screen and the second screen through the first screen, the first displayControl can access both the first fb and the second screen. The second fb; on the contrary, when the contents of the first screen and the second screen are displayed through the second screen, the second displayControl can access the first fb and the second fb.

基于上述对第一显示区域中的目标信息进行操作,本发明实施例提供了如下可能,具体如下所示。Based on the above operations on the target information in the first display area, the embodiments of the present invention provide the following possibilities, which are specifically as follows.

在另一种可能的实施例中,如图5所示,在用户将第二显示窗口12中的第一信息移动到第一显示窗口11,且想要在第二屏上显示第一信息时,在步骤230之后,还可以包括:In another possible embodiment, as shown in FIG. 5 , when the user moves the first information in the second display window 12 to the first display window 11 and wants to display the first information on the second screen , after step 230, may also include:

接收用户对第一信息和目标信息的第二输入;响应于第二输入,更新第一帧缓存存储器和第二帧缓存存储器中存储的资源;从第二帧缓存存储器中获取第二资源;根据第二资源,在第二屏上显示与第二资源对应的第二信息。这里,本发明实施例中的第二输入可以包括是对第一信息和目标信息的移动、交换等操作。另外,在该步骤中涉及更新第一帧缓存存储器和第二帧缓存存储器中存储的资源,可以是更新第一帧缓存存储器,可以是更新第二帧缓存存储器,可以是更新第一帧缓存存储器和第二帧缓存存储器中存储的资源。本发明实施例中的第二资源可以包括第一资源和目标资源。receiving a second input of the first information and the target information by the user; in response to the second input, updating the resources stored in the first frame buffer memory and the second frame buffer memory; obtaining the second resource from the second frame buffer memory; according to For the second resource, second information corresponding to the second resource is displayed on the second screen. Here, the second input in this embodiment of the present invention may include operations such as moving and exchanging the first information and the target information. In addition, this step involves updating the resources stored in the first frame buffer memory and the second frame buffer memory, which may be updating the first frame buffer memory, updating the second frame buffer memory, or updating the first frame buffer memory. and resources stored in the second framebuffer memory. The second resource in the embodiment of the present invention may include the first resource and the target resource.

另外,在第二屏上显示第二信息时,可以按照第二屏上显示的第二信息,确定第一显示窗口和第二显示窗口的显示内容有没有更新,若有更新,则更新第一显示窗口和第二显示窗口的显示内容。In addition, when the second information is displayed on the second screen, it can be determined whether the display contents of the first display window and the second display window are updated according to the second information displayed on the second screen, and if there is an update, the first display window is updated. Display content of the display window and the second display window.

需要提示的是,如图6所示,本发明实施例中涉及的第一显示窗口11和第二显示窗口12的显示大小都可以实际情况进行调节。由此,在步骤230之后,接收用户对第一显示窗口的第三输入;响应于第三输入,更改第一显示窗口和/或目标信息在第一屏上的显示大小。或者,响应于第三输入,更改第二显示窗口和/或第一信息在第一屏上的显示大小。It should be noted that, as shown in FIG. 6 , the display sizes of the first display window 11 and the second display window 12 involved in the embodiment of the present invention can be adjusted according to actual conditions. Thus, after step 230, a third input from the user on the first display window is received; in response to the third input, the display size of the first display window and/or the target information on the first screen is changed. Alternatively, in response to the third input, the display size of the second display window and/or the first information on the first screen is changed.

举例说明,在一种场景中,通过第一显示窗口显示目标信息时,会占用一部分第一屏显示第一信息的面积,由此,会出现取消第一屏中的部分surface之后混合得到第一surface’放入第一fb中。接着,修改底层显示驱动,若通过第一显示窗口显示目标信息以及通过第二显示窗口显示第一信息时,第一displayControl可以获取第二fb中的第二surface,以在第一显示窗口中显示目标区域,且获取第一fb中的第一surface’,以在第二显示窗口显示第一信息。反之,第二屏同理。这样,第一屏和第二屏采集刷新像素点的内容完全一致,从而实现完全协同,实现正屏和背屏的同步显示。For example, in a scenario, when the target information is displayed through the first display window, a part of the area of the first screen to display the first information will be occupied. Therefore, it will appear that after canceling part of the surface in the first screen, the first screen is mixed to obtain the first information. surface' into the first fb. Next, modify the underlying display driver. If the target information is displayed through the first display window and the first information is displayed through the second display window, the first displayControl can obtain the second surface in the second fb to display in the first display window. The target area is obtained, and the first surface' in the first fb is acquired to display the first information in the second display window. On the contrary, the second screen is the same. In this way, the content of the pixels collected and refreshed on the first screen and the second screen are completely consistent, so as to achieve complete coordination and achieve synchronous display of the front screen and the back screen.

在又一种可能的实施例中,在用户想要在第一屏中通过第一显示窗口对第二屏上显示的目标信息进行修改操作、添加操作、删除操作和下载操作时,由此,该方法还可以包括如下可能。In another possible embodiment, when the user wants to modify, add, delete and download the target information displayed on the second screen through the first display window in the first screen, thus, The method may also include the following possibilities.

(1)在对目标操作进行修改操作的情况下,接收用户在第一屏上修改第一信息中第三信息的第三输入;(1) Under the situation that the target operation is modified, receive the third input of the user modifying the third information in the first information on the first screen;

响应于第三输入,修改第一帧缓存存储器中与第三信息对应的第三资源,且将第三资源发送到第二缓存存储器中;In response to the third input, modifying the third resource corresponding to the third information in the first frame buffer memory, and sending the third resource to the second buffer memory;

根据第三资源更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The first resource in the second cache memory is updated according to the third resource, and the first information corresponding to the updated first resource in the second frame cache memory is displayed on the second screen.

(2)在对目标操作进行删除操作的情况下,接收用户在第一屏上删除第一信息中第四信息的第四输入;(2) Under the situation of carrying out the delete operation to the target operation, receive the fourth input of the user to delete the fourth information in the first information on the first screen;

响应于第四输入,删除第一帧缓存存储器中与第四信息对应的第四资源,且将删除第四资源的位置信息发送到第二缓存存储器中;In response to the fourth input, delete the fourth resource corresponding to the fourth information in the first frame cache memory, and send the location information of the deleted fourth resource to the second cache memory;

根据位置信息更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The first resource in the second cache memory is updated according to the location information, and the first information corresponding to the updated first resource in the second frame cache memory is displayed on the second screen.

此时,第二缓存存储器已经存储了第一信息对应的第一资源,由此,在接收到删除第四资源的位置信息时,可以根据删除第四资源的位置信息更新第二缓存存储器中的第一资源。At this time, the second cache memory has already stored the first resource corresponding to the first information. Therefore, when the location information for deleting the fourth resource is received, the location information in the second cache memory can be updated according to the location information for deleting the fourth resource. first resource.

(3)在对目标操作进行添加操作的情况下,接收用户在第一屏显示的第一信息中添加第五信息的第五输入;(3) receiving the fifth input of the user adding fifth information in the first information displayed on the first screen when the target operation is added;

响应于第五输入,在第一帧缓存存储器中添加与第五信息对应的第五资源,且将添加第五资源的位置信息和第五资源发送到第二缓存存储器中;In response to the fifth input, adding a fifth resource corresponding to the fifth information in the first frame buffer memory, and sending the position information of the added fifth resource and the fifth resource to the second buffer memory;

根据位置信息更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The first resource in the second cache memory is updated according to the location information, and the first information corresponding to the updated first resource in the second frame cache memory is displayed on the second screen.

(4)在对目标操作为下载操作的情况下,在第二帧缓存存储器中确定下载第六子信息的第六资源,且将第六资源发送至第一帧缓存存储器。(4) When the target operation is a download operation, determine the sixth resource for downloading the sixth sub-information in the second frame buffer memory, and send the sixth resource to the first frame buffer memory.

这里,上述涉及的4种情况下,可以将第一屏显示的内容,发送至第二屏,以便第二屏显示。主要涉及的原理,将第一屏对应的surface12,修改站队,即切换到第二屏surface队列中,即可实现将第一屏显示的信息快速发送到第二屏显示,如近期任务卡片的场景中,在接收到用户双指关节双击的操作时,就可以将第一屏显示的信息快速发送到第二屏显示;或者,如在桌面应用的场景中,在接收到双指关节双击应用程序时,将其应用程序的分身在第二屏显示,而第一屏操作应用程序主身等。同理亦可如此操作第二屏,让应用程序的分身在第一屏显示。Here, in the four cases mentioned above, the content displayed on the first screen can be sent to the second screen for display on the second screen. The main principle involved is to modify the lineup of the surface12 corresponding to the first screen, that is, switch to the surface queue of the second screen, so that the information displayed on the first screen can be quickly sent to the second screen for display, such as the scene of the recent task card. , when receiving the user's double-knuckle double-click operation, the information displayed on the first screen can be quickly sent to the second screen for display; or, in the desktop application scenario, after receiving the double-knuckle double-click application program When the application is displayed on the second screen, the main screen of the application is operated on the first screen. In the same way, the second screen can be operated in the same way, so that the clone of the application is displayed on the first screen.

由此,本发明实施例中,通过对双面屏的第一屏和第二屏分别设置不同的帧缓存存储器即第一屏与第一帧缓存存储器相关联,第二屏与第二帧缓存存储器相关联,其中,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在双面屏上的信息对应的资源。接着,响应于用户在第一屏上的第一输入,从第二帧缓存存储器中获取目标资源;根据目标资源,将与目标资源对应的目标信息在第一屏上显示。这样,可以实现用背屏向别人展示信息的时候,正屏可以预览背屏的情况,也可以实现正屏和背屏的显示信息的同步。Therefore, in the embodiment of the present invention, different frame buffer memories are respectively set for the first screen and the second screen of the double-sided screen, that is, the first screen is associated with the first frame buffer memory, and the second screen is associated with the second frame buffer memory. The memory is associated, wherein the first frame buffer memory and the second frame buffer memory store resources corresponding to the information for displaying on the double-sided screen. Next, in response to the user's first input on the first screen, the target resource is acquired from the second frame buffer memory; according to the target resource, target information corresponding to the target resource is displayed on the first screen. In this way, when displaying information to others by using the back screen, the front screen can preview the situation of the back screen, and the display information of the front screen and the back screen can also be synchronized.

基于上述方法,本发明实施例还提供了一种信息显示装置,具体结合图7进行详细说明。Based on the above method, an embodiment of the present invention further provides an information display device, which will be described in detail with reference to FIG. 7 .

图7为本发明实施例提供的一种信息显示装置的结构示意图。FIG. 7 is a schematic structural diagram of an information display device according to an embodiment of the present invention.

如图7所示,该信息显示装置70包括相对设置的第一屏和第二屏,以及帧缓存存储器,帧缓存存储器包括第一帧帧缓存存储器和第二帧缓存存储器;第一屏与第一帧缓存存储器相关联,第二屏与第二帧缓存存储器相关联,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在第一屏和第二屏上的信息对应的资源,电子设备70具体还可以包括:As shown in FIG. 7 , the information display device 70 includes a first screen and a second screen that are arranged oppositely, and a frame buffer memory. The frame buffer memory includes a first frame buffer memory and a second frame buffer memory; the first screen and the second frame buffer memory; One frame buffer memory is associated, the second screen is associated with the second frame buffer memory, the first frame buffer memory and the second frame buffer memory store resources corresponding to the information displayed on the first screen and the second screen, the electronic The device 70 may further include:

接收模块701,用于接收用户在第一屏上的第一输入。The receiving module 701 is configured to receive the first input of the user on the first screen.

获取模块702,用于响应于第一输入,从第二帧缓存存储器中获取目标资源。The obtaining module 702 is configured to obtain the target resource from the second frame buffer memory in response to the first input.

显示模块703,用于根据目标资源,将与目标资源对应的目标信息在第一屏上显示。The display module 703 is configured to display the target information corresponding to the target resource on the first screen according to the target resource.

这样,可以实现用背屏向别人展示信息的时候,正屏可以预览背屏的情况,也可以实现正屏和背屏的显示信息的同步,由此,本发明实施例提供的方法可以有效解决在双面屏电子设备中,正屏不能预览背屏显示的内容的问题。基于此,为了实现在第一屏上同时可以预览到第一屏和第二屏显示的信息,本发明实施例中的显示模块703具体用于,在第一屏包括第一显示窗口和第二显示窗口的情况下,将第二帧缓存存储器与第一显示窗口关联,且在第一显示窗口内显示目标信息;将第一帧缓存存储器与第二显示窗口关联,且在第二显示窗口内显示第一信息;其中,第一信息为第一帧缓存存储器中第一资源对应的信息。In this way, when the back screen is used to display information to others, the front screen can preview the situation of the back screen, and the information displayed on the front screen and the back screen can be synchronized. Therefore, the method provided by the embodiment of the present invention can effectively solve the problem. In a double-sided electronic device, the front screen cannot preview the content displayed on the back screen. Based on this, in order to realize that the information displayed on the first screen and the second screen can be previewed on the first screen at the same time, the display module 703 in this embodiment of the present invention is specifically configured to include the first display window and the second screen on the first screen. In the case of displaying a window, associate the second frame buffer memory with the first display window, and display the target information in the first display window; associate the first frame buffer memory with the second display window, and display the target information in the second display window Displaying first information; wherein the first information is information corresponding to the first resource in the first frame buffer memory.

另外,在另一种可能的实施例中,信息显示装置70还可以包括处理模块。In addition, in another possible embodiment, the information display device 70 may further include a processing module.

进一步地,接收模块701还用于,接收用户对第一信息和目标信息的第二输入。基于此,处理模块,用于响应于第二输入,更新第一帧缓存存储器和第二帧缓存存储器中存储的资源;从第二帧缓存存储器中获取第二资源;显示模块703还可以用于,根据第二资源,在第二屏上显示与第二资源对应的第二信息。由此,从而实现,第一屏通过显示窗口就可以看到第二屏的显示内容,而第一屏显示独立且不影响第二屏,反之,第二屏显示独立且不影响第二瓶。Further, the receiving module 701 is further configured to receive the user's second input of the first information and the target information. Based on this, the processing module is configured to, in response to the second input, update the resources stored in the first frame buffer memory and the second frame buffer memory; obtain the second resource from the second frame buffer memory; the display module 703 can also be used for , and according to the second resource, display the second information corresponding to the second resource on the second screen. In this way, it can be realized that the display content of the second screen can be seen on the first screen through the display window, and the first screen is displayed independently and does not affect the second screen. On the contrary, the second screen is displayed independently and does not affect the second bottle.

在另一种可能的实施例中,接收模块701还可以用于,接收用户在第一屏上修改第一信息中第三信息的第三输入;In another possible embodiment, the receiving module 701 may also be configured to receive a third input of the user modifying the third information in the first information on the first screen;

基于此,处理模块还可以用于,响应于第三输入,修改第一帧缓存存储器中与第三信息对应的第三资源,且将第三资源发送到第二缓存存储器中;Based on this, the processing module may also be configured to, in response to the third input, modify the third resource corresponding to the third information in the first frame buffer memory, and send the third resource to the second buffer memory;

显示模块703还可以用于,根据第三资源更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The display module 703 may also be configured to update the first resource in the second cache memory according to the third resource, and display the first information corresponding to the updated first resource in the second frame cache memory on the second screen.

在再一种可能的实施例中,接收模块701还可以用于,接收用户在第一屏上删除第一信息中第四信息的第四输入;In yet another possible embodiment, the receiving module 701 may also be configured to receive a fourth input from the user to delete the fourth information in the first information on the first screen;

基于此,处理模块还可以用于,响应于第四输入,删除第一帧缓存存储器中与第四信息对应的第四资源,且将删除第四资源的位置信息发送到第二缓存存储器中;Based on this, the processing module can also be used to, in response to the fourth input, delete the fourth resource corresponding to the fourth information in the first frame cache memory, and send the location information of the deleted fourth resource to the second cache memory;

显示模块703还可以用于,根据位置信息更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The display module 703 may also be configured to update the first resource in the second cache memory according to the location information, and display the first information corresponding to the updated first resource in the second frame cache memory on the second screen.

在再一种可能的实施例中,接收模块701还可以用于,接收用户在第一屏显示的第一信息中添加第五信息的第五输入;In yet another possible embodiment, the receiving module 701 may also be configured to receive a fifth input of the user adding fifth information to the first information displayed on the first screen;

基于此,处理模块还可以用于,响应于第五输入,在第一帧缓存存储器中添加与第五信息对应的第五资源,且将添加第五资源的位置信息和第五资源发送到第二缓存存储器中;Based on this, the processing module may be further configured to, in response to the fifth input, add a fifth resource corresponding to the fifth information in the first frame buffer memory, and send the location information of the added fifth resource and the fifth resource to the first frame buffer memory. in the second cache memory;

显示模块703还可以用于,根据位置信息更新第二缓存存储器中的第一资源,在第二屏中显示第二帧缓存存储器更新后的第一资源对应的第一信息。The display module 703 may also be configured to update the first resource in the second cache memory according to the location information, and display the first information corresponding to the updated first resource in the second frame cache memory on the second screen.

由此,本发明实施例中,通过对双面屏的第一屏和第二屏分别设置不同的帧缓存存储器即第一屏与第一帧缓存存储器相关联,第二屏与第二帧缓存存储器相关联,其中,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在双面屏上的信息对应的资源。接着,响应于用户在第一屏上的第一输入,从第二帧缓存中获取目标资源;根据目标资源,将显示在第二屏上的目标信息在第一屏上显示。这样,可以实现用背屏向别人展示信息的时候,正屏可以预览背屏的情况,也可以实现正屏和背屏的显示信息的同步。Therefore, in the embodiment of the present invention, different frame buffer memories are respectively set for the first screen and the second screen of the double-sided screen, that is, the first screen is associated with the first frame buffer memory, and the second screen is associated with the second frame buffer memory. The memory is associated, wherein the first frame buffer memory and the second frame buffer memory store resources corresponding to the information for displaying on the double-sided screen. Next, in response to the user's first input on the first screen, the target resource is obtained from the second frame buffer; according to the target resource, the target information displayed on the second screen is displayed on the first screen. In this way, when displaying information to others by using the back screen, the front screen can preview the situation of the back screen, and the display information of the front screen and the back screen can also be synchronized.

图8为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and Power 811 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,用户输入单元807用于,接收用户在第一屏上的第一输入。The user input unit 807 is configured to receive the first input of the user on the first screen.

处理器810用于,响应于第一输入,从第二帧缓存存储器中获取目标资源。The processor 810 is configured to, in response to the first input, acquire the target resource from the second frame buffer memory.

显示单元806用于,根据目标资源,将与目标资源对应的目标信息在第一屏上显示。The display unit 806 is configured to, according to the target resource, display the target information corresponding to the target resource on the first screen.

这样,可以实现用背屏向别人展示信息的时候,正屏可以预览背屏的情况,也可以实现正屏和背屏的显示信息的同步,由此,本发明实施例提供的方法可以有效解决在双面屏电子设备中,正屏不能预览背屏显示的内容的问题。In this way, when the back screen is used to display information to others, the front screen can preview the situation of the back screen, and the information displayed on the front screen and the back screen can be synchronized. Therefore, the method provided by the embodiment of the present invention can effectively solve the problem. In a double-sided electronic device, the front screen cannot preview the content displayed on the back screen.

应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending information or receiving and sending signals during a call. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the network module 802, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频资源转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 may convert the audio resources received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.

输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像资源进行处理。处理后的图像帧可以显示在显示单元807上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频资源。处理后的音频资源可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode resources are processed. The processed image frame may be displayed on the display unit 807 . The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802 . The microphone 8042 can receive sound and can process such sound as an audio resource. The processed audio resources can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 801 for output in the case of a phone call mode.

电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板8061。在本发明实施例中,可以包括两个显示面板即第一屏对应的第一显示面板和第二屏对应的第二显示面板。The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In this embodiment of the present invention, two display panels may be included, that is, a first display panel corresponding to the first screen and a second display panel corresponding to the second screen.

用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072 . The touch panel 8071, also referred to as a touch screen, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 8071). operate). The touch panel 8071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 810, the command sent by the processor 810 is received and executed. In addition, the touch panel 8071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 8071 , the user input unit 807 may also include other input devices 8072 . Specifically, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and operation sticks, which will not be repeated here.

进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图8中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 can be covered on the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 8061. Although in FIG. 8 , the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线资源端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,资源信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置之间传输资源。The interface unit 808 is an interface for connecting an external device to the electronic device 800 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless resource ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 808 may be used to receive input from external devices (eg, resource information, power, etc.) and transmit the received input to one or more elements within the electronic device 800 or may be used between the electronic device 800 and external Transfer resources between devices.

存储器809可用于存储软件程序以及各种资源。存储器809可主要包括存储程序区和存储资源区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储资源区可存储根据手机的使用所创建的资源(比如音频资源、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。其中,在本发明实施例中,该存储器809可以包括帧缓存存储器,该帧缓存存储器包括第一帧帧缓存存储器和第二帧缓存存储器。其中,第一帧缓存存储器和第二帧缓存存储器存储有用于显示在第一屏和第二屏上的信息对应的资源。Memory 809 may be used to store software programs as well as various resources. The memory 809 may mainly include a storage program area and a storage resource area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Resources (such as audio resources, phonebooks, etc.) created by the use of the mobile phone, etc. Additionally, memory 809 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Wherein, in this embodiment of the present invention, the memory 809 may include a frame buffer memory, and the frame buffer memory includes a first frame buffer memory and a second frame buffer memory. The first frame buffer memory and the second frame buffer memory store resources corresponding to the information displayed on the first screen and the second screen.

处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的资源,执行电子设备的各种功能和处理资源,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 809, and calling the resources stored in the memory 809. , perform various functions and processing resources of electronic equipment, so as to monitor electronic equipment as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 810.

电子设备800还可以包括给各个部件供电的电源811(比如电池),优选的,电源811可以通过电源管理系统与处理器810逻辑连接,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 800 may also include a power supply 811 (such as a battery) for supplying power to various components. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.

另外,电子设备800包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 800 includes some functional modules not shown, which will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,当计算机程序在计算机中执行时,令计算机执行本发明实施例的信息显示方法的步骤。Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed in a computer, the computer is made to execute the steps of the information display method of the embodiment of the present invention.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

1. An information display method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a first screen, a second screen and a frame cache memory, wherein the first screen and the second screen are arranged oppositely;
the first screen is associated with the first frame buffer memory, the second screen is associated with the second frame buffer memory, and the first frame buffer memory and the second frame buffer memory store resources corresponding to information for displaying on the first screen and the second screen, the method comprising:
receiving a first input of a user on the first screen;
in response to the first input, retrieving a target resource from the second frame cache memory;
and displaying target information corresponding to the target resource on the first screen according to the target resource.
2. The method of claim 1, wherein the first screen comprises a first display window and a second display window;
the displaying, on the first screen, target information corresponding to the target resource according to the target resource includes:
associating the second frame cache memory with the first display window and displaying the target information in the first display window;
associating the first frame cache memory with the second display window and displaying first information in the second display window; the first information is information corresponding to a first resource in the first frame buffer memory.
3. The method of claim 2, wherein after displaying the target information corresponding to the target resource on the first screen, the method further comprises:
receiving second input of the first information and the target information by a user;
updating resources stored in the first frame buffer memory and the second frame buffer memory in response to the second input;
acquiring a second resource from the second frame buffer memory;
and displaying second information corresponding to the second resource on the second screen according to the second resource.
4. The method of claim 3, wherein after displaying second information corresponding to the second resource on the second screen according to the second resource, the method further comprises:
receiving a third input of a user for modifying third information in the first information on the first screen;
in response to the third input, modifying a third resource in the first frame buffer memory corresponding to the third information and sending the third resource into the second buffer memory;
and updating the first resource in the second cache memory according to the third resource, and displaying first information corresponding to the updated first resource of the second frame cache memory in the second screen.
5. The method of claim 3, wherein after displaying second information corresponding to the second resource on the second screen according to the second resource, the method further comprises:
receiving a fourth input of deleting fourth information in the first information on the first screen by the user;
in response to the fourth input, deleting a fourth resource corresponding to the fourth information in the first frame buffer memory, and sending location information of the deleted fourth resource to the second buffer memory;
and updating the first resource in the second cache memory according to the position information, and displaying first information corresponding to the updated first resource of the second frame cache memory in the second screen.
6. The method of claim 3, wherein after displaying second information corresponding to the second resource on the second screen according to the second resource, the method further comprises:
receiving a fifth input that a user adds fifth information to the first information displayed on the first screen;
in response to the fifth input, adding a fifth resource corresponding to the fifth information in the first frame buffer memory, and sending the position information to which the fifth resource is added and the fifth resource into the second buffer memory;
and updating the first resource in the second cache memory according to the position information, and displaying first information corresponding to the updated first resource of the second frame cache memory in the second screen.
7. The method of claim 1, wherein the electronic device further comprises: a first display controller associated with the first screen and a second display controller associated with the second screen,
said retrieving a target resource from said second frame buffer memory in response to said first input, comprising:
in response to the first input, the first display screen controller retrieves a target resource from the second frame buffer memory.
8. An information display device is characterized in that the information display device comprises a first screen, a second screen and a frame buffer memory, wherein the first screen and the second screen are arranged oppositely;
the first screen is associated with the first frame buffer memory, the second screen is associated with the second frame buffer memory, and the first frame buffer memory and the second frame buffer memory store resources corresponding to information to be displayed on the first screen and the second screen, and the information display device further includes:
the receiving module is used for receiving a first input of a user on the first screen;
an obtaining module, configured to obtain a target resource from the second frame buffer memory in response to the first input;
and the display module is used for displaying the target information corresponding to the target resource on the first screen according to the target resource.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the information display method according to claims 1-7.
10. A computer-readable storage medium, on which a program or instructions are stored, which, when executed by a processor, carry out the steps of the information display method according to claims 1-7.
CN202010352355.2A 2020-04-28 2020-04-28 Information display method, device, electronic device and storage medium Pending CN111596876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010352355.2A CN111596876A (en) 2020-04-28 2020-04-28 Information display method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010352355.2A CN111596876A (en) 2020-04-28 2020-04-28 Information display method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111596876A true CN111596876A (en) 2020-08-28

Family

ID=72185136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010352355.2A Pending CN111596876A (en) 2020-04-28 2020-04-28 Information display method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111596876A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416278A (en) * 2020-11-10 2021-02-26 北京五八信息技术有限公司 Screen sharing method and device, electronic equipment and storage medium
CN115941837A (en) * 2022-10-24 2023-04-07 读书郎教育科技有限公司 Multi-screen terminal and resource management method
CN117424957A (en) * 2023-09-15 2024-01-19 荣耀终端有限公司 Camera mode switching method and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326397A1 (en) * 2012-05-31 2013-12-05 Miyoung Kim Mobile terminal and controlling method thereof
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN104486467A (en) * 2014-12-17 2015-04-01 中国科学院上海高等研究院 Double-screen mobile phone
CN108932092A (en) * 2018-06-29 2018-12-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN108958580A (en) * 2018-06-28 2018-12-07 维沃移动通信有限公司 A kind of display control method and terminal device
CN109597594A (en) * 2018-10-25 2019-04-09 北京长城华冠汽车科技股份有限公司 A kind of double-screen display method and device of vehicle entertainment system
CN109785816A (en) * 2017-01-03 2019-05-21 中兴通讯股份有限公司 Mobile terminal and its display control method
CN109828733A (en) * 2019-01-07 2019-05-31 武汉深之度科技有限公司 A method and computing device for independent display of multiple display terminals
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN110045939A (en) * 2019-04-18 2019-07-23 维沃移动通信有限公司 A kind of multi-screen control method and terminal
US20200029068A1 (en) * 2017-03-31 2020-01-23 SZ DJI Technology Co., Ltd. Method and apparatus for dual-screen display, video glasses, chip and processor

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326397A1 (en) * 2012-05-31 2013-12-05 Miyoung Kim Mobile terminal and controlling method thereof
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN104486467A (en) * 2014-12-17 2015-04-01 中国科学院上海高等研究院 Double-screen mobile phone
CN109785816A (en) * 2017-01-03 2019-05-21 中兴通讯股份有限公司 Mobile terminal and its display control method
US20200029068A1 (en) * 2017-03-31 2020-01-23 SZ DJI Technology Co., Ltd. Method and apparatus for dual-screen display, video glasses, chip and processor
CN108958580A (en) * 2018-06-28 2018-12-07 维沃移动通信有限公司 A kind of display control method and terminal device
CN108932092A (en) * 2018-06-29 2018-12-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN109597594A (en) * 2018-10-25 2019-04-09 北京长城华冠汽车科技股份有限公司 A kind of double-screen display method and device of vehicle entertainment system
CN109828733A (en) * 2019-01-07 2019-05-31 武汉深之度科技有限公司 A method and computing device for independent display of multiple display terminals
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN110045939A (en) * 2019-04-18 2019-07-23 维沃移动通信有限公司 A kind of multi-screen control method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416278A (en) * 2020-11-10 2021-02-26 北京五八信息技术有限公司 Screen sharing method and device, electronic equipment and storage medium
CN115941837A (en) * 2022-10-24 2023-04-07 读书郎教育科技有限公司 Multi-screen terminal and resource management method
CN115941837B (en) * 2022-10-24 2024-08-30 读书郎教育科技有限公司 Multi-screen terminal and resource management method
CN117424957A (en) * 2023-09-15 2024-01-19 荣耀终端有限公司 Camera mode switching method and electronic equipment
CN117424957B (en) * 2023-09-15 2024-06-07 荣耀终端有限公司 Camera mode switching method, electronic device, chip, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic device and computer-readable storage medium
CN108182043B (en) Information display method and mobile terminal
KR20220092611A (en) Application sharing method, first electronic device and computer-readable storage medium
US20220086798A1 (en) Notification message processing method and terminal
CN107977144A (en) A kind of screenshotss processing method and mobile terminal
WO2020220991A1 (en) Screen capture method, terminal device and computer-readable storage medium
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN109739407B (en) Information processing method and terminal equipment
CN107748640B (en) Screen-off display method and mobile terminal
CN108712577A (en) A kind of call mode switching method and terminal device
WO2020192296A1 (en) Interface display method and terminal device
CN109144393B (en) Image display method and mobile terminal
CN107809531A (en) A kind of schedule creation method, mobile terminal
WO2019228296A1 (en) Display processing method and terminal device
CN108804628B (en) A picture display method and terminal
CN111399715A (en) Interface display method and electronic equipment
CN108616772A (en) A kind of barrage display methods, terminal and server
CN111596876A (en) Information display method, device, electronic device and storage medium
CN109597546B (en) Icon processing method and terminal device
CN110750200A (en) Screenshot picture processing method and terminal equipment
CN110990029A (en) Application processing method and electronic equipment
CN110780795A (en) Screen capturing method and electronic equipment
CN111443796A (en) Information processing method and device
CN108366106B (en) Communication information updating method, management method, modification method and related equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200828

RJ01 Rejection of invention patent application after publication