CN114690986A - Method for creating shortcut and related equipment - Google Patents

Method for creating shortcut and related equipment Download PDF

Info

Publication number
CN114690986A
CN114690986A CN202011629173.1A CN202011629173A CN114690986A CN 114690986 A CN114690986 A CN 114690986A CN 202011629173 A CN202011629173 A CN 202011629173A CN 114690986 A CN114690986 A CN 114690986A
Authority
CN
China
Prior art keywords
service
application
electronic device
interface
shortcut
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.)
Pending
Application number
CN202011629173.1A
Other languages
Chinese (zh)
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202011629173.1A priority Critical patent/CN114690986A/en
Priority to PCT/CN2021/127418 priority patent/WO2022142674A1/en
Publication of CN114690986A publication Critical patent/CN114690986A/en
Pending legal-status Critical Current

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/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/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
    • 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/04842Selection of displayed objects or displayed text elements
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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 embodiment of the application provides a shortcut creating method and related equipment, and relates to the technical field of communication. The method can be applied to the electronic equipment, when the electronic equipment responds to the corresponding operation, the UI interface corresponding to the service in the application can be directly displayed, the operation step of creating the shortcut of the service in the application is simplified, and the response efficiency of the electronic equipment is improved. The method can comprise the following steps: the method comprises the steps of displaying an application icon of a first application, receiving a first preset operation of a user on the application icon of the first application, and responding to the first preset operation to display one or more service options. The one or more service options respectively correspond to one or more services of the first application, and the one or more service options include a first service option corresponding to the first service. The electronic equipment receives a selection operation of the first service option, and in response to the selection operation, the electronic equipment displays a setting interface, wherein the setting interface is used for setting a shortcut of the first service.

Description

Method for creating shortcut and related equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a shortcut creating method and related equipment.
Background
Application (APP) software is a collection of various programs installed on electronic devices for use by users, as well as applications programmed in various programming, computer languages. Among other things, APP may be a computer program product designed to meet the needs of a user. That is, the electronic device may fulfill certain user requirements when running the APP. For example, the APP of the communication type can meet user requirements for communication and the camera application can meet user requirements for photographing and shooting videos. A plurality of APPs can be installed in the electronic equipment to realize different requirements of users.
Specifically, the APP runs on the electronic device, and in response to an operation by a user, a corresponding function may be implemented to meet a user demand. Among the functions provided by the APP, a plurality of services may be included. For example, the electronic payment APP can provide a convenient payment function, and the functions provided by the electronic payment APP can include public transportation payment service, convenient payment service, two-dimensional code scanning service and the like. For another example, the navigation APP may provide a map navigation function, and the navigation APP may provide a positioning service, a route planning service, a public transportation service, and the like.
It is worth mentioning that when the APP provides a service, a display screen of the electronic device may display a User Interface (UI) Interface corresponding to the service. For example, the UI interface corresponding to the public transportation payment service of the electronic payment APP is a two-dimensional code for vehicle payment, and when the two-dimensional code for vehicle payment is scanned, the electronic payment function is completed. That is, when a user wants to use a service in the APP, it needs to operate according to the operation logic of the APP, so that the electronic device displays a UI interface of the service. For example, when a first service in a first application is called, the electronic device needs to display a UI interface of the corresponding first service according to an operation of a user. The user is required to be familiar with the operating logic of the first application in order for the electronic device to accurately respond to the user operation. For another example, when a first service in a first application and a second service in a second application are called, in order to display a UI interface of the first service and a UI interface of the second service, a user needs to be familiar with operation logic of the first application and the second application and with operation of switching the applications, the overall operation is cumbersome, and a long time of operation is needed to call the UI interfaces corresponding to the services (e.g., the first service and the second service) in different applications, so that the interaction process is complex.
Disclosure of Invention
The application provides a method for creating a shortcut and related equipment, wherein the electronic equipment directly displays a UI (user interface) corresponding to a service in an application in response to corresponding operation, so that the operation steps of the electronic equipment are simplified, and the response efficiency of the electronic equipment is improved.
In order to achieve the technical purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides a method for creating a shortcut, where the method may be applied to an electronic device, where a first application is installed in the electronic device, the first application includes one or more services, and the one or more services include a first service.
The method can comprise the following steps: when the electronic equipment displays the application icon of the first application, if the electronic equipment receives a first preset operation of a user on the application icon of the first application, one or more service options are displayed in response to the first preset operation. The one or more service options respectively correspond to one or more services of the first application, and the one or more service options include a first service option corresponding to the first service. The operation steps of the electronic equipment for displaying the service options in the first application are simplified, and the response efficiency of the electronic equipment to the user operation is improved.
When the electronic equipment receives a selection operation of the first service option, the electronic equipment displays a setting interface in response to the selection operation, and the setting interface is used for setting a shortcut of the first service. That is, the setting interface includes related settings of the shortcut of the first service, and the electronic device receives the input setting information and may display the shortcut of the first service according to the setting information. The operation of generating the shortcut of the first service simplifies the shortcut operation step of displaying the first service and simplifies the interactive operation of the electronic equipment and the user.
In a possible design manner of the first aspect, the first preset operation includes a single-click operation, a double-click operation, or a long-press operation on an application icon of the first application.
As can be appreciated, the first preset operation is used for enabling the electronic device to display a service in the first application, and the first preset operation is a touch operation on an application icon of the first application. The touch operation at least includes: single click operation, double click operation, or long press operation. The operation of displaying the service in the first application is effectively simplified, and therefore the interaction efficiency of the electronic equipment is improved.
In another possible design manner of the first aspect, the setting interface includes: at least one of a name of the shortcut, a style of the shortcut, and a display location of the shortcut.
The setting interface is used for setting the shortcut of the first service, so that the shortcut of the first service meeting the requirements of the user is customized according to the input setting information, and better interactive experience is provided for the user.
In a second aspect, the present application further provides a method for creating a shortcut, where the method may be applied to an electronic device, where a first application is installed in the electronic device, the first application includes one or more services, and the one or more services include a first service.
The method can comprise the following steps: the electronic equipment displays a first control and an application icon of a first application, wherein the first control is a shortcut of a second service. The electronic equipment receives a first preset operation of a user on the first control and an application icon of the first application, and one or more service options are displayed in response to the first preset operation. Wherein the one or more service options respectively correspond to one or more services of the first application. The one or more service options include a first service option corresponding to a first service. The electronic equipment receives a selection operation of a user on a first service option, and displays a setting interface in response to the selection operation, wherein the setting interface is used for setting shortcuts of a first service and a second service.
For example, the first preset operation is to display one or more services in the first application, and the first preset operation may be to drag the first control in the drag mode to an area where an application icon of the first application is located, so that the first control is close to the application icon of the first application.
In a possible design of the second aspect, when the electronic device displays the setting interface, the running order of the first service and the second service may also be determined.
The first preset operation enables the electronic equipment to display the service corresponding to the first application through the first control, and the first control corresponds to the second service. The setting interface comprises a first service in the first application and a second service corresponding to the first control. When the electronic device generates shortcuts of the first service and the second service, the shortcuts are operated, and the first service and the second service are operated according to the operation sequence. Therefore, the running sequence of the first service and the second service is set in the setting interface.
In another possible design manner of the second aspect, the determining the operation sequence of the first service and the second service includes: and determining the running sequence of the first service and the second service according to user setting and/or using habits.
Wherein, if the electronic device receives the user setting information, the running order of the second service of the first service can be determined according to the user setting information. Alternatively, the electronic device may determine the running order of the first service and the second service according to the usage habit without interacting with the user (i.e., without receiving a user operation). Or, after determining the running sequence of the first service and the second service, if the electronic device receives the user setting information, the electronic device may also adjust the running sequence of the services according to the user setting information.
In another possible design manner of the second aspect, the determining the operation sequence of the first service and the second service includes: and determining the running sequence of the first service and the second service according to a preset trigger condition.
Wherein, the shortcut is triggered, the electronic device runs a certain service (such as the first service), and the running of the first service by the electronic device may cause a change of time, place, or setting item of the electronic device, and the change may serve as a trigger condition of the second service. The electronic equipment can determine the running conditions of the first service and the second service according to the preset triggering conditions.
In another possible design of the second aspect, the setting interface includes service options, and the service options include a first service option of the first service and a second service option of the second service.
It can be appreciated that, assuming that the first control corresponds to the second service and the third service, the service options include a first service option, a second service option, and a third service option.
In another possible design manner of the second aspect, the setting interface may further receive a user operation, where the user operation is used to set a trigger condition, and when the shortcut is executed, the electronic device may execute the first service and the second service according to the trigger condition.
In another possible design manner of the second aspect, when the electronic device displays the setting interface, the setting interface may further include an add option and/or a delete option, where the add option is used to add a service option, and the delete option is used to delete the service option.
It can be understood that, when the electronic device receives an operation of adding a service option by a user, the setting interface may further include a third service option; when the electronic equipment receives the operation of the user on the option of deleting the service, for example, the first service is deleted, the setting interface comprises a second service. It is to be understood that, after adding the third service, shortcuts for the first service, the second service, and the third service are created assuming that the service options include an option for the first service, an option for the second service, and an option for the third service. After deleting the first service, a shortcut to the second service is created assuming that the service options only include the option of the second service.
In another possible design manner of the second aspect, when the electronic device displays the setting interface, the setting interface may further include: name of shortcut, display style and/or display location. Thus, the user is facilitated to view or edit the name, display style, and/or display location of the shortcut.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes: a memory, a display screen, and one or more processors; the memory area, the display screen and the processor are coupled.
Wherein the memory is adapted to store computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method as in the first aspect and any of its possible designs, the second aspect and any of its possible designs.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform the method in the first aspect and any one of the possible design manners thereof, and the second aspect and any one of the possible design manners thereof.
In a fifth aspect, the present application further provides a chip system, where the chip system is applied to an electronic device; the system-on-chip may include one or more interface circuits and one or more processors. The interface circuit is interconnected to the processor by a wire, and the interface circuit is configured to receive a signal from a memory of the electronic device and transmit the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions described above, the electronic device performs the method provided by the first aspect and any one of its possible designs, and the second aspect and any one of its possible designs.
In a sixth aspect, the present application further provides a computer program product, which when run on a computer, causes the computer to execute the method provided in the first aspect and any one of the possible design manners thereof, and the second aspect and any one of the possible design manners thereof.
It is to be understood that, for the above-mentioned advantageous effects that can be achieved by the electronic device of the third aspect, the computer-readable storage medium of the fourth aspect, the chip system of the fifth aspect, and the computer program product of the sixth aspect provided by the present application, reference may be made to the advantageous effects of the first aspect and any one of the possible implementation manners thereof, and the advantageous effects of the second aspect and any one of the possible design manners thereof, which are not described herein again.
Drawings
Fig. 1 is a schematic diagram of creating a shortcut operation according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for creating a shortcut provided in an embodiment of the present application;
fig. 5A is a schematic view of a first interface provided in an embodiment of the present application;
FIG. 5B is a schematic diagram of a first interface according to an embodiment of the present application;
fig. 5C is a schematic diagram of a first interface provided in an embodiment of the present application;
FIG. 5D is a schematic view of a first interface provided in an embodiment of the present application;
FIG. 6 is a schematic view of a second interface provided in an embodiment of the present application;
FIG. 7 is a schematic view of another second interface provided in an embodiment of the present application;
fig. 8 is a schematic diagram illustrating an adjustment of an FA service operation sequence according to an embodiment of the present application;
fig. 9A is a schematic diagram illustrating setting of a FA service trigger condition according to an embodiment of the present application;
fig. 9B is a schematic diagram illustrating a service trigger condition setting according to an embodiment of the present application;
fig. 10 is a schematic diagram of a service package assembly process provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating 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. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
In order to simplify the purpose of calling the UI corresponding to the service in the APP, the electronic device can provide a quick service calling mode so as to quickly display the UI corresponding to the service in the APP.
For example, a shortcut application (or called a shortcut application) is installed in the electronic device, and a user may create a service of an application that needs to be displayed quickly by running the shortcut application. After the electronic device creates the shortcut of the service through the shortcut operation application, a control corresponding to the shortcut of the service, such as an icon, a component (also called a card, a Widget), and the like, may be displayed on a main screen or a negative screen. When the icon or the component corresponding to the shortcut of the service is triggered, the electronic equipment runs the shortcut and displays the UI interface corresponding to the service applied in the shortcut. For example, the shortcut is a public transportation payment service of the electronic payment application, when the shortcut is triggered, the electronic device runs the electronic payment application and displays a UI interface corresponding to the public transportation payment service in the application, namely, a UI interface including a public transportation payment two-dimensional code.
The creation of Huachi with electronic devices will be described below
Figure BDA0002873654160000041
The shortcut of a Feature Ability (FA) service (for example, the announcement traffic payment service) in (or referred to as the first application) illustrates the operation process of the shortcut operation application.
Referring to fig. 1, a schematic diagram of creating a shortcut for a shortcut application is shown. As shown in fig. 1 (a), a home screen of the electronic device displays an icon of a shortcut application, and the electronic device runs the shortcut application in response to a click operation of the shortcut application icon by a user. The electronic device may display an interface as shown in fig. 1 (b), which is a UI interface for running a shortcut application, and the UI interface includes a creation option 10 therein.
The electronic device receives a click operation of the user on the create option 10, the electronic device displays an interface as shown in fig. 1 (c), which includes a shortcut name 11 and an option 12 to add a shortcut operation. The electronic device receives the click operation of the user on the option 12 for adding the shortcut operation, and the electronic device displays an interface shown in (d) in fig. 1. Wherein the interface shown in (d) of fig. 1 includes icons of a plurality of applications, such as huashi
Figure BDA0002873654160000042
An icon of an application, an icon of a clock application.
The electronic equipment receives a user to a first application (e.g., Huacheng) as shown in (d) of FIG. 1
Figure BDA0002873654160000043
Application), the electronic device displays an interface as shown in fig. 1 (e). As shown in FIG. 1 (e), the interface includes
Figure BDA0002873654160000044
Options for a number of services provided, such as a public transportation payment service option 13, a convenient payment service option 14, and a code scanning service option 15.
In response to a user's click operation on an option of the first service (e.g., the public transportation payment service option 13), the electronic device displays an interface as shown in fig. 1 (f). The interface shown in fig. 1 (f) includes: and the name of the application corresponding to the new shortcut operation is as follows: huashi
Figure BDA0002873654160000045
Name of service corresponding to new shortcut operation: a public transportation payment service. In response to a user clicking operation on an option of the next step shown in fig. 1 (f), the electronic device displays an interface shown in fig. 1 (g).
The interface shown in fig. 1 (g) includes a control 16 and an input box 17 for inputting a shortcut instruction name. The electronic device receives the shortcut command name "ride" input by the user, as shown in fig. 1 (h)The interface shown displays "ride" in input box 17. The electronic device receives a click operation of the user on the "done" option in the interface as shown in (h) in fig. 1, and the electronic device displays a home screen as shown in (i) in fig. 1. The interface shown in (i) of FIG. 1, the home screen includes
Figure BDA0002873654160000051
Short cut of medium public transportation payment service. The name of the shortcut is "ride". When the electronic equipment receives the clicking operation of the user on the riding control in the main screen shown in (i) of FIG. 1, the electronic equipment runs Huacheng
Figure BDA0002873654160000052
And displays a UI interface for public transportation payment.
It should be noted that after the process of creating the shortcut selects the first service in the first application, the electronic device displays an interface as shown in (f) of fig. 1. The electronic device may also continue to select a second service in the second application, and thus, two services may be included in the shortcut operation. When the shortcut operation is triggered, the electronic device displays a UI interface corresponding to a first service in the first application according to the sequence of creating the shortcut, and then displays a UI interface corresponding to a second service in the second application.
It can be understood that, as shown in fig. 1, the user needs to operate step by step according to the operation logic of the shortcut operation application to create the shortcut, and the operation is complicated and not easy to use. Moreover, when an application developer develops an application, the application developer is required to additionally configure a function for quickly calling a service for the service in the application, so that the burden of application development is increased, and the difficulty of application development is increased.
The embodiment of the application provides a method for creating a shortcut, and in response to preset operation of an application icon for a first application, an electronic device displays a service in the first application and generates the shortcut of the service according to received selection operation. Thus, when the icon or component of the shortcut of the service is triggered, the electronic device displays the UI interface of the service in the first application. Also, the shortcuts of services may be combined with each other to form a service package.
The method can be applied to the electronic equipment, and the electronic equipment receives the preset operation of the application icon and can display the service in the application. In this way, if the electronic device receives a selection operation of a service by a user, the electronic device can display a shortcut of the service corresponding to the application on a main screen or a negative screen. The operation mode simplifies the operation of quickly calling the service in the application, so that the service in the application is easy to call. In addition, the user can combine services of different applications according to the operation habit, the operation of quickly calling the services by the electronic equipment is simplified, and the response efficiency of the electronic equipment is improved.
Embodiments of the present application will be described below with reference to the drawings.
Please refer to fig. 2, which is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. 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. Wherein the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor 180M, etc.
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 memory, 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 may be, among other things, a neural center and a command center of the electronic device 100. 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). The I2S interface may be used for audio communication. The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. 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. 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. 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. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, 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 can be a wireless charger or a wired charger. 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 provides power to the processor 110, the internal memory 121, the external memory, 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.
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. The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. 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.
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 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 may include a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
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 processor is used for processing data fed back by the camera 193. The ISP can also carry out algorithm optimization on 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 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.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing 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 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 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. It should be noted that, in the embodiment of the present application, the operating system of the electronic device may include, but is not limited to, an operating system of the electronic device
Figure BDA0002873654160000071
(Symbian)、
Figure BDA0002873654160000072
(Android)、
Figure BDA0002873654160000073
(iOS)、
Figure BDA0002873654160000074
(Blackberry), hong meng (Harmony), etc., and the present application is not limited thereto.
The embodiment of the present application takes a harmon (Harmony) system with a hierarchical architecture as an example, and exemplifies a software structure of the electronic device 100. Please refer to fig. 3, which is a block diagram illustrating a software structure of the electronic device 100 according to an embodiment of the present disclosure. 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 Harmony system is divided into four layers, in order from bottom to top: the system comprises a kernel layer, a system service layer, a framework layer and an application layer.
As shown in fig. 3, the kernel layer is a layer between hardware and software. The kernel layer comprises two parts, a kernel subsystem and a driver subsystem.
The kernel subsystem of harmony os adopts a multi-kernel design, so that the electronic device 100 can select an appropriate kernel for different devices. The Kernel Abstraction Layer (KAL) in the Kernel subsystem can provide basic Kernel capability for upper layers (such as a system service Layer, a framework Layer and an application Layer) by shielding multi-Kernel differences. Kernel capabilities include, but are not limited to, process/thread management, memory management, file system, network management, peripheral management, and the like.
The driving subsystem in the kernel layer is a driving framework of the HarmonyOS, and the driving subsystem is a foundation that hardware equipment provided with the HarmonyOS is open in hardware ecology. In some embodiments, the driver subsystem develops, manages a framework for the capabilities and drivers of the external devices accessing the electronic device 100.
As shown in fig. 3, the system service layer is a core capability set of harmony os, and the system service can provide the required services for the application programs in the application layer through the framework layer. In some embodiments, the system services layer may include a system basic capability subsystem set, a base software services subsystem set, an enhanced software services subsystem set, a hardware services subsystem set, and the like.
The set of system base capability subsystems may provide basic capabilities for operations such as running, scheduling, migrating, etc. applications installed by electronic device 100. It will be appreciated that applications developed based on the HarmonyOS system are distributed applications. The system basic capability subsystem set can comprise subsystems such as a distributed soft bus, distributed data management, distributed task scheduling, ark multi-language operation, a public foundation library, multi-mode input, graphics, security and AI. The ark multi-language runtime can be a runtime in a plurality of computer languages such as C language/C + + language/js (javascript), and the system basic capability subsystem set can also provide a runtime in a Java program (i.e., a portion developed in Java language in an application program or framework layer) that is statically changed by using the ark compiler.
And the basic software service subsystem set can provide common and general software services for the Harmony OS. In some embodiments, the set of basic software service subsystems may include event notification, telephony, multimedia, Design For X (DFX), Multicast Source Discovery Protocol (MSDP) & DV subsystems, and so on.
The enhanced software service subsystem set is used for providing enhanced software services for the Harmony OS installed on different devices, and the software services can be adjusted according to hardware parameters of the different devices. For example, the display screens of a mobile phone and a smart watch are different in size, and when the same software is installed on the two devices, display interfaces suitable for the screen sizes of the devices can be provided for the different devices. The enhanced software service subsystem set can comprise subsystems such as smart screen proprietary service, wearing proprietary service and IoT proprietary service.
The hardware services subsystem may provide hardware services for harmony os. In some embodiments, the hardware service subsystems may include subsystems such as location services, biometric identification, wearing proprietary hardware services, Internet of Things (IoT) proprietary hardware services, and the like.
It can be understood that the system service layer can be tailored according to the deployment environment of different device forms, the interiors of the basic software service subsystem set, the enhanced software service subsystem set and the hardware service subsystem set according to the subsystem granularity, and the interiors of each subsystem can be tailored according to the function granularity.
As shown in fig. 3, the framework layer provides a program framework of multiple languages such as Java language/C + + language/JS language, an Application middle function (accessibility) framework, and an Application Programming Interface (API) in which various software and hardware services are open to the outside, for the Application installed in the harmony os. In some embodiments, a framework layer can also provide a multi-language framework API such as C language/C + + language/JS language for the electronic device installed with the harmony os, and the supported APIs of different electronic devices are related to the system componentization clipping degree.
As shown in fig. 3, the application layer includes a system application and a third party application. Applications may include cameras, galleries, calendars, maps, and the like.
It should be noted that applications developed based on harmony os include at least one Feature Ability (FA) or Particle Ability (PA). The FA has a corresponding User Interface (UI) Interface, and can interact with a User through the UI Interface. The PA has no UI interface, and the PA is used for providing the application with the capability of running tasks in the background of the system and application data access. In some embodiments, the application developed based on the FA/PA can realize specific application functions, and support capability scheduling and data distribution among multiple devices.
Illustratively, when the electronic device installs harmony os, the application is published in the form of an application package (APP Pack), and the APP Pack includes at least one FA. Each application comprises at least one service, each service corresponds to one FA, and each FA has a corresponding UI interface. For example, Hua is
Figure BDA0002873654160000091
The application comprises public transport payment service, convenient collection service, two-dimension code scanning service and the like, each service corresponds to one FA, the FA interface of the public transport payment service is a payment two-dimension code, the FA interface of the convenient collection service is a collection two-dimension code, and the FA interface of the two-dimension code scanning service is a code scanning interface. When a service in the payment application is set to be shortcut, the shortcut is triggered to enable the electronic device to display an FA interface corresponding to the service.
The workflow of the software and hardware of the electronic device 100 is exemplarily described below in connection with a scenario in which the public transportation payment service of the electronic payment APP is triggered.
Electronic equipment installs electron payment APP, and electronic equipment's main screen shows the application icon of electron payment APP. The touch screen of the electronic equipment receives clicking operation of a user on an application icon of the electronic payment APP, the touch sensor transmits the received clicking operation to the kernel layer, and the kernel layer processes the touch operation into an input event (used for the electronic equipment to operate the electronic payment APP) for operating the electronic payment APP. And the kernel layer calls the basic software service subsystem set, and the electronic equipment starts to operate the electronic payment APP. Through the main screen of the electronic payment APP planned by the graphic submodule, and the main screen of the electronic payment APP is transmitted to the display screen of the electronic equipment, the electronic equipment displays the main screen of the electronic payment APP (namely, the running interface of the electronic payment APP).
When the touch screen receives a touch operation for calling public transportation payment service in the electronic payment APP, a touch sensor in the electronic equipment transmits the touch operation to the kernel layer. The kernel layer processes the touch operation into an input event of the electronic payment type APP (an event for calling the public transportation payment service of the payment type APP). The core layer calls an availability frame in the system basic capability subsystem set, the availability frame runs an FA interface corresponding to the public transportation payment service planned through the graphic sub-module, and the FA interface corresponding to the public transportation payment service is displayed through the display.
The implementation methods in the following embodiments can be implemented in an electronic device having the above hardware structure.
The method provided by the embodiment of the present application is described in an embodiment of the present application, which takes an electronic device as an example, where the electronic device is a mobile phone installed with a harmony os operating system. It can be understood that, in the case that the electronic device is installed with another operating system, the electronic device may also implement the method provided in the embodiments of the present application.
Please refer to fig. 4, which is a flowchart of a method for creating a shortcut provided in an embodiment of the present application. As shown in fig. 4, the method includes steps 401-403.
Step 401: the mobile phone receives a first preset operation aiming at an application icon of a first application, and displays a first interface comprising at least one FA service.
The first preset operation is used for displaying the FA service in the first application. The first preset operation may be a touch operation on an application icon of the first application, or the first preset operation may also be a proximity operation on the application icon of the first application.
(case one) the first preset operation is a touch operation on an application icon of the first application. For example, the first preset operation may be a single-click operation, a double-click operation, a long-press operation, or the like. It is understood that the first preset operation may be any touch operation for displaying the FA service in the first application.
For example, please refer to fig. 5A, which is a schematic diagram of a mobile phone displaying a first interface. Taking the example that the first application is electronic payment, as shown in (a) in fig. 5A, the mobile phone home screen includes an application icon for electronic payment, the application icon for electronic payment receives the first preset operation, and the mobile phone displays the first interface 51 as shown in (b) in fig. 5A. As shown in fig. 5A (b), the first interface 51 includes an FA service in electronic payments, which includes: a public transportation payment service option 52, a convenient payment service option 53, and a code scanning service option 54.
The (case two) first preset operation may be a proximity operation to the first application icon. For example, a control in a dragging mode (or referred to as a first control) is dragged to an area where an application icon of a first application is located, so that the control is close to the application icon of the first application.
The dragging mode represents that a user finger contacts with a display screen of the mobile phone, and the display position of a control (such as the control 503) in the display interface follows the position of the finger on the display screen. When the finger slides on the display screen, the control 503 follows the sliding of the finger.
Illustratively, the home screen includes a control 503 corresponding to the riding, and the control 503 is in a dragging mode. As shown in fig. 5B, when a finger of a user contacts a first position 501 of a display screen of a mobile phone, a control 503 is displayed in an area corresponding to the first position 501, and when the finger of the user slides to a second position 502, the control 503 is displayed in an area corresponding to the second position 502. In the process that the finger of the user slides from the first position 501 to the second position 502, the finger of the user is always in contact with the touch screen of the mobile phone. When the user's finger leaves the mobile phone display screen in the sliding process of the mobile phone display screen (that is, the user's finger and the mobile phone display screen are in a non-contact state), the area where the user's finger leaves the mobile phone display screen last is the position where the control 503 finally stops. Assuming that when the user's finger slides from the first position 501 to the second position 502, the user's finger leaves the display screen of the mobile phone, the final position of the control 503 in the drag mode is the area corresponding to the second position 502.
Also illustratively, the cell phone displays a home screen as shown in fig. 5C (a), which includes application icons 504 and controls 505 for the electronic payment application. The mobile phone receives a second preset operation on the control 505, and in response to the second preset operation, the mobile phone displays that the control 505 is in a dragging mode as shown in (b) in fig. 5C, and the position of the control 505 can change along with the position of the finger of the user. Thus, as shown in fig. 5C (C), the user may drag control 505 to the area of the electronic payment application where application icon 504 is located. It is understood that the second preset operation for activating the dragging mode may be a long-press control, a double-click control, and the like, and the second preset operation is not specifically limited herein.
Optionally, as shown in (b) in fig. 5C, in response to the second preset operation, the mobile phone may reduce the display size of the control 505. As shown in fig. 5C (C), when the user drags control 505 near application icon 504 of the electronic payment application, the cell phone can display an active proximity area (e.g., area 506) of application icon 504 of the electronic payment. That is, when the user's finger leaves the display screen of the mobile phone, if the control 503 is in the area 506 (i.e., there is an overlap between the display area of the control 504 and the area 506), the mobile phone displays the first interface as shown in fig. 5A (b).
It should be noted that, in the above embodiment, the application icon of the first application is dragged to the control, and it is understood that the method provided in the embodiment of the present application is also applicable to the situation of dragging the application icon of the first application to the control. That is to say, the application icon of the first application in the dragging mode may be dragged to approach the control, and if the application icon of the first application is in the effective approach area of the control when the user finger leaves the display screen of the mobile phone, the mobile phone displays the first interface.
It should be noted that, if the number of the included FA services in the first application is large and the first interface cannot display all the FA service names in the first application, the user may slide the first interface (e.g., an operation of sliding the finger of the user upward) to display other FA service names that are not displayed.
Illustratively, the first interface schematic shown in fig. 5D (a). As shown in fig. 5D (a), the FA service name in the first application, wherein the first interface 51 includes a first FA service, a second FA service, a third FA service, a fourth FA service, a fifth FA service, a slider 55 and a regulating block 56. When the mobile phone receives a sliding operation (e.g., an upward sliding operation) of the user on the first interface, the mobile phone may display the first interface as shown in fig. 5D (b), where the first interface 51 includes a second FA service, a third FA service, a fourth FA service, a fifth FA service, and a sixth FA service, a slider 55, and a regulating block 56. It is understood that the position of the slider 55 is changed, compared to (a) of fig. 5D, in which the FA service name of the display of the first interface of (b) of fig. 5D is different.
Step 402: and responding to the selection of the first FA service by the user, and displaying a second interface by the mobile phone, wherein the second interface is used for creating a shortcut of at least one service, and the at least one service comprises the first FA service.
(situation one)
Illustratively, as described above, when the mobile phone receives the first preset operation, the mobile phone displays the first interface 51 as shown in fig. 6 (a). As shown in fig. 6 (b), in response to the cell phone receiving a user's click operation on an option (e.g., the public transportation payment service option 52) of the first FA service in the first interface 51, the cell phone may display a second interface for creating a shortcut of the first FA service.
Wherein the second interface may include: a shortcut name 61 (as the name: FA service 1 in the figure), a service option 62, an add option 63, a control display style 64, a control display location option 65, etc.
Wherein the shortcut name 61 is used to display the shortcut name. The handset can generate a default shortcut name (e.g., FA service 1); if necessary, the user may also input a custom shortcut name, and the embodiment of the present application is not limited.
Wherein the service option 62 is used to display the service comprised by the shortcut. The service options 62 include options for a first FA service (e.g., a public transportation payment service for an electronic payment application). It should be noted that, when the electronic payment provides the public transportation payment service 52 for the user, an interface (for example, an interface including a payment code) corresponding to the public transportation payment service option 52 needs to be displayed, so that the switch corresponding to the "run-time display" of the first FA service is in the default on state. If the first FA service is playing a song in the first song list in the music application, since the electronic device may not display the UI interface for music playing when the electronic device provides the service for playing the song in the first song list, the switch corresponding to the "run-time display" in the service option may be in an off state.
Wherein the add option 63 is used to add the FA service for shortcut invocation. Illustratively, the handset may display a third interface in response to the add option 63 being triggered. The third interface may include a FA service card name, a FA service package name, or an FA service name provided by an application program in a main screen or a negative screen of the mobile phone, and the user may select an FA service to be added.
The control display style 64 may include options such as icon 1, icon 2, component 1, component 2, and card 1. When the mobile phone receives the click operation of the user on the completion option 66, if the icon 1 in the display style option 64 is in a selected state, the style of the shortcut generated by the mobile phone is the icon 1; if the icon 2 in the control display style 64 is in the selected state, the style of the shortcut generated by the mobile phone is the icon 2.
Similarly, the control display position options 65 may include a home screen, minus one screen, and the like. When the mobile phone receives the click operation of the user on the completion option 66, if the main screen in the control display position option 65 is in the selected state, the mobile phone creates the shortcut on the main screen; if the control displays that the negative screen in the position options 65 is in the selected state, the mobile phone creates the shortcut on the negative screen.
Alternatively, if the operation of selecting the display style is not received, the mobile phone may display the shortcut in a default style (such as icon 1). If no operation of selecting a display position is received, the mobile phone can display a shortcut at a default position (such as a main screen).
(case two)
Illustratively, as described above, in response to a first preset operation of bringing a control (e.g., the control 505) close to an application icon (e.g., an application icon for electronic payment) of a first application, as shown in fig. 7 (a) to 7 (b), the mobile phone displays a first interface 51 including an FA service provided by the first application. In response to the handset receiving an operation of the user selecting a first FA service (e.g., a public transportation service) from the first interface 51, the handset may display a second interface as shown in fig. 7 (c) or as shown in fig. 7 (d). The second interface shown in fig. 7 (c) or fig. 7 (d) may include a shortcut name 61, a service option 62, an add option 63, a control display style 64, a control display position option 65, a complete option 66, and the like, and specific contents are referred to above and are not described herein again.
Specifically, when the control 505 is an application icon (e.g., an application icon of a second application), the mobile phone displays a second interface as shown in fig. 6 (b).
Specifically, when the control 505 is a shortcut of the second FA service, the handset displays a second interface as shown in fig. 7 (c), where the service options 62 include an option 70 of the first FA service and an option 71 of the second FA service. When the control 505 is a shortcut of the third FA service and the fourth FA service, the handset displays a second interface as shown in fig. 7 (d), where the service options 62 include an option 70 of the first FA service, an option 72 of the third FA service, and an option 73 of the fourth FA service.
In this case, if the handset does not receive a user's deletion operation of the FA service, the handset may generate shortcuts corresponding to a plurality of FA services (hereinafter referred to as FA service packs) in response to a user's click operation of the completion option 66, and display them on the main screen or minus one screen.
It can be understood that the FA service package includes at least two FA services. Taking the FA service package including the third FA service and the fourth FA service as an example, when the mobile phone triggers the shortcut of the FA service package, the mobile phone may display the UI interface corresponding to the third FA service and then display the UI interface corresponding to the fourth FA service. Or, the mobile phone may also display the UI interface corresponding to the third FA service and the UI interface corresponding to the fourth FA service at the same time.
For example, the third FA service is line navigation in a map application, and the fourth FA service is short messaging to Mary (contact) in a short messaging application. When the mobile phone runs the FA service pack, the mobile phone adopts a display mode of split screen display to display a UI interface of line navigation and a UI interface of sending short messages to Mary.
For example, when the mobile phone runs the FA service package and sequentially displays the UI interface corresponding to each FA service according to the running order, the mobile phone may determine the running order of the multiple FA services in the service package by using the following policy.
Strategy one: and determining the operation sequence of the FA services in the FA service package according to the use habits.
Specifically, take the example that the FA service package includes the third FA service and the fourth FA service. The mobile phone determines that the FA service package comprises a third FA service and a fourth FA service, and the mobile phone determines the operation sequence of the third FA service and the fourth FA service according to the use habit. If the user's usage habit is to run the third FA service first and then run the fourth FA service, the running order in the service package is to run the third FA service first and then run the fourth FA service.
The usage habit may be determined according to the acquired operation data. Wherein the operational data may include: the running times of each application, the running times of each FA service, the use sequence among different applications, the use sequence of the application and the FA service, and the use sequence among different FA services.
If the mobile phone counts that the frequency of using the card punching service in the office application is high after the user uses the route navigation service of the map application to reach the company on a weekday, the usage habit of the user can be determined to be that the office application is operated after the map application is operated (or the card punching service is operated after the route navigation service is operated). For another example, after the alarm clock application runs, the frequency of playing the songs in the first music list by running the music application through the mobile phone is higher, and it may be determined that the use habit of the user is that the songs in the first music list are played by running the music application after the alarm clock application runs.
The usage habits of the user may include usage habits of the user on different devices, or may include only usage habits of the user on a certain device.
In addition, the usage habit may also be determined based on operation data of different users. For example, 60% of users have a habit of running the map application and then running the office application, and it can be determined that the use habit of the user is that the map application is run first and then the application is run.
It can be understood that the policy one can automatically determine the operation sequence of the FA service, that is, the operation sequence of the FA in the FA service package is automatically generated in the case that the user is not aware (i.e., does not interact with the user).
It should be noted that, when the FA service package includes more than three FA services, the mobile phone may determine an operation sequence of two of the FA services, and then set an execution sequence of a third FA service (i.e., an FA service other than any two FA services), and so on.
Take the determination of the operation order of the first FA service, the second FA service, and the third FA service as an example. The mobile phone may determine the operation sequence of the first FA service and the second FA service according to the usage habit: the first FA service is operated, then the second FA service is operated, and then the operation order of the third FA service and the combination (namely the combination of the first FA service and the second FA) is determined according to the use habit. Thus, the handset can determine the running order of the service package including the first FA service, the second FA service, and the third FA service.
Alternatively, the process of determining the running order may be simplified by querying the trigger condition list.
For example, the mobile phone may obtain the trigger condition of the FA service by querying the trigger condition list. Please refer to table 1, which is a trigger condition list provided in the embodiments of the present application.
Table 1 trigger condition list for FA service
Figure BDA0002873654160000131
For example, take the case where one FA service is a route 1 navigation of a map application and another FA service is a card punching service of an office application. It can be known by referring to the above table that the trigger condition for route guidance includes an arrival point and a departure point, and a first operation frequency at which the card punching service is operated when route guidance (i.e., departure point) is started and a second operation frequency at which the card punching service is operated when the destination of the route 1 (i.e., arrival point) is reached are counted. If the first operating frequency and the second operating frequency are both smaller than a preset first threshold, the mobile phone can determine that the route 1 navigation and the card punching service do not have an association relationship. If the first operation frequency or the second operation frequency is larger than a preset second threshold value, the mobile phone can determine that the route 1 navigation and the card punching service have an association relationship. Under the condition that the route 1 navigation and the card punching service have an association relationship, if the first operation frequency is greater than the second operation frequency, the operation sequence can be determined as the route 1 navigation is operated firstly, and the card punching service is operated after the route 1 navigation reaches the destination. That is to say, when there are multiple trigger conditions in the trigger list, as long as the operating frequency corresponding to one of the trigger conditions is greater than the preset first threshold, it can be considered that the FA service has an association relationship. When the operating frequencies corresponding to the plurality of trigger conditions are all larger than the preset second threshold, the optimal trigger condition can be further determined according to the operating frequencies.
And (2) strategy two: and sequentially operating the FA services in the FA service package according to the operation sequence set by the user.
After the two FA services are combined together, the mobile phone can display a corresponding interface so that a user can set the operation sequence of the FA services.
For example, as shown in fig. 8 (a), the service options include an option 70 of the first service, an option 72 of the third service, and an option 73 of the fourth service. The user can move the position of any FA service option to adjust the operation sequence of the FA service corresponding to the service option.
For example, as shown in fig. 8 (a), the service package is operated in the order of operating the first FA service (public transportation payment service), then operating the third FA service, and then operating the fourth FA service, so that the option 70 of the first service, the option 72 of the third service, and the option 73 of the fourth service are sequentially displayed from top to bottom. The mobile phone receives the operation of the option 70 of moving the first service, and adjusts the running sequence of the FA service corresponding to the service option. For example, if the mobile phone displays the interface shown in fig. 8 (b), and sequentially displays the option 72 of the third service, the option 73 of the fourth service, and the option 70 of the first service from top to bottom, the operation sequence of the service package is changed to operate the third FA service first, then operate the fourth FA service, and then operate the public transportation payment service.
Further, the user may also set a trigger condition.
Illustratively, the handset displays an interface as shown in fig. 9A (a), including editing options 80, and service options including a first alarm and playing songs from a first music list. The running sequence of the service pack is that the first alarm clock is run first, and then songs in the first music list are played. When the mobile phone receives a user click operation on the edit option 80, the mobile phone displays an interface as shown in fig. 9A (b).
When the mobile phone displays the interface shown in (b) in fig. 9A, the mobile phone receives a click operation of the user on the change option 81 of the first alarm clock option, and then the mobile phone displays the interface shown in (c) in fig. 8. As shown in fig. 9A (c) for an interface for editing the trigger condition, it is assumed that the trigger condition set by the user is "when the first alarm clock is stopped". When the trigger condition setting is completed, the mobile phone displays an interface as shown in fig. 9A (d), which indicates the running order of the two FA services when the service package is running, and the trigger condition. As shown in fig. 9A (d), when the service pack is running, the first alarm clock is run first, and when the first alarm clock stops, the songs in the first music list are played (i.e., the first music list is played after the service pack is run).
It should be noted that, after the user sets the trigger condition, the user may also modify the trigger condition for the FA service to run.
For example, as shown in fig. 9B (a), when the service package is running, the first line navigation is run first, and when the first line navigation is finished, the card punching reminder is displayed. Wherein the triggering condition of the service package is the end of the first line navigation. If the cellular phone receives a click operation of the change option 81 of the first route navigation by the user, the cellular phone may display an interface as shown in (B) in fig. 9B, a change condition option 82, and a delete option 83. If the mobile phone receives a user click operation on the change condition option 82, the mobile phone may display an interface as shown in fig. 9A (c). If the mobile phone receives the click operation of the user on the deletion option 83, the trigger condition (namely the end of the first line navigation) is deleted.
In the first case, the service option in the second interface includes a first FA service in the first application. In the second case, if the control close to the first application is a control corresponding to any application program, the service option in the second interface includes a first FA service in the first application; if the control of the first application is close to the control corresponding to the FA service (such as the control 503 or the control 505), the service options in the second interface include the first FA service in the first application and the second FA service corresponding to the control.
When the service option includes at least two FA services, on one hand, the operation order of the FA services in the FA service package can be determined according to the usage habit. Wherein after determining the running order of the FA service, the trigger condition of the FA service can be determined by querying the trigger condition list. Alternatively, the process of determining the operation order of the FA service can be simplified by querying the trigger condition list. On the other hand, the mobile phone can also sequentially run the FA services in the FA service packages according to the running sequence set by the user, and further, the mobile phone can also obtain the triggering conditions set by the user and run the FA service packages according to the triggering conditions set by the user.
It should be noted that the foregoing embodiment is described by taking a control as an example of a control (i.e., control 503) of one FA service, and it is understood that the control may also be a shortcut (i.e., control 505) of a service package including multiple FA services, or a shortcut of an application including multiple services.
Step 403: the mobile phone displays a control corresponding to the first service, wherein the control corresponding to the first service corresponds to the first FA service.
Taking the second interface shown in fig. 7 (c) as an example, the mobile phone may receive a service name input by the user, edit a plurality of FA services, and select an icon corresponding to the FA service package by the user. And the mobile phone displays a control corresponding to the first service based on the information of the second interface.
It should be noted that in the second scenario, if the control 503 or the control 505 is close to the first application, the control corresponding to the first service includes the first FA service, and the FA service corresponding to the control 503 or the FA service corresponding to the control 505.
As shown in fig. 10, a process of combining two FA service cards into one service package card is illustrated. As shown in (a) of fig. 10, the home screen includes an FA service 1 and an FA service 2, the FA service 1 corresponding to a first FA service, and the FA service 2 corresponding to a second FA service. The control of the FA service 1 receives a first preset operation, and the control of the FA service 1 is activated to be in a dragging state. As shown in fig. 10 (b), the control corresponding to the FA service 1 is dragged to the area where the control corresponding to the FA service 2 is located, so that the first FA service in the FA service 1 and the second FA service in the FA service 2 combine one service package card. The handset displays an interface as shown in fig. 10 (c), and the service pack card includes the first FA service and the second FA service. After the mobile phone determines the number of FA services included in the service bundle, the mobile phone displays a main screen as shown in (d) in fig. 10, the main screen including controls of the service bundle cards. The service pack card corresponds to the first FA service and the second FA service.
It can be understood that the area of the service icon corresponding to the service 1 in the home screen is larger than the area of the home screen occupied by the application icon, and when the service 1 is in the drag mode, the area of the service icon can be scaled down.
It can be understood that, in the control method provided in the embodiment of the present application, parameters of multiple devices can be simultaneously controlled, and the control efficiency of the devices is improved. Moreover, the electronic equipment can display the corresponding equipment parameters according to the controlled equipment, and elements displayed on an interface of the electronic equipment are reduced, so that the interface elements of the electronic equipment are simpler, and the control efficiency of the equipment parameters is improved.
It is understood that the electronic device provided in the embodiments of the present application includes a hardware structure and/or a software module for performing the above functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 11 shows a schematic diagram of a possible structure of the electronic device involved in the above-described embodiment. The electronic device 100 includes: a processing unit 1001, a display unit 1002, a control unit 1003, and a storage unit 1004.
The processing unit 1001 is configured to control and manage operations of the electronic device 100. For example, the processing unit 1001 may be used to control display content in a display interface of the electronic device, and may also be used to control a network to which the electronic device is connected.
The display unit 1002 is configured to display an interface of the electronic device. For example, the electronic device displays a first interface, and so on.
A control unit 1003 for controlling device parameters for communicating with the electronic device, for example, the electronic device may control a plurality of device parameters through the control unit 1003, so that the parameters of the plurality of devices are changed.
A storage unit 1004 for storing program codes and data of the electronic device 100. For example, it may be used to store desktop layout files, etc.
Of course, the unit modules in the electronic device 100 include, but are not limited to, the processing unit 1001, the display unit 1002, the control unit 1003, and the storage unit 1004. For example, an audio unit, a communication unit, and the like may also be included in the electronic apparatus 100. The audio unit is used for collecting voice sent by a user and playing the voice. The communication unit is used to support communication between the electronic apparatus 100 and other devices.
The processing unit 1001 may be a processor or a controller, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may include an application processor and a baseband processor. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The storage unit 1004 may be a memory. The audio unit may include a microphone, a speaker, a receiver, and the like. The communication unit may be a transceiver, a transceiving circuit or a communication interface, etc.
For example, the processing unit 1001 is a processor (such as the processor 110 shown in fig. 2), the display unit 1002 may be a display screen (such as the display screen 194 shown in fig. 2, the display screen 194 may be a touch screen, a display panel and a touch panel may be integrated in the touch screen), and the storage unit 1004 may be a memory (such as the internal memory 121 shown in fig. 2).
The embodiment of the present application further provides a chip system, as shown in fig. 12, the chip system includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 may be interconnected by wires. For example, the interface circuit 1102 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 1102 may be used to send signals to other devices, such as the processor 1101. Illustratively, the interface circuit 1102 may read instructions stored in the memory and send the instructions to the processor 1101. The instructions, when executed by the processor 1101, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for creating a shortcut, the method is applied to an electronic device, a first application is installed in the electronic device, the first application comprises one or more services, and the one or more services comprise a first service; the method comprises the following steps:
displaying an application icon of the first application;
receiving a first preset operation on an application icon of the first application;
in response to the first preset operation, displaying one or more service options, wherein the one or more service options respectively correspond to one or more services of the first application, and the one or more service options comprise a first service option corresponding to the first service;
receiving a selection operation of the first service option;
and responding to the selection operation, and displaying a setting interface, wherein the setting interface is used for setting the shortcut of the first service.
2. The method of claim 1, wherein the first preset operation comprises a single click operation, a double click operation or a long press operation on an application icon of the first application.
3. The method of claim 1 or 2, wherein the setup interface comprises: at least one of a name of the shortcut, a style of the shortcut, and a display position of the shortcut.
4. A method for creating a shortcut, the method is applied to an electronic device, a first application is installed in the electronic device, the first application comprises one or more services, and the one or more services comprise a first service; the method comprises the following steps:
displaying a first control and an application icon of the first application, wherein the first control is a shortcut of a second service;
receiving a first preset operation on the first control and an application icon of the first application;
in response to the first preset operation, displaying one or more service options, wherein the one or more service options respectively correspond to one or more services of the first application, and the one or more service options comprise a first service option corresponding to the first service;
receiving a selection operation of the first service option;
and responding to the selection operation, and displaying a setting interface, wherein the setting interface is used for setting shortcuts of the first service and the second service.
5. The method of claim 4, further comprising:
determining an operating order of the first service and the second service.
6. The method of claim 5, wherein determining the running order of the first service and the second service comprises:
and determining the running sequence of the first service and the second service according to user setting and/or use habits.
7. The method of claim 6, wherein determining the order of execution of the first service and the second service further comprises:
and determining the running sequence of the first service and the second service according to a preset trigger condition.
8. The method of any of claims 4-7, wherein the settings interface includes service options, and wherein the service options include a first service option for a first service and a second service option for a second service.
9. The method of claim 8, wherein the setup interface further comprises an add option for adding a service option and/or a delete option for deleting a service option.
10. The method of claim 8 or 9, wherein the setup interface further comprises: name of shortcut, display style and/or display location.
11. An electronic device, characterized in that the electronic device comprises: a memory, a display screen, and one or more processors; the memory, the display screen, and the processor are coupled;
wherein the memory is for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-3.
12. An electronic device, characterized in that the electronic device comprises: a memory, a display screen, and one or more processors; the memory, the display screen, and the processor are coupled;
wherein the memory is for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 4-10.
13. 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-3.
14. 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 4-10.
CN202011629173.1A 2020-12-30 2020-12-30 Method for creating shortcut and related equipment Pending CN114690986A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011629173.1A CN114690986A (en) 2020-12-30 2020-12-30 Method for creating shortcut and related equipment
PCT/CN2021/127418 WO2022142674A1 (en) 2020-12-30 2021-10-29 Shortcut creation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011629173.1A CN114690986A (en) 2020-12-30 2020-12-30 Method for creating shortcut and related equipment

Publications (1)

Publication Number Publication Date
CN114690986A true CN114690986A (en) 2022-07-01

Family

ID=82134376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011629173.1A Pending CN114690986A (en) 2020-12-30 2020-12-30 Method for creating shortcut and related equipment

Country Status (2)

Country Link
CN (1) CN114690986A (en)
WO (1) WO2022142674A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700853A (en) * 2022-09-22 2023-09-05 荣耀终端有限公司 Page display method, device, terminal and storage medium
WO2024060968A1 (en) * 2022-09-19 2024-03-28 华为技术有限公司 Service widget management method and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002402A (en) * 1997-04-09 1999-12-14 Symantec Corporation System and method for producing a drag-and-drop object from a popup menu item
CN102479028A (en) * 2010-11-24 2012-05-30 上海三旗通信科技股份有限公司 Method for realizing intelligent standby function
KR101357261B1 (en) * 2012-02-22 2014-02-05 주식회사 팬택 Apparatus and method for creating a shortcut menu and mobile device including the apparatus
EP3683664A4 (en) * 2017-10-20 2020-11-11 Huawei Technologies Co., Ltd. Icon display method, device, and system
CN110837404A (en) * 2019-10-29 2020-02-25 腾讯科技(深圳)有限公司 Shortcut operation processing method and device for internal function module and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060968A1 (en) * 2022-09-19 2024-03-28 华为技术有限公司 Service widget management method and electronic device
CN116700853A (en) * 2022-09-22 2023-09-05 荣耀终端有限公司 Page display method, device, terminal and storage medium

Also Published As

Publication number Publication date
WO2022142674A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
WO2020238774A1 (en) Notification message preview method and electronic device
WO2021018067A1 (en) Floating window management method and related device
WO2020177622A1 (en) Method for displaying ui assembly and electronic device
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
WO2021036571A1 (en) Desktop editing method and electronic device
WO2021000881A1 (en) Screen splitting method and electronic device
KR102534354B1 (en) System navigation bar display control method, graphical user interface and electronic device
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2021115194A1 (en) Application icon display method and electronic device
WO2021121052A1 (en) Multi-screen cooperation method and system, and electronic device
CN111147660B (en) Control operation method and electronic equipment
WO2020238759A1 (en) Interface display method and electronic device
WO2022017393A1 (en) Display interaction system, display method, and device
WO2022142674A1 (en) Shortcut creation method and related device
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device
WO2022188632A1 (en) Theme display method and apparatus, terminal, and computer storage medium
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium
WO2022160999A1 (en) Display method and electronic device
WO2023045774A1 (en) Display method and electronic device
WO2023029985A1 (en) Method for displaying dock bar in launcher and electronic device
WO2023217142A1 (en) Window size adjustment method, and related apparatus and communication system
WO2023231893A1 (en) Cursor display method and electronic device
WO2023226922A1 (en) Widget management method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40071481

Country of ref document: HK