CN110806914B - Application processing method and device and electronic equipment - Google Patents

Application processing method and device and electronic equipment Download PDF

Info

Publication number
CN110806914B
CN110806914B CN201911051712.5A CN201911051712A CN110806914B CN 110806914 B CN110806914 B CN 110806914B CN 201911051712 A CN201911051712 A CN 201911051712A CN 110806914 B CN110806914 B CN 110806914B
Authority
CN
China
Prior art keywords
display screen
orientation
display
changed
electronic equipment
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
CN201911051712.5A
Other languages
Chinese (zh)
Other versions
CN110806914A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911051712.5A priority Critical patent/CN110806914B/en
Publication of CN110806914A publication Critical patent/CN110806914A/en
Application granted granted Critical
Publication of CN110806914B publication Critical patent/CN110806914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention provides an application processing method, an application processing device and electronic equipment, wherein the method is applied to the electronic equipment and comprises the following steps: the method comprises the steps of detecting whether the orientation of a display interface of a second display screen of the electronic equipment is changed or not under the condition that a first display screen of the electronic equipment displays a call interface, and starting a target application under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen. By the method, the efficiency of starting the target application program in the call process of the user is effectively improved, and the use experience of the user is improved.

Description

Application processing method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application processing method and apparatus, and an electronic device.
Background
Currently, with the rapid development of mobile communication technology, mobile electronic devices (such as smart phones) have become essential electronic consumer products in daily life.
Users of mobile electronic devices may often use telephony features. However, in the process of a user using a mobile electronic device to perform a call, when the user needs to record some information in the call, the user can only switch the call application to the background first, then search a target application (such as a notepad or some instant messaging application) from the desktop, start the target application, and record corresponding information in a certain page of the target application.
Therefore, when a user needs to record some information in a call in the process of using the electronic device to make the call, the user needs to perform a large amount of tedious operations, so that a large amount of time consumption is caused, and the user experience is poor.
Disclosure of Invention
Embodiments of the present invention provide an application processing method and apparatus, and an electronic device, so as to solve the problems in the prior art that when a user hears some information to be recorded or needs to reply a message from an instant messaging application during a call using the electronic device, the user needs to perform a large number of complicated operations, which causes unnecessary time consumption and cost, and the user experience is poor.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application processing method, which is applied to an electronic device, and the method includes:
under the condition that a first display screen of electronic equipment displays a call interface, detecting whether the orientation of a display interface of a second display screen of the electronic equipment is changed;
and starting the target application under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed, and the changed orientation state is matched with the target state of the second display screen.
Optionally, the detecting whether an orientation, to which a display interface of a second display screen of the electronic device faces, is changed includes:
and starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
Optionally, the method further comprises:
and under the condition of receiving a call termination instruction, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
Optionally, after the target application is started and the preset page of the target application is displayed on the second display screen of the electronic device, the method further includes:
and under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
Optionally, after the target application is started and the preset page of the target application is displayed on the second display screen of the electronic device, the method further includes:
and closing the display of the first display screen on the call interface or locking the display of the first display screen on the call interface.
Optionally, the target application is an application for recording information.
In a second aspect, an embodiment of the present invention provides an apparatus for processing an application, where the apparatus is disposed in an electronic device, and the apparatus includes:
the detection module is used for detecting whether the orientation of a display interface of a second display screen of the electronic equipment is changed or not under the condition that a first display screen of the electronic equipment displays a call interface;
the starting module is used for starting the target application under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed, and the changed orientation state is matched with the target state of the second display screen.
Optionally, the detecting module is configured to:
and starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
Optionally, the apparatus further comprises a termination module configured to:
and under the condition of receiving a call termination instruction, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
Optionally, the apparatus further comprises a storage module configured to:
and under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
Optionally, the apparatus further comprises a processing module configured to:
and closing the display of the first display screen on the call interface or locking the display of the first display screen on the call interface.
Optionally, the target application is an application for recording information.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the steps of the processing method of the application according to the first aspect.
In a fourth aspect, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the processing method of the application according to the first aspect are implemented.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in the case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether the orientation of the display interface of the second display screen of the electronic device is changed, and in the case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen is adopted.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first schematic flow chart of a processing method of an application according to an embodiment of the present invention;
fig. 2 is a second flowchart of a processing method for an application according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a third processing method for an application according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a fourth flowchart of a processing method for an application according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a fifth method for processing an application according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a processing apparatus for applications according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an application processing method, where an execution main body of the method may be an electronic device, such as a mobile electronic device with a dual display screen, a tablet computer, and the like. The method may be used to display an application interface.
Fig. 1 is a first schematic flow chart of a processing method for an application according to an embodiment of the present invention, as shown in fig. 1, the method at least includes the following steps:
s101, under the condition that the first display screen of the electronic equipment displays a call interface, detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
The first display screen can be any display screen of the electronic device, the electronic device can be configured with two display screens, the two display screens can be respectively located on the front side of the electronic device and the back side of the electronic device, the two display screens can also be located on the same plane of the electronic device, in addition, the electronic device can also be configured with a foldable screen, the full screen can be folded into the two display screens, the two display screens after being folded can be respectively located on the front side of the electronic device and the back side of the electronic device, and the two display screens can also be located in the same plane of the electronic device. When the electronic device receives a call signal, the first display screen may be used to display a call interface. The display interface of the second display screen can be used for displaying the target application and the like in the call process. During the conversation of the user, the orientation of the display interface of the second display screen can be an orientation generated by the movement operation of the user on the electronic equipment along any orientation. For example: in the process of a user holding the electronic device for conversation, when the electronic device is in a vertical state, the display interface of the second display screen may be oriented towards the ear or away from the ear, or the orientation of the display interface of the second display screen may be oriented towards the face or away from the face. Or the orientation in which the display interface of the second display screen is oriented may also be a horizontally up or horizontally down orientation.
In addition, there are many methods for detecting whether the orientation of the display interface of the second display screen of the electronic device changes, and in an actual application process, it may be determined whether the orientation of the display interface of the second display screen of the electronic device changes according to electronic device motion data acquired by a target sensing sensor in the electronic device. The method for acquiring the motion data of the electronic device is various, and the method for judging whether the orientation of the display interface of the second display screen of the electronic device changes according to the acquired motion data is also various, and the specific method for acquiring the motion data and the method for judging whether the orientation of the display interface of the second display screen of the electronic device changes may be different according to different actual application scenes, which is not limited in the present invention.
In addition, a plurality of methods for detecting whether the orientation of the display interface of the second display screen of the electronic device changes or not can be provided, in the practical application process, the method can also be used for judging whether the orientation of the display interface of the second display screen of the electronic device changes or not by judging the image data acquired by the camera positioned on the second display screen or the display interface of the first display screen, and when the user is in a static state, the method can judge whether the orientation of the display interface of the second display screen of the electronic device changes or not by analyzing the image data acquired by the camera within a preset time period.
Specifically, in order to save power consumption of the electronic device and consumption of system resources, the opportunity for detecting whether the orientation of the display interface of the second display screen of the electronic device changes is the instant of call connection of the electronic device, so that it can be ensured that the electronic device can respond to the operation of the user in time when the display interface of the second display screen needs to be operated in the actual use process of the user, and in addition, the phenomena of system resource waste and power consumption increase are effectively avoided.
In implementation, for example, the electronic device is configured with two display screens, and the two display screens are respectively located on the front side and the back side of the electronic device, when a user receives a call instruction and performs a call, when a call interface is displayed on the first display screen of the electronic device, motion data of the electronic device may be acquired according to components such as a gyroscope, an accelerometer, a gravity sensor, a linear acceleration sensor, and a rotation vector sensor that are built in the electronic device, and whether an orientation toward which a display interface of the second display screen of the electronic device is oriented changes is determined according to detection of the acquired motion data. In addition, the judgment can also be performed through image data acquired by a camera positioned on the display interface of the second display screen, and when the user is in a static state, whether the orientation of the display interface of the second display screen of the electronic device changes or not is judged by analyzing the image data acquired by the camera within a preset time period.
S102, under the condition that it is detected that the orientation of the display interface of the second display screen of the electronic device changes and the changed orientation state is matched with the target state of the second display screen, starting the target application and displaying a preset page of the target application on the second display screen of the electronic device, wherein the target state is a state that the display interface of the second display screen faces the designated orientation, or the target state is a state that the display interface of the second display screen rotates and the rotation angle of the display interface of the second display screen is larger than a preset threshold value.
Specifically, for example, the target state may be an orientation state when the display interface of the second display screen of the electronic device is oriented to face the user's face. Alternatively, the target state may be a state when the display interface of the second display screen of the electronic device is rotated and the display interface of the second display screen is in a horizontal upward direction, or the target state may be a state when the display interface of the second display screen of the electronic device is rotated and the angle of rotation of the display interface of the second display screen is greater than a predetermined threshold (e.g., 90 degrees, 60 degrees, or 15 degrees, etc.).
The target application may be an application already installed by the user on the electronic device, for example, the target application may be an application for recording information (e.g., a notepad), or may be an application for instant messaging, or may be an application for computing (e.g., a calculator), or may also be an application for translation. For example, if the target application specified in advance by the user is a notepad, the notepad is started and the preset page of the notepad is displayed on the second display screen of the electronic device when it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen. Or if the target application specified in advance by the user is the instant messaging application, starting the instant messaging application when detecting that the orientation of the display interface of the second display screen of the electronic equipment is changed and the changed orientation state is matched with the target state of the second display screen, and displaying a preset message interface or a friend circle page and the like of the instant messaging application on the second display screen of the electronic equipment.
In the implementation, for example, the electronic device is configured with two display screens, and the two display screens are respectively located on the front side and the back side of the electronic device, when a user needs to record important content being called in the process of calling by receiving a call instruction (for example, 9 th, 18 th, afternoon, three-point to beijing south standing and receiving customers), in the case that the front display screen (for example, the first display screen) of the electronic device displays a call interface, the user can change the orientation of the second display screen of the electronic device. The method comprises the steps that the motion data of the electronic equipment are obtained through a built-in gyroscope, an accelerometer, a gravity sensor, a linear acceleration sensor, a rotary vector sensor and other components, when the orientation of a display interface of a second display screen of the electronic equipment is judged to be changed according to the detection of the obtained motion data, and under the condition that the changed orientation state is matched with the target state of the second display screen, a note book is quickly started, and a preset page of the note book is displayed on the second display screen of the electronic equipment, so that a user can perform recording operation on the preset page displayed on the second display screen of the electronic equipment.
For another example, in an implementation, taking that the electronic device is configured with two display screens, and the two display screens are respectively located on the front side and the back side of the electronic device as an example, when a user needs to reply a message from an instant messaging application in a process of receiving a call instruction to perform a call, in a case that a call interface is displayed on the front side display screen (for example, the first display screen) of the electronic device, the user may change an orientation of the second display screen of the electronic device. When the electronic equipment judges that the orientation of the display interface of the second display screen is changed through the electronic equipment motion data acquired by the internal target induction sensor, then, the orientation can be identified through the image data acquired by the camera positioned on the display interface of the second display screen, when the identified image data is the facial data of the human face, the notepad is quickly started, and a preset page of the notepad is displayed on the second display screen of the electronic equipment, so that a user can perform recording operation on the preset page displayed on the second display screen of the electronic equipment.
In addition, for the situation that the first display screen and the second display screen are located on the same plane, when it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen, the call interface displayed by the first display screen can be switched to the background, so that the screen of the electronic device only displays the display interface of the second display screen.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in a case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether an orientation of a display interface of the second display screen of the electronic device is changed, and in a case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and a changed orientation state is matched with a target state of the second display screen, then, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application is used under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen, when a user needs to record some information in the call, the call application does not need to be firstly switched to a background, then the target application (such as a notebook, a certain instant messaging application and the like) is searched from a desktop, a large amount of tedious operations such as recording the information and the like are started by the target application, unnecessary tedious operations are effectively reduced, the efficiency of starting the target application program by the user in the call process is improved, and the use experience of the user is improved.
As shown in fig. 2, the specific processing manner of S101 may be various, and an alternative processing manner is provided below, which may be specifically referred to as the processing of S1011 described below.
And starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
The target sensing sensor may be one or more of a gyroscope, an accelerometer, a gravity sensor, a linear acceleration sensor, and a rotation vector sensor.
As shown in fig. 3, the method further includes:
and S103, under the condition that the call termination instruction is received, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
Specifically, the termination condition implemented in this specification may be call termination, and may be characterized by a call termination instruction. If a call termination instruction is received, it indicates that the recording requirement of the user is also correspondingly terminated, and at this time, the system resource can be released by terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic device is changed.
In implementation, when the electronic device receives a call termination instruction, it is further required to determine whether the user is operating on the display interface of the second display screen, and if it is determined that the user is operating on the display interface of the second display screen, the user is not required to be interrupted, and the operation of terminating and detecting whether the orientation of the display interface of the second display screen of the electronic device changes is directly performed. If the user is judged not to operate on the display interface of the second display screen, in order to ensure that the operation data of the user is not lost, the operation data of the user needs to be stored, and then the operation of detecting whether the direction of the display interface of the second display screen of the electronic equipment is changed is terminated. In addition, when the electronic device receives the call termination instruction, since the user does not need to quickly start the operation of the target application program, when the electronic device receives the call termination instruction, the display interface of the second display screen of the electronic device needs to be restored to the previous state, so that the function of quickly starting the target application program does not bring extra trouble to the user.
As shown in fig. 4, in the case that it is detected in S102 that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state matches the target state of the second display screen, the target application is started, and after a preset page of the target application is displayed on the second display screen of the electronic device, the following processing in S104 may also be executed:
and S104, under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
Specifically, in the call process, when the user returns to the state of continuing the call after completing related operations (such as recording operations, or message reply operations, etc.) on a preset page of the target application displayed on the second display screen of the electronic device, at this time, the operation data of the user needs to be stored and the second display screen needs to be closed, so that the user is prevented from inadvertently triggering the second display screen to cause the loss of the operation data.
As shown in fig. 5, in the above S102, when it is detected that the orientation of the display interface of the second display screen of the electronic device is changed, and the changed orientation state matches the target state of the second display screen, the target application is started, and after a preset page of the target application is displayed on the second display screen of the electronic device, the following processing of S105 may be further performed:
and S105, closing the display of the first display screen on the call interface or locking the display of the first display screen on the call interface.
In implementation, in order to avoid an abnormality caused by a false trigger of the call interface displayed on the first display screen of the electronic device during an operation performed by a user on a preset page of a target application displayed on the second display screen of the electronic device, after the preset page of the target application is displayed on the second display screen of the electronic device, the display of the call interface by the first display screen needs to be closed or the display of the call interface by the first display screen needs to be locked.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in the case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether the orientation of the display interface of the second display screen of the electronic device is changed, and in the case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application is used under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen, when a user needs to record some information in the call, the call application does not need to be firstly switched to a background, then the target application (such as a notebook, a certain instant messaging application and the like) is searched from a desktop, a large amount of tedious operations such as recording the information and the like are started by the target application, unnecessary tedious operations are effectively reduced, the efficiency of starting the target application program by the user in the call process is improved, and the use experience of the user is improved.
On the basis of the same technical concept, the embodiment of the present invention further provides an application processing apparatus, fig. 6 is a schematic diagram illustrating a module composition of the application processing apparatus according to the embodiment of the present invention, the application processing apparatus is configured to execute the application processing method described in fig. 1 to fig. 5, as shown in fig. 6, the application processing apparatus is applied to an electronic device, and the apparatus includes:
the detecting module 601 is configured to detect whether a direction to which a display interface of a second display screen of the electronic device faces changes when a first display screen of the electronic device displays a call interface;
the starting module 602 is configured to start a target application and display a preset page of the target application on a second display screen of the electronic device when it is detected that an orientation to which a display interface of the second display screen of the electronic device faces changes and a changed orientation state is matched with a target state of the second display screen, where the target state is a state in which the display interface of the second display screen faces a specified orientation, or the target state is a state in which the display interface of the second display screen rotates and a rotation angle of the display interface of the second display screen is greater than a predetermined threshold.
As can be seen from the above technical solutions provided in the embodiments of the present specification, when a change in a direction in which a display interface of a second display screen of an electronic device is oriented is detected and a changed direction state is matched with a target state of the second display screen in a case where a first display screen of the electronic device displays a call interface, a method for starting a target application is used.
Optionally, the detecting module 601 is configured to:
and starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
Optionally, the apparatus further includes a termination module, configured to:
and under the condition that a call termination instruction is received, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
Optionally, the apparatus further includes a storage module, configured to:
and under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
Optionally, the apparatus further includes a processing module, configured to:
and closing the display of the first display screen on the call interface or locking the display of the first display screen on the call interface.
Optionally, the target application is an application for recording information.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in a case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether an orientation of a display interface of the second display screen of the electronic device is changed, and in a case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and a changed orientation state is matched with a target state of the second display screen, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application is used under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen.
The processing device for the application provided by the embodiment of the present invention can implement each process in the embodiment corresponding to the processing method for the application, and is not described herein again to avoid repetition.
It should be noted that the processing apparatus for an application provided in the embodiment of the present invention and the processing method for an application provided in the embodiment of the present invention are based on the same inventive concept, and therefore, for specific implementation of the embodiment, reference may be made to implementation of the processing method for an application, and repeated details are not described here.
Based on the same technical concept, an embodiment of the present invention further provides an electronic device, where the electronic device is configured to execute the processing method of the application, fig. 7 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and an electronic device 700 shown in fig. 7 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and a power supply 711. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The processor 710 is configured to detect whether a direction in which a display interface of a second display screen of the electronic device faces changes when a first display screen of the electronic device displays a call interface;
the display unit 706 is configured to start a target application and display a preset page of the target application on a second display screen of the electronic device when it is detected that an orientation to which a display interface of the second display screen of the electronic device faces changes and a changed orientation state is matched with a target state of the second display screen, where the target state is a state in which the display interface of the second display screen faces a specified orientation, or the target state is a state in which the display interface of the second display screen rotates and an angle of rotation of the display interface of the second display screen is greater than a predetermined threshold.
In addition, the processor 710 is further configured to start a target sensing sensor in the electronic device, and monitor whether a position, to which a display page of a second display screen of the electronic device faces, is changed through the target sensing sensor.
In addition, the processor 710 is further configured to terminate, when the call termination instruction is received, an operation of detecting whether a change occurs in an orientation in which a display interface of the second display screen of the electronic device is oriented.
In addition, the processor 710 is further configured to, when it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the orientation state of the display interface of the second display screen is not matched with the target state, store the data in the target application, and close the second display screen.
In addition, the processor 710 is further configured to close the display of the call interface by the first display screen or lock the display of the call interface by the first display screen.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in the case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether the orientation of the display interface of the second display screen of the electronic device is changed, and in the case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application is used under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen, when a user needs to record some information in the call, the call application does not need to be firstly switched to a background, then the target application (such as a notebook, a certain instant messaging application and the like) is searched from a desktop, a large amount of tedious operations such as recording the information and the like are started by the target application, unnecessary tedious operations are effectively reduced, the efficiency of starting the target application program by the user in the call process is improved, and the use experience of the user is improved.
It should be noted that, the mobile electronic device 700 provided in the embodiment of the present invention is capable of implementing each process implemented by the mobile electronic device in the processing method embodiment of the application, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a process of sending and receiving information or a call, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 710; in addition, uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of the phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and an external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the processing method embodiment of the application, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Further, corresponding to the processing method of the application provided in the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 710, the steps of the processing method embodiment of the application are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As can be seen from the above technical solutions provided in the embodiments of the present specification, in a case that the first display screen of the electronic device displays the call interface, the embodiments of the present specification detect whether an orientation of a display interface of the second display screen of the electronic device is changed, and in a case that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and a changed orientation state is matched with a target state of the second display screen, start the target application. Therefore, under the condition that the first display screen of the electronic equipment displays the call interface, the method for starting the target application is used under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen, when a user needs to record some information in the call, the call application does not need to be firstly switched to a background, then the target application (such as a notebook, a certain instant messaging application and the like) is searched from a desktop, a large amount of tedious operations such as recording the information and the like are started by the target application, unnecessary tedious operations are effectively reduced, the efficiency of starting the target application program by the user in the call process is improved, and the use experience of the user is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises that element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the embodiments of the present invention have been described in connection with the drawings, the present invention is not limited to the above-described embodiments, which are intended to be illustrative rather than restrictive, and various modifications and changes may be made by those skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. An application processing method applied to an electronic device, the method comprising:
under the condition that a first display screen of electronic equipment displays a call interface, detecting whether the orientation of a display interface of a second display screen of the electronic equipment is changed;
starting a target application under the condition that the orientation of a display interface of a second display screen of the electronic equipment is detected to be changed, and the changed orientation state is matched with the target state of the second display screen;
the target state is an orientation state facing the face of the user, wherein the orientation of the display interface of the second display screen is oriented;
the starting of the target application under the condition that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen includes:
when the orientation of the display interface of the second display screen is judged to be changed through the electronic equipment motion data acquired by the target induction sensor in the electronic equipment, the image data acquired by the camera positioned on the display interface of the second display screen is identified, and when the identified image data is the face data, the target application is started.
2. The method of claim 1, wherein detecting whether a change occurs in an orientation in which a display interface of a second display screen of the electronic device is oriented comprises:
starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
3. The method of claim 1, further comprising:
and under the condition that a call termination instruction is received, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
4. The method of claim 1, further comprising:
and under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
5. An apparatus for processing an application, provided in an electronic device, the apparatus comprising:
the detection module is used for detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed or not under the condition that the first display screen of the electronic equipment displays the call interface;
the starting module is used for starting the target application under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the changed orientation state is matched with the target state of the second display screen; the target state is an orientation state facing the face of the user, wherein the orientation of the display interface of the second display screen is oriented; the starting of the target application is performed under the condition that it is detected that the orientation of the display interface of the second display screen of the electronic device is changed and the changed orientation state is matched with the target state of the second display screen, and the starting of the target application includes: when the orientation of the display interface of the second display screen is judged to be changed through the electronic equipment motion data acquired by the target induction sensor in the electronic equipment, the image data acquired by the camera positioned on the display interface of the second display screen is identified, and when the identified image data is the face data, the target application is started.
6. The apparatus of claim 5, wherein the detection module is configured to:
and starting a target induction sensor in the electronic equipment, and monitoring whether the orientation of a display page of a second display screen of the electronic equipment is changed or not through the target induction sensor.
7. The apparatus of claim 5, further comprising a termination module to:
and under the condition of receiving a call termination instruction, terminating the operation of detecting whether the orientation of the display interface of the second display screen of the electronic equipment is changed.
8. The apparatus of claim 5, further comprising a storage module configured to:
and under the condition that the orientation of the display interface of the second display screen of the electronic equipment is detected to be changed and the orientation state of the display interface of the second display screen is not matched with the target state, storing the data in the target application and closing the second display screen.
9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory to implement the steps of the processing method of the application according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the processing method steps of an application according to any one of claims 1-4.
CN201911051712.5A 2019-10-31 2019-10-31 Application processing method and device and electronic equipment Active CN110806914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911051712.5A CN110806914B (en) 2019-10-31 2019-10-31 Application processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911051712.5A CN110806914B (en) 2019-10-31 2019-10-31 Application processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110806914A CN110806914A (en) 2020-02-18
CN110806914B true CN110806914B (en) 2023-02-21

Family

ID=69489822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911051712.5A Active CN110806914B (en) 2019-10-31 2019-10-31 Application processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110806914B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034413A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Information recording method and device, and mobile terminal
CN103281434A (en) * 2013-04-23 2013-09-04 昆山富泰科电脑有限公司 Method for recording on call interface
CN108319512A (en) * 2018-01-23 2018-07-24 努比亚技术有限公司 Display control method, terminal and computer readable storage medium
CN109542316A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 Display methods, terminal and the computer readable storage medium of information
CN110225178A (en) * 2019-04-19 2019-09-10 东莞市步步高通信软件有限公司 A kind of information display method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034413A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Information recording method and device, and mobile terminal
CN103281434A (en) * 2013-04-23 2013-09-04 昆山富泰科电脑有限公司 Method for recording on call interface
CN108319512A (en) * 2018-01-23 2018-07-24 努比亚技术有限公司 Display control method, terminal and computer readable storage medium
CN109542316A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 Display methods, terminal and the computer readable storage medium of information
CN110225178A (en) * 2019-04-19 2019-09-10 东莞市步步高通信软件有限公司 A kind of information display method and terminal device

Also Published As

Publication number Publication date
CN110806914A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN108062190B (en) Application running state control method and mobile terminal
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
CN109710139B (en) Page processing method, device, terminal and storage medium
US11625164B2 (en) Display method and terminal device
CN109085968B (en) Screen capturing method and terminal equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109407948B (en) Interface display method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
US20200272274A1 (en) Terminal device interaction method, storage medium and terminal device
US20210181921A1 (en) Image display method and mobile terminal
CN109522278B (en) File storage method and terminal equipment
CN109062634B (en) Application starting method and mobile terminal
KR20220158794A (en) Information presentation methods, electronic devices and storage media
CN111443803B (en) Mode switching method and device, storage medium and mobile terminal
CN111124206B (en) Position adjusting method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN111405043A (en) Information processing method and device and electronic equipment
CN108762641B (en) Text editing method and terminal equipment
CN111158815A (en) Dynamic wallpaper fuzzy method, terminal and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN107704159B (en) Application icon management method and mobile terminal
CN111427644B (en) Target behavior identification method and electronic equipment
CN108170360B (en) Control method of gesture function and mobile terminal
CN111064847A (en) False touch prevention method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant