CN110633193A - Operation execution method, device, equipment and storage medium based on opening and closing track - Google Patents

Operation execution method, device, equipment and storage medium based on opening and closing track Download PDF

Info

Publication number
CN110633193A
CN110633193A CN201910882685.XA CN201910882685A CN110633193A CN 110633193 A CN110633193 A CN 110633193A CN 201910882685 A CN201910882685 A CN 201910882685A CN 110633193 A CN110633193 A CN 110633193A
Authority
CN
China
Prior art keywords
opening
closing
display screen
screen
acceleration sensor
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
CN201910882685.XA
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.)
Huaqin Telecom Technology Co Ltd
Original Assignee
Huaqin Telecom 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 Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201910882685.XA priority Critical patent/CN110633193A/en
Publication of CN110633193A publication Critical patent/CN110633193A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an operation execution method, device, equipment and storage medium based on opening and closing tracks, wherein the method comprises the following steps: acquiring an opening and closing track of the folding screen when the folding screen is operated; determining target operation corresponding to the opening and closing track according to a preset corresponding rule; after the target operation is determined, the target operation is executed. According to the operation execution method, device, equipment and storage medium based on the opening and closing track, the opening and closing track when the folding screen is operated is obtained, the target operation corresponding to the opening and closing track is determined according to the preset corresponding rule, and the target operation is executed, so that when the folding screen is operated by people, not only can the function of switching the display modes of the large screen and the small screen be realized, but also other human-computer interaction functions can be realized, the bendable characteristic of the folding screen is fully utilized, and the use experience of people is improved.

Description

Operation execution method, device, equipment and storage medium based on opening and closing track
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to an operation execution method, device, equipment and storage medium based on opening and closing tracks.
Background
With the continuous development of electronic devices, more and more electronic devices with display screens, such as mobile phones, tablet computers, and the like, are widely applied to daily life and work of people, and change the life and working modes of people. In order to provide better use experience for people, the folding screen technology proposed in recent years has portability while ensuring that the display screen of the electronic equipment becomes larger, brings a great deal of imagination for the future form of the electronic equipment, and is the development direction of the future electronic equipment.
At present, people are folding or when expanding electronic equipment's folding screen, folding screen can only respond to people's operation and carry out the screen switching action, and then realize need not extra manual big or small screen function that just can automatic switch folding screen of pressing down the button, for example when expanding electronic equipment's folding screen, folding screen is switched into double-screen display by single-screen display, during folding electronic equipment's folding screen, folding screen is switched into single-screen display by double-screen display, the function is more single, do not fully utilize folding screen's bendable characteristic, make folding screen's human-computer interaction experience relatively poor.
Disclosure of Invention
The invention provides an operation execution method, device, equipment and storage medium based on an opening and closing track, and aims to overcome the defects in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
in a first aspect, an embodiment of the present invention provides an operation execution method based on an opening/closing trajectory, which is applied to an electronic device with a foldable screen, and the method includes:
acquiring an opening and closing track of the folding screen when the folding screen is operated;
determining target operation corresponding to the opening and closing track according to a preset corresponding rule;
after the target operation is determined, the target operation is executed.
Further, in the operation execution method based on the opening and closing track, the folding screen can be folded to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen;
correspondingly, the step of obtaining the opening and closing track of the folded screen when being operated comprises the following steps:
when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor are obtained.
Further, in the operation execution method based on the opening and closing track, the opening and closing track is an opening and closing angle;
correspondingly, when the folding screen is detected to be operated, the step of acquiring the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor comprises the following steps:
when detecting that the folding screen is operated, acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor;
and calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen.
Further, in the operation execution method based on the opening and closing trajectory, the opening and closing trajectory is an opening and closing speed;
correspondingly, when the folding screen is detected to be operated, the step of acquiring the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor comprises the following steps:
when detecting that the folding screen is operated, acquiring the time for operating the folding screen;
acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor within the time;
calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen;
and calculating and determining the opening and closing speed of the first display screen and the second display screen according to the time and the opening and closing angle.
Further, in the operation execution method based on the opening and closing trajectory, before the step of acquiring the opening and closing trajectory when the folding screen is operated, the method further includes:
and associating the opening and closing track with the target operation to form the preset corresponding rule.
In a second aspect, an embodiment of the present invention provides an operation execution device based on an opening/closing trajectory, which is applied to an electronic device with a foldable screen, and the device includes:
the acquisition module is used for acquiring an opening and closing track of the folding screen when the folding screen is operated;
the corresponding module is used for determining target operation corresponding to the opening and closing track according to a preset corresponding rule;
and the execution module is used for executing the target operation after the target operation is determined.
Furthermore, in the operation execution device based on the opening and closing track, the folding screen can be folded to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen;
correspondingly, the obtaining module is specifically configured to:
when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor are obtained.
Further, the operation execution device based on the opening and closing trajectory further includes:
and the setting module is used for associating the opening and closing track with the target operation to form the preset corresponding rule before the step of acquiring the opening and closing track of the folded screen when the folded screen is operated is executed by the acquisition module.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
one or more controllers;
a memory for storing one or more programs;
the one or more programs are executed by the one or more controllers, so that the one or more controllers implement the operation execution method based on the opening and closing track according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when executed by a processor, the computer program implements an operation execution method based on an opening and closing trajectory according to any one of the embodiments of the present invention.
According to the operation execution method, device, equipment and storage medium based on the opening and closing track, the opening and closing track when the folding screen is operated is obtained, the target operation corresponding to the opening and closing track is determined according to the preset corresponding rule, and the target operation is executed, so that when the folding screen is operated by people, not only can the function of switching the display modes of the large screen and the small screen be realized, but also other human-computer interaction functions can be realized, the bendable characteristic of the folding screen is fully utilized, and the use experience of people is improved.
Drawings
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 that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an operation execution method based on an opening and closing trajectory according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an operation execution method based on an opening and closing trajectory according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating an operation execution method based on an opening/closing trajectory according to a second embodiment of the present invention.
Fig. 4 is a schematic flowchart of an operation execution method based on an opening and closing trajectory according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an operation execution device based on an opening and closing trajectory according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Referring to fig. 1, a schematic flow chart of an operation execution method based on a folding track according to an embodiment of the present invention is provided, where the method is applied to an electronic device with a folding screen and is suitable for a user to fold or unfold the folding screen, and the method is executed by an operation execution device based on the folding track, and the device can be implemented by software and/or hardware and is integrated inside the electronic device. The method specifically comprises the following steps:
s101, acquiring an opening and closing track of the folding screen when the folding screen is operated.
In this embodiment, the opening and closing trajectory includes an opening and closing angle and an opening and closing speed; different from the prior art, the embodiment not only considers the two conditions of unfolding and folding of the folding screen, but also considers the opening and closing angle and the opening and closing speed in the unfolding or folding process of the folding screen, so that the folding screen can respond to realize more human-computer interaction functions.
And S102, determining target operation corresponding to the opening and closing track according to a preset corresponding rule.
The preset corresponding rule is used for indicating the corresponding relation between the opening and closing track and the target operation.
In the present embodiment, the target operation includes, but is not limited to: large and small screen display switching, system dormancy and interface page turning.
Illustratively, when the folding angle of the folding screen is that the double screens are opened by 180 degrees, the corresponding system is switched to the large screen display and operation mode; when the opening and closing angle of the folding screen is that the double screens are closed at 0 degrees, the operation of closing the backlight of the double screens corresponding to the system dormancy is performed; when the opening and closing angle of the folding screen is that one screen rotates 360 degrees, the backlight of the screen after corresponding rotation is closed, the screen which does not rotate normally displays, and the system is switched to the small screen display and operation mode; when the opening and closing speed of one screen of the folding screen swings up and down quickly, the corresponding system can execute the operation of page turning of the interface.
S103, after the target operation is determined, the target operation is executed.
Preferably, before the step S101, the method further includes:
and associating the opening and closing track with the target operation to form the preset corresponding rule.
According to the operation execution method based on the opening and closing track, provided by the embodiment of the invention, the opening and closing track when the folding screen is operated is obtained, the target operation corresponding to the opening and closing track is determined according to the preset corresponding rule, and the target operation is executed, so that when the folding screen is operated by people, not only can the function of switching the display modes of the large screen and the small screen be realized, but also other human-computer interaction functions can be realized, the bendable characteristic of the folding screen is fully utilized, and the use experience of people is improved.
Example two
As shown in fig. 2, the operation execution method based on the opening and closing trajectory according to the second embodiment of the present invention is further optimized to "acquire the opening and closing trajectory when the folding screen is operated" in step S101 based on the technical solution provided in the first embodiment. The foldable screen is foldable to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen. Explanations of the same or corresponding terms as those of the above embodiments are omitted. Namely:
s201, when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen, which are determined by the first acceleration sensor and the second acceleration sensor, are obtained.
The embodiment is based on the existing acceleration sensors (also weighing force sensors) in the double screens, and the relative motion information of the folding screen is obtained by utilizing the sensor data of the two acceleration sensors when the folding screen is operated, so that the opening and closing track of the folding screen is judged.
S202, determining target operation corresponding to the opening and closing track according to a preset corresponding rule.
And S203, after the target operation is determined, executing the target operation.
In one embodiment, when the opening and closing track is an opening and closing angle;
accordingly, the step S201 may be optimized as follows:
when detecting that the folding screen is operated, acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor;
and calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen.
Based on the above optimization, as shown in fig. 3, the operation execution method based on the opening and closing trajectory according to this embodiment may include the following steps:
s301, when the folding screen is detected to be operated, acquiring sensor data which is detected by the first acceleration sensor and corresponds to the first display screen, and acquiring sensor data which is detected by the second acceleration sensor and corresponds to the second display screen;
s302, calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relation, and determining the opening and closing angle of the first display screen and the second display screen.
It should be noted that, the first acceleration sensor in the first display screen and the second acceleration sensor in the second display screen are both initially calibrated at the time of factory shipment, and the state of the electronic device with the foldable screen at the time of factory shipment is set to be the initial state (at this time, the sensor data of the first acceleration sensor in the first display screen is 0, 0, 9.8, and the data of the second acceleration sensor in the second display screen is 0, 0, -9.8). When the folding screen is unfolded or folded, the system respectively acquires sensor data of the double screens, calculates a difference value with the sensor data of the second display screen through a trigonometric function relation by taking the sensor data of the first display screen as a reference, and can obtain an included angle between the double screens.
For example, if the sensor data of the dual screens are 0, 0, 9.8, it can be determined that the foldable screen is placed right side up at this time, and the opening and closing angle of the dual screens is 180 °, and the dual screens are in the opened state.
It can be understood that other algorithms can be added to assist in judging the opening and closing tracks of the double screens so as to reduce misjudgment, for example, the situation that the double screens are opened and closed in the motion state of the whole machine.
And S303, determining target operation corresponding to the opening and closing angle according to a preset corresponding rule.
S304, after the target operation is determined, the target operation is executed.
In another embodiment, when the opening and closing trajectory is an opening and closing speed;
accordingly, the step S201 may be optimized as follows:
when detecting that the folding screen is operated, acquiring the time for operating the folding screen;
acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor within the time;
calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen;
and calculating and determining the opening and closing speed of the first display screen and the second display screen according to the time and the opening and closing angle.
Based on the above optimization, as shown in fig. 4, the operation execution method based on the opening and closing trajectory according to this embodiment may include the following steps:
s401, when the folding screen is detected to be operated, acquiring the time for operating the folding screen;
s402, acquiring sensor data which are detected by the first acceleration sensor and correspond to the first display screen and sensor data which are detected by the second acceleration sensor and correspond to the second display screen in the time;
s403, calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen;
s404, calculating and determining the opening and closing speed of the first display screen and the second display screen according to the time and the opening and closing angle.
It should be noted that, after obtaining the opening and closing angle and the time used in the process of operating the folding screen, the opening and closing speed can be calculated by the following formula:
where ω represents the opening and closing speed, φ represents the opening and closing angle, and Δ t represents the elapsed time.
S405, determining target operation corresponding to the opening and closing speed according to a preset corresponding rule.
And S406, executing the target operation after the target operation is determined.
According to the operation execution method based on the opening and closing track, the original acceleration sensor in the folding screen is adopted, the opening and closing track of the double screens can be obtained only through correlation calculation between sensor data, so that man-machine interaction operation which can be realized by the folding screen is enriched, the bendable characteristic of the folding screen is fully utilized, the use experience of people is improved, extra hardware does not need to be added, and any hardware cost is not generated.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an operation execution device based on an opening/closing trajectory according to a sixth embodiment of the present invention, where the device is suitable for executing an operation execution method based on an opening/closing trajectory according to a sixth embodiment of the present invention. The device specifically comprises the following modules:
an obtaining module 51, configured to obtain an opening and closing trajectory of the folding screen when being operated;
a corresponding module 52, configured to determine, according to a preset corresponding rule, a target operation corresponding to the opening and closing trajectory;
and an executing module 53, configured to execute the target operation after determining the target operation.
Preferably, the folding screen can be folded to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen;
correspondingly, the obtaining module 51 is specifically configured to:
when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor are obtained.
Preferably, the opening and closing track is an opening and closing angle;
correspondingly, the obtaining module 51 is further specifically configured to:
when detecting that the folding screen is operated, acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor;
and calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen.
Preferably, the opening and closing track is an opening and closing speed;
correspondingly, the obtaining module 51 is further specifically configured to:
when detecting that the folding screen is operated, acquiring the time for operating the folding screen;
acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor within the time;
calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen;
and calculating and determining the opening and closing speed of the first display screen and the second display screen according to the time and the opening and closing angle.
Preferably, the operation executing device based on the opening and closing trajectory further includes:
and a setting module, configured to associate the opening/closing trajectory with the target operation to form the preset corresponding rule before the step of acquiring the opening/closing trajectory when the folding screen is operated is executed by the acquisition module 51.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
According to the operation execution device based on the opening and closing track, provided by the embodiment of the invention, the opening and closing track when the folding screen is operated is obtained, the target operation corresponding to the opening and closing track is determined according to the preset corresponding rule, and the target operation is executed, so that when the folding screen is operated by people, not only can the function of switching the display modes of the large screen and the small screen be realized, but also other human-computer interaction functions can be realized, the bendable characteristic of the folding screen is fully utilized, and the use experience of people is improved.
Example four
Fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 6 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 6, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing an operation execution method based on open/close trajectory provided by an embodiment of the present invention.
That is, the processing unit implements, when executing the program: acquiring an opening and closing track of the folding screen when the folding screen is operated; determining target operation corresponding to the opening and closing track according to a preset corresponding rule; after the target operation is determined, the target operation is executed.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an operation execution method based on an opening and closing trajectory, as provided in all inventive embodiments of the present application:
that is, the processing unit implements, when executing the program: acquiring an opening and closing track of the folding screen when the folding screen is operated; determining target operation corresponding to the opening and closing track according to a preset corresponding rule; after the target operation is determined, the target operation is executed.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above embodiments are merely to illustrate the technical solutions of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An operation execution method based on opening and closing tracks is applied to an electronic device with a folding screen, and the method comprises the following steps:
acquiring an opening and closing track of the folding screen when the folding screen is operated;
determining target operation corresponding to the opening and closing track according to a preset corresponding rule;
after the target operation is determined, the target operation is executed.
2. The operation execution method based on the opening and closing track as claimed in claim 1, wherein the folding screen is foldable to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen;
correspondingly, the step of obtaining the opening and closing track of the folded screen when being operated comprises the following steps:
when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor are obtained.
3. The operation execution method based on the opening and closing track according to claim 2, wherein the opening and closing track is an opening and closing angle;
correspondingly, when the folding screen is detected to be operated, the step of acquiring the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor comprises the following steps:
when detecting that the folding screen is operated, acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor;
and calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen.
4. The operation execution method based on the opening and closing track according to claim 2, wherein the opening and closing track is an opening and closing speed;
correspondingly, when the folding screen is detected to be operated, the step of acquiring the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor comprises the following steps:
when detecting that the folding screen is operated, acquiring the time for operating the folding screen;
acquiring sensor data corresponding to the first display screen detected by the first acceleration sensor and sensor data corresponding to the second display screen detected by the second acceleration sensor within the time;
calculating a difference value between the sensor data of the first display screen and the sensor data of the second screen sensor according to a trigonometric function relationship, and determining the opening and closing angle of the first display screen and the second display screen;
and calculating and determining the opening and closing speed of the first display screen and the second display screen according to the time and the opening and closing angle.
5. The operation execution method based on the opening and closing trajectory according to claim 1, further comprising, before the step of acquiring the opening and closing trajectory when the folding screen is operated:
and associating the opening and closing track with the target operation to form the preset corresponding rule.
6. An operation execution device based on opening and closing tracks is applied to an electronic device with a folding screen, and the device comprises:
the acquisition module is used for acquiring an opening and closing track of the folding screen when the folding screen is operated;
the corresponding module is used for determining target operation corresponding to the opening and closing track according to a preset corresponding rule;
and the execution module is used for executing the target operation after the corresponding module determines the target operation.
7. The operation execution device based on the opening and closing track as claimed in claim 6, wherein the folding screen can be folded to form a first display screen and a second display screen, a first acceleration sensor is arranged in the first display screen, and a second acceleration sensor is arranged in the second display screen;
correspondingly, the obtaining module is specifically configured to:
when the folding screen is detected to be operated, the opening and closing tracks of the first display screen and the second display screen determined by the first acceleration sensor and the second acceleration sensor are obtained.
8. The opening-closing trajectory-based operation execution device according to claim 6, further comprising:
and the setting module is used for associating the opening and closing track with the target operation to form the preset corresponding rule before the step of acquiring the opening and closing track of the folded screen when the folded screen is operated is executed by the acquisition module.
9. An electronic device, comprising:
one or more controllers;
a memory for storing one or more programs;
the one or more programs are executed by the one or more controllers, so that the one or more controllers implement the opening-closing trajectory-based operation execution method according to any one of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program, when executed by a processor, implements the opening-closing trajectory-based operation execution method according to any one of claims 1 to 5.
CN201910882685.XA 2019-09-18 2019-09-18 Operation execution method, device, equipment and storage medium based on opening and closing track Pending CN110633193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910882685.XA CN110633193A (en) 2019-09-18 2019-09-18 Operation execution method, device, equipment and storage medium based on opening and closing track

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910882685.XA CN110633193A (en) 2019-09-18 2019-09-18 Operation execution method, device, equipment and storage medium based on opening and closing track

Publications (1)

Publication Number Publication Date
CN110633193A true CN110633193A (en) 2019-12-31

Family

ID=68971300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910882685.XA Pending CN110633193A (en) 2019-09-18 2019-09-18 Operation execution method, device, equipment and storage medium based on opening and closing track

Country Status (1)

Country Link
CN (1) CN110633193A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656683A (en) * 2017-09-13 2018-02-02 维沃移动通信有限公司 One kind operation execution method and mobile terminal
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN108255396A (en) * 2018-01-24 2018-07-06 中兴通讯股份有限公司 A kind of method, apparatus of screens switch, storage medium and mobile terminal
CN109302508A (en) * 2017-07-25 2019-02-01 中兴通讯股份有限公司 A kind of method, the method for display control and the terminal of determining double screen relative position
CN110090441A (en) * 2019-05-31 2019-08-06 网易(杭州)网络有限公司 Control method and device, storage medium and the electronic equipment of game operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302508A (en) * 2017-07-25 2019-02-01 中兴通讯股份有限公司 A kind of method, the method for display control and the terminal of determining double screen relative position
CN107656683A (en) * 2017-09-13 2018-02-02 维沃移动通信有限公司 One kind operation execution method and mobile terminal
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN108255396A (en) * 2018-01-24 2018-07-06 中兴通讯股份有限公司 A kind of method, apparatus of screens switch, storage medium and mobile terminal
CN110090441A (en) * 2019-05-31 2019-08-06 网易(杭州)网络有限公司 Control method and device, storage medium and the electronic equipment of game operation

Similar Documents

Publication Publication Date Title
US9746883B2 (en) Portable device and method of controlling therefor
EP2843535B1 (en) Apparatus and method of setting gesture in electronic device
US9495094B2 (en) Method and apparatus for inputting user commands using relative movements of device panels
RU2689435C2 (en) Adaptive user interface panels manager
RU2644064C2 (en) Mechanism of prevention of inadvertent interaction of user with transformable mobile device during transformation
US9250701B2 (en) Flexible portable device
US7502221B2 (en) Multiple-use auxiliary display
CN100507801C (en) Electronic apparatus including fingerprint sensor
RU2598780C2 (en) Method for control of screen rotation, supporting terminal and touch-sensitive system
JP2012530301A (en) Method for processing pan and zoom functions on a mobile computing device using motion detection
US10269377B2 (en) Detecting pause in audible input to device
US20170344791A1 (en) Fingerprint reader on a portion of a device for changing the configuration of the device
US20110267753A1 (en) Information processing apparatus and display screen operating method
US20150029225A1 (en) Technique to Reverse Automatic Screen Content Rotation
JP2010103721A (en) Terminal device and program
CN110417960B (en) Folding method of foldable touch screen and electronic equipment
US20170075474A1 (en) Information processing apparatus, display method therefor, and computer-executable program
US20220129037A1 (en) Information processing device and control method
US20140232704A1 (en) Method for switching screen and electronic device thereof
CN110647212A (en) Folding angle determining method and device, electronic equipment and storage medium
US20150212551A1 (en) Tablet device with keyboard that has overlay capability
US10996767B2 (en) Management of user context for operation of IHS peripherals
CN107526567B (en) Information processing apparatus, input method, and storage medium
CN116107531A (en) Interface display method and device
CN111045776A (en) Display switching method and device, folding terminal 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
CB02 Change of applicant information

Address after: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Applicant after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Applicant before: Huaqin Technology Co.,Ltd.

Address after: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Applicant after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Applicant before: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication