[go: up one dir, main page]

CN110096208A - A kind of apparatus control method, device and computer readable storage medium - Google Patents

A kind of apparatus control method, device and computer readable storage medium Download PDF

Info

Publication number
CN110096208A
CN110096208A CN201910251837.6A CN201910251837A CN110096208A CN 110096208 A CN110096208 A CN 110096208A CN 201910251837 A CN201910251837 A CN 201910251837A CN 110096208 A CN110096208 A CN 110096208A
Authority
CN
China
Prior art keywords
wearable device
target control
control area
pressure
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910251837.6A
Other languages
Chinese (zh)
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910251837.6A priority Critical patent/CN110096208A/en
Publication of CN110096208A publication Critical patent/CN110096208A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

This application involves a kind of apparatus control methods, are applied to wearable device, which comprises target control area is determined in the display interface of the wearable device;It detects and whether receives preset pressure operation on the wearable device;When detecting preset pressure operation, obtains the preset pressure and operate corresponding pressure changing information;The target control area is zoomed in or out according to the pressure value change information.For the setting control in screen, since the screen of wearable device is natively small, so control, it is even more impossible to operate, therefore, this method can quickly control in order to user.

Description

Equipment control method and device and computer readable storage medium
Technical Field
The present application relates to the field of wearable devices, and in particular, to a device control method and apparatus, and a computer-readable storage medium.
Background
Along with the development of science and technology, intelligent wearable equipment receives more and more people's favor because of advantages such as its outward appearance is beautiful, convenient to carry.
Along with the development of electronic technology, functions of intelligent wearable equipment are more and more, for example, functions such as playing music, browsing pictures, watching a screen, reading, chatting and the like are added to the intelligent bracelet except functions such as displaying time, answering a call and the like, but because a screen of a general bracelet is too small, contents such as fonts and the like displayed when a user watches the bracelet are small, and the requirements of the user cannot be met.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a device control method, apparatus, and computer-readable storage medium.
In a first aspect, the present application provides a device control method, applied to a wearable device, the method including:
determining a target control area in a display interface of the wearable device;
detecting whether a preset pressure operation is received on the wearable device;
when a preset pressure operation is detected, acquiring pressure change information corresponding to the preset pressure operation;
and amplifying or reducing the target control area according to the pressure value change information.
Optionally, the determining a target control area in a display interface of the wearable device includes:
and taking a display interface of the wearable device as a target control area.
Optionally, a plurality of display windows are included in the display interface of the wearable device;
the determining a target control area in a display interface of the wearable device comprises:
taking a preset display window in a plurality of display windows in a display interface of the wearable device as a target control area;
or detecting whether any display window is clicked or not; and when the clicking operation on the display window is detected, taking the clicked display window as a target control area.
Optionally, the determining a target control area in a display interface of the wearable device includes:
detecting whether a sliding operation on a display screen of the wearable device is received;
if the sliding operation is received, judging whether the sliding operation forms a closed area;
and when the sliding operation forms a closed area, taking the closed area as the target control area.
Optionally, the detecting whether a preset pressure operation is received on the wearable device includes:
detecting whether long-press operation is received on two opposite side edges of the wearable device at the same time;
and when the two opposite sides on the wearable device receive the long press operation at the same time, determining that the preset pressure operation is received.
Optionally, the acquiring pressure change information corresponding to the preset pressure operation includes:
recording the real-time pressure value of the preset pressure operation;
calculating a pressure value variation trend corresponding to the preset pressure operation according to all recorded real-time pressure values, wherein the pressure value variation trend comprises the following steps: a pressure increase tendency and a pressure decrease tendency;
and taking the pressure value change trend as pressure change information.
Optionally, the enlarging or reducing the target control area according to the pressure value change information includes:
when the pressure value change information is a pressure increase trend, generating an amplification strategy corresponding to the pressure increase trend; controlling the area of the target control area to increase by using the amplification strategy;
when the pressure value change information is a pressure reduction trend, generating a reduction strategy corresponding to the pressure reduction trend; and controlling the area reduction of the target control area by using the amplification strategy.
Optionally, the enlarging or reducing the target control area according to the pressure value change information includes:
acquiring the display attribute of the target control area;
determining a magnification strategy or a reduction strategy corresponding to the target control area according to the display attribute;
and amplifying the target control area according to the amplifying strategy, or reducing the target control area according to the reducing strategy.
Optionally, the enlarging or reducing the target control area according to the pressure value change information includes:
generating a floating window corresponding to the target control area;
taking the center of the area of the floating window as an origin;
and amplifying or reducing the floating window by taking the origin as the center.
In a second aspect, a wearable device, the wearable device comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the method according to the first aspect.
In a third aspect, a computer-readable storage medium having stored thereon a device control method program which, when executed by a processor, implements the steps of the device control method according to the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, a target control area is determined in a display interface of the wearable device; detecting whether a preset pressure operation is received on the wearable device; when a preset pressure operation is detected, acquiring pressure change information corresponding to the preset pressure operation; and amplifying or reducing the target control area according to the pressure value change information.
According to the device control method provided by the embodiment of the application, when a user thinks that the content displayed in the display interface of the wearable device is not appropriate, for example, the font is too small, or the picture is too large, the content in the determined area can be enlarged or reduced by determining the area and then using the preset pressure operation on the wearable device, for example: the font is enlarged, and the picture is reduced. Compared with the method for setting the control in the screen, the control is more inoperable due to the fact that the screen of the wearable device is originally small, and therefore the method can be convenient for a user to control quickly.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of an apparatus control method according to an embodiment of the present application;
FIG. 6 is a detailed flowchart of S101 in FIG. 5;
FIG. 7 is a detailed flowchart of S102 in FIG. 5;
FIG. 8 is a detailed flowchart of S103 in FIG. 5;
FIG. 9 is a detailed flowchart of S104 in FIG. 5;
FIG. 10 is another detailed flowchart of S104 in FIG. 5;
fig. 11 is a schematic structural diagram of a wearable device provided in another embodiment of the present invention;
fig. 12 is a hardware schematic diagram of an implementation manner of a wearable device according to an embodiment of the present disclosure.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (radio frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for mobile communications), GPRS (general packet radio service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution), and the like.
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the hardware structure of the wearable device, various embodiments of the method are provided.
Fig. 5 is a flowchart illustrating an apparatus control method according to an embodiment of the present application.
An embodiment of the present application provides a device control method, which is applied to the wearable devices shown in fig. 1 to 4, and as shown in fig. 5, the method includes:
s101, determining a target control area in a display interface of the wearable device.
In the embodiment of the present application, the target control area may be freely determined as needed, and in one case, the target control area may be an area that is temporarily determined by a user according to actual operations, for example, multiple windows are provided in a display interface, and one window is clicked as the target control area, or one area is selected as the target control area by sliding.
Alternatively, the target control area may be a preset area of the system, and the system setting parameters are directly read to determine the target control area.
S102, detecting whether a preset pressure operation is received on the wearable device.
In this application, a wearable device is provided with a pressure detection component, for example: a pressure sensing screen, or a pressure sensor arranged on the frame or the fitting.
The preset pressure operation may be any pressing operation of a pressure sensing screen or a pressure sensor on the wearable device by a user, and specifically, the pressing operation may be a long pressing operation.
S103, when the preset pressure operation is detected, pressure change information corresponding to the preset pressure operation is obtained.
In the embodiment of the present application, the preset pressure operation may be a long press operation in consideration of the continuity of control using pressure, and accordingly the pressure change information is information that the pressure of the long press operation at the time of pressing increases or decreases.
And S104, amplifying or reducing the target control area according to the pressure value change information.
In this embodiment of the present application, when the target control area is enlarged or reduced, a plurality of strategies may be adopted, where in one case, according to the display condition of the current target control area, if the display content is small (such as a font), enlargement is performed along with increase of the pressure value, for example: as the pressing force is increased, the display content is gradually enlarged; and if the display content is larger (such as a picture), zooming out is performed as the pressure value increases.
In another case, only the target area is considered to be enlarged, so that the enlargement can be performed with an increase in the pressure value, and the reduction can be performed with a decrease in the pressure value during the increase.
In one case, the target control area may be gradually enlarged to full screen and then enlarged. Alternatively, the area center of the target control area may be directly enlarged as the origin.
According to the device control method provided by the embodiment of the application, when a user thinks that the content displayed in the display interface of the wearable device is not appropriate, for example, the font is too small, or the picture is too large, the content in the determined area can be enlarged or reduced by determining the area and then using the preset pressure operation on the wearable device, for example: the font is enlarged, and the picture is reduced. Compared with the method for setting the control in the screen, the control is more inoperable due to the fact that the screen of the wearable device is originally small, and therefore the method can be convenient for a user to control quickly.
In an embodiment of the present application, the foregoing step S101 may adopt the following manner:
and taking a display interface of the wearable device as a target control area.
Namely, the whole display interface is used as an area needing to be controlled, namely, the whole page is enlarged or reduced.
In one embodiment of the present application, a display interface of the wearable device includes a plurality of display windows; the plurality of display windows may be stacked or displayed in parallel.
The foregoing step S101 may adopt the following manner:
in this case, the plurality of windows need to be preset, and it is determined in advance which display window needs to be controlled.
The foregoing step S101 may also adopt the following manner:
detecting whether any display window is clicked or not; and when the clicking operation on the display window is detected, taking the clicked display window as a target control area. I.e. the user clicks on a certain window, indicating that the window is to be controlled.
In another embodiment of the present application, as shown in fig. 6, the foregoing step S101 may further include the following steps:
s1011, detecting whether a sliding operation on a display screen of the wearable device is received;
s1012, if the sliding operation is received, judging whether the sliding operation forms a closed area;
and S1013, when the sliding operation forms a closed area, taking the closed area as the target control area.
In the method, the display interface or a certain window is taken as a target control area, and the corresponding area is regular, but in practical application, a user may randomly select an area to be enlarged, and for this reason, the method also supports the user to manually slide the selected area.
In the embodiment of the present application, as shown in fig. 7, the foregoing step S102 may include the following steps:
s1021, detecting whether long-press operation is received at two opposite side edges of the wearable device;
s1022, when the long press operation is received on two opposite sides of the wearable device, determining that the preset pressure operation is received.
In the embodiment of the present application, as shown in fig. 8, the foregoing step S103 may include the following steps:
s1031, recording the real-time pressure value of the preset pressure operation;
the pressure value can be the pressure value that the forced induction screen gathered, also can be the pressure value that pressure sensor gathered.
And S1032, calculating a pressure value change trend corresponding to the preset pressure operation according to all recorded real-time pressure values.
In an embodiment of the present application, the pressure value variation trend includes: a pressure increasing tendency and a pressure decreasing tendency.
And S1033, taking the pressure value change trend as pressure change information.
In an embodiment of the present application, as shown in fig. 9, the foregoing step S104 may include the following steps:
s201, obtaining the display attribute of the target control area.
The display attribute may be a size, a proportion, and the like of the currently displayed content, and when the displayed content is a font, the display attribute may be that the font is smaller than a preset size, or the font is larger than the preset size. When the display content is a picture, the display attribute may be that the picture size is smaller than the screen size, or that a part of the entire picture is displayed.
S202, determining a magnification strategy or a reduction strategy corresponding to the target control area according to the display attribute.
When the display attribute is that the font is smaller than the preset size or the picture size is smaller than the screen size, the font or the picture needs to be amplified, and the amplification strategy is directly determined. On the contrary, if the display attribute is that the font is larger than the preset size or a part of the whole image is displayed, the font or the image needs to be reduced at this time, and the reduction policy is determined.
S203, the target control area is enlarged according to the enlargement strategy, or the target control area is reduced according to the reduction strategy.
In an embodiment of the present application, only the case of zooming is considered, then the aforementioned step S104 may include the following:
when the pressure value change information is a pressure increase trend, generating an amplification strategy corresponding to the pressure increase trend; and controlling the area of the target control area to increase by using the amplification strategy.
This is because, in the initial pressing, the pressure value is small and generally increases from 0, and therefore, as the pressure increases, the magnification factor increases accordingly, and therefore, the area of the target control region increases.
When the pressure value change information is a pressure reduction trend, generating a reduction strategy corresponding to the pressure reduction trend; and controlling the area reduction of the target control area by using the amplification strategy.
In the course of the increase, as soon as the pressure decreases, it means that no enlargement is necessary anymore, for which purpose the area of the target control region is gradually reduced with decreasing pressure.
In an embodiment of the present application, as shown in fig. 10, the foregoing step S104 may include the following steps:
and S301, generating a floating window corresponding to the target control area.
No matter the target amplification area is a display window or a closed area, the problem that the target amplification area cannot be matched with the content in the original display interface exists during amplification, therefore, in the embodiment of the application, the floating window corresponding to the target control area can be directly generated, and the floating window can be displayed on the top layer, so that subsequent control is facilitated.
And S302, taking the center of the area of the floating window as an origin.
The center of the floating window area is used as the origin, so that the floating window does not shift in position when being enlarged or reduced, and the effect of smooth sliding can be achieved during the enlargement or reduction.
And S303, magnifying or reducing the floating window by taking the origin as a center.
Fig. 11 is a schematic structural diagram of a wearable device according to another embodiment of the present invention. The wearable device 1100 shown in fig. 11 includes: at least one processor 1101, memory 1102, at least one network interface 1104, and other user interfaces 1103. The various components in wearable device 1100 are coupled together by a bus system 1105. It is understood that the bus system 1105 is used to enable communications among the components. The bus system 1105 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 11 as the bus system 1105.
The user interface 1103 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 1102 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (ddr DRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1102 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1102 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 11021 and application programs 11022.
The operating system 11021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 11022 contains various applications such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Programs that implement methods in accordance with embodiments of the invention may be included in application 11022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 1102, specifically, a program or an instruction stored in the application 11022, the processor 1101 is configured to execute the method steps provided by the method embodiments, for example, including:
determining a target control area in a display interface of the wearable device;
detecting whether a preset pressure operation is received on the wearable device;
when a preset pressure operation is detected, acquiring pressure change information corresponding to the preset pressure operation;
and amplifying or reducing the target control area according to the pressure value change information.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 1101 or by the processor 1101. The processor 1101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 1101. The Processor 1101 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102 and completes the steps of the above method in combination with the hardware thereof.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present invention provides an optional embodiment, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 12, fig. 12 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application, where a screen of the wearable device extends to two sides, and a part of the screen is covered on a watchband of the wearable device. In other embodiments, the screen of the device may also be entirely covered on the wristband of the device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A device control method is applied to a wearable device, and comprises the following steps:
determining a target control area in a display interface of the wearable device;
detecting whether a preset pressure operation is received on the wearable device;
when a preset pressure operation is detected, acquiring pressure change information corresponding to the preset pressure operation;
and amplifying or reducing the target control area according to the pressure value change information.
2. The method of claim 1, wherein determining a target control area in a display interface of the wearable device comprises:
taking a display interface of the wearable device as a target control area,
or,
the display interface of the wearable device comprises a plurality of display windows; the determining a target control area in a display interface of the wearable device comprises: taking a preset display window in a plurality of display windows in a display interface of the wearable device as a target control area;
or,
the display interface of the wearable device comprises a plurality of display windows; the display interface of the wearable device comprises a plurality of display windows; detecting whether any display window is clicked or not; and when the clicking operation on the display window is detected, taking the clicked display window as a target control area.
3. The method of claim 1, wherein determining a target control area in a display interface of the wearable device comprises:
detecting whether a sliding operation on a display screen of the wearable device is received;
if the sliding operation is received, judging whether the sliding operation forms a closed area;
and when the sliding operation forms a closed area, taking the closed area as the target control area.
4. The method of claim 1, wherein the detecting whether a preset pressure operation is received on the wearable device comprises:
detecting whether long-press operation is received on two opposite side edges of the wearable device at the same time;
and when the two opposite sides on the wearable device receive the long press operation at the same time, determining that the preset pressure operation is received.
5. The method according to claim 1, wherein the obtaining of the pressure change information corresponding to the preset pressure operation comprises:
recording the real-time pressure value of the preset pressure operation;
calculating a pressure value variation trend corresponding to the preset pressure operation according to all recorded real-time pressure values, wherein the pressure value variation trend comprises the following steps: a pressure increase tendency and a pressure decrease tendency;
and taking the pressure value change trend as pressure change information.
6. The method of claim 5, wherein the enlarging or reducing the target control area according to the pressure value change information comprises:
acquiring the display attribute of the target control area;
determining a magnification strategy or a reduction strategy corresponding to the target control area according to the display attribute;
and amplifying the target control area according to the amplifying strategy, or reducing the target control area according to the reducing strategy.
7. The method of claim 5, wherein the enlarging or reducing the target control area according to the pressure value change information comprises:
when the pressure value change information is a pressure increase trend, generating an amplification strategy corresponding to the pressure increase trend; controlling the area of the target control area to increase by using the amplification strategy;
when the pressure value change information is a pressure reduction trend, generating a reduction strategy corresponding to the pressure reduction trend; and controlling the area reduction of the target control area by using the amplification strategy.
8. The method according to claim 1, wherein the enlarging or reducing the target control area according to the pressure value change information comprises:
generating a floating window corresponding to the target control area;
taking the center of the area of the floating window as an origin;
and amplifying or reducing the floating window by taking the origin as the center.
9. A wearable device, characterized in that the wearable device comprises:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the method of any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a device control method program is stored thereon, which when executed by a processor implements the steps of the device control method according to any one of claims 1 to 8.
CN201910251837.6A 2019-03-29 2019-03-29 A kind of apparatus control method, device and computer readable storage medium Pending CN110096208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910251837.6A CN110096208A (en) 2019-03-29 2019-03-29 A kind of apparatus control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910251837.6A CN110096208A (en) 2019-03-29 2019-03-29 A kind of apparatus control method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110096208A true CN110096208A (en) 2019-08-06

Family

ID=67444132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910251837.6A Pending CN110096208A (en) 2019-03-29 2019-03-29 A kind of apparatus control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110096208A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667133A (en) * 2020-12-31 2021-04-16 读书郎教育科技有限公司 Wearable device screen capture control system and method based on pressing pressure
WO2021244124A1 (en) * 2020-06-05 2021-12-09 Oppo广东移动通信有限公司 Wearable device interaction method and apparatus, wearable device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105919A (en) * 2008-12-04 2009-05-14 Fujifilm Corp Operation device for apparatus having screen display unit, digital camera, and touch panel operation method
CN102067070A (en) * 2008-06-18 2011-05-18 诺基亚公司 Apparatus, method and computer program product for manipulating a device using dual side input devices
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN104965635A (en) * 2015-06-16 2015-10-07 努比亚技术有限公司 Information adjusting method and terminal device
CN106445333A (en) * 2016-09-06 2017-02-22 惠州Tcl移动通信有限公司 Method and system for adjusting font sizes of interfaces of mobile terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067070A (en) * 2008-06-18 2011-05-18 诺基亚公司 Apparatus, method and computer program product for manipulating a device using dual side input devices
JP2009105919A (en) * 2008-12-04 2009-05-14 Fujifilm Corp Operation device for apparatus having screen display unit, digital camera, and touch panel operation method
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN104965635A (en) * 2015-06-16 2015-10-07 努比亚技术有限公司 Information adjusting method and terminal device
CN106445333A (en) * 2016-09-06 2017-02-22 惠州Tcl移动通信有限公司 Method and system for adjusting font sizes of interfaces of mobile terminals

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021244124A1 (en) * 2020-06-05 2021-12-09 Oppo广东移动通信有限公司 Wearable device interaction method and apparatus, wearable device, and storage medium
CN112667133A (en) * 2020-12-31 2021-04-16 读书郎教育科技有限公司 Wearable device screen capture control system and method based on pressing pressure
CN112667133B (en) * 2020-12-31 2021-07-20 读书郎教育科技有限公司 Wearable device screen capture control system and method based on pressing pressure

Similar Documents

Publication Publication Date Title
EP3767431B1 (en) Image processing method and flexible-screen terminal
CN109901809B (en) Display control method, device and computer readable storage medium
CN110096195B (en) Sports icon display method, wearable device and computer readable storage medium
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN110351426B (en) Smart watch information input method, smart watch and computer readable storage medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110795021B (en) Information display method, device and electronic device
CN110213637B (en) Method for adding watermark to video file, wearable device and readable storage medium
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN109918014B (en) Page display method, wearable device and computer-readable storage medium
CN110177209B (en) Video parameter regulation and control method, device and computer readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110096208A (en) A kind of apparatus control method, device and computer readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110177208B (en) Video recording association control method, equipment and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110456962B (en) Picture browsing method, flexible wearable device and computer readable storage medium
CN109947325B (en) Application icon display method, wearable device and computer-readable storage medium
CN110138965B (en) Wearable device, number formatting method and device thereof, and storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN110096150B (en) Search interaction control method, equipment and computer readable storage medium
CN118550623A (en) Processing method, intelligent terminal and storage medium
CN109491631B (en) Display control method and terminal
CN109753483B (en) File management application page display method and device, mobile terminal and storage medium
CN110187764A (en) A kind of barrage display methods, wearable device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190806

RJ01 Rejection of invention patent application after publication