WO2021109961A1 - 快捷标识生成方法、电子设备及介质 - Google Patents

快捷标识生成方法、电子设备及介质 Download PDF

Info

Publication number
WO2021109961A1
WO2021109961A1 PCT/CN2020/132641 CN2020132641W WO2021109961A1 WO 2021109961 A1 WO2021109961 A1 WO 2021109961A1 CN 2020132641 W CN2020132641 W CN 2020132641W WO 2021109961 A1 WO2021109961 A1 WO 2021109961A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
electronic device
target page
shortcut identifier
shortcut
Prior art date
Application number
PCT/CN2020/132641
Other languages
English (en)
French (fr)
Inventor
梁康武
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021109961A1 publication Critical patent/WO2021109961A1/zh

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/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
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the embodiments of the present invention relate to the field of communication technology, and in particular, to a method for generating a shortcut identifier, an electronic device, and a medium.
  • the menu usually has many buttons with different functions.
  • a user wants to create a shortcut logo of the target page of a certain application, he often needs to open the settings menu. Find the button used to generate the shortcut logo in, and then click this button to generate the shortcut logo, the operation is cumbersome.
  • the embodiment of the present invention provides a method for generating a shortcut logo, which can solve the problem of cumbersome operation of generating a shortcut logo in the prior art.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a method for generating a shortcut identifier, which is applied to an electronic device, and includes:
  • a first shortcut identifier of the target page is displayed, where the first shortcut identifier includes at least a part of the first screenshot image.
  • an electronic device including:
  • the first receiving module is used to receive the first input of the user
  • the first screenshot module is configured to take a screenshot of the target page of the target application in response to the first input;
  • the output module is configured to output a first screenshot image in response to the first input
  • the first display module is configured to display a first shortcut identifier of the target page, where the first shortcut identifier includes at least a part of the first screenshot image.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following On the one hand, the steps of the method for generating a shortcut logo.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the steps of the method for generating a shortcut identifier in the first aspect are implemented. .
  • the electronic device receives the first input of the user; responds to the first input, takes a screenshot of the target page of the target application, and outputs the first screenshot image; and displays the first shortcut of the target page
  • the first shortcut identifier includes at least a part of the first screenshot image, which can be achieved by taking a screenshot of the target page of the target application, and the first shortcut identifier can be obtained without entering the settings menu to search for
  • the quick-labeled buttons are simple and quick to operate.
  • FIG. 1 is a flowchart of a method for generating a shortcut identifier provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of the interface of the target page of the target application of the method for generating a shortcut identifier according to an embodiment of the present invention
  • FIG. 3 is the second schematic diagram of the interface of the target page of the target application of the method for generating a shortcut identifier according to an embodiment of the present invention
  • FIG. 4 is the third schematic diagram of the interface of the target page of the target application of the method for generating a shortcut identifier according to an embodiment of the present invention
  • FIG. 5 is one of the schematic diagrams of the desktop interface of the shortcut identification generation method provided by the embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first”, “second”, “third”, and “fourth” in the specification and claims of the present invention are used to distinguish different objects, rather than describing a specific order of objects.
  • first input, the second input, the third input, and the fourth input are used to distinguish different inputs, rather than to describe the specific order of the inputs.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units; multiple elements Refers to two or more elements, etc.
  • the embodiment of the present invention provides a method for generating a shortcut logo by receiving a user's first input; responding to the first input, taking a screenshot of a target page of a target application, and outputting a first screenshot image; displaying the target page
  • the first shortcut identifier, the first shortcut identifier includes at least part of the first screenshot image, so through this solution, the first shortcut identifier can be obtained by taking a screenshot of the target page of the target application. Enter the setting menu to find the button used to generate the shortcut logo, the operation is simple and quick.
  • the electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device.
  • Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks, or personal digital assistants (personal digital assistants, PDAs), etc.
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
  • the electronic device may be a multi-screen electronic device, such as a double-sided screen electronic device, a folding screen electronic device, etc., which is not limited in the embodiment of the present invention.
  • the execution subject of the shortcut identification generation method provided by the embodiment of the present invention can be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or can be a functional module and/or functional entity in the electronic device that can implement the method.
  • the details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • an electronic device is taken as an example to illustrate the method for generating a shortcut identifier provided by the embodiment of the present invention.
  • an embodiment of the present invention provides a method for generating a shortcut identifier, which is applied to an electronic device, and the method may include the following steps 101 to 103.
  • Step 101 Receive a user's first input.
  • the first input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • An input may also be the first operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single point input, such as a single finger for sliding input, fingerprint input, click input, etc.; it can also be a multi-point input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • Step 102 In response to the first input, take a screenshot of the target page of the target application, and output a first screenshot image.
  • the outputting the first screenshot image includes: displaying the first screenshot image, generating and saving the first screenshot image in the background, or generating the first screenshot image in the background.
  • displaying the first screenshot image means that after taking a screenshot of the target page of the target application, the first screenshot image is displayed in the target page; generating and saving the first screenshot image in the background means that the first screenshot image is generated and saved in the background of the target application. After taking a screenshot of the page, there is no need to display the first screenshot image in the target page.
  • the first screenshot image generated in the background means that the target application After taking a screenshot on the target page of, there is no need to display the first screenshot image in the target page, only the first screenshot image is generated in the background, and the first screenshot image is not saved, after the first shortcut logo is generated, the first screenshot image is deleted , Does not occupy memory.
  • Step 103 Display a first shortcut identifier of the target page, where the first shortcut identifier includes at least a part of the first screenshot image.
  • the first shortcut identifier is an entry of the target page, and the first shortcut identifier is used to quickly jump to the target page, that is, the user can jump to the target page by touching the first shortcut identifier.
  • the embodiment of the present invention is used to generate a shortcut logo for any page of any application.
  • the user wants to generate a shortcut logo for a certain page of a certain application, the user only needs to take a screenshot of the page, that is, The shortcut logo of the page can be displayed.
  • the display position of the first shortcut identifier is any page of the desktop of the electronic device.
  • the first shortcut identifier may include all of the first screenshot image, or may include part of the first screenshot image.
  • the first shortcut identification of the target page can be displayed.
  • the electronic device receives the first input of the user; responds to the first input, takes a screenshot of the target page of the target application, and outputs the first screenshot image; and displays the first shortcut of the target page
  • the first shortcut identifier includes at least a part of the first screenshot image, and the first shortcut identifier can be displayed by taking a screenshot of the target page of the target application, and the operation is simple and quick.
  • step 103 it further includes:
  • Step 103a Receive a user's sixth input of the first shortcut identifier.
  • the sixth input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • the six input may also be the sixth operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single point input, such as a single finger for sliding input, fingerprint input, tap input, etc.; it can also be a multi-point input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • Step 103b In response to the sixth input, display the target page.
  • the first shortcut identifier is an entry of the target page, and the first shortcut identifier is used to quickly jump to the target page, that is, the user can jump to the target page by touching the first shortcut identifier.
  • X page is any page of the APP.
  • Shortcut logo click on the shortcut logo on the desktop in the future to directly realize the operation of opening the APP and entering the X page.
  • the system backend establishes a stack to record the user's operation process, and pushes the current operation "open the target application" into the stack.
  • the system monitors the user's behavior.
  • the current operation on the top of the stack is popped, and when the user is monitored to enter the next page, the current operation is pushed to the stack.
  • the operation path is used for: When the user clicks the first shortcut icon, according to the operation path, jump to the target page of the target application for display; on the other hand, create a control on the desktop, associate the control with the operation path recorded by the system, and then At least part of a screenshot image is used as a control background, and the control is associated with the operation path recorded by the system and includes at least a part of the first screenshot image, which is the first shortcut identifier of the target page.
  • the system operates sequentially according to the operation path, and finally enters the target page.
  • the shortcut identification of the target page can be displayed, and the user can click the shortcut identification to directly open the target page of the target application, which greatly reduces the number of users. Steps.
  • the method further includes:
  • Step 104 Receive a second input from the user, where the second input is used to rotate the electronic device.
  • the second input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • the second input may also be the second operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single point input, such as a single finger for sliding input, fingerprint input, tap input, etc.; it can also be a multi-point input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • Step 105 In response to the second input, when the electronic device is rotated in a first direction by a first angle and the first angle belongs to a preset angle range, display a first control, wherein the first control A control is used to trigger the generation of the first shortcut identifier, and different angle ranges correspond to controls with different functions.
  • the first direction can be any direction, for example, east, south, west, north, left, right, front, back, clockwise, or counterclockwise, etc., which are specifically set according to actual needs.
  • the embodiments of the invention are not limited.
  • the preset angle range may be any angle range, such as 15°-30° (greater than or equal to 15° and less than 30°), 20° to 90° (greater than or equal to 20° and less than 90°), 0° ⁇ 10° (greater than or equal to 0° and less than 10°), etc.
  • the preset angle range may also be a specific angle, such as 15°, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • the preset angle range is 15°-30° (greater than or equal to 15° and less than 30°), then when the angle of rotation of the electronic device in the first direction is greater than or equal to 15° and less than 30° For example, when the electronic device rotates 15°, 20°, 28° in the first direction, the first control is displayed.
  • the electronic device rotates in the first direction by different angle ranges to display controls with different functions.
  • FIG. 2 is the target page 201 of the target application, which receives the user's first input, such as pressing the power button and the volume down key at the same time, to take a screenshot of the target page of the target application, as shown in FIG. 2
  • the first screenshot image 202 is output, and the user's second input is received.
  • the user rotates the electronic device in the first direction, for example, rotates the electronic device to the right, and the user rotates the electronic device to the right for the first time.
  • the angle for example, 15° to the right, the preset angle range is 15°-30° (greater than or equal to 15° and less than 30°), as shown in (c) of FIG.
  • the first control 203 is displayed; the user Continue to turn the electronic device 15° to the right, that is, the electronic device has rotated a total of 30° to the right.
  • the second control 204 is displayed, and the second control is used to trigger the saving of the first Screenshot image; further illustratively, when the second control is displayed, the user rotates the electronic device 15° to the left, that is, the electronic device rotates a total of 15° to the right, and the first control is displayed. That is, in the case of 15° ⁇ the first angle ⁇ 30°, the first control is displayed, and in the case of 30° ⁇ the first angle ⁇ 45°, the second control is displayed.
  • the first control is displayed.
  • the first direction is right
  • the preset angle range is 0°-15° (greater than or equal to 0° and less than 15°)
  • the user's first input is received
  • the target page of the target application is captured
  • the output is
  • the first control is displayed; the user continues to turn the electronic device 15° to the right, that is, the electronic device has rotated a total of 15° to the right, and the second control is displayed. That is, in the case of 0° ⁇ the first angle ⁇ 15°, the first control is displayed, and in the case of 15° ⁇ the first angle ⁇ 30°, the second control is displayed.
  • Step 103 specifically includes:
  • Step 1031 when a preset condition is met, display the first shortcut identifier of the target page.
  • step 102 after taking a screenshot of the target page of the target application, and before step 103, the method further includes:
  • Step 106 Display M controls, where M is a positive integer.
  • Step 107 Receive a third input from the user, where the third input is used to rotate the electronic device.
  • the third input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • the three input may also be the third operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single-point input, such as a single finger for sliding input, fingerprint input, click input, etc.; it can also be a multi-point input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • Step 108 In response to the third input, when the electronic device is rotated in a first direction by a first angle and the first angle belongs to a preset angle range, update the first control to a first display state.
  • the first display state indicates that the first control is selected, the first control is used to trigger the generation of the first shortcut identifier, and different angle ranges correspond to controls with different functions.
  • the first display state includes, but is not limited to, highlighted, enlarged or bold display of the first control.
  • the electronic device rotates in the first direction by different angle ranges to select different controls.
  • FIG. 2 is the target page 201 of the target application, which receives the user's first input, such as sliding up with three fingers at the same time, to take a screenshot of the target page of the target application, as shown in Figure 3 ( a)
  • the first screenshot image 202 is output, and 3 controls are displayed, including the first control 203, the third control 301, and the fourth control 302.
  • the user’s third input is received, and the user rotates the electronic device in the first direction.
  • the device such as turning the electronic device to the left, and the user turning the electronic device to the left by a first angle, for example, 15° to the left, and the preset angle range is 5°-20° (greater than or equal to 5° and less than 20° ), as shown in Figure 3(b), update the first control 203 to the first display state, the first display state indicates that the first control is selected, and the first control is enlarged and displayed in bold ;
  • the user continues to turn the electronic device 15° to the left, that is, the electronic device rotates a total of 30° to the left, then as shown in Figure 3 (c), the display status of the third control 301 is updated, and the third control zooms in and out
  • the bold display indicates that the third control is selected; further illustratively, after the third control is selected, the user continues to turn the electronic device 15° to the left, that is, the electronic device rotates a total of 45° to the left, as shown in Figure 3.
  • the display state of the fourth control 302 is updated, and the fourth control is enlarged and displayed in bold, indicating that the fourth control is selected; further illustratively, after the fourth control is selected, the user points the electronic device to Rotate 15° to the right, that is, if the electronic device rotates a total of 30° to the left, the display status of the third control is updated, and the third control is enlarged and displayed in bold, indicating that the third control is selected; understandably, the third control is selected. After selection, if the user continues to turn the electronic device 15° to the right at this time, the first control is selected, and if the user continues to turn the electronic device to the left 15° at this time, the fourth control is selected.
  • select the first control in the case of 5° ⁇ the first angle ⁇ 20°, select the first control, and in the case of 20° ⁇ the first angle ⁇ 35°, select the third control, and in the case of 35° ⁇ the first angle ⁇ 50° In this case, select the fourth control.
  • the first direction is the left
  • the preset angle range is 0°-15° (greater than or equal to 0° and less than 15°)
  • the user's first input is received
  • the target page of the target application program is captured
  • the output is The first screenshot image, displaying the first control, and updating the first control to the first display state, the first control is selected; the user continues to turn the electronic device 15° to the left, that is, the electronic device rotates a total of 15° to the left, Then the display status of the third control is updated and the third control is selected; after selecting the third control, the user continues to turn the electronic device 15° to the left, that is, the electronic device has rotated a total of 30° to the left, and the fourth control displays the state Is updated and the fourth control is selected.
  • select the first control in the case of 0° ⁇ the first angle ⁇ 15°, select the first control, and in the case of 15° ⁇ the first angle ⁇ 30°, select the third control, and in the case of 30° ⁇ the first angle ⁇ 45° In this case, select the fourth control.
  • Step 103 specifically includes:
  • Step 1031 when a preset condition is met, display the first shortcut identifier of the target page.
  • step 1031 specifically includes step 10311 or step 10312:
  • Step 10311 When the electronic device stays at the target location for a preset time, display the first shortcut identifier of the target page; wherein, the target location is: when the electronic device is in the first party When the first angle is rotated upward and the first angle belongs to the preset angle range, the position of the electronic device.
  • the preset time includes but is not limited to: 2 seconds, 3 seconds, 4 seconds, etc., which are specifically set according to actual needs, and the embodiment of the present invention is not limited herein.
  • the user rotates the electronic device in the first direction, for example, rotates the electronic device to the right, and the user turns the electronic device Turn to the right by a first angle to reach the first position, for example, turn to the right by 25°, the preset angle range is 15°-30° (greater than or equal to 15° and less than 30°), and the electronic device reaches the first position ,
  • the first control is displayed, the first control is used to trigger the generation of the first shortcut identifier, and to keep the electronic device at the first position for a preset time, for example, staying for 3 seconds, that is, triggering the first Control, displaying the first shortcut identifier of the target page.
  • the first screenshot image is output, M controls are displayed, the user's third input is received, and the user rotates the electronic device in the first direction, for example, rotates the electronic device clockwise ,
  • the first control is updated to the first display state, the first display state indicates that the first control is selected, the first control is highlighted, and the first control is used to trigger the generation of the first control
  • a shortcut indicator that keeps the electronic device at the first position for a preset time, for example, 5 seconds, that is, the first control is triggered, and the first shortcut indicator of the target page is displayed.
  • the first shortcut logo of the target page can be displayed, and the operation Convenient, after outputting the first screenshot image, only one step of turning the electronic device is required to display the first shortcut logo, no touch screen operation is required, and it is suitable for scenes where the user is inconvenient to perform touch screen operations.
  • Step 10312 In a case where the fourth input of the user is received, in response to the fourth input, display the first shortcut identifier of the target page.
  • the fourth input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • the four input may also be the fourth operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single point input, such as a single finger for sliding input, fingerprint input, click input, etc.; it can also be a multipoint input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • the user’s fourth input specifically includes: the user’s input to the first control, the user’s input in the second direction to shake the electronic device at a preset frequency, or the user’s input on the first control.
  • the input to the first control includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, hover touch input, key input, voice input, etc.
  • the input to the first control may also be an operation to the first control, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • the input to the first control can be a single-point input, such as a single finger for sliding input, fingerprint input, tap input, etc.; it can also be a multi-point input, such as using two fingers for sliding input at the same time , Fingerprint input, click input, etc.
  • a screenshot of the target page of the target application after outputting the first screenshot image, receiving the second input from the user, the user rotates the electronic device in the first direction, for example, rotates the electronic device to the right, and the user turns the electronic device Rotate to the right for a first angle, for example, 25° to the right, the preset angle range is 15°-30° (greater than or equal to 15° and less than 30°), a first control is displayed, and the first control is used for The generation of the first shortcut identifier is triggered, and the user's input to the first control is received, for example, when the first control is clicked, the first control is triggered, and the first shortcut identifier of the target page is displayed.
  • the first screenshot image is output, M controls are displayed, the user's third input is received, and the user rotates the electronic device in the first direction, for example, rotates the electronic device clockwise ,
  • the first display state indicates that the first control is selected, the first control is displayed enlarged, and the user input to the first control is received, for example, clicking the first control, that is, the first control is triggered To display the first shortcut identifier of the target page.
  • the second direction may be any direction, for example, east-west direction, north-south direction, front-rear direction, up-down direction, left-right direction, etc., and the second direction is different from the first direction, depending on actual needs. Setting is not limited in the embodiment of the present invention.
  • the preset frequency may include, but is not limited to: 1 time/second, 2 times/second, 2.5 times/second, 3 times/second, etc., which are specifically set according to actual needs and are not limited in the embodiment of the present invention.
  • the user rotates the electronic device in the first direction, for example, rotates the electronic device to the right, and the user turns the electronic device Rotate to the right by a first angle, for example, 25° to the right, the preset angle range is greater than or equal to 15° and less than 30°, and a first control is displayed, and the first control is used to trigger the generation of the first shortcut Identification, receiving the input of the user shaking the electronic device at a preset frequency in the second direction, for example, shaking the electronic device back and forth at a frequency of 1 time per second, that is, triggering the first control and displaying the target page The first shortcut logo.
  • the first screenshot image is output, M controls are displayed, the user's third input is received, and the user rotates the electronic device in the first direction, for example, rotates the electronic device clockwise ,
  • the first control is updated to the first display state, and the first display
  • the state indicates that the first control is selected, the first control is displayed enlarged, and the input of the user shaking the electronic device at a preset frequency in the second direction is received, for example, shaking the electronic device back and forth at a frequency of 1 time per second , That is, the first control is triggered, and the first shortcut identifier of the target page is displayed.
  • the target can be displayed by rotating the electronic device by a first angle and receiving the input of the user shaking the electronic device in the second direction at a preset frequency.
  • the first shortcut logo on the page is easy to operate, no touch screen operation is required, and it is suitable for scenarios where the user is inconvenient to perform touch screen operations.
  • the touch sub-input includes but is not limited to at least one of sliding input, click input, drag input, long-press input, hovering touch input, etc., and the touch sub-input may also be touch input.
  • the control operation is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be single-point input, such as a single finger for long-press input, click input, etc.; it can also be multi-point input, such as two fingers for long-press input, click input at the same time Wait.
  • the time for receiving the touch control sub-input and the time for receiving the sub-input shaking the electronic device are less than a certain interval, and during the process of shaking the electronic device, keep receiving the touch control sub-input.
  • Input for example, an input of long pressing the first screenshot image is received, and after 1 second, an input of shaking the electronic device in the first direction or the second direction at a preset frequency is received, and when shaking the During the process of the electronic device, keep pressing the first screenshot image for a long time.
  • a screenshot of the target page of the target application after outputting the first screenshot image, receiving the second input from the user, the user rotates the electronic device in the first direction, for example, rotates the electronic device to the right, and the user turns the electronic device Rotate to the right by a first angle, for example, to rotate 25° to the right to display a first control.
  • the first control is used to trigger the generation of the first shortcut logo and receive the user's touch on the first screenshot image.
  • Control sub-inputs and sub-inputs for shaking the electronic device at a preset frequency in the first direction or the second direction for example, the user long presses the first screenshot image and shakes the electronic device up and down at a frequency of 1 time per second, That is, the first control is triggered, and the first shortcut identifier of the target page is displayed.
  • the first screenshot image is output, M controls are displayed, the user's third input is received, and the user rotates the electronic device in the first direction, for example, rotates the electronic device clockwise ,
  • the first control is updated to the first display state, and the first display The state indicates that the first control is selected, the first control is displayed enlarged, and the user’s touch input on the first screenshot image is received and the user is shaken in the first direction or the second direction at a preset frequency.
  • the sub-input of the electronic device for example, the user long presses the first screenshot image and shakes the electronic device left and right at a frequency of 2 times per second, that is, the first control is triggered, and the first shortcut identification of the target page is displayed .
  • the fourth input of the user includes a touch sub-input of the user on the first screenshot image and a sub-input of shaking the electronic device in the first direction or the second direction at a preset frequency,
  • the shaking direction can be more flexible, and the operation of the user can be facilitated.
  • step 102 after taking a screenshot of the target page of the target application, and before step 103, the method further includes:
  • Step 109 Display a second control, where the second control is used to trigger the generation of the first shortcut identifier.
  • Step 110 Receive a fifth input from the user to the second control.
  • the fifth input includes but is not limited to at least one of sliding input, fingerprint input, click input, drag input, long press input, floating touch input, key input, voice input, etc.
  • the five input may also be the fifth operation, which is specifically set according to actual needs, which is not limited in the embodiment of the present invention.
  • it can be a single point input, such as a single finger for sliding input, fingerprint input, tap input, etc.; it can also be a multi-point input, such as using two fingers for sliding input, fingerprint input at the same time , Click to enter, etc.
  • Step 103 specifically includes:
  • Step 1032 in response to the fifth input, display the first shortcut identifier of the target page.
  • (a) in FIG. 2 is the target page 201 of the target application, which receives the first input of the user, such as clicking the virtual button for taking a screenshot, to take a screenshot of the target page of the target application, as shown in (a) in FIG. 4 ), the first screenshot image 202 is output, and the second control 401 is displayed.
  • the second control is used to trigger the generation of the first shortcut identifier and receive the user's fifth input to the second control, such as clicking
  • the second control displays the first shortcut identifier of the target page.
  • receive the first input of the user take a screenshot of the target page of the target application, output the first screenshot image, and display the second control. While displaying the second control, it can also display functions such as saving and sharing.
  • the control is used to trigger saving and sharing the first screenshot image.
  • the method further includes:
  • Step 111 Display a target pop-up window, where the target pop-up window includes a fifth control, and the fifth control is used to trigger the generation of the first shortcut identifier.
  • a target pop-up window 402 is displayed, and the target pop-up window includes the fifth Control 403, the fifth control is used to trigger the generation of the first shortcut identifier, for example, click the fifth control to generate and display the first shortcut identifier of the target page.
  • the target pop-up window further includes a sixth control 404, and the sixth control is used to trigger the cancellation of the generation of the first shortcut identifier, such as clicking the sixth control, The first shortcut identifier of the target page is not displayed.
  • the target pop-up window further includes a seventh control 405 and an eighth control 406, and the seventh control is used to edit the name of the first shortcut identifier, so
  • the eighth control is used to edit the first shortcut logo.
  • the first shortcut logo enters full-screen mode and displays controls with editing functions, such as cropping, rotating, and adding text.
  • the eighth control is also used to change the first shortcut identifier, for example, click the eighth control to display the local photo album, and select a picture in the local photo album as the first shortcut identifier.
  • the target pop-up window includes different functions Control, you can further edit the first shortcut logo.
  • step 103 it further includes:
  • the background detects whether the display content of the target page is updated.
  • the display content update includes, but is not limited to, receiving a new message from a contact, a new notification appearing, and the like.
  • Step 112 When the display content of the target page is updated from the first information to the second information, update the first shortcut identifier to the second shortcut identifier, wherein the first shortcut identifier is the same as the second shortcut identifier.
  • One information is associated, and the second shortcut identifier is associated with the second information.
  • step 112 specifically includes:
  • Step 1121 when the display content of the target page is updated from the first information to the second information, take a screenshot of the target page to generate a second screenshot image.
  • Step 1122 Update the first shortcut identifier to a second shortcut identifier, where the second shortcut identifier includes at least part of the second screenshot image.
  • the target page is a chat page with contact B
  • the first message is a piece of information sent by contact B The message "See you at 9 o'clock tomorrow morning", take a screenshot of the target page and output the first screenshot image.
  • the first shortcut logo contains at least part of the first screenshot image;
  • Contact B sent another message "Something is going on at noon, see you at 8:30 am ", the background detects that the display content of the target page has been updated, takes a screenshot of the updated target page again, generates a second screenshot image, and updates the first shortcut identifier to the second shortcut identifier, and the second shortcut identifier contains the second screenshot At least part of the image. It is possible to update the first shortcut identifier in real time according to the content of the target page, so that users can understand the information changes of the target page.
  • the method further includes:
  • Step 113 Reduce the first screenshot image, and generate a first shortcut identifier based on the reduced first screenshot image.
  • the first screenshot image is reduced, and a first shortcut identifier is generated based on the reduced first screenshot image, as shown in (a) of FIG. 5, on the desktop 501 of the electronic device, A first shortcut identifier 502 is displayed, and the first shortcut identifier includes all of the reduced first screenshot image.
  • step 114 the first screenshot image is cropped, and a first shortcut identifier is generated based on the cropped first screenshot image.
  • the first screenshot image is cropped, and a first shortcut identifier is generated based on the cropped first screenshot image, as shown in (b) of FIG. 5, on the desktop 501 of the electronic device, A first shortcut identifier 503 is displayed, and the first shortcut identifier includes all of the cropped first screenshot image.
  • the content of the first screenshot image is recognized based on image feature extraction, image text recognition and other image recognition technologies, and the blank part in the first screenshot image is cropped and retained An image area with preset feature information, such as an image area with information such as time, location, and meeting. It can be realized that the first screenshot image can be cropped, and the image area with the preset feature information in the first screenshot image is reserved as the first shortcut identifier, so that the user can see the preset feature information in the first screenshot image conspicuously.
  • the cropped first screenshot image is reduced, and the first shortcut identifier is generated based on the cropped and reduced first screenshot image.
  • a first shortcut identifier is generated based on the first screenshot image.
  • a first shortcut identifier is generated. As shown in (c) in FIG. 5, a first shortcut identifier 504 is displayed on the desktop 501 of the electronic device. The first shortcut identifier Including all of the first screenshot image.
  • the embodiment of the present invention provides a method for generating a shortcut identifier.
  • the electronic device receives a user's first input; responds to the first input, takes a screenshot of a target page of a target application, and outputs a first screenshot image; and displays the target
  • the first shortcut logo is easy to operate.
  • the first shortcut identification of the target page can be displayed,
  • the operation is simple, no touch screen operation is required, and it is suitable for scenarios where the user is inconvenient to perform touch screen operations;
  • the user's fourth input includes the user's touch sub-input on the first screenshot image and in the first direction or the second direction Shaking the sub-input of the electronic device according to the preset frequency can realize more flexible shaking direction and convenient user operation; after taking a screenshot of the target page of the target application, the second control is displayed, and the user's control of the second control is received.
  • the fifth input of displays the target pop-up window.
  • the target pop-up window includes controls with different functions, and the first shortcut logo can be further edited; it can be realized according to the content of the target page, the first shortcut logo can be updated in real time, so that users can understand the information of the target page Change; It can be realized that the first screenshot image can be cropped, and the image area with preset feature information in the first screenshot image is reserved as the first shortcut identification, so that the user can see the preset feature information in the first screenshot image conspicuously;
  • the screen capture operation of the target page of the target application can display the shortcut logo of the target page, and the user can click the shortcut logo to directly open the target page of the target application, which greatly reduces the user's operation steps.
  • an embodiment of the present invention provides an electronic device 600, the electronic device 600 includes: a first receiving module 601, a first screenshot module 602, an output module 603, a first display module 604; a first receiving module 601, used to receive a user's first input; a first screenshot module 602, used to take a screenshot of a target page of a target application in response to the first input; an output module 603, used to respond to the first input , Output a first screenshot image; a first display module 604, configured to display a first shortcut identifier of the target page, the first shortcut identifier includes at least part of the first screenshot image.
  • the electronic device further includes: a second receiving module, configured to receive a second input from a user, the second input being used to rotate the electronic device; and a second display module, configured to respond to the first Two inputs, when the electronic device is rotated by a first angle in a first direction and the first angle belongs to a preset angle range, a first control is displayed, wherein the first control is used to trigger the generation of the The first shortcut identifier, different angle ranges correspond to different function controls; the first display module includes: a first display unit, used to display the first shortcut identifier of the target page when a preset condition is met .
  • the electronic device further includes: a third display module for displaying M controls, where M is a positive integer; and a third receiving module for receiving a user's third input, the third input is used for To rotate the electronic device; a fourth display module for responding to the third input, when the electronic device rotates in a first direction by a first angle and the first angle belongs to a preset angle range , Update the first control to the first display state, wherein the first display state indicates that the first control is selected, the first control is used to trigger the generation of the first shortcut identifier, and different angle ranges correspond to different Functional controls; the first display module includes: a first display unit, configured to display the first shortcut identification of the target page when a preset condition is met.
  • the first display unit is specifically configured to: in the case of receiving a fourth input from the user, display the first shortcut identifier of the target page in response to the fourth input; or When the electronic device stays at the target position for a preset time, the first shortcut identifier of the target page is displayed; wherein, the target position is: when the electronic device rotates the first direction in the first direction Angle and the first angle belongs to the preset angle range, the position of the electronic device.
  • the user’s fourth input includes: the user’s input to the first control; or, the user’s input in the second direction to shake the electronic device at a preset frequency; or, the user’s input in the The touch sub-input on the first screenshot image and the sub-input of shaking the electronic device in the first direction or the second direction at a preset frequency.
  • the electronic device further includes: a fifth display module, configured to display a second control, and the second control is used to trigger the generation of the first shortcut identifier; and a fourth receiving module, configured to receive the user’s The fifth input of the second control; the first display module includes: a second display unit configured to display the first shortcut identifier of the target page in response to the fifth input.
  • the electronic device further includes: an update module, configured to update the first shortcut identifier to the second shortcut identifier when the display content of the target page is updated from the first information to the second information , wherein the first shortcut identifier is associated with the first information, and the second shortcut identifier is associated with the second information.
  • an update module configured to update the first shortcut identifier to the second shortcut identifier when the display content of the target page is updated from the first information to the second information , wherein the first shortcut identifier is associated with the first information, and the second shortcut identifier is associated with the second information.
  • the update module is specifically configured to: when the display content of the target page is updated from the first information to the second information, take a screenshot of the target page to generate a second screenshot image;
  • the first shortcut identifier is updated to a second shortcut identifier, and the second shortcut identifier includes at least a part of the second screenshot image.
  • the electronic device further includes: a processing module for reducing the first screenshot image, and generating a first shortcut identifier based on the reduced first screenshot image; or cropping the first screenshot And generate a first shortcut identifier based on the cropped first screenshot image; or generate a first shortcut identifier based on the first screenshot image.
  • the electronic device further includes: a fourth receiving module, configured to receive a user's sixth input of the first shortcut identifier; a sixth display module, configured to display the The target page.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the electronic device receives the first input of the user; responds to the first input, takes a screenshot of the target page of the target application, and outputs the first screenshot image; and displays the first shortcut of the target page
  • the first shortcut identifier includes at least a part of the first screenshot image, which can be achieved by taking a screenshot of the target page of the target application, and the first shortcut identifier can be obtained without entering the settings menu to search for
  • the quick-labeled buttons are simple and quick to operate.
  • FIG. 7 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, and an input unit 704 , Sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, power supply 711 and other components.
  • a radio frequency unit 701 for detecting user input to the electronic device
  • the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, and an input unit 704 , Sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, power supply 711 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal
  • the user input unit 707 is configured to receive the first input of the user; the processor 710 is configured to take a screenshot of the target page of the target application in response to the first input, and control the display unit 706 to output the first screenshot image; And display the first shortcut identifier of the target page, where the first shortcut identifier includes at least a part of the first screenshot image.
  • the embodiment of the present invention provides an electronic device, which can receive a user's first input; respond to the first input, take a screenshot of a target page of a target application, and output a first screenshot image; and display the target
  • the first shortcut identifier of the page, the first shortcut identifier includes at least a part of the first screenshot image, and the first shortcut identifier can be obtained by taking a screenshot of the target page of the target application without entering the setting menu Find the button used to generate the shortcut logo, the operation is simple and fast.
  • the radio frequency unit 701 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 703 can convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 704 is used to receive audio or video signals.
  • the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042.
  • the graphics processor 7041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 706.
  • the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
  • the microphone 7042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
  • the electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 706 is used to display information input by the user or information provided to the user.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072.
  • the touch panel 7071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating).
  • the touch panel 7071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
  • the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 707 may also include other input devices 7072.
  • other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 7071 can be overlaid on the display panel 7061.
  • the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 7061.
  • the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 708 is an interface for connecting an external device and the electronic device 700.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
  • the memory 709 can be used to store software programs and various data.
  • the memory 709 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 710 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs.
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
  • the electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
  • a power source 711 such as a battery
  • the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 700 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device, including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and the computer program is executed by the processor 710
  • an electronic device including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and the computer program is executed by the processor 710
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the foregoing shortcut identification generation method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.

Abstract

一种快捷标识生成方法、电子设备及介质,涉及通信技术领域,能够解决现有技术中存在的生成快捷标识操作繁琐的问题。该方法包括:接收用户的第一输入(101);响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像(102);显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分(103)。

Description

快捷标识生成方法、电子设备及介质
相关申请的交叉引用
本申请主张在2019年12月5日在中国提交的中国专利申请号No.201911233025.5的优先权,其全部内容通过引用包含于此。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种快捷标识生成方法、电子设备及介质。
背景技术
现有技术中,由于电子设备的功能越来越丰富,菜单中通常具有很多不同功能的按钮,用户想要创建某个应用程序的目标页面的快捷标识的时候,往往需要打开设置菜单,在菜单中寻找用于生成快捷标识的按钮,然后点击这个按钮,才能生成快捷标识,操作繁琐。
发明内容
本发明实施例提供一种快捷标识生成方法,能够解决现有技术中存在的生成快捷标识操作繁琐的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种快捷标识生成方法,应用于电子设备,包括:
接收用户的第一输入;
响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;
显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
第二方面,本发明实施例提供了一种电子设备,包括:
第一接收模块,用于接收用户的第一输入;
第一截屏模块,用于响应于所述第一输入,对目标应用程序的目标页面进行截屏;
输出模块,用于响应于所述第一输入,输出第一截屏图像;
第一显示模块,用于显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面中的快捷标识生成方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面中的快捷标识生成方法的步骤。
在本发明实施例中,电子设备通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,能够实现通过对目标应用程序的目标页面进行截屏,便可得到第一快捷标识,不需要进入设置菜单中寻找用于生成快捷标识的按钮,操作简单快捷。
附图说明
图1为本发明实施例提供的快捷标识生成方法的流程图;
图2为本发明实施例提供的快捷标识生成方法的目标应用程序的目标页面的界面示意图之一;
图3为本发明实施例提供的快捷标识生成方法的目标应用程序的目标页面的界面示意图之二;
图4为本发明实施例提供的快捷标识生成方法的目标应用程序的目标页面的界面示意图之三;
图5为本发明实施例提供的快捷标识生成方法的桌面的界面示意图之一;
图6为本发明实施例提供的电子设备的结构示意图;
图7为本发明实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入、第二输入、第三输入和第四输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。
本发明实施例提供一种快捷标识生成方法,通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,因此通过该方案,能够实现通过对目标应用程序的目标页面进行截屏,便可得到第一快捷标识,不需要进入设置菜单中寻找用于生成快捷标识的按钮,操作简单快捷。
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television, TV)、柜员机或者自助机等;本发明实施例不作具体限定。
需要说明的是:在本发明实施例中,该电子设备可以是多面屏电子设备,如双面屏电子设备、折叠屏电子设备等,本发明实施例不作限定。
本发明实施例提供的快捷标识生成方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的快捷标识生成方法进行示例性的说明。
参考图1所示,本发明实施例提供了一种快捷标识生成方法,应用于电子设备,该方法可以包括下述的步骤101-步骤103。
步骤101、接收用户的第一输入。
可选地,所述第一输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第一输入还可以是第一操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第一输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
步骤102、响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像。
所述输出第一截屏图像,包括:显示第一截屏图像,后台生成并保存第一截屏图像,或后台生成第一截屏图像。
其中,显示第一截屏图像是指,在对目标应用程序的目标页面进行截屏之后,在目标页面内显示第一截屏图像;后台生成并保存第一截屏图像是指,在对目标应用程序的目标页面进行截屏之后,不需要在目标页面内显示第一截屏图像,只在后台生成第一截屏图像,并保存至目标位置,比如本地相册;后台生成第一截屏图像是指,在对目标应用程序的目标页面进行截屏之后,不需要在目标页面内显示第一截屏图像,只在后台生成第一截屏图像,并且不保存所述第一截屏图像,生成第一快捷标识之后,删除第一截屏图像,不占用内存。
步骤103、显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
具体地,所述第一快捷标识为所述目标页面的入口,所述第一快捷标识用于快速跳转至所述目标页面,即用户通过触控第一快捷标识可以跳转至目标页面。
可选地,本发明实施例用于生成任意应用程序的任意页面的快捷标识,在用户想将某个应用程序的某个页面生成快捷标识的情况下,仅需将该页面进行截屏操作,即可显示该页面的快捷标识。
可选地,所述第一快捷标识的显示位置为所述电子设备的桌面的任意页面。
可选地,所述第一快捷标识可以包括所述第一截屏图像的全部,也可以包括所述第一截屏图像的部分。
示例性地,接收用户的第一输入,例如三根手指上滑的输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像,即可显示所述目标页面的第一快捷标识。
在本发明实施例中,电子设备通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,能够实现通过对目标应用程序的目标页面进行截屏,便可显示第一快捷标识,操作简单快捷。
可选地,步骤103之后,还包括:
步骤103a、接收用户对所述第一快捷标识的第六输入。
可选地,所述第六输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第六输入还可以是第六操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第六输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
步骤103b、响应于所述第六输入,显示所述目标页面。
具体地,所述第一快捷标识为所述目标页面的入口,所述第一快捷标识用于快速跳转至所述目标页面,即用户通过触控第一快捷标识可以跳转至目标页面。
示例性地,用户经常需要打开某款APP的X页面,X页面是该款APP的任一页面,可先进入该页面,对目标应用程序的目标页面进行截屏,即可在桌面生成X页面的快捷标识,以后在桌面点击该快捷标识即可直接实现打开该APP并进入X页面的操作。
具体地,当用户打开目标应用程序时,系统后台建立一个堆栈用于记录用户的操作过程,并将当前操作“打开目标应用程序”入栈。在接下来的操作中,系统监控用户的行为,当监控到用户返回上一级页面时,将当前栈顶的操作出栈,当监控到用户进入下一级页面时,将当前操作入栈。当用户在目标应用程序的目标页面调用本发明实施例所述的生成快捷标识操作时,将堆栈中所有操作出栈,依次记录,根据堆栈中所有操作,得到操作路径,该操作路径用于,在用户点击第一快捷标识的时候,根据该操作路径,跳转到目标应用程序的目标页面进行显示;另一方面,在桌面创建一个控件,将控件与系统记录的操作路径相关联,将第一截屏图像的至少部分作为控件背景,该与系统记录的操作路径相关联且控件背景包括第一截屏图像的至少部分的控件,即为目标页面的第一快捷标识。当用户点击第一快捷标识时,系统根据操作路径依次操作,最终进入目标页面。
本发明实施例中,通过对目标应用程序的目标页面的截屏操作,即可显示目标页面的快捷标识,用户点击该快捷标识,即可直接打开该目标应用程序的目标页面,极大地减少了用户的操作步骤。
可选地,步骤102之后,步骤103之前,还包括:
步骤104、接收用户的第二输入,所述第二输入用于转动所述电子设备。
可选地,所述第二输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第二输入还可以是第二操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第二输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指 进行滑动输入、指纹输入、点击输入等。
步骤105、响应于所述第二输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,显示第一控件,其中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件。
可选地,所述第一方向可以是任意方向,例如,东、南、西、北、左、右、前、后、顺时针方向、或逆时针方向等,具体根据实际需要设定,本发明实施例不作限定。
可选地,所述预设角度范围可以是任意角度范围,例如15°~30°(大于等于15°且小于30°)、20°~90°(大于等于20°小于90°)、0°~10°(大于等于0°小于10°)等,所述预设角度范围也可以是具体地某个角度,比如15°,具体根据实际需要设定,本发明实施例不作限定。
示例性地,所述预设角度范围为15°~30°(大于等于15°小于30°),则在所述电子设备在第一方向上转动的角度大于等于15°小于30°的情况下,例如在所述电子设备在第一方向上转动15°、20°、28°,显示第一控件。
具体地,电子设备在第一方向上转动不同的角度范围,显示不同功能的控件。
示例性地,图2中的(a)为目标应用程序的目标页面201,接收用户的第一输入,例如同时按压电源键和音量降低键,对目标应用程序的目标页面进行截屏,如图2中的(b)所示,输出第一截屏图像202,接收用户的第二输入,用户在第一方向上转动电子设备,例如向右转动电子设备,用户将电子设备向右转动第一角度,例如向右转动15°,所述预设角度范围为15°~30°(大于等于15°小于30°),如图2中的(c)所示,显示第一控件203;用户继续将电子设备向右转动15°,即电子设备向右共转动了30°,如图2中的(d)所示,显示第二控件204,所述第二控件用于触发保存第一截屏图像;进一步示例性地,在显示第二控件的情况下,用户将电子设备向左转动15°,即电子设备向右共转动了15°,则显示第一控件。即在15°≤第一角度<30°的情况下,显示第一控件,在30°≤第一角度<45°的情况下,显示第二控件。
可选地,输出第一截屏图像之后,显示第一控件。示例性地,第一方向 是右,所述预设角度范围为0°~15°(大于等于0°小于15°),接收用户的第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像之后,显示第一控件;用户继续将电子设备向右转动15°,即电子设备向右共转动了15°,则显示第二控件。即在0°≤第一角度<15°的情况下,显示第一控件,在15°≤第一角度<30°的情况下,显示第二控件。
步骤103具体包括:
步骤1031、在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
可选地,步骤102中,对目标应用程序的目标页面进行截屏之后,步骤103之前,还包括:
步骤106、显示M个控件,其中,M为正整数。
步骤107、接收用户的第三输入,所述第三输入用于转动所述电子设备。
可选地,所述第三输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第三输入还可以是第三操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第三输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
步骤108、响应于所述第三输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,更新第一控件至第一显示状态,其中,所述第一显示状态指示所述第一控件被选中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件。
可选地,所述第一显示状态包括但不限于,所述第一控件高亮、放大或加粗显示。
具体地,电子设备在第一方向上转动不同的角度范围,选中不同的控件。
示例性地,图2中的(a)为目标应用程序的目标页面201,接收用户的第一输入,例如三根手指同时向上滑,对目标应用程序的目标页面进行截屏,如图3中的(a)所示,输出第一截屏图像202,并显示3个控件,包括第一控件203、第三控件301,和第四控件302,接收用户的第三输入,用户在第 一方向上转动电子设备,例如向左转动电子设备,用户将电子设备向左转动第一角度,例如向左转动15°,所述预设角度范围为5°~20°(大于等于5°小于20°),则如图3中的(b)所示,更新第一控件203至第一显示状态,所述第一显示状态指示所述第一控件被选中,所述第一控件放大并加粗显示;用户继续将电子设备向左转动15°,即电子设备向左共转动了30°,则如图3中的(c)所示,第三控件301显示状态被更新,第三控件放大并加粗显示,代表第三控件被选中;进一步示例性地,在选中第三控件之后,用户继续将电子设备向左转动15°,即电子设备向左共转动了45°,则如图3中的(d)所示,第四控件302显示状态被更新,第四控件放大并加粗显示,代表第四控件被选中;进一步示例性地,在选中第四控件之后,用户将电子设备向右转动15°,即电子设备向左共转动了30°,则第三控件显示状态被更新,第三控件放大并加粗显示,代表第三控件被选中;可以理解地,第三控件被选中后,若此时用户继续将电子设备向右转动15°,则第一控件被选中,若此时用户继续将电子设备向左转动15°,则第四控件被选中。即在5°≤第一角度<20°的情况下,选中第一控件,在20°≤第一角度<35°的情况下,选中第三控件,在35°≤第一角度<50°的情况下,选中第四控件。
可选地,显示M个控件的同时,更新第一控件至第一显示状态。示例性地,第一方向是左,所述预设角度范围为0°~15°(大于等于0°小于15°),接收用户的第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像,显示第一控件,并更新第一控件至第一显示状态,第一控件被选中;用户继续将电子设备向左转动15°,即电子设备向左共转动了15°,则第三控件显示状态更新,第三控件被选中;在选中第三控件之后,用户继续将电子设备向左转动15°,即电子设备向左共转动了30°,则第四控件显示状态被更新,第四控件被选中。即在0°≤第一角度<15°的情况下,选中第一控件,在15°≤第一角度<30°的情况下,选中第三控件,在30°≤第一角度<45°的情况下,选中第四控件。
步骤103,具体包括:
步骤1031、在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
可选地,步骤1031,具体包括步骤10311或者步骤10312:
步骤10311、在所述电子设备在目标位置停留至预设时间的情况下,显示所述目标页面的第一快捷标识;其中,所述目标位置为:在所述电子设备在所述第一方向上转动所述第一角度且所述第一角度属于所述预设角度范围的情况下,所述电子设备所在的位置。
可选地,所述预设时间包括但不限于:2秒、3秒、4秒等,具体根据实际需要设定,本发明实施例在此不作限定。
示例性地,对目标应用程序的目标页面进行截屏,输出第一截屏图像之后,接收用户的第二输入,用户在第一方向上转动电子设备,例如向右转动电子设备,用户将电子设备向右转动第一角度到达第一位置处,例如向右转动25°,所述预设角度范围为15°~30°(大于等于15°小于30°),电子设备到达第一位置处,显示第一控件,所述第一控件用于触发生成所述第一快捷标识,保持所述电子设备在第一位置处停留至预设时间,例如停留3秒,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
示例性地,对目标应用程序的目标页面进行截屏之后,输出第一截屏图像,并显示M个控件,接收用户的第三输入,用户在第一方向上转动电子设备,例如顺时针转动电子设备,用户将电子设备顺时针转动第一角度到达第一位置处,例如顺时针转动5°,所述预设角度范围为5°~20°(大于等于5°小于20°),电子设备到达第一位置处,更新第一控件至第一显示状态,所述第一显示状态指示所述第一控件被选中,所述第一控件高亮显示,所述第一控件用于触发生成所述第一快捷标识,保持所述电子设备在第一位置处停留至预设时间,例如停留5秒,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
在本发明实施例中,输出第一截屏图像之后,通过转动电子设备至第一位置处,并在第一位置处停留至预设时间,便可以显示所述目标页面的第一快捷标识,操作简便,输出第一截屏图像之后,仅需转动电子设备这一步操作,即可显示第一快捷标识,无需触屏操作,适用于用户不便于进行触屏操作的场景。
步骤10312、在接收到用户的第四输入的情况下,响应于所述第四输入, 显示所述目标页面的第一快捷标识。
可选地,所述第四输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第四输入还可以是第四操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第四输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
可选地,步骤10312中,用户的第四输入具体包括:用户对所述第一控件的输入、用户在第二方向上按照预设频率摇动所述电子设备的输入、或用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入。
用户对所述第一控件的输入。
可选地,对所述第一控件的输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,对所述第一控件的输入还可以是对所述第一控件的操作,具体根据实际需要设定,本发明实施例不作限定。在执行对所述第一控件的输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
示例性地,对目标应用程序的目标页面进行截屏,输出第一截屏图像之后,接收用户的第二输入,用户在第一方向上转动电子设备,例如向右转动电子设备,用户将电子设备向右转动第一角度,例如向右转动25°,所述预设角度范围为15°~30°(大于等于15°小于30°),显示第一控件,所述第一控件用于触发生成所述第一快捷标识,接收到用户对所述第一控件的输入,例如点击第一控件,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
示例性地,对目标应用程序的目标页面进行截屏之后,输出第一截屏图像,并显示M个控件,接收用户的第三输入,用户在第一方向上转动电子设备,例如顺时针转动电子设备,用户将电子设备顺时针转动第一角度,例如 顺时针转动5°,所述预设角度范围为5°~20°(大于等于5°小于20°),更新第一控件至第一显示状态,所述第一显示状态指示所述第一控件被选中,所述第一控件放大显示,接收到用户对所述第一控件的输入,例如点击第一控件,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
用户在第二方向上按照预设频率摇动所述电子设备的输入。
可选地,所述第二方向可以是任意方向,例如,东西方向、南北方向、前后方向、上下方向、左右方向等,且所述第二方向与所述第一方向不同,具体根据实际需要设定,本发明实施例不作限定。
可选地,所述预设频率可以包括但不限于:1次/秒、2次/秒、2.5次/秒、3次/秒等,具体根据实际需要设定,本发明实施例不作限定。
示例性地,对目标应用程序的目标页面进行截屏,输出第一截屏图像之后,接收用户的第二输入,用户在第一方向上转动电子设备,例如向右转动电子设备,用户将电子设备向右转动第一角度,例如向右转动25°,所述预设角度范围为大于等于15°小于30°,显示第一控件,所述第一控件用于触发生成所述第一快捷标识,接收到用户在第二方向上按照预设频率摇动所述电子设备的输入,例如以1次/秒的频率前后摇动电子设备,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
示例性地,对目标应用程序的目标页面进行截屏之后,输出第一截屏图像,并显示M个控件,接收用户的第三输入,用户在第一方向上转动电子设备,例如顺时针转动电子设备,用户将电子设备顺时针转动第一角度,例如向左转动5°,所述预设角度范围为大于等于5°小于20°,更新第一控件至第一显示状态,所述第一显示状态指示所述第一控件被选中,所述第一控件放大显示,接收到用户在第二方向上按照预设频率摇动所述电子设备的输入,例如以1次/秒的频率前后摇动电子设备,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
在本发明实施例中,输出第一截屏图像之后,通过将电子设备转动第一角度,并接收到用户在第二方向上按照预设频率摇动所述电子设备的输入,便可以显示所述目标页面的第一快捷标识,操作简便,无需触屏操作,适用于用户不便于进行触屏操作的场景。
用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入。
可选地,所述触控子输入,包括但不限于滑动输入、点击输入、拖动输入、长按输入、悬浮触控输入等中的至少一种,所述触控子输入还可以是触控操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述触控子输入时,可以是单点输入,如采用单根手指进行长按输入、点击输入等;也可以是多点输入,如同时采用两根手指进行长按输入、点击输入等。
具体地,接收到所述触控子输入的时间和接收到所述摇动所述电子设备的子输入的时间小于一定间隔,在摇动所述电子设备的过程中,保持接收到所述触控子输入,示例性地,接收到长按所述第一截屏图像的输入,在1秒后接收到在第一方向或第二方向上按照预设频率摇动所述电子设备的输入,在摇动所述电子设备的过程中,保持长按所述第一截屏图像。
示例性地,对目标应用程序的目标页面进行截屏,输出第一截屏图像之后,接收用户的第二输入,用户在第一方向上转动电子设备,例如向右转动电子设备,用户将电子设备向右转动第一角度,例如向右转动25°,显示第一控件,所述第一控件用于触发生成所述第一快捷标识,接收到用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入,例如,用户长按所述第一截屏图像并以1次/秒的频率上下摇动电子设备,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
示例性地,对目标应用程序的目标页面进行截屏之后,输出第一截屏图像,并显示M个控件,接收用户的第三输入,用户在第一方向上转动电子设备,例如顺时针转动电子设备,用户将电子设备顺时针转动第一角度,例如向左转动15°,所述预设角度范围为大于等于15°小于30°,更新第一控件至第一显示状态,所述第一显示状态指示所述第一控件被选中,所述第一控件放大显示,接收到用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入,例如,用户长按所述第一截屏图像并以2次/秒的频率左右摇动电子设备,即触发了所述第一控件,显示所述目标页面的第一快捷标识。
在本发明实施例中,用户的第四输入包括用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入,能够实现摇动方向更加灵活,方便用户的操作。
可选地,步骤102中,对目标应用程序的目标页面进行截屏之后,步骤103之前,还包括:
步骤109、显示第二控件,所述第二控件用于触发生成所述第一快捷标识。
步骤110、接收用户对所述第二控件的第五输入。
可选地,所述第五输入包括但不限于滑动输入、指纹输入、点击输入、拖动输入、长按输入、悬浮触控输入、按键输入、语音输入等中的至少一种,所述第五输入还可以是第五操作,具体根据实际需要设定,本发明实施例不作限定。在执行所述第五输入时,可以是单点输入,如采用单根手指进行滑动输入、指纹输入、点击输入等;也可以是多点输入,如同时采用两根手指进行滑动输入、指纹输入、点击输入等。
步骤103,具体包括:
步骤1032、响应于所述第五输入,显示所述目标页面的第一快捷标识。
示例性地,图2中的(a)为目标应用程序的目标页面201,接收用户的第一输入,例如点击截屏虚拟按键,对目标应用程序的目标页面进行截屏,如图4中的(a)所示,输出第一截屏图像202,并显示第二控件401,所述第二控件用于触发生成所述第一快捷标识,接收用户对所述第二控件的第五输入,例如点击第二控件,显示所述目标页面的第一快捷标识。
可选地,接收用户的第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像,并显示第二控件,在显示第二控件的同时,还可以显示具有保存、分享等功能的控件,用于触发保存、分享第一截屏图像。
可选地,步骤110之后,步骤1032之前,还包括:
步骤111、显示目标弹窗,所述目标弹窗中包括第五控件,所述第五控件用于触发生成所述第一快捷标识。
示例性地,接收用户对所述第二控件的第五输入,例如点击第二控件之后,如图4中的(b)所示,显示目标弹窗402,所述目标弹窗中包括第五控 件403,所述第五控件用于触发生成所述第一快捷标识,例如点击第五控件,生成并显示所述目标页面的第一快捷标识。
可选地,如图4中的(b)所示,所述目标弹窗还包括第六控件404,所述第六控件用于触发取消生成所述第一快捷标识,例如点击第六控件,不显示所述目标页面的第一快捷标识。
可选地,如图4中的(b)所示,所述目标弹窗还包括第七控件405、第八控件406,所述第七控件用于编辑所述第一快捷标识的名称,所述第八控件用于编辑所述第一快捷标识,示例性地,点击第八控件,所述第一快捷标识进入全屏模式,并显示具有编辑功能的控件,比如裁剪、旋转、添加文字等功能的控件,所述第八控件还用于更换第一快捷标识,比如点击第八控件,显示本地相册,选择本地相册中的一张图片作为第一快捷标识。
在本发明实施例中,通过对目标应用程序的目标页面进行截屏之后,显示第二控件,接收用户对所述第二控件的第五输入,显示目标弹窗,目标弹窗中包括不同功能的控件,可以进一步编辑第一快捷标识。
可选地,步骤103之后,还包括:
后台检测目标页面的显示内容是否更新。
所述显示内容更新包括但不限于,接收到联系人的新消息、出现新的通知等。
步骤112、在所述目标页面的显示内容由第一信息更新为第二信息的情况下,将所述第一快捷标识更新为第二快捷标识,其中,所述第一快捷标识与所述第一信息相关联,所述第二快捷标识与所述第二信息相关联。
可选地,步骤112,具体包括:
步骤1121、在所述目标页面的显示内容由第一信息更新为第二信息的情况下,对所述目标页面进行截屏,生成第二截屏图像。
步骤1122、将所述第一快捷标识更新为第二快捷标识,所述第二快捷标识包括所述第二截屏图像的至少部分。
具体地,在显示所述目标页面的第一快捷标识之后,在所述目标页面的显示内容变化的情况下,重新对所述目标页面进行截图,生成第二截屏图像,将所述第一快捷标识更新为第二快捷标识,所述第二快捷标识包括所述第二 截屏图像的至少部分,示例性地,目标页面是和联系人B的聊天页面,第一信息为联系人B发的一条消息“明天上午9点见”,对目标页面截屏,输出第一截屏图像,第一快捷标识包含第一截屏图像的至少部分;联系人B又发了一条消息“中午有事,上午8点半见”,后台检测目标页面的显示内容有了更新,对更新后的目标页面重新截屏,生成第二截屏图像,将所述第一快捷标识更新为第二快捷标识,第二快捷标识包含第二截屏图像的至少部分。能够实现根据目标页面的内容,实时更新第一快捷标识,便于用户了解目标页面的信息变化。
可选地,步骤102之后,步骤103之前,还包括:
步骤113、缩小所述第一截屏图像,并基于缩小后的所述第一截屏图像,生成第一快捷标识。
示例性地,将所述第一截屏图像缩小,并基于缩小后的所述第一截屏图像,生成第一快捷标识,如图5中的(a)所示,在电子设备的桌面501上,显示第一快捷标识502,所述第一快捷标识包括缩小后的所述第一截屏图像的全部。
或者,步骤114、裁剪所述第一截屏图像,并基于裁剪后的所述第一截屏图像,生成第一快捷标识。
示例性地,将所述第一截屏图像裁剪,并基于裁剪后的所述第一截屏图像,生成第一快捷标识,如图5中的(b)所示,在电子设备的桌面501上,显示第一快捷标识503,所述第一快捷标识包括裁剪后的所述第一截屏图像的全部。
可选地,裁剪所述第一截屏图像的时候,基于图像特征提取、图像文字识别等图像识别技术,对第一截屏图像的内容进行识别,将第一截屏图像中的空白部分裁剪掉,保留有预设特征信息的图像区域,比如保留具有时间、地点、会议等信息的图像区域。能够实现可以裁剪第一截屏图像,保留第一截屏图像中有预设特征信息的图像区域作为第一快捷标识,便于用户醒目地看到第一截屏图像中的预设特征信息。
可选地,将裁剪后的第一截屏图像缩小,基于裁剪并缩小的第一截屏图像,生成第一快捷标识。
或者,步骤115、基于所述第一截屏图像,生成第一快捷标识。
示例性地,基于所述第一截屏图像,生成第一快捷标识,如图5中的(c)所示,在电子设备的桌面501上,显示第一快捷标识504,所述第一快捷标识包括所述第一截屏图像的全部。
本发明实施例提供一种快捷标识生成方法,电子设备通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,能够实现通过对目标应用程序的目标页面进行截屏,便可得到第一快捷标识,不需要进入设置菜单中寻找用于生成快捷标识的按钮,操作简单快捷;输出第一截屏图像之后,通过转动电子设备至第一位置处,并在第一位置处停留至预设时间,便可以显示所述目标页面的第一快捷标识,操作简便,输出第一截屏图像之后,仅需转动电子设备这一步操作,即可显示第一快捷标识,无需触屏操作,适用于用户不便于进行触屏操作的场景;输出第一截屏图像之后,通过将电子设备转动第一角度,并接收到用户在第二方向上按照预设频率摇动所述电子设备的输入,便可以显示所述目标页面的第一快捷标识,操作简便,无需触屏操作,适用于用户不便于进行触屏操作的场景;用户的第四输入包括用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入,能够实现摇动方向更加灵活,方便用户的操作;通过对目标应用程序的目标页面进行截屏之后,显示第二控件,接收用户对所述第二控件的第五输入,显示目标弹窗,目标弹窗中包括不同功能的控件,可以进一步编辑第一快捷标识;能够实现根据目标页面的内容,实时更新第一快捷标识,便于用户了解目标页面的信息变化;能够实现可以裁剪第一截屏图像,保留第一截屏图像中有预设特征信息的图像区域作为第一快捷标识,便于用户醒目地看到第一截屏图像中的预设特征信息;通过对目标应用程序的目标页面的截屏操作,即可显示目标页面的快捷标识,用户点击该快捷标识,即可直接打开该目标应用程序的目标页面,极大地减少了用户的操作步骤。
如图6所示,本发明实施例提供一种电子设备600,所述电子设备600包括:第一接收模块601、第一截屏模块602、输出模块603、第一显示模块 604;第一接收模块601,用于接收用户的第一输入;第一截屏模块602,用于响应于所述第一输入,对目标应用程序的目标页面进行截屏;输出模块603,用于响应于所述第一输入,输出第一截屏图像;第一显示模块604,用于显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
可选地,所述电子设备还包括:第二接收模块,用于接收用户的第二输入,所述第二输入用于转动所述电子设备;第二显示模块,用于响应于所述第二输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,显示第一控件,其中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;所述第一显示模块,包括:第一显示单元,用于在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
可选地,所述电子设备还包括:第三显示模块,用于显示M个控件,其中,M为正整数;第三接收模块,用于接收用户的第三输入,所述第三输入用于转动所述电子设备;第四显示模块,用于响应于所述第三输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,更新第一控件至第一显示状态,其中,所述第一显示状态指示所述第一控件被选中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;所述第一显示模块,包括:第一显示单元,用于在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
可选地,所述第一显示单元具体用于:在接收到用户的第四输入的情况下,响应于所述第四输入,显示所述目标页面的第一快捷标识;或者,在所述电子设备在目标位置停留至预设时间的情况下,显示所述目标页面的第一快捷标识;其中,所述目标位置为:在所述电子设备在所述第一方向上转动所述第一角度且所述第一角度属于所述预设角度范围的情况下,所述电子设备所在的位置。
可选地,所述用户的第四输入,包括:用户对所述第一控件的输入;或者,用户在第二方向上按照预设频率摇动所述电子设备的输入;或者,用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频 率摇动所述电子设备的子输入。
可选地,所述电子设备还包括:第五显示模块,用于显示第二控件,所述第二控件用于触发生成所述第一快捷标识;第四接收模块,用于接收用户对所述第二控件的第五输入;所述第一显示模块,包括:第二显示单元,用于响应于所述第五输入,显示所述目标页面的第一快捷标识。
可选地,所述电子设备还包括:更新模块,用于在所述目标页面的显示内容由第一信息更新为第二信息的情况下,将所述第一快捷标识更新为第二快捷标识,其中,所述第一快捷标识与所述第一信息相关联,所述第二快捷标识与所述第二信息相关联。
可选地,所述更新模块具体用于:在所述目标页面的显示内容由第一信息更新为第二信息的情况下,对所述目标页面进行截屏,生成第二截屏图像;将所述第一快捷标识更新为第二快捷标识,所述第二快捷标识包括所述第二截屏图像的至少部分。
可选地,所述电子设备还包括:处理模块,用于缩小所述第一截屏图像,并基于缩小后的所述第一截屏图像,生成第一快捷标识;或者,裁剪所述第一截屏图像,并基于裁剪后的所述第一截屏图像,生成第一快捷标识;或者,基于所述第一截屏图像,生成第一快捷标识。
可选地,所述电子设备还包括:第四接收模块,用于接收用户对所述第一快捷标识的第六输入;第六显示模块,用于响应于所述第六输入,显示所述目标页面。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,此处不再赘述。
在本发明实施例中,电子设备通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,能够实现通过对目标应用程序的目标页面进行截屏,便可得到第一快捷标识,不需要进入设置菜单中寻找用于生成快捷标识的按钮,操作简单快捷。
图7为实现本发明各个实施例的一种电子设备的硬件结构示意图,如图 7所示,该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元707,用于接收用户的第一输入;处理器710,用于响应于所述第一输入,对目标应用程序的目标页面进行截屏,控制显示单元706输出第一截屏图像;并显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
本发明实施例提供了一种电子设备,电子设备可以通过接收用户的第一输入;响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分,能够实现通过对目标应用程序的目标页面进行截屏,便可得到第一快捷标识,不需要进入设置菜单中寻找用于生成快捷标识的按钮,操作简单快捷。
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。
电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。
用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检 测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步地,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块, 以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
电子设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备700包括一些未示出的功能模块,在此不再赘述。
可选地,本发明实施例还提供一种电子设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述快捷标识生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述快捷标识生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (22)

  1. 一种快捷标识生成方法,应用于电子设备,包括:
    接收用户的第一输入;
    响应于所述第一输入,对目标应用程序的目标页面进行截屏,输出第一截屏图像;
    显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
  2. 根据权利要求1所述的方法,其中,所述输出第一截屏图像之后,所述显示所述目标页面的第一快捷标识之前,还包括:
    接收用户的第二输入,所述第二输入用于转动所述电子设备;
    响应于所述第二输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,显示第一控件,其中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;
    所述显示所述目标页面的快捷标识,包括:
    在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
  3. 根据权利要求1所述的方法,其中,所述对目标应用程序的目标页面进行截屏之后,所述显示所述目标页面的第一快捷标识之前,还包括:
    显示M个控件,其中,M为正整数;
    接收用户的第三输入,所述第三输入用于转动所述电子设备;
    响应于所述第三输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,更新第一控件至第一显示状态,其中,所述第一显示状态指示所述第一控件被选中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;
    所述显示所述目标页面的第一快捷标识,包括:
    在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
  4. 根据权利要求2或3所述的方法,其中,所述在满足预设条件的情况下,显示所述目标页面的第一快捷标识,包括:
    在接收到用户的第四输入的情况下,响应于所述第四输入,显示所述目 标页面的第一快捷标识;
    或者,在所述电子设备在目标位置停留至预设时间的情况下,显示所述目标页面的第一快捷标识;
    其中,所述目标位置为:在所述电子设备在所述第一方向上转动所述第一角度且所述第一角度属于所述预设角度范围的情况下,所述电子设备所在的位置。
  5. 根据权利要求4所述的方法,其中,所述用户的第四输入,包括:
    用户对所述第一控件的输入;
    或者,用户在第二方向上按照预设频率摇动所述电子设备的输入;
    或者,用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入。
  6. 根据权利要求1所述的方法,其中,所述对目标应用程序的目标页面进行截屏之后,所述显示所述目标页面的第一快捷标识之前,还包括:
    显示第二控件,所述第二控件用于触发生成所述第一快捷标识;
    接收用户对所述第二控件的第五输入;
    所述显示所述目标页面的第一快捷标识,包括:
    响应于所述第五输入,显示所述目标页面的第一快捷标识。
  7. 根据权利要求1所述的方法,其中,所述显示所述目标页面的第一快捷标识之后,还包括:
    在所述目标页面的显示内容由第一信息更新为第二信息的情况下,将所述第一快捷标识更新为第二快捷标识,其中,所述第一快捷标识与所述第一信息相关联,所述第二快捷标识与所述第二信息相关联。
  8. 根据权利要求7所述的方法,其中,所述在所述目标页面的显示内容由第一信息更新为第二信息的情况下,将所述第一快捷标识更新为第二快捷标识,包括:
    在所述目标页面的显示内容由第一信息更新为第二信息的情况下,对所述目标页面进行截屏,生成第二截屏图像;
    将所述第一快捷标识更新为第二快捷标识,所述第二快捷标识包括所述第二截屏图像的至少部分。
  9. 根据权利要求1所述的方法,其中,所述输出第一截屏图像之后,所述显示所述目标页面的第一快捷标识之前,还包括:
    缩小所述第一截屏图像,并基于缩小后的所述第一截屏图像,生成第一快捷标识;
    或者,裁剪所述第一截屏图像,并基于裁剪后的所述第一截屏图像,生成第一快捷标识;
    或者,基于所述第一截屏图像,生成第一快捷标识。
  10. 根据权利要求1至9任一项所述的方法,其中,所述显示所述目标页面的第一快捷标识之后,还包括:
    接收用户对所述第一快捷标识的第六输入;
    响应于所述第六输入,显示所述目标页面。
  11. 一种电子设备,包括:
    第一接收模块,用于接收用户的第一输入;
    第一截屏模块,用于响应于所述第一输入,对目标应用程序的目标页面进行截屏;
    输出模块,用于响应于所述第一输入,输出第一截屏图像;
    第一显示模块,用于显示所述目标页面的第一快捷标识,所述第一快捷标识包括所述第一截屏图像的至少部分。
  12. 根据权利要求11所述的电子设备,其中,还包括:
    第二接收模块,用于接收用户的第二输入,所述第二输入用于转动所述电子设备;
    第二显示模块,用于响应于所述第二输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,显示第一控件,其中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;
    所述第一显示模块,包括:第一显示单元,用于在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
  13. 根据权利要求11所述的电子设备,其中,还包括:
    第三显示模块,用于显示M个控件,其中,M为正整数;
    第三接收模块,用于接收用户的第三输入,所述第三输入用于转动所述电子设备;
    第四显示模块,用于响应于所述第三输入,在所述电子设备在第一方向上转动第一角度且所述第一角度属于预设角度范围的情况下,更新第一控件至第一显示状态,其中,所述第一显示状态指示所述第一控件被选中,所述第一控件用于触发生成所述第一快捷标识,不同的角度范围对应不同功能的控件;
    所述第一显示模块,包括:第一显示单元,用于在满足预设条件的情况下,显示所述目标页面的第一快捷标识。
  14. 根据权利要求12或13所述的电子设备,其中,所述第一显示单元具体用于:
    在接收到用户的第四输入的情况下,响应于所述第四输入,显示所述目标页面的第一快捷标识;
    或者,在所述电子设备在目标位置停留至预设时间的情况下,显示所述目标页面的第一快捷标识;
    其中,所述目标位置为:在所述电子设备在所述第一方向上转动所述第一角度且所述第一角度属于所述预设角度范围的情况下,所述电子设备所在的位置。
  15. 根据权利要求14所述的电子设备,其中,所述用户的第四输入,包括:
    用户对所述第一控件的输入;
    或者,用户在第二方向上按照预设频率摇动所述电子设备的输入;
    或者,用户在所述第一截屏图像上的触控子输入和在第一方向或第二方向上按照预设频率摇动所述电子设备的子输入。
  16. 根据权利要求11所述的电子设备,其中,还包括:
    第五显示模块,用于显示第二控件,所述第二控件用于触发生成所述第一快捷标识;
    第四接收模块,用于接收用户对所述第二控件的第五输入;
    所述第一显示模块,包括:第二显示单元,用于响应于所述第五输入, 显示所述目标页面的第一快捷标识。
  17. 根据权利要求11所述的电子设备,其中,还包括:
    更新模块,用于在所述目标页面的显示内容由第一信息更新为第二信息的情况下,将所述第一快捷标识更新为第二快捷标识,其中,所述第一快捷标识与所述第一信息相关联,所述第二快捷标识与所述第二信息相关联。
  18. 根据权利要求17所述的电子设备,其中,所述更新模块具体用于:
    在所述目标页面的显示内容由第一信息更新为第二信息的情况下,对所述目标页面进行截屏,生成第二截屏图像;
    将所述第一快捷标识更新为第二快捷标识,所述第二快捷标识包括所述第二截屏图像的至少部分。
  19. 根据权利要求11所述的电子设备,其中,还包括处理模块,用于:
    缩小所述第一截屏图像,并基于缩小后的所述第一截屏图像,生成第一快捷标识;
    或者,裁剪所述第一截屏图像,并基于裁剪后的所述第一截屏图像,生成第一快捷标识;
    或者,基于所述第一截屏图像,生成第一快捷标识。
  20. 根据权利要求11至19任一项所述的电子设备,其中,还包括:
    第四接收模块,用于接收用户对所述第一快捷标识的第六输入;
    第六显示模块,用于响应于所述第六输入,显示所述目标页面。
  21. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至10中任一项所述的快捷标识生成方法的步骤。
  22. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的快捷标识生成方法的步骤。
PCT/CN2020/132641 2019-12-05 2020-11-30 快捷标识生成方法、电子设备及介质 WO2021109961A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911233025.5A CN111104029B (zh) 2019-12-05 2019-12-05 快捷标识生成方法、电子设备及介质
CN201911233025.5 2019-12-05

Publications (1)

Publication Number Publication Date
WO2021109961A1 true WO2021109961A1 (zh) 2021-06-10

Family

ID=70422004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132641 WO2021109961A1 (zh) 2019-12-05 2020-11-30 快捷标识生成方法、电子设备及介质

Country Status (2)

Country Link
CN (1) CN111104029B (zh)
WO (1) WO2021109961A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360068A (zh) * 2021-06-25 2021-09-07 深圳传音控股股份有限公司 截屏交互的方法、移动终端及存储介质
CN113703624A (zh) * 2021-07-26 2021-11-26 维沃移动通信(杭州)有限公司 分屏方法、装置及电子设备
CN114327203A (zh) * 2021-12-28 2022-04-12 傲网信息科技(厦门)有限公司 一种用户操作的还原方法及装置、记录方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104029B (zh) * 2019-12-05 2021-09-24 维沃移动通信有限公司 快捷标识生成方法、电子设备及介质
CN111767108A (zh) * 2020-06-28 2020-10-13 Oppo广东移动通信有限公司 应用程序标签生成方法、应用界面显示方法以及装置
CN113253903A (zh) * 2021-05-13 2021-08-13 维沃移动通信有限公司 操作方法及操作装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140253574A1 (en) * 2013-03-05 2014-09-11 Research In Motion Limited Development Environment For Capture Of Image Data From A Mobile Device
US9736288B1 (en) * 2014-06-26 2017-08-15 EMC IP Holding Company LLC Multilayer mobile app interface
CN107643859A (zh) * 2017-09-07 2018-01-30 维沃移动通信有限公司 一种运行状态恢复方法及移动终端
CN108256128A (zh) * 2018-04-13 2018-07-06 Oppo广东移动通信有限公司 页面链接的处理方法、装置、存储介质及电子设备
CN109062476A (zh) * 2018-08-01 2018-12-21 Oppo(重庆)智能科技有限公司 应用的菜单处理方法、移动终端及计算机可读存储介质
CN110018765A (zh) * 2019-04-09 2019-07-16 腾讯科技(深圳)有限公司 页面显示方法、装置、终端及存储介质
CN111104029A (zh) * 2019-12-05 2020-05-05 维沃移动通信有限公司 快捷标识生成方法、电子设备及介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2615564A1 (en) * 2012-01-11 2013-07-17 LG Electronics Computing device for performing at least one function and method for controlling the same
WO2016017978A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Device and method for performing functions
CN105653602A (zh) * 2015-12-22 2016-06-08 无锡天脉聚源传媒科技有限公司 一种管理微网站的方法和装置
CN105893022A (zh) * 2015-12-28 2016-08-24 乐视致新电子科技(天津)有限公司 复合用户界面控件的生成和控制方法及系统
CN110347324A (zh) * 2019-06-05 2019-10-18 广州朗国电子科技有限公司 快捷方式调用方法、装置、存储介质及会议一体机
CN110362256A (zh) * 2019-07-22 2019-10-22 珠海格力电器股份有限公司 一种将截屏图片作为快捷便签的方法、装置及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140253574A1 (en) * 2013-03-05 2014-09-11 Research In Motion Limited Development Environment For Capture Of Image Data From A Mobile Device
US9736288B1 (en) * 2014-06-26 2017-08-15 EMC IP Holding Company LLC Multilayer mobile app interface
CN107643859A (zh) * 2017-09-07 2018-01-30 维沃移动通信有限公司 一种运行状态恢复方法及移动终端
CN108256128A (zh) * 2018-04-13 2018-07-06 Oppo广东移动通信有限公司 页面链接的处理方法、装置、存储介质及电子设备
CN109062476A (zh) * 2018-08-01 2018-12-21 Oppo(重庆)智能科技有限公司 应用的菜单处理方法、移动终端及计算机可读存储介质
CN110018765A (zh) * 2019-04-09 2019-07-16 腾讯科技(深圳)有限公司 页面显示方法、装置、终端及存储介质
CN111104029A (zh) * 2019-12-05 2020-05-05 维沃移动通信有限公司 快捷标识生成方法、电子设备及介质

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360068A (zh) * 2021-06-25 2021-09-07 深圳传音控股股份有限公司 截屏交互的方法、移动终端及存储介质
CN113703624A (zh) * 2021-07-26 2021-11-26 维沃移动通信(杭州)有限公司 分屏方法、装置及电子设备
CN114327203A (zh) * 2021-12-28 2022-04-12 傲网信息科技(厦门)有限公司 一种用户操作的还原方法及装置、记录方法及装置
CN114327203B (zh) * 2021-12-28 2023-08-04 傲网信息科技(厦门)有限公司 一种用户操作的还原方法及装置、记录方法及装置

Also Published As

Publication number Publication date
CN111104029A (zh) 2020-05-05
CN111104029B (zh) 2021-09-24

Similar Documents

Publication Publication Date Title
WO2021109961A1 (zh) 快捷标识生成方法、电子设备及介质
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2019228294A1 (zh) 对象分享方法及移动终端
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2020151516A1 (zh) 消息发送方法及移动终端
WO2021012931A1 (zh) 图标管理方法及终端
WO2019206036A1 (zh) 消息管理方法及终端
WO2021082716A1 (zh) 信息处理方法及电子设备
WO2021115278A1 (zh) 群组管理方法及电子设备
WO2021083087A1 (zh) 截屏方法及终端设备
WO2020238449A1 (zh) 通知消息的处理方法及终端
CN109491738B (zh) 一种终端设备的控制方法及终端设备
WO2021004426A1 (zh) 内容选择方法及终端
WO2020238463A1 (zh) 消息处理方法及终端
WO2020151513A1 (zh) 信息处理方法及终端设备
WO2020238497A1 (zh) 图标移动方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2019184947A1 (zh) 图像查看方法及移动终端
WO2020199988A1 (zh) 内容复制方法及终端
WO2020211596A1 (zh) 控制方法及终端设备
WO2021036553A1 (zh) 图标显示方法及电子设备
WO2021238719A1 (zh) 信息显示方法及电子设备
WO2020020213A1 (zh) 信息输入方法及终端
WO2020215969A1 (zh) 内容输入方法及终端设备
WO2021037074A1 (zh) 音频输出方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20896796

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20896796

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20896796

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20896796

Country of ref document: EP

Kind code of ref document: A1