[go: up one dir, main page]

CN116149501A - Display method and electronic device - Google Patents

Display method and electronic device Download PDF

Info

Publication number
CN116149501A
CN116149501A CN202111373773.0A CN202111373773A CN116149501A CN 116149501 A CN116149501 A CN 116149501A CN 202111373773 A CN202111373773 A CN 202111373773A CN 116149501 A CN116149501 A CN 116149501A
Authority
CN
China
Prior art keywords
electronic device
screen
sub
ratio
user
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
CN202111373773.0A
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN202111373773.0A priority Critical patent/CN116149501A/en
Priority to PCT/CN2022/129136 priority patent/WO2023088093A1/en
Publication of CN116149501A publication Critical patent/CN116149501A/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/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
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • 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/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 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING 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/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 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
    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Landscapes

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

Abstract

The application provides a display method and electronic equipment, wherein the method is applied to first electronic equipment and comprises the following steps: the first electronic device acquires screen parameters of the second electronic device; the first electronic device calculates the screen ratio of the first electronic device to the second electronic device according to the screen parameters of the first electronic device and the screen parameters of the second electronic device; the first electronic device sends the screen ratio to the second electronic device; detecting operation of a user on the first electronic device, and sending coordinate information corresponding to the operation to the second electronic device by the first electronic device. According to the scheme, the second electronic device which does not support the touch function can be operated through the first electronic device which supports the touch function, and the matched controller or the application program of the pre-installed controller is not needed, so that the user experience is improved.

Description

显示方法和电子设备Display method and electronic device

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种显示方法和电子设备。The present application relates to the technical field of communications, and in particular to a display method and electronic equipment.

背景技术Background technique

在万物互联的时代背景下,不同电子设备之间连接,协作工作已在当下消费者产品中层出不穷,例如通过手机控制家用电器开关等。上述大部分场景,用户所能感受到的体验均依赖具体电子设备本身具有的能力,差异的地方聚焦在操作方式。In the era of the Internet of Everything, different electronic devices are connected and collaborative work has emerged in an endless stream in current consumer products, such as controlling the switches of household appliances through mobile phones. In most of the above scenarios, the user experience depends on the capabilities of the specific electronic device itself, and the difference lies in the operation mode.

一种实现方式中,电子设备包括自主集成触摸功能的硬件电子元器件,用户通过触摸的方式只能操作当前设备,无法通过当前设备的触摸功能操作另外一台设备。In one implementation, the electronic device includes hardware electronic components that independently integrate the touch function, and the user can only operate the current device through touch, and cannot operate another device through the touch function of the current device.

另一种实现方式中,电子设备本身不带有触摸功能,而是配套一个支持触摸功能的控制器,例如:智能电视和智能遥控器,利用智能遥控器控制智能电视。然而在该方式下,只能使用配套的控制器,才能使用户获得较好的体验;此外,现有智能遥控器的触摸面板方案,实质通过触摸事件模拟原有实体按键遥控器操作方式,功能单一。In another implementation manner, the electronic device itself does not have a touch function, but is equipped with a controller supporting the touch function, such as a smart TV and a smart remote control, and the smart TV is controlled by the smart remote control. However, in this way, users can only obtain a better experience by using a matching controller; in addition, the touch panel solution of the existing smart remote control essentially simulates the operation mode of the original physical button remote control through touch events. single.

再一种实现方式中,电子设备预装触摸控制器的应用程序,然而在该方式下,要实现多个设备触摸控制,每个设备均需安装应用程序,比较繁琐。In yet another implementation, the electronic device is pre-installed with an application program of the touch controller. However, in this mode, in order to realize touch control of multiple devices, an application program needs to be installed on each device, which is cumbersome.

发明内容Contents of the invention

本申请提供一种显示方法和电子设备,可以通过支持触摸功能的多个设备操作另外不支持触摸功能的设备,且不需要配套控制器或预装控制器的应用程序,提升用户体验。The present application provides a display method and an electronic device, which can operate other devices that do not support the touch function through multiple devices that support the touch function, and do not need a matching controller or an application program pre-installed with the controller, so as to improve user experience.

第一方面,本申请提供一种显示方法,所述方法应用于第一电子设备,所述方法包括:所述第一电子设备获取第二电子设备的屏幕参数;所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数计算所述第一电子设备和所述第二电子设备的屏幕比值;所述第一电子设备向所述第二电子设备发送所述屏幕比值;检测到用户在所述第一电子设备上的操作,所述第一电子设备将所述操作对应的坐标信息发送至所述第二电子设备。In a first aspect, the present application provides a display method, the method is applied to a first electronic device, and the method includes: the first electronic device acquires screen parameters of the second electronic device; the first electronic device obtains the screen parameters of the second electronic device; The screen parameters of the first electronic device and the screen parameters of the second electronic device calculate the screen ratio of the first electronic device and the second electronic device; the first electronic device sends to the second electronic device The screen ratio; detecting a user operation on the first electronic device, and the first electronic device sends coordinate information corresponding to the operation to the second electronic device.

可选地,在一些实施例中,所述第一电子设备支持触摸功能,所述第二电子设备不支持触摸功能。Optionally, in some embodiments, the first electronic device supports a touch function, and the second electronic device does not support a touch function.

本申请实施例提供的方案,第一电子设备根据屏幕参数计算屏幕比值,并将该屏幕比值发送至第二电子设备,此外,检测到用户在第一电子设备上的操作,第一电子设备将操作对应的坐标信息发送至第二电子设备,以便于第二电子设备根据该坐标信息和屏幕比值在对应坐标位置响应,通过利用支持触摸功能的第一电子设备操作另外不支持触摸功能的第二电子设备,对于不支持触摸功能的第二电子设备,可以使用户感受到触摸体验;而且不需要配套控制器或预装控制器的应用程序即可获得触摸体验,可以进一步提升用户体验。In the solution provided by the embodiment of the present application, the first electronic device calculates the screen ratio according to the screen parameters, and sends the screen ratio to the second electronic device. In addition, upon detecting the user's operation on the first electronic device, the first electronic device sends The coordinate information corresponding to the operation is sent to the second electronic device, so that the second electronic device responds at the corresponding coordinate position according to the coordinate information and the screen ratio, and operates the second electronic device that does not support the touch function by using the first electronic device that supports the touch function. For the electronic device, for the second electronic device that does not support the touch function, the user can feel the touch experience; and the touch experience can be obtained without supporting the controller or the application program of the pre-installed controller, which can further improve the user experience.

结合第一方面,在一些可能的实现方式中,所述方法还包括:With reference to the first aspect, in some possible implementations, the method further includes:

所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,所述子区域对应关系包括对所述第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, and the sub-area correspondence includes dividing the screen of the first electronic device The N sub-regions are in one-to-one correspondence with the N sub-regions after dividing the screen of the second electronic device;

所述第一电子设备向所述第二电子设备发送所述子区域对应关系。The first electronic device sends the sub-area correspondence to the second electronic device.

本申请实施例提供的方案,第一电子设备根据屏幕比值确定第一电子设备和第二电子设备的子区域对应关系,并将该子区域对应关系发送至第二电子设备,以便于第二电子设备根据该子区域对应关系在对应坐标位置响应,由于子区域对应关系可以为用户提供一个大概的对应关系范围,可以提高用户利用第一电子设备操作第二电子设备的效率,从而可以进一步提升用户体验。In the solution provided by the embodiment of the present application, the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, and sends the sub-area correspondence to the second electronic device, so that the second electronic device can The device responds at the corresponding coordinate position according to the sub-area correspondence. Since the sub-area correspondence can provide the user with an approximate range of correspondence, it can improve the efficiency of the user using the first electronic device to operate the second electronic device, thereby further improving the user experience. experience.

结合第一方面,在一些可能的实现方式中,所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,包括:With reference to the first aspect, in some possible implementation manners, the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, including:

所述第一电子设备根据所述屏幕比值将所述第一电子设备和所述第二电子设备的屏幕均划分为所述N个子区域;The first electronic device divides the screens of the first electronic device and the second electronic device into the N sub-regions according to the screen ratio;

所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数确定所述第一电子设备的屏幕划分后的N个子区域与所述第二电子设备的屏幕划分后的N个子区域的所述子区域对应关系。The first electronic device determines, according to the screen parameters of the first electronic device and the screen parameters of the second electronic device, the divided N sub-regions of the screen of the first electronic device and the screen of the second electronic device The correspondence between the sub-regions of the divided N sub-regions.

本申请实施例提供的方案,第一电子设备根据屏幕比值将第一电子设备和第二电子设备均划分为所述N个子区域,并根据第一电子设备的屏幕参数和第二电子设备的屏幕参数确定设备划分后的N个子区域的子区域对应关系,可以提高子区域对应关系的准确性。In the solution provided by the embodiment of the present application, the first electronic device divides the first electronic device and the second electronic device into the N sub-regions according to the screen ratio, and according to the screen parameters of the first electronic device and the screen of the second electronic device The parameter determines the sub-area correspondence between the N sub-areas divided by the device, which can improve the accuracy of the sub-area correspondence.

结合第一方面,在一些可能的实现方式中,所述屏幕比值包括所述第一电子设备的长度与所述第二电子设备的长度的比值,和,所述第一电子设备的宽度与所述第二电子设备的宽度的比值。With reference to the first aspect, in some possible implementation manners, the screen ratio includes a ratio of the length of the first electronic device to the length of the second electronic device, and the ratio of the width of the first electronic device to the The ratio of the width of the second electronic device.

结合第一方面,在一些可能的实现方式中,所述操作包括点击或滑动。With reference to the first aspect, in some possible implementation manners, the operation includes clicking or sliding.

结合第一方面,在一些可能的实现方式中,所述操作为所述点击,所述坐标信息包括一个坐标点的信息;或,With reference to the first aspect, in some possible implementation manners, the operation is the click, and the coordinate information includes information of a coordinate point; or,

所述操作为所述滑动,所述坐标信息包括多个坐标点的信息。The operation is the sliding, and the coordinate information includes information of a plurality of coordinate points.

本申请实施例提供的方案,检测到用户在第一电子设备上的操作,第一电子设备将操作对应的坐标信息发送至第二电子设备,若该操作为点击,则坐标信息包括一个坐标点的信息;若该操作为滑动,则坐标信息包括多个坐标点的信息,以便于第二电子设备根据坐标信息在对应位置响应,可以提升响应的准确性。The solution provided by the embodiment of the present application detects the user's operation on the first electronic device, and the first electronic device sends the coordinate information corresponding to the operation to the second electronic device. If the operation is a click, the coordinate information includes a coordinate point information; if the operation is sliding, the coordinate information includes information of a plurality of coordinate points, so that the second electronic device can respond at a corresponding position according to the coordinate information, and the accuracy of the response can be improved.

第二方面,提供一种显示方法,所述方法应用于第二电子设备,所述方法包括:所述第二电子设备接收所述第一电子设备发送的屏幕比值;所述第二电子设备接收所述第一电子设备发送的坐标信息;响应于接收所述坐标信息,所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应。In a second aspect, a display method is provided, the method is applied to a second electronic device, and the method includes: the second electronic device receives the screen ratio sent by the first electronic device; the second electronic device receives The coordinate information sent by the first electronic device; in response to receiving the coordinate information, the second electronic device responds at the corresponding coordinate position according to the screen ratio and the coordinate information.

可选地,在一些实施例中,所述第一电子设备支持触摸功能,所述第二电子设备不支持触摸功能。Optionally, in some embodiments, the first electronic device supports a touch function, and the second electronic device does not support a touch function.

本申请实施例提供的方案,第二电子设备响应于接收到第一电子设备发送的坐标信息,根据该坐标信息和接收到的屏幕比值在对应坐标位置响应,通过利用支持触摸功能的第一电子设备操作另外不支持触摸功能的第二电子设备,对于不支持触摸功能的第二电子设备,可以使用户感受到触摸体验;而且不需要配套控制器或预装控制器的应用程序即可获得触摸体验,可以进一步提升用户体验。According to the solution provided by the embodiment of this application, the second electronic device responds to receiving the coordinate information sent by the first electronic device, and responds at the corresponding coordinate position according to the coordinate information and the received screen ratio, by using the first electronic device that supports the touch function Device operation In addition, the second electronic device that does not support the touch function can make the user feel the touch experience for the second electronic device that does not support the touch function; and the user can obtain the touch experience without supporting the controller or the application program of the pre-installed controller. Experience can further improve user experience.

结合第二方面,在一些可能的实现方式中,所述方法还包括:With reference to the second aspect, in some possible implementations, the method further includes:

所述第二电子设备接收子区域对应关系,所述子区域对应关系包括对第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The second electronic device receives a sub-area correspondence, and the sub-area correspondence includes N sub-areas after dividing the screen of the first electronic device and N sub-areas after dividing the screen of the second electronic device. correspond;

所述第二电子设备根据所述比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the ratio and the coordinate information, including:

所述第二电子设备根据所述比值和所述坐标信息,以及所述子区域对应关系在对应坐标位置进行响应。The second electronic device responds at the corresponding coordinate position according to the ratio, the coordinate information, and the sub-area correspondence.

本申请实施例提供的方案,第二电子设备可以接收第一电子设备发送的子区域对应关系,并根据比值和坐标信息,以及子区域对应关系在对应坐标位置进行响应,由于子区域对应关系可以为用户提供一个大概的对应关系范围,可以提高用户利用第一电子设备操作第二电子设备的效率,从而可以进一步提升用户体验。According to the solution provided in the embodiment of this application, the second electronic device can receive the sub-region correspondence sent by the first electronic device, and respond at the corresponding coordinate position according to the ratio and coordinate information, as well as the sub-region correspondence, because the sub-region correspondence can Providing the user with an approximate range of correspondence can improve the user's efficiency in using the first electronic device to operate the second electronic device, thereby further improving user experience.

结合第二方面,在一些可能的实现方式中,所述方法还包括:With reference to the second aspect, in some possible implementations, the method further includes:

所述第二电子设备根据所述屏幕比值在所述第二电子设备建立平面坐标系;The second electronic device establishes a plane coordinate system on the second electronic device according to the screen ratio;

所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the screen ratio and the coordinate information, including:

所述第二电子设备根据所述屏幕比值和所述坐标信息在所述平面坐标系上的对应坐标位置进行响应。The second electronic device responds according to the screen ratio and the corresponding coordinate position of the coordinate information on the plane coordinate system.

本申请实施例提供的方案,第二电子设备根据屏幕比值在第二电子设备建立平面坐标系,并根据屏幕比值和坐标信息在所建立的平面坐标系上的对应坐标位置进行响应,可以提升第二电子设备在对应位置进行响应的准确性。In the solution provided by the embodiment of the present application, the second electronic device establishes a plane coordinate system on the second electronic device according to the screen ratio, and responds to the corresponding coordinate position on the established plane coordinate system according to the screen ratio and coordinate information, which can improve the second electronic device. 2. The accuracy with which the electronic equipment responds at the corresponding position.

结合第二方面,在一些可能的实现方式中,所述屏幕比值包括第一电子设备的长度与所述第二电子设备的长度的比值,和,所述第一电子设备的宽度与所述第二电子设备的宽度的比值。With reference to the second aspect, in some possible implementations, the screen ratio includes a ratio of the length of the first electronic device to the length of the second electronic device, and the ratio of the width of the first electronic device to the length of the second electronic device The ratio of the widths of the two electronic devices.

第三方面,提供了一种装置,该装置包含在电子设备中,该装置具有实现上述方面及上述方面的可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a third aspect, there is provided an apparatus, which is included in an electronic device, and has a function of realizing the behavior of the electronic device in the above aspect and possible implementation manners of the above aspect. The functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware. Hardware or software includes one or more modules or units corresponding to the functions described above.

第四方面,提供了一种电子设备,包括:一个或多个处理器;存储器;一个或者多个应用程序;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述第一方面任一项或第二方面任一项可能的实现中的方法。In a fourth aspect, an electronic device is provided, including: one or more processors; memory; one or more application programs; and one or more computer programs. Wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. When the instruction is executed by the electronic device, the electronic device is made to execute the method in any possible implementation of any one of the above first aspect or any one of the second aspect.

第五方面,提供了一种芯片系统,包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得上述第一方面任一项或第二方面任一项可能的实现中的方法在所述电子设备上的功能得以实现。In a fifth aspect, a chip system is provided, including at least one processor, when program instructions are executed in the at least one processor, any one of the above-mentioned first aspect or any one of the second aspect may be implemented The function of the method on the electronic device is realized.

第六方面,提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面任一项或第二方面任一项可能的实现中的方法。In the sixth aspect, there is provided a computer storage medium, including computer instructions, when the computer instructions are run on the electronic device, the electronic device is made to perform the method in any possible implementation of any one of the above-mentioned first aspect or any one of the second aspect .

第七方面,提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面任一项或第二方面任一项可能的设计中的方法。In a seventh aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device is made to execute the method in any possible design of any one of the above first aspect or any one of the second aspect.

附图说明Description of drawings

图1是是本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.

图2是本申请实施例提供的一种电子设备的软件结构示意图。FIG. 2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application.

图3是本申请实施例提供的一种电子设备的系统架构的示意图。FIG. 3 is a schematic diagram of a system architecture of an electronic device provided by an embodiment of the present application.

图4是本申请实施例提供的一组GUI的示意图。Fig. 4 is a schematic diagram of a set of GUI provided by the embodiment of the present application.

图5是本申请实施例提供的另一组GUI的示意图。Fig. 5 is a schematic diagram of another group of GUI provided by the embodiment of the present application.

图6是本申请实施例提供的一种显示方法的示意图。FIG. 6 is a schematic diagram of a display method provided by an embodiment of the present application.

图7是本申请实施例提供的一种设备被划分的子区域的示意图。Fig. 7 is a schematic diagram of divided sub-areas of a device provided in an embodiment of the present application.

图8是本申请实施例提供的另一种设备被划分的子区域的示意图。FIG. 8 is a schematic diagram of divided sub-areas of another device provided in an embodiment of the present application.

图9是本申请实施例提供的一种在子区域建立xoy平面坐标系的示意图。FIG. 9 is a schematic diagram of establishing an xoy plane coordinate system in a sub-region provided by an embodiment of the present application.

图10是本申请实施例提供的一种在子区域建立xoy平面坐标系的示意图。FIG. 10 is a schematic diagram of establishing an xoy plane coordinate system in a sub-region provided by an embodiment of the present application.

图11是本申请实施例提供的另一种显示方法的示意图。FIG. 11 is a schematic diagram of another display method provided by an embodiment of the present application.

图12是本申请实施例提供的一种电子设备的示意性框图。Fig. 12 is a schematic block diagram of an electronic device provided by an embodiment of the present application.

图13是本申请实施例提供的又一种电子设备的示意性框图。Fig. 13 is a schematic block diagram of another electronic device provided by an embodiment of the present application.

图14是本申请实施例提供的再一种电子设备的示意性框图。Fig. 14 is a schematic block diagram of another electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Among them, in the description of the embodiments of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in this article is only a description of associated objects The association relationship of indicates that there may be three kinds of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. In addition, in the description of the embodiments of the present application, "plurality" refers to two or more than two.

以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。Hereinafter, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features.

本申请实施例提供的显示方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。The display method provided by the embodiment of the present application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) devices, notebook computers, super mobile personal computers ( On electronic devices such as an ultra-mobile personal computer (UMPC), a netbook, and a personal digital assistant (personal digital assistant, PDA), the embodiment of the present application does not impose any limitation on the specific type of the electronic device.

示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100 . The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.

可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device through the power management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.

无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidounavigation satellite system, BDS), a quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.

视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 . The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.

陀螺仪传感器180B可以用于确定电子设备100的运动姿态。气压传感器180C用于测量气压。磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100 . The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case. The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The electronic device 100 may measure the distance by infrared or laser. Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The ambient light sensor 180L is used for sensing ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.

温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作,如触摸传感器180K可以检测本申请实施例中用户在其显示屏194上的操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also known as "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it, for example, the touch sensor 180K can detect a user's operation on its display screen 194 in the embodiment of the present application. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .

骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .

指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.

电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .

图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can consist of a series of application packages.

如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.

在万物互联的时代背景下,不同电子设备之间连接,协作工作已在当下消费者产品中层出不穷,例如通过手机控制家用电器开关等。上述大部分场景,用户所能感受到的体验均依赖具体电子设备本身具有的能力,差异的地方聚焦在操作方式。In the era of the Internet of Everything, different electronic devices are connected and collaborative work has emerged in an endless stream in current consumer products, such as controlling the switches of household appliances through mobile phones. In most of the above scenarios, the user experience depends on the capabilities of the specific electronic device itself, and the difference lies in the operation mode.

一种实现方式中,电子设备包括自主集成触摸功能的硬件电子元器件,用户通过触摸的方式只能操作当前设备,无法通过当前设备的触摸功能操作另外一台设备。In one implementation, the electronic device includes hardware electronic components that independently integrate the touch function, and the user can only operate the current device through touch, and cannot operate another device through the touch function of the current device.

另一种实现方式中,电子设备本身不带有触摸功能,而是配套一个支持触摸功能的控制器,例如:智能电视和智能遥控器,利用智能遥控器控制智能电视。然而在该方式下,只能使用配套的控制器,才能使用户获得较好的体验;此外,现有智能遥控器的触摸面板方案,实质通过触摸事件模拟原有实体按键遥控器操作方式,功能单一。In another implementation manner, the electronic device itself does not have a touch function, but is equipped with a controller supporting the touch function, such as a smart TV and a smart remote control, and the smart TV is controlled by the smart remote control. However, in this way, users can only obtain a better experience by using a matching controller; in addition, the touch panel solution of the existing smart remote control essentially simulates the operation mode of the original physical button remote control through touch events. single.

再一种实现方式中,电子设备预装触摸控制器的应用程序,然而在该方式下,要实现多个设备触摸控制,每个设备均需安装应用程序,比较繁琐。In yet another implementation, the electronic device is pre-installed with an application program of the touch controller. However, in this mode, in order to realize touch control of multiple devices, an application program needs to be installed on each device, which is cumbersome.

因此,本申请提供一种显示方法,可以通过支持触摸功能的多个设备操作另外不支持触摸功能的设备,且不需要配套控制器或预装控制器的应用程序,提升用户体验。Therefore, the present application provides a display method, which can operate other devices that do not support the touch function through multiple devices that support the touch function, and does not require a supporting controller or an application program pre-installed with the controller, so as to improve user experience.

本申请提供的方案适用于包括支持触摸功能的设备和不支持触摸功能的另一设备,利用支持触摸功能的设备操作不支持触摸功能的设备。图3为本申请实施例提供的一种电子设备的系统架构的示意图。The solution provided by the present application is applicable to a device supporting a touch function and another device not supporting a touch function, and the device supporting a touch function is used to operate a device not supporting a touch function. FIG. 3 is a schematic diagram of a system architecture of an electronic device provided by an embodiment of the present application.

参考图3,可以看出,设备1支持触摸功能,设备2不支持触摸功能,设备1和设备2通过通信方式连接后,当用户在设备1的触摸器件进行操作后,设备1的驱动会将相应的操作数据上报给设备1的用户界面(user interface,UI),响应于接收的操作数据,设备1的UI会显示相应的内容;与此同时,基于用户在设备1的操作,设备2的驱动将对应位置的操作数据上报给设备2的UI,响应于接收的操作数据,设备2的UI会显示相应的内容。Referring to Figure 3, it can be seen that device 1 supports the touch function, and device 2 does not support the touch function. After device 1 and device 2 are connected through communication, when the user operates the touch device of device 1, the driver of device 1 will The corresponding operation data is reported to the user interface (user interface, UI) of device 1, and in response to the received operation data, the UI of device 1 will display the corresponding content; at the same time, based on the operation of the user on device 1, the The driver reports the operation data of the corresponding location to the UI of the device 2, and in response to the received operation data, the UI of the device 2 will display corresponding content.

本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的显示方法进行具体阐述。The following embodiments of the present application will take the electronic device with the structure shown in FIG. 1 and FIG. 2 as an example, and describe the display method provided by the embodiment of the present application in detail in combination with the drawings and application scenarios.

图4示出了手机的一组图形用户界面(graphical user interface,GUI),其中,从图4中的(a)到图4中的(l)示出了利用手机控制不支持触摸功能的华为智慧屏的方法。Fig. 4 shows a group of graphical user interface (graphical user interface, GUI) of mobile phone, wherein, (a) in Fig. 4 to (l) in Fig. The method of Huawei Smart Screen.

参见图4中的(a)所示的GUI,该GUI为手机的桌面。当手机检测到用户点击桌面上的设置的图标301的操作后,可以启动该设置,显示如图4中的(b)所示的GUI,该GUI可以称为设置界面。Referring to the GUI shown in (a) in FIG. 4, the GUI is the desktop of the mobile phone. When the mobile phone detects that the user clicks the setting icon 301 on the desktop, the setting can be started, and a GUI as shown in (b) in FIG. 4 is displayed, which can be called a setting interface.

参见图4中的(b)所示的GUI,图中显示:WLAN、蓝牙、个人热点等可以与其它设备连接的方式,其中,WLAN和蓝牙处于开启状态,因此,用户可以利用WLAN或蓝牙与其它设备连接(当然,也可以打开个人热点与其它设备连接,不予限制)。当手机检测到用户点击蓝牙的图标302的操作后,可以显示如图4中的(c)所示的GUI。Refer to the GUI shown in (b) in Figure 4, which shows: WLAN, Bluetooth, personal hotspot, etc. can be connected to other devices, wherein WLAN and Bluetooth are turned on, so users can use WLAN or Bluetooth to communicate with other devices Connect with other devices (of course, you can also open a personal hotspot to connect with other devices, without limitation). When the mobile phone detects that the user clicks the Bluetooth icon 302, it may display a GUI as shown in (c) in FIG. 4 .

参见图4中的(c)所示的GUI,界面显示该手机已配对过的设备,此时这几个设备并未与该手机连接。当手机检测到用户点击华为智慧屏的图标303的操作后,可以显示如图4中的(d)所示的GUI。Referring to the GUI shown in (c) in Figure 4, the interface displays the devices that the mobile phone has been paired with, but these devices are not connected to the mobile phone at this time. When the mobile phone detects that the user clicks the icon 303 of the Huawei smart screen, the GUI shown in (d) in FIG. 4 may be displayed.

参见图4中的(d)所示的GUI,此时界面显示该手机与华为智慧屏处于已连接状态。同时,界面还显示“是否显示对应子区域”的条形框,包括“是”和“否”两个选项。当手机检测到用户点击“是”的图标304的操作后,可以显示如图4中的(e)所示的GUI。Refer to the GUI shown in (d) in Figure 4. At this time, the interface shows that the mobile phone is connected to the Huawei smart screen. At the same time, the interface also displays a bar box of "whether to display the corresponding sub-area", including two options of "yes" and "no". When the mobile phone detects that the user clicks the icon 304 of "Yes", it may display a GUI as shown in (e) in FIG. 4 .

参见图4中的(e)所示的GUI,此时,该手机界面被划分为4个子区域,分别为子区域1、子区域2、子区域3以及子区域4。此外,对于与该手机连接的华为智慧屏的界面也相应地被划分为4个子区域,分别为子区域1’、子区域2’、子区域3’以及子区域4’,参见图4中的(j)所示的GUI。其中,子区域1与子区域1’对应,子区域2与子区域2’对应,子区域3与子区域3’对应,子区域4与子区域4’对应。Referring to the GUI shown in (e) in FIG. 4 , at this time, the mobile phone interface is divided into four sub-areas, namely sub-area 1, sub-area 2, sub-area 3 and sub-area 4. In addition, the interface of the Huawei Smart Screen connected to the mobile phone is correspondingly divided into four sub-areas, namely sub-area 1', sub-area 2', sub-area 3' and sub-area 4', see Figure 4 GUI shown in (j). Wherein, sub-region 1 corresponds to sub-region 1', sub-region 2 corresponds to sub-region 2', sub-region 3 corresponds to sub-region 3', and sub-region 4 corresponds to sub-region 4'.

在手机与华为智慧屏连接后,可以通过手机的触摸操作控制华为智慧屏的页面显示。用户可以在手机的任一显示界面操作,示例性地,本申请以在手机的桌面为例,介绍本申请的方法。因此,用户可以先退出设置界面到手机的桌面,可以显示如图4中的(f)所示的GUI。After the mobile phone is connected to the Huawei Smart Screen, you can control the page display of the Huawei Smart Screen through the touch operation of the mobile phone. The user can operate on any display interface of the mobile phone. As an example, the present application uses the desktop of the mobile phone as an example to introduce the method of the present application. Therefore, the user can first exit the setting interface to the desktop of the mobile phone, and a GUI as shown in (f) in FIG. 4 can be displayed.

参见图4中的(f)所示的GUI,界面显示手机的桌面,此时,用户可以点击手机桌面的任一点,以控制华为智慧屏的界面所显示的内容。需要说明的是,为了便于用户通过手机的触摸操作准确控制华为智慧屏的页面显示,该华为智慧屏的页面上可以显示一光标,该光标的位置与用户手指所触摸的手机的屏幕的位置对应。换句话说,该光标随着用户手指在手机的屏幕上移动而移动。Referring to the GUI shown in (f) in Figure 4, the interface displays the desktop of the mobile phone. At this time, the user can click any point on the desktop of the mobile phone to control the content displayed on the interface of Huawei Smart Screen. It should be noted that, in order to facilitate the user to accurately control the page display of the Huawei smart screen through the touch operation of the mobile phone, a cursor can be displayed on the page of the Huawei smart screen, and the position of the cursor corresponds to the position of the screen of the mobile phone touched by the user's finger . In other words, the cursor moves as the user's finger moves across the phone's screen.

示例性地,若用户想要播放华为智慧屏显示的第7集的内容,可以通过移动手指确定选集“7”在手机屏幕上所对应的位置。假设选集“7”的位置对应的是手机屏幕上的图库的位置,当手机检测到用户点击图库的图标305的操作后,可以显示如图4中的(g)所示的GUI。参见图4中的(g)所示的GUI,界面显示不同的相册,包括:全部照片、相机、视频、截屏录屏等。可选地,在一些实施例中,当手机检测到用户点击图库的图标305的操作后,也可以不显示如图4中的(g)所示的GUI,而是仍然显示如图4中的(f)所示的GUI,即,在手机与华为智慧屏连接且显示对应子区域的模式下,用户在点击图库的图标后,该图库应用可以不对其响应。For example, if the user wants to play the content of episode 7 displayed on the Huawei smart screen, he can determine the position corresponding to the episode "7" on the screen of the mobile phone by moving his finger. Assuming that the position of the selection "7" corresponds to the position of the gallery on the mobile phone screen, when the mobile phone detects that the user clicks the icon 305 of the gallery, the GUI as shown in (g) in FIG. 4 can be displayed. Referring to the GUI shown in (g) in FIG. 4, the interface displays different photo albums, including: all photos, cameras, videos, screen captures, etc. Optionally, in some embodiments, after the mobile phone detects that the user clicks the icon 305 of the gallery, the GUI shown in (g) in FIG. 4 may not be displayed, but the GUI shown in FIG. 4 is still displayed. For the GUI shown in (f), that is, in the mode where the mobile phone is connected to the Huawei smart screen and displays the corresponding sub-area, after the user clicks the icon of the gallery, the gallery application may not respond to it.

相应地,响应于用户点击图库的图标305这一操作,该华为智慧屏从图4中的(j)所示的GUI跳转到图4中的(k)所示的GUI。Correspondingly, in response to the user's operation of clicking the icon 305 of the gallery, the Huawei smart screen jumps from the GUI shown in (j) in FIG. 4 to the GUI shown in (k) in FIG. 4 .

参见图4中的(j)所示的GUI,界面显示某一媒体的选集界面,当用户点击手机上的图库的图标后,华为智慧屏的界面从图4中的(j)所示的GUI跳转到图4中的(k)所示的GUI。参见图4中的(k)所示的GUI,界面播放该电视剧的第7集的内容。换句话说,用户点击手机上的图库的图标,相当于用户点击了华为智慧屏的界面所显示的第7集的图标。Refer to the GUI shown in (j) in Figure 4. The interface displays a selection interface of a certain media. When the user clicks the icon of the gallery on the mobile phone, the interface of Huawei Smart Screen changes from the GUI shown in (j) in Figure 4 Jump to the GUI shown in (k) in FIG. 4 . Referring to the GUI shown in (k) in FIG. 4, the interface plays the content of the seventh episode of the TV series. In other words, when the user clicks the icon of the gallery on the mobile phone, it is equivalent to the user clicking the icon of Episode 7 displayed on the interface of the Huawei Smart Screen.

此外,若用户想要退出对应子区域的显示,也可以通过手机控制华为智慧屏退出对应子区域的显示。In addition, if the user wants to exit the display of the corresponding sub-area, he can also control the Huawei smart screen to exit the display of the corresponding sub-area through the mobile phone.

参见图4中的(h)所示的GUI,当手机检测到用户点击“否”的图标306的操作后,可以显示如图4中的(i)所示的GUI。参见图4中的(i)所示的GUI,界面已退出对应子区域的显示。Referring to the GUI shown in (h) in FIG. 4, when the mobile phone detects that the user clicks the icon 306 of "No", the GUI shown in (i) in FIG. 4 can be displayed. Referring to the GUI shown in (i) in FIG. 4, the interface has exited the display of the corresponding sub-area.

相应地,响应于用户点击“否”的图标306这一操作,该华为智慧屏从图4中的(k)所示的GUI跳转到图4中的(l)所示的GUI。参见图4中的(l)所示的GUI,页面已退出对应子区域的显示。Correspondingly, in response to the user's operation of clicking the "No" icon 306, the Huawei smart screen jumps from the GUI shown in (k) in FIG. 4 to the GUI shown in (l) in FIG. 4 . Referring to the GUI shown in (l) in FIG. 4, the page has exited the display of the corresponding sub-area.

当然,在一些实施例中,在用户通过手机对华为智慧屏进行相应的操作后,手机和华为智慧屏的界面可以自动退出对应子区域的显示。换句话说,当手机检测到用户点击图库的图标305的操作后,可以直接显示如图4中的(i)所示的GUI;相应地,响应于用户点击图库的图标305这一操作,该华为智慧屏从图4中的(j)所示的GUI跳转到图4中的(l)所示的GUI。Of course, in some embodiments, after the user performs corresponding operations on the Huawei smart screen through the mobile phone, the interface between the mobile phone and the Huawei smart screen may automatically exit the display of the corresponding sub-area. In other words, after the mobile phone detects that the user clicks the operation of the icon 305 of the gallery, it can directly display the GUI shown in (i) in Figure 4; correspondingly, in response to the operation of the user clicking the icon 305 of the gallery, the The Huawei Smart Screen jumps from the GUI shown in (j) in Figure 4 to the GUI shown in (l) in Figure 4.

在另一些实施例中,若用户在图4中的(d)中的“是否显示对应子区域”选择“否”的图标时,当手机检测到用户点击“否”的图标的操作后,手机界面不会显示划分的子区域,此时,用户可以根据其手指所触摸的手机的屏幕的位置与华为智慧屏界面上的光标的位置,利用手机控制该华为智慧屏界面显示。In some other embodiments, if the user selects the "No" icon in "Whether to display the corresponding sub-area" in (d) in Figure 4, when the mobile phone detects the operation of the user clicking the "No" icon, the mobile phone The interface does not display divided sub-areas. At this time, the user can use the mobile phone to control the display of the Huawei smart screen interface according to the position of the screen of the mobile phone touched by his finger and the position of the cursor on the Huawei smart screen interface.

图5示出了手机的另一组GUI,其中,从图5中的(a)到图5中的(l)示出了利用手机控制不支持触摸功能的华为智慧屏的方法。Fig. 5 shows another set of GUIs of the mobile phone, wherein (a) to (l) in Fig. 5 shows a method for using a mobile phone to control a Huawei smart screen that does not support a touch function.

参见图5中的(a)所示的GUI,该GUI为手机的桌面。当手机检测到用户点击桌面上的设置的图标401的操作后,可以启动该设置,显示如图5中的(b)所示的GUI,该GUI可以称为设置界面。Referring to the GUI shown in (a) in FIG. 5, the GUI is the desktop of the mobile phone. When the mobile phone detects that the user clicks the setting icon 401 on the desktop, the setting can be started, and a GUI as shown in (b) in FIG. 5 is displayed, which can be called a setting interface.

参见图5中的(b)所示的GUI,图中显示:WLAN、蓝牙、个人热点等可以与其它设备连接的方式,其中,WLAN和蓝牙处于开启状态,因此,用户可以利用WLAN或蓝牙与其它设备连接(当然,也可以打开个人热点与其它设备连接,不予限制)。当手机检测到用户点击蓝牙的图标402的操作后,可以显示如图5中的(c)所示的GUI。Refer to the GUI shown in (b) in Figure 5, which shows: WLAN, Bluetooth, personal hotspot, etc. can be connected to other devices, wherein WLAN and Bluetooth are turned on, so users can use WLAN or Bluetooth to communicate with other devices Connect with other devices (of course, you can also open a personal hotspot to connect with other devices, without limitation). When the mobile phone detects that the user clicks the Bluetooth icon 402, it may display a GUI as shown in (c) in FIG. 5 .

参见图5中的(c)所示的GUI,界面显示该手机已配对过的设备,此时这几个设备并未与该手机连接。当手机检测到用户点击华为智慧屏的图标403的操作后,可以显示如图5中的(d)所示的GUI。Referring to the GUI shown in (c) in FIG. 5, the interface displays the devices that have been paired with the mobile phone, but these devices are not connected to the mobile phone at this time. When the mobile phone detects that the user clicks the icon 403 of the Huawei smart screen, it may display a GUI as shown in (d) in FIG. 5 .

参见图5中的(d)所示的GUI,此时界面显示该手机与华为智慧屏处于已连接状态。同时,界面还显示“是否显示对应子区域”的条形框,包括“是”和“否”两个选项。当手机检测到用户点击“是”的图标404的操作后,可以显示如图5中的(e)所示的GUI。Refer to the GUI shown in (d) in Figure 5. At this time, the interface shows that the mobile phone is connected to the Huawei smart screen. At the same time, the interface also displays a bar box of "whether to display the corresponding sub-area", including two options of "yes" and "no". When the mobile phone detects that the user clicks the icon 404 of "Yes", it may display a GUI as shown in (e) in FIG. 5 .

参见图5中的(e)所示的GUI,同时,该手机界面被划分为4个子区域,分别为子区域1、子区域2、子区域3以及子区域4。此外,对于与该手机连接华为智慧屏的界面也相应地被划分为4个子区域,分别为子区域1’、子区域2’、子区域3’以及子区域4’,参见图5中的(j)所示的GUI。其中,子区域1与子区域1’对应,子区域2与子区域2’对应,子区域3与子区域3’对应,子区域4与子区域4’对应。Referring to the GUI shown in (e) in FIG. 5 , at the same time, the mobile phone interface is divided into four sub-areas, namely, sub-area 1, sub-area 2, sub-area 3 and sub-area 4. In addition, the interface connected to the Huawei Smart Screen with the mobile phone is also divided into 4 sub-areas accordingly, namely sub-area 1', sub-area 2', sub-area 3' and sub-area 4', see ( j) GUI shown. Wherein, sub-region 1 corresponds to sub-region 1', sub-region 2 corresponds to sub-region 2', sub-region 3 corresponds to sub-region 3', and sub-region 4 corresponds to sub-region 4'.

在手机与华为智慧屏连接后,可以通过手机的触摸操作控制华为智慧屏的页面显示。用户可以在手机的任一显示界面操作,示例性地,本申请以在手机的空白界面为例,介绍本申请的方法。因此,用户可以先退出设置界面到手机的空白界面,可以显示如图5中的(f)所示的GUI。After the mobile phone is connected to the Huawei Smart Screen, you can control the page display of the Huawei Smart Screen through the touch operation of the mobile phone. The user can operate on any display interface of the mobile phone. Exemplarily, the present application uses the blank interface of the mobile phone as an example to introduce the method of the present application. Therefore, the user can first exit the setting interface to a blank interface of the mobile phone, and a GUI as shown in (f) in FIG. 5 can be displayed.

参见图5中的(f)所示的GUI,界面显示空白界面,此时,用户可以在该界面任意滑动,以控制华为智慧屏的界面所显示的内容。需要说明的是,为了便于用户通过手机的触摸操作准确控制华为智慧屏的页面显示,该华为智慧屏的页面上可以显示一光标,该光标的位置与用户手指所触摸的手机的屏幕的位置对应。换句话说,该光标随着用户手指在手机的屏幕上移动而移动。Referring to the GUI shown in (f) in Figure 5, the interface displays a blank interface. At this time, the user can swipe arbitrarily on the interface to control the content displayed on the interface of the Huawei smart screen. It should be noted that, in order to facilitate the user to accurately control the page display of the Huawei smart screen through the touch operation of the mobile phone, a cursor can be displayed on the page of the Huawei smart screen, and the position of the cursor corresponds to the position of the screen of the mobile phone touched by the user's finger . In other words, the cursor moves as the user's finger moves across the phone's screen.

示例性地,若用户想要华为智慧屏显示另一媒体的选集界面,可以通过移动手指确定滑动方向。假设华为智慧屏显示另一媒体的选集界面需通过向上滑动的方式进行,则用户可以在对应子区域上按照所需的方向滑动,当手机检测到用户按照图中所示的方向进行滑动这一操作后,可以显示如图5中的(g)所示的GUI。参见图5中的(g)所示的GUI,界面显示手机的桌面。可选地,在一些实施例中,当手机检测到用户按照图中所示的方向进行滑动的操作后,也可以不显示如图5中的(g)所示的GUI,而是仍然显示如图5中的(f)所示的GUI,即,在手机与华为智慧屏连接且显示对应子区域的模式下,用户在进行滑动这一操作后,该手机界面可以不对其响应。For example, if the user wants the Huawei Smart Screen to display another media selection interface, the user can determine the sliding direction by moving the finger. Assuming that the HUAWEI smart screen displays another media selection interface that needs to be swipe up, the user can swipe in the desired direction on the corresponding sub-area. When the mobile phone detects that the user swipe in the direction shown in the figure, After the operation, a GUI as shown in (g) in FIG. 5 may be displayed. Referring to the GUI shown in (g) in FIG. 5, the interface displays the desktop of the mobile phone. Optionally, in some embodiments, after the mobile phone detects that the user slides in the direction shown in the figure, the GUI shown in (g) in Figure 5 may not be displayed, but still display the The GUI shown in (f) in Figure 5, that is, in the mode where the mobile phone is connected to the Huawei smart screen and displays the corresponding sub-area, after the user performs the sliding operation, the mobile phone interface may not respond to it.

相应地,响应于用户滑动这一操作,该华为智慧屏从图5中的(j)所示的GUI跳转到图5中的(k)所示的GUI。Correspondingly, in response to the operation of sliding by the user, the Huawei smart screen jumps from the GUI shown in (j) in FIG. 5 to the GUI shown in (k) in FIG. 5 .

参见图5中的(j)所示的GUI,界面显示某一媒体的选集界面,当用户在手机上的空白界面进行滑动操作后,华为智慧屏的界面从图5中的(j)所示的GUI跳转到图5中的(k)所示的GUI。参见图5中的(k)所示的GUI,界面显示另一媒体的选集界面。换句话说,用户在手机上进行滑动,相当于用户将华为智慧屏从某一界面滑动至另一界面。Refer to the GUI shown in (j) in Figure 5. The interface displays the selection interface of a certain media. When the user performs a sliding operation on the blank interface on the mobile phone, the interface of Huawei Smart Screen changes from that shown in (j) in Figure 5 to The GUI jumps to the GUI shown in (k) in Figure 5. Referring to the GUI shown in (k) in FIG. 5, the interface displays another media selection interface. In other words, when the user slides on the mobile phone, it is equivalent to the user sliding the Huawei smart screen from one interface to another.

此外,若用户想要退出对应子区域的显示,也可以通过手机控制华为智慧屏退出对应子区域的显示。In addition, if the user wants to exit the display of the corresponding sub-area, he can also control the Huawei smart screen to exit the display of the corresponding sub-area through the mobile phone.

参见图5中的(h)所示的GUI,当手机检测到用户点击“否”的图标405的操作后,可以显示如图5中的(i)所示的GUI。参见图5中的(i)所示的GUI,界面已退出对应子区域的显示。Referring to the GUI shown in (h) in FIG. 5, when the mobile phone detects that the user clicks the icon 405 of "No", the GUI shown in (i) in FIG. 5 can be displayed. Referring to the GUI shown in (i) in FIG. 5, the interface has exited the display of the corresponding sub-area.

相应地,响应于用户点击“否”的图标405这一操作,该华为智慧屏从图5中的(k)所示的GUI跳转到图5中的(l)所示的GUI。参见图5中的(l)所示的GUI,页面已退出对应子区域的显示。Correspondingly, in response to the user's operation of clicking the "No" icon 405, the Huawei smart screen jumps from the GUI shown in (k) in FIG. 5 to the GUI shown in (l) in FIG. 5 . Referring to the GUI shown in (l) in FIG. 5, the page has exited the display of the corresponding sub-area.

当然,在一些实施例中,在用户通过手机对华为智慧屏进行相应的操作后,手机和华为智慧屏的界面可以自动退出对应子区域的显示。换句话说,当手机检测到用户滑动这一操作后,可以直接显示如图5中的(i)所示的GUI;相应地,响应于用户滑动这一操作,该华为智慧屏从图5中的(j)所示的GUI跳转到图5中的(l)所示的GUI。Of course, in some embodiments, after the user performs corresponding operations on the Huawei smart screen through the mobile phone, the interface between the mobile phone and the Huawei smart screen may automatically exit the display of the corresponding sub-area. In other words, when the mobile phone detects the operation of sliding by the user, it can directly display the GUI shown in (i) in Figure 5; The GUI shown in (j) jumps to the GUI shown in (l) in FIG. 5 .

在另一些实施例中,若用户在图5中的(d)中的“是否显示对应子区域”选择“否”的图标时,当手机检测到用户点击“否”的图标的操作后,手机界面不会显示划分的子区域,此时,用户可以根据其手指所触摸的手机的屏幕的位置与华为智慧屏界面上的光标的位置,利用手机控制该华为智慧屏界面显示。In some other embodiments, if the user selects the "No" icon in "Whether to display the corresponding sub-area" in (d) in Figure 5, when the mobile phone detects the operation of the user clicking the "No" icon, the mobile phone The interface does not display divided sub-areas. At this time, the user can use the mobile phone to control the display of the Huawei smart screen interface according to the position of the screen of the mobile phone touched by his finger and the position of the cursor on the Huawei smart screen interface.

此外,还需要说明的是,上述图4和图5的示例中以控件为例介绍显示和退出“是否显示对应子区域”的条形框的,该条形框也可以通过其它方式显示和退出,如可以通过下拉菜单的方式显示和退出该条性框,不予限制。In addition, it should be noted that in the above examples in Figure 4 and Figure 5, the control is used as an example to introduce the display and exit of the bar box of "whether to display the corresponding sub-area", and the bar box can also be displayed and exited in other ways , if the conditional box can be displayed and exited through the drop-down menu, there is no restriction.

下面结合附图6介绍本申请实施例中实现跨设备的显示方法的搜索的内部实现过程与判断逻辑。图6示出了本申请实施例提供的一种显示方法600的示意图,该方法600可以包括步骤S610-S670。The following describes the internal implementation process and judgment logic for realizing the search of the cross-device display method in the embodiment of the present application with reference to FIG. 6 . FIG. 6 shows a schematic diagram of a display method 600 provided by an embodiment of the present application, and the method 600 may include steps S610-S670.

S610,用户使用设备1连接设备2。S610, the user uses the device 1 to connect to the device 2 .

本申请实施例中的设备1支持触摸功能,如可以为上述图4或图5中的手机,设备2不支持触摸功能,如可以为上述图4或图5中的华为智慧屏。Device 1 in the embodiment of this application supports the touch function, such as the mobile phone in Figure 4 or Figure 5 above, and Device 2 does not support the touch function, such as the Huawei Smart Screen in Figure 4 or Figure 5 above.

本申请实施例中,用户可以通过多种方式连接设备1和设备2。如WLAN、蓝牙、个人热点等,不予限制。In the embodiment of this application, the user can connect the device 1 and the device 2 in various ways. Such as WLAN, Bluetooth, personal hotspot, etc., are not limited.

S620,判断是否连接成功。S620, judging whether the connection is successful.

若是,则执行步骤S630;若否,则结束。If yes, execute step S630; if no, end.

S630,设备1获取设备2的屏幕参数。S630, Device 1 acquires screen parameters of Device 2 .

本申请实施例中的屏幕参数可以包括设备2的屏幕大小,包括屏幕的长度和宽度。示例性地,如设备2为电视,则设备2的屏幕参数可以为140cm*90cm;如设备2为电脑,则设备2的屏幕参数可以为50cm*30cm。The screen parameters in this embodiment of the present application may include the screen size of the device 2, including the length and width of the screen. Exemplarily, if the device 2 is a TV, the screen parameters of the device 2 may be 140cm*90cm; if the device 2 is a computer, the screen parameters of the device 2 may be 50cm*30cm.

S640,设备1计算设备1和设备2屏幕参数的压缩比T,并根据压缩比T,将设备1和设备2的屏幕分别划分为N个子区域。S640. Device 1 calculates the compression ratio T of the screen parameters of Device 1 and Device 2, and divides the screens of Device 1 and Device 2 into N sub-regions according to the compression ratio T.

本申请实施例中的压缩比T可以理解为设备1和设备2屏幕的长度之间的比值和宽度之间的比值。The compression ratio T in the embodiment of the present application can be understood as the ratio between the length and the width of the screens of device 1 and device 2 .

示例性地,假设设备1为手机,且设备1的屏幕参数可以为10cm*6cm,设备2为电视,且设备2的屏幕参数可以为140cm*90cm,则设备1和设备2的屏幕的长度之间的比值为10:140=1:14,宽度之间的比值为6:90=1:15。For example, assuming that device 1 is a mobile phone, and the screen parameters of device 1 can be 10cm*6cm, and device 2 is a TV, and the screen parameters of device 2 can be 140cm*90cm, the length of the screens of device 1 and device 2 can be The ratio between the widths is 10:140=1:14, and the ratio between the widths is 6:90=1:15.

本申请实施例中的N可以为大于或等于2的正整数,如N可以为4、8、或20等,不予限制。可以理解的是,N的数值越大,越有利于利用设备1实现对设备2的操作。N in this embodiment of the present application may be a positive integer greater than or equal to 2, for example, N may be 4, 8, or 20, etc., without limitation. It can be understood that the larger the value of N is, the more favorable it is to use the device 1 to realize the operation of the device 2 .

需要说明的是,设备2的屏幕划分的子区域的数量与设备1的子区域的数量是一致的。如设备2屏幕被划分为4个子区域,则设备1的屏幕也相应地被划分为4个子区域;如设备2屏幕被划分为8个子区域,则设备1的屏幕也相应地被划分为8个子区域。It should be noted that the number of sub-regions divided by the screen of device 2 is consistent with the number of sub-regions of device 1 . If the screen of device 2 is divided into 4 sub-areas, the screen of device 1 is also divided into 4 sub-areas accordingly; if the screen of device 2 is divided into 8 sub-areas, the screen of device 1 is also divided into 8 sub-areas accordingly area.

此外,本申请实施例中,设备1或设备2的屏幕被划分的多个子区域的大小可以相同,也可以不同,不予限制。In addition, in the embodiment of the present application, the sizes of the multiple sub-regions into which the screen of the device 1 or the device 2 is divided may be the same or different, and are not limited.

S650,设备2保存同步信息。S650. The device 2 saves the synchronization information.

本申请实施例中的同步信息可以包括将压缩比T和设备1与设备2之间子区域的对应关系。在步骤S640中,设备1在将设备2的屏幕划分为N个子区域后,可以将压缩比T和设备1与设备2之间子区域的对应关系发送至设备2,设备2保存压缩比T和设备1与设备2之间子区域的对应关系。The synchronization information in this embodiment of the present application may include the correspondence between the compression ratio T and the sub-regions between the device 1 and the device 2 . In step S640, after device 1 divides the screen of device 2 into N sub-regions, it can send the compression ratio T and the corresponding relationship between the sub-regions between device 1 and device 2 to device 2, and device 2 saves the compression ratio T and Correspondence between sub-areas between device 1 and device 2.

如图7所示,为本申请实施例提供的一种设备被划分的子区域的示意图。其中,图7中的(a)为设备1被划分的子区域的示意图,图7中的(b)为设备2被划分的子区域的示意图。As shown in FIG. 7 , it is a schematic diagram of divided sub-areas of a device provided in the embodiment of the present application. Wherein, (a) in FIG. 7 is a schematic diagram of the divided sub-areas of the device 1 , and (b) in FIG. 7 is a schematic diagram of the divided sub-areas of the device 2 .

具体实现中,设备1可以根据设备1和设备2屏幕参数压缩比T,将设备1和设备2的屏幕分别划分为N个子区域。仍然以上述所示例的屏幕参数为例,假设设备1的屏幕参数为10cm*6cm,设备2的屏幕参数可以为140cm*90cm,设备1计算出的两个设备的长度之间的比值为10:140=1:14,宽度之间的比值为6:90=1:15。In a specific implementation, device 1 may divide the screens of device 1 and device 2 into N sub-regions according to the compression ratio T of the screen parameters of device 1 and device 2, respectively. Still taking the above-mentioned screen parameters as an example, assuming that the screen parameters of device 1 are 10cm*6cm, the screen parameters of device 2 can be 140cm*90cm, and the ratio between the lengths of the two devices calculated by device 1 is 10: 140=1:14, the ratio between the widths is 6:90=1:15.

若设备1将设备1和设备2均划分为4个子区域,则可以从图中所示的虚线进行划分,则可以将设备1划分为子区域1、子区域2、子区域3以子及区域4,将设备2划分为子区域1’、子区域2’、子区域3’以及子区域4’。其中,设备1的子区域1与设备2的子区域1’对应,设备1的子区域2与设备2的子区域2’对应,设备1的子区域3与设备2的子区域3’对应,设备1的子区域4与设备2的子区域4’对应。If device 1 divides device 1 and device 2 into 4 sub-areas, it can be divided from the dotted line shown in the figure, then device 1 can be divided into sub-area 1, sub-area 2, sub-area 3 and sub-area 4. Divide the device 2 into sub-area 1', sub-area 2', sub-area 3' and sub-area 4'. Wherein, sub-region 1 of device 1 corresponds to sub-region 1' of device 2, sub-region 2 of device 1 corresponds to sub-region 2' of device 2, sub-region 3 of device 1 corresponds to sub-region 3' of device 2, Subregion 4 of device 1 corresponds to subregion 4' of device 2 .

为便于用户直观感受设备1和设备2之间的对应关系,可以将设备1逆时针旋转90°,如图7中的(c)所示。In order to facilitate the user to intuitively experience the corresponding relationship between the device 1 and the device 2, the device 1 may be rotated 90° counterclockwise, as shown in (c) in FIG. 7 .

结合图7中的(c)和图7中的(b),用户可以直观地感受设备1和设备2之间的对应关系,设备1左上角的子区域1与设备2左上角的子区域1’对应,设备1右上角的子区域2与设备2右上角的子区域2’对应,设备1左下角的子区域3与设备2左下角的子区域3’对应,设备1右下角的子区域4与设备2右下角的子区域4’对应。Combining (c) in Figure 7 and (b) in Figure 7, users can intuitively feel the correspondence between device 1 and device 2, sub-area 1 in the upper left corner of device 1 and sub-area 1 in the upper left corner of device 2 'Corresponding, the subarea 2 in the upper right corner of device 1 corresponds to the subarea 2' in the upper right corner of device 2, the subarea 3 in the lower left corner of device 1 corresponds to the subarea 3' in the lower left corner of device 2, and the subarea in the lower right corner of device 1 4 corresponds to sub-area 4' in the lower right corner of device 2.

如图8所示,为本申请实施例提供的另一种设备被划分的子区域的示意图。其中,图8中的(a)为设备1被划分的子区域的示意图,图8中的(b)为设备2被划分的子区域的示意图。As shown in FIG. 8 , it is a schematic diagram of divided sub-areas of another device provided in the embodiment of the present application. Wherein, (a) in FIG. 8 is a schematic diagram of the divided sub-areas of the device 1 , and (b) in FIG. 8 is a schematic diagram of the divided sub-areas of the device 2 .

其中,设备1的子区域1与设备2的子区域1’对应,设备1的子区域2与设备2的子区域2’对应,设备1的子区域3与设备2的子区域3’对应,设备1的子区域4与设备2的子区域4’对应。Wherein, sub-region 1 of device 1 corresponds to sub-region 1' of device 2, sub-region 2 of device 1 corresponds to sub-region 2' of device 2, sub-region 3 of device 1 corresponds to sub-region 3' of device 2, Subregion 4 of device 1 corresponds to subregion 4' of device 2 .

为便于用户直观感受设备1和设备2之间的对应关系,可以将设备1顺时针旋转90°,如图8中的(c)所示。In order to facilitate the user to intuitively experience the corresponding relationship between the device 1 and the device 2, the device 1 may be rotated 90° clockwise, as shown in (c) in FIG. 8 .

结合图8中的(c)和图8中的(b),用户可以直观地感受设备1和设备2之间的对应关系,设备1左上角的子区域1与设备2左上角的子区域1’对应,设备1右上角的子区域2与设备2右上角的子区域2’对应,设备1左下角的子区域3与设备2左下角的子区域3’对应,设备1右下角的子区域4与设备2右下角的子区域4’对应。Combining (c) in Figure 8 and (b) in Figure 8, users can intuitively feel the correspondence between device 1 and device 2, sub-area 1 in the upper left corner of device 1 and sub-area 1 in the upper left corner of device 2 'Corresponding, the subarea 2 in the upper right corner of device 1 corresponds to the subarea 2' in the upper right corner of device 2, the subarea 3 in the lower left corner of device 1 corresponds to the subarea 3' in the lower left corner of device 2, and the subarea in the lower right corner of device 1 4 corresponds to sub-area 4' in the lower right corner of device 2.

可以理解的是,设备1根据屏幕参数将设备1和设备2的屏幕划分为对应的N个子区域,设备1和设备2之间的子区域对应关系包括但不限于上述示例中所示出的,只要设备1对设备1和设备2的屏幕所划分的子区域一一对应均可应用本申请。It can be understood that the device 1 divides the screens of the device 1 and the device 2 into corresponding N sub-regions according to the screen parameters, and the sub-region correspondence between the device 1 and the device 2 includes but is not limited to those shown in the above examples, This application can be applied as long as there is a one-to-one correspondence between device 1 and the sub-regions divided by the screens of device 1 and device 2 .

S660,设备1接收用户的操作信息。S660, the device 1 receives user operation information.

本申请实施例中的操作可以包括点击或滑动,如上述图4中的(f)所示的GUI中“用户点击图库的图标305的操作”,或者,上述图5中的(f)所示的GUI中“用户按照图中所示的方向进行滑动的操作”。The operation in the embodiment of the present application may include clicking or sliding, such as "the user clicks the operation of the icon 305 of the gallery" in the GUI shown in (f) in Figure 4 above, or, as shown in (f) in Figure 5 above "The user slides in the direction shown in the figure" in the GUI.

本申请实施例中的操作信息可以包括用户在设备1的屏幕上点击时所触摸的坐标点或用户在设备1的屏幕上滑动时所触摸的序列坐标点。The operation information in this embodiment of the present application may include coordinate points touched by the user when clicking on the screen of the device 1 or sequence coordinate points touched by the user when sliding on the screen of the device 1 .

S670,设备2根据接收的操作信息和保存的同步信息通知UI在对应子区域响应。S670, the device 2 notifies the UI to respond in the corresponding sub-area according to the received operation information and the saved synchronization information.

下文分别以用户在设备1的屏幕上点击和滑动为例介绍设备2根据接收的操作信息和保存的同步信息通知UI在对应子区域响应。The following takes the user's click and slide on the screen of device 1 as an example to introduce that device 2 notifies the UI to respond in the corresponding sub-area according to the received operation information and the saved synchronization information.

情况一:用户在设备1的屏幕上点击Case 1: The user clicks on the screen of device 1

假设设备1计算出的两个设备的长度之间的比值为10:140=1:14,宽度之间的比值为6:90=1:15,则设备1可以根据该比值在子区域建立xoy平面坐标系。Assuming that the ratio between the lengths of the two devices calculated by device 1 is 10:140=1:14, and the ratio between the widths is 6:90=1:15, then device 1 can establish xoy in the sub-area according to the ratio plane coordinate system.

本申请以在子区域1和子区域1’为例,如图9所示,为本申请实施例提供的一种在子区域建立xoy平面坐标系的示意图。其中,图9中的(a)为在设备1的子区域1建立xoy平面坐标系的示意图,图9中的(b)为在设备2的子区域1’建立xoy平面坐标系的示意图。且在设备1和设备2上建立的xoy平面坐标系的x轴的单位长度与两个设备的长度之间的比值有关,y轴的单位长度与两个设备的宽度之间的比值有关。This application takes sub-area 1 and sub-area 1' as examples, as shown in FIG. 9 , which is a schematic diagram of establishing an xoy plane coordinate system in a sub-area provided by an embodiment of the present application. Wherein, (a) among Fig. 9 is the schematic diagram that establishes xoy plane coordinate system in subregion 1 of equipment 1, and (b) among Fig. 9 is the schematic diagram that establishes xoy plane coordinate system in subregion 1' of device 2. In addition, the unit length of the x-axis of the xoy plane coordinate system established on device 1 and device 2 is related to the ratio between the lengths of the two devices, and the unit length of the y-axis is related to the ratio between the widths of the two devices.

结合图9中的(a)和(b),由于设备1和设备2的长度之间的比值为1:14,在设备1上建立的xoy平面坐标系的x轴的单位长度与在设备2上建立的xoy平面坐标系的x轴的单位长度也为1:14;由于设备1和设备2的宽度之间的比值为1:15,在设备1上建立的xoy平面坐标系的y轴的单位长度与在设备2上建立的xoy平面坐标系的y轴的单位长度也为1:15。Combining (a) and (b) in Figure 9, since the ratio between the lengths of device 1 and device 2 is 1:14, the unit length of the x-axis of the xoy plane coordinate system established on device 1 is the same as that in device 2 The unit length of the x-axis of the xoy plane coordinate system established above is also 1:14; since the ratio between the widths of device 1 and device 2 is 1:15, the y-axis of the xoy plane coordinate system established on device 1 The unit length and the unit length of the y-axis of the xoy plane coordinate system established on the device 2 are also 1:15.

若用户在设备1的屏幕上点击时所触摸的坐标点为M(1,3),该坐标点涉及子区域1,对应于设备2上的坐标点,也应涉及对应区域的子区域1’,结合用户所触摸的坐标点的坐标,则相当于用户在设备2的屏幕上也触摸了子区域1’上的坐标为M’(1,3)的坐标点,响应于设备2点击坐标为M’(1,3)的坐标点,设备2的UI界面相应地显示内容。If the coordinate point touched by the user when clicking on the screen of device 1 is M(1, 3), this coordinate point involves sub-area 1, which corresponds to the coordinate point on device 2, and should also involve sub-area 1' of the corresponding area , combined with the coordinates of the coordinate point touched by the user, it is equivalent to that the user also touched the coordinate point on the sub-region 1' whose coordinates are M'(1,3) on the screen of the device 2, and the coordinates of the click on the device 2 are The coordinate point of M'(1, 3), the UI interface of device 2 displays the content accordingly.

情况二:用户在设备1的屏幕上滑动Case 2: The user slides on the screen of device 1

仍然假设设备1计算出的两个设备的长度之间的比值为10:140=1:14,宽度之间的比值为6:90=1:15,则设备1可以根据该比值在子区域建立xoy平面坐标系。Still assuming that the ratio between the lengths of the two devices calculated by device 1 is 10:140=1:14, and the ratio between the widths is 6:90=1:15, then device 1 can establish xoy plane coordinate system.

本申请以在子区域1与子区域2和子区域1’与子区域2’为例,如图10所示,为本申请实施例提供的一种在子区域建立xoy平面坐标系的示意图。其中,图10中的(a)为在设备1的子区域1和子区域2建立xoy平面坐标系的示意图,图10中的(b)为在设备2的子区域1’和子区域2’建立xoy平面坐标系的示意图。且在设备1和设备2上建立的xoy平面坐标系的x轴的单位长度与两个设备的长度之间的比值有关,y轴的单位长度与两个设备的宽度之间的比值有关。This application takes sub-area 1 and sub-area 2 and sub-area 1' and sub-area 2' as examples, as shown in Figure 10, which is a schematic diagram of establishing an xoy plane coordinate system in a sub-area provided by the embodiment of this application. Among them, (a) in Figure 10 is a schematic diagram of establishing the xoy plane coordinate system in sub-area 1 and sub-area 2 of equipment 1, and (b) in Figure 10 is establishing xoy in sub-area 1' and sub-area 2' of equipment 2 Schematic diagram of a planar coordinate system. In addition, the unit length of the x-axis of the xoy plane coordinate system established on device 1 and device 2 is related to the ratio between the lengths of the two devices, and the unit length of the y-axis is related to the ratio between the widths of the two devices.

类似地,由于设备1和设备2的长度之间的比值为1:14,在设备1上建立的xoy平面坐标系的x轴的单位长度与在设备2上建立的xoy平面坐标系的x轴的单位长度也为1:14;由于设备1和设备2的宽度之间的比值为1:15,在设备1上建立的xoy平面坐标系的y轴的单位长度与在设备2上建立的xoy平面坐标系的y轴的单位长度也为1:15。Similarly, since the ratio between the lengths of device 1 and device 2 is 1:14, the unit length of the x-axis of the xoy plane coordinate system established on device 1 is the same as the x-axis of the xoy plane coordinate system established on device 2 The unit length of is also 1:14; since the ratio between the width of device 1 and device 2 is 1:15, the unit length of the y-axis of the xoy plane coordinate system established on device 1 is the same as the xoy established on device 2 The unit length of the y-axis of the plane coordinate system is also 1:15.

若用户在设备1的屏幕上点击时所触摸的序列坐标点包括N1、N2、N3、N4、N5以及N6,该序列坐标点涉及子区域1和子区域2,对应于设备2上的序列坐标点,也应涉及对应区域的子区域1’和子区域2’,结合序列坐标点的坐标,则相当于用户在设备2的屏幕上也触摸了子区域1’和子区域2’上的坐标为N1’、N2’、N3’、N4’、N5’以及N6’的序列坐标点。假设序列坐标点包括N1、N2、N3、N4、N5以及N6的坐标分别为N1(3,2)、N2(4,3)、N3(5,3.3)、N4(6,3.2)、N5(7,3)以及N6(8,2.9),则序列坐标点N1’、N2’、N3’、N4’、N5’以及N6’坐标也分别为N1’(3,2)、N2’(4,3)、N3’(5,3.3)、N4’(6,3.2)、N5’(7,3)以及N6’(8,2.9)。响应于设备2触摸序列坐标为N1’、N2’、N3’、N4’、N5’以及N6’的坐标点,设备2的UI界面相应地显示内容。If the sequence coordinate points touched by the user when clicking on the screen of device 1 include N1, N2, N3, N4, N5, and N6, the sequence coordinate points involve sub-region 1 and sub-region 2, corresponding to the sequence coordinate points on device 2 , should also involve the sub-area 1' and sub-area 2' of the corresponding area, combined with the coordinates of the sequence coordinate points, it is equivalent to the user touching the coordinates of sub-area 1' and sub-area 2' on the screen of device 2 as N1' , N2', N3', N4', N5' and N6' sequence coordinate points. Assume that the coordinates of sequence coordinate points including N1, N2, N3, N4, N5 and N6 are N1 (3, 2), N2 (4, 3), N3 (5, 3.3), N4 (6, 3.2), N5 ( 7, 3) and N6 (8, 2.9), then the coordinates of sequence coordinate points N1', N2', N3', N4', N5' and N6' are also N1' (3, 2), N2' (4, 3), N3' (5, 3.3), N4' (6, 3.2), N5' (7, 3) and N6' (8, 2.9). In response to device 2 touching coordinate points whose sequence coordinates are N1', N2', N3', N4', N5' and N6', the UI interface of device 2 displays content accordingly.

需要说明的是,本申请实施例中的序列坐标点的数量可以与用户滑动轨迹的长短有关,若用户滑动的轨迹越长,则序列坐标点的数量可以越多;若用户滑动的轨迹越短,则序列坐标点的数量可以越少;不予限制。It should be noted that the number of sequence coordinate points in the embodiment of the present application can be related to the length of the user's sliding track. If the user's sliding track is longer, the number of sequence coordinate points can be more; if the user's sliding track is shorter , the number of sequence coordinate points can be less; there is no limit.

应理解,上述实施例中所示出的数值仅为举例说明,还可以为其它数值,不应对本申请造成特别限定。It should be understood that the numerical values shown in the above-mentioned embodiments are for illustration only, and other numerical values may also be used, which shall not limit the present application in particular.

本申请提供的方案,通过利用支持触摸功能的设备1操作另外不支持触摸功能的设备2,对于不支持触摸功能的设备2,可以使用户感受到触摸体验;而且不需要配套控制器或预装控制器的应用程序即可获得触摸体验,可以进一步提升用户体验。In the solution provided by this application, by using the device 1 that supports the touch function to operate the device 2 that does not support the touch function, the user can experience the touch experience for the device 2 that does not support the touch function; and does not require a supporting controller or pre-installed The application of the controller can obtain the touch experience, which can further enhance the user experience.

下面介绍本申请提供的一种显示方法的流程。请参见图11,图11示出了一种显示方法1100的示意性流程图。The flow of a display method provided by this application is introduced below. Please refer to FIG. 11 , which shows a schematic flowchart of a display method 1100 .

如图11所示,该方法1100可以包括:As shown in Figure 11, the method 1100 may include:

S1110,第一电子设备获取第二电子设备的屏幕参数。S1110. The first electronic device acquires screen parameters of the second electronic device.

可选地,在一些实施例中,所述第一电子设备支持触摸功能,所述第二电子设备不支持触摸功能。Optionally, in some embodiments, the first electronic device supports a touch function, and the second electronic device does not support a touch function.

本申请实施例中的第一电子设备可以为上述方法600中的设备1,第二电子设备可以为上述方法600中的设备2。上述方法600中是以设备1支持触摸功能,设备2不支持触摸功能为例介绍本申请的方案,通过利用支持触摸功能的设备1操作不支持触摸功能的设备2,对于不支持触摸功能的设备2,可以使用户感受到触摸体验。在一些实施例中,设备1和设备2也可以均支持触摸功能,在设备2支持触摸功能的情况下,也可以利用设备1操作设备2,如设备1为手机,设备2为Pad,虽然Pad也支持触摸功能,也可以利用手机操作Pad,不予限制。The first electronic device in this embodiment of the present application may be the device 1 in the above method 600, and the second electronic device may be the device 2 in the above method 600. In the above method 600, the solution of the present application is introduced by taking the device 1 supporting the touch function and the device 2 not supporting the touch function as an example. By using the device 1 supporting the touch function to operate the device 2 not supporting the touch function, for the device not supporting the touch function 2. It can make users feel the touch experience. In some embodiments, both device 1 and device 2 can also support the touch function. In the case that device 2 supports the touch function, device 1 can also be used to operate device 2, such as device 1 is a mobile phone, and device 2 is a Pad, although the Pad It also supports touch function, and you can also use your mobile phone to operate the Pad without limitation.

本申请实施例中的屏幕参数可以包括第二电子设备的屏幕大小,包括屏幕的长度和宽度。示例性地,如第二电子设备为电视,则第二电子设备的屏幕参数可以为140cm*90cm;如第二电子设备为电脑,则第二电子设备的屏幕参数可以为50cm*30cm。The screen parameters in this embodiment of the present application may include the screen size of the second electronic device, including the length and width of the screen. Exemplarily, if the second electronic device is a TV, the screen parameters of the second electronic device may be 140cm*90cm; if the second electronic device is a computer, the screen parameters of the second electronic device may be 50cm*30cm.

S1120,所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数计算所述第一电子设备和所述第二电子设备的屏幕比值。S1120. The first electronic device calculates a screen ratio between the first electronic device and the second electronic device according to the screen parameters of the first electronic device and the screen parameters of the second electronic device.

可选地,在一些实施例中,所述屏幕比值包括所述第一电子设备的长度与所述第二电子设备的长度的比值,和,所述第一电子设备的宽度与所述第二电子设备的宽度的比值。Optionally, in some embodiments, the screen ratio includes the ratio of the length of the first electronic device to the length of the second electronic device, and the ratio of the width of the first electronic device to the length of the second electronic device The ratio of the width of the electronic device.

本申请实施例中的屏幕比值即为上述方法600中的压缩比T。本申请实施例中的屏幕比值可以理解为第一电子设备和第二电子设备屏幕的长度之间的比值和宽度之间的比值。The screen ratio in the embodiment of the present application is the compression ratio T in the above method 600 . The screen ratio in the embodiment of the present application can be understood as the ratio between the length and the width of the screens of the first electronic device and the second electronic device.

假设第一电子设备为手机,且第一电子设备的屏幕参数可以为10cm*6cm,第二电子设备为电视,且第二电子设备的屏幕参数可以为140cm*90cm,则第一电子设备和第二电子设备的屏幕的长度之间的比值为10:140=1:14,宽度之间的比值为6:90=1:15。Assuming that the first electronic device is a mobile phone, and the screen parameters of the first electronic device can be 10cm*6cm, and the second electronic device is a TV, and the screen parameters of the second electronic device can be 140cm*90cm, then the first electronic device and the second The ratio between the lengths of the screens of the two electronic devices is 10:140=1:14, and the ratio between the widths is 6:90=1:15.

S1130,所述第一电子设备向所述第二电子设备发送所述屏幕比值。S1130. The first electronic device sends the screen ratio to the second electronic device.

S1140,检测到用户在所述第一电子设备上的操作,所述第一电子设备将所述操作对应的坐标信息发送至所述第二电子设备。S1140. Detecting a user's operation on the first electronic device, and the first electronic device sends coordinate information corresponding to the operation to the second electronic device.

本申请实施例中的坐标信息可以包括用户在设备1的屏幕上点击时所触摸的坐标点或用户在设备1的屏幕上滑动时所触摸的序列坐标点。The coordinate information in this embodiment of the present application may include coordinate points touched by the user when clicking on the screen of the device 1 or sequence coordinate points touched by the user when sliding on the screen of the device 1 .

S1150,第二电子设备接收第一电子设备发送的屏幕比值。S1150. The second electronic device receives the screen ratio sent by the first electronic device.

S1160,第二电子设备接收第一电子设备发送的坐标信息。S1160. The second electronic device receives the coordinate information sent by the first electronic device.

S1170,响应于接收所述坐标信息,所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应。S1170. In response to receiving the coordinate information, the second electronic device responds at a corresponding coordinate position according to the screen ratio and the coordinate information.

本申请实施例提供的方案,第一电子设备根据屏幕参数计算屏幕比值,并将该屏幕比值发送至第二电子设备,第二电子设备响应于接收到第一电子设备发送的坐标信息,根据该坐标信息和屏幕比值在对应坐标位置响应,通过利用支持触摸功能的第一电子设备操作另外不支持触摸功能的第二电子设备,对于不支持触摸功能的第二电子设备,可以使用户感受到触摸体验;而且不需要配套控制器或预装控制器的应用程序即可获得触摸体验,可以进一步提升用户体验。In the solution provided by the embodiment of this application, the first electronic device calculates the screen ratio according to the screen parameters, and sends the screen ratio to the second electronic device, and the second electronic device responds to receiving the coordinate information sent by the first electronic device, according to the The coordinate information and the screen ratio respond at the corresponding coordinate position. By using the first electronic device that supports the touch function to operate the second electronic device that does not support the touch function, the user can feel the touch for the second electronic device that does not support the touch function. experience; and the touch experience can be obtained without a companion controller or pre-installed controller applications, which can further enhance the user experience.

可选地,在一些实施例中,所述方法1100还包括:Optionally, in some embodiments, the method 1100 further includes:

所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,所述子区域对应关系包括对所述第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, and the sub-area correspondence includes dividing the screen of the first electronic device The N sub-regions are in one-to-one correspondence with the N sub-regions after dividing the screen of the second electronic device;

所述第一电子设备向所述第二电子设备发送所述子区域对应关系。The first electronic device sends the sub-area correspondence to the second electronic device.

对于第二电子设备:For the second electronic device:

所述第二电子设备接收子区域对应关系,所述子区域对应关系包括对第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The second electronic device receives a sub-area correspondence, and the sub-area correspondence includes N sub-areas after dividing the screen of the first electronic device and N sub-areas after dividing the screen of the second electronic device. correspond;

所述第二电子设备根据所述比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the ratio and the coordinate information, including:

所述第二电子设备根据所述比值和所述坐标信息,以及所述子区域对应关系在对应坐标位置进行响应。The second electronic device responds at the corresponding coordinate position according to the ratio, the coordinate information, and the sub-area correspondence.

本申请实施例中,第一电子设备根据屏幕比值确定第一电子设备和第二电子设备的子区域对应关系的内容请参考上述步骤S650的相关描述,第二电子设备根据比值和坐标信息,以及子区域对应关系在对应坐标位置进行响应的内容请参考上述步骤S670的相关描述,不再赘述。In this embodiment of the present application, the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio. Please refer to the relevant description of the above step S650. Please refer to the relevant description of the above-mentioned step S670 for the content of the response of the sub-area correspondence at the corresponding coordinate position, and will not be repeated here.

本申请实施例提供的方案,第一电子设备根据屏幕比值确定第一电子设备和第二电子设备的子区域对应关系,并将该子区域对应关系发送至第二电子设备,第二电子设备根据该子区域对应关系在对应坐标位置响应,由于子区域对应关系可以为用户提供一个大概的对应关系范围,可以提高用户利用第一电子设备操作第二电子设备的效率,从而可以进一步提升用户体验。In the solution provided by the embodiment of the present application, the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, and sends the sub-area correspondence to the second electronic device, and the second electronic device according to The sub-area correspondence corresponds to the corresponding coordinate position, since the sub-area correspondence can provide the user with a rough correspondence range, which can improve the efficiency of the user operating the second electronic device by using the first electronic device, thereby further improving user experience.

可选地,在一些实施例中,所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,包括:Optionally, in some embodiments, the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, including:

所述第一电子设备根据所述屏幕比值将所述第一电子设备和所述第二电子设备的屏幕均划分为所述N个子区域;The first electronic device divides the screens of the first electronic device and the second electronic device into the N sub-regions according to the screen ratio;

所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数确定所述第一电子设备的屏幕划分后的N个子区域与所述第二电子设备的屏幕划分后的N个子区域的所述子区域对应关系。The first electronic device determines, according to the screen parameters of the first electronic device and the screen parameters of the second electronic device, the divided N sub-regions of the screen of the first electronic device and the screen of the second electronic device The correspondence between the sub-regions of the divided N sub-regions.

关于第一电子设备根据屏幕比值确定第一电子设备和第二电子设备的子区域对应关系的内容请参考上述步骤S650的相关描述,不再赘述。For the content of the first electronic device determining the corresponding relationship between the sub-regions of the first electronic device and the second electronic device according to the screen ratio, please refer to the relevant description of the above step S650, and details will not be repeated.

本申请实施例提供的方案,第一电子设备根据屏幕比值将第一电子设备和第二电子设备均划分为所述N个子区域,并根据第一电子设备的屏幕参数和第二电子设备的屏幕参数确定设备划分后的N个子区域的子区域对应关系,可以提高子区域对应关系的准确度。In the solution provided by the embodiment of the present application, the first electronic device divides the first electronic device and the second electronic device into the N sub-regions according to the screen ratio, and according to the screen parameters of the first electronic device and the screen of the second electronic device The parameter determines the sub-area correspondence between the N sub-areas divided by the device, which can improve the accuracy of the sub-area correspondence.

可选地,在一些实施例中,所述方法1100还包括:Optionally, in some embodiments, the method 1100 further includes:

所述第二电子设备根据所述屏幕比值在所述第二电子设备建立平面坐标系;The second electronic device establishes a plane coordinate system on the second electronic device according to the screen ratio;

所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the screen ratio and the coordinate information, including:

所述第二电子设备根据所述屏幕比值和所述坐标信息在所述平面坐标系上的对应坐标位置进行响应。The second electronic device responds according to the screen ratio and the corresponding coordinate position of the coordinate information on the plane coordinate system.

本申请实施例中,第二电子设备根据屏幕比值建立平面坐标系,以及根据屏幕比值和坐标信息在所建立的平面坐标系上的对应坐标位置进行响应的内容请参考上述步骤S670的相关描述,不再赘述。In the embodiment of the present application, the second electronic device establishes a plane coordinate system according to the screen ratio, and responds to the corresponding coordinate position on the established plane coordinate system according to the screen ratio and coordinate information, please refer to the relevant description of the above step S670. No longer.

本申请实施例提供的方案,第二电子设备根据屏幕比值在第二电子设备建立平面坐标系,并根据屏幕比值和坐标信息在所建立的平面坐标系上的对应坐标位置进行响应,可以提升第二电子设备在对应位置进行响应的准确性。In the solution provided by the embodiment of the present application, the second electronic device establishes a plane coordinate system on the second electronic device according to the screen ratio, and responds to the corresponding coordinate position on the established plane coordinate system according to the screen ratio and coordinate information, which can improve the second electronic device. 2. The accuracy with which the electronic equipment responds at the corresponding position.

可选地,在一些实施例中,所述操作包括点击或滑动。Optionally, in some embodiments, the operation includes clicking or sliding.

可选地,在一些实施例中,所述操作为所述点击,所述坐标信息包括一个坐标点的信息;或,Optionally, in some embodiments, the operation is the click, and the coordinate information includes information of a coordinate point; or,

所述操作为所述滑动,所述坐标信息包括多个坐标点的信息。The operation is the sliding, and the coordinate information includes information of a plurality of coordinate points.

本申请实施例中的操作可以包括点击或滑动,如上述图4中的(f)所示的GUI中“用户点击图库的图标305的操作”,或者,上述图5中的(f)所示的GUI中“用户按照图中所示的方向进行滑动的操作”。The operation in the embodiment of the present application may include clicking or sliding, such as "the user clicks the operation of the icon 305 of the gallery" in the GUI shown in (f) in Figure 4 above, or, as shown in (f) in Figure 5 above "The user slides in the direction shown in the figure" in the GUI.

本申请实施例提供的方案,检测到用户在第一电子设备上的操作,第一电子设备将操作对应的坐标信息发送至第二电子设备,若该操作为点击,则坐标信息包括一个坐标点的信息;若该操作为滑动,则坐标信息包括多个坐标点的信息,第二电子设备根据坐标信息在对应位置响应,可以提升响应的准确性。The solution provided by the embodiment of the present application detects the user's operation on the first electronic device, and the first electronic device sends the coordinate information corresponding to the operation to the second electronic device. If the operation is a click, the coordinate information includes a coordinate point information; if the operation is sliding, the coordinate information includes information of multiple coordinate points, and the second electronic device responds at the corresponding position according to the coordinate information, which can improve the accuracy of the response.

可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above functions, the electronic device includes hardware and/or software modules corresponding to each function. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the functional modules of the electronic device may be divided according to the above method example. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above integrated modules may be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division methods in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图12示出了上述实施例中涉及的电子设备1200的一种可能的组成示意图,如图12所示,该电子设备1200可以包括:获取模块1210和计算模块1220以及收发模块1230。In the case of dividing each functional module corresponding to each function, FIG. 12 shows a possible composition diagram of the electronic device 1200 involved in the above embodiment. As shown in FIG. 12 , the electronic device 1200 may include: an acquisition module 1210 and computing module 1220 and transceiver module 1230 .

其中,获取模块1210可以用于支持电子设备1200执行上述步骤S1110等,和/或用于本文所描述的技术的其他过程。Wherein, the acquiring module 1210 may be used to support the electronic device 1200 to execute the above step S1110, etc., and/or be used in other processes of the technologies described herein.

计算模块1220可以用于支持电子设备1200执行上述步骤S1120等,和/或用于本文所描述的技术的其他过程。The calculation module 1220 may be used to support the electronic device 1200 to execute the above step S1120 and/or other processes of the technology described herein.

收发模块1230可以用于支持电子设备1200执行上述步骤S1130、S1140等,和/或用于本文所描述的技术的其他过程。The transceiver module 1230 may be used to support the electronic device 1200 to execute the above steps S1130, S1140, etc., and/or other processes for the technologies described herein.

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.

图13示出了上述实施例中涉及的电子设备1300的一种可能的组成示意图,如图12所示,该电子设备1300可以包括:收发模块1310和响应模块1320。FIG. 13 shows a schematic diagram of a possible composition of the electronic device 1300 involved in the above embodiment. As shown in FIG. 12 , the electronic device 1300 may include: a transceiver module 1310 and a response module 1320 .

其中,收发模块1310可以用于支持电子设备1300执行上述步骤S1150、S1160等,和/或用于本文所描述的技术的其他过程。Wherein, the transceiver module 1310 may be used to support the electronic device 1300 to execute the above steps S1150, S1160, etc., and/or other processes for the technologies described herein.

响应模块1320可以用于支持电子设备1300执行上述步骤S1170等,和/或用于本文所描述的技术的其他过程。The response module 1320 may be used to support the electronic device 1300 to execute the above step S1170 and/or other processes of the technologies described herein.

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.

本实施例提供的电子设备,用于执行上述本申请的方法,因此可以达到与上述实现方法相同的效果。The electronic device provided in this embodiment is used to execute the above-mentioned method of the present application, so the same effect as the above-mentioned implementation method can be achieved.

在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述各个单元执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。In the case of an integrated unit, the electronic device may include a processing module, a memory module and a communication module. Wherein, the processing module may be used to control and manage the actions of the electronic device, for example, may be used to support the electronic device to execute the steps performed by the above-mentioned units. The memory module can be used to support electronic devices to execute stored program codes and data, and the like. The communication module can be used to support the communication between the electronic device and other devices.

其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。Wherein, the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like. The storage module may be a memory. Specifically, the communication module may be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.

在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .

图14示出了上述实施例涉及的电子设备800的另一种可能的组成示意图,如图14所示,该电子设备800可以包括通信单元810、输入单元820、处理单元830、输出单元(或也可以称为显示单元)840、外设接口850、存储单元860、电源870、视频解码器880以及音频解码器890。FIG. 14 shows a schematic diagram of another possible composition of the electronic device 800 involved in the above-mentioned embodiment. As shown in FIG. It may also be referred to as a display unit) 840 , a peripheral interface 850 , a storage unit 860 , a power supply 870 , a video decoder 880 and an audio decoder 890 .

通信单元810用于建立通信信道,使电子设备800通过所述通信信道以连接至远程服务器,并从所述远程服务器下媒体数据。所述通信单元810可以包括WLAN模块、蓝牙模块、NFC模块、基带模块等通信模块,以及所述通信模块对应的射频(Radio Frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、NFC通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(wideband code division multiple access,W-CDMA)及/或高速下行封包存取(high speed downlink packet access,HSDPA)。所述通信模块810用于控制电子设备中的各组件的通信,并且可以支持直接内存存取。The communication unit 810 is used to establish a communication channel, so that the electronic device 800 can connect to a remote server through the communication channel, and download media data from the remote server. The communication unit 810 may include communication modules such as a WLAN module, a Bluetooth module, an NFC module, and a baseband module, and a radio frequency (Radio Frequency, referred to as RF) circuit corresponding to the communication module, for performing wireless local area network communication, Bluetooth communication, NFC communication, infrared communication and/or cellular communication system communication, such as wideband code division multiple access (W-CDMA) and/or high speed downlink packet access (HSDPA). The communication module 810 is used to control the communication of various components in the electronic device, and can support direct memory access.

输入单元820可以用于实现用户与电子设备的交互和/或信息输入到电子设备中。在本申请具体实施方式中,输入单元可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。The input unit 820 may be used to implement user interaction with the electronic device and/or input information into the electronic device. In a specific embodiment of the present application, the input unit may be a touch panel, or other human-computer interaction interface, such as physical input keys, a microphone, etc., or other external information acquisition devices, such as a camera.

处理单元830为电子设备的控制中心,可以利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储单元内的软件程序和/或模块,以及调用存储在存储单元内的数据,以执行电子设备的各种功能和/或处理数据。The processing unit 830 is the control center of the electronic device, which can use various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the storage unit, and calling the stored in the storage unit data to perform various functions of electronic devices and/or to process data.

输出单元840包括但不限于影像输出单元和声音输出单元。影像输出单元用于输出文字、图片和/或视频。在本申请的具体实施方式中,上述输入单元820所采用的触控面板亦可同时作为输出单元840的显示面板。例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理单元以确定触摸事件的类型,随后处理单元根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图14中,输入单元820与输出单元840是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现电子设备的输入和输出功能。例如,所述影像输出单元可以显示各种图形化用户接口以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。The output unit 840 includes but not limited to an image output unit and a sound output unit. The image output unit is used for outputting text, pictures and/or videos. In a specific implementation manner of the present application, the touch panel adopted by the input unit 820 may also serve as the display panel of the output unit 840 at the same time. For example, when the touch panel detects a touch or approach gesture operation on it, it transmits to the processing unit to determine the type of the touch event, and then the processing unit provides corresponding visual output on the display panel according to the type of the touch event. Although in FIG. 14, the input unit 820 and the output unit 840 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel and the display panel can be integrated to realize Input and output functions of electronic devices. For example, the image output unit can display various graphical user interfaces as virtual control components, including but not limited to windows, scrolling shafts, icons, and scrapbooks, for users to operate by touch.

本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的方法。This embodiment also provides a computer storage medium, in which computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device is made to execute the above related method steps to implement the method in the above embodiment.

本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the method in the above-mentioned embodiment.

另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的方法。In addition, an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the methods in the foregoing method embodiments.

其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application. The above-mentioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, and various media capable of storing program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (14)

1.一种显示方法,其特征在于,所述方法应用于第一电子设备,所述方法包括:1. A display method, wherein the method is applied to a first electronic device, and the method comprises: 所述第一电子设备获取第二电子设备的屏幕参数;The first electronic device acquires screen parameters of the second electronic device; 所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数计算所述第一电子设备和所述第二电子设备的屏幕比值;The first electronic device calculates a screen ratio between the first electronic device and the second electronic device according to the screen parameters of the first electronic device and the screen parameters of the second electronic device; 所述第一电子设备向所述第二电子设备发送所述屏幕比值;The first electronic device sends the screen ratio to the second electronic device; 检测到用户在所述第一电子设备上的操作,所述第一电子设备将所述操作对应的坐标信息发送至所述第二电子设备。An operation of the user on the first electronic device is detected, and the first electronic device sends coordinate information corresponding to the operation to the second electronic device. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,所述子区域对应关系包括对所述第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, and the sub-area correspondence includes dividing the screen of the first electronic device The N sub-regions are in one-to-one correspondence with the N sub-regions after dividing the screen of the second electronic device; 所述第一电子设备向所述第二电子设备发送所述子区域对应关系。The first electronic device sends the sub-area correspondence to the second electronic device. 3.根据权利要求2所述的方法,其特征在于,所述第一电子设备根据所述屏幕比值确定所述第一电子设备和所述第二电子设备的子区域对应关系,包括:3. The method according to claim 2, wherein the first electronic device determines the sub-area correspondence between the first electronic device and the second electronic device according to the screen ratio, comprising: 所述第一电子设备根据所述屏幕比值将所述第一电子设备和所述第二电子设备的屏幕均划分为所述N个子区域;The first electronic device divides the screens of the first electronic device and the second electronic device into the N sub-regions according to the screen ratio; 所述第一电子设备根据所述第一电子设备的屏幕参数和所述第二电子设备的屏幕参数确定所述第一电子设备的屏幕划分后的N个子区域与所述第二电子设备的屏幕划分后的N个子区域的所述子区域对应关系。The first electronic device determines, according to the screen parameters of the first electronic device and the screen parameters of the second electronic device, the divided N sub-regions of the screen of the first electronic device and the screen of the second electronic device The sub-area correspondence of the divided N sub-areas. 4.根据权利要求1至3中任一项所述的方法,其特征在于,所述屏幕比值包括所述第一电子设备的长度与所述第二电子设备的长度的比值,和,所述第一电子设备的宽度与所述第二电子设备的宽度的比值。4. The method according to any one of claims 1 to 3, wherein the screen ratio comprises a ratio of the length of the first electronic device to the length of the second electronic device, and the The ratio of the width of the first electronic device to the width of the second electronic device. 5.根据权利要求1至4中任一项所述的方法,其特征在于,所述操作包括点击或滑动。5. The method according to any one of claims 1 to 4, wherein the operation comprises clicking or sliding. 6.根据权利要求5所述的方法,其特征在于,所述操作为所述点击,所述坐标信息包括一个坐标点的信息;或,6. The method according to claim 5, wherein the operation is the click, and the coordinate information includes information of a coordinate point; or, 所述操作为所述滑动,所述坐标信息包括多个坐标点的信息。The operation is the sliding, and the coordinate information includes information of a plurality of coordinate points. 7.一种显示方法,其特征在于,所述方法应用于第二电子设备,所述方法包括:7. A display method, characterized in that the method is applied to a second electronic device, and the method comprises: 所述第二电子设备接收所述第一电子设备发送的屏幕比值;The second electronic device receives the screen ratio sent by the first electronic device; 所述第二电子设备接收所述第一电子设备发送的坐标信息;The second electronic device receives the coordinate information sent by the first electronic device; 响应于接收所述坐标信息,所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应。In response to receiving the coordinate information, the second electronic device responds at a corresponding coordinate position according to the screen ratio and the coordinate information. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, further comprising: 所述第二电子设备接收子区域对应关系,所述子区域对应关系包括对第一电子设备的屏幕划分后的N个子区域与对所述第二电子设备的屏幕划分后的N个子区域一一对应;The second electronic device receives a sub-area correspondence, and the sub-area correspondence includes N sub-areas after dividing the screen of the first electronic device and N sub-areas after dividing the screen of the second electronic device. correspond; 所述第二电子设备根据所述比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the ratio and the coordinate information, including: 所述第二电子设备根据所述比值和所述坐标信息,以及所述子区域对应关系在对应坐标位置进行响应。The second electronic device responds at the corresponding coordinate position according to the ratio, the coordinate information, and the sub-area correspondence. 9.根据权利要求7或8所述的方法,其特征在于,所述方法还包括:9. The method according to claim 7 or 8, wherein the method further comprises: 所述第二电子设备根据所述屏幕比值在所述第二电子设备建立平面坐标系;The second electronic device establishes a plane coordinate system on the second electronic device according to the screen ratio; 所述第二电子设备根据所述屏幕比值和所述坐标信息在对应坐标位置进行响应,包括:The second electronic device responds at the corresponding coordinate position according to the screen ratio and the coordinate information, including: 所述第二电子设备根据所述屏幕比值和所述坐标信息在所述平面坐标系上的对应坐标位置进行响应。The second electronic device responds according to the screen ratio and the corresponding coordinate position of the coordinate information on the plane coordinate system. 10.根据权利要求7至9中任一项所述的方法,其特征在于,所述屏幕比值包括第一电子设备的长度与所述第二电子设备的长度的比值,和,所述第一电子设备的宽度与所述第二电子设备的宽度的比值。10. The method according to any one of claims 7 to 9, wherein the screen ratio comprises a ratio of the length of the first electronic device to the length of the second electronic device, and the first A ratio of the width of the electronic device to the width of the second electronic device. 11.一种电子设备,其特征在于,包括:11. An electronic device, characterized in that it comprises: 一个或多个处理器;one or more processors; 一个或多个存储器;one or more memories; 所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1至6或7至10中任一项所述的方法。The one or more memories store one or more computer programs comprising instructions which, when executed by the one or more processors, cause the electronic device to perform, for example, The method according to any one of claims 1 to 6 or 7 to 10. 12.一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得如权利要求1至6或7至10中任一所述的方法在所述电子设备上的功能得以实现。12. A system on a chip, characterized in that the system on a chip comprises at least one processor, and when program instructions are executed in the at least one processor, such that any one of claims 1 to 6 or 7 to 10 The function of the above-mentioned method on the electronic device is realized. 13.一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至6或7至10中任一项所述的方法。13. A computer storage medium, characterized in that it includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device is made to perform the operation described in any one of claims 1 to 6 or 7 to 10. Methods. 14.一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至6或7至10中任一项所述的方法。14. A computer program product, characterized in that, when the computer program product is run on a computer, the computer is made to execute the method according to any one of claims 1 to 6 or 7 to 10.
CN202111373773.0A 2021-11-19 2021-11-19 Display method and electronic device Pending CN116149501A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111373773.0A CN116149501A (en) 2021-11-19 2021-11-19 Display method and electronic device
PCT/CN2022/129136 WO2023088093A1 (en) 2021-11-19 2022-11-02 Display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111373773.0A CN116149501A (en) 2021-11-19 2021-11-19 Display method and electronic device

Publications (1)

Publication Number Publication Date
CN116149501A true CN116149501A (en) 2023-05-23

Family

ID=86354850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111373773.0A Pending CN116149501A (en) 2021-11-19 2021-11-19 Display method and electronic device

Country Status (2)

Country Link
CN (1) CN116149501A (en)
WO (1) WO2023088093A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025107801A1 (en) * 2023-11-23 2025-05-30 华为技术有限公司 Information sending method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025678A1 (en) * 2001-08-04 2003-02-06 Samsung Electronics Co., Ltd. Apparatus with touch screen and method for displaying information through external display device connected thereto
CN102880416A (en) * 2012-08-31 2013-01-16 广东欧珀移动通信有限公司 Remote control unlocking method for mobile equipment in remote control protocol (RCP) communication process
CN104639962A (en) * 2015-02-02 2015-05-20 惠州Tcl移动通信有限公司 Method and system for realizing television touch control
CN104657211A (en) * 2015-02-03 2015-05-27 百度在线网络技术(北京)有限公司 Method and equipment used for operating target application on corresponding equipment
CN105022529A (en) * 2015-07-28 2015-11-04 亚洲图灵机器人工业有限公司 Method and terminal for mapping touch operation on side touch screen to main touch screen
CN112218134A (en) * 2020-09-08 2021-01-12 华为技术加拿大有限公司 An input method and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999284B (en) * 2011-09-13 2015-09-23 联想(北京)有限公司 Transmission method and electronic equipment
CN103365572B (en) * 2012-03-26 2018-07-03 联想(北京)有限公司 The remote control method and electronic equipment of a kind of electronic equipment
CN103530043A (en) * 2012-07-02 2014-01-22 腾讯科技(深圳)有限公司 Operation method and device for touch screen application program
US10585637B2 (en) * 2017-03-27 2020-03-10 Lenovo (Beijing) Co., Ltd. Information processing method and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025678A1 (en) * 2001-08-04 2003-02-06 Samsung Electronics Co., Ltd. Apparatus with touch screen and method for displaying information through external display device connected thereto
CN102880416A (en) * 2012-08-31 2013-01-16 广东欧珀移动通信有限公司 Remote control unlocking method for mobile equipment in remote control protocol (RCP) communication process
CN104639962A (en) * 2015-02-02 2015-05-20 惠州Tcl移动通信有限公司 Method and system for realizing television touch control
CN104657211A (en) * 2015-02-03 2015-05-27 百度在线网络技术(北京)有限公司 Method and equipment used for operating target application on corresponding equipment
CN105022529A (en) * 2015-07-28 2015-11-04 亚洲图灵机器人工业有限公司 Method and terminal for mapping touch operation on side touch screen to main touch screen
CN112218134A (en) * 2020-09-08 2021-01-12 华为技术加拿大有限公司 An input method and related device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025107801A1 (en) * 2023-11-23 2025-05-30 华为技术有限公司 Information sending method and electronic device

Also Published As

Publication number Publication date
WO2023088093A1 (en) 2023-05-25

Similar Documents

Publication Publication Date Title
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN110471639B (en) Display method and related device
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
WO2020238774A1 (en) Notification message preview method and electronic device
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
WO2021000881A1 (en) Screen splitting method and electronic device
CN117908733A (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN111602108B (en) Application icon display method and terminal
WO2021036571A1 (en) Desktop editing method and electronic device
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device
WO2021063098A1 (en) Touch screen response method, and electronic device
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
EP3958106B1 (en) Interface display method and electronic device
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2021042878A1 (en) Photography method and electronic device
CN112130788A (en) A content sharing method and device thereof
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device
WO2021078032A1 (en) User interface display method and electronic device
CN110471604A (en) A kind of more application switching methods and relevant apparatus
WO2022228043A1 (en) Display method, electronic device, storage medium and program product
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
WO2023098417A1 (en) Interface display method and apparatus
CN114764300B (en) A window page interaction method, device, electronic device and readable storage medium
CN116798418A (en) Control method and device based on voice assistant
WO2023088093A1 (en) Display method and electronic device

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