CN111045572B - Screen control method, device, terminal and storage medium - Google Patents
Screen control method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111045572B CN111045572B CN201911257730.9A CN201911257730A CN111045572B CN 111045572 B CN111045572 B CN 111045572B CN 201911257730 A CN201911257730 A CN 201911257730A CN 111045572 B CN111045572 B CN 111045572B
- Authority
- CN
- China
- Prior art keywords
- terminal
- detection data
- screen
- state
- functional component
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
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)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a screen control method, a screen control device, a terminal and a storage medium. The method is executed by a terminal, wherein the terminal comprises a functional component arranged at the top of the terminal, and the functional component comprises one or more combinations of an image acquisition component and an audio component; the method comprises the following steps: when receiving the triggering operation of a user on the functional component, detecting the use state of a terminal screen; determining the folding direction of the terminal screen according to the use state and the target detection data; folding the terminal screen along the folding direction based on the folding direction so as to enable the terminal screen to be in a new using state; and in the new use state of the terminal screen, controlling the functional component to execute processing operation. Through setting up functional unit in the terminal top to the terminal screen is folded to adaptability ground when using functional unit, thereby can realize the function at terminal through functional unit, can realize full screen display again when not using functional unit.
Description
Technical Field
The embodiment of the invention relates to the technical field of intelligent control, in particular to a screen control method, a screen control device, a screen control terminal and a storage medium.
Background
Along with the continuous improvement of the use requirements of the user on the terminal, the requirements on the display of the terminal screen are gradually improved, the user not only needs the larger area of the terminal screen so as to look up information, but also puts forward higher requirements on the screen occupation ratio of the terminal screen. The high screen occupation ratio of the terminal can provide better screen viewing experience for users, and therefore, the terminal screen with the high screen occupation ratio is also the current terminal research and development trend.
However, due to the limitation of the current technology, the current terminal cannot achieve a front screen ratio of 100%, and can only increase the screen ratio as much as possible by using the technologies such as "bang screen", "water drop screen", and "hole digging screen", but the terminal screen still cannot achieve full screen display. In addition, for a terminal with a large screen ratio, the terminal cannot be automatically adjusted adaptively to realize various functions of the terminal.
Disclosure of Invention
The embodiment of the invention provides a screen control method, a screen control device, a terminal and a storage medium, which are used for realizing intelligent control on a terminal screen and acquiring effective images.
In one embodiment, the embodiment of the invention provides a screen control method, wherein the terminal comprises a functional component arranged at the top of the terminal, and the functional component comprises one or more combinations of an image acquisition component and an audio component; the method comprises the following steps:
when receiving the triggering operation of a user on the functional component, detecting the use state of a terminal screen;
determining the folding direction of the terminal screen according to the use state and the target detection data;
folding the terminal screen along the folding direction to enable the terminal screen to be in a new using state;
and controlling the functional components to execute processing operation when the terminal screen is in a new using state.
In another embodiment, an embodiment of the present invention provides a screen control apparatus, including:
the use state detection module is used for detecting the use state of the terminal screen when receiving the triggering operation of the functional component by the user;
the folding direction determining module is used for determining the folding direction of the terminal screen according to the use state and the target detection data;
the folding module is used for folding the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state;
and the processing operation executing module is used for controlling the functional component to execute the processing operation when the terminal screen is in a new using state.
In another embodiment, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the steps of the screen control method as described above in the embodiments of the present invention.
In still another embodiment, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the screen control method as described above in the embodiments of the present invention.
In the embodiment of the invention, the functional component is arranged at the top of the terminal, so that the space of the terminal screen is saved, and the using state of the terminal screen is adjusted by adaptively folding the terminal screen when the functional component is used, so that various functions of the terminal can be realized through the functional component, and the terminal screen can be in an unfolded state when the functional component is not used, so that full-screen display is realized.
Drawings
Fig. 1 is a schematic diagram of a terminal provided with an image capturing assembly at the top according to an embodiment of the present invention;
fig. 2 is a flowchart of a screen control method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling a screen according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a screen control apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The screen control method provided by the application can be applied to the terminal application shown in fig. 1. The terminal comprises a functional component arranged at the top, wherein the functional component comprises one or more combinations of an image acquisition component and an audio component; for example, an image acquisition component, a receiver, and a sensor, and other components related to the implementation of the terminal function application may also be provided, for example, a flashlight, an earphone interface, and a charging interface may also be provided. In the embodiment of the invention, the components are arranged at the top of the terminal, but not arranged on the front screen or the back screen of the terminal, so that the screen occupation ratio of the front screen or the back screen is improved, and the front screen or the back screen can realize full-screen display. The screen of the terminal can be a flexible screen, and bending at any angle can be performed to the front screen side or the back screen side.
Fig. 2 is a flowchart of a screen control method according to an embodiment of the present invention. The screen control method provided by the embodiment can be applied to the condition of controlling the folding state of the terminal screen, and typically, the embodiment of the invention can be applied to the condition of adjusting the folding state of the top screen of the terminal when executing the function application and performing full-screen display under other conditions. The method may be specifically performed by a screen control device, which may be implemented in software and/or hardware, which may be integrated in a terminal. Referring to fig. 2, the method of the embodiment of the present invention specifically includes:
and S110, detecting the use state of the terminal screen when receiving the triggering operation of the functional component by the user.
Wherein the use state may comprise a folded state and an unfolded state. In the embodiment of the invention, the functional component is arranged at the top of the terminal, so that the function cannot be realized under the condition of not adjusting a top screen of the terminal. For example, since the handset is disposed on the top of the terminal, the voice of the other party cannot be heard when the call is received. Therefore, it is necessary to adjust the terminal top screen when the terminal implements the function. Illustratively, when the terminal detects a triggering operation of the function application by the user on the terminal, the use state of the top screen of the terminal is detected so as to judge whether the triggered function can be realized in the use state of the terminal.
For example, since the use state of the terminal screen may be controlled by the internal folding motor, the use state of the terminal screen may be determined according to the current control state of the internal motor. The user may also be presented with an option to determine the usage status of the terminal screen, which the user selects. By detecting the use state of the terminal screen, whether the current use state of the terminal can realize the processing operation of the triggered functional component or not is convenient to determine, so that the use state can be adjusted subsequently.
And S120, determining the folding direction of the terminal screen according to the using state and the target detection data.
The target detection data may be sensor detection data, trigger operation detection data acting on the terminal screen, image detection data, and the like, and may be used to determine a state that the terminal screen should be in a case where the processing operation of the functional component is normally performed. The folding direction of the terminal screen is the direction in which the terminal screen should be folded.
For example, since the functional component may not normally perform processing operations to meet the user's requirements when the terminal screen is in the current usage state, for example, the current terminal screen is in a state of being folded toward the back screen, and the current user wishes to implement a self-timer function through the functional component, the current functional component cannot implement self-timer. Therefore, it is necessary to determine the state of the terminal screen in which the functional component normally performs the processing operation according to the target detection data of the terminal screen, and determine the folding direction of the terminal screen in combination with the current use state of the terminal screen, so as to specify which direction the terminal screen should be folded in order to allow the functional component to normally perform the processing operation.
S130, folding the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state.
Illustratively, in order to enable the functional components to accurately perform processing operations when the terminal screen is in use, the terminal screen is folded in a folding direction. At this time, the terminal screen is in a folded new use state.
And S140, controlling the functional component to execute processing operation when the terminal screen is in a new using state.
Illustratively, since the terminal screen is folded along the folding direction, the terminal screen can be in a new use state to enable the functional component to execute the corresponding processing operation, and therefore, the functional component is controlled to execute the processing operation in the new use state of the terminal, so as to implement the corresponding function and meet the current requirements of the user. For example, a user may click a trigger button for instructing the functional component to perform a processing operation through a terminal screen, thereby triggering the functional component to perform the processing operation.
The embodiment of the application sets up in the terminal top through with functional unit to the space of terminal screen has been saved, through the user state of the terminal screen of adaptation ground folding terminal screen in order to adjust the terminal screen when using functional unit, thereby can realize each item function at terminal through functional unit, can make the terminal screen be in the state of expanding in order to realize full screen display when not using functional unit again.
Fig. 3 is a flowchart of a screen control method according to another embodiment of the present invention. The embodiment of the invention is optimized on the basis of the above embodiment, and details which are not described in detail in the embodiment are referred to the above embodiment. Referring to fig. 3, the screen control method provided in this embodiment may include:
s210, when the triggering operation of the functional component by the user is received, the using state of the terminal screen is detected.
S220, determining the current state direction of the terminal screen according to the use state; wherein the using state comprises a folded state or an unfolded state.
For example, the terminal may be used when the usage state of the terminal screen is a folded state, or may be used when the usage state of the terminal screen is an unfolded state. When the usage state of the terminal screen is the folded state, the current state direction of the terminal screen may include a front screen direction and a back screen direction. When the using state of the terminal screen is the unfolding state, the current state direction of the terminal screen is towards the top direction, wherein the top direction means that the terminal screen is not bent and is not towards the front screen direction or the back screen direction. When the terminal screen is in the folding direction or the unfolding direction, the functional component may not be able to execute the corresponding processing function, and therefore, whether the terminal screen is in the folding state or the unfolding state, the current state direction of the terminal screen needs to be determined, and whether the current state direction needs to be adjusted is determined.
And S230, acquiring target detection data.
For example, the target detection data may be collected by a sensor, an image collecting component, a touch screen, or the like disposed in the terminal, and the target detection data may be acquired by the terminal.
And S240, determining the current application direction of the target user according to the target detection data.
Wherein the current application direction is a direction in which the functional component is used by the target user determined from the target detection data. The target user refers to a user who applies the functional component when the functional component is implemented.
In another embodiment of the present application, when the functional component includes an audio component, the target member refers to any one of an answering party or a calling party during a voice call; the target detection data are sensor detection data; correspondingly, the current application direction of the target user is determined according to the target detection data, and at this time, the determination of the current application direction includes: determining a current application direction facing a target user according to the sensor data, and when the current state direction of the terminal screen is consistent with the current application direction, executing the processing operation of the functional component by the terminal directly through the terminal screen in a folded state; and when the current state direction of the terminal screen is not consistent with the current application direction, the terminal determines the current application direction as a folding direction, and folds the terminal screen from the current state direction to the folding direction so as to enable the terminal screen to be in a new use state.
For example, when a user is in a call, the user may listen to the phone with the front screen close to the ear while holding the terminal, or may listen to the phone with the back screen close to the ear while holding the terminal. Therefore, it is necessary to detect a screen side direction in which the terminal held by the user is close to the ear, so as to adjust a current state direction of the terminal screen. The sensor may be a proximity sensor, an infrared sensor, or a camera. If the target detection data exist on one side of the front screen of the terminal, which indicates that one side of the front screen of the terminal is close to the face of a user, the screen on the top of the terminal needs to be controlled to bend towards one side of the front screen of the terminal, and the direction of one side of the front screen of the terminal is determined as the current application direction. If the target detection data exist on one side of the back screen of the terminal, which indicates that one side of the back screen of the terminal is close to the face of a user, the top screen of the terminal needs to be controlled to bend towards one side of the back screen of the terminal, and the direction of one side of the back screen of the terminal is determined as the current application direction, so that the call answering requirement of the user is met adaptively, and the user can answer the call normally without adjusting the direction of the terminal.
In another embodiment of the present application, when the functional component includes an image capturing component, the target user at this time is a member to be photographed by the image capturing component. The target detection data are trigger operation detection data; correspondingly, the determining the current application direction of the target user according to the target detection data includes: if the working mode of the image acquisition assembly is determined to be the front image acquisition mode according to the trigger operation data, determining that the current application direction is one side of a front screen of the terminal; and if the working mode of the image acquisition assembly is determined to be the rear image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the back screen of the terminal.
For example, if the image capture mode selected by the user through the trigger operation acting on the terminal screen is the front image capture mode, it indicates that the image capture component needs to capture an image of a scene on one side of the front screen at this time, and thus it is determined that the current application direction is on one side of the front screen of the terminal; if the current image acquisition mode is the rear image acquisition mode, it indicates that the image acquisition assembly needs to acquire an image of a scene on one side of the back screen at the moment, and therefore the current application direction is determined to be on one side of the back screen of the terminal. The current application direction of the terminal screen is determined according to the image acquisition mode, so that the folding direction can be conveniently determined according to the current application direction and the current state direction, the image acquisition direction of the image acquisition assembly is intelligently adjusted, and effective scene images can be acquired after adjustment.
In yet another embodiment of the present application, when the functional component includes an image capture component, the target detection data is image detection data; correspondingly, the determining the current application direction of the target user according to the target detection data includes: and if the target image is determined not to be included according to the image detection data, taking the direction opposite to the current state direction as the current application direction.
For example, the image capturing component may capture an image of a current scene, and detect and identify the captured image. If an object image, such as a person image or a scene image, is detected, the functional component may perform a corresponding operation while illustrating the current state orientation of the terminal screen. And if the target image is determined not to be included according to the image detection data, the functional component cannot execute the corresponding function when the terminal screen is in the current state direction. Because the acquisition modes realized by the image acquisition assembly generally comprise a front mode and a rear mode, and the image acquisition directions of the image acquisition assemblies corresponding to the two modes are opposite, when the target image is not detected, the direction opposite to the current state direction is taken as the current application direction, so that the target image can be acquired in the direction.
And S250, if the current state direction is not consistent with the current application direction, taking the current application direction as a folding direction.
For example, if the current state direction and the current application direction are not consistent, it indicates that the functional component cannot perform corresponding processing operation when the terminal is in the current state direction, and therefore, the current application direction needs to be taken as the folding direction, so as to adjust the current state direction according to the folding direction.
In the embodiment of the present invention, the method further includes: and if the current state direction is consistent with the current application direction, determining that the folding direction is a non-folding direction. And the non-folding direction is used for indicating that no adjustment operation is carried out on the terminal screen. For example, if the current state direction and the current application direction are consistent, the folding direction may be determined as a non-folding direction at this time, which means that no adjustment is required to the terminal screen, for example, the value corresponding to the folding direction in the execution code is set to null, so that no adjustment is performed to the current state direction of the terminal screen.
And S260, if the triggering operation of the functional component by the user is not received, controlling the use state of the terminal screen to be an expansion state so as to enable the terminal screen to display in a full screen mode.
Illustratively, if the triggering operation of the user on the functional component is not received, it is indicated that the functional component at the top of the terminal is not needed to be used, and the corresponding processing operation is executed, in this case, the terminal screen is controlled to be kept in the expanded state, so that the full screen display of the terminal screen is realized, the terminal screen is fully utilized, and the user experience is improved.
In the embodiment of the invention, under the condition that the functional components are the audio component and the image acquisition component, the folding direction is adaptively determined according to the target detection data, and the terminal screen is adjusted according to the folding direction, so that the functional components can execute corresponding processing operation under the current use state of the terminal screen. When the triggering operation of the user on the functional component is received, the using state of the terminal screen is controlled to be the unfolding state, so that the terminal screen can be displayed in a full screen mode, the terminal screen is fully utilized, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a screen control device according to an embodiment of the present invention. The device is suitable for controlling the folding state of the terminal screen, and typically, the embodiment of the invention can be suitable for adjusting the folding state of the terminal screen in the image acquisition process of the terminal so as to acquire the condition of an effective image in the current acquisition scene. The apparatus may be implemented by software and/or hardware, and the apparatus may be integrated in a terminal. Referring to fig. 4, the apparatus specifically includes:
a use state detection module 310, configured to detect a use state of a terminal screen when a trigger operation of a user on a functional component is received;
a folding direction determining module 320, configured to determine a folding direction of the terminal screen according to the usage state and the target detection data;
a folding module 330, configured to fold the terminal screen along a folding direction, so that the terminal screen is in a new use state;
and the processing operation executing module 340 is used for controlling the functional component to execute the processing operation when the terminal screen is in the new using state.
In the embodiment of the present application, the usage state detection module 310 includes:
the current state direction determining unit is used for determining the current state direction of the terminal screen according to the use state; wherein the using state comprises a folded state or an unfolded state;
a target detection data acquisition unit for acquiring target detection data;
the current application direction determining unit is used for determining the current application direction of the target user according to the target detection data;
and the judging unit is used for taking the current application direction as the folding direction if the current state direction is inconsistent with the current application direction.
In the embodiment of the present application, the method further includes:
and the non-folding direction determining unit is used for determining the folding direction as the non-folding direction if the current state direction is consistent with the current application direction.
In the embodiment of the present application, when the functional component includes an audio component, the target detection data is sensor detection data;
correspondingly, the currently applied direction determining unit is specifically configured to:
the direction in which the sensor data is detected is determined as the current application direction facing the user.
In the embodiment of the application, when the functional component comprises an image acquisition component, the target detection data is trigger operation detection data;
accordingly, the current application direction determining unit includes:
the first mode adjusting subunit is used for determining that the current application direction is one side of a front screen of the terminal if the working mode of the image acquisition assembly is determined to be a front image acquisition mode according to the trigger operation data;
and the second mode adjusting subunit is used for determining that the current application direction is one side of the back screen of the terminal if the working mode of the image acquisition assembly is determined to be the rear image acquisition mode according to the trigger operation data.
In the embodiment of the application, when the functional component comprises an image acquisition component, the target detection data is image detection data;
correspondingly, the current application direction determining unit is specifically configured to, if it is determined that the target image is not included according to the image detection data, take a direction opposite to the current state direction as the current application direction.
In the embodiment of the present application, the method further includes:
and the comprehensive screen display module is used for controlling the use state of the screen to be an expansion state if the triggering operation of the functional component by the user is not received, so that the terminal screen can display in a comprehensive screen mode.
According to the technical scheme of the embodiment of the invention, when the use state detection module receives the triggering operation of the functional component by the user, the use state of the terminal screen is detected; the folding direction determining module determines the folding direction of the terminal screen according to the use state and the target detection data; the folding module folds the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state; and the processing operation execution module controls the functional component to execute the processing operation when the terminal screen is in a new use state. Through setting up functional unit in the terminal top to the space of terminal screen has been saved, through the user state of the terminal screen of adaptability ground folding terminal screen in order to adjust the terminal screen when using functional unit, thereby can realize each item function at terminal through functional unit, can make the terminal screen be in the state of expanding in order to realize full screen display when not using functional unit again.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary terminal 412 suitable for use in implementing embodiments of the present invention. The terminal 412 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the terminal 412 includes: one or more processors 416; the memory 428 is used for storing one or more programs, when the one or more programs are executed by the one or more processors 416, so that the one or more processors 416 implement the screen control method provided by the embodiment of the present invention, including:
and when receiving the triggering operation of the functional component by the user, detecting the use state of the terminal screen.
And determining the folding direction of the terminal screen according to the using state and the target detection data.
And folding the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state.
And in the new use state of the terminal screen, controlling the functional component to execute processing operation.
In one embodiment, the processor 416, when executing the computer program, further performs the steps of:
determining the folding direction of the terminal screen according to the using state and the target detection data, wherein the method comprises the following steps:
and determining the current state direction of the terminal screen according to the use state. Wherein the using state comprises a folded state or an unfolded state.
Target detection data is acquired.
And determining the current application direction of the target user according to the target detection data.
And if the current state direction is not consistent with the current application direction, taking the current application direction as the folding direction.
Further comprising:
and if the current state direction is consistent with the current application direction, determining that the folding direction is a non-folding direction.
When the functional component includes an audio component, the object detection data is sensor detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
the direction in which the sensor data is detected is determined as the current application direction facing the user.
When the functional component comprises an image acquisition component, the target detection data is trigger operation detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
and if the working mode of the image acquisition assembly is determined to be the front image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the front screen of the terminal.
And if the working mode of the image acquisition assembly is determined to be the rear image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the back screen of the terminal.
When the functional component comprises an image acquisition component, the target detection data is image detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
and if the target image is determined not to be included according to the image detection data, taking the direction opposite to the current state direction as the current application direction.
The method further comprises the following steps:
and if the triggering operation of the user on the functional component is not received, controlling the use state of the terminal screen to be an expansion state so as to enable the terminal screen to display in a full screen mode.
The components of the terminal 412 may include, but are not limited to: one or more processors or processors 416, a system memory 428, and a bus 418 that couples the various system components (including the system memory 428 and the processors 416).
The system memory 428 may include computer system readable storage media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The terminal 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic storage media (not shown in FIG. 5, commonly referred to as "hard drives"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical storage medium) may be provided. In these cases, each drive may be connected to bus 418 by one or more image storage media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 462 including, but not limited to, an operating system, one or more application programs, other program modules, and a program image, each of which examples or some combination may include an implementation of a network environment. Program modules 462 generally perform the functions and/or methodologies of the described embodiments of the invention.
The terminal 412 may also communicate with one or more external terminals 414 (e.g., keyboard, pointing terminal, display 426, etc.), with one or more terminals that enable a user to interact with the terminal 412, and/or with any terminals (e.g., network card, modem, etc.) that enable the terminal 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Also, the terminal 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 420. As shown, the network adapter 420 communicates with the other modules of the terminal 412 over a bus 418. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with the terminal 412, including but not limited to: microcode, end drives, redundant processing units, external disk drive arrays, RAID systems, tape drives, image backup storage systems, and the like.
The processor 416 performs various functional applications and screen control, such as implementing a screen control method provided by embodiments of the present invention, by executing at least one of the other programs stored in the system memory 428.
One embodiment of the present invention provides a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a screen control method comprising:
and when receiving the triggering operation of the functional component by the user, detecting the use state of the terminal screen.
And determining the folding direction of the terminal screen according to the use state and the target detection data.
And folding the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state.
And in the new use state of the terminal screen, controlling the functional component to execute processing operation.
In one embodiment, the computer executable instructions, when executed by the computer processor, are further for performing the steps of:
determining the folding direction of the terminal screen according to the using state and the target detection data, wherein the method comprises the following steps:
and determining the current state direction of the terminal screen according to the use state. Wherein the using state comprises a folded state or an unfolded state.
Target detection data is acquired.
And determining the current application direction of the target user according to the target detection data.
And if the current state direction is not consistent with the current application direction, taking the current application direction as the folding direction.
Further comprising:
and if the current state direction is consistent with the current application direction, determining that the folding direction is a non-folding direction.
When the functional component includes an audio component, the object detection data is sensor detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
the direction in which the sensor data is detected is determined as the current application direction facing the user.
When the functional component comprises an image acquisition component, the target detection data is trigger operation detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
and if the working mode of the image acquisition assembly is determined to be the front image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the front screen of the terminal.
And if the working mode of the image acquisition assembly is determined to be the rear image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the back screen of the terminal.
When the functional component comprises an image acquisition component, the target detection data is image detection data.
Correspondingly, the determining the current application direction of the target user according to the target detection data includes:
and if the target image is determined not to be included according to the image detection data, taking the direction opposite to the current state direction as the current application direction.
The method further comprises the following steps:
and if the triggering operation of the user on the functional component is not received, controlling the use state of the terminal screen to be an expansion state so as to enable the terminal screen to display in a full screen mode.
Computer storage media for embodiments of the present invention can take the form of any combination of one or more computer-readable storage media. The computer readable storage medium may be a computer readable signal storage medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the invention, the computer readable storage medium may be any tangible storage medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal storage medium may include a propagated image signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated image signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal storage medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate storage medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (9)
1. A screen control method based on a terminal comprises the steps that a functional component is arranged on the top of the terminal, and the functional component comprises one or more combinations of an image acquisition component and an audio component; the method comprises the following steps:
when receiving the triggering operation of a target user on the functional component, detecting the use state of a terminal screen;
determining the folding direction of the terminal screen according to the use state and the target detection data;
folding the terminal screen along the folding direction to enable the terminal screen to be in a new using state;
controlling the functional component to execute processing operation when the terminal screen is in a new using state;
wherein, the determining the folding direction of the terminal screen according to the using state and the target detection data comprises:
determining the current state direction of the terminal screen according to the use state; wherein the use state comprises a folded state or an unfolded state;
acquiring target detection data, wherein when the functional component comprises an audio component, the target detection data are sensor detection data, and/or when the functional component comprises an image acquisition component, the target detection data are trigger operation detection data, and/or image detection data;
determining a current application direction of the target user according to the target detection data, wherein the current application direction is a direction in which the target user uses the functional component, which is determined according to the target detection data;
and if the current state direction is not consistent with the current application direction, taking the current application direction as a folding direction.
2. The method of claim 1, further comprising:
and if the current state direction is consistent with the current application direction, determining that the folding direction is a non-folding direction.
3. The method of claim 1, wherein when the functional component comprises an audio component, the object detection data is sensor detection data; the determining the current application direction of the target user according to the target detection data includes:
the direction in which the sensor data is detected is determined as the current application direction facing the user.
4. The method of claim 1, wherein when the functional component comprises an image capture component, the target detection data is trigger operation detection data; the determining the current application direction of the target user according to the target detection data includes:
if the working mode of the image acquisition assembly is determined to be the front image acquisition mode according to the trigger operation data, determining that the current application direction is one side of a front screen of the terminal;
and if the working mode of the image acquisition assembly is determined to be the rear image acquisition mode according to the trigger operation data, determining that the current application direction is the side of the back screen of the terminal.
5. The method of claim 1, wherein when the functional component comprises an image capture component, the target detection data is image detection data; the determining the current application direction of the target user according to the target detection data includes:
and if the target image is determined not to be included according to the image detection data, taking the direction opposite to the current state direction as the current application direction.
6. The method according to any one of claims 1-5, further comprising:
and if the triggering operation of the user on the functional component is not received, controlling the use state of the screen to be an expansion state so as to enable the terminal screen to display in a full screen mode.
7. A screen control apparatus, characterized in that the apparatus comprises:
the use state detection module is used for detecting the use state of the terminal screen when receiving the triggering operation of the functional component by the user;
the folding direction determining module is used for determining the folding direction of the terminal screen according to the use state and the target detection data;
the folding module is used for folding the terminal screen along the folding direction so as to enable the terminal screen to be in a new using state;
the processing operation execution module is used for controlling the functional component to execute the processing operation when the terminal screen is in a new use state;
wherein the folding direction determining module includes:
the current state direction determining unit is used for determining the current state direction of the terminal screen according to the use state; wherein the use state comprises a folded state or an unfolded state;
the target detection data acquisition unit is used for acquiring target detection data, wherein when the functional component comprises an audio component, the target detection data is sensor detection data, and/or when the functional component comprises an image acquisition component, the target detection data is trigger operation detection data, and/or image detection data;
a current application direction determining unit, configured to determine a current application direction of a target user according to the target detection data, where the current application direction is a direction in which the target user uses the functional component, which is determined according to the target detection data;
and the judging unit is used for taking the current application direction as the folding direction if the current state direction is inconsistent with the current application direction.
8. A terminal, characterized in that the terminal comprises: one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the steps of the method of any one of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911257730.9A CN111045572B (en) | 2019-12-10 | 2019-12-10 | Screen control method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911257730.9A CN111045572B (en) | 2019-12-10 | 2019-12-10 | Screen control method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111045572A CN111045572A (en) | 2020-04-21 |
CN111045572B true CN111045572B (en) | 2022-05-03 |
Family
ID=70235404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911257730.9A Active CN111045572B (en) | 2019-12-10 | 2019-12-10 | Screen control method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111045572B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2207076A2 (en) * | 2009-01-09 | 2010-07-14 | Samsung Electronics Co., Ltd. | Mobile terminal having foldable display and operation method for the same |
CN107948360A (en) * | 2017-11-29 | 2018-04-20 | 努比亚技术有限公司 | Image pickup method, terminal and the computer-readable recording medium of flexible screen terminal |
CN208384917U (en) * | 2018-07-23 | 2019-01-15 | Oppo广东移动通信有限公司 | folding device |
CN109756594A (en) * | 2018-12-26 | 2019-05-14 | 维沃移动通信有限公司 | Control method, terminal and the storage medium of screen |
-
2019
- 2019-12-10 CN CN201911257730.9A patent/CN111045572B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2207076A2 (en) * | 2009-01-09 | 2010-07-14 | Samsung Electronics Co., Ltd. | Mobile terminal having foldable display and operation method for the same |
CN107948360A (en) * | 2017-11-29 | 2018-04-20 | 努比亚技术有限公司 | Image pickup method, terminal and the computer-readable recording medium of flexible screen terminal |
CN208384917U (en) * | 2018-07-23 | 2019-01-15 | Oppo广东移动通信有限公司 | folding device |
CN109756594A (en) * | 2018-12-26 | 2019-05-14 | 维沃移动通信有限公司 | Control method, terminal and the storage medium of screen |
Also Published As
Publication number | Publication date |
---|---|
CN111045572A (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109891874B (en) | Panoramic shooting method and device | |
KR102266674B1 (en) | Filming method and terminal | |
CN108234875B (en) | Shooting display method and device, mobile terminal and storage medium | |
CN109005286B (en) | Display control method and folding screen terminal | |
CN109597556B (en) | Screen capturing method and terminal | |
EP3640732B1 (en) | Method and terminal for acquire panoramic image | |
CN108322647B (en) | Panoramic image shooting method, mobile terminal and computer readable storage medium | |
CN105100481A (en) | Shooting method and apparatus, and mobile terminal | |
CN112104807B (en) | Control method, system and device for front camera | |
CN108769506B (en) | Image acquisition method and device, mobile terminal and computer readable medium | |
WO2020078273A1 (en) | Photographing method, and electronic device | |
CN109710159B (en) | Flexible screen response method and device and computer readable storage medium | |
WO2022266907A1 (en) | Processing method, terminal device and storage medium | |
CN107979727A (en) | A kind of document image processing method, mobile terminal and computer-readable storage medium | |
CN108848298B (en) | Picture shooting method, flexible terminal and computer readable storage medium | |
CN104915122A (en) | Quick application starting method and device | |
US11467894B2 (en) | Screen freezing processing method and terminal | |
CN107239184B (en) | Touch screen touch device and method and mobile terminal | |
CN110362699B (en) | Picture searching method and device, mobile terminal and computer readable medium | |
CN111556248B (en) | Shooting method, shooting device, storage medium and mobile terminal | |
CN112543248A (en) | Air-separating operation method, terminal and storage medium | |
CN106454083B (en) | Image acquisition method and device of mobile terminal and mobile terminal | |
CN111045572B (en) | Screen control method, device, terminal and storage medium | |
CN113495770A (en) | Method, device, terminal and storage medium for displaying application page | |
WO2022252158A1 (en) | Photographing method, mobile terminal and readable 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 |