CN114461111A - Function starting method and electronic equipment - Google Patents

Function starting method and electronic equipment Download PDF

Info

Publication number
CN114461111A
CN114461111A CN202210007066.8A CN202210007066A CN114461111A CN 114461111 A CN114461111 A CN 114461111A CN 202210007066 A CN202210007066 A CN 202210007066A CN 114461111 A CN114461111 A CN 114461111A
Authority
CN
China
Prior art keywords
option
function
electronic device
user
user interface
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.)
Granted
Application number
CN202210007066.8A
Other languages
Chinese (zh)
Other versions
CN114461111B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210007066.8A priority Critical patent/CN114461111B/en
Publication of CN114461111A publication Critical patent/CN114461111A/en
Application granted granted Critical
Publication of CN114461111B publication Critical patent/CN114461111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Abstract

The application discloses a method for starting a function, which comprises the following steps: the electronic equipment displays a first user interface, wherein the first user interface comprises a first object; the electronic equipment receives a first user operation on a first object; in response to the first user operation, the electronic equipment displays at least one option according to the first object, and a function corresponding to the at least one option is associated with the first object; the electronic equipment receives a second user operation of moving the first object to a first option in the at least one option; in response to the second user operation, the electronic device performs a first function corresponding to the first option on the content of the first object. The user can make the electronic equipment execute the function corresponding to the option selected by the user according to the content selected by the user through simple operation. Therefore, the user operation is simple, and the user experience can be improved.

Description

Function starting method and electronic equipment
The present application is a divisional application, the original application having application number 201911056326.5, the original application date being 2019, month 10, and day 31, the entire content of the original application being incorporated by reference in the present application.
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for starting a function and an electronic device.
Background
Currently, various Applications (APPs) can be installed in electronic devices. An APP may be composed of multiple functions, for example, as shown in fig. 1A to 1D, the WeChat has functions of "initiate group chat", "add friends", "scan", "collect payment", and so on. A function may also be composed of a plurality of sub-functions, for example, the "add friend" function may be composed of a plurality of sub-functions such as "input micro signal or mobile phone number search friend", "radar add friend", "face-to-face group establishment", "sweep", "mobile phone contact add friend", and "public number".
In the prior art, when entering a specific function of the APP, such as the "face-to-face clustering" function in the wechat, a user needs to open the wechat APP first to enter the wechat main interface 10A shown in fig. 1A. Then, as shown in FIG. 1A, the user clicks on control 105, and the electronic device displays user interface 10B shown in FIG. 1B, with user interface 10B showing control 107 for initiating the "add friend" function. Next, as the user clicks on control 107 as shown in FIG. C, the electronic device refreshes user interface 10C as shown in FIG. 1C to user interface 10D as shown in FIG. 1D. Shown in user interface 10D is a control 112 for initiating a "face-to-face clustering" function. Finally, the user needs to click on control 112 before the electronic device initiates the face-to-face clustering function. Therefore, the user needs to perform multiple operations, the operation is complex, and the user experience is poor.
Disclosure of Invention
The application provides a method for starting a function and electronic equipment, and a user can enable the electronic equipment to execute the function corresponding to an option selected by the user according to the content selected by the user through simple operation.
In a first aspect, the present application provides a method for starting a function, including: the electronic equipment displays a first user interface, wherein the first user interface comprises a first object; the electronic equipment receives a first user operation on a first object; in response to the first user operation, the electronic equipment displays at least one option according to the first object, and a function corresponding to the at least one option is associated with the first object; the electronic equipment receives a second user operation of moving the first object to the first option in the at least one option; in response to the second user operation, the electronic device performs a first function corresponding to the first option on the content of the first object.
The first user operation may be an operation of pressing the first object with a double finger length, and/or the second user operation may be an operation of dragging the first object with a double finger length. Here, a and/or B may represent: a exists alone, A and B exist simultaneously, and B exists alone.
By the method for starting the function, the option corresponding to the first object can be displayed when the electronic equipment receives the operation of the user on the first object, and then when the electronic equipment receives the operation of the user on the first object and moves to the first option, the electronic equipment can execute the first function corresponding to the first option according to the content selected by the user. Therefore, the user operation is simple, and the user experience can be improved.
In one possible implementation, the first user operation and the second user operation are continuous operations, that is, the time interval between the first user operation and the second user operation does not exceed a first preset time, and the first preset time may be 5 seconds, 10 seconds, or the like. Thus, the user can execute the method of the application only by one step of operation. Furthermore, if the electronic device does not receive the second user operation of the user within the preset time, the electronic device may cause the displayed options to disappear, so that it is avoided that the user views the first object in the first user interface due to the influence of at least one option called by the first user operation.
In one possible implementation manner, after the electronic device executes the first function corresponding to the first option, the method further includes: the electronic equipment displays a first user interface and a second user interface in a regional mode, and the second user interface is used for executing a first function on the content of the first object. Therefore, the user can conveniently check the result after the first function is executed, and the user is not influenced to continuously check the content in the first user interface.
In one possible implementation manner, the electronic device displays the first user interface and the second user interface in different areas, including: in response to the electronic device changing from the folded state to the unfolded state, the electronic device displays the first user interface and the second user interface in different areas. Therefore, when the electronic equipment is unfolded from the folding state to the unfolding state by the user, the electronic equipment respectively displays the first user interface and the second user interface in the two areas of the electronic equipment, so that the first user interface is not reduced, the user is not influenced to continuously check the first user interface, the user can check the second user interface conveniently, and the user experience is improved.
In one possible implementation, displaying at least one option according to the first object includes: the electronic device determines a type of the first object and determines at least one option based on the type of the first object. In this way, the electronic device may ensure that the displayed at least one option is associated with the first object.
In one possible implementation, the first object includes a video object, an audio object, a text object, a web link object, an APP object, an image object. Here, the electronic device may classify the first object into a video object, an audio object, a text object, a web link object, an APP object, an image object according to types.
In one possible implementation, the electronic device determining the type of the first object includes: the electronic device determines a type of the first object based on a feature value of the first object, the feature value identifying the type of the first object. In this way, the electronic device can more accurately determine the type of the first object.
In one possible implementation, determining the at least one option according to the type of the first object includes: if the first object is the video object, the at least one option includes one or more of: the video editing system comprises a sharing function option, a downloading function option, an uploading function option, a song listening and song identifying function option, a video inserting function option, an accessory adding function option and a video editing function option; if the first object is the webpage link object, the at least one option includes one or more of the following: the method comprises the following steps of sharing a function option, downloading a function option, uploading a function option, reading a function option later, exporting a PDF document function option, adding an attachment function option, and printing a function option; if the first object is the APP object, the at least one option includes one or more of: an option to uninstall a function, an option to set a function, an option to use a statistics function, an option to share a function, and an option to a rights management function.
Here, the option of the a function (e.g., listening to songs, downloading, etc.) may be an option corresponding to the a function, through which the a function may be entered.
In one possible implementation, the first object is a first video; the electronic equipment displays at least one option according to the first object, and comprises the following steps: the electronic equipment displays a sharing function option, a downloading function option, an uploading function option, a song listening and song recognition function option, a video inserting function option, an attachment adding function option and/or a video editing option in the first user interface; when the option of the song listening and song recognition function is displayed, the electronic equipment receives a second user operation of moving the first video to the option of the song listening and song recognition function; in response to the second user operation, the electronic device identifies song information for the first audio included in the first video, the song information including a song name, song lyrics, a song performer, a song creator, and/or a song link. Therefore, the user can know the song information in the selected video through simple operation, does not need to quit the first user interface, does not influence the user to continuously watch the video in the first user interface, and improves the user experience.
Optionally, the second user operation may be an operation in which the user moves a certain video object to an option corresponding to the sharing function. In response to the operation, the electronic device may display a second user interface, which may be used for the user to select a contact to share content corresponding to the selected video object.
Optionally, the second user operation may be an operation in which the user moves a certain video object to an option corresponding to the download function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to specify a download location of the content of the selected video object; or the electronic equipment downloads the content corresponding to the selected video object to a default position.
Optionally, the second user operation may be an operation in which the user moves a certain video object to an option corresponding to the upload function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to specify an upload position of content corresponding to the selected video object; or the electronic equipment uploads the content corresponding to the selected video object to the default position.
Alternatively, the second user operation may be an operation in which the user moves a certain video object to an option corresponding to the video insertion function, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to specify an insertion position (e.g., a memo, a document, etc.) of content corresponding to the selected video object; or the electronic equipment creates a new mail or a document to insert the content corresponding to the selected video object.
Optionally, the second user operation may be an operation of the user moving a certain video object to an option corresponding to the add-on function, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to select a certain email to add content corresponding to the selected video object.
Optionally, the second user operation may be an operation of moving a certain video object to an option corresponding to the video editing function by the user, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to edit the content corresponding to the selected video object.
Therefore, the user can execute the function corresponding to the option selected by the user according to the content selected by the user through simple operation by the electronic equipment, the user does not need to exit the first user interface, the user is not influenced to continuously watch the video in the first user interface, and the user experience is improved.
In one possible implementation, the first object is a first audio; the electronic equipment displays at least one option according to the first object, and comprises the following steps: the electronic equipment displays a sharing function option, a downloading function option, an uploading function option, a song listening and song recognition function option, an audio inserting function option, an attachment adding function option and/or an audio editing option in the first user interface; when the option of the song listening and song recognition function is displayed, the electronic equipment receives a second user operation of moving the first audio to the option of the song listening and song recognition function; in response to the second user operation, the electronic device identifies song information in the first audio, the song information including a song name, song lyrics, a song artist, a song creator, and/or a song link. Therefore, when a user listens to the audio, the user can simply operate the played audio to identify the song information in the audio without quitting the user interface for playing the audio. Therefore, the user is not influenced to continuously listen to the audio, and the user experience is improved.
Optionally, the second user operation may be an operation in which the user moves a certain audio object to an option corresponding to the sharing function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to select a contact to share content corresponding to the selected audio object.
Optionally, the second user operation may be an operation in which the user moves a certain audio object to an option corresponding to the download function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to specify a download position of the content of the selected audio object; or the electronic equipment downloads the content corresponding to the selected audio object to the default position.
Optionally, the second user operation may be an operation in which the user moves a certain audio object to an option corresponding to the upload function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to specify an upload position of the content corresponding to the selected audio object; or the electronic device can upload content corresponding to the selected audio to a default location.
Alternatively, the second user operation may be an operation in which the user moves a certain audio object to an option corresponding to an insertion audio function, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to specify an insertion position of content corresponding to the selected audio object (e.g., to insert the first page of the document 1, or to insert the first page of the document 2); or the electronic device can create a new mail or document to insert the content corresponding to the selected audio object.
Optionally, the second user operation may be an operation of the user moving a certain audio object to an option corresponding to the add-on function, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to select a certain email to add content corresponding to the selected audio object.
Optionally, the second user operation may be an operation of the user to move a certain audio object to an audio editing function to drink an option, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to edit the content corresponding to the selected audio object.
Therefore, the user can share, upload and download the audio selected by the user through simple operation, and the audio selected by the user can be inserted into a memo or a document, or the selected audio is inserted into a mail, and the selected audio is edited, so that the user experience is improved.
In one possible implementation, the first object is a first web link; the electronic device displays at least one option according to the first object, and comprises: the electronic equipment displays an option of a downloading function, an option of an uploading function, an option of a song listening and song recognition function, an option of an audio inserting function, an option of an attachment adding function and/or an option of audio editing in a first user interface; when the option of the later reading function is displayed, the electronic equipment receives a second user operation of moving the first webpage link to the option of the later reading function; in response to the second user operation, the electronic device saves the content of the first web page link and generates an entry for viewing the content of the first web page link. The entry can comprise a link and a shortcut, and the user can view the content of the first webpage link through the entry of the content of the first webpage link.
Therefore, the user can add the content of the selected webpage link to the later reading through simple operation, can read the content in the selected webpage link at any time, does not need to quit the first user interface, does not influence the user to continuously browse other content in the first user interface, and improves the user experience.
Optionally, the second user operation may be an operation of moving a certain webpage link object to an option corresponding to the sharing function by the user, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to select a contact to share content corresponding to the selected webpage link object.
Optionally, the second user operation may be an operation in which the user moves a certain webpage link object to an option corresponding to the download function, and in response to the operation, the electronic device displays a second user interface, where the second user interface may be used for the user to specify a download position of the content corresponding to the selected webpage link object; alternatively, the electronic device may download the content corresponding to the selected webpage link object to a default location.
Optionally, the second user operation may be an operation in which the user moves a certain webpage link object to an option corresponding to the upload function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to specify an upload position of the content corresponding to the selected webpage link object; alternatively, the electronic device may upload the web page content corresponding to the selected web page link object to a default location.
Alternatively, the second user operation may be an operation in which the user moves a certain web page link object to an option corresponding to a function of exporting the PDF document, and in response to the operation, the electronic device exports the content corresponding to the web page link object selected by the user as the PDF document.
Optionally, the second user operation may be an operation of moving a certain web page link object to an option corresponding to the function of adding an attachment, and in response to the operation, the electronic device may display a second user interface, which may be used for a user to select a certain email to add content corresponding to the selected web page link object to the email in the form of an attachment.
Optionally, the second user operation may be an operation of moving a certain webpage link object to an option corresponding to the print function by the user, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to preview a print format of the content corresponding to the selected webpage link object; or the electronic device may print the content corresponding to the webpage link object selected by the user.
Therefore, the electronic equipment can execute the function corresponding to the option selected by the user according to the content selected by the user, does not need to exit the first user interface, does not influence the user to continuously browse other contents in the first user interface, and improves the user experience.
In one possible implementation, the first object is an icon of the first application; the electronic equipment displays at least one option according to the first object, and comprises the following steps: the electronic equipment displays an option of unloading a function, an option of setting a function, an option of using a statistical function, an option of sharing a function and/or an option of a right management function in a first user interface; when the option using the statistical function is displayed, the electronic equipment receives a second user operation of moving the icon of the first application program to the option using the statistical function; and responding to the second user operation, and the electronic equipment counts the use condition of the first application program. Therefore, the user can check the use condition of the first application program through simple operation, and the user experience is improved.
Optionally, the second user operation may be an operation of moving an icon of a certain application to an option corresponding to the uninstall function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to confirm whether to uninstall the selected application; alternatively, the electronic device may uninstall the selected application.
Alternatively, the second user operation may be an operation in which the user moves an icon of a certain application to an option corresponding to the setting function, and in response to the operation, the electronic device may display a second user interface, which may be used for the user to set the selected application.
Optionally, the second user operation may be an operation of moving an icon of a certain application to an option corresponding to the sharing function by the user, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to select a contact to share the selected application.
Optionally, the second user operation may be an operation in which the user moves an icon of the first application to an option corresponding to the right management function, and in response to the operation, the electronic device may display a second user interface, where the second user interface may be used for the user to perform right management on the selected application.
Therefore, the user can uninstall or share the selected application program or perform authority management and setting on the application program through simple operation, and user experience is improved.
In one possible implementation manner, after the electronic device receives the first user operation and before the electronic device receives the second user operation, the electronic device determines the display position of the at least one option in the first user interface according to the display position of the first object in the first user interface. In this way, it may be convenient for the user to move the first object into the first option. For example, when the lateral distance between the first object and the at least one option is greater than the preset distance, the at least one option may move with the movement of the user's finger, so that the centrally-located option and the operated first object or the first control corresponding to the first object are in the same horizontal line. Therefore, the first object can be conveniently moved to the option selected by the user, and the user experience is improved.
In one possible implementation, after the electronic device receives a first user operation on a first object, the method includes: in response to the first user operation, the electronic equipment displays at least one option and a first control corresponding to the first object according to the first object, wherein the function corresponding to the at least one option is associated with the first object; the electronic device receiving a second user operation of moving the first object to a first option of the at least one option; wherein the movement of the first object to the first option of the at least one option includes movement of a first control corresponding to the first object to the first option, or movement of the first object itself to the first option. The electronic device may generate a control corresponding to the first object, whereby the user may freely move the electronic device generated control in the user interface. The electronic device may also display an animation effect of the control being moved as feedback to the user's movement operation. Therefore, the operation of the user is facilitated, and the user experience can be improved.
In a second aspect, the present application provides a graphical user interface stored in an electronic device, the electronic device comprising a display screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising: displaying a first user interface, wherein the first user interface comprises a first object; receiving a first user operation on a first object; in response to a first user operation, displaying at least one option according to a first object, wherein a function corresponding to the at least one option is associated with the first object; and receiving a second user operation of moving the first object to a first option in the at least one option, and displaying a user interface for executing a first function on the content of the first object. The advantageous effects are the same as those described in the first aspect, and are not described in detail.
In a third aspect, the present application provides an electronic device comprising a communication interface, a memory, and a processor; the communication interface, the memory for storing computer program code comprising computer instructions, when the processor reads the computer instructions from the memory, to cause the electronic device to perform the method of initiating a function in any of the possible implementations of the first aspect described above, are coupled to the processor. The advantageous effects are the same as those described in the first aspect, and are not described in detail.
In a fourth aspect, the present application provides an electronic device including means for performing the method for starting a function in any one of the possible implementations of the first aspect. The advantageous effects are the same as those described in the first aspect, and are not described in detail.
In a fifth aspect, the present application provides a computer-readable storage medium comprising: computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method for initiating a function in any one of the possible implementations of the first aspect. The advantageous effects are the same as those described in the first aspect, and are not described in detail.
In a sixth aspect, the present application provides a computer program product, which when run on a computer causes the computer to perform the method of initiating a function in any of the possible implementations of the first aspect. The advantageous effects are the same as those described in the first aspect, and are not described in detail.
Drawings
FIGS. 1A-1D are schematic diagrams of a set of prior art user interfaces provided herein;
FIGS. 2A-2B are schematic diagrams of a set of prior art user interfaces provided herein;
FIG. 3 is a flowchart of a method for starting a function according to an embodiment of the present disclosure;
4A-4I are a set of schematic user interfaces provided in example 1 of the present application;
FIGS. 5A-5K are a set of schematic user interfaces provided in example 2 of the present application;
6A-6M are a set of schematic user interface diagrams provided in example 3 of the present application;
7A-7B are a set of schematic user interfaces provided by embodiments of the present application;
fig. 8A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
8B-8D are schematic views of display screens of electronic devices provided by embodiments of the present application;
fig. 9 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of software and hardware of an electronic device provided by the present application to implement a display user interface of the present application.
Fig. 11 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
The term "User Interface (UI)" in the specification, claims and drawings of the present application is a medium interface for interaction and information exchange between an application program or operating system and a user, and it implements conversion between an internal form of information and a form acceptable to the user. The user interface of the application program is source code written by a specific computer language such as java, extensible markup language (XML), and the like, and the interface source code is analyzed and rendered on the terminal device, and finally presented as content that can be recognized by a user, such as an image, a text, a button, and other controls. Controls (control), also called widgets, are basic elements of user interfaces, and typical controls are tool bars (toolbar), menu bars (menu bar), input boxes, buttons (button), scroll bars (scrollbar), images, and text. The properties and contents of the controls in the interface are defined by tags or nodes, such as XML defining the controls contained by the interface by nodes < Textview >, < ImgView >, < VideoView >, and the like. A node corresponds to a control or attribute in the interface, and the node is rendered as user-viewable content after parsing and rendering. In addition, many applications, such as hybrid applications (hybrid applications), typically include web pages in their interfaces. A web page, also called a page, may be understood as a special control embedded in an application program interface, where the web page is a source code written in a specific computer language, such as hypertext markup language (GTML), Cascading Style Sheets (CSS), java script (JavaScript, JS), etc., and the web page source code may be loaded and displayed as content recognizable to a user by a browser or a web page display component similar to a browser function. The specific content contained in the web page is also defined by tags or nodes in the source code of the web page, such as GTML defining elements and attributes of the web page by < p >, < img >, < video >, < canvas >.
A commonly used presentation form of the user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations and displayed in a graphical manner. It may be an interface element such as a window, control, etc. displayed in the display screen of the electronic device.
Reference to "functionality" in embodiments of the present application includes both system-provided functionality (e.g., "voice assistant" functionality, "offload" functionality, etc.) and application-provided functionality. The functions provided by the application program refer to functions constituting the application program or sub-functions of these functions. For example, the functions of "add friend", "sweep", etc. shown in fig. 1B, which constitute the WeChat, and some of the sub-functions of "add friend" shown in fig. 1D (e.g., "radar plus friend", "face-to-face group establishment", etc.) may be referred to as "functions" in this application.
The 'listening to songs and identifying songs' related to the embodiment of the application refers to that audio collected by electronic equipment is searched for songs matched with the audio in a song library, and an identifying result is returned. The recognition results may include, but are not limited to: the song name, creator, artist, song source (e.g., song play web page, link, etc.) of the song found, etc. The searched song is identified according to the collected audio and has the same or similar frequency spectrum or lyrics with the audio. The song library can be stored on a cloud server or in the electronic equipment.
The term "read later" referred to in the embodiments of the present application means that the electronic device stores content (e.g., text, image, etc.) of an object acted on by a user operation (e.g., a web page link object) in a server or the electronic device, and provides a user with a portal to view the stored content. Through which the user can view previously saved content.
In the prior art, in order to solve the problem that the operation of opening a certain function in an APP by a user is complicated, a method for quickly starting an application program function is provided, the user can call out a quick function bar of the APP (such as a music APP) by long-pressing an APP icon (such as a music APP icon) with a finger, and the user can quickly enter the certain function (such as a 'listen to songs and recognize songs' function) in the APP (such as the music APP). 2A-2B, FIGS. 2A-2B provide prior art user interface diagrams. Fig. 2A shows an application menu interface 20A, the user interface 20A including a music APP icon 201. When the electronic device receives a single-finger press operation of the user on the music APP icon 201 in the user interface 20A, the electronic device presents the user interface 20B to the user. The user interface 20B presents some controls corresponding to the fast-bootable function corresponding to the music APP, such as a control 202 corresponding to a "play local" function, a control 203 corresponding to a "recently played" function, a control 204 corresponding to a "search songs" function, a control 205 corresponding to a "listen to songs" function, a control 206 corresponding to an "application information" function, a control 207 corresponding to an "uninstall" function, and the like. The user can quickly start corresponding functions such as 'listening to songs and identifying songs' through the controls.
However, in the related art, the user cannot specify the object to execute the function while starting the function. For example, as shown in fig. 2B, the user cannot specify "listen to songs" for a video being played while "listen to songs" is activated. In the prior art, a user needs to start a "listen to songs and identify songs" function first, and then select which audio (e.g., the audio played in another electronic device) to perform the "listen to songs and identify songs" function.
The application provides a method for starting functions of an application program, which can specify which object to execute a selected function while starting the selected function. The method for starting the function provided in the embodiment of the present application is described in detail below with reference to specific embodiments. Fig. 3 shows a general flow chart of a method of initiating a function. As shown in fig. 3, the method may include:
s301, the electronic equipment displays a first user interface, and the first user interface comprises a first object.
Wherein the first user interface may be: user interfaces for applications, desktop, lock screen interfaces, etc. The first user interface may include at least one object. Each object may correspond to one or more pieces of content. "content corresponding to each object" may mean: the content of the object display and/or control (hereinafter also referred to as "content of the object"). The object may include: controls or windows, and the like. The content may include: video, audio, text, web links, APP, images, etc. The content may be content stored by the electronic device itself, or content acquired by the electronic device from other devices; the content may be acquired content or may not be acquired content. Objects can be classified into the following types according to their contents: video objects, audio objects, text objects, web link objects, APP objects, image objects.
For example, as shown in FIG. 4A, the electronic device displays a user interface 40A. The user interface 40A is a user interface for a video playback APP. The user interface 40A includes objects 401 and 403. The object 401 is used to display the video a being played. The user may click on object 402 to display video B and click on object 403 to display video C. From this, the content of the object 401 is the video a, the content of the object 402 is the video B, and the content of the object 403 is the video C.
As another example, as shown in fig. 5A, the electronic device displays a user interface 50A. The user interface 50A is a user interface of a browser APP. The user interface 50A contains an object 501. The content of object 501 may be a web page link to "golf world championship collection". That is, the user may click on object 501 to display a web page for "Golf world Hockey Hill".
As another example, as shown in FIG. 6A, the electronic device displays a user interface 60A. The user interface 60A is a desktop. The user interface 60A includes an object 601. Object 601 is a pay pal icon. That is, the content of object 601 is "Paibao APP"
S302, the electronic equipment receives a first user operation on a first object.
Wherein the "first object" is an object selected by the user for performing the selected function. The "first object" may be any one of the objects in the first user interface. The first user operation may be a long-press operation with two fingers, a double-press operation with two fingers, or a finger-float operation, etc., which is not limited herein.
For example, as shown in FIG. 4A, the user presses object 401 with both fingers. The object 401 is the first object. For another example, as shown in fig. 5A, if the user presses the object 501 with two fingers, the object 501 is the first object. For another example, as shown in fig. 6A, when the user presses the object 601 with both fingers, the object 601 is the first object.
It should be noted that, by using "double-finger long-press operation" as the first user operation, it is possible to avoid a conflict with an existing operation (e.g., the double-finger drag shown in fig. 7A to 7B).
S303, responding to the first user operation, the electronic equipment displays at least one option according to the first object.
Specifically, when the electronic device receives a first operation of the user, the electronic device may display one or more options. Each option corresponds to one or more functions. The one or more functions may be provided by an APP installed on the electronic device or may be provided by the system.
The electronic device displays at least one option according to the first object, and specifically may include:
s3031, determining the type of the first object.
In one possible implementation, each type of object in the electronic device may correspond to a feature value. For example, the feature value of the video object is "0000", the feature value of the audio object is "0001", the feature value of the image object is "0002", the feature value of the text object is "0003", the feature value of the web page link is "0004", and the feature value of the APP icon is "0005". Thus, the electronic device determines the type of the first object according to the feature value of the first object. For example, the feature value of the first object is "0000", the electronic device determines that the first object is a video object.
Step 3032, determining the at least one option according to the type of the first object.
Illustratively, table 1 shows functions that the electronic device can perform when the first object is an audio object, a video object, an image object, a text object, a web link object, or an application object, and applications providing the functions. That is, after determining the type of the first object, it can be determined which functions can be performed on the first object according to table 1, and further which options are displayed.
For example, as shown in FIG. 4B, where the first object is a video object (e.g., object 401), the electronic device may display a ribbon 405 including options 406-412. The functions corresponding to the options 406 to 412 are "share", "download", "upload", "listen to song and identify", "insert video", "add accessory", and "video edit", respectively.
For another example, as shown in fig. 5B, when the first object is a web page link object (e.g., object 501), the electronic device may display a ribbon 503 including options 504-510. The functions corresponding to the options 504 to 510 are "share", "download", "upload", "read later", "export a PDF document", "add an attachment", and "print", respectively.
For another example, as shown in FIG. 6B, when the first object is an application object (e.g., object 601), the electronic device may display a ribbon 607 that includes options 602-606. The functions corresponding to the options 602 to 606 are "uninstall", "set", "usage statistics", "sharing", and "rights management", respectively.
It should be noted that the function corresponding to the option may be provided by an APP (video playing APP) corresponding to the user interface being displayed, or may be provided by an APP (e.g., music) different from the APP corresponding to the user interface being displayed.
It should be noted that the options 406 to 412, 504 to 510, and 602 to 606 are only examples, and the options displayed when the first object is a video object, the options displayed when the first object is a web page link object, and the options displayed when the first object is an APP object are not limited thereto.
TABLE 1
Figure BDA0003457417790000101
Figure BDA0003457417790000111
The "APP-like" referred to in the table above is used to generally refer to a certain class of applications having corresponding functionality. For example, the communication APP can comprise 'WeChat', 'Lianme' and 'QQ'. The "system" in the above table indicates that the function is provided by the system. It should be noted that "APP or system corresponds to a function" in the above table is merely an example, and it is not limited to provide whether the function is an APP or a system; an application or class of applications in the table may be replaced by one or more other application programs having corresponding functionality. For example, App corresponding to "set ring tone" may be "music".
Optionally, the electronic device may display options corresponding to the functions according to the number of times of use and/or the time of use of the functions. Illustratively, as shown in fig. 4B, "listen to songs and recognize songs" is used more frequently, so that the option 409 is displayed in a central location, and "share" and "video edit" are used less frequently, so that the option 406 is displayed in a location away from the center.
Alternatively, if the content (e.g., video a) of the first object (e.g., object 401) is playing, the electronic device may pause the playing of the content after detecting the first user operation, so as to avoid the user missing the playing content in the video while performing the operation.
S304, the electronic device receives a second user operation of moving the first object to a first option in the at least one option.
Wherein the "first option" refers to any one option selected by the user from the at least one option. The function corresponding to the first option is a function selected by the user to be executed on the first object. The second user operation may be a double-finger drag operation, i.e. a double finger moving the first object to a certain option in the function bar. Alternatively, the second user operation may also be a single-finger drag operation, a double-finger flick operation, and the like, and the specific implementation gesture and form of the second user operation are not limited herein.
Wherein the first user operation and the second user operation may be continuous operations. For example, after a first user operation, before a second user operation, the user's finger is always touching the display screen.
It should be noted that "the first object moves to the first option" may include the following two ways:
the method a: and moving a first control corresponding to the first object to the first option.
For example, as shown in fig. 4B and 5B, after receiving a first user operation on a first object, the electronic device may display a first control (e.g., control 404, control 502) corresponding to the first object. The content displayed by the first control may be the same as the content of the first object (e.g., object 401, object 501). The display position of the first control may move with movement of the user's finger. The user may move the first control to the first option.
Optionally, if the user does not contact the display screen any more before moving the first control to the first option, the electronic device may not display the first control any more, so as to avoid that the displayed first control affects the user to view the content shown in the display screen when the user abandons execution of the function corresponding to the option in the function bar on the first object.
Alternatively, the initial display position of the first control may be a position acted on by the first user operation (e.g., a position pressed by a long finger, a position 500, etc.), so that the user continues to perform the second user operation on the first object after performing the first user operation on the first object.
Mode b: the first object itself is moved to the first option.
Illustratively, as shown in FIG. 6B, the electronic device moves the first object itself (e.g., object 601) to the first option.
For convenience of description, unless otherwise specified, moving the "first object" may refer to moving the "first object itself" or moving the "first control corresponding to the first object".
Alternatively, the display position of the at least one option may change as the position of the user's finger (or the first object, or the first control) changes, such as moving up as the user's finger moves up, and moving down as the user's finger moves down. Illustratively, as shown in fig. 4H to 4I, 5J to 5K, or 6H to 6I, when the lateral distance of the first object from the at least one option is greater than the preset distance, the at least one option (option 406 to option 412, option 504 to option 510, option 602 to option 606) may move up as the user's finger moves up and down, so that the center position option (i.e., option 409, option 507, option 604) and the first object or first control operated by the user are at the same horizontal line.
S305, responding to the second user operation, and executing a first function corresponding to the first option on the content of the first object by the electronic equipment.
For example, as shown in fig. 4C, if the user moves the control 404 to the option 409, it indicates that the user wants to execute the function corresponding to the option 409 on the content (i.e., video a) corresponding to the control 404, that is, the user wants to recognize the audio information in the video corresponding to the control 404 by using the function of listening to songs and recognizing music. It can be appreciated that, if the user moves the first control 404 to the option 406, it indicates that the user wants to execute the function corresponding to the option 406 on the content corresponding to the first control 404, that is, the user wants to share the video corresponding to the first control 404 to other contacts using the sharing function.
Illustratively, the executing the "listen to song" function corresponding to the option 409 on the object 401 may specifically include: the electronic device acquisition control 404 corresponds to the 15 seconds of audio before the video pause. The electronic equipment performs Fourier transform on the audio to obtain the frequency spectrum of the audio. The electronic device searches the song library for a song corresponding to the frequency spectrum of the audio.
For another example, as shown in fig. 5C, if the user moves the control 502 to the option 507, it indicates that the user wants to execute the function corresponding to the option 507 on the content corresponding to the control 502. That is, the user wants to add the web page content of the web page link corresponding to the control 502 to the read-later list using the read-later function.
As another example, as shown in fig. 6C, if the user moves the object 601 to the option 604, it indicates that the user wants to execute the function corresponding to the option 604 on the content (i.e., pay App) corresponding to the object 601. That is, the user wants to use the usage statistics function to count the usage such as the usage time length and the usage number of the application corresponding to the object 601.
Alternatively, the electronic device may indicate the option currently selected by the user by enlarging an icon of the option. For example, as shown in fig. 4D, the icon of the option 409 is enlarged. As another example, as shown in FIG. 5D, an icon of option 507 is selected. As further shown in FIG. 6D, the icon for option 604 is enlarged. Optionally, when the user releases the double fingers, the electronic device may display a dynamic effect that the first object or the first control corresponding to the first object contracts into the first option. Therefore, the user can know which object the electronic equipment is to execute the function corresponding to which option conveniently.
Optionally, the method may further include:
s306, the electronic equipment displays the first user interface and the second user interface corresponding to the first function in a regional mode.
The second user interface is a user interface for executing the first function on the content of the first object. In this way, the user can conveniently view the result of executing the selected function processing on the first object selected by the user. It should be noted that the first user interface displayed in step 306 may be the same as the first user interface displayed in step 301, or may not be the same as the first user interface displayed in step 301.
For example, as shown in fig. 4E, the electronic device displays a user interface 40E and a user interface 40A. Among them, the user interface 40E is a user interface of "listen to songs and recognize songs" of "music App". User interface 40E shows the recognition of a song in video 401 that is "Rolling in the deep" at 9 minutes and 21 seconds in video 401.
As another example, as shown in fig. 5E, the electronic device can display user interface 50A and user interface 50E. Among them, the user interface 50E is a "read later" user interface of "electronic book App". The user interface 50E is displayed with a later-reading list including a plurality of web page links arranged in order of addition time. The read-later list may show the time at which each web page link was added to the read-later list. For example, as shown in user interface 50E, in response to the second user operation moving control 502 to option 507, web page link 512 is added to the later-read list. Text 513 shows the time ("just") at which the web page link 512 was added to the list for later reading. It will be appreciated that the user may operate the second user interface. For example, if the user can click on the web page link 512 as shown in FIG. 5F, the electronic device displays the user interface 50G as shown in FIG. 5G, and the web page link corresponds to the web page content. The web page content may specifically include a title 514, a web page publishing author 515 (e.g., ABC news), a control 516, and body content 517, among others.
As another example, as shown in fig. 6E, the electronic device can display an interface 60A and an interface 60D. Among them, the user interface 60D is a user interface of the function corresponding to the option 604. User interface 60D shows a pay for use statistics interface including a last usage duration 607, and a total usage duration 608.
Optionally, the electronic device may perform step 306 in response to the electronic device changing from the folded state to the unfolded state.
Illustratively, as shown in fig. 4E, in response to the electronic device 100 changing from the collapsed state to the expanded state, the electronic device 100 displays a first user interface (user interface 40A) on the a screen and a second user interface (user interface 40E) on the B screen.
It should be noted that the electronic device may resume playing the video that was paused after the first user operation. That is, the video a may be in a playing state at this time.
Optionally, the electronic device may end the display of the second user interface in response to a preset user operation. As shown in fig. 4F-4G, 5H-5I, or 6E-6F, the second user interface may contain a close control (e.g., control 413, control 511, control 611) for ending the display of the second user interface (e.g., interface 40E, interface 50E, interface 60E). The user may close the display of the second user interface by clicking the close control.
Alternatively, the electronic device may also optionally end the display of the second user interface in response to the electronic device changing from the unfolded state to the folded state.
Optionally, the electronic device may reduce the second user interface to a floating window or move to a negative screen for displaying in response to a change from the expanded state to the folded state of the electronic device or in response to a preset user operation, so that a user may display the second user interface again after the display of the second user interface is finished.
The embodiment of the application is described by taking a folding screen device as an example, but the application is not limited to the folding screen device, and the embodiment of the application can also be applied to a tablet device and other electronic devices. Such as the single screen devices shown in fig. 6J-6L and the tablet device shown in fig. 6M. It should be noted that, at this time, the first user interface and the second user interface may be respectively displayed in the display area a and the display area B as shown in fig. 6J; a display area C and a display area D as shown in fig. 6K; a display area E and a display area F as shown in fig. 6L; or a display area G and a display area H as shown in fig. 6M.
Therefore, according to the method provided by the application, the user can quickly start the functions (such as listening to songs and identifying songs) in the electronic equipment through less operations. For example, when a user watches a video, the user operates (for example, double-finger long-press operation) a video object to call a song listening and song recognition function option, and the user only needs to move the video object to the song listening and song recognition function option to recognize audio information in the video. When the electronic equipment executes the song listening and song recognition function, the video playing interface is still displayed on the electronic equipment, and a user does not need to quit the video playing interface. Therefore, the operation of the user is simplified, and the user is not influenced to continuously watch the video. The electronic device displays a second user interface (e.g., a results interface for listening to songs and identifying songs) to help the user learn the results of performing the first function on the first object.
The electronic device provided by the embodiment of the application is described below with reference to the drawings.
Fig. 8A shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments of the present application, the display screen 194 in fig. 1 may be bent when the display panel is made of OLED, AMOLED, FLED, or the like. Here, the display 194 may be bent in such a manner that the display may be bent at any position to any angle (hereinafter, the "bent position" is referred to as a "bent position") and may be held at the angle, for example, the display 194 may be folded in half from the middle. Or can be folded from the middle part up and down. As shown in fig. 8B, when the display screen 194 is bent, the display area thereof may be divided into an a screen, a B screen, and a side screen, with the bent portion as a boundary. In this application, a display that can be folded is referred to as a foldable display. The foldable display screen may be a single screen, or a display screen formed by combining multiple screens together, which is not limited herein.
The electronic device can be divided into a folded state (as shown in fig. 8B and 8C) and an unfolded state (as shown in fig. 8D) according to the size of the included angle θ between the a screen and the B screen. For example, if the included angle θ is smaller than the first angle (e.g., 180 degrees) and greater than or equal to the second angle (e.g., 90 degrees), the electronic device is determined to be in the unfolded state. If the included angle θ is smaller than the third angle (e.g., 90 degrees) and larger than or equal to the fourth angle (e.g., 0 degrees), the electronic device is determined to be in the folded state. Wherein the first angle is larger than the second angle, the third angle is larger than the fourth angle. The electronic device 100 may measure the size of the included angle by an angle sensor (not shown in fig. 8A) disposed at the bending portion of the foldable display screen. Or the electronic device may also measure the included angle by using other methods, which are not limited herein.
When the electronic device is in the folded state, the electronic device can display the content only in a partial area of the display screen. For example, the content may be displayed only on the a screen and the B screen may be off. At this time, if the electronic device changes from the folded state to the unfolded state, the electronic device may light up the B screen, and the electronic device uses the entire area of the display screen for display.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, which include instructions. The processor 110 may cause the electronic device 100 to perform the methods provided in some embodiments of the present application by executing the above-mentioned instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it is possible to receive voice by placing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application option, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application option, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the electronic device 100 at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a hierarchical architecture as an example to exemplarily explain a software structure of the electronic device 100.
Fig. 9 is a block diagram of the software configuration of the electronic apparatus 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 9, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 9, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls, such as controls to display text, controls to display images, and the like. The view system may be used to build a display interface for an application. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view displaying text and a view displaying an image.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including connection, hangup, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, images, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. Such as prompting for text information in the status bar, sounding a prompt tone, the electronic device 100 vibrating, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
The workflow of the software and hardware of the electronic device 100 is exemplified in connection with the method of initiating a function of the present application.
Referring to fig. 10, the kernel layer, the application framework layer, and the application layer in fig. 10 correspond to the kernel layer, the application framework layer, and the application layer in fig. 9, respectively.
The sensor driver may be configured to detect a user operation (e.g., a double-finger long-press operation, a double-finger drag operation, etc.), and report an input event generated by the detected user operation to the application framework layer.
The quick-start function manager may be configured to determine a function related to an object operated by a user (e.g., a user presses a video object with a long finger, and the related function may be to listen to a song or a song, share a video, clip a video, upload a video to a cloud disk, etc.) and determine which function to run according to the user operation (e.g., a user drags the video object with the long finger to an option corresponding to the song or the song), and then run the song or the song listening function).
The resource manager can be used for storing video files played in the video APP and providing the video files to the quick start function manager.
The display driver is used for displaying a user interface for playing videos and a display interface for listening to songs and identifying song results.
In order to better implement the above solution of the embodiments of the present application, the present application further provides an electronic device, which is described in detail below with reference to the accompanying drawings:
as shown in fig. 11, a schematic structural diagram of an electronic device provided in the embodiment of the present application, the electronic device may include: a first display unit 101, a first receiving unit 102, a second display unit 103, a second receiving unit 104, and an execution unit 105.
The first display unit 101 is configured to display a first user interface, where the first user interface includes a first object, and reference may be specifically made to step S301 for the first user interface, which is not described herein again.
The first receiving unit 102 is configured to receive a first user operation on the first object, and for the first user operation, reference may be specifically made to step S302, which is not described herein again.
The second display unit 103 is configured to display at least one option according to the first object in response to the first user operation, where a function corresponding to the at least one option is associated with the first object, and reference may be specifically made to step S303 for the at least one option, which is not described herein again.
The second receiving unit 104 is configured to receive a second user operation of moving the first object to the first option in the at least one option, and for the second user operation, reference may be specifically made to step S304, which is not described herein again.
The executing unit 105 is configured to execute, in response to the second user operation, a first function corresponding to the first option on the content of the first object, which may specifically refer to step S305, and is not described herein again.
The embodiment of the application also provides a computer readable storage medium. All or part of the processes in the above method embodiments may be performed by relevant hardware instructed by a computer program, which may be stored in the above computer storage medium, and when executed, may include the processes in the above method embodiments. The computer-readable storage medium includes: various media that can store program codes, such as a read-only memory (ROM) or a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the electronic equipment in the embodiment of the application can be combined, divided and deleted according to actual needs.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A method of initiating a function, comprising:
the method comprises the steps that the electronic equipment displays a first user interface, and the first user interface comprises a first object;
the electronic equipment receives a first user operation on the first object;
in response to the first user operation, the electronic equipment displays at least one option according to the first object, and the function corresponding to the at least one option is associated with the first object;
the electronic equipment receives a second user operation related to a first option in the at least one option;
in response to the second user operation, the electronic equipment executes a first function corresponding to the first option on the content of the first object.
2. The method of claim 1, wherein after the electronic device performs the first function corresponding to the first option, the method further comprises:
and the electronic equipment displays a second user interface, wherein the second user interface is a user interface for executing the first function on the content of the first object.
3. The method of claim 1, wherein the first object comprises: a video object, an audio object, a text object, a web link object, an APP object, or an image object.
4. The method of any of claims 1-3, wherein the first object comprises a first video;
the electronic device displays at least one option according to the first object, and the option comprises:
the electronic equipment displays options of a song listening and song recognition function in the first user interface;
the electronic device receiving a second user operation related to a first option of the at least one option, including:
when the option of the song listening and song recognition function is displayed, the electronic equipment receives a second user operation related to the option of the song listening and song recognition function;
in response to the second user operation, the electronic device performs a first function corresponding to the first option on the content of the first object, including:
in response to the second user operation, the electronic device identifies song information of a first audio included in the first video, the song information including at least one of a song name, song lyrics, a song artist, a song creator, and a song link.
5. The method of any of claims 1-3, wherein the first object comprises a first web page link;
the electronic device displays at least one option according to the first object, and the option comprises:
the electronic device displaying an option for a read-later function in the first user interface;
the electronic device receiving a second user operation related to a first option of the at least one option, including:
when the option of the later reading function is displayed, the electronic equipment receives a second user operation related to the option of the later reading function;
in response to the second user operation, the electronic device performs a first function corresponding to the first option on the content of the first object, including:
and responding to the second user operation, and saving the content of the first webpage link by the electronic equipment.
6. The method of claims 1-3, wherein the first object comprises an icon of a first application;
the electronic device displays at least one option according to the first object, and the option comprises:
the electronic device displaying an option to use a statistics function in the first user interface;
the electronic device receiving a second user operation related to a first option of the at least one option, including:
when the option of the usage statistic function is displayed, the electronic equipment receives a second user operation related to the option of the usage statistic function;
in response to the second user operation, the electronic device performs a first function corresponding to the first option on the content of the first object, including:
and responding to the second user operation, and counting the use condition of the first application program by the electronic equipment.
7. The method of any of claims 1-3, wherein the displaying at least one option according to the first object comprises:
the electronic device determining a type of the first object;
determining the at least one option according to the type of the first object.
8. The method of claim 7, wherein the electronic device determining the type of the first object comprises:
the electronic equipment determines the type of the first object according to the characteristic value of the first object, wherein the characteristic value is used for identifying the type of the first object.
9. The method of claim 7, wherein determining the at least one option based on the type of the first object comprises:
if the first object is the video object, the at least one option includes one or more of: the video editing system comprises a sharing function option, a downloading function option, an uploading function option, a song listening and song identifying function option, a video inserting function option, an accessory adding function option and a video editing function option;
if the first object is the webpage link object, the at least one option includes one or more of the following: the method comprises the following steps of sharing a function option, downloading a function option, uploading a function option, reading a function option later, exporting a PDF document function option, adding an attachment function option, and printing a function option;
if the first object is the APP object, the at least one option includes one or more of: an option to uninstall a function, an option to set a function, an option to use a statistics function, an option to share a function, and an option to a rights management function.
10. An electronic device, comprising: a communication interface, a memory, and a processor; the communication interface, the memory coupled with the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform the method of any of claims 1 to 9.
11. A computer readable storage medium comprising computer instructions which, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1 to 9.
12. A computer program product, characterized in that, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 9.
CN202210007066.8A 2019-10-31 2019-10-31 Function starting method and electronic equipment Active CN114461111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210007066.8A CN114461111B (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210007066.8A CN114461111B (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment
CN201911056326.5A CN111221453A (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201911056326.5A Division CN111221453A (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114461111A true CN114461111A (en) 2022-05-10
CN114461111B CN114461111B (en) 2022-09-23

Family

ID=70825730

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911056326.5A Pending CN111221453A (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment
CN202210007066.8A Active CN114461111B (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911056326.5A Pending CN111221453A (en) 2019-10-31 2019-10-31 Function starting method and electronic equipment

Country Status (2)

Country Link
CN (2) CN111221453A (en)
WO (1) WO2021082835A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221453A (en) * 2019-10-31 2020-06-02 华为技术有限公司 Function starting method and electronic equipment
CN113986070B (en) * 2020-07-10 2023-01-06 荣耀终端有限公司 Quick viewing method for application card and electronic equipment
CN113641278A (en) * 2021-08-11 2021-11-12 维沃移动通信有限公司 Control method, control device, electronic equipment and storage medium
CN113918062B (en) * 2021-10-29 2024-03-26 海信集团控股股份有限公司 Method and terminal for enabling shortcut function of application program
CN114327731B (en) * 2021-12-31 2023-11-14 北京字跳网络技术有限公司 Information display method, device, equipment and medium
CN114443202A (en) * 2022-02-08 2022-05-06 北京课游工场数字科技有限公司 Interactive answer operation and answer expression method and system
CN117008788A (en) * 2022-04-29 2023-11-07 荣耀终端有限公司 Method for replacing application card and terminal equipment

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130151969A1 (en) * 2011-12-08 2013-06-13 Ihigh.Com, Inc. Content Identification and Linking
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
CN104281390A (en) * 2013-07-05 2015-01-14 索尼公司 Information processing apparatus and storage medium
US20150065084A1 (en) * 2013-08-27 2015-03-05 International Business Machines Corporation Data sharing with mobile devices
CN106201204A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 The method and apparatus starting application function
CN106227344A (en) * 2014-12-29 2016-12-14 三星电子株式会社 Electronic equipment and control method thereof
US20170024399A1 (en) * 2014-04-03 2017-01-26 Spotify Ab A system and method of tracking music or other audio metadata from a number of sources in real-time on an electronic device
CN107111421A (en) * 2014-12-18 2017-08-29 三星电子株式会社 Electronic equipment and method for controlling display
CN107239199A (en) * 2017-06-29 2017-10-10 珠海市魅族科技有限公司 It is a kind of to operate the method responded and relevant apparatus
WO2017193496A1 (en) * 2016-08-19 2017-11-16 华为技术有限公司 Application data processing method and apparatus, and terminal device
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium
CN109656439A (en) * 2018-12-17 2019-04-19 北京小米移动软件有限公司 Display methods, device and the storage medium of prompt operation panel
CN109947979A (en) * 2018-08-22 2019-06-28 Oppo广东移动通信有限公司 Song recognition method, apparatus, terminal and storage medium
CN110058754A (en) * 2019-03-29 2019-07-26 维沃移动通信有限公司 A kind of option display method and terminal device
CN110244893A (en) * 2019-05-05 2019-09-17 华为技术有限公司 A kind of operating method and electronic equipment of split screen display available
CN110362244A (en) * 2019-06-30 2019-10-22 华为技术有限公司 A kind of split screen method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321802B2 (en) * 2008-11-13 2012-11-27 Qualcomm Incorporated Method and system for context dependent pop-up menus
US20130332806A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Collecting Web Pages/Links from Communications and Documents for Later Reading
CN102830906B (en) * 2012-07-04 2016-08-03 华为终端有限公司 Method and the terminal unit of file process is carried out based on user interface
US9990105B2 (en) * 2014-07-08 2018-06-05 Verizon Patent And Licensing Inc. Accessible contextual controls within a graphical user interface
CN108008890B (en) * 2017-11-30 2021-04-23 努比亚技术有限公司 Double-screen mobile terminal, cross-application quick transmission method thereof and readable storage medium
CN108334272B (en) * 2018-01-23 2020-08-21 维沃移动通信有限公司 Control method and mobile terminal
CN111221453A (en) * 2019-10-31 2020-06-02 华为技术有限公司 Function starting method and electronic equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130151969A1 (en) * 2011-12-08 2013-06-13 Ihigh.Com, Inc. Content Identification and Linking
CN104281390A (en) * 2013-07-05 2015-01-14 索尼公司 Information processing apparatus and storage medium
US20150065084A1 (en) * 2013-08-27 2015-03-05 International Business Machines Corporation Data sharing with mobile devices
US20170024399A1 (en) * 2014-04-03 2017-01-26 Spotify Ab A system and method of tracking music or other audio metadata from a number of sources in real-time on an electronic device
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
CN107111421A (en) * 2014-12-18 2017-08-29 三星电子株式会社 Electronic equipment and method for controlling display
CN106227344A (en) * 2014-12-29 2016-12-14 三星电子株式会社 Electronic equipment and control method thereof
CN106201204A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 The method and apparatus starting application function
WO2017193496A1 (en) * 2016-08-19 2017-11-16 华为技术有限公司 Application data processing method and apparatus, and terminal device
CN107239199A (en) * 2017-06-29 2017-10-10 珠海市魅族科技有限公司 It is a kind of to operate the method responded and relevant apparatus
CN109947979A (en) * 2018-08-22 2019-06-28 Oppo广东移动通信有限公司 Song recognition method, apparatus, terminal and storage medium
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium
CN109656439A (en) * 2018-12-17 2019-04-19 北京小米移动软件有限公司 Display methods, device and the storage medium of prompt operation panel
CN110058754A (en) * 2019-03-29 2019-07-26 维沃移动通信有限公司 A kind of option display method and terminal device
CN110244893A (en) * 2019-05-05 2019-09-17 华为技术有限公司 A kind of operating method and electronic equipment of split screen display available
CN110362244A (en) * 2019-06-30 2019-10-22 华为技术有限公司 A kind of split screen method and electronic equipment

Also Published As

Publication number Publication date
WO2021082835A1 (en) 2021-05-06
CN114461111B (en) 2022-09-23
CN111221453A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN109766036B (en) Message processing method and electronic equipment
CN110597512B (en) Method for displaying user interface and electronic equipment
CN114461111B (en) Function starting method and electronic equipment
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
CN110362244B (en) Screen splitting method and electronic equipment
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
WO2021000881A1 (en) Screen splitting method and electronic device
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN112148400B (en) Display method and device in locking state
CN111176506A (en) Screen display method and electronic equipment
CN110119296B (en) Method for switching parent page and child page and related device
CN114706664A (en) Interactive method for cross-device task processing, electronic device and storage medium
CN109857401B (en) Display method of electronic equipment, graphical user interface and electronic equipment
CN109819306B (en) Media file clipping method, electronic device and server
CN114363462B (en) Interface display method, electronic equipment and computer readable medium
CN111970401B (en) Call content processing method, electronic equipment and storage medium
CN113986070A (en) Quick viewing method for application card and electronic equipment
WO2020238759A1 (en) Interface display method and electronic device
CN112015943A (en) Humming recognition method and related equipment
WO2022184173A1 (en) Card widget display method, graphical user interface, and related apparatus
CN113746961A (en) Display control method, electronic device, and computer-readable storage medium
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
CN112637477A (en) Image processing method and electronic equipment
CN113448658A (en) Screen capture processing method, graphical user interface and terminal
CN114205457A (en) Method for moving user interface element and electronic equipment

Legal Events

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