WO2021223520A1 - 设备控制方法、装置、存储介质及电子设备 - Google Patents

设备控制方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2021223520A1
WO2021223520A1 PCT/CN2021/081573 CN2021081573W WO2021223520A1 WO 2021223520 A1 WO2021223520 A1 WO 2021223520A1 CN 2021081573 W CN2021081573 W CN 2021081573W WO 2021223520 A1 WO2021223520 A1 WO 2021223520A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
touch
display screen
screen
retractable
Prior art date
Application number
PCT/CN2021/081573
Other languages
English (en)
French (fr)
Inventor
杨鑫
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21800364.8A priority Critical patent/EP4141631A4/en
Publication of WO2021223520A1 publication Critical patent/WO2021223520A1/zh
Priority to US18/050,635 priority patent/US20230077374A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/301Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/03Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays
    • G09G3/035Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays for flexible display surfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04102Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving
    • G09G2330/023Power management, e.g. power saving using energy recovery or conservation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user

Definitions

  • This application belongs to the technical field of electronic equipment, and in particular relates to a device control method, device, storage medium, and electronic equipment.
  • the 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.
  • an embodiment of the present application provides a device control method, which is applied to an electronic device, the electronic device includes a retractable touch screen, the electronic device is configured with a control icon, and the method includes:
  • the retractable touch display screen is controlled to expand and contract according to the preset first operation.
  • an embodiment of the present application provides a device control method applied to an electronic device, characterized in that the electronic device includes a retractable touch screen, and the method includes:
  • the retractable touch display screen is controlled to expand and contract.
  • an embodiment of the present application provides a device control device, which is applied to an electronic device, the electronic device includes a retractable touch screen, the electronic device is configured with a control icon, and the device includes:
  • the first processing module is configured to control the retractable touch display screen to perform according to the preset first operation when the touch display screen is in the on-screen state and the control icon receives a preset first operation Retractable.
  • an embodiment of the present application provides a device control device applied to an electronic device, wherein the electronic device includes a retractable touch screen, and the device includes:
  • the second processing module is configured to control the retractable touch display screen according to the preset second operation when the touch display screen is in the off-screen state and the touch display screen receives a preset second operation Scale up and down.
  • an embodiment of the present application provides a storage medium on which a computer program is stored.
  • the computer program is executed on a computer, the computer is caused to execute the first aspect or the second aspect of the embodiment of the present application.
  • the flow in the device control method is not limited to:
  • an embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is configured to execute the first aspect or the second aspect of the embodiment of the present application by calling a computer program stored in the memory. The process in the device control method provided.
  • 1 to 5 are schematic structural diagrams of an electronic device with a retractable touch display screen provided by an embodiment of the application.
  • FIG. 6 is a schematic flowchart of the first method of device control provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a second flow chart of a device control method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a third process of a device control method provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a fourth flow chart of a device control method provided by an embodiment of the present application.
  • FIG. 10 to FIG. 14 are schematic diagrams of scenes of the device control method provided by the embodiments of the present application.
  • FIG. 15 is a schematic diagram of the first structure of a device control device provided by an embodiment of the present application.
  • FIG. 16 is a schematic diagram of a second structure of a device control device provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 18 is a schematic diagram of another structure of an electronic device provided by an embodiment of the present application.
  • FIGS. 1 to 3 are schematic diagrams of the structure of an electronic device with a retractable touch screen provided by an embodiment of the present application.
  • 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 has a hollow structure.
  • the driving member 50, the driving mechanism 70, the camera 90 and other components can all be arranged in the housing assembly 10.
  • the electronic device 100 of the embodiment 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 article, the electronic device 100 is a mobile phone as an example for description.
  • the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other.
  • the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.
  • the first housing 12 and the second housing 14 jointly form an accommodating space 16.
  • the accommodating space 16 can be used to place components such as the driving member 50, the camera 60, and the driving mechanism 70.
  • the housing assembly 10 may further include a back cover 18, and the back cover 18 and the first housing 12 and the second housing 14 together form an accommodating space 16.
  • the driving member 50 is disposed in the second casing 14, one end of the flexible display screen 30 is disposed in the first casing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen is disposed in the accommodating space 16. In this way, part of the flexible display screen is hidden in the accommodating space 16, and part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit.
  • the first housing 12 and the second housing 14 are relatively far away, and the flexible display screen 30 can be driven to unfold by the driving member 50, so that more flexible display screens 30 are exposed outside the accommodating space 16, as shown in FIG.
  • the flexible display screen 30 exposed to the outside of the accommodating space 16 is lighted up, so that the display area presented by the electronic device 100 becomes larger.
  • 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 contracted state to the laterally extended state.
  • the driving member 50 may 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 engagement or the like. When the first housing 12 and the second housing 14 are relatively far away, the driving member 50 is driven to engage The part of the flexible display screen 30 on the driving member 50 moves and unfolds.
  • the driving member 50 can also be a round shaft without teeth 52.
  • the driving member 50 will flexibly display the part of the winding 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.
  • the driving member 50 is rotatably disposed on the second housing 14, and when the flexible display screen 30 is gradually expanded, the driving member 50 can rotate with the movement of the flexible display screen 30.
  • 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 expanded, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.
  • the flexible display screen can be retracted by the driving member 50.
  • the electronic device 100 further includes a resetting member (not shown). One end of the flexible display screen housed in the accommodating space 16 is linked with the resetting member. When the first housing 12 and the second housing 14 are relatively close, the resetting member drives The flexible display screen 30 is reset, so that part of the flexible display screen is retracted into the accommodating space 16.
  • the driving mechanism 70 can be arranged in the accommodating space 16, the driving mechanism 70 can be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to be relative to the first housing 12.
  • the separation movement drives 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 one another manually.
  • An embodiment of the present application provides a device control method, which is applied to an electronic device, the electronic device includes a retractable touch screen, the electronic device is configured with a control icon, and the device control method includes:
  • the retractable touch display screen is controlled to expand and contract according to the preset first operation.
  • controlling the retractable touch display screen to expand and contract may include: when the touch display screen is in the on-screen state and the control icon is moved, determining the movement parameter of the control icon; If the movement parameter satisfies the preset condition, the retractable touch display screen is controlled to expand and contract according to the movement parameter.
  • controlling the retractable touch screen to expand according to the movement parameter may include: if the movement of the control icon If the direction is the preset first direction, the retractable touch screen is controlled to expand; if the movement direction of the control icon is the preset second direction, the retractable touch screen is controlled to contract .
  • the movement parameter may further include a movement distance
  • controlling the retractable touch screen to expand may include: if the movement direction of the control icon is the preset first direction Direction and the movement distance of the control icon is greater than or equal to a preset distance threshold, then the retractable touch display screen is controlled to stretch;
  • controlling the retractable touch screen to shrink may include: if the movement direction of the control icon is the preset second direction and If the moving distance of the control icon is greater than or equal to the preset distance threshold, the retractable touch screen is controlled to shrink.
  • the movement parameter may further include a pressing pressure value detected at a target position on the touch display screen, and the target position is any place on the movement track;
  • controlling the retractable touch screen to expand may include: if the movement direction of the control icon is the preset first direction Direction and the pressing pressure value is greater than or equal to the preset pressure threshold, controlling the retractable touch display screen to stretch;
  • controlling the retractable touch screen to shrink may include: if the movement direction of the control icon is the preset second direction and If the pressing pressure value is greater than or equal to the preset pressure threshold value, the retractable touch display screen is controlled to contract.
  • the embodiment of the present application also provides another device control method, which is applied to an electronic device, the electronic device includes a retractable touch screen, and the device control method includes:
  • the retractable touch display screen is controlled to expand and contract.
  • control the retractable touch screen according to the preset second operation may include: when the touch display screen is in the off state and the touch display screen receives a touch operation, determining the touch trajectory corresponding to the touch operation; if the touch trajectory corresponding to the touch operation is The preset first trajectory is controlled according to the first trajectory to expand the retractable touch screen; if the touch trajectory corresponding to the touch operation is the preset second trajectory, then according to the second trajectory The retractable touch display screen is controlled to shrink.
  • control the retractable touch screen according to the preset second operation may include: when the touch display screen is in the off-screen state, controlling the touch display screen to enter a light sleep mode, wherein, in the light sleep mode, the electronic device displays the touch screen
  • an interrupt detection event is triggered to detect whether the touch operation is a preset second operation; when the touch operation is the preset second operation, according to The preset second operation controls the retractable touch display screen to expand and contract.
  • the execution subject of the embodiments of the present application may be an electronic device such as a smart phone or a tablet computer.
  • FIG. 6 is a schematic flowchart of the first method of device control according to an embodiment of the present application.
  • the device control method may be applied to an electronic device, the electronic device may include a retractable touch display screen, and a control icon may be configured in the electronic device.
  • the process of the device control method may include:
  • the electronic device may include a retractable touch display screen.
  • the retractable touch screen may be a touch screen (The Retractable Display Panel) that can be stretched or contracted.
  • the retractable touch display screen may be a flexible display screen, and the flexible display screen may be bent, rolled, folded, and so on.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • the electronic device can control the retractable according to the preset first operation.
  • the touch screen is stretched or contracted.
  • the electronic device can first detect whether its retractable touch screen is in the on-screen state.
  • the electronic device can detect whether the control icon receives the preset first operation.
  • the electronic device may continue to monitor whether the control icon receives the preset first operation.
  • the electronic device can control the retractable touch screen to expand accordingly to increase the visible size of the screen according to the preset first operation, or to contract to reduce the screen size. Visible size.
  • the electronic device can control the retractable touch screen to expand or contract according to the operation received by the control icon when the touch screen is in the on-screen state, thereby improving the operability of the electronic device.
  • FIG. 7 is a schematic diagram of the second flow of the device control method provided by the embodiment of the present application.
  • the device control method can be applied to an electronic device, and the electronic device can include a retractable touch display screen.
  • the process of the device control method may include:
  • the electronic device may include a retractable touch display screen.
  • the retractable touch display screen may be a touch display panel (The Retractable Display Panel) that can be stretched or contracted.
  • the retractable touch display screen may be a flexible display screen, and the flexible display screen may be bent, rolled, folded, and so on.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • the electronic device can control the retractable touch display according to the preset second operation
  • the screen is stretched or contracted.
  • the electronic device can first detect whether its retractable touch screen is in the off-screen state.
  • the electronic device can detect whether the touch display screen receives the preset second operation.
  • the electronic device can continue to monitor whether the touch display screen receives the preset second operation.
  • the electronic device can control the retractable touch screen to expand accordingly to increase the visible size of the screen according to the preset second operation, or to shrink to reduce the screen size.
  • the visible size is the visible size.
  • the electronic device can control the retractable touch screen to expand or contract according to the touch operation received by the touch screen when the touch screen is in the off state, thereby improving the operability of the electronic device. sex.
  • FIG. 8 is a schematic flowchart of a third method for controlling a device according to an embodiment of the present application.
  • the device control method may be applied to an electronic device, the electronic device may include a retractable touch display screen, and a control icon may be configured in the electronic device.
  • the process of the device control method may include:
  • the electronic device may include a retractable touch display screen.
  • the retractable touch screen may be a retractable touch screen (The Retractable Display Panel).
  • the retractable touch display screen may be a flexible display screen, and the flexible display screen may be bent, rolled, folded, and so on.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • the electronic device can control the retractable according to the preset first operation.
  • the touch screen is stretched or contracted.
  • the electronic device can detect whether the control icon receives the preset first operation.
  • the electronic device may continue to monitor whether the control icon receives the preset first operation.
  • the electronic device can control the retractable touch screen to expand or contract accordingly according to the preset first operation.
  • the electronic device may control the retractable touch display screen to expand or contract according to the preset second operation.
  • the electronic device can detect whether the touch screen has received the preset second operation.
  • the electronic device can continue to monitor whether the touch display screen receives the preset second operation.
  • the electronic device can control the retractable touch screen to expand or contract accordingly according to the preset second operation.
  • the electronic device can control the retractable touch screen according to the preset first operation when the retractable touch screen is in the on-screen state and the control icon receives the preset first operation.
  • the display screen expands and contracts.
  • the electronic device may control the retractable touch display screen to expand and contract according to the preset second operation when the touch display screen is in the off-screen state and the touch display screen receives the preset second operation. That is, in the embodiments of the present application, the electronic device can control the retractable touch screen to expand or contract in different ways when the touch screen is in different states, that is, when the screen is on or off, so as to improve The operability of electronic equipment.
  • the embodiments of the present application can control the retractable touch display screen to expand or contract in different ways when the touch display screen is in different states, that is, when the screen is on or off, respectively, the embodiments of the present application It can also improve the diversity and flexibility of users' operations on electronic devices.
  • FIG. 9 is a schematic flowchart of a fourth method for controlling a device according to an embodiment of the application.
  • the device control method may be applied to an electronic device, the electronic device may include a retractable touch display screen, and a control icon may be configured in the electronic device. The control icon can be moved.
  • the electronic device determines a movement parameter of the control icon, and the movement parameter includes at least a movement direction.
  • the electronic device can determine the movement parameter of the control icon, and control the retractable touch screen when the movement parameter meets preset conditions Scale up and down.
  • the movement parameter of the control icon may at least include the movement direction of the control icon.
  • the electronic device After determining the movement direction of the control icon, the electronic device can detect whether the movement direction of the control icon is the preset first direction or the preset second direction.
  • the electronic device may perform other operations.
  • the moving direction of the control icon is the preset first direction, then enter 402. Or, if the movement direction of the control icon is the preset second direction, then enter 403.
  • the electronic device controls the retractable touch screen to expand.
  • the preset first direction is a downward direction. Then, when it is detected that the moving direction of the control icon is a downward direction, the electronic device can control the retractable touch display screen to expand, thereby increasing the visible size of the touch display screen.
  • the preset first direction can also be other directions, such as a leftward direction, and so on. This embodiment does not specifically limit this.
  • the electronic device controls the retractable touch screen to shrink.
  • the preset second direction is the upward direction. Then, when it is detected that the moving direction of the control icon is an upward direction, the electronic device can control the retractable touch screen to shrink, thereby reducing the visible size of the touch screen.
  • the preset second direction can also be other directions, such as a rightward direction, and so on. This embodiment does not specifically limit this.
  • the electronic device determines a touch track corresponding to the touch operation.
  • the electronic device in this embodiment may have a screen-off gesture function (black screen gesture function).
  • the screen-off gesture function is that when the touch screen of the electronic device is in the off-screen state, the user can draw a specific track on the touch screen, and the electronic device can recognize the track and its corresponding user gesture, and execute the user Shortcut operations corresponding to gestures.
  • the electronic device can determine the touch track corresponding to the touch operation.
  • the electronic device After determining the touch trajectory corresponding to the user's touch operation, the electronic device can detect whether the touch trajectory is the preset first trajectory or the preset second trajectory.
  • the electronic device can perform other operations.
  • touch trajectory is the preset first trajectory, then enter 405. Or, if the touch trajectory is the preset second trajectory, then enter 406.
  • the electronic device controls the retractable touch screen to expand according to the first trajectory.
  • the preset first trajectory is a "Z"-shaped trajectory. Then, when the touch trajectory corresponding to the user's touch operation on the touch screen is a "Z"-shaped trajectory, the electronic device can control the retractable touch screen to stretch.
  • the electronic device can control the retractable touch screen to stretch, thereby increasing the touch The visible size of the display.
  • the preset first trajectory can also be other trajectories, such as an "O" shape, and so on. This embodiment does not specifically limit this.
  • the electronic device controls the retractable touch screen to shrink according to the second trajectory.
  • the preset second trajectory is an "S"-shaped trajectory. Then, when the touch trajectory corresponding to the user's touch operation on the touch screen is an "S"-shaped trajectory, the electronic device can control the retractable touch screen to shrink.
  • the electronic device can control the retractable touch screen to shrink, thereby reducing the The visible size of the touch screen.
  • the preset first trajectory can also be other trajectories, such as a "V" shape, and so on. This embodiment does not specifically limit this.
  • the electronic device can control the expansion or contraction of the touch display screen by controlling the movement of the icon when the retractable touch display screen is in the on-screen state.
  • the electronic device can control the expansion or retraction of the touch display screen through the touch track corresponding to the touch operation received by the touch display screen. That is, the electronic device can control the retractable touch screen to expand and contract in different ways under different screen states. Therefore, the embodiments of the present application can improve the operability, operation diversity and flexibility of the retractable touch display screen of the electronic device.
  • the movement parameter of the control icon when the control icon is moved, may include not only the movement direction but also the movement distance.
  • the process of controlling the retractable touch screen to stretch by the electronic device may include: if the movement direction of the control icon is the preset first direction and The moving distance of the control icon is greater than or equal to the preset distance threshold, and the electronic device controls the retractable touch screen to expand.
  • the electronic device controls the retractable touch screen to shrink the flow, which may include: if the movement direction of the control icon is the preset second direction and the control When the moving distance of the icon is greater than or equal to the preset distance threshold, the electronic device controls the retractable touch screen to shrink.
  • the electronic device will control the retractable touch screen Stretch or contract accordingly. If the moving distance of the control icon does not reach the preset distance threshold, the electronic device may not control the retractable touch screen to perform corresponding expansion or contraction.
  • the electronic device will control the retractable touch screen to expand and contract according to the movement direction of the control icon, which can effectively avoid The user's misoperation causes the control icon to erroneously expand and contract the retractable touch screen when the control icon is moved, thereby improving the user experience.
  • the movement parameter of the control icon may include, in addition to the movement direction, the pressing pressure value detected at the target position on the touch screen.
  • the target position It can be any point on the movement track of the control icon.
  • the process of controlling the retractable touch screen to stretch by the electronic device may include: if the movement direction of the control icon is the preset first direction and When the pressing pressure value is greater than or equal to the preset pressure threshold, the electronic device controls the retractable touch screen to expand.
  • the electronic device controls the retractable touch screen to shrink the process, which may include: if the movement direction of the control icon is the preset second direction and press If the pressure value is greater than or equal to the preset pressure threshold, the electronic device controls the retractable touch screen to contract.
  • the electronic device will control the retractable touch screen to expand or contract accordingly. If during the movement of the control icon, the touch screen of the electronic device does not receive a single press, the electronic device may not control the retractable touch screen to expand or contract accordingly.
  • the electronic device will control the retractable touch screen to expand and contract according to the movement direction of the control icon when the touch screen needs to receive a double press during the movement of the control icon. , Can effectively avoid the user's misoperation caused by the control icon is moved to erroneously expand and contract the retractable touch screen, thereby improving the user experience.
  • the electronic device controls the retractable touch display screen to expand and contract according to the preset second operation.
  • the process can include:
  • the electronic device controls the touch screen to enter the light sleep mode, wherein, in the light sleep mode, the electronic device supplies power to the touch screen, and when the touch screen receives When a touch operation is reached, an interrupt detection event is triggered to detect whether the touch operation is a preset second operation;
  • the electronic device controls the retractable touch screen to expand and contract according to the preset second operation.
  • the electronic device can control the touch screen to enter a doze mode.
  • the electronic device in the light sleep mode, can continue to supply power to the touch display screen, and can trigger an interrupt detection event when the touch display screen receives a touch operation to detect whether the touch operation is a preset second operation.
  • the electronic device can control the retractable touch screen to expand or contract according to the preset second operation.
  • the electronic device can perform other operations, such as continuing to detect whether the touch operation is received when the touch display screen is in the light sleep mode.
  • FIG. 10 to FIG. 14 are schematic diagrams of scenes of the device control method provided by the embodiments of the application.
  • the electronic device provided in this embodiment includes a retractable touch display screen.
  • the retractable touch display screen may be a retractable touch display screen.
  • the retractable touch display screen can be a flexible display screen, and the flexible display screen can be bent, rolled, folded, and the like.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • Figure 1 shows the form of the screen of the electronic device when the retractable touch screen is in the retracted state
  • Figure 2 shows the shape of the screen when the retractable touch screen is in the extended state. The shape of the screen of the electronic device.
  • control icon can be used to control the retractable touch screen to expand or contract.
  • the control icon can be a virtual sliding key realized by software, and the control icon can be moved.
  • the above-mentioned control icons can be displayed on the touch screen, as shown in FIG. 10.
  • the electronic device can detect whether the control icon is moved by the user.
  • the electronic device may display a virtual slide rail implemented by software on the touch display screen, the control icon is set on the virtual slide rail, and the control icon can be moved on the virtual slide rail.
  • the electronic device can acquire the movement direction of the control icon, and detect whether the movement direction of the control icon is a preset leftward direction or a rightward direction.
  • the user After a period of time, the user needs to retract the stretched touch screen back. Then, also in the bright screen state, the user can move the control icon to the left, that is, the electronic device detects that the moving direction of the control icon is the left direction. In this case, the electronic device can control the retractable touch screen to shrink, as shown in Figure 12. It can be seen from Fig. 12 that when the touch display screen is shrunk, the screen area available for touch and display on the electronic device becomes smaller.
  • the retractable touch screen can enter the light sleep doze mode.
  • the electronic device in the light sleep mode, can continue to supply power to the touch screen, and can trigger an interrupt detection event when the touch screen receives a touch operation to detect whether the touch track corresponding to the touch operation is a preset "Z"-shaped or "S"-shaped trajectory.
  • the retractable touch screen when the retractable touch screen is in the off state and the touch screen is in the retracted state, the user draws a "Z" pattern on the touch screen, that is, the electronic device detects the touch
  • the touch track corresponding to the touch operation received on the display screen is a preset "Z" shape.
  • the electronic device can control the retractable touch screen to stretch. It can be seen from FIG. 13 that when the touch display screen is extended, the screen area available for touch and display on the electronic device becomes larger.
  • the touch display screen After a period of time, for example, because the user does not touch the display screen within a preset period of time, the touch display screen will enter the off-screen state again. After that, for example, the user needs to retract the stretched touch screen back. Then, also in the off state, the user can draw an "S" shape pattern on the touch screen, that is, the electronic device detects that the touch trajectory corresponding to the touch operation received on the touch screen is a preset "S" shape . In this case, the electronic device can control the retractable touch screen to shrink, as shown in Figure 14. It can be seen from Fig. 14 that when the touch display screen is shrunk, the screen area available for touch and display on the electronic device becomes smaller.
  • the embodiments of the present application can improve the operability, operation diversity, and flexibility of the retractable touch display screen of the electronic device. Moreover, since the embodiments of the present application can use gestures and moving control icons to control the expansion and contraction of the retractable touch screen, the embodiments of the present application can facilitate the user to control the retractable touch screen with one-handed operation. Retractable. On the other hand, since the method of controlling the expansion and contraction of the retractable touch screen provided by the embodiment of the present application is only realized by touching the touch screen, there is no need to set additional physical keys to control the retractable touch screen. Retractable, therefore, the embodiment of the present application can simplify the appearance design of the electronic device, without unnecessary hardware such as physical buttons, and make the electronic device more beautiful.
  • the control icon can be hidden when it is not needed.
  • the user can call out the control icon in a preset way. For example, after the control icon is displayed on the touch screen, if the user does not touch the control icon within a preset 5 minutes, the control icon can be hidden, that is, no longer displayed on the screen.
  • the user can call out the control icon through voice wake-up. For example, the user can speak a preset voice command, and the electronic device can perform voiceprint recognition after receiving the voice command. If it is detected through voiceprint recognition that the voice command is a voice uttered by a preset user (such as the owner), the electronic device can call out the control icon, that is, display the control icon on the screen.
  • the electronic device if the electronic device receives an instruction for extending the retractable touch screen, for example, the user moves the control icon to the right when the screen is on, or the user touches the display when the screen is off. If a "Z" pattern is drawn on the screen, the electronic device can first detect whether the retractable touch screen has been fully unfolded. If it is detected that the retractable touch screen has not been fully expanded, the electronic device can continue to extend the retractable touch screen. If it is detected that the retractable touch screen has been fully expanded, the electronic device may not respond to the instruction for instructing the retractable touch screen to expand.
  • the electronic device can first detect whether the retractable touch screen has been completely contracted. If it is detected that the retractable touch screen has not been fully retracted, the electronic device can continue to retract the retractable touch screen. If it is detected that the retractable touch screen has been completely retracted, the electronic device may not respond to the instruction for instructing to retract the retractable touch screen, and so on.
  • FIG. 15 is a schematic diagram of the first structure of a device control apparatus provided by an embodiment of the application.
  • the device control device can be applied to an electronic device, the electronic device includes a retractable touch screen, and the electronic device is configured with a control icon.
  • the device control apparatus 500 may include: a first processing module 501.
  • the first processing module 501 is configured to control the retractable touch display screen according to the preset first operation when the touch display screen is in the on-screen state and the control icon receives a preset first operation Scale up and down.
  • control icon can be moved; the first processing module 501 can be used to:
  • the retractable touch screen is controlled to expand and contract according to the movement parameter.
  • the first processing module 501 may be used to:
  • control icon If the moving direction of the control icon is the preset first direction, controlling the retractable touch screen to expand;
  • the retractable touch display screen is controlled to shrink.
  • the movement parameter further includes a movement distance.
  • the first processing module 501 may be configured to: if the movement direction of the control icon is a preset first direction and the movement distance of the control icon is greater than or equal to a preset distance threshold, control the retractable all The touch display screen is stretched; if the movement direction of the control icon is a preset second direction and the movement distance of the control icon is greater than or equal to a preset distance threshold, the retractable touch display screen is controlled to shrink .
  • the movement parameter further includes a pressing pressure value detected at a target position on the touch display screen, and the target position is any place on the movement track.
  • the first processing module 501 may be configured to: if the movement direction of the control icon is a preset first direction and the pressing pressure value is greater than or equal to a preset pressure threshold, control the retractable touch The display screen stretches; if the movement direction of the control icon is the preset second direction and the pressing pressure value is greater than or equal to the preset pressure threshold value, the retractable touch screen is controlled to shrink.
  • FIG. 16 is a schematic diagram of the second structure of the device control apparatus provided by an embodiment of the application.
  • the device control device can be applied to an electronic device that includes a retractable touch screen.
  • the device control apparatus 500 may include: a second processing module 502.
  • the second processing module 502 is configured to control the rollable touch display according to the preset second operation when the touch display screen is in the off state and the touch display screen receives a preset second operation
  • the screen expands and contracts.
  • the second processing module 502 may be used to:
  • the touch trajectory corresponding to the touch operation is the preset first trajectory, controlling the retractable touch display screen to stretch according to the first trajectory;
  • the retractable touch display screen is controlled to shrink according to the second trajectory.
  • the second processing module 502 may be used to:
  • the touch display screen When the touch display screen is in the off-screen state, the touch display screen is controlled to enter the light sleep mode, wherein, in the light sleep mode, the electronic device supplies power to the touch display screen.
  • the display screen receives a touch operation, an interrupt detection event is triggered to detect whether the touch operation is a preset second operation;
  • the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed on a computer, the computer is caused to execute the process in the device control method provided in this embodiment.
  • An embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is configured to execute a process in the device control method provided in this embodiment by calling a computer program stored in the memory.
  • the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone.
  • a mobile terminal such as a tablet computer or a smart phone.
  • FIG. 17 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the electronic device 600 may include components such as a touch screen 601, a memory 602, and a processor 603. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 17 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements.
  • the touch display 601 may be a retractable touch display.
  • the retractable touch display screen may be a retractable touch display screen.
  • the retractable touch display screen may be a flexible display screen, and the flexible display screen may be bent, rolled, folded, and so on.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • the memory 602 can be used to store application programs and data.
  • the application program stored in the memory 602 contains executable code.
  • Application programs can be composed of various functional modules.
  • the processor 603 executes various functional applications and data processing by running application programs stored in the memory 602.
  • the processor 603 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 602 and calling the data stored in the memory 602
  • the various functions and processing data of the electronic equipment can be used to monitor the electronic equipment as a whole.
  • the electronic device is configured with a control icon
  • the processor 603 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and
  • the processor 603 runs the application program stored in the memory 602 to execute:
  • control icon When the touch display screen is in the on-screen state and the control icon receives the preset first operation, controlling the retractable touch display screen to expand and contract according to the preset first operation;
  • the electronic device is equipped with a control icon, and the processor 603 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 602 according to the following instructions , And the processor 603 runs the application program stored in the memory 602 to execute:
  • the retractable touch display screen is controlled to expand and contract.
  • the electronic device 600 may include components such as a touch screen 601, a memory 602, a processor 603, a battery 604, a microphone 605, and a speaker 606.
  • the touch display 601 may be a retractable touch display.
  • the retractable touch display screen may be a retractable touch display screen.
  • the retractable touch display screen may be a flexible display screen, and the flexible display screen may be bent, rolled, folded, and so on.
  • the visible size of the screen can be increased by stretching the screen, and the visible size of the screen can also be reduced by shrinking the screen.
  • the memory 602 can be used to store application programs and data.
  • the application program stored in the memory 602 contains executable code.
  • Application programs can be composed of various functional modules.
  • the processor 603 executes various functional applications and data processing by running application programs stored in the memory 602.
  • the processor 603 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 602 and calling the data stored in the memory 602
  • the various functions and processing data of the electronic equipment can be used to monitor the electronic equipment as a whole.
  • the battery 604 can be used to supply power to various modules and components of the electronic device.
  • the microphone 605 can be used to pick up sound signals in the surrounding environment, for example, to receive voice instructions issued by the user.
  • the speaker 606 can be used to play sound signals.
  • the electronic device may be configured with a control icon, and the processor 603 in the electronic device will load the executable code corresponding to the process of one or more applications into the memory 602 according to the following instructions, and The processor 603 runs the application program stored in the memory 602 to execute:
  • the retractable touch display screen is controlled to expand and contract according to the preset first operation.
  • control icon is movable.
  • the processor 603 executes the control of the retractable touch display screen according to the preset first operation when the touch display screen is in the on-screen state and the control icon receives the preset first operation
  • it can be executed: when the touch display screen is in the on-screen state and the control icon is moved, the movement parameter of the control icon is determined; if the movement parameter of the control icon meets the preset condition, then according to The movement parameter controls the telescopic touch display screen to expand and contract.
  • the processor 603 when the processor 603 executes that if the movement parameter of the control icon satisfies a preset condition, according to the movement parameter to control the retractable touch screen to expand, it may execute: If the movement direction of the control icon is a preset first direction, the retractable touch display screen is controlled to expand; and/or, if the movement direction of the control icon is a preset second direction, the control can be The retractable touch display screen is retracted.
  • the movement parameter further includes a movement distance.
  • the processor 603 executes that if the movement direction of the control icon is the preset first direction, when controlling the retractable touch screen to expand, it may execute: if the movement direction of the control icon is In the first preset direction and the movement distance of the control icon is greater than or equal to the preset distance threshold, the retractable touch screen is controlled to expand.
  • the processor 603 executes that if the movement direction of the control icon is the preset second direction, when controlling the retractable touch display screen to shrink, it may execute: if the movement direction of the control icon is the preset If the second direction is set and the movement distance of the control icon is greater than or equal to the preset distance threshold, the retractable touch display screen is controlled to shrink.
  • the movement parameter further includes a pressing pressure value detected at a target position on the touch display screen, and the target position is any place on the movement track.
  • the processor 603 executes that if the movement direction of the control icon is the preset first direction, when controlling the retractable touch screen to expand, it may execute: if the movement direction of the control icon is In the preset first direction and the pressing pressure value is greater than or equal to the preset pressure threshold, the retractable touch screen is controlled to expand.
  • the processor 603 executes that if the movement direction of the control icon is the preset second direction, when controlling the retractable touch display screen to shrink, it may execute: if the movement direction of the control icon is the preset If the second direction is set and the pressing pressure value is greater than or equal to the preset pressure threshold, the retractable touch display screen is controlled to shrink.
  • the electronic device may be configured with a control icon, and the processor 603 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 602 according to the following instructions , And the processor 603 runs the application program stored in the memory 602 to execute:
  • the retractable touch display screen is controlled to expand and contract.
  • the processor 603 executes that when the touch display screen is in the off-screen state and the touch display screen receives a preset second operation, according to the preset second operation, control the retractable When the touch display screen is expanded and contracted, it may be executed: when the touch display screen is in the off state and the touch display screen receives a touch operation, determine the touch track corresponding to the touch operation; if the touch operation If the corresponding touch trajectory is the preset first trajectory, the retractable touch display screen is controlled to expand according to the first trajectory; and/or, if the touch trajectory corresponding to the touch operation is the preset second trajectory Trajectory, the retractable touch display screen is controlled to shrink and scroll according to the second trajectory.
  • the processor 603 executes that when the touch display screen is in the off-screen state and the touch display screen receives a preset second operation, according to the preset second operation, control the retractable When the touch display screen is stretched, it may be executed: when the touch display screen is in the off-screen state, the touch display screen is controlled to enter a light sleep mode, wherein, in the light sleep mode, the electronic device Power is supplied to the touch display screen, and when the touch display screen receives a touch operation, an interrupt detection event is triggered to detect whether the touch operation is a preset second operation; when the touch operation is the preset second operation In the second operation, according to the preset second operation, the retractable touch display screen is controlled to expand and contract.
  • the device control device provided in the embodiment of the application belongs to the same concept as the device control method in the above embodiment, and any method provided in the device control method embodiment can be run on the device control device, and the details are For details of the implementation process, refer to the embodiment of the device control method, which will not be repeated here.
  • the computer program may be stored in a computer readable storage medium, such as stored in a memory, and executed by at least one processor.
  • the execution process may include the flow of the embodiment of the device control method.
  • the storage medium may be a magnetic disk, an optical disc, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), etc.
  • the device control device of the embodiment of the present application its functional modules may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional 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. .

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)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种设备控制方法。该设备控制方法可以应用于电子设备(100),该电子设备(100)包括可伸缩的触摸显示屏(30),该电子设备(100)配置有控制图标,该方法包括:当该触摸显示屏(30)处于亮屏状态且该控制图标接收到预设第一操作时,根据该预设第一操作,控制可伸缩的该触摸显示屏(30)进行伸缩(101)。该方法可提高电子设备(100)的可操作性。

Description

设备控制方法、装置、存储介质及电子设备
本申请要求于2020年05月07日提交中国专利局、申请号为202010379157.5、申请名称为“设备控制方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于电子设备技术领域,尤其涉及一种设备控制方法、装置、存储介质及电子设备。
背景技术
随着技术的不断发展,电子设备的形态也在发生变化。从小屏幕发展到大屏幕,从单纯的用于显示图像和文字的显示屏发展到可以接收用户触摸操作的触摸显示屏,等等。
发明内容
本申请实施例提供一种设备控制方法、装置、存储介质及电子设备,可以提高电子设备的可操作性。
第一方面,本申请实施例提供一种设备控制方法,应用于电子设备,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述方法包括:
当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
第二方面,本申请实施例提供一种设备控制方法,应用于电子设备,其特征在于,所述电子设备包括可伸缩的触摸显示屏,所述方法包括:
当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
第三方面,本申请实施例提供一种设备控制装置,应用于电子设备,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述装置包括:
第一处理模块,用于当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
第四方面,本申请实施例提供一种设备控制装置,应用于电子设备,其特征在于,所述电子设备包括可伸缩的触摸显示屏,所述装置包括:
第二处理模块,用于当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
第五方面,本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例第一方面或第二方面提供的设备控制方法中的流程。
第六方面,本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例第一方面或第二方面提供的设备控制方法中的流程。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。
图1至图5为本申请实施例提供的具有可伸缩的触摸显示屏的电子设备的结构示意图。
图6是本申请实施例提供的设备控制方法的第一种流程示意图。
图7是本申请实施例提供的设备控制方法的第二种流程示意图。
图8是本申请实施例提供的设备控制方法的第三种流程示意图。
图9是本申请实施例提供的设备控制方法的第四种流程示意图。
图10至图14是本申请实施例提供的设备控制方法的场景示意图。
图15是本申请实施例提供的设备控制装置的第一种结构示意图。
图16是本申请实施例提供的设备控制装置的第二种结构示意图。
图17是本申请实施例提供的电子设备的结构示意图。
图18是本申请实施例提供的电子设备的另一结构示意图。
具体实施方式
请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
请参阅图1至图3,图1至图3是本申请实施例提供的具有可伸缩的触摸显示屏的电子设备的结构示意图。
本实施方式的电子设备100包括壳体组件10、柔性显示屏30、带动件50及驱动机构70。壳体组件10为中空结构。带动件50、驱动机构70以及摄像头90等组件均可设置在壳体组件10。可以理解的是,本申请实施方式的电子设备100包括但不限于手机、平板电脑等移动终端或者其它便携式电子设备。在本文中,以电子设备100为手机为例进行说明。
在本实施方式中,壳体组件10包括第一壳体12和第二壳体14,第一壳体12和第二壳体14能够相对运动。在本实施方式中,第一壳体12和第二壳体14滑动连接,也即是说,第二壳体14能够相对第一壳体12滑动。
请参阅图4及图5,第一壳体12与第二壳体14共同形成有容置空间16。容置空间16可用于放置带动件50、摄像头60及驱动机构70等部件。壳体组件10还可包括后盖18,后盖18与第一壳体12与第二壳体14共同形成容置空间16。
带动件50设置于第二壳体14,柔性显示屏30的一端设置于第一壳体12,柔性显示屏30绕过带动件50,且柔性显示屏的另一端设置于容置空间16内,以使部分柔性显示屏隐藏于容置空间16内,隐藏于容置空间16内的部分柔性显示屏30可不点亮。第一壳体12和第二壳体14相对远离,可通过带动件50带动柔性显示屏30展开,以使得更多的柔性显示屏30暴露于容置空间16外,如图5所示。点亮暴露于容置空间16外部的柔性显示屏30,以使得电子设备100所呈现的显示区域变大。例如,从图1至图2可以为电子设备的柔性显示屏30从收缩状态到横向伸展状态的形态变化对比。
带动件50可为外部带有齿52的转轴结构,柔性显示屏30通过啮合等方式与带动件50相联动,第一壳体12和第二壳体14相对远离时,通过带动件50带动啮合于带动件50上的部分柔性显示屏30移动并展开。
可以理解的是,带动件50还可为不附带齿52的圆轴,第一壳体12和第二壳体14相对远离时,通过带动件50将卷绕于带动件50上的部分柔性显示屏30撑开,以使更多的柔性显示屏暴露于容置空间16外,并处于平展状态。具体的,带动件50可转动地设置于第二壳体14,在逐步撑开柔性显示屏30时,带动件50可随柔性显示屏30的移动而转动。
在其它实施方式中,带动件50也可固定在第二壳体14上,带动件50具备光滑的表面。在将柔性显示屏30撑开时,带动件50通过其光滑的表面与柔性显示屏30可滑动接触。
当第一壳体12和第二壳体14相对靠近时,柔性显示屏可通过带动件50带动收回。或者,电子设备100还包括复位件(图未示),柔性显示屏收容于容置空间16的一端与复位件联动,在第一壳体12和第二壳体14相对靠近时,复位件带动柔性显示屏30复位,进而使得部分柔性显示屏收回于容置空间16内。
在本实施方式中,驱动机构70可设置在容置空间16内,驱动机构70可与第二壳体14相联动,驱动机构70用于驱动第二壳体14相对于第一壳体12做相离运动,进而带动柔性显示屏组件30伸展。可以理解的是,驱动机构70也可以省略,用户可以直接通过手动等方式来使得第一壳体和第二壳体相对运动。
需要说明的是,除了按照图1至图5的硬件排布设计使柔性显示屏可以在电子设备的横向方向上进行伸缩(例如在左右方向上进行的伸缩)外,在其它一些实施方式中,还可以改变硬件排布设计的方向使得柔性显示屏可以在电子设备的纵向方向上进行伸缩(例如在上下方向上进行的伸缩)。
本申请实施例提供一种设备控制方法,应用于电子设备,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述设备控制方法包括:
当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述控制图标可移动;那么,所述当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩,可以包括:当所述触摸显示屏处于亮屏状态且所述控制图标被移动时,确定所述控制图标的移动参数;若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸展,可以包括:若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展;若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述移动参数还可以包括移动距离;
那么,所述若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展,可以包括:若所述控制图标的移动方向为预设的第一方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行伸展;
所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩,可以包括:若所述控制图标的移动方向为预设的第二方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述移动参数还可以包括在所述触摸显示屏上的目标位置处检测到的按压压力值,所述目标位置为移动轨迹上的任一处;
那么,所述若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展,可以包括:若所述控制图标的移动方向为预设的第一方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行伸展;
所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩,可以包括:若所述控制图标的移动方向为预设的第二方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行收缩。
本申请实施例还提供另一种设备控制方法,应用于电子设备,所述电子设备包括可伸缩的触摸显示屏,所述设备控制方法包括:
当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩,可以包括:当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到触摸操作时,确定所述触摸 操作对应的触摸轨迹;若所述触摸操作对应的触摸轨迹为预设的第一轨迹,则根据所述第一轨迹控制可伸缩的所述触摸显示屏进行伸展;若所述触摸操作对应的触摸轨迹为预设的第二轨迹,则根据所述第二轨迹控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩,可以包括:当所述触摸显示屏处于熄屏状态时,控制所述触摸显示屏进入浅睡眠模式,其中,在所述浅睡眠模式下,所述电子设备对所述触摸显示屏进行供电,当所述触摸显示屏接收到触摸操作时触发中断检测事件,以检测所述触摸操作是否为预设第二操作;当所述触摸操作为所述预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
可以理解的是,本申请实施例的执行主体可以是诸如智能手机或平板电脑等的电子设备。
请参阅图6,图6是本申请实施例提供的设备控制方法的第一种流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的触摸显示屏,并且在该电子设备中可以配置有控制图标。该设备控制方法的流程可以包括:
101、当触摸显示屏处于亮屏状态且控制图标接收到预设第一操作时,根据该预设第一操作,控制可伸缩的该触摸显示屏进行伸缩。
随着技术的不断发展,电子设备的形态也在发生变化。从小屏幕发展到大屏幕,从单纯的用于显示图像和文字的显示屏发展到可以接收用户触摸操作的触摸显示屏,等等。然而,相关技术中,用户操作电子设备时仍然不够灵活。即,电子设备的可操作性不高。
需要说明的是,在本申请实施例中,电子设备可以包括可伸缩的触摸显示屏。其中,可伸缩的触摸显示屏可以是一种可以进行伸展或收缩的触摸显示屏(The Retractable Display Panel)。可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。
在本申请实施例中,比如,当电子设备的可伸缩的触摸显示屏处于亮屏状态并且控制图标接收到预设第一操作时,该电子设备可以根据该预设第一操作控制该可伸缩的触摸显示屏进行伸展或收缩。
例如,电子设备可以先检测其可伸缩的触摸显示屏是否处于亮屏状态。当可伸缩的触摸显示屏处于亮屏状态时,电子设备可以检测控制图标是否接收到预设第一操作。
如果控制图标未接收到预设第一操作,那么电子设备可以继续监测控制图标是否接收到预设第一操作。
如果检测到控制图标接收到预设第一操作,那么电子设备可以根据该预设第一操作,控制可伸缩的触摸显示屏相应地进行伸展以提升屏幕的可见尺寸,或者进行收缩以减少屏幕的可见尺寸。
本申请实施例中,电子设备可以在触摸显示屏处于亮屏状态时,根据控制图标接收到的操作来控制可伸缩的该触摸显示屏进行伸展或收缩,从而提高电子设备的可操作性。
请参阅图7,图7是本申请实施例提供的设备控制方法的第二种流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的触摸显示屏。该设备控制方法的流程可以包括:
201、当触摸显示屏处于熄屏状态且该触摸显示屏接收到预设第二操作时,根据该预设第二操作,控制可伸缩的该触摸显示屏进行伸缩。
在本申请实施例中,电子设备可以包括可伸缩的触摸显示屏。其中,可伸缩的触摸显 示屏可以是一种可以进行伸展或收缩的触摸显示屏(The Retractable Display Panel)。可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。
在本申请实施例中,比如,当可伸缩的触摸显示屏处于熄屏状态并且该触摸显示屏接收到预设第二操作时,电子设备可以根据该预设第二操作控制可伸缩的触摸显示屏进行伸展或收缩。
例如,电子设备可以先检测其可伸缩的触摸显示屏是否处于熄屏状态。当可伸缩的触摸显示屏处于熄屏状态时,电子设备可以检测该触摸显示屏是否接收到预设第二操作。
如果触摸显示屏未接收到预设第二操作,那么电子设备可以继续监测该触摸显示屏是否接收到预设第二操作。
如果检测到触摸显示屏接收到预设第二操作,那么电子设备可以根据该预设第二操作,控制可伸缩的触摸显示屏相应地进行伸展以提升屏幕的可见尺寸,或者进行收缩以减少屏幕的可见尺寸。
本申请实施例中,电子设备可以在触摸显示屏处于熄屏状态时,根据触摸显示屏所接收到的触摸操作来控制可伸缩的该触摸显示屏进行伸展或收缩,从而提高电子设备的可操作性。
请参阅图8,图8是本申请实施例提供的设备控制方法的第三种流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的触摸显示屏,并且在该电子设备中可以配置有控制图标。该设备控制方法的流程可以包括:
301、当触摸显示屏处于亮屏状态且控制图标接收到预设第一操作时,根据该预设第一操作,控制可伸缩的该触摸显示屏进行伸缩。
随着技术的不断发展,电子设备的形态也在发生变化。从小屏幕发展到大屏幕,从单纯的用于显示图像和文字的显示屏发展到可以接收用户触摸操作的触摸显示屏,等等。然而,相关技术中,用户操作电子设备时仍然不够灵活。即,电子设备的可操作性不高。
需要说明的是,在本申请实施例中,电子设备可以包括可伸缩的触摸显示屏。其中,可伸缩的触摸显示屏可以是一种可以伸缩的触摸显示屏(The Retractable Display Panel)。可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。
在本申请实施例中,比如,当电子设备的可伸缩的触摸显示屏处于亮屏状态并且控制图标接收到预设第一操作时,该电子设备可以根据该预设第一操作控制该可伸缩的触摸显示屏进行伸展或收缩。
例如,当可伸缩的触摸显示屏处于亮屏状态时,电子设备可以检测控制图标是否接收到预设第一操作。
如果控制图标未接收到预设第一操作,那么电子设备可以继续监测控制图标是否接收到预设第一操作。
如果检测到控制图标接收到预设第一操作,那么电子设备可以根据该预设第一操作,控制可伸缩的触摸显示屏相应地进行伸展或收缩。
302、当触摸显示屏处于熄屏状态且该触摸显示屏接收到预设第二操作时,根据该预设第二操作,控制可伸缩的该触摸显示屏进行伸缩。
比如,当可伸缩的触摸显示屏处于熄屏状态并且该触摸显示屏接收到预设第二操作时,电子设备可以根据该预设第二操作控制可伸缩的触摸显示屏进行伸展或收缩。
例如,当可伸缩的触摸显示屏处于熄屏状态时,电子设备可以检测该触摸显示屏是否接收到预设第二操作。
如果触摸显示屏未接收到预设第二操作,那么电子设备可以继续监测该触摸显示屏是否接收到预设第二操作。
如果检测到触摸显示屏接收到预设第二操作,那么电子设备可以根据该预设第二操作,控制可伸缩的触摸显示屏相应地进行伸展或收缩。
可以理解的是,本申请实施例中,电子设备可以在可伸缩的触摸显示屏处于亮屏状态且控制图标接收到预设第一操作时,根据该预设第一操作控制可伸缩的该触摸显示屏进行伸缩。电子设备可以在触摸显示屏处于熄屏状态且该触摸显示屏接收到预设第二操作时,根据该预设第二操作控制可伸缩的该触摸显示屏进行伸缩。即,本申请实施例中,电子设备可以在触摸显示屏处于不同的状态即处于亮屏或熄屏状态时,分别以不同的方式来控制可伸缩的该触摸显示屏进行伸展或收缩,从而提高电子设备的可操作性。
另外,由于本申请实施例可以在触摸显示屏处于不同的状态即处于亮屏或熄屏状态时,分别以不同的方式来控制可伸缩的该触摸显示屏进行伸展或收缩,因此本申请实施例还可以提高用户对电子设备进行操作的多样性和灵活性。
请参阅图9,图9为本申请实施例提供的设备控制方法的第四种流程示意图。该设备控制方法可以应用于电子设备,该电子设备可以包括可伸缩的触摸显示屏,并且在该电子设备中可以配置有控制图标。该控制图标可以被移动。
本申请实施例提供的设备控制方法的流程可以包括:
401、当触摸显示屏处于亮屏状态且控制图标被移动时,电子设备确定该控制图标的移动参数,该移动参数至少包括移动方向。
比如,当可伸缩的触摸显示屏处于亮屏状态并且控制图标被用户移动时,电子设备可以确定出该控制图标的移动参数,并在该移动参数满足预设条件时控制可伸缩的触摸显示屏进行伸缩。其中,控制图标的移动参数至少可以包括控制图标的移动方向。
在确定出控制图标的移动方向后,电子设备可以检测该控制图标的移动方向是否为预设的第一方向或预设的第二方向。
若该控制图标的移动方向不是预设的第一方向或预设的第二方向,那么电子设备可以执行其它操作。
若该控制图标的移动方向为预设的第一方向,那么可以进入402中。或者,若该控制图标的移动方向为预设的第二方向,那么可以进入403中。
402、若控制图标的移动方向为预设的第一方向,则电子设备控制可伸缩的触摸显示屏进行伸展。
比如,预设的第一方向为向下的方向。那么,当检测到控制图标的移动方向为向下的方向时,电子设备可以控制可伸缩的触摸显示屏进行伸展,从而提高触摸显示屏的可见尺寸。
当然,预设的第一方向也可以为其他方向,例如向左的方向,等等。本实施例对此不做具体限定。
403、若控制图标的移动方向为预设的第二方向,则电子设备控制可伸缩的触摸显示屏进行收缩。
比如,预设的第二向为向上的方向。那么,当检测到控制图标的移动方向为向上的方向时,电子设备可以控制可伸缩的触摸显示屏进行收缩,从而减小触摸显示屏的可见尺寸。
当然,预设的第二方向也可以为其他方向,例如向右的方向,等等。本实施例对此不做具体限定。
404、当触摸显示屏处于熄屏状态且该触摸显示屏接收到触摸操作时,电子设备确定该触摸操作对应的触摸轨迹。
比如,本实施例中的电子设备可以具有熄屏手势功能(黑屏手势功能)。该熄屏手势功能为在电子设备的触摸显示屏处于熄屏状态时,用户可以在触摸显示屏上划出特定的轨迹,电子设备可以识别到该轨迹及其对应的用户手势,并执行该用户手势对应的快捷操作。
当可伸缩的触摸显示屏处于熄屏状态并且该触摸显示屏接收到来自用户的触摸操作时,电子设备可以确定该触摸操作对应的触摸轨迹。
在确定出用户的触摸操作对应的触摸轨迹后,电子设备可以检测该触摸轨迹是否为预设的第一轨迹或预设的第二轨迹。
若该触摸轨迹不是预设的第一轨迹或预设的第二轨迹,那么电子设备可以执行其它操作。
若该触摸轨迹为预设的第一轨迹,那么可以进入405中。或者,若该触摸轨迹为预设的第二轨迹,那么可以进入406中。
405、若触摸操作对应的触摸轨迹为预设的第一轨迹,则电子设备根据该第一轨迹控制可伸缩的触摸显示屏进行伸展。
比如,预设的第一轨迹为“Z”字形轨迹。那么,当用户对触摸显示屏的触摸操作对应的触摸轨迹为“Z”字形轨迹时,电子设备可以控制可伸缩的触摸显示屏进行伸展。
例如,用户在可伸缩的触摸显示屏处于熄屏状态时,在该触摸显示屏上划了一个“Z”字形的轨迹,那么电子设备可以控制可伸缩的触摸显示屏进行伸展,从而提高该触摸显示屏的可见尺寸。
当然,预设的第一轨迹也可以为其他轨迹,例如为“O”字形,等等。本实施例对此不做具体限定。
406、若触摸操作对应的触摸轨迹为预设的第二轨迹,则电子设备根据该第二轨迹控制可伸缩的触摸显示屏进行收缩。
比如,预设的第二轨迹为“S”字形轨迹。那么,当用户对触摸显示屏的触摸操作对应的触摸轨迹为“S”字形轨迹时,电子设备可以控制可伸缩的触摸显示屏进行收缩。
例如,用户在可伸缩的触摸显示屏处于熄屏状态时,在该触摸显示屏上划了一个“S”字形的轨迹,那么电子设备可以控制可伸缩的触摸显示屏进行收缩,从而减小该触摸显示屏的可见尺寸。
当然,预设的第一轨迹也可以为其他轨迹,例如为“V”字形,等等。本实施例对此不做具体限定。
可以理解的是,本申请实施例中,电子设备可以在可伸缩的触摸显示屏处于亮屏状态时,通过控制图标的移动来控制该触摸显示屏的伸展或缩卷。在该可伸缩的触摸显示屏处于熄屏状态时,电子设备可以通过该触摸显示屏接收到的触摸操作所对应的触摸轨迹来控制该触摸显示屏的伸展或缩卷。即,电子设备可以在不同的屏幕状态下以不同的方式来控制可伸缩的触摸显示屏进行伸缩。因此,本申请实施例可以提高电子设备对可伸缩的触摸显示屏的可操作性、操作的多样性和灵活性。
在另一种实施方式中,当控制图标被移动时,该控制图标的移动参数除了可以包括移动方向以外,还可以包括移动距离。
那么,402中若控制图标的移动方向为预设的第一方向,则电子设备控制可伸缩的触摸显示屏进行伸展的流程,可以包括:若控制图标的移动方向为预设的第一方向且该控制图标的移动距离大于或等于预设距离阈值,则电子设备控制可伸缩的触摸显示屏进行伸展。
403中若控制图标的移动方向为预设的第二方向,则电子设备控制可伸缩的触摸显示 屏进行收缩的流程,可以包括:若控制图标的移动方向为预设的第二方向且该控制图标的移动距离大于或等于预设距离阈值,则电子设备控制可伸缩的触摸显示屏进行收缩。
也即,只有在控制图标的移动方向为预设的第一方向或预设的第二方向,并且该控制图标的移动距离达到预设距离阈值时,电子设备才会控制可伸缩的触摸显示屏进行相应的伸展或收缩。如果控制图标的移动距离没有达到预设距离阈值,那么电子设备可以不控制可伸缩的触摸显示屏进行相应的伸展或收缩。
可以理解的是,通过进一步限定控制图标的移动距离需要达到预设距离阈值时电子设备才会根据该控制图标的移动方向来控制可伸缩的触摸显示屏进行伸缩的这种方式,可以有效避免因用户误操作引起控制图标被移动时错误地对可伸缩的触摸显示屏进行伸缩,从而提高用户体验。
在又一种实施方式中,当控制图标被移动时,该控制图标的移动参数除了可以包括移动方向以外,还可以包括在触摸显示屏上的目标位置处检测到的按压压力值,该目标位置可以为控制图标的移动轨迹上的任一点。
那么,402中若控制图标的移动方向为预设的第一方向,则电子设备控制可伸缩的触摸显示屏进行伸展的流程,可以包括:若控制图标的移动方向为预设的第一方向且按压压力值大于或等于预设压力阈值,则电子设备控制可伸缩的所述触摸显示屏进行伸展。
403中若控制图标的移动方向为预设的第二方向,则电子设备控制可伸缩的触摸显示屏进行缩卷的流程,可以包括:若控制图标的移动方向为预设的第二方向且按压压力值大于或等于预设压力阈值,则电子设备控制可伸缩的触摸显示屏进行收缩。
也即,只有在控制图标的移动方向为预设的第一方向或预设的第二方向,并且在用户移动该控制图标的过程中,该用户对触摸显示屏进行了一次重按(即按压压力值大于或等于预设压力阈值)时,电子设备才会控制可伸缩的触摸显示屏进行相应的伸展或收缩。如果在控制图标的移动过程中,电子设备的触摸显示屏没有接收到一次重按,那么电子设备可以不控制可伸缩的触摸显示屏进行相应的伸展或收缩。
可以理解的是,通过进一步限定在控制图标的移动过程中触摸显示屏需要接收到一次重按时,电子设备才会根据该控制图标的移动方向来控制可伸缩的触摸显示屏进行伸缩的这种方式,可以有效避免因用户误操作引起控制图标被移动时错误地对可伸缩的触摸显示屏进行伸缩,从而提高用户体验。
在其它实施方式中,当可伸缩的触摸显示屏处于熄屏状态并且该触摸显示屏接收到预设第二操作时,电子设备根据该预设第二操作控制可伸缩的触摸显示屏进行伸缩的流程,可以包括:
当可伸缩的触摸显示屏处于熄屏状态时,电子设备控制该触摸显示屏进入浅睡眠模式,其中,在该浅睡眠模式下,该电子设备对触摸显示屏进行供电,当该触摸显示屏接收到触摸操作时触发中断检测事件,以检测该触摸操作是否为预设第二操作;
当触摸操作为预设第二操作时,电子设备根据该预设第二操作控制可伸缩的触摸显示屏进行伸缩。
比如,当可伸缩的触摸显示屏处于熄屏状态时,电子设备可以控制该触摸显示屏进入浅睡眠(doze)模式。其中,在该浅睡眠模式下,电子设备可以继续对触摸显示屏进行供电,并在该触摸显示屏接收到触摸操作时可以触发中断检测事件,以检测该触摸操作是否为预设第二操作。
如果该触摸操作为预设第二操作,那么电子设备可以根据该预设第二操作控制可伸缩的触摸显示屏进行伸展或收缩。
如果该触摸操作不是预设第二操作,那么电子设备可以执行其它操作,如继续在触摸 显示屏处于浅睡眠模式下检测是否接收到触摸操作。
请参阅图10至图14,图10至图14为本申请实施例提供的设备控制方法的场景示意图。
比如,本实施例提供的电子设备包括可伸缩的触摸显示屏。该可伸缩的触摸显示屏可以是一种可以伸缩的触摸显示屏。该可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的该电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。例如,如图1和图2所示,图1中示出了可伸缩的触摸显示屏处于收缩状态时的电子设备的屏幕的形态,图2示出了可伸缩的触摸显示屏处于伸展状态时的电子设备的屏幕的形态。
并且,该电子设备中还配置有控制图标。该控制图标可以用于控制可伸缩的触摸显示屏进行伸展或收缩。该控制图标可以是通过软件方式实现的虚拟滑键,该控制图标可以被移动。
其中,当电子设备的可伸缩的触摸显示屏处于亮屏状态时,该触摸显示屏上可以显示上述控制图标,如图10所示。电子设备可以检测该控制图标是否被用户移动。例如,电子设备可以在触摸显示屏上显示一条通过软件方式实现的虚拟滑轨,控制图标被设置在该虚拟滑轨上,该控制图标可以在该虚拟滑轨上被移动。
当检测到该控制图标被用户移动时,电子设备可以获取该控制图标的移动方向,并检测该控制图标的移动方向是否为预设的向左的方向或向右的方向。
例如,如图11所示,在可伸缩的触摸显示屏处于亮屏状态且该触摸显示屏处于收缩状态时,用户向右移动了控制图标,即电子设备检测到该控制图标的移动方向为向右的方向。在这种情况下,电子设备可以控制可伸缩的触摸显示屏进行伸展。由图11可知,当触摸显示屏伸展开来后,电子设备上可用于触摸、显示的屏幕面积变大了。
之后一段时间,用户需要将伸展开来的触摸显示屏收缩回去。那么,同样在亮屏状态下,用户可以向左移动控制图标,即电子设备检测到该控制图标的移动方向为向左的方向。在这种情况下,电子设备可以控制可伸缩的触摸显示屏进行收缩,如图12所示。由图12可知,当触摸显示屏收缩起来后,电子设备上可用于触摸、显示的屏幕面积变小了。
当电子设备的触摸显示屏处于熄屏状态时,可伸缩的触摸显示屏可以进入浅睡眠doze模式。其中,在该浅睡眠模式下,电子设备可以继续对触摸显示屏进行供电,并在该触摸显示屏接收到触摸操作时可以触发中断检测事件,以检测该触摸操作对应的触摸轨迹是否为预设的“Z”字形或“S”字形的轨迹。
例如,如图13所示,在可伸缩的触摸显示屏处于熄屏状态且该触摸显示屏处于收缩状态时,用户在触摸显示屏上划了“Z”字形图案,即电子设备检测到该触摸显示屏上接收到的触摸操作对应的触摸轨迹为预设的“Z”字形。在这种情况下,电子设备可以控制可伸缩的触摸显示屏进行伸展。由图13可知,当触摸显示屏伸展开来后,电子设备上可用于触摸、显示的屏幕面积变大了。
之后一段时间,例如由于用户在预设的时长内未触碰显示屏,因此触摸显示屏又将进入熄屏状态。之后,比如用户需要将伸展开来的触摸显示屏收缩回去。那么,同样在熄屏状态下,用户可以在触摸显示屏上划“S”字形图案,即电子设备检测到该触摸显示屏上接收到的触摸操作对应的触摸轨迹为预设的“S”字形。在这种情况下,电子设备可以控制可伸缩的触摸显示屏进行收缩,如图14所示。由图14可知,当触摸显示屏缩卷起来后,电子设备上可用于触摸、显示的屏幕面积变小了。
可以理解的是,一方面,本申请实施例可以提高电子设备对可伸缩的触摸显示屏的可操作性、操作的多样性和灵活性。并且,由于本申请实施例可以使用手势和移动控制图标 的方式来控制可伸缩的触摸显示屏的伸缩,因此本申请实施例可以方便用户以单手操作的方式来控制可伸缩的触摸显示屏的伸缩。另一方面,由于本申请实施例提供的控制可伸缩的触摸显示屏进行伸缩的方式仅通过对触摸显示屏的触摸方式来实现,而不需要额外设置实体按键来控制可伸缩的触摸显示屏的伸缩,因此本申请实施例可以简化电子设备的外观设计,无需多余的物理按键等硬件,使电子设备更加美观。
在其他实施方式中,当不需要使用时,控制图标可以隐藏起来。当需要使用时,用户可以通过预设的方式呼出控制图标。例如,当控制图标显示在触摸显示屏上后,如果在预设的5分钟内,用户都没有触摸控制图标,那么控制图标可以隐藏,即不再显示在屏幕上。当需要使用时,用户可以通过语音唤醒的方式呼出该控制图标。例如,用户可以说出预设的语音指令,电子设备接收到该语音指令后可以进行声纹识别。若通过声纹识别检测出该语音指令为预设用户(如机主)发出的语音,那么电子设备可以呼出控制图标,即在屏幕上显示该控制图标。
在一种实施方式中,如果电子设备接收到用于指示对可伸缩的触摸显示屏进行伸展的指令,如在亮屏状态下用户向右移动了控制图标或在熄屏状态下用户在触摸显示屏上划了“Z”字形图案,那么电子设备可以首先检测可伸缩的触摸显示屏是否已完全展开。若检测到可伸缩的触摸显示屏尚未完全展开,那么电子设备可以继续伸展可伸缩的触摸显示屏。若检测到可伸缩的触摸显示屏已完全展开,那么电子设备可以不响应用于指示对可伸缩的触摸显示屏进行伸展的指令。
如果电子设备接收到用于指示对可伸缩的触摸显示屏进行收缩的指令,如在亮屏状态下用户向左移动了控制图标或在熄屏状态下用户在触摸显示屏上划了“S”字形图案,那么电子设备可以首先检测可伸缩的触摸显示屏是否已完全收缩。若检测到可伸缩的触摸显示屏尚未完全收缩,那么电子设备可以继续收缩可伸缩的触摸显示屏。若检测到可伸缩的触摸显示屏已完全收缩,那么电子设备可以不响应用于指示对可伸缩的触摸显示屏进行收缩的指令,等等。
请参阅图15,图15为本申请实施例提供的设备控制装置的第一种结构示意图。该设备控制装置可以应用于电子设备,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标。设备控制装置500可以包括:第一处理模块501。
第一处理模块501,用于当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述控制图标可移动;所述第一处理模块501可以用于:
当所述触摸显示屏处于亮屏状态且所述控制图标被移动时,确定所述控制图标的移动参数;
若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述第一处理模块501可以用于:
若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展;
若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述移动参数还包括移动距离。
那么,所述第一处理模块501可以用于:若所述控制图标的移动方向为预设的第一方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行伸展;若所述控制图标的移动方向为预设的第二方向且所述控制图标的移动距离大于 或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述移动参数还包括在所述触摸显示屏上的目标位置处检测到的按压压力值,所述目标位置为移动轨迹上的任一处。
那么,所述第一处理模块501可以用于:若所述控制图标的移动方向为预设的第一方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行伸展;若所述控制图标的移动方向为预设的第二方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行收缩。
请参阅图16,图16为本申请实施例提供的设备控制装置的第二种结构示意图。该设备控制装置可以应用于电子设备,所述电子设备包括可伸缩的触摸显示屏。设备控制装置500可以包括:第二处理模块502。
第二处理模块502,用于当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可卷曲的所述触摸显示屏进行伸缩。
在一种实施方式中,所述第二处理模块502可以用于:
当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到触摸操作时,确定所述触摸操作对应的触摸轨迹;
若所述触摸操作对应的触摸轨迹为预设的第一轨迹,则根据所述第一轨迹控制可伸缩的所述触摸显示屏进行伸展;
若所述触摸操作对应的触摸轨迹为预设的第二轨迹,则根据所述第二轨迹控制可伸缩的所述触摸显示屏进行收缩。
在一种实施方式中,所述第二处理模块502可以用于:
当所述触摸显示屏处于熄屏状态时,控制所述触摸显示屏进入浅睡眠模式,其中,在所述浅睡眠模式下,所述电子设备对所述触摸显示屏进行供电,当所述触摸显示屏接收到触摸操作时触发中断检测事件,以检测所述触摸操作是否为预设第二操作;
当所述触摸操作为所述预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的设备控制方法中的流程。
本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的设备控制方法中的流程。
例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图17,图17为本申请实施例提供的电子设备的结构示意图。
该电子设备600可以包括触摸显示屏601、存储器602、处理器603等部件。本领域技术人员可以理解,图17中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
触摸显示屏601可以为可伸缩的触摸显示屏。可伸缩的触摸显示屏可以是一种可以伸缩的触摸显示屏。可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。
存储器602可用于存储应用程序和数据。存储器602存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器603通过运行存储在存储器602的应用程序,从而执行各种功能应用以及数据处理。
处理器603是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器602内的应用程序,以及调用存储在存储器602内的数 据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,所述电子设备配置有控制图标,电子设备中的处理器603会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩;
或者,在本实施例中,所述电子设备配置有控制图标,电子设备中的处理器603会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
请参阅图18,电子设备600可以包括触摸显示屏601、存储器602、处理器603、电池604、麦克风605、扬声器606等部件。
触摸显示屏601可以为可伸缩的触摸显示屏。可伸缩的触摸显示屏可以是一种可以伸缩的触摸显示屏。可伸缩的触摸显示屏可以是柔性显示屏,柔性显示屏可以弯曲、卷曲、折叠等。在配置有可伸缩的触摸显示屏的电子设备上,可以通过拉伸屏幕来提升屏幕的可见尺寸,还可以通过收缩屏幕来减少屏幕的可见尺寸。
存储器602可用于存储应用程序和数据。存储器602存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器603通过运行存储在存储器602的应用程序,从而执行各种功能应用以及数据处理。
处理器603是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器602内的应用程序,以及调用存储在存储器602内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
电池604可用于为电子设备的各个模块和部件供应电力。
麦克风605可用于拾取周围环境中的声音信号,例如接收用户发出的语音指令等。
扬声器606可以用于播放声音信号。
在本实施例中,电子设备中可以配置有控制图标,电子设备中的处理器603会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,所述控制图标可移动。
那么,处理器603执行所述当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩时,可以执行:当所述触摸显示屏处于亮屏状态且所述控制图标被移动时,确定所述控制图标的移动参数;若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,处理器603执行所述若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸展时,可以执行:若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展;和/或,若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行缩卷。
在一种实施方式中,所述移动参数还包括移动距离。
那么,处理器603执行所述若所述控制图标的移动方向为预设的第一方向,则控制可 伸缩的所述触摸显示屏进行伸展时,可以执行:若所述控制图标的移动方向为预设的第一方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行伸展。
处理器603执行所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行缩卷时,可以执行:若所述控制图标的移动方向为预设的第二方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行缩卷。
在一种实施方式中,所述移动参数还包括在所述触摸显示屏上的目标位置处检测到的按压压力值,所述目标位置为移动轨迹上的任一处。
那么,处理器603执行所述若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展时,可以执行:若所述控制图标的移动方向为预设的第一方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行伸展。
处理器603执行所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行缩卷时,可以执行:若所述控制图标的移动方向为预设的第二方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行缩卷。
或者,在本实施例中,电子设备中可以配置有控制图标,电子设备中的处理器603会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
在一种实施方式中,处理器603执行所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩时,可以执行:当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到触摸操作时,确定所述触摸操作对应的触摸轨迹;若所述触摸操作对应的触摸轨迹为预设的第一轨迹,则根据所述第一轨迹控制可伸缩的所述触摸显示屏进行伸展;和/或,若所述触摸操作对应的触摸轨迹为预设的第二轨迹,则根据所述第二轨迹控制可伸缩的所述触摸显示屏进行缩卷。
在一种实施方式中,处理器603执行所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩时,可以执行:当所述触摸显示屏处于熄屏状态时,控制所述触摸显示屏进入浅睡眠模式,其中,在所述浅睡眠模式下,所述电子设备对所述触摸显示屏进行供电,当所述触摸显示屏接收到触摸操作时触发中断检测事件,以检测所述触摸操作是否为预设第二操作;当所述触摸操作为所述预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对设备控制方法的详细描述,此处不再赘述。
本申请实施例提供的所述设备控制装置与上文实施例中的设备控制方法属于同一构思,在所述设备控制装置上可以运行所述设备控制方法实施例中提供的任一方法,其具体实现过程详见所述设备控制方法实施例,此处不再赘述。
需要说明的是,对本申请实施例所述设备控制方法而言,本领域普通技术人员可以理解实现本申请实施例所述设备控制方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储 器中,并被至少一个处理器执行,在执行过程中可包括如所述设备控制方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。
对本申请实施例的所述设备控制装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种设备控制方法、装置、存储介质以及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种设备控制方法,应用于电子设备,其中,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述方法包括:
    当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
  2. 根据权利要求1所述的设备控制方法,其中,所述控制图标可移动;
    所述当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩,包括:
    当所述触摸显示屏处于亮屏状态且所述控制图标被移动时,确定所述控制图标的移动参数;
    若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸缩。
  3. 根据权利要求2所述的设备控制方法,其中,所述若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸展,包括:
    若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展;
    若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩。
  4. 根据权利要求3所述的设备控制方法,其中,所述移动参数还包括移动距离;
    所述若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展,包括:若所述控制图标的移动方向为预设的第一方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行伸展;
    所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩,包括:若所述控制图标的移动方向为预设的第二方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行收缩。
  5. 根据权利要求3所述的设备控制方法,其中,所述移动参数还包括在所述触摸显示屏上的目标位置处检测到的按压压力值,所述目标位置为移动轨迹上的任一处;
    所述若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展,包括:若所述控制图标的移动方向为预设的第一方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行伸展;
    所述若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩,包括:若所述控制图标的移动方向为预设的第二方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行收缩。
  6. 一种设备控制方法,应用于电子设备,其中,所述电子设备包括可伸缩的触摸显示屏,所述方法包括:
    当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
  7. 根据权利要求6所述的设备控制方法,其中,所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩,包括:
    当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到触摸操作时,确定所述触摸操作对应的触摸轨迹;
    若所述触摸操作对应的触摸轨迹为预设的第一轨迹,则根据所述第一轨迹控制可伸缩 的所述触摸显示屏进行伸展;
    若所述触摸操作对应的触摸轨迹为预设的第二轨迹,则根据所述第二轨迹控制可伸缩的所述触摸显示屏进行收缩。
  8. 根据权利要求6所述的设备控制方法,其中,所述当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩,包括:
    当所述触摸显示屏处于熄屏状态时,控制所述触摸显示屏进入浅睡眠模式,其中,在所述浅睡眠模式下,所述电子设备对所述触摸显示屏进行供电,当所述触摸显示屏接收到触摸操作时触发中断检测事件,以检测所述触摸操作是否为预设第二操作;
    当所述触摸操作为所述预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
  9. 一种设备控制装置,应用于电子设备,其中,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述装置包括:
    第一处理模块,用于当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
  10. 一种设备控制装置,应用于电子设备,其中,所述电子设备包括可伸缩的触摸显示屏,所述装置包括:
    第二处理模块,用于当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
  11. 一种计算机可读的存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1所述的方法。
  12. 一种计算机可读的存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求6所述的方法。
  13. 一种电子设备,包括存储器,处理器,其中,所述电子设备包括可伸缩的触摸显示屏,所述电子设备配置有控制图标,所述处理器通过调用所述存储器中存储的计算机程序,用于执行:
    当所述触摸显示屏处于亮屏状态且所述控制图标接收到预设第一操作时,根据所述预设第一操作,控制可伸缩的所述触摸显示屏进行伸缩。
  14. 根据权利要求13所述的电子设备,其中,所述控制图标可移动,所述处理器用于执行:
    当所述触摸显示屏处于亮屏状态且所述控制图标被移动时,确定所述控制图标的移动参数;
    若所述控制图标的移动参数满足预设条件,则根据所述移动参数控制可伸缩的所述触摸显示屏进行伸缩。
  15. 根据权利要求14所述的电子设备,其中,所述处理器用于执行:
    若所述控制图标的移动方向为预设的第一方向,则控制可伸缩的所述触摸显示屏进行伸展;
    若所述控制图标的移动方向为预设的第二方向,则控制可伸缩的所述触摸显示屏进行收缩。
  16. 根据权利要求15所述的电子设备,其中,所述移动参数还包括移动距离,所述处理器用于执行:
    若所述控制图标的移动方向为预设的第一方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行伸展;
    若所述控制图标的移动方向为预设的第二方向且所述控制图标的移动距离大于或等于预设距离阈值,则控制可伸缩的所述触摸显示屏进行收缩。
  17. 根据权利要求15所述的电子设备,其中,所述移动参数还包括在所述触摸显示屏上的目标位置处检测到的按压压力值,所述目标位置为移动轨迹上的任一处;所述处理器用于执行:
    若所述控制图标的移动方向为预设的第一方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行伸展;
    若所述控制图标的移动方向为预设的第二方向且所述按压压力值大于或等于预设压力阈值,则控制可伸缩的所述触摸显示屏进行收缩。
  18. 一种电子设备,包括存储器,处理器,其中,所述电子设备包括可伸缩的触摸显示屏,所述处理器通过调用所述存储器中存储的计算机程序,用于执行:
    当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
  19. 根据权利要求18所述的电子设备,其中,所述处理器用于执行:
    当所述触摸显示屏处于熄屏状态且所述触摸显示屏接收到触摸操作时,确定所述触摸操作对应的触摸轨迹;
    若所述触摸操作对应的触摸轨迹为预设的第一轨迹,则根据所述第一轨迹控制可伸缩的所述触摸显示屏进行伸展;
    若所述触摸操作对应的触摸轨迹为预设的第二轨迹,则根据所述第二轨迹控制可伸缩的所述触摸显示屏进行收缩。
  20. 根据权利要求18所述的电子设备,其中,所述处理器用于执行:
    当所述触摸显示屏处于熄屏状态时,控制所述触摸显示屏进入浅睡眠模式,其中,在所述浅睡眠模式下,所述电子设备对所述触摸显示屏进行供电,当所述触摸显示屏接收到触摸操作时触发中断检测事件,以检测所述触摸操作是否为预设第二操作;
    当所述触摸操作为所述预设第二操作时,根据所述预设第二操作,控制可伸缩的所述触摸显示屏进行伸缩。
PCT/CN2021/081573 2020-05-07 2021-03-18 设备控制方法、装置、存储介质及电子设备 WO2021223520A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21800364.8A EP4141631A4 (en) 2020-05-07 2021-03-18 METHOD AND DEVICE FOR APPARATUS CONTROL, STORAGE MEDIUM AND ELECTRONIC DEVICE
US18/050,635 US20230077374A1 (en) 2020-05-07 2022-10-28 Device control method, control apparatus, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010379157.5A CN113625905A (zh) 2020-05-07 2020-05-07 设备控制方法、装置、存储介质及电子设备
CN202010379157.5 2020-05-07

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/050,635 Continuation US20230077374A1 (en) 2020-05-07 2022-10-28 Device control method, control apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2021223520A1 true WO2021223520A1 (zh) 2021-11-11

Family

ID=78377049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081573 WO2021223520A1 (zh) 2020-05-07 2021-03-18 设备控制方法、装置、存储介质及电子设备

Country Status (4)

Country Link
US (1) US20230077374A1 (zh)
EP (1) EP4141631A4 (zh)
CN (1) CN113625905A (zh)
WO (1) WO2021223520A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11997805B2 (en) * 2021-04-20 2024-05-28 Lepton Computing Llc. Machine learning and wireless control of a flexible display device actuator

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892664A (zh) * 2016-03-31 2016-08-24 联想(北京)有限公司 一种信息处理方法及电子设备
CN107995971A (zh) * 2016-12-29 2018-05-04 深圳市柔宇科技有限公司 智能终端及其控制方法
US20180295714A1 (en) * 2016-04-25 2018-10-11 Laird Technologies, Inc. Board Level Shields With Virtual Grounding Capability
CN109491541A (zh) * 2018-10-31 2019-03-19 维沃移动通信有限公司 一种控制方法及移动终端
CN109725773A (zh) * 2018-12-29 2019-05-07 维沃移动通信有限公司 一种柔性屏的控制方法及终端
CN109976657A (zh) * 2019-03-28 2019-07-05 维沃移动通信有限公司 一种控制方法及移动终端
CN110058649A (zh) * 2019-03-28 2019-07-26 维沃移动通信有限公司 一种界面显示方法及终端设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130252668A1 (en) * 2010-02-12 2013-09-26 Yi-Chuan Cheng Cellular with an extension display
US9606643B2 (en) * 2011-05-02 2017-03-28 Microsoft Technology Licensing, Llc Extended above the lock-screen experience
US10691172B2 (en) * 2014-07-30 2020-06-23 Hewlett-Packard Development Company, L.P. Display with shape changing support panel
KR20160143135A (ko) * 2015-06-04 2016-12-14 엘지전자 주식회사 이동 단말기 및 이의 제어방법
CN110581904B (zh) * 2018-06-11 2021-01-15 Oppo广东移动通信有限公司 控制方法、控制装置、电子装置和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892664A (zh) * 2016-03-31 2016-08-24 联想(北京)有限公司 一种信息处理方法及电子设备
US20180295714A1 (en) * 2016-04-25 2018-10-11 Laird Technologies, Inc. Board Level Shields With Virtual Grounding Capability
CN107995971A (zh) * 2016-12-29 2018-05-04 深圳市柔宇科技有限公司 智能终端及其控制方法
CN109491541A (zh) * 2018-10-31 2019-03-19 维沃移动通信有限公司 一种控制方法及移动终端
CN109725773A (zh) * 2018-12-29 2019-05-07 维沃移动通信有限公司 一种柔性屏的控制方法及终端
CN109976657A (zh) * 2019-03-28 2019-07-05 维沃移动通信有限公司 一种控制方法及移动终端
CN110058649A (zh) * 2019-03-28 2019-07-26 维沃移动通信有限公司 一种界面显示方法及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4141631A4 *

Also Published As

Publication number Publication date
EP4141631A1 (en) 2023-03-01
CN113625905A (zh) 2021-11-09
EP4141631A4 (en) 2023-11-01
US20230077374A1 (en) 2023-03-16

Similar Documents

Publication Publication Date Title
CN107846501B (zh) 电子装置及其操作方法
EP3713199B1 (en) Camera control method and mobile terminal
EP4246306A1 (en) Display control method and apparatus, storage medium, and electronic device
WO2021232961A1 (zh) 显示控制方法、装置、存储介质及电子设备
KR20110123933A (ko) 휴대단말의 기능 제공 방법 및 장치
WO2009076974A1 (en) Mode control for an electronic device with touch ui
WO2018068328A1 (zh) 一种界面显示的方法及终端
CN111459333A (zh) 一种内容显示方法及电子设备
CN107807751B (zh) 可携式电子装置、及其操作方法、与使用此方法的记录媒体
JP7446441B2 (ja) 画像クロップ方法及び電子機器
WO2021232968A1 (zh) 桌面图标的布局方法、装置、存储介质及电子设备
WO2021244184A1 (zh) 屏幕控制方法、装置、移动终端及存储介质
CN111752460B (zh) 屏幕控制方法、装置、电子设备及计算机可读取存储介质
WO2021223520A1 (zh) 设备控制方法、装置、存储介质及电子设备
KR102335913B1 (ko) 전자 장치의 보조 입력 장치 및 그의 기능 실행 방법
JPWO2014002633A1 (ja) 処理装置、動作制御方法及びプログラム
KR20240015137A (ko) 전자기기의 제어 방법, 장치, 전자기기 및 판독가능 저장 매체
US20230384929A1 (en) Device control method and apparatus, storage medium, and electronic device
US20230097982A1 (en) Electronic device including plurality of displays and method of operating same
JP6100657B2 (ja) 電子機器
WO2022017045A1 (zh) 设备控制方法、装置、存储介质以及电子设备
CN112947685A (zh) 电子设备的控制方法、装置、存储介质及电子设备
CN113824818A (zh) 设备控制方法、装置、存储介质及电子设备
CN114721574A (zh) 单手操作模式的控制方法、装置、电子设备以及存储介质
CN113741778A (zh) 设备控制方法、装置、存储介质及电子设备

Legal Events

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

Ref document number: 21800364

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021800364

Country of ref document: EP

Effective date: 20221123

NENP Non-entry into the national phase

Ref country code: DE