Disclosure of Invention
In view of the foregoing, it is desirable to provide an electronic device and an application execution method thereof, which enable a user to obtain detailed information of a current object and perform a relevant operation on the current object in a current display interface.
An electronic device, the electronic device comprising:
a display screen comprising a first display area and a second display area;
a memory;
at least one processor; and
a plurality of modules stored in the memory and configured to be executed by the at least one processor, the plurality of modules comprising:
the display module is used for controlling the first display area to display at least one object and controlling the second display area to display default information;
the detection module is used for detecting whether the at least one object receives a specific operation;
the display module is further used for displaying first display content in the second display area when the at least one object receives the specific operation; and
and the execution module is used for processing the at least one object by using the function corresponding to the first display content when the at least one object is moved to the first display content of the second display area.
An application execution method is applied to an electronic device, the electronic device comprises a display screen, and the method comprises the following steps:
controlling a first display area of the display screen to display at least one object and controlling a second display area of the display screen to display default information;
detecting whether the at least one object receives a specific operation;
when the at least one object receives the specific operation, displaying first display content in the second display area; and
when the at least one object is moved to the first display content of the second display area, processing the at least one object with a function corresponding to the first display content.
Compared with the prior art, the electronic device and the application execution method thereof provided by the invention can enable the second display area of the electronic device to display different contents through different operation modes when a user browses a current object on the first display screen of the electronic device, and execute related functions on the current object according to the contents displayed in the second display area when the current object is moved to the second display area. Therefore, the user can execute relevant operations on the current object in the current display interface, and the use experience of the user is enhanced.
Detailed Description
Referring to fig. 1 and fig. 2, the electronic device 1 may be an intelligent terminal such as a mobile phone, a tablet computer, and a smart watch. In the present embodiment, the electronic device 1 includes, but is not limited to, a battery 11, a display 12, a storage unit 13, and a processor 14. The above elements are electrically connected with each other.
In the present embodiment, the battery 11 is used for providing power for the electronic device 1. The battery 11 may be a lithium battery or a nickel metal hydride battery.
In the present embodiment, the Display screen 12 may have a touch function, such as a Liquid Crystal Display (LCD) Display screen or an Organic Light-Emitting Diode (OLED) Display screen. The display 12 is used for displaying information such as application program interfaces, pictures or file contents.
In the present embodiment, the display 12 includes a first display area 120 and a second display area 121. The second display area 121 is adjacent to the first display area 120 and is located above the first display area 120. The first display area 120 is a regular display area. As shown in fig. 2, the first display area 120 is a rectangle. The second display area 121 is an irregularly shaped display area. As shown in fig. 2, the second display area 121 is divided into two display sub-areas by a non-display area, and the two display sub-areas are a first display sub-area 1210 and a second display sub-area 1211, respectively. The first display sub-region 1210 and the second display sub-region 1211 each include a straight edge and an arc edge, and the first display sub-region 1210 and the second display sub-region 1211 are each a display region having an irregular shape. In this embodiment, an optical element may be disposed in the non-display region. The light component at least comprises one of a camera module, a light sensor, a flash lamp and a proximity sensor. The non-display area is a notch.
In this embodiment, the storage unit 13 may be a memory of the electronic apparatus 1 itself, or may be an external storage device such as a secure digital card or a smart media card. The storage unit 13 further stores an application execution system 10, and the application execution system 10 is configured to control the second display area 121 to display related content according to the type of the object displayed in the first display area 120 and the operation manner of operating the object, and process the object according to the function corresponding to the related content when the object is moved to the related content.
In this embodiment, the application execution system 10 may be divided into one or more modules, and the one or more modules are stored in the storage unit 13 and configured to be executed by one or more processors (in this embodiment, one processor 14), so as to complete the present invention. For example, the application execution system 10 is divided into a display module 101, a detection module 102, a determination module 103, and an execution module 104. The modules referred to in the present invention are program segments capable of performing a specific function, and are more suitable than programs for describing the execution process of software in the electronic device 1, and the detailed functions of the modules will be described in detail in the flowchart of fig. 3.
The processor 14 may be a central processing unit or other data processing chip capable of executing the application execution system 10.
As shown in fig. 3, a flowchart of an application execution method of an electronic device according to a preferred embodiment of the invention is shown. The order of the steps in the flow chart may be changed, and some steps may be omitted or combined according to different requirements.
In step S1, the display module 101 controls the first display area to display at least one object, and the second display area displays default information. In this embodiment, the at least one object at least includes one of a picture, an application, a folder, a file, a document, a contact, and a text. The file includes an audio file or a video file. The default information includes information commonly used by the electronic device, such as battery power information, signal strength information, time information, and the like.
It is understood that the default information may be displayed on the first display sub-area 1210, the second display sub-area 1211, or both the first display sub-area 1210 and the second display sub-area 1211. For example, the battery level information, the signal strength information and the time information of the electronic device 1 are all displayed in the first display sub-area 1210; or the battery power information, the signal strength information and the time information of the electronic device 1 are all displayed in the second display sub-region 1211; or the signal strength information of the electronic device 1 is displayed in the first display sub-region 1210, and the battery power information and the time information of the electronic device 1 are displayed in the second display sub-region 1211; or the signal strength information of the electronic device 1 is displayed in the second display sub-region 1211, and the battery power information and the time information of the electronic device 1 are displayed in the first display sub-region 1210.
In step S2, the detecting module 102 detects an operation mode of the at least one object. When the at least one object receives a specific operation, the flow proceeds to step S4; when the at least one object receives the selection operation, the flow proceeds to step S3.
In this embodiment, the specific operation is one of a long press operation, a move operation, and a copy operation. The selecting operation is one of a single-click operation and a double-click operation.
In step S3, when the at least one object receives the selection operation, the display module 101 displays a second display content in the second display area 121.
In this embodiment, the second display content may be displayed in the first display sub-area 1210 and/or the second display sub-area 1211 of the second display area 121. The second display content includes basic information of the triggered object. For example, when the triggered object is a picture, the second display content includes information such as an aperture, a shutter, an address, time, a memory size occupied by the picture, or a position of the picture in a gallery when the picture is taken. When the triggered object is a folder, the second display content includes information such as the size of the folder (e.g., 2.79MB), the creation time (e.g., 26 days 6/2017 in the afternoon, 03:54:18), and the content contained in the folder (e.g., 9 files, 2 folders). When the triggered object is a contact, the second display content comprises the latest call time or call related information.
In step S4, when the at least one object receives a specific operation, the display module 101 displays a first display content in the second display area 121.
In this embodiment, the first display content includes an application program with a sharing function (e.g., WeChat and microblog), an application program with a storage function, an application program with a communication function (e.g., telephone and communication software), or an application program with a mail sending function (e.g., mailbox).
In another embodiment, when the specific operation mode is to copy the object, the first display content may include the number and content of the copied objects. At this time, the second display area 121 may be a clipboard having a paste function.
It is understood that the first display content is associated with the type of the at least one object, so that the first display content can be selectively displayed in the second display area 121 according to the type of the at least one object. For example, when the at least one object is a picture, the first display content may include an application program having a sharing function and an application program having a mail sending function; when the at least one object is a contact, the first display content may include an application program with a call function and an application program with a sharing function; when the at least one object is a folder, the first display content may include a clipboard having a paste function and an application having a mail sending function.
When the user copies the folder a in the first display area 120, the detecting module 102 determines that the operation mode triggering the folder a is a specific operation mode; the display module 101 displays a first display content in the second display area 121, where the first display content includes the number of copied files and the file content. The second display area 121 may now be used as a clipboard function.
In step S5, the determining module 103 determines whether the at least one object is moved to the first display content by the moving operation. When the at least one object is moved to the first display content by the moving operation, the flow proceeds to step S6; when the at least one object is not moved to the first display content by the moving operation, the process returns to step S4.
In step S6, the executing module 104 processes the at least one object according to the function corresponding to the first display content. In this embodiment, the function corresponding to the first display content is a social application sharing function, a storage function, a call function, or an email function. For example, when a picture is moved to a wechat icon on the second display area 121, the execution module 104 shares the picture through the wechat.
In order to make the invention more clearly understood by those skilled in the art, the invention is illustrated by the following examples.
Example one
When a user enters a gallery to browse pictures, the display module 101 controls the first display area 120 to display at least one picture in the gallery, as shown in fig. 4A, the second display area 121 displays default information including signal intensity, battery level and time information; when a user moves a picture abc in at least one picture of the first display area 120, the detecting module 102 detects that the picture abc receives a specific operation; the display module 101 displays the picture abc in the first display area 120 (i.e., switches the interface of at least one picture displayed in the first display area 120 to the interface displayed with the picture abc), and switches default information including signal strength, battery level and time information displayed in the second display area 121 to first display content (as shown in fig. 4C), wherein the first display content includes app1 (WeChat), app2 (email); when the picture abc is moved to the app1 icon on the second display area 121 by the move operation, the execution module 104 shares the picture through the app 1; when the user selects the picture abc in at least one picture in the first display area 120 by clicking, the detecting module 102 detects that the picture abc receives a selection operation; the display module 101 switches default information including signal strength, battery level and time information displayed in the second display area 121 to second display content (as shown in fig. 4B), where the second display content includes time and address, filename, archive number, EXIF and other related information (e.g., aperture, shutter and the like) when the picture abc is taken.
Example two
When a user enters a file manager (such as a memo) to view a file, the display module 101 controls the first display area 120 to display at least one folder in the file manager, as shown in fig. 5A, the second display area 121 displays default information including signal strength, battery level, and time information; when the user moves the folder a in the first display area 120, the detection module 102 detects that the folder a receives a specific operation; the display module 101 displays first display content (as shown in fig. 5C) in the second display area 121, where the first display content includes app3 (storage application), app4(Google Drive); when the folder a is moved to the icon of app4 on the second display area 121 by a move operation, the execution module 104 stores the folder a after backing up the folder a to a network storage space Google drive through a network; when the user selects the folder a in the first display area 120 by clicking, the detection module 102 detects that the folder a receives a selection operation; the display module 101 displays a second display content (as shown in fig. 5B) in the second display area 121, wherein the second display content includes the size of the folder (e.g., 2.79MB) and the setup time.
When a user enters a file manager (such as a memo) to view a file, the display module 101 controls the first display area 120 to display at least one file d in the file manager, as shown in fig. 5A, the second display area 121 displays default information including signal strength, battery level, and time information; when the user moves the at least one file d in the first display area 120, the detection module 102 detects that the file d receives a specific operation; the display module 101 displays a first display content (as shown in fig. 5C) in the second display area 121, and switches an interface of at least one archive d in the file manager displayed in the first display area 120 to an interface (not shown in the figure) on which the archive d is displayed, where the first display content includes app3 (storage application), app4(Google Drive); when the user selects the at least one profile d in the first display area 120 by clicking, the detection module 102 determines that the at least one profile d receives a selection operation; the display module 101 displays a second display content (as shown in fig. 5B) in the second display area 121, where the second display content includes the archive size (e.g. 2.79MB) and the set-up time of the at least one archive d; when the at least one file d is moved to the icon of app3 on the second display area 121 by the move operation, the execution module 104 stores the at least one file d to a preset folder, for example: a common folder, wherein the common folder is disposed in the storage unit 13.
In another embodiment, when a user views an article or a web page using a Word browser (e.g., Word, notebook) or a web page browsing application (Chrome, IE), the display module 101 controls the first display area 120 to display the article (not shown) or the web page, and the second display area 121 displays default information including signal strength, battery level and time information; when the user moves a segment of text in the article or the webpage in the first display area 120, the detection module 102 detects that a segment of text in the article or the webpage receives a specific operation; the display module 101 displays first display content (not shown) in the second display area 121, where the first display content includes app3 (storage application), app4(Google Drive); when the user selects a piece of text in the article or web page in the first display area 120; the display module 101 displays a second display content (not shown) in the second display area 121, where the second display content includes a selected text in the article or web page; when the text in the selected article or web page is moved to the illustration of the app3 on the second display area 121 by the move operation, the execution module 104 stores the text in the selected article or web page into a preset folder, for example: a common folder, wherein the common folder is disposed in the storage unit 13.
EXAMPLE III
When a user enters an address book to view a contact, the display module 101 controls the first display area 120 to display at least one contact in the address book, as shown in fig. 6A, the second display area displays default information including signal intensity, battery level and time information; when the user moves the icon of contact 1 in the first display area 120, the detecting module 102 detects that the contact 1 receives a specific operation; the display module 101 displays first display content (as shown in fig. 6C) in the second display area 121, the first display content including app1 (e.g., WeChat), app5 (e.g., telephone); when the user selects the contact 1 in the first display area 120 by clicking, the detecting module 102 detects that the contact 1 receives a selection operation; the display module 101 displays a second display content (as shown in fig. 6B) in the second display area 121, where the second display content includes the latest communication time and communication related information of the contact 1; when the contact 1 is moved to the icon of the app5 on the second display area 121 by a move operation, the execution module 104 dials through a telephone number of the contact 1; when the contact 1 is moved to the app1 icon on the second display area 121 by the move operation, the execution module 104 contacts the contact 1 by wechat.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention.