[go: up one dir, main page]

CN113973140B - Device control method, device, storage medium and electronic device - Google Patents

Device control method, device, storage medium and electronic device Download PDF

Info

Publication number
CN113973140B
CN113973140B CN202010711952.XA CN202010711952A CN113973140B CN 113973140 B CN113973140 B CN 113973140B CN 202010711952 A CN202010711952 A CN 202010711952A CN 113973140 B CN113973140 B CN 113973140B
Authority
CN
China
Prior art keywords
display screen
electronic device
call
retractable
target content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010711952.XA
Other languages
Chinese (zh)
Other versions
CN113973140A (en
Inventor
蒋燚
马标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010711952.XA priority Critical patent/CN113973140B/en
Priority to PCT/CN2021/099190 priority patent/WO2022017045A1/en
Publication of CN113973140A publication Critical patent/CN113973140A/en
Application granted granted Critical
Publication of CN113973140B publication Critical patent/CN113973140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Set Structure (AREA)

Abstract

本申请公开了一种设备控制方法、装置、存储介质及电子设备。该设备控制方法可以应用于电子设备,该电子设备包括可伸缩的显示屏,该方法包括:在接收到通话的请求后,检测该可伸缩的显示屏是否进行了伸展操作;若检测到该可伸缩的显示屏进行了伸展操作,则接通该通话。本申请可以提高电子设备的可操作性。

Figure 202010711952

The present application discloses a device control method, device, storage medium and electronic device. The device control method can be applied to an electronic device, the electronic device includes a retractable display screen, and the method includes: after receiving a call request, detecting whether the retractable display screen is stretched; if the retractable display screen is detected The telescopic display screen is stretched and the call is connected. The present application can improve the operability of electronic equipment.

Figure 202010711952

Description

设备控制方法、装置、存储介质及电子设备Device control method, device, storage medium and electronic device

技术领域technical field

本申请属于电子设备技术领域,尤其涉及一种设备控制方法、装置、存储介质及电子设备。The present application belongs to the technical field of electronic devices, and in particular, relates to a device control method, device, storage medium and electronic device.

背景技术Background technique

随着技术的不断发展,电子设备的形态也在发生变化。从小屏幕发展到大屏幕,从单纯的用于显示图像和文字的显示屏发展到可以接收用户触摸操作的触摸显示屏,等等。然而,相关技术中,用户操作电子设备时仍然不够灵活。即,电子设备的可操作性不高。With the continuous development of technology, the form of electronic equipment is also changing. From a small screen to a large screen, from a simple display screen for displaying images and text to a touch display screen that can receive user touch operations, and so on. However, in the related art, the user is still not flexible enough to operate the electronic device. That is, the operability of the electronic device is not high.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种设备控制方法、装置、存储介质及电子设备,可以提高电子设备的可操作性。Embodiments of the present application provide a device control method, device, storage medium, and electronic device, which can improve the operability of the electronic device.

第一方面,本申请实施例提供一种设备控制方法,应用于电子设备,所述电子设备包括可伸缩的显示屏,所述方法包括:In a first aspect, an embodiment of the present application provides a device control method, which is applied to an electronic device, where the electronic device includes a retractable display screen, and the method includes:

在接收到通话的请求后,检测所述可伸缩的显示屏是否进行了伸展操作;After receiving the call request, detect whether the stretchable display screen has been stretched;

若检测到所述可伸缩的显示屏进行了伸展操作,则接通所述通话。If it is detected that the retractable display screen is stretched, the call is connected.

第二方面,本申请实施例提供一种设备控制装置,应用于电子设备,所述电子设备包括可伸缩的显示屏,所述装置包括:In a second aspect, an embodiment of the present application provides a device control device, which is applied to an electronic device, where the electronic device includes a retractable display screen, and the device includes:

检测模块,用于在接收到通话的请求后,检测所述可伸缩的显示屏是否进行了伸展操作;a detection module, configured to detect whether the stretchable display screen is stretched after receiving the call request;

处理模块,用于若检测到所述可伸缩的显示屏进行了伸展操作,则接通所述通话。The processing module is configured to connect the call if it is detected that the retractable display screen is stretched.

第三方面,本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例提供的设备控制方法中的流程。In a third aspect, the embodiments of the present application provide a storage medium on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the process in the device control method provided by the embodiments of the present application.

第四方面,本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例提供的设备控制方法中的流程。In a fourth aspect, an embodiment of the present application further provides an electronic device, including a memory and a processor, where the processor is configured to execute the method in the device control method provided by the embodiment of the present application by invoking a computer program stored in the memory. process.

本申请实施例中,电子设备可以在接收到通话的请求后检测可伸缩的显示屏是否进行了伸展操作。若检测到可伸缩的显示屏进行了伸展操作,那么电子设备可以接通该通话。由于本实施例中电子设备可以根据可伸缩的显示屏的伸展操作来接通通话,因此本实施例提高了电子设备的可操作性。In this embodiment of the present application, the electronic device may detect whether the stretchable display screen is stretched after receiving the call request. If it is detected that the retractable display screen is stretched, the electronic device can connect the call. Since the electronic device in this embodiment can make a call according to the stretching operation of the retractable display screen, this embodiment improves the operability of the electronic device.

附图说明Description of drawings

下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。The technical solutions of the present application and the beneficial effects thereof will be apparent through the detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings.

图1至图6为本申请实施例提供的具有可伸缩的显示屏的电子设备的结构示意图。1 to 6 are schematic structural diagrams of an electronic device having a retractable display screen according to an embodiment of the present application.

图7是本申请实施例提供的设备控制方法的流程示意图。FIG. 7 is a schematic flowchart of a device control method provided by an embodiment of the present application.

图8是本申请实施例提供的设备控制方法的另一流程示意图。FIG. 8 is another schematic flowchart of a device control method provided by an embodiment of the present application.

图9至图16是本申请实施例提供的设备控制方法的各种场景示意图。9 to 16 are schematic diagrams of various scenarios of the device control method provided by the embodiments of the present application.

图17是本申请实施例提供的设备控制装置的结构示意图。FIG. 17 is a schematic structural diagram of a device control apparatus provided by an embodiment of the present application.

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

图19是本申请实施例提供的电子设备的另一结构示意图。FIG. 19 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, wherein the same component symbols represent the same components, and the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application and should not be construed as limiting other specific embodiments of the present application not detailed herein.

请参阅图1至图3,图1至图3是本申请实施例提供的具有可伸缩的触摸显示屏的电子设备的结构示意图。Please refer to FIG. 1 to FIG. 3 . FIG. 1 to FIG. 3 are schematic structural diagrams of an electronic device with a retractable touch display screen provided by an embodiment of the present application.

本实施方式的电子设备100包括壳体组件10、柔性显示屏30、带动件50及驱动机构70。壳体组件10为中空结构。带动件50、驱动机构70以及摄像头90等组件均可设置在壳体组件10。可以理解的是,本申请实施方式的电子设备100包括但不限于手机、平板电脑等移动终端或者其它便携式电子设备。在本文中,以电子设备100为手机为例进行说明。The electronic device 100 of this embodiment includes a housing assembly 10 , a flexible display screen 30 , a driving member 50 and a driving mechanism 70 . The housing assembly 10 is a hollow structure. Components such as the driving member 50 , the driving mechanism 70 and the camera 90 can all be arranged in the housing assembly 10 . It can be understood that the electronic device 100 in the embodiments of the present application includes, but is not limited to, mobile terminals such as mobile phones and tablet computers, or other portable electronic devices. In this document, the electronic device 100 is a mobile phone as an example for description.

在本实施方式中,壳体组件10包括第一壳体12和第二壳体14,第一壳体12和第二壳体14能够相对运动。在本实施方式中,第一壳体12和第二壳体14滑动连接,也即是说,第二壳体14能够相对第一壳体12滑动。In this embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are capable of relative movement. In this embodiment, the first casing 12 and the second casing 14 are slidably connected, that is, the second casing 14 can slide relative to the first casing 12 .

请参阅图4及图5,第一壳体12与第二壳体14共同形成有容置空间16。容置空间16可用于放置带动件50、摄像头60及驱动机构70等部件。壳体组件10还可包括后盖18,后盖18与第一壳体12与第二壳体14共同形成容置空间16。Please refer to FIG. 4 and FIG. 5 , the first casing 12 and the second casing 14 together form an accommodating space 16 . The accommodating space 16 can be used to accommodate components such as the driving member 50 , the camera 60 and the driving mechanism 70 . The housing assembly 10 may further include a rear cover 18 , and the rear cover 18 and the first housing 12 and the second housing 14 together form an accommodating space 16 .

带动件50设置于第二壳体14,柔性显示屏30的一端设置于第一壳体12,柔性显示屏30绕过带动件50,且柔性显示屏的另一端设置于容置空间16内,以使部分柔性显示屏隐藏于容置空间16内,隐藏于容置空间16内的部分柔性显示屏30可不点亮。第一壳体12和第二壳体14相对远离,可通过带动件50带动柔性显示屏30展开,以使得更多的柔性显示屏30暴露于容置空间16外,如图5所示。点亮暴露于容置空间16外部的柔性显示屏30,以使得电子设备100所呈现的显示区域变大。例如,从图1至图2可以为电子设备的柔性显示屏30从收缩状态到横向伸展状态的形态变化对比。The driving member 50 is arranged on the second housing 14 , one end of the flexible display screen 30 is arranged on the first housing 12 , the flexible display screen 30 bypasses the driving member 50 , and the other end of the flexible display screen is arranged in the accommodating space 16 , In order to hide part of the flexible display screen in the accommodating space 16 , the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit. The first casing 12 and the second casing 14 are relatively far apart, and the flexible display screen 30 can be driven to expand by the driving member 50 , so that more flexible display screens 30 are exposed outside the accommodating space 16 , as shown in FIG. 5 . The flexible display screen 30 exposed outside the accommodating space 16 is lit, so that the display area presented by the electronic device 100 becomes larger. For example, FIG. 1 to FIG. 2 can be a comparison of the morphological changes of the flexible display screen 30 of the electronic device from the retracted state to the laterally extended state.

带动件50可为外部带有齿52的转轴结构,柔性显示屏30通过啮合等方式与带动件50相联动,第一壳体12和第二壳体14相对远离时,通过带动件50带动啮合于带动件50上的部分柔性显示屏30移动并展开。The driving member 50 can be a rotating shaft structure with teeth 52 on the outside. The flexible display screen 30 is linked with the driving member 50 by means of meshing or the like. When the first housing 12 and the second housing 14 are relatively far away, the driving member 50 drives the engagement Part of the flexible display screen 30 on the driving member 50 moves and unfolds.

可以理解的是,带动件50还可为不附带齿52的圆轴,第一壳体12和第二壳体14相对远离时,通过带动件50将卷绕于带动件50上的部分柔性显示屏30撑开,以使更多的柔性显示屏暴露于容置空间16外,并处于平展状态。具体的,带动件50可转动地设置于第二壳体14,在逐步撑开柔性显示屏30时,带动件50可随柔性显示屏30的移动而转动。It can be understood that the driving member 50 can also be a circular shaft without the teeth 52 . When the first housing 12 and the second housing 14 are relatively far away, the driving member 50 will display a part of the flexible display that is wound on the driving member 50 . The screen 30 is stretched so that more flexible display screens are exposed outside the accommodating space 16 and are in a flat state. Specifically, the driving member 50 is rotatably disposed on the second housing 14 , and when the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30 .

在其它实施方式中,带动件50也可固定在第二壳体14上,带动件50具备光滑的表面。在将柔性显示屏30撑开时,带动件50通过其光滑的表面与柔性显示屏30可滑动接触。In other embodiments, the driving member 50 can also be fixed on the second housing 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is stretched, the driving member 50 can slidably contact the flexible display screen 30 through its smooth surface.

当第一壳体12和第二壳体14相对靠近时,柔性显示屏可通过带动件50带动收回。或者,电子设备100还包括复位件(图未示),柔性显示屏收容于容置空间16的一端与复位件联动,在第一壳体12和第二壳体14相对靠近时,复位件带动柔性显示屏30复位,进而使得部分柔性显示屏收回于容置空间16内。When the first casing 12 and the second casing 14 are relatively close to each other, the flexible display screen can be driven and retracted by the driving member 50 . Alternatively, the electronic device 100 further includes a reset member (not shown). One end of the flexible display screen accommodated in the accommodating space 16 is linked with the reset member. When the first housing 12 and the second housing 14 are relatively close, the reset member drives The flexible display screen 30 is reset, so that part of the flexible display screen is retracted into the accommodating space 16 .

在本实施方式中,驱动机构70可设置在容置空间16内,驱动机构70可与第二壳体14相联动,驱动机构70用于驱动第二壳体14相对于第一壳体12做相离运动,进而带动柔性显示屏组件30伸展。可以理解的是,驱动机构70也可以省略,用户可以直接通过手动等方式来使得第一壳体和第二壳体相对运动。In this embodiment, the driving mechanism 70 can be disposed in the accommodating space 16 , the driving mechanism 70 can be linked with the second casing 14 , and the driving mechanism 70 is used to drive the second casing 14 to move relative to the first casing 12 . They move away from each other, thereby driving the flexible display screen assembly 30 to stretch. It can be understood that, the driving mechanism 70 can also be omitted, and the user can directly move the first housing and the second housing relative to each other by manual means.

需要说明的是,除了按照图1至图5的硬件排布设计使柔性显示屏可以在电子设备的横向方向上进行伸缩(例如在左右方向上进行的伸缩)外,在其它一些实施方式中,还可以改变硬件排布设计的方向使得柔性显示屏可以在电子设备的纵向方向上进行伸缩(例如在上下方向上进行的伸缩),如图6所示。It should be noted that, in addition to enabling the flexible display screen to expand and contract in the lateral direction of the electronic device (for example, in the left-right direction) according to the hardware arrangement design in FIG. 1 to FIG. 5 , in other embodiments, The direction of the hardware arrangement design can also be changed so that the flexible display screen can expand and contract in the longitudinal direction of the electronic device (for example, in the vertical direction), as shown in FIG. 6 .

可以理解的是,本申请实施例的执行主体可以是诸如智能手机或平板电脑等的电子设备。It can be understood that, the executive body of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.

请参阅图7,图7是本申请实施例提供的设备控制方法的流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的显示屏。Please refer to FIG. 7 , which is a schematic flowchart of a device control method provided by an embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen.

本申请实施例提供的设备控制方法的流程可以包括:The process of the device control method provided by the embodiment of the present application may include:

101、在接收到通话的请求后,检测可伸缩的显示屏是否进行了伸展操作。101. After receiving the call request, detect whether the stretchable display screen is stretched.

随着技术的不断发展,电子设备的形态也在发生变化。从小屏幕发展到大屏幕,从单纯的用于显示图像和文字的显示屏发展到可以接收用户触摸操作的触摸显示屏,等等。然而,相关技术中,用户操作电子设备时仍然不够灵活。即,电子设备的可操作性不高。With the continuous development of technology, the form of electronic equipment is also changing. From a small screen to a large screen, from a simple display screen for displaying images and text to a touch display screen that can receive user touch operations, and so on. However, in the related art, the user is still not flexible enough to operate the electronic device. That is, the operability of the electronic device is not high.

需要说明的是,在本申请实施例中,电子设备可以具有可伸缩的显示屏。其中,可伸缩的显示屏可以是一种可以进行伸缩的显示屏(The Retractable Display Panel)。可伸缩的显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的显示屏的电子设备上,可以通过拉伸可伸缩的显示屏来提升屏幕的可见尺寸,还可以通过收缩可伸缩的显示屏来减少屏幕的可见尺寸。例如,图1至图5中的柔性显示屏30即为可伸缩的显示屏。It should be noted that, in this embodiment of the present application, the electronic device may have a retractable display screen. The retractable display panel may be a retractable display panel (The Retractable Display Panel). The stretchable display can be a flexible display, which can be bent, rolled, folded, and the like. On an electronic device equipped with a retractable display screen, the visible size of the screen can be increased by stretching the retractable display screen, and the visible size of the screen can be reduced by shrinking the retractable display screen. For example, the flexible display screen 30 in FIG. 1 to FIG. 5 is a retractable display screen.

在本申请实施例中,通话的请求可以包括来电通话的请求、即时通信应用中的语音通话、视频通话的请求,等等。In this embodiment of the present application, the call request may include a request for an incoming call, a request for a voice call in an instant messaging application, a request for a video call, and the like.

比如,以来电通话为例,在接收到来电请求后,电子设备可以检测其可伸缩的显示屏是否进行了伸展操作。For example, taking an incoming call as an example, after receiving an incoming call request, the electronic device can detect whether its retractable display screen is stretched.

如果检测到可伸缩的显示屏未进行伸展操作,那么电子设备可以执行其它操作。例如,电子设备可以继续进行响铃、振动等提示操作以提醒用户有新的通话请求,等等。If it is detected that the retractable display screen is not stretched, the electronic device may perform other operations. For example, the electronic device may continue to perform prompt operations such as ringing, vibrating, etc. to remind the user of a new call request, and so on.

如果检测到可伸缩的显示屏进行了伸展操作,则可以进入102的流程。If it is detected that the retractable display screen is stretched, the process of 102 can be entered.

102、若检测到可伸缩的显示屏进行了伸展操作,则接通通话。102. If it is detected that the retractable display screen is stretched, connect the call.

比如,在接收到新的来电后,电子设备检测到可伸缩的显示屏进行了伸展操作,那么电子设备可以接通该来电。For example, after receiving a new incoming call, the electronic device detects that the retractable display screen has been stretched, and the electronic device can answer the incoming call.

例如,在接收到新的来电后,用户通过手动拉伸的方式使可伸缩的显示屏从收缩状态变为伸展状态,电子设备的形态变化可以如图6所示,那么电子设备可以接通该来电。For example, after receiving a new call, the user manually stretches the retractable display screen from a retracted state to an extended state, and the shape of the electronic device can be changed as shown in Figure 6, then the electronic device can connect to the call.

可以理解的是,本申请实施例中,电子设备可以在接收到通话的请求后检测可伸缩的显示屏是否进行了伸展操作。若检测到可伸缩的显示屏进行了伸展操作,那么电子设备可以接通该通话。由于本实施例中电子设备可以根据可伸缩的显示屏的伸展操作来接通通话,因此本实施例提高了电子设备的可操作性。It can be understood that, in this embodiment of the present application, the electronic device can detect whether the stretchable display screen is stretched after receiving a call request. If it is detected that the retractable display screen is stretched, the electronic device can connect the call. Since the electronic device in this embodiment can make a call according to the stretching operation of the retractable display screen, this embodiment improves the operability of the electronic device.

请参阅图8,图8为本申请实施例提供的设备控制方法的另一流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的显示屏。Please refer to FIG. 8 , FIG. 8 is another schematic flowchart of a device control method provided by an embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen.

本申请实施例提供的设备控制方法的流程可以包括:The process of the device control method provided by the embodiment of the present application may include:

201、在接收到通话的请求后,检测可伸缩的显示屏是否进行了伸展操作。201. After receiving the call request, detect whether the stretchable display screen is stretched.

在本申请实施例中,电子设备可以具有可伸缩的显示屏。其中,可伸缩的显示屏可以是一种可以进行伸缩的显示屏(The Retractable Display Panel)。可伸缩的显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的显示屏的电子设备上,可以通过拉伸可伸缩的显示屏来提升屏幕的可见尺寸,还可以通过收缩可伸缩的显示屏来减少屏幕的可见尺寸。例如,图6所示的电子设备即具有可伸缩的显示屏。In this embodiment of the present application, the electronic device may have a retractable display screen. The retractable display panel may be a retractable display panel (The Retractable Display Panel). The stretchable display can be a flexible display, which can be bent, rolled, folded, and the like. On an electronic device equipped with a retractable display screen, the visible size of the screen can be increased by stretching the retractable display screen, and the visible size of the screen can be reduced by shrinking the retractable display screen. For example, the electronic device shown in FIG. 6 has a retractable display screen.

本实施例中以通话的请求为来电的请求为例进行说明。当然,在其他实施方式中,通话的请求还可以包括即时通信应用中的语音通话请求或视频通话请求,等等,本实施例对此不做具体限定。In this embodiment, the request for a call is a request for an incoming call as an example for description. Certainly, in other implementation manners, the call request may also include a voice call request or a video call request in an instant messaging application, etc., which is not specifically limited in this embodiment.

比如,在接收到来电的请求之后,电子设备可以检测其可伸缩的显示屏是否进行了伸展操作。For example, after receiving an incoming call request, the electronic device can detect whether its retractable display screen is stretched.

如果检测到可伸缩的显示屏未进行伸展操作,那么电子设备可以执行其它操作。例如,电子设备可以继续进行响铃、振动等提示操作以提醒用户有新的来电,等等。If it is detected that the retractable display screen is not stretched, the electronic device may perform other operations. For example, the electronic device may continue to perform prompt operations such as ringing, vibrating, etc. to remind the user of a new incoming call, and so on.

如果检测到可伸缩的显示屏进行了伸展操作,则可以进入202的流程。If it is detected that the retractable display screen is stretched, the process of 202 can be entered.

202、若检测到可伸缩的显示屏进行了伸展操作,则从显示屏所显示的内容中确定出第一目标内容。202. If it is detected that the stretchable display screen is stretched, determine the first target content from the content displayed on the display screen.

比如,电子设备检测到其可伸缩的显示屏进行了伸展操作,那么该电子设备可以从该可伸缩的显示屏所显示的内容中确定出第一目标内容。For example, if the electronic device detects that its retractable display screen is stretched, the electronic device may determine the first target content from the content displayed on the retractable display screen.

在一种实施方式中,电子设备可以将位于可伸缩的显示屏向外伸展的第一端部的预设区域范围内所显示的内容确定为第一目标内容。例如,如图9所示,在接收到来电时,电子设备的显示屏上显示的“拒绝来电按钮”、“发送短信按钮”以及“向下拉开接听”的提示信息这三者位于向外伸展的第一端部的预设区域范围内。在这种情况下,电子设备可以将“拒绝来电按钮”、“发送短信按钮”以及“向下拉开接听”的提示信息这三者确定为第一目标内容。In an implementation manner, the electronic device may determine the content displayed in the range of the preset area of the first end of the retractable display screen to be extended outward as the first target content. For example, as shown in FIG. 9 , when an incoming call is received, the three prompt messages of “Reject call button”, “Send SMS button” and “Pull down to answer” displayed on the display screen of the electronic device are located outside within the predetermined area of the stretched first end. In this case, the electronic device may determine the prompt information of "reject call button", "send short message button" and "pull down to answer" as the first target content.

203、在可伸缩的显示屏进行伸展的过程中,控制第一目标内容的显示位置与显示屏向外伸展的第一端部保持相对静止的状态。203. During the process of extending the retractable display screen, control the display position of the first target content and the outwardly extending first end of the display screen to remain relatively static.

比如,在确定出第一目标内容后,电子设备可以在其可伸缩的显示屏进行伸展的过程中,控制该第一目标内容的显示位置与显示屏向外伸展的第一端部保持相对静止的状态。For example, after the first target content is determined, the electronic device can control the display position of the first target content and the outwardly extending first end of the display screen to remain relatively static during the process of extending the retractable display screen. status.

例如,在将“拒绝来电按钮”、“发送短信按钮”以及“向下拉开接听”的提示信息这三者确定为第一目标内容后,在可伸缩的显示屏向外伸展的过程中,电子设备可以控制“拒绝来电按钮”、“发送短信按钮”以及“向下拉开接听”的提示信息这三者的显示位置与向外伸展的第一端部保持相对静止的状态。即,“拒绝来电按钮”、“发送短信按钮”以及“向下拉开接听”的提示信息这三者始终跟随第一端部,如图10所示。For example, after determining the prompt information of "reject call button", "send text message button" and "pull down to answer" as the first target content, in the process of extending the retractable display screen, The electronic device can control the display position of the prompt information of "reject call button", "send short message button" and "pull down to answer" to remain relatively static with the outwardly extending first end. That is, the prompt information of "reject call button", "send SMS button" and "pull down to answer" always follow the first end, as shown in FIG. 10 .

204、若检测到可伸缩的显示屏处于完全伸展状态,则接通通话。204. If it is detected that the retractable display screen is in a fully extended state, connect the call.

比如,在检测到可伸缩的显示屏处于完全伸展状态后,电子设备可以接通来电。例如,此时电子设备显示的界面可以如图11所示,电子设备开始通话计时。For example, the electronic device can answer an incoming call after detecting that the retractable display is fully extended. For example, at this time, the interface displayed by the electronic device may be as shown in FIG. 11 , and the electronic device starts the call timing.

需要说明的是,可伸缩的显示屏处于完全伸展状态可以是指该可伸缩的显示屏已经不能够再向外伸展了。It should be noted that the fact that the retractable display screen is in a fully extended state may mean that the retractable display screen can no longer be extended outward.

205、在接通通话后,检测可伸缩的显示屏是否进行了收缩操作。205. After the call is connected, detect whether the retractable display screen has been retracted.

比如,在接通来电后,电子设备可以检测可伸缩的显示屏是否进行了收缩操作。For example, after an incoming call is connected, the electronic device can detect whether the retractable display screen has been retracted.

如果检测到可伸缩的显示屏未进行收缩操作,那么电子设备可以继续进行通话操作。If it is detected that the retractable display screen has not been retracted, the electronic device can continue the call operation.

如果检测到可伸缩的显示屏进行了收缩操作,那么可以进入206的流程。If it is detected that the retractable display screen has been retracted, the process of 206 can be entered.

206、若检测到可伸缩的显示屏进行了收缩操作,则从显示屏所显示的内容中确定出第二目标内容。206. If it is detected that the retractable display screen performs a shrinking operation, determine the second target content from the content displayed on the display screen.

比如,电子设备检测到可伸缩的显示屏进行了收缩操作,那么电子设备可以从显示屏所显示的内容中确定出第二目标内容。For example, if the electronic device detects that the retractable display screen has been retracted, the electronic device can determine the second target content from the content displayed on the display screen.

在本实施例中,电子设备可以将位于显示屏向内收缩的第二端部的预设区域范围内显示的内容确定为第二目标内容。In this embodiment, the electronic device may determine the content displayed within the range of the preset area at the inwardly retracted second end of the display screen as the second target content.

例如,如图11所示,电子设备的显示屏上显示的“结束通话按钮”位于向内收缩的第二端部的预设区域范围内。在这种情况下,电子设备可以将“结束通话按钮”确定为第二目标内容。For example, as shown in FIG. 11 , the "end call button" displayed on the display screen of the electronic device is located within the preset area of the inwardly retracted second end. In this case, the electronic device may determine the "end call button" as the second target content.

207、在可伸缩的显示屏进行收缩的过程中,控制第二目标内容的显示位置与显示屏向内收缩的第二端部保持相对静止的状态。207. During the retracting process of the retractable display screen, control the display position of the second target content and the inwardly retracted second end of the display screen to remain relatively static.

比如,在确定出第二目标内容后,电子设备可以在其可伸缩的显示屏进行收缩的过程中,控制该第二目标内容的显示位置与显示屏向内收缩的第二端部保持相对静止的状态。For example, after the second target content is determined, the electronic device can control the display position of the second target content and the inwardly retracted second end of the display screen to remain relatively static during the process of retracting the retractable display screen. status.

例如,如图12所示,在将“结束通话按钮”确定为第二目标内容后,在可伸缩的显示屏向内收缩的过程中,电子设备可以控制“结束通话按钮”的显示位置与向内收缩的第二端部保持相对静止的状态。即,“结束通话按钮”始终跟随第二端部。For example, as shown in FIG. 12 , after the “end call button” is determined as the second target content, during the process of retracting the retractable display screen inward, the electronic device can control the display position and direction of the “end call button”. The retracted second end remains relatively stationary. That is, the "end call button" always follows the second end.

208、若检测到可伸缩的显示屏处于完全收缩状态,则挂断通话。208. If it is detected that the retractable display screen is in a fully retracted state, hang up the call.

比如,在检测到可伸缩的显示屏处于完全收缩状态后,电子设备可以挂断来电。例如,此时电子设备显示的界面可以如图13所示,即电子设备显示的是结束通话的信息的界面。For example, the electronic device can hang up an incoming call after detecting that the retractable display is fully retracted. For example, at this time, the interface displayed by the electronic device may be as shown in FIG. 13 , that is, the interface displayed by the electronic device is the information of ending the call.

需要说明的是,可伸缩的显示屏处于完全收缩状态可以是指该可伸缩的显示屏已经不能够再向内收缩了。It should be noted that, that the retractable display screen is in a fully retracted state may mean that the retractable display screen can no longer be retracted inwardly.

可以理解的是,本申请实施例中,电子设备可以通过可伸缩的显示屏的伸展操作来接通通话,并通过可伸缩的显示屏的收缩操作来挂断通话,因此本实施例可以提高电子设备的可操作性。It can be understood that, in this embodiment of the present application, the electronic device can connect the call by extending the retractable display screen, and hang up the call by retracting the retractable display screen. Equipment operability.

并且,在显示屏伸展或收缩的过程中,电子设备可以确定出第一目标内容和第二目标内容,第一目标内容和第二目标内容可以跟随端部,因此界面上所显示的内容可以自适应地进行调整,从而提高了界面友好程度,用户体验好。In addition, in the process of extending or contracting the display screen, the electronic device can determine the first target content and the second target content, and the first target content and the second target content can follow the end, so the content displayed on the interface can be automatically Adjustments are made adaptively, thereby improving the interface friendliness and providing a good user experience.

在另一种实施方式中,也可以在显示屏进行伸展或收缩的过程中,电子设备的界面上的内容完全不跟随向外伸展或向内收缩的那一端部,等到显示屏完全伸展或完全收缩后,电子设备再来调整各内容的显示位置,等等。In another implementation manner, during the process of extending or contracting the display screen, the content on the interface of the electronic device does not follow the end that is extended outward or retracted inward at all, until the display screen is fully extended or completely retracted. After shrinking, the electronic device adjusts the display position of each content, and so on.

请参阅图14至图16,图14至图16为本申请实施例提供的设备控制方法的场景示意图。Please refer to FIG. 14 to FIG. 16 . FIG. 14 to FIG. 16 are schematic diagrams of scenarios of a device control method provided by an embodiment of the present application.

比如,电子设备具有可伸缩的显示屏。如图14所示,用户的电子设备接收到好友发过来的邀请进行语音通话的请求。在接收到该语音通话的请求后,用户决定接受该语音通话的邀请,并用手向下拉伸电子设备的可伸缩的显示屏。For example, electronic devices have retractable display screens. As shown in FIG. 14 , the user's electronic device receives a request for an invitation to make a voice call from a friend. After receiving the voice call request, the user decides to accept the voice call invitation and stretches down the retractable display screen of the electronic device with his hand.

在检测到可伸缩的显示屏进行伸展操作后,电子设备可以将语音通话请求界面上的“拒绝按钮”以及“向下拉开接听”的提示信息这二者确定为第一目标内容。在可伸缩的显示屏进行伸展操作的过程中,电子设备可以控制第一目标内容与向外伸展的第一端部保持相对静止状态,即第一目标内容始终跟随第一端部,如图15所示。After detecting that the retractable display screen is stretched, the electronic device may determine both the "reject button" and the prompt information of "pull down to answer" on the voice call request interface as the first target content. During the stretching operation of the retractable display screen, the electronic device can control the first target content and the outwardly extending first end to remain relatively static, that is, the first target content always follows the first end, as shown in Figure 15 shown.

当检测到可伸缩的显示屏处于完全伸展状态时,电子设备可以接收语音通话的请求,即电子设备可以接通语音通话。例如,用户用手将可伸缩的显示屏拉伸到最大程度,此时电子设备可以接通语音通话,如图15所示。When it is detected that the retractable display screen is in a fully extended state, the electronic device can receive a voice call request, that is, the electronic device can connect to the voice call. For example, when the user stretches the retractable display screen to the maximum extent, the electronic device can connect to the voice call, as shown in FIG. 15 .

比如,在语音通话了一段时间之后,用户决定挂断语音通话。此时,用户用手将可伸缩的显示屏向内收缩,即可伸缩的显示屏向壳体内部收拢。当检测到可伸缩的显示屏进行了收缩操作后,电子设备可以将界面上的“向上拉起结束通话”这一提示信息确定为第二目标内容。For example, after a voice call has been made for a period of time, the user decides to hang up the voice call. At this time, the user shrinks the retractable display screen inward by hand, that is, the retractable display screen is retracted into the casing. After detecting that the retractable display screen has been retracted, the electronic device may determine the prompt information of "pull up to end the call" on the interface as the second target content.

在确定出第二目标内容后,电子设备可以在其可伸缩的显示屏进行收缩的过程中,控制该第二目标内容的显示位置与向内收缩的第二端部保持相对静止的状态,即第二目标内容跟随第二端部,如图16所示。After the second target content is determined, the electronic device can control the display position of the second target content and the inwardly retracted second end to remain relatively static during the process of shrinking the retractable display screen, that is, The second target content follows the second end, as shown in FIG. 16 .

当检测到可伸缩的显示屏处于完全收缩状态时,电子设备可以挂断语音通话。例如,用户用手将可伸缩的显示屏向内推回到最大程度,此时电子设备可以挂断音通话。此时电子设备的界面可以如图16所示。The electronic device can hang up the voice call when it detects that the retractable display is fully retracted. For example, the electronic device can hang up the audio call by manually pushing the retractable display screen back to its maximum extent. At this time, the interface of the electronic device may be as shown in FIG. 16 .

在其它实施方式中,除了通过用户手动拉伸或收缩电子设备的可伸缩的显示屏外,还可以通过电驱动的方式来使可伸缩的显示屏进行伸展或收缩。比如,电子设备上可以设置一伸展按键和一收缩按键。当伸展按键被用户按下后,电子设备可以通过电驱动的方式驱动可伸缩的显示屏向外伸展。当收缩按键被用户按下后,电子设备可以通过电驱动的方式驱动可伸缩的显示屏向内收缩。In other embodiments, in addition to manually stretching or shrinking the retractable display screen of the electronic device by the user, the retractable display screen can also be extended or retracted by means of electrical driving. For example, an extension button and a retraction button may be provided on the electronic device. When the extension button is pressed by the user, the electronic device can drive the retractable display screen to extend outward in an electric driving manner. When the retracting button is pressed by the user, the electronic device can drive the retractable display screen to retract inward by means of electric driving.

或者,用户也可以通过语音控制的方式来使可伸缩的显示屏进行伸展或收缩。比如,当接收到用户发出的伸展显示屏的语音命令后,电子设备可以通过电驱动的方式驱动可伸缩的显示屏向外伸展。当接收到用户发出的收缩显示屏的语音命令后,电子设备可以通过电驱动的方式驱动可伸缩的显示屏向内收缩,等等,本申请实施例对此不做具体限定。Alternatively, the user can extend or retract the retractable display by voice control. For example, after receiving a voice command for extending the display screen issued by the user, the electronic device can drive the retractable display screen to extend outward by means of electric driving. After receiving a voice command for shrinking the display screen sent by the user, the electronic device may drive the retractable display screen to shrink inward in an electric driving manner, etc., which is not specifically limited in this embodiment of the present application.

请参阅图17,图17为本申请实施例提供的设备控制装置的结构示意图。该设备控制装置可以应用于电子设备,该电子设备可以包括可伸缩的显示屏。Please refer to FIG. 17 , which is a schematic structural diagram of a device control apparatus provided by an embodiment of the present application. The device control apparatus can be applied to an electronic device, and the electronic device can include a retractable display screen.

设备控制装置300可以包括:检测模块301,处理模块302。The device control apparatus 300 may include: a detection module 301 and a processing module 302 .

检测模块301,用于在接收到通话的请求后,检测所述可伸缩的显示屏是否进行了伸展操作。The detection module 301 is configured to detect whether the stretchable display screen is stretched after receiving the call request.

处理模块302,用于若检测到所述可伸缩的显示屏进行了伸展操作,则接通所述通话。The processing module 302 is configured to connect the call if it is detected that the retractable display screen is stretched.

在一种实施方式中,所述处理模块302还可以用于:In one embodiment, the processing module 302 may also be used to:

在接通所述通话后,检测所述可伸缩的显示屏是否进行了收缩操作;After the call is connected, detecting whether the retractable display screen has been retracted;

若检测到所述可伸缩的显示屏进行了收缩操作,则挂断所述通话。If it is detected that the retractable display screen has been retracted, the call is hung up.

在一种实施方式中,所述处理模块302还可以用于:In one embodiment, the processing module 302 may also be used to:

从所述显示屏所显示的内容中确定出第一目标内容;determining the first target content from the content displayed on the display screen;

在所述可伸缩的显示屏进行伸展的过程中,控制所述第一目标内容的显示位置与所述显示屏向外伸展的第一端部保持相对静止的状态。During the stretching process of the retractable display screen, the display position of the first target content is controlled to remain relatively static with the outwardly extending first end of the display screen.

在一种实施方式中,所述处理模块302还可以用于:In one embodiment, the processing module 302 may also be used to:

从所述显示屏所显示的内容中确定出第二目标内容;determining the second target content from the content displayed on the display screen;

在所述可伸缩的显示屏进行收缩的过程中,控制所述第二目标内容的显示位置与所述显示屏向内收缩的第二端部保持相对静止的状态。During the retracting process of the retractable display screen, the display position of the second target content is controlled to remain relatively stationary with the inwardly retracted second end of the display screen.

在一种实施方式中,所述第一目标内容位于所述显示屏向外伸展的第一端部的预设区域范围内,所述第二目标内容位于所述显示屏向内收缩的第二端部的所述预设区域范围内。In an embodiment, the first target content is located within a preset area of the first end of the display screen that extends outward, and the second target content is located at the second end of the display screen that contracts inward. within the preset area of the end.

在一种实施方式中,所述处理模块302可以用于:In one embodiment, the processing module 302 may be used to:

若检测到所述可伸缩的显示屏进行了伸展操作且处于完全伸展状态,则接通所述通话。If it is detected that the retractable display screen has been extended and is in a fully extended state, the call is connected.

在一种实施方式中,所述处理模块302可以用于:In one embodiment, the processing module 302 may be used to:

若检测到所述可伸缩的显示屏进行了收缩操作且处于完全收缩状态,则挂断所述通话。If it is detected that the retractable display screen has been retracted and is in a fully retracted state, the call is hung up.

本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的设备控制方法中的流程。Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed on a computer, causes the computer to execute the process in the device control method provided by this embodiment.

本申请实施例还提供一种电子设备,包括存储器,处理器,以及可伸缩的显示屏。所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的设备控制方法中的流程。Embodiments of the present application further provide an electronic device, including a memory, a processor, and a retractable display screen. The processor is configured to execute the process in the device control method provided in this embodiment by calling the computer program stored in the memory.

例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图18,图18为本申请实施例提供的电子设备的结构示意图。For example, the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone. Please refer to FIG. 18 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

该电子设备400可以包括可伸缩的显示屏401、存储器402、处理器403等部件。本领域技术人员可以理解,图18中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The electronic device 400 may include a retractable display screen 401, a memory 402, a processor 403 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 18 does not constitute a limitation on the electronic device, and may include more or less components than those shown, or combine some components, or arrange different components.

可伸缩的显示屏401是一种可以进行伸缩的显示屏(The Retractable DisplayPanel)。可伸缩的显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的显示屏的电子设备上,可以通过拉伸可伸缩的显示屏来提升屏幕的可见尺寸,还可以通过收缩可伸缩的显示屏来减少屏幕的可见尺寸。The retractable display panel 401 is a retractable display panel (The Retractable DisplayPanel). The stretchable display can be a flexible display, which can be bent, rolled, folded, and the like. On an electronic device equipped with a retractable display screen, the visible size of the screen can be increased by stretching the retractable display screen, and the visible size of the screen can be reduced by shrinking the retractable display screen.

存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。Memory 402 may be used to store applications and data. The application program stored in the memory 402 contains executable code. Applications can be composed of various functional modules. The processor 403 executes various functional applications and data processing by executing the application programs stored in the memory 402 .

处理器403是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 403 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 402 and calling the data stored in the memory 402. The various functions and processing data of the device are used to monitor the electronic equipment as a whole.

在本实施例中,电子设备中的处理器403会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而执行:In this embodiment, the processor 403 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 executes the execution and stores it in the memory 402 in the application, thus executing:

在接收到通话的请求后,检测所述可伸缩的显示屏是否进行了伸展操作;After receiving the call request, detect whether the stretchable display screen has been stretched;

若检测到所述可伸缩的显示屏进行了伸展操作,则接通所述通话。If it is detected that the retractable display screen is stretched, the call is connected.

请参阅图19,电子设备400可以包括可伸缩的显示屏401、存储器402、处理器403、电池404、麦克风405、扬声器406等部件。Referring to FIG. 19 , the electronic device 400 may include a retractable display screen 401 , a memory 402 , a processor 403 , a battery 404 , a microphone 405 , a speaker 406 and other components.

可伸缩的显示屏401是一种可以进行伸缩的显示屏(The Retractable DisplayPanel)。可伸缩的显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的显示屏的电子设备上,可以通过拉伸可伸缩的显示屏来提升屏幕的可见尺寸,还可以通过收缩可伸缩的显示屏来减少屏幕的可见尺寸。The retractable display panel 401 is a retractable display panel (The Retractable DisplayPanel). The stretchable display can be a flexible display, which can be bent, rolled, folded, and the like. On an electronic device equipped with a retractable display screen, the visible size of the screen can be increased by stretching the retractable display screen, and the visible size of the screen can be reduced by shrinking the retractable display screen.

存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。Memory 402 may be used to store applications and data. The application program stored in the memory 402 contains executable code. Applications can be composed of various functional modules. The processor 403 executes various functional applications and data processing by executing the application programs stored in the memory 402 .

处理器403是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 403 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 402 and calling the data stored in the memory 402. The various functions and processing data of the device are used to monitor the electronic equipment as a whole.

电池404可以用于为电子设备的各个部件或模块提供电力支持,从而保证各个部件或模块的正常运行。The battery 404 can be used to provide power support for each component or module of the electronic device, thereby ensuring the normal operation of each component or module.

麦克风405可以用于拾取周围环境中的声音信号,例如麦克风405可以用于采集用户发出的语音等信息。The microphone 405 can be used to pick up sound signals in the surrounding environment, for example, the microphone 405 can be used to collect information such as the voice made by the user.

扬声器406可以用于播放声音信号。Speakers 406 may be used to play sound signals.

在本实施例中,电子设备中的处理器403会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而执行:In this embodiment, the processor 403 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 executes the execution and stores it in the memory 402 in the application, thus executing:

在接收到通话的请求后,检测所述可伸缩的显示屏是否进行了伸展操作;After receiving the call request, detect whether the stretchable display screen has been stretched;

若检测到所述可伸缩的显示屏进行了伸展操作,则接通所述通话。If it is detected that the retractable display screen is stretched, the call is connected.

在一种实施方式中,处理器403还可以执行:在接通所述通话后,检测所述可伸缩的显示屏是否进行了收缩操作;若检测到所述可伸缩的显示屏进行了收缩操作,则挂断所述通话。In an implementation manner, the processor 403 may further execute: after the call is connected, detect whether the retractable display screen has performed a shrinking operation; if it is detected that the retractable display screen has performed a shrinking operation , hang up the call.

在一种实施方式中,处理器403还可以执行:从所述显示屏所显示的内容中确定出第一目标内容;在所述可伸缩的显示屏进行伸展的过程中,控制所述第一目标内容的显示位置与所述显示屏向外伸展的第一端部保持相对静止的状态。In an implementation manner, the processor 403 may further execute: determining the first target content from the content displayed on the display screen; and controlling the first target content during the stretching of the retractable display screen The display position of the target content and the outwardly extending first end of the display screen remain relatively static.

在一种实施方式中,处理器403还可以执行:从所述显示屏所显示的内容中确定出第二目标内容;在所述可伸缩的显示屏进行收缩的过程中,控制所述第二目标内容的显示位置与所述显示屏向内收缩的第二端部保持相对静止的状态。In an implementation manner, the processor 403 may further execute: determining a second target content from the content displayed on the display screen; during the process of shrinking the retractable display screen, control the second target content The display position of the target content and the inwardly retracted second end of the display screen remain relatively static.

在一种实施方式中,所述第一目标内容位于所述显示屏向外伸展的第一端部的预设区域范围内,所述第二目标内容位于所述显示屏向内收缩的第二端部的所述预设区域范围内。In an embodiment, the first target content is located within a preset area of the first end of the display screen that extends outward, and the second target content is located at the second end of the display screen that contracts inward. within the preset area of the end.

在一种实施方式中,处理器403执行所述若检测到所述可伸缩的显示屏进行了伸展操作则接通所述通话时,可以执行:若检测到所述可伸缩的显示屏进行了伸展操作且处于完全伸展状态,则接通所述通话。In one embodiment, when the processor 403 executes the process of connecting the call if it is detected that the retractable display screen is stretched, the processor 403 may execute: if it is detected that the retractable display screen is stretched Extend operation and in a fully extended state, the call is connected.

在一种实施方式中,处理器403执行所述若检测到所述可伸缩的显示屏进行了收缩操作则挂断所述通话时,可以执行:若检测到所述可伸缩的显示屏进行了收缩操作且处于完全收缩状态,则挂断所述通话。In an implementation manner, when the processor 403 executes the process of hanging up the call if it is detected that the retractable display screen has performed a shrinking operation, the processor 403 may execute: if it is detected that the retractable display screen has performed a shrinking operation After the retraction operation and in the fully retracted state, hang up the call.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对设备控制方法的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the detailed description of the device control method above, and details are not repeated here.

本申请实施例提供的所述设备控制装置与上文实施例中的设备控制方法属于同一构思,在所述设备控制装置上可以运行所述设备控制方法实施例中提供的任一方法,其具体实现过程详见所述设备控制方法实施例,此处不再赘述。The device control apparatus provided in the embodiment of the present application and the device control method in the above embodiments belong to the same concept, and any method provided in the device control method embodiment can be executed on the device control apparatus. For details of the implementation process, please refer to the embodiment of the device control method, which will not be repeated here.

需要说明的是,对本申请实施例所述设备控制方法而言,本领域普通技术人员可以理解实现本申请实施例所述设备控制方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述设备控制方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the device control methods described in the embodiments of the present application, those of ordinary skill in the art can understand that all or part of the process for implementing the device control methods described in the embodiments of the present application can be controlled by computer programs. To complete, the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process can include processes such as the embodiments of the device control method . The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), and the like.

对本申请实施例的所述设备控制装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the device control apparatus of the embodiments of the present application, each functional module may be integrated in one processing chip, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, etc. .

以上对本申请实施例所提供的一种设备控制方法、装置、存储介质以及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The device control method, device, storage medium, and electronic device provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The descriptions of the above embodiments are only It is used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiments and application scope. In summary, this specification The content should not be construed as a limitation on this application.

Claims (9)

1. A device control method is applied to an electronic device, and is characterized in that the electronic device comprises a telescopic display screen, and the method comprises the following steps:
after receiving a call request, detecting whether the telescopic display screen is subjected to stretching operation, wherein the stretching operation is the operation that the telescopic display screen stretches outwards and the display area gradually becomes larger;
if the telescopic display screen is detected to be subjected to stretching operation, the call is connected;
determining first target content from the content displayed by the display screen;
and controlling the display position of the first target content to keep a state of being relatively static with the first end part of the display screen extending outwards in the process of extending the telescopic display screen.
2. The device control method according to claim 1, characterized in that the method further comprises:
after the call is connected, detecting whether the telescopic display screen is subjected to contraction operation;
and if the telescopic display screen is detected to be subjected to the contraction operation, hanging up the call.
3. The apparatus control method according to claim 1, characterized in that the method further comprises:
determining second target content from the content displayed by the display screen;
and controlling the display position of the second target content to keep a relatively static state with the second end part of the display screen which is contracted inwards in the process of contracting the telescopic display screen.
4. The device control method according to claim 3, wherein the first target content is located within a preset area of a first end portion of the display screen that extends outward, and the second target content is located within the preset area of a second end portion of the display screen that contracts inward.
5. The device control method according to claim 1, wherein the switching on the call if it is detected that the retractable display screen is extended includes:
and if the telescopic display screen is detected to be in a fully extended state after being subjected to extension operation, the call is connected.
6. The device control method according to claim 2, wherein the hanging up the call if it is detected that the retractable display screen is retracted includes:
and if the telescopic display screen is detected to be in a fully contracted state after being contracted, hanging up the call.
7. An apparatus control device applied to an electronic device, wherein the electronic device comprises a retractable display screen, the apparatus comprising:
the detection module is used for detecting whether the telescopic display screen is subjected to stretching operation or not after receiving a call request, wherein the stretching operation is the operation that the telescopic display screen stretches outwards and the display area gradually becomes larger;
the processing module is used for connecting the call if the telescopic display screen is detected to be subjected to stretching operation;
determining first target content from the content displayed by the display screen;
and controlling the display position of the first target content to keep a state of being relatively static with the first end part extending outwards of the display screen in the process of extending the telescopic display screen.
8. A computer-readable storage medium, on which a computer program is stored, which, when executed on a computer, causes the computer to carry out the method of any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor, wherein the processor executes the method of any one of claims 1 to 6 by invoking a computer program stored in the memory.
CN202010711952.XA 2020-07-22 2020-07-22 Device control method, device, storage medium and electronic device Active CN113973140B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010711952.XA CN113973140B (en) 2020-07-22 2020-07-22 Device control method, device, storage medium and electronic device
PCT/CN2021/099190 WO2022017045A1 (en) 2020-07-22 2021-06-09 Device control method and apparatus, and storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010711952.XA CN113973140B (en) 2020-07-22 2020-07-22 Device control method, device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113973140A CN113973140A (en) 2022-01-25
CN113973140B true CN113973140B (en) 2022-10-21

Family

ID=79584994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010711952.XA Active CN113973140B (en) 2020-07-22 2020-07-22 Device control method, device, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN113973140B (en)
WO (1) WO2022017045A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924619B (en) * 2022-05-06 2023-07-25 武汉华星光电半导体显示技术有限公司 Display terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528163A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Control response method and electronic apparatus
CN107786740A (en) * 2017-10-19 2018-03-09 广东欧珀移动通信有限公司 Incoming call control method, device, terminal and computer-readable storage medium
CN107835321A (en) * 2017-11-27 2018-03-23 维沃移动通信有限公司 A kind of incoming call processing method and mobile terminal
CN109788097A (en) * 2019-03-25 2019-05-21 珠海格力电器股份有限公司 Terminal device
CN210270658U (en) * 2019-05-26 2020-04-07 邓爱红 Terminal with telescopic screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9052800B2 (en) * 2010-10-01 2015-06-09 Z124 User interface with stacked application management
CN110213412A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of display methods and terminal
CN110445916B (en) * 2019-08-09 2024-12-20 广东金力变速科技股份有限公司 A telescopic structure for a retractable screen product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528163A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Control response method and electronic apparatus
CN107786740A (en) * 2017-10-19 2018-03-09 广东欧珀移动通信有限公司 Incoming call control method, device, terminal and computer-readable storage medium
CN107835321A (en) * 2017-11-27 2018-03-23 维沃移动通信有限公司 A kind of incoming call processing method and mobile terminal
CN109788097A (en) * 2019-03-25 2019-05-21 珠海格力电器股份有限公司 Terminal device
CN210270658U (en) * 2019-05-26 2020-04-07 邓爱红 Terminal with telescopic screen

Also Published As

Publication number Publication date
WO2022017045A1 (en) 2022-01-27
CN113973140A (en) 2022-01-25

Similar Documents

Publication Publication Date Title
JP7498779B2 (en) Screen display method and electronic device
US11169659B2 (en) Method and device for folder management by controlling arrangements of icons
WO2022100260A1 (en) Display control method and apparatus, storage medium, and electronic device
CN109120841B (en) Camera control method, device, mobile terminal and storage medium
US11762621B2 (en) Object management method and mobile terminal
CN107943374A (en) The startup method and collapsible terminal of application program in collapsible terminal
CN113422872B (en) Control method and device of electronic equipment, electronic equipment and readable storage medium
CN111752460B (en) Screen control method and device, electronic equipment and computer readable storage medium
CN115268738A (en) Display control method, electronic device, and computer storage medium
CN113687808B (en) Desktop icon layout method, device, storage medium and electronic device
CN114327179A (en) Application startup method, electronic device and readable storage medium
CN104853093A (en) Rotatable camera control method and mobile terminal
US12099718B2 (en) Device control method and apparatus, storage medium, and electronic device
CN109040351A (en) Camera control method, device, mobile terminal and storage medium
CN113973140B (en) Device control method, device, storage medium and electronic device
CN115809033A (en) Content display method, device, storage medium and electronic device
US20230088788A1 (en) Device control method and apparatus, storage medium, and electronic device
CN113726947B (en) Voice calling method, device, terminal and storage medium
WO2021223520A1 (en) Device control method and apparatus, storage medium, and electronic device
CN112947685B (en) Control method and device of electronic equipment, storage medium and electronic equipment
CN114780193A (en) Toolbar display method, apparatus, electronic device and storage medium
CN113630484B (en) Equipment control method, device, storage medium and electronic equipment
CN114815971B (en) Information display methods, devices, electronic equipment and storage media
CN115793776A (en) Electronic device control method, electronic device control device, storage medium, and electronic device
JP2014229233A (en) Screen control device, information processing device, display control method, and program

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
GR01 Patent grant
GR01 Patent grant