CN110377213B - Control method of electronic device, and computer-readable storage medium - Google Patents

Control method of electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN110377213B
CN110377213B CN201910628379.3A CN201910628379A CN110377213B CN 110377213 B CN110377213 B CN 110377213B CN 201910628379 A CN201910628379 A CN 201910628379A CN 110377213 B CN110377213 B CN 110377213B
Authority
CN
China
Prior art keywords
folding operation
display part
mode
display
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910628379.3A
Other languages
Chinese (zh)
Other versions
CN110377213A (en
Inventor
张秀生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910628379.3A priority Critical patent/CN110377213B/en
Publication of CN110377213A publication Critical patent/CN110377213A/en
Application granted granted Critical
Publication of CN110377213B publication Critical patent/CN110377213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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

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)
  • Telephone Function (AREA)

Abstract

The application discloses a control method of an electronic device, the electronic device and a non-volatile computer-readable storage medium. The electronic equipment comprises a first display part and a second display part which are connected in a rotating mode, the electronic equipment can be operated in a first mode and a second mode of playing a multimedia file, and the control method comprises the following steps: when the electronic equipment is in a first mode of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, executing mode control operation to enable the electronic equipment to be switched from the first mode to the second mode. According to the control method, the playing and switching functions of the electronic equipment are more intelligent and convenient, the phenomenon of false touch is avoided, and the operation accuracy is improved.

Description

Control method of electronic device, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a control method for an electronic device, and a computer-readable storage medium.
Background
In the related art, a screen of a mobile terminal is generally small and a displayed interface is limited. When a user enjoys video or audio, the user needs to hold the mobile terminal with one hand and control the progress, volume, brightness and the like of the video or audio by pressing a key or sliding or pressing a touch screen with the other hand.
Disclosure of Invention
The embodiment of the application provides a control method of electronic equipment, the electronic equipment and a computer readable storage medium.
The electronic equipment of the embodiment of the application comprises a first display part and a second display part which are connected in a rotating mode, the electronic equipment can be operated in a first mode and a second mode of playing a multimedia file, and the control method comprises the following steps:
when the electronic equipment is in a first mode of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, executing the mode control operation to switch the electronic equipment from the first mode to the second mode.
The electronic equipment of this application embodiment includes treater, first display part and the second display part of rotating the connection, the treater is connected first display part with the second display part, the treater is used for:
when the electronic equipment is in a first mode of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, executing the mode control operation to switch the electronic equipment from the first mode to the second mode.
The non-transitory computer-readable storage medium of the embodiments of the present application contains computer-readable instructions, which, when executed by a processor, cause the processor to execute the control method of the electronic device described above.
In the control method of the electronic device, the electronic device and the nonvolatile computer readable storage medium according to the embodiment of the application, the mode switching operation is executed to switch the electronic device from the first mode to the second mode under the condition that the simultaneous folding operation of the first display part and the second display part is detected, so that the playing and switching functions of the electronic device are more intelligent and convenient, the phenomenon of mistaken touch is avoided, and the operation accuracy is improved.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
Fig. 2 is another flow chart of a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 3 is a block diagram of an electronic device according to some embodiments of the present application.
FIG. 4 is a schematic block diagram of an electronic device according to some embodiments of the present application.
FIG. 5 is a diagram of an operational application scenario of an electronic device according to some embodiments of the present application.
FIG. 6 is a diagram of another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
FIG. 7 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 8 is a further flowchart illustrating a method of controlling an electronic device according to some embodiments of the present disclosure.
Fig. 9 is a further flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 10 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 11 is a further flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 12 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 13 is a further flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 14 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 15 is a further flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 16 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 17 is a further flowchart illustrating a control method of an electronic device according to some embodiments of the present disclosure.
FIG. 18 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 19 is a further flowchart of a control method of an electronic device according to some embodiments of the present application.
FIG. 20 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
FIG. 21 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
FIG. 22 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 23 is a further flowchart of a control method of an electronic device according to some embodiments of the present application.
FIG. 24 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
Fig. 25 is a further flowchart of a control method of an electronic device according to some embodiments of the present application.
FIG. 26 is a diagram of yet another operational application scenario of an electronic device in accordance with certain embodiments of the present application.
FIG. 27 is another schematic diagram of an electronic device in accordance with certain implementations of the present application.
FIG. 28 is another block diagram of an electronic device according to some embodiments of the present application.
FIG. 29 is a schematic diagram of the interaction of a non-volatile computer readable storage medium and a processor of certain embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
Referring to fig. 1, 3 and 4, the present application provides a control method of an electronic device 100. The electronic device 100 comprises a first display part 10 and a second display part 20 which are connected in a rotating mode, the electronic device 100 can be operated in a first mode and a second mode of playing a multimedia file, and the control method comprises the following steps:
step S10, when the electronic device 100 is in the first mode of playing the multimedia file, determining whether a simultaneous folding operation of the first display part 10 and the second display part 20 is detected;
in the case where the simultaneous folding operation of the first display section 10 and the second display section 20 is detected, step S30, a mode control operation is performed to switch the electronic apparatus 100 from the first mode to the second mode.
Referring to fig. 4 to fig. 6, an electronic device 100 is further provided. The control method of the electronic apparatus 100 of the present application can be implemented by the electronic apparatus 100 of the present application. The electronic device 100 comprises a processor 30. The processor 30 connects the first display unit 10 and the second display unit 20. Steps S10 and S30 may be implemented by the processor 30. That is, the processor 30 is configured to determine whether a simultaneous folding operation of the first display part 10 and the second display part 20 is detected when the electronic apparatus 100 is in a first mode of multimedia file playing, and perform a mode control operation to switch the electronic apparatus 100 from the first mode to a second mode when the simultaneous folding operation of the first display part 10 and the second display part 20 is detected.
In the control method of the electronic device 100 and the electronic device 100 according to the embodiment of the present application, when the simultaneous folding operation of the first display unit 10 and the second display unit 20 is detected, the mode switching operation is performed to switch the electronic device 100 from the first mode to the second mode, so that the playing and switching functions of the electronic device 100 are more intelligent and convenient, the phenomenon of false touch does not occur, and the accuracy of the operation is improved.
Referring to fig. 2, in some embodiments, after step S10, the method includes:
step S20, determining whether the simultaneous folding operation matches a preset mode switching operation;
in the case where the simultaneous folding operation matches the mode switching operation, step S22, a mode control operation is determined.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein both the step S20 and the step S22 can be implemented by the processor 30. The processor 30 is configured to determine whether the simultaneous folding operation matches a preset mode switching operation, and determine a mode control operation in case the simultaneous folding operation matches the mode switching operation. Therefore, the mode switching operation can be determined more accurately, and the false touch rate is reduced.
Specifically, the electronic device 100 includes a mobile phone, a tablet computer, a notebook computer, an intelligent wearable device (such as an intelligent bracelet, an intelligent watch, an intelligent glasses, an intelligent helmet, etc.), an intelligent furniture, a virtual reality device, etc., which is not limited herein. The electronic device 100 is exemplified as a folding screen mobile phone in the present application, but the form of the electronic device 100 is not limited to the folding screen mobile phone.
In the present embodiment, the electronic apparatus 100 may be divided according to whether the first display portion 10 and the second display portion 20 of the electronic apparatus 100 are exposed, and the electronic apparatus 100 may be divided into an outer folder electronic apparatus and an inner folder electronic apparatus.
The external folding screen electronic device refers to an electronic device 100 that can be folded at an angle of 180 ° and in the case of a folding operation, the first display part 10 and the second display part 20 can be entirely exposed, as shown in fig. 5. The first display part 10 and the second display part 20 shown in fig. 5 may be flattened such that the first display part 10 and the second display part 20 are positioned at the same horizontal plane (i.e., the included angle between the first display part 10 and the second display is 180 °), as shown in fig. 4. The first display unit 10 and the second display unit 20 may be completely folded such that the back surface of the first display unit 10 and the back surface of the second display unit 20 are completely attached to each other, and the first display unit 10 and the second display unit 20 are in a U-folded state.
The inner folding screen electronic device refers to an electronic device 100 in which a folding angle is 180 °, and in the case of a folding operation, the first display section 10 and the second display section 20 can be all folded inward, as shown in fig. 6. The first display part 10 and the second display part 20 shown in fig. 6 may be flattened such that the first display part 10 and the second display part 20 are positioned at the same horizontal plane (i.e., the included angle between the first display part 10 and the second display is 180 °), as shown in fig. 4. The first display unit 10 and the second display unit 20 may be completely folded such that the display interfaces of the first display unit 10 and the second display unit 20 are completely attached to each other, and the first display unit 10 and the second display unit 20 are in a U-shaped folded state, in which case the first display unit 10 and the second display unit 20 do not display the user interface.
In other embodiments, the foldable angle of the electronic device 100 is 360 °, i.e., the electronic device 100 can be folded in and out. In the case of the fold-out, the first display part 10 and the second display part 20 are exposed. In the case of the fold-in, the first display unit 10 and the second display unit 20 are folded inward. The embodiment of the present application does not limit this.
Referring to fig. 3, the electronic device 100 of the present application further includes a gravity sensor 40 and a rotation axis sensor 50. The gravity sensor 40 is provided in the first display unit 10 and the second display unit 20, and detects whether the folding operation is performed on the first display unit 10 and the second display unit 20. The rotation shaft sensor 50 is disposed at a rotation connection position of the first display part 10 and the second display part 20 and is used for detecting a relative rotation angle of the first display part 10 and the second display part 20, and the control method includes:
the folding operations of the first and second display parts 10 and 20 are determined according to the output signals of the gravity sensor 40 and the rotation axis sensor 50.
The control method of the above embodiment can be implemented by the processor 30 of the present embodiment. The processor 30 is used for determining the folding operation of the first display part 10 and the second display part 20 according to the output signals of the gravity sensor 40 and the rotation axis sensor 50.
In this way, which display portion of the first display portion 10 and the second display portion 20 is folded and the relative rotation angle between the first display portion 10 and the second display portion 20 can be detected quickly by the gravity sensor 40 and the rotation axis sensor 50, and the accuracy is high.
Specifically, referring to fig. 3, the number of the gravity sensors 40 is two, and the two gravity sensors 40 are respectively disposed on the first display portion 10 and the second display portion 20 to sense the posture, such as vertical, horizontal, and the like, of the electronic device 100. The gravity sensor 40 may use a piezoelectric effect to sense the force component of the gravity sensor 40 in two orthogonal directions, where the gravity is located on the first display 10 and/or the second display 20, so as to determine whether the folding operation occurs on the first display 10 and/or the second display 20. The hinge sensor 50 may sense the magnitude and direction of the acceleration of the first display part 10 and the second display part 20 from a three-dimensional angle, so as to obtain a relative rotation angle of the first display part 10 and the second display part 20, that is, a folding angle of the folding operation.
Specifically, the multimedia file playing includes audio and video playing, and the like, and is not limited herein. In one embodiment, the first display part 10 and the second display part 20 may be controlled to simultaneously play the multimedia file. In another embodiment, the first display part 10 may be controlled to play the multimedia file, and the second display part 20 may play the multimedia file. In another embodiment, the second display part 20 may be controlled to play the multimedia file, and the first display part 10 may play the multimedia file.
It should be noted that the first mode and the second mode may be understood as different modes of the electronic device 100. In one embodiment, the first mode is a non-adjustment mode. A non-adjusted mode is understood to be a functional mode that does not require adjustment of parameters, e.g. a functional mode of playing, pausing, popping up a dialog box, switching video or audio, etc. The second mode is an adjustment mode. The adjusting mode can be understood as a functional mode requiring parameter adjustment, such as volume adjustment, brightness adjustment, fast forward and fast backward play adjustment, and the like.
In other embodiments, the first mode may be an adjustment mode, and the second mode may be a non-adjustment mode, which is not limited herein.
It should be noted that the following embodiments are all described with the first mode as the non-adjustment mode and the second mode as the adjustment mode.
Referring to fig. 8, in some embodiments, the number of the second modes is multiple, and the control method includes:
step S40, when the electronic device 100 is in one of the second modes of playing the multimedia file and the simultaneous folding operation of the first display part 10 and the second display part 20 is detected, determining whether the simultaneous folding operation matches the preset mode switching operation;
step S50, in the case where the simultaneous folding operation matches the mode switching operation, determining a mode control operation;
in step S60, a mode control operation is performed to switch the electronic device 100 from one of the second modes to another of the second modes.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein the step S40, the step S50 and the step S60 can be implemented by the processor 30. The processor 30 is configured to determine whether the simultaneous folding operation matches the mode switching operation when the electronic device 100 is in one of the second modes of playing the multimedia file and the simultaneous folding operation of the first display part 10 and the second display part 20 is detected, determine the mode control operation when the simultaneous folding operation matches the preset mode switching operation, and perform the mode control operation to switch the electronic device 100 from one of the second modes to another one of the second modes.
In this way, by detecting the simultaneous folding operation of the first display part 10 and the second display part 20 when the electronic device 100 is in one of the second modes of playing the multimedia file, and implementing switching between the plurality of second modes when the simultaneous folding operation matches the mode switching operation, the switching function of the electronic device 100 is made more intelligent and convenient.
In the embodiment of the present application, the mode switching operation may be understood as a folding operation that is set in advance and stored in the electronic apparatus 100. The mode switching operation may be set according to actual requirements, and is not limited herein.
Referring to fig. 7, in one embodiment, the simultaneous folding operation includes a simultaneous bidirectional folding operation of the first display part 10 and the second display part 20. The simultaneous bidirectional folding operation of the first display section 10 and the second display section 20 may be understood as a simultaneous fold-back one-time operation. The mode switching operation may be set as: the simultaneous bidirectional folding of the first display part 10 and the second display part 20 should satisfy a preset angle range theta of bidirectional folding within a preset time1For example, the preset angle range is within 10 °, and the preset time is 1 second. Therefore, in the case where the simultaneous bidirectional folding operation of the first display part 10 and the second display part 20 satisfies that the preset angle range of the bidirectional folding is within 10 °, the processor 30 determines that the simultaneous bidirectional folding operation of the first display part 10 and the second display part 20 is successfully matched with the preset mode switching operation, and determines the mode control operation. The mode control operation may be understood as a control instruction to determine to perform mode switching. The processor 30 performs a mode control operation to switch the electronic device 100 from the first mode to the second mode. For example, the electronic device 100 may enter a mode of adjusting the volume of a video from a mode of video playback. In the case where the electronic apparatus 100 is in the second mode, the electronic apparatus 100 may rapidly switch between a plurality of second modes. The user can display the first displaySection 10 and second display section 20 are folded back once at the same time so that the simultaneous folding operation of first display section 10 and second display section 20 coincides with the mode switching operation, thereby causing electronic apparatus 100 to switch from one of the second modes to the other, for example, from the volume adjustment mode to the brightness adjustment mode.
It should be noted that the preset time and the preset angle range may be set according to actual situations, and are not limited herein.
Referring to fig. 5 and 6, in another embodiment, the simultaneous folding operation includes simultaneous one-directional folding operations of the first display part 10 and the second display part 20. The simultaneous one-way folding operation of the first display part 10 and the second display part 20 may be understood as the simultaneous folding in of the first display part 10 and the second display part 20 with respect to the horizontally unfolded state or the simultaneous folding out of the horizontally unfolded state. The mode switching operation may be set as: the simultaneous unidirectional folding of the first display part 10 and the second display part 20 is required to maintain a preset angle range within a preset time, for example, within 30 ° to 45 ° within 2 seconds. Therefore, in the case where the simultaneous unidirectional folding operations of the first display part 10 and the second display part 20 are satisfied to be maintained within 30 ° to 45 ° within 2 seconds, the processor 30 determines that the simultaneous unidirectional folding operations of the first display part 10 and the second display part 20 are successfully matched with the preset mode switching operation, and determines the mode control operation. The processor 30 performs a mode control operation to switch the electronic device 100 from the first mode to the second mode. For example, the electronic device 100 may enter a mode of adjusting the volume of a video from a mode of video playback. In the case where the electronic apparatus 100 is in the second mode, the electronic apparatus 100 may rapidly switch between a plurality of second modes. The user may cause the electronic apparatus 100 to switch from one of the second modes to the other second mode, for example, may switch from the volume adjustment mode to the brightness adjustment mode, by folding the first display portion 10 and the second display portion 20 inward or outward such that the simultaneous folding operation of the first display portion 10 and the second display portion 20 coincides with the mode switching operation.
It should be noted that the simultaneous two-way folding operation and the simultaneous one-way folding operation of the first display unit 10 and the second display unit 20 include the same direction of the folding operation of the first display unit 10 and the same direction of the folding operation of the second display unit 20, but in other embodiments, the direction of the folding operation of the first display unit 10 and the direction of the folding operation of the second display unit 20 are opposite, and are not limited herein.
Referring to fig. 9 and 10, in some embodiments, the control method includes:
step S110, when the electronic device 100 is in the first mode of playing the multimedia file, and the bidirectional folding operation of the first display portion 10 is detected and the folding operation of the second display portion 20 is not detected, determining whether the bidirectional folding operation of the first display portion 10 matches a preset first bidirectional folding operation;
step S120, determining a first control operation for playing the multimedia file when the two-way folding operation of the first display unit 10 matches the first two-way folding operation;
in step S130, a first control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S110, step S120 and step S130 can be implemented by the processor 30. The processor 30 is configured to determine whether the two-way folding operation of the first display part 10 matches a preset first two-way folding operation when the electronic device 100 is in the first mode of playing the multimedia file and the two-way folding operation of the first display part 10 is detected and the folding operation of the second display part 20 is not detected, and determine a first control operation of playing the multimedia file and execute the first control operation when the two-way folding operation of the first display part 10 matches the first two-way folding operation.
In this manner, in the case where the two-way folding operation of the first display section 10 matches the first two-way folding operation, the first control operation of the multimedia file playing is determined and the first control operation is performed, which makes it possible to quickly and easily cause the electronic setting to perform the first control operation.
Specifically, the bidirectional folding operation of the first display section 10 may be understood as a folding operation of the first display section 10. The preset first bidirectional folding operation may be preset as: the two-way folding of the first display portion 10 needs to satisfy a preset angle range of the two-way folding within a preset time, for example, the preset angle range is within 10 °, and the preset time is 1 second. That is, the folding back is performed once in 1 second. Therefore, in the case where the bidirectional folding operation of the first display part 10 satisfies that the preset angle range of the bidirectional folding within 1 second is within 10 °, the processor 30 determines that the bidirectional folding operation of the first display part 10 is successfully matched with the preset first bidirectional folding operation, and determines the first control operation. The first control operation may be understood as a control instruction determined to be executed. The processor 30 controls the operation of the electronic device 100 according to the first control operation. For example, the first control operation is to start a pause function of the electronic apparatus 100.
Referring to fig. 11 and 12, in some embodiments, the control method includes:
step S140, when the electronic device 100 is in the first mode of playing the multimedia file and the bidirectional folding operation of the second display part 20 is detected and the folding operation of the first display part 10 is not detected, determining whether the bidirectional folding operation of the second display part 20 matches a preset second bidirectional folding operation;
step S150, determining a second control operation for playing the multimedia file when the bidirectional folding operation of the second display unit 20 matches the second bidirectional folding operation;
in step S160, a second control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S140, step S150 and step S160 can be implemented by the processor 30. The processor 30 is configured to determine whether the bidirectional folding operation of the second display part 20 matches a preset second bidirectional folding operation when the electronic device 100 is in the first mode of multimedia file playing and the bidirectional folding operation of the second display part 20 is detected and the folding operation of the first display part 10 is not detected, and determine a second control operation of multimedia file playing and execute the second control operation when the bidirectional folding operation of the second display part 20 matches the second bidirectional folding operation.
In this manner, in the case where the bidirectional folding operation of the second display part 20 matches the second bidirectional folding operation, the second control operation of the multimedia file playing is determined and the second control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the second control operation.
Specifically, the bidirectional folding operation of the second display section 20 may be understood as a folding operation of the second display section 20. The preset second bidirectional folding operation may be preset as: the two-way folding of the second display portion 20 needs to satisfy a preset angle range of the two-way folding within a preset time, for example, the preset angle range is within 10 °, and the preset time is 1 second. That is, the folding was performed 1 time in 1 second. Therefore, in the case where the bidirectional folding operation of the second display part 20 satisfies that the preset angle range of the bidirectional folding within 1 second is within 10 °, the processor 30 determines that the bidirectional folding operation of the second display part 20 is successfully matched with the preset second bidirectional folding operation, and determines the second control operation. The second control operation may be understood as a control instruction determined to be executed. Processor 30 controls the operation of electronic device 100 in accordance with the second control operation. For example, the second control operation is to start a switching function of a song or video of the electronic apparatus 100.
Note that, in the above-described embodiment, the first control operation is different from the second control operation.
Referring to fig. 13 and 14, in some embodiments, the control method includes:
step S210, when the electronic device 100 is in the first mode and the one-way folding operation of the first display part 10 is detected but the folding operation of the second display part 20 is not detected, determining whether the one-way folding operation of the first display part 10 matches a preset first one-way folding operation;
step S220 of determining a third control operation in the case where the one-way folding operation of the first display section 10 matches the first one-way folding operation;
in step S230, a third control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S210, step S220, and step S230 can be implemented by the processor 30. The processor 30 is configured to determine whether the one-way folding operation of the first display part 10 matches a preset first one-way folding operation when the electronic apparatus 100 is in the first mode and the one-way folding operation of the first display part 10 is detected without detecting the folding operation of the second display part 20, and determine a third control operation and perform the third control operation when the one-way folding operation of the first display part 10 matches the first one-way folding operation.
In this manner, in the case where the one-way folding operation of the first display part 10 matches the first one-way folding operation, the third control operation of the multimedia file playing is determined and the third control operation is performed, which may quickly and conveniently cause the electronic apparatus 100 to perform the third control operation.
Specifically, the one-way folding operation of the first display section 10 may be understood as a folding-in or folding-out operation of the first display section 10 with respect to a horizontally unfolded state. The preset first one-way folding operation may be preset as: the one-way folding of the first display portion 10 needs to satisfy a preset angle range for maintaining the one-way folding for a preset time, for example, the preset angle range is 20 ° to 35 °, and the preset time is 2 seconds. That is, the angle range of the one-way folding of the first display section 10 is maintained at 20 ° to 35 ° by folding in with respect to the horizontally unfolded state or folding out with respect to the horizontally unfolded state within 2 seconds. Therefore, in the case where the one-way folding operation of the first display section 10 is satisfied to be maintained within 30 ° to 45 ° within 2 seconds, the processor 30 determines that the one-way folding operation of the first display section 10 is successfully matched with the preset first one-way folding operation, and determines the third control operation. The third control operation may be understood as a control instruction determined to be executed. Processor 30 controls the operation of electronic device 100 in accordance with a third control operation. For example, the third control operation is to quickly start the split screen function of the electronic apparatus 100.
It should be noted that the preset first unidirectional folding operation may be set according to actual requirements, and is not limited herein. The third control operation may be set according to actual requirements, and is not limited herein.
Referring to fig. 15 and 16, in some embodiments, the control method includes:
step S240, when the electronic device 100 is in the first mode and the one-way folding operation of the second display part 20 is detected but the folding operation of the first display part 10 is not detected, determining whether the one-way folding operation of the second display part 20 matches a preset second one-way folding operation;
step S250, determining a fourth control operation in a case where the one-way folding operation of the second display section 20 matches the second one-way folding operation;
step S260, executing a fourth control operation;
the control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S240, step S250 and step S260 can be implemented by the processor 30. The processor 30 is configured to determine whether the one-way folding operation of the second display part 20 matches a preset second one-way folding operation when the electronic apparatus 100 is in the first mode and the one-way folding operation of the second display part 20 is detected without detecting the folding operation of the first display part 10, and determine a fourth control operation and execute the fourth control operation when the one-way folding operation of the second display part 20 matches the second one-way folding operation.
In this manner, in the case where the one-way folding operation of the second display section 20 matches the second one-way folding operation, the fourth control operation of the multimedia file playing is determined and the fourth control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the fourth control operation.
Specifically, the one-way folding operation of the second display part 20 may be understood as a folding-in or folding-out operation of the second display part 20. The preset second one-way folding operation may be preset as: the one-way folding of the second display portion 20 needs to satisfy a preset angle range for maintaining the one-way folding for a preset time, for example, the preset angle range is 20 ° to 35 °, and the preset time is 2 seconds. That is, the angle range of the one-way folding of the second display part 20 is maintained at 20 ° to 35 ° with respect to the horizontally unfolded state by folding in or out within 2 seconds. Therefore, in the case where the one-way folding operation of the second display part 20 is satisfied to be maintained within 20 ° to 35 ° within 2 seconds, the processor 30 determines that the one-way folding operation of the second display part 20 is successfully matched with the preset second one-way folding operation, and determines the fourth control operation. The fourth control operation may be understood as a control instruction determined to be executed. Processor 30 controls the operation of electronic device 100 in accordance with the fourth control operation. For example, the fourth control operation is a pop-up function such as a pop-up chat interface, a display information interface, or a preset APP interface.
It should be noted that the preset second unidirectional folding operation may be set according to actual requirements, and is not limited herein. The fourth control operation may be set according to actual requirements, and is not limited herein.
Note that, in the above embodiment, the third control operation is different from the fourth control operation.
Referring to fig. 17 and 18, in some embodiments, the control method includes:
step S310, when the electronic device 100 is in the second mode and the one-way folding operation of the first display part 10 is detected but the folding operation of the second display part 20 is not detected, determining whether the one-way folding operation of the first display part 10 matches a preset third one-way folding operation;
step S320 of determining a fifth control operation in a case where the one-way folding operation of the first display section 10 matches the third one-way folding operation;
in step S330, a fifth control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S310, step S320 and step S330 can be implemented by the processor 30. The processor 30 is configured to determine whether the one-way folding operation of the first display section 10 matches a preset third one-way folding operation, and determine a fifth control operation and execute the fifth control operation, in a case where the one-way folding operation of the first display section 10 matches the third one-way folding operation, when the electronic apparatus 100 is in the second mode, and the one-way folding operation of the first display section 10 is detected and the folding operation of the second display section 20 is not detected.
In this way, in the case where the electronic apparatus 100 is in the second mode and the one-way folding operation of the first display section 10 matches the preset third one-way folding operation, the fifth control operation of the multimedia file playing is determined and the fifth control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the fifth control operation.
Referring to fig. 19 and 20, in some embodiments, the control method includes:
step S340, when the electronic device 100 is in the second mode and the one-way folding operation of the second display part 20 is detected but the folding operation of the first display part 10 is not detected, determining whether the one-way folding operation of the second display part 20 matches a preset fourth one-way folding operation;
step S350, determining a sixth control operation in a case where the one-way folding operation of the second display section 20 matches the fourth one-way folding operation;
in step S360, a sixth control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S340, step S350 and step S360 can be implemented by the processor 30. The processor 30 is configured to determine whether the one-way folding operation of the second display part 20 matches a preset fourth one-way folding operation when the electronic apparatus 100 is in the second mode and the one-way folding operation of the second display part 20 is detected without detecting the folding operation of the first display part 10, and determine a sixth control operation and execute the sixth control operation when the one-way folding operation of the second display part 20 matches the fourth one-way folding operation.
In this way, in the case where the electronic apparatus 100 is in the second mode and the one-way folding operation of the second display part 20 matches the preset fourth one-way folding operation, the sixth control operation of the multimedia file playing is determined and the sixth control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the sixth control operation.
Note that, in the above-described embodiment, the fifth control operation is different from the sixth control operation.
Specifically, the second mode may be an adjustment parameter mode. The parameter adjusting mode is unidirectional adjustment. Unidirectional adjustment may be understood as: in one embodiment, when the first display portion 10 is folded inward or outward with respect to the horizontally unfolded state, the value of the reduction parameter may be controlled according to the angle of the inward or outward fold, and when it is detected that the first display portion 10 starts to retract, that is, the angle of the inward or outward fold is reduced, the electronic device 100 still operates according to the adjusted parameter. In another embodiment, when the second display portion 20 is folded inward or outward, the value of the parameter can be controlled to be increased according to the angle of the folded inward or outward, and when it is detected that the second display portion 20 starts to retract, that is, the angle of the folded inward or outward is decreased, the electronic device 100 still operates according to the adjusted parameter.
The one-way folding operation of the first display part 10 or the second display part 20 may be understood as a folding-in or folding-out operation of the first display part 10 or the second display part 20.
In this embodiment, the preset third one-way folding operation may be set to: the size of the fold-in or fold-out angle of the first display part 10 is in a preset relationship with a negative correlation with the size of the parameter to be adjusted, and the unidirectional folding operation of the first display part 10 is unidirectional adjustment, and the adjusted parameter is still kept unchanged when the fold-in or fold-out angle of the first display part 10 is retracted. In a case where the one-way folding operation of the first display portion 10 matches a preset third one-way folding operation, that is, in a case where the one-way folding angle generated by the one-way folding operation of the first display portion 10 matches a one-way folding angle corresponding to the preset third one-way folding operation, a fifth control operation, that is, a control instruction for determining an execution parameter size may be determined according to a preset relationship in which the magnitude of the fold-in or fold-out angle of the first display portion 10 is negatively correlated with the magnitude of the parameter to be adjusted. The processor 30 controls the operation of the parameters of the electronic device 100 according to the fifth control operation.
In this embodiment, the preset fourth one-way folding operation may be set to: the size of the fold-in or fold-out angle of the second display part 20 is in a preset relationship of positive correlation with the size of the parameter to be adjusted, and the unidirectional folding operation of the second display part 20 is unidirectional adjustment, so that the adjusted parameter is still kept unchanged when the fold-in or fold-out angle of the second display part 20 is retracted. In a case where the one-way folding operation of the second display part 20 matches the preset fourth one-way folding operation, that is, the one-way folding angle generated by the one-way folding operation of the second display part 20 matches the one-way folding angle corresponding to the preset fourth one-way folding operation, the sixth control operation, that is, the control instruction for executing the parameter size may be determined according to the preset relationship that the size of the in-fold or out-fold angle of the second display part 20 is positively correlated with the parameter size to be adjusted. The processor 30 controls the operation of the parameters of the electronic device 100 according to the sixth control operation.
In one embodiment, the second mode may be a volume adjustment mode. Referring to fig. 18, in the present embodiment, the preset third unidirectional folding operation may be set as: the preset relationship between the size of the inward-folding or outward-folding angle of the first display part 10 and the negative correlation of the volume is correspondingly set, and the unidirectional folding operation of the first display part 10 is unidirectional adjustment, so that the adjusted volume is still kept unchanged when the inward-folding or outward-folding angle of the first display part 10 is retracted. In a case where the one-way folding operation of the first display portion 10 matches a preset third one-way folding operation, that is, in a case where the one-way folding angle generated by the one-way folding operation of the first display portion 10 matches a one-way folding angle corresponding to the preset third one-way folding operation, a fifth control operation, that is, a control instruction for executing the volume may be determined according to a preset relationship in which the magnitude of the in-folding or out-folding angle of the first display portion 10 is negatively correlated with the magnitude of the volume. The processor 30 controls the volume of the electronic device 100 according to the fifth control operation. That is, when the first display portion 10 is folded inward, the volume can be controlled to be decreased according to the angle of the folded inward, and when the first display portion 10 is detected to start to retract, that is, when the angle of the folded inward is decreased, the volume of the electronic device 100 is still maintained at the adjusted volume.
Referring to fig. 20, in the present embodiment, the preset fourth unidirectional folding operation may be set as: the preset relationship between the positive correlation between the size of the inward-folding or outward-folding angle of the second display part 20 and the volume is preset, and the unidirectional folding operation of the second display part 20 is unidirectional adjustment, so that the adjusted volume is still kept unchanged when the inward-folding or outward-folding angle of the second display part 20 is retracted. In a case where the one-way folding operation of the second display part 20 matches the preset fourth one-way folding operation, that is, the one-way folding angle generated by the one-way folding operation of the first display part 10 matches the one-way folding angle corresponding to the preset fourth one-way folding operation, the sixth control operation, that is, the control instruction for executing the volume may be determined according to the preset relationship that the size of the in-fold or out-fold angle of the second display part 20 is positively correlated to the volume. The processor 30 controls the volume of the electronic device 100 according to the sixth control operation. That is, when the second display portion 20 is folded inward, the volume can be controlled to be increased according to the angle of the folded inward, and when the second display portion 20 is detected to start to retract, that is, the angle of the folded inward is decreased, the volume of the electronic device 100 is still maintained at the adjusted volume.
In one embodiment, the second mode may be a brightness adjustment mode. Referring to fig. 21, in the present embodiment, the preset third unidirectional folding operation may be set as: the preset relationship of the negative correlation between the size of the inward-folding or outward-folding angle of the first display part 10 and the brightness size corresponds, and the unidirectional folding operation of the second display part 20 is unidirectional adjustment, so that the adjusted brightness is still maintained when the inward-folding or outward-folding angle of the second display part 20 is retracted. In a case where the one-way folding operation of the first display part 10 matches a preset third one-way folding operation, that is, in a case where the one-way folding angle generated by the one-way folding operation of the first display part 10 matches a one-way folding angle corresponding to the preset third one-way folding operation, a fifth control operation, that is, a control instruction for determining the magnitude of the execution luminance may be determined according to a preset relationship in which the magnitude of the in-folding or out-folding angle of the first display part 10 is negatively correlated with the magnitude of the luminance. The processor 30 controls the brightness of the electronic device 100 according to the fifth control operation. That is, when the first display portion 10 is folded inward, the brightness may be controlled to be decreased according to the angle of the folded inward, and when it is detected that the first display portion 10 starts to retract, that is, the angle of the folded inward is decreased, the brightness of the electronic device 100 is still maintained at the adjusted brightness.
Referring to fig. 22, in the present embodiment, the preset fourth unidirectional folding operation may be set as: the preset relationship corresponding to the positive correlation between the magnitude of the inward-folding or outward-folding angle of the second display part 20 and the magnitude of the brightness, and the unidirectional folding operation of the second display part 20 is unidirectional adjustment, so that the adjusted brightness is still maintained when the inward-folding or outward-folding angle of the second display part 20 is retracted. In a case where the one-way folding operation of the second display part 20 matches a preset fourth one-way folding operation, that is, the one-way folding angle generated by the one-way folding operation of the first display part 10 matches a one-way folding angle corresponding to the preset fourth one-way folding operation, a sixth control operation, that is, a control instruction to execute the magnitude of the brightness may be determined according to a preset relationship in which the magnitude of the in-fold or out-fold angle of the second display part 20 is positively correlated with the magnitude of the brightness. The processor 30 controls the brightness of the electronic device 100 according to the sixth control operation. That is, when the second display portion 20 is folded inward, the brightness can be controlled to be increased according to the angle of the folded inward, and when the second display portion 20 is detected to start to retract, that is, the angle of the folded inward is reduced, the brightness of the electronic device 100 is still maintained at the adjusted brightness.
It should be noted that the second mode in the control method of the above embodiment is not limited to the volume adjustment mode and the brightness adjustment mode, and may be set according to actual requirements.
Referring to fig. 23 and 24, in some embodiments, the control method includes:
step S410, when the electronic apparatus 100 is in the second mode and the bidirectional folding operation of the first display section 10 is detected but the folding operation of the second display section 20 is not detected, determining whether the bidirectional folding operation of the first display section 10 matches a preset third bidirectional folding operation;
step S420 of determining a seventh control operation in a case where the bidirectional folding operation of the first display section 10 matches the third bidirectional folding operation;
in step S430, a seventh control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S410, step S420 and step S430 can be implemented by the processor 30. The processor 30 is configured to determine whether the bidirectional folding operation of the first display section 10 matches a preset third bidirectional folding operation, and determine a seventh control operation and execute the seventh control operation, in a case where the bidirectional folding operation of the first display section 10 matches the third bidirectional folding operation, when the electronic apparatus 100 is in the second mode, and the bidirectional folding operation of the first display section 10 is detected and the folding operation of the second display section 20 is not detected.
In this manner, in the case where the bidirectional folding operation of the first display section 10 matches the preset third bidirectional folding operation while the electronic apparatus 100 is in the second mode, the seventh control operation of the multimedia file playing is determined and the seventh control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the seventh control operation.
Referring to fig. 25 and 26, in some embodiments, the control method includes:
step S440, when the electronic device 100 is in the second mode and the bidirectional folding operation of the second display part 20 is detected but the folding operation of the first display part 10 is not detected, determining whether the bidirectional folding operation of the second display part 20 matches a preset fourth bidirectional folding operation;
a step S450 of determining an eighth control operation in a case where the bidirectional folding operation of the second display section 20 matches the fourth bidirectional folding operation;
in step S460, an eighth control operation is performed.
The control method of the above embodiment can be implemented by the electronic device 100 of the present embodiment, wherein step S440, step S450 and step S460 can be implemented by the processor 30. The processor 30 is configured to determine whether the bidirectional folding operation of the second display part 20 matches a preset fourth bidirectional folding operation when the electronic apparatus 100 is in the second mode and the bidirectional folding operation of the second display part 20 is detected without detecting the folding operation of the first display part 10, and determine an eighth control operation and execute the eighth control operation when the bidirectional folding operation of the second display part 20 matches the fourth bidirectional folding operation.
In this manner, in the case where the bidirectional folding operation of the second display part 20 matches the preset fourth bidirectional folding operation while the electronic apparatus 100 is in the second mode, the eighth control operation of the multimedia file playing is determined and the eighth control operation is performed, which can quickly and conveniently cause the electronic apparatus 100 to perform the eighth control operation.
Note that the seventh control operation in the above embodiment is different from the eighth control operation.
Specifically, the second mode may be a parameter adjusting mode, and the parameter adjusting mode of the present embodiment is a bidirectional adjustment. Bidirectional adjustment can be understood as: in one embodiment, when the first display portion 10 is folded inward or outward, the angle of the inward or outward fold is related to the adjusted parameter, that is, the larger the angle of the inward or outward fold, the larger the corresponding parameter. In another embodiment, when the second display portion 20 is folded inward or outward, the angle of the inward or outward fold is related to the adjusted parameter, that is, the larger the angle of the inward or outward fold, the smaller the corresponding parameter.
The bidirectional folding operation of the first display part 10 or the second display part 20 in the second mode may be understood as a folding operation of the first display part 10 or the second display part 20, and the corresponding angle when the first display part 10 or the second display part 20 is folded is related to the adjusted parameter.
Referring to fig. 24, in one embodiment, the second mode may be a fast forward mode. In this embodiment, the preset third bidirectional folding operation may be set to: the inward-turning angle or the outward-turning angle of the first display unit 10 has a predetermined relationship corresponding to the fast-forward playing speed. That is, the larger the angle of the first display unit 10 when it is folded inward is, the larger the corresponding fast-forward playing speed is, and when the angle of the first display unit 10 when it is folded inward is gradually decreased when it is retracted, the corresponding fast-forward playing speed is gradually decreased, and the corresponding fast-forward playing speed is also restored to the original speed when the first display unit 10 is restored to the original position. Or, the larger the angle of the first display part 10 when it is folded outward is, the larger the corresponding fast forward playing speed is, and when the angle of the first display part 10 when it is folded outward is gradually reduced when it is retracted, the corresponding fast forward playing speed is also gradually reduced until the first display part 10 returns to the original initial position, and the corresponding fast forward playing speed is also returned to the initial speed. Therefore, in the case where the bidirectional folding operation of the first display section 10 matches the third bidirectional folding operation, a seventh control operation, which is a control instruction to execute the fast-forward play speed, may be determined according to a preset relationship in which the angle of the inward fold or the size of the outward fold angle of the first display section 10 has a positive correlation with the speed of the fast-forward play. The processor 30 controls the fast forward play speed of the electronic device 100 according to the seventh control instruction.
Referring to fig. 26, in one embodiment, the second mode may be a fast reverse mode. In this embodiment, the preset fourth bidirectional folding operation may be set to: the inward-turning angle or the outward-turning angle of the second display unit 20 has a predetermined relationship corresponding to the fast-backward playing speed. That is, the larger the inward folding angle of the second display portion 20 is, the larger the corresponding fast-rewinding playing speed is, and when the inward folding angle of the second display portion 20 is gradually decreased toward the retraction direction, the corresponding fast-rewinding playing speed is also gradually decreased until the corresponding fast-rewinding playing speed is also restored to the original speed when the second display portion 20 is restored to the original initial position. Or the larger the angle of the second display portion 20 when the second display portion 20 is folded outward, the larger the corresponding fast-backward playing speed is, and when the second display portion 20 is folded outward, the angle gradually decreases, the corresponding fast-backward playing speed also gradually decreases, and the corresponding fast-backward playing speed also returns to the original speed until the second display portion 20 returns to the original initial position. Therefore, in the case where the two-way folding operation of the second display section 20 matches the fourth two-way folding operation, an eighth control operation, which is a control instruction to execute the fast reverse play speed, may be determined according to a preset relationship in which the degree of the inward folding angle or the outward folding angle of the second display section 20 has a positive correlation with the fast reverse play speed. The processor 30 controls the fast-rewinding playing speed of the electronic device 100 according to the eighth control instruction.
The second mode in the above control method is not limited to the fast forward or fast backward function mode, and may be an adjustment function mode of the interface size of the bullet screen, and the like, and is not limited herein.
Referring to fig. 27, in some embodiments, the electronic device 100 includes a third display portion 110, and the first display portion 10, the second display portion 20 and the third display portion 110 rotate around the same rotation axis, and the control method includes: and under the condition that the included angle between the first display part 10 and the second display part 20 is smaller than the preset angle, controlling the first display part 10 and the second display part 20 to screen, and starting the multimedia file playing by the third display part 110.
In this way, the multimedia file playing of the electronic device 100 can be realized through the third display part 110 even when the first display part 10 and the second display part 20 are turned off.
Specifically, the preset angle can be set according to actual requirements. Preferably, in one embodiment, the predetermined angle is 45 °. That is, in the case where the angle between the first display part 10 and the second display part 20 is less than 45 °, the first display part 10 and the second display part 20 are controlled to screen down, and the third display part 110 starts the multimedia file playing.
The display surface of the first display unit 10 and the display surface of the second display unit 20 are connected, and the display surface of the third display unit 110 is separated from the display surfaces of the first display unit 10 and the second display unit 20.
Referring to fig. 28, fig. 28 is a schematic diagram of internal modules of an electronic device according to an embodiment. The electronic apparatus 100 includes a processor 30, a memory 210 (for example, a nonvolatile storage medium), an internal memory 250, a first display unit 10, a second display unit 20, and an input device 270, which are connected to each other via a system bus 230. The memory 210 of the electronic device 100 stores, among other things, an operating system and computer-readable instructions. The computer readable instructions can be executed by the processor 20 to implement the control method of any of the above embodiments. The processor 30 may be used to provide computing and control capabilities to support the operation of the overall computer device. Internal memory 250 provides an environment for the execution of computer-readable instructions in memory 210. The first display portion 10 and the second display portion 20 may be OLED display devices, and the input device 270 may be a touch layer covered on the first display portion 10 and the second display portion 20, a key, a trackball or a touch pad arranged on a housing of the electronic device 100, or an external keyboard, a touch pad or a mouse. The electronic device 100 may be a mobile phone, a tablet computer, or the like. Those skilled in the art will appreciate that the structure shown in fig. 28 is only a schematic diagram of a part of the structure related to the present application, and does not constitute a limitation to the electronic device 100 to which the present application is applied, and a specific electronic device 100 may include more or less components than those in the figure, or combine some components, or have different component arrangements.
Referring to fig. 29, embodiments of the present application also provide a non-transitory computer readable storage medium 200 containing computer readable instructions. The computer readable instructions, when executed by the processor 30, cause the processor 30 to perform the control method of the electronic device 100 of any one of the above embodiments.
For example, referring to fig. 1, the computer readable instructions, when executed by the processor 30, cause the processor 30 to perform the steps of:
step S10, when the electronic device 100 is in the first mode of playing multimedia files, determining whether a simultaneous folding operation of the first display part 10 and the second display part 20 is detected
In the case where the simultaneous folding operation of the first display section 10 and the second display section 20 is detected, step S30, a mode control operation is performed to switch the electronic apparatus 100 from the first mode to the second mode.
For another example, referring to fig. 8, the computer readable instructions executed by the processor 30 cause the processor 30 to perform the following steps:
step S40, when the electronic device 100 is in one of the second modes of playing the multimedia file and the simultaneous folding operation of the first display part 10 and the second display part 20 is detected, determining whether the simultaneous folding operation matches the mode switching operation;
step S50, in the case where the simultaneous folding operation matches the mode switching operation, determining a mode control operation;
in step S60, a mode control operation is performed to switch the electronic device 100 from one of the second modes to another of the second modes.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (21)

1. A control method of an electronic device, wherein the electronic device comprises a first display part and a second display part which are rotatably connected, and the electronic device can be operated in a first mode and a second mode for playing multimedia file audio or video, the control method comprises the following steps:
when the electronic equipment is in a first mode of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, executing mode control operation to enable the electronic equipment to be switched from the first mode to the second mode; the first mode is one of a non-adjustment mode and an adjustment mode, the second mode is the other of the non-adjustment mode and the adjustment mode, the adjustment mode is a function mode of volume adjustment, brightness adjustment and fast forward and fast backward play adjustment requiring parameter adjustment, and the non-adjustment mode is a function mode of play, pause, pop-up dialog box and video or audio switching requiring no parameter adjustment.
2. The control method according to claim 1, characterized by comprising, after the step of detecting a simultaneous folding operation of the first display section and the second display section:
determining whether the simultaneous folding operation is matched with a preset mode switching operation;
determining the mode control operation in a case where the simultaneous folding operation matches the mode switching operation.
3. The control method according to claim 1, characterized in that the number of the second modes is plural, the control method comprising:
when the electronic equipment is in one of the second modes of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, determining whether the simultaneous folding operation is matched with a preset mode switching operation or not;
determining the mode control operation in a case where the simultaneous folding operation matches the mode switching operation;
performing the mode control operation to switch the electronic device from one of the second modes to another of the second modes.
4. The control method according to claim 1 or 3, wherein the simultaneous folding operation includes a simultaneous two-way folding operation and a simultaneous one-way folding operation of the first display section and the second display section.
5. The control method according to claim 1, characterized by comprising:
when the electronic equipment is in a first mode of playing the multimedia file, and the bidirectional folding operation of the first display part is detected and the folding operation of the second display part is not detected, determining whether the bidirectional folding operation of the first display part is matched with a preset first bidirectional folding operation;
determining a first control operation of playing the multimedia file under the condition that the bidirectional folding operation of the first display part is matched with the first bidirectional folding operation;
executing the first control operation;
when the electronic equipment is in a first mode of playing the multimedia file, and the bidirectional folding operation of the second display part is detected and the folding operation of the first display part is not detected, determining whether the bidirectional folding operation of the second display part is matched with a preset second bidirectional folding operation;
determining a second control operation of the multimedia file playing under the condition that the bidirectional folding operation of the second display part is matched with the second bidirectional folding operation;
executing the second control operation;
wherein the first control operation is different from the second control operation.
6. The control method according to claim 1, characterized by comprising:
when the electronic equipment is in the first mode and the one-way folding operation of the first display part is detected but the folding operation of the second display part is not detected, determining whether the one-way folding operation of the first display part is matched with a preset first one-way folding operation;
determining a third control operation in a case where the one-way folding operation of the first display section matches the first one-way folding operation;
performing the third control operation;
when the electronic device is in the first mode and a one-way folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the one-way folding operation of the second display part matches a preset second one-way folding operation;
determining a fourth control operation in a case where the one-way folding operation of the second display section matches the second one-way folding operation;
executing the fourth control operation;
wherein the third control operation is different from the fourth control operation.
7. The control method according to claim 1, characterized by comprising:
when the electronic device is in the second mode and a one-way folding operation of the first display part is detected but a folding operation of the second display part is not detected, determining whether the one-way folding operation of the first display part is matched with a preset third one-way folding operation;
determining a fifth control operation in a case where the one-way folding operation of the first display section matches the third one-way folding operation;
executing the fifth control operation;
when the electronic device is in the second mode and a one-way folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the one-way folding operation of the second display part matches a preset fourth one-way folding operation;
determining a sixth control operation in a case where the one-way folding operation of the second display section matches the fourth one-way folding operation;
executing the sixth control operation;
the fifth control operation is different from the sixth control operation.
8. The control method according to claim 1, characterized by comprising:
determining whether a bidirectional folding operation of the first display part matches a preset third bidirectional folding operation when the electronic device is in the second mode and a bidirectional folding operation of the first display part is detected but a folding operation of the second display part is not detected;
determining a seventh control operation in a case where the bidirectional folding operation of the first display section matches the third bidirectional folding operation;
executing the seventh control operation;
when the electronic device is in the second mode and a bidirectional folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the bidirectional folding operation of the second display part matches a preset fourth bidirectional folding operation;
determining an eighth control operation in a case where the bidirectional folding operation of the second display section matches the fourth bidirectional folding operation;
executing the eighth control operation;
the seventh control operation is different from the eighth control operation.
9. The control method according to claim 1, wherein the electronic apparatus includes a gravity sensor and a rotation axis sensor, the gravity sensor being provided at the first display portion and the second display portion and being configured to detect whether or not a folding operation has occurred in the first display portion and the second display portion, the rotation axis sensor being provided at a rotational connection of the first display portion and the second display portion and being configured to detect a relative rotation angle of the first display portion and the second display portion, the control method including:
and determining the folding operation of the first display part and the second display part according to the output signals of the gravity sensor and the rotating shaft sensor.
10. The method according to claim 1, wherein the electronic apparatus includes a third display portion, and the first display portion, the second display portion, and the third display portion rotate around the same rotation axis, the method comprising: and under the condition that the included angle between the first display part and the second display part is smaller than a preset angle, controlling the first display part and the second display part to display information, and controlling the third display part to display the multimedia file.
11. An electronic device, comprising a processor, a first display portion and a second display portion rotatably connected, wherein the processor is connected to the first display portion and the second display portion, and wherein the processor is configured to:
when the electronic equipment is in a first mode of multimedia file audio or video playing and the simultaneous folding operation of the first display part and the second display part is detected, executing mode control operation to enable the electronic equipment to be switched from the first mode to a second mode; the first mode is one of a non-adjustment mode and an adjustment mode, the second mode is the other of the non-adjustment mode and the adjustment mode, the adjustment mode is a function mode of volume adjustment, brightness adjustment and fast forward and fast backward play adjustment requiring parameter adjustment, and the non-adjustment mode is a function mode of play, pause, pop-up dialog box and video or audio switching requiring no parameter adjustment.
12. The electronic device of claim 11, wherein the processor is configured to:
determining whether the simultaneous folding operation is matched with a preset mode switching operation;
determining the mode control operation in a case where the simultaneous folding operation matches the mode switching operation.
13. The electronic device of claim 11, wherein the number of second modes is multiple, the processor configured to:
when the electronic equipment is in one of the second modes of playing the multimedia file and the simultaneous folding operation of the first display part and the second display part is detected, determining whether the simultaneous folding operation is matched with a preset mode switching operation or not;
determining the mode control operation in a case where the simultaneous folding operation matches the mode switching operation;
performing the mode control operation to switch the electronic device from one of the second modes to another of the second modes.
14. The electronic apparatus according to claim 11 or 13, wherein the simultaneous folding operation includes a simultaneous bidirectional folding operation and a simultaneous unidirectional folding operation of the first display portion and the second display portion.
15. The electronic device of claim 11, wherein the processor is configured to:
when the electronic equipment is in a first mode of playing the multimedia file, and the bidirectional folding operation of the first display part is detected and the folding operation of the second display part is not detected, determining whether the bidirectional folding operation of the first display part is matched with a preset first bidirectional folding operation;
determining a first control operation of playing the multimedia file under the condition that the bidirectional folding operation of the first display part is matched with the first bidirectional folding operation;
executing the first control operation;
when the electronic equipment is in a first mode of playing the multimedia file, and the bidirectional folding operation of the second display part is detected and the folding operation of the first display part is not detected, determining whether the bidirectional folding operation of the second display part is matched with a preset second bidirectional folding operation;
determining a second control operation of the multimedia file playing under the condition that the bidirectional folding operation of the second display part is matched with the second bidirectional folding operation;
executing the second control operation;
wherein the first control operation is different from the second control operation.
16. The electronic device of claim 11, wherein the processor is configured to:
when the electronic equipment is in the first mode and the one-way folding operation of the first display part is detected but the folding operation of the second display part is not detected, determining whether the one-way folding operation of the first display part is matched with a preset first one-way folding operation;
determining a third control operation in a case where the one-way folding operation of the first display section matches the first one-way folding operation;
performing the third control operation;
when the electronic device is in the first mode and a one-way folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the one-way folding operation of the second display part matches a preset second one-way folding operation;
determining a fourth control operation in a case where the one-way folding operation of the second display section matches the second one-way folding operation;
executing the fourth control operation;
wherein the third control operation is different from the fourth control operation.
17. The electronic device of claim 11, wherein the processor is configured to:
when the electronic device is in the second mode and a one-way folding operation of the first display part is detected but a folding operation of the second display part is not detected, determining whether the one-way folding operation of the first display part is matched with a preset third one-way folding operation;
determining a fifth control operation in a case where the one-way folding operation of the first display section matches the third one-way folding operation;
executing the fifth control operation;
when the electronic device is in the second mode and a one-way folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the one-way folding operation of the second display part matches a preset fourth one-way folding operation;
determining a sixth control operation in a case where the one-way folding operation of the second display section matches the fourth one-way folding operation;
executing the sixth control operation;
the fifth control operation is different from the sixth control operation.
18. The electronic device of claim 11, wherein the processor is configured to:
determining whether a bidirectional folding operation of the first display part matches a preset third bidirectional folding operation when the electronic device is in the second mode and a bidirectional folding operation of the first display part is detected but a folding operation of the second display part is not detected;
determining a seventh control operation in a case where the bidirectional folding operation of the first display section matches the third bidirectional folding operation;
executing the seventh control operation;
when the electronic device is in the second mode and a bidirectional folding operation of the second display part is detected but a folding operation of the first display part is not detected, determining whether the bidirectional folding operation of the second display part matches a preset fourth bidirectional folding operation;
determining an eighth control operation in a case where the bidirectional folding operation of the second display section matches the fourth bidirectional folding operation;
executing the eighth control operation;
the seventh control operation is different from the eighth control operation.
19. The electronic device according to claim 11, wherein the electronic device comprises a gravity sensor and a rotation axis sensor, the gravity sensor is disposed on the first display portion and the second display portion and is configured to detect a placement state of the first display portion and the second display portion, the rotation axis sensor is disposed at a rotation connection of the first display portion and the second display portion and is configured to detect a relative rotation angle of the first display portion and the second display portion, and the processor is configured to determine a folding operation of the first display portion and the second display portion according to output signals of the gravity sensor and the rotation axis sensor.
20. The electronic device of claim 11, wherein the electronic device comprises a third display portion, and wherein the first display portion, the second display portion, and the third display portion rotate around a same rotation axis, and wherein the processor is configured to:
and under the condition that the included angle between the first display part and the second display part is smaller than a preset angle, controlling the first display part and the second display part to display information, and starting the multimedia file playing by the third display part.
21. A non-transitory computer-readable storage medium containing computer-readable instructions that, when executed by a processor, cause the processor to perform the method of controlling the electronic device of any one of claims 1-10.
CN201910628379.3A 2019-07-12 2019-07-12 Control method of electronic device, and computer-readable storage medium Active CN110377213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910628379.3A CN110377213B (en) 2019-07-12 2019-07-12 Control method of electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910628379.3A CN110377213B (en) 2019-07-12 2019-07-12 Control method of electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110377213A CN110377213A (en) 2019-10-25
CN110377213B true CN110377213B (en) 2021-04-09

Family

ID=68252890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910628379.3A Active CN110377213B (en) 2019-07-12 2019-07-12 Control method of electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110377213B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873416A (en) * 2022-10-10 2024-04-12 Oppo广东移动通信有限公司 Equipment control method, device, electronic equipment, computer readable medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851367A (en) * 2015-05-26 2015-08-19 蔡锐峤 Display area size adjustable screen, adjusting method for screen display area size and screen-based terminal device
CN106445228A (en) * 2016-08-30 2017-02-22 上海斐讯数据通信技术有限公司 Flexible screen device control method and system
CN108089809A (en) * 2017-11-29 2018-05-29 努比亚技术有限公司 A kind of music control method, terminal and computer readable storage medium
CN109947320A (en) * 2019-03-15 2019-06-28 Oppo广东移动通信有限公司 Image display method and device, electronic equipment and storage medium
CN109976633A (en) * 2019-03-15 2019-07-05 Oppo广东移动通信有限公司 Interface alternation method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170169857A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and Electronic Device for Video Play

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851367A (en) * 2015-05-26 2015-08-19 蔡锐峤 Display area size adjustable screen, adjusting method for screen display area size and screen-based terminal device
CN106445228A (en) * 2016-08-30 2017-02-22 上海斐讯数据通信技术有限公司 Flexible screen device control method and system
CN108089809A (en) * 2017-11-29 2018-05-29 努比亚技术有限公司 A kind of music control method, terminal and computer readable storage medium
CN109947320A (en) * 2019-03-15 2019-06-28 Oppo广东移动通信有限公司 Image display method and device, electronic equipment and storage medium
CN109976633A (en) * 2019-03-15 2019-07-05 Oppo广东移动通信有限公司 Interface alternation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110377213A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
US10095316B2 (en) Scrolling and zooming of a portable device display with device motion
CN107179865B (en) Page switching method and terminal
US20190302984A1 (en) Method and device for controlling a flexible display device
US9483857B2 (en) Display control device, display control method, and program
US20170372678A1 (en) Floating window processing method and apparatus
JP5742187B2 (en) Information processing apparatus, information processing method, and program
US9323351B2 (en) Information processing apparatus, information processing method and program
US11561587B2 (en) Camera and flashlight operation in hinged device
CN105635591A (en) Photographing control method based on wearable equipment and terminal
JP2013546048A (en) Migrating application display between single and multiple displays
KR20100082451A (en) Foldable display device and operation method thereof
CN109947320B (en) Picture display method and device, electronic equipment and storage medium
KR102401467B1 (en) Button setting method, device and recording medium
CN110377213B (en) Control method of electronic device, and computer-readable storage medium
CN110221765B (en) Video file playing method and device, storage medium and terminal
US20220093054A1 (en) Automatic Input Style Selection Or Augmentation For An External Display Device
CN104571814A (en) Projection method and electronic device
KR20160096645A (en) Binding of an apparatus to a computing device
JP6663131B2 (en) Display device, display control method and program
WO2023155809A1 (en) Desktop deformer display method and apparatus, electronic device, and storage medium
US20130024792A1 (en) Information processing device, information processing method, and program
CN116185248A (en) Window display method and related equipment
CN114895862A (en) Screen projection method, device and equipment of intelligent terminal
CN114721574A (en) Control method and device for one-hand operation mode, electronic equipment and storage medium
CN112492100B (en) Method and device for controlling communication, folding screen equipment 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
GR01 Patent grant
GR01 Patent grant