CN117519521A - Extraction method and electronic equipment - Google Patents

Extraction method and electronic equipment Download PDF

Info

Publication number
CN117519521A
CN117519521A CN202210889052.3A CN202210889052A CN117519521A CN 117519521 A CN117519521 A CN 117519521A CN 202210889052 A CN202210889052 A CN 202210889052A CN 117519521 A CN117519521 A CN 117519521A
Authority
CN
China
Prior art keywords
snippet
user
display interface
content
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210889052.3A
Other languages
Chinese (zh)
Inventor
胡月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210889052.3A priority Critical patent/CN117519521A/en
Publication of CN117519521A publication Critical patent/CN117519521A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The embodiment of the application provides an extraction method and electronic equipment, wherein the method can be applied to the electronic equipment, the electronic equipment displays a first display interface, and the method comprises the following steps: responding to a first operation of a user, and enabling the electronic equipment to enter an extraction state; the electronic equipment detects a second operation of selecting first extract content in the first display interface by the input equipment; the electronic equipment detects a third operation of a user in the first display interface; upon determining that the third operation causes a change in the first display interface, the electronic device saves the first snippet content. According to the technical scheme, the extraction content can be generated and checked through convenient operation of the user in the extraction process, and the extraction experience of the user is further improved.

Description

Extraction method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronics, and more particularly relates to an extraction method and electronic equipment.
Background
The user often uses the snippet function during use of the electronic device. The extraction is to extract part of the content (text or pictures, etc.) from the original text, so as to facilitate recording. In the process of the extraction, the user may extract a plurality of documents for a plurality of times, and the electronic device generally sorts the extraction contents according to the extraction sequence of the user, so that the user is required to manually sort and arrange the extraction contents, thereby affecting the user experience.
Disclosure of Invention
The embodiment of the application provides an extraction method and electronic equipment, so that in the extraction process, extraction content can be generated and checked through convenient operation of a user, and extraction experience of the user is further improved.
In a first aspect, there is provided a method of extracting, the method being applied to an electronic device, the electronic device displaying a first display interface, the method comprising: responding to a first operation of a user, and enabling the electronic equipment to enter an extraction state; the electronic equipment detects a second operation of selecting first extract content in the first display interface by the input equipment; the electronic equipment detects a third operation of a user in the first display interface; upon determining that the third operation causes a change in the first display interface, the electronic device saves the first snippet content.
The input device may be a stylus, for example. The first snippet content may be text, a picture, a diagram, and so forth.
In this embodiment of the present invention, in the extraction state, the electronic device may detect an operation of selecting the first extraction content in the display interface by the input device (such as a handwriting pen), and when a third operation (for example, sliding up or sliding down the display interface by a finger sliding on the interface) that changes the display interface of the electronic device is continuously detected, the electronic device may save the first extraction content. According to the technical scheme, when the user slides the interface or switches pages, the content of the user extract can be automatically stored, the manual storage operation of the user is avoided, and further the user experience is improved.
In some embodiments, the third operation includes at least one of: sliding, switching display interfaces, or switching operation of applications. In some embodiments, these operations may be entered by a user through a non-aforementioned input device, such as a stylus, and may be entered by a user through a finger.
With reference to the first aspect, in certain implementation manners of the first aspect, before the electronic device saves the first excerpted content, the method further includes: the electronic device determines that the first excerpted content is present in the first display interface.
In the embodiment of the application, when the first display interface is changed in response to the third operation of the user, the electronic device needs to judge whether the extracted content exists in the first display interface, and automatically stores the extracted content when determining that the extracted content exists, so that the operation of the user can be reduced during the extraction, and the extraction efficiency is improved.
With reference to the first aspect, in certain implementation manners of the first aspect, before the electronic device detects a third operation of a user in the first display interface, the method further includes: in response to the second operation, the electronic device changes the first snippet content to a selected state.
For example, the selected state may be highlighting or highlighting the first snippet content, or the like, such that the first snippet content is distinguished from other content.
In this embodiment of the present application, when the electronic device detects that the user selects the content to be extracted using the input device (such as a handwriting pen), the content to be extracted may be changed to the selected state, so that it is beneficial for the user to distinguish which content is extracted by the user.
With reference to the first aspect, in certain implementation manners of the first aspect, in the clip state, the electronic device displays a clip state field, where the clip state includes a save button, and the method further includes: the save button displays an unread mark when the electronic device saves the first excerpted content.
Illustratively, the unread mark may be located in the upper right corner, upper left corner, etc. of the save button, and the unread mark may be a red dot, a numerical corner mark, etc.
In the embodiment of the application, when the electronic device stores the new clip content, the storage button in the clip status bar can display the unread mark, so that the user is reminded to store the new clip content.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: in response to a user clicking the save button, the electronic device displays a first snippet card including first snippet information, the first snippet information including the first snippet content.
In some embodiments, the first snippet card may also have a one-touch insert button by which the user may insert content in the first snippet card into another page or application.
In some embodiments, the first snippet information may also include a snippet time, an identification of a file in which the snippet content is located, and so forth.
In this embodiment of the present application, when the user wishes to view the content of the snippet, the electronic device may pop up the snippet card by clicking the save button in the snippet status bar, where the content of the snippet of the user may be displayed. The technical scheme can enable the user to quickly view the content of the excerpt.
With reference to the first aspect, in certain implementations of the first aspect, the first snippet card further includes second snippet information, the second snippet information including historical snippet content.
In a possible implementation, the second snippet information includes a history of the same content as the file in which the first snippet is located, that is, the history of the content that was previously obtained by the user for the file a, and the first snippet is also obtained for the file a.
In another possible implementation, the second snippet information includes a history snippet content that is different from the file in which the first snippet content is located, that is, the history snippet content is content that the user previously snippeted on file B, and the first snippet content is content that the user snippets on file a.
In another possible implementation manner, the second snippet information includes a portion of historical snippet content that is the same as the file in which the first snippet content is located, and is partially different from the portion of the historical snippet content that includes content that was previously extracted from the file B by the user and also includes content that was extracted from the file a, where the first snippet content is the content extracted from the file a. In this case, the content extracted from the file a included in the history extracted content will be displayed below the first extracted content and under the same identification of the file a; the content of the history extract to the extract of file B is under the identification of file B.
In the embodiment of the application, when the user views the content of the snippet, the content of the historical snippet can be included in the snippet card besides the content of the current snippet, so that the user can conveniently view a plurality of content of the snippet, and manual arrangement of the user is avoided.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: the electronic equipment detects a fourth operation of selecting second extract content in a second display interface by the input equipment, wherein the second display interface is an interface displayed by the electronic equipment in response to the third operation; the electronic equipment detects a fifth operation of a user in the second display interface; and when the fifth operation is determined to change the second display interface, the electronic equipment stores the second extract content.
The third operation is an operation of sliding up in the first display interface by the user, and the electronic device displays the second display interface in response to the operation of sliding up. The electronic device detects, in the second display interface, an operation of selecting the second extracted content by the user using the stylus, and when a fifth operation that causes a change in the second display interface is detected continuously, the electronic device may save the second extracted content.
For example, the fifth operation is an operation of sliding upward.
For another example, the file currently opened by the electronic device is file a, and the fifth operation is an operation of opening another file B.
In the embodiment of the application, when the electronic equipment can continuously extract the content of the extract selected by the user, the content of the extract of the user can be automatically stored according to the operation of the user, so that the user can be prevented from manually clicking and storing the content. Alternatively, when the electronic device jumps from file a to file B for extraction, the content extracted in file B may be automatically saved.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: in response to a user clicking the save button, the electronic device displays a second snippet card including first snippet information including the first snippet content and third snippet information including the second snippet content.
In one example, the first snippet content is the same as the file or application or web page in which the second snippet content is located, as is file A.
In another example, the first extracted content is the same as the file or application or web page in which the second extracted content is located, e.g., the first extracted content is extracted from file A and the second extracted content is extracted from file B.
In the embodiment of the application, when the user wants to view the extract content, the electronic equipment can simultaneously present the extract information from the same file or different files to the user only by clicking the storage button, so that manual arrangement of the user is avoided, and user experience is improved.
With reference to the first aspect, in certain implementation manners of the first aspect, the electronic device further includes a third display interface, where the first display interface is a display interface of a first application program, and the third display interface is a display interface of a second application program, and the method further includes: in response to a user's long-pressing of a save button in the snippet status bar, the electronic device displays a third snippet card, the third snippet card including the first snippet information and/or historical snippet information; and responding to the dragging operation of the user, and inserting the first extract information and/or the historical extract information into the third display interface by the electronic equipment.
With reference to the first aspect, in some implementations, the electronic device further includes a third display interface, where the first display interface is a display interface of a first application program, and the third display interface is a display interface of a second application program, and the method further includes, in response to an operation that a user presses and drags a save button in the clip status bar to the third display interface for a long time, inserting the first clip content and/or the historical clip content into the third display interface by the electronic device. The historical excerpt content includes content that was excerpted prior to excerpting the first excerpt content.
It should be appreciated that the content included in the third snippet card may also be inserted into the first display interface when the first display interface supports editing.
It should be appreciated that the third display interface may also be another display interface of the first application program that is different from the first display interface.
For example, when the electronic device is in a split screen scenario, for example, the left half screen displays a first display interface, the right half screen displays a third display interface, where the first display interface is a display interface of the file a, and the third display interface is a memo, a notepad, and so on.
For example, when the electronic device is in a multi-window scenario, a first display interface of a first application and a third display interface of a second application may be displayed.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces by pressing the save button and dragging.
In this embodiment of the present application, in a scenario where the electronic device is in a split screen or multiple windows, the user may press the save button for a long time, the electronic device may pop up the clip card, or may not pop up the clip card, and along with dragging by the user, all or part of the clip content may be dragged into the third display interface. According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert, and user experience is improved.
With reference to the first aspect, in certain implementation manners of the first aspect, the electronic device further includes a third display interface, where the first display interface is a display interface of a first application program, and the third display interface is a display interface of a second application program, and the method further includes: in response to a user clicking a save button in the snippet status bar, the electronic device displays a fourth snippet card, the fourth snippet card including the first snippet information and a first one-key insert button; and in response to the operation of clicking the first one-key insertion button by a user, the electronic equipment inserts the first extract information into the third display interface.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces via the one-touch insert button.
In this embodiment of the present application, in a scenario where the electronic device is in a split screen or multiple windows, the user may click the save button, the electronic device may present the content extracted by the user to the user, and when the user clicks the one-click insert button, the content extracted by the user may be inserted into the third display interface by one-click. According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert, and user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the fourth snippet card further includes fourth snippet information and a second one-key insert button, a source of the fourth snippet information is different from a source of the first snippet information, and the method further includes: and in response to the operation of clicking the second one-key insertion button by a user, the electronic equipment inserts the fourth extract information into the third display interface.
It should be understood that the source of the fourth snippet information being different from the source of the first snippet information means that the fourth snippet information and the first snippet information are each extracted from different files or applications or web pages, etc. For example, the fourth snippet information is extracted from file A and the first snippet information is extracted from file B.
In this embodiment of the present application, the electronic device may further include fourth snippet information extracted from other files in a snippet card presented to the user, and include a one-key insert button, so that the user may insert the fourth snippet information into the third display interface through the one-key insert button. According to the technical scheme, the extract information from the files can be presented to the user, so that the user can freely insert the content of the extract into the place where the user wants to insert, and the user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the third operation includes at least one of: sliding, switching display interfaces and switching application programs.
The sliding may be, for example, an upward sliding, a downward sliding, an upward or downward sliding at an angle; the switching display interface may be to exit the current display interface and open other display interfaces; the application program can be switched to a task center, other application programs are opened, or the like, or the application program is returned to a display desktop, and other application programs are opened.
In a second aspect, there is provided a method of extracting, the method being applied to an electronic device including a first display interface of a first application and a second display interface of a second application, the method comprising: in the snippet state, in response to a user clicking a save button in a snippet state column, the electronic device displays a snippet card, the snippet card including first snippet information; and responding to the dragging operation of the user, and inserting the first clip information into the second display interface or the first display interface by the electronic equipment.
According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert along with dragging of the user, and user experience is improved.
In a third aspect, there is provided a method of extracting, the method being applied to an electronic device including a first display interface of a first application and a second display interface of a second application, the method comprising: in the snippet state, in response to a user clicking a save button in a snippet state column, the electronic device displays a second snippet card that includes the first snippet information and a first one-key insert button; and in response to the operation of clicking the first one-key insertion button by a user, the electronic equipment inserts the first extract information into the second display interface or the first display interface.
According to the technical scheme, the user can insert the content of the snippet into the place where the user wants to insert through the one-key insertion button, so that user experience is improved.
With reference to the third aspect, in an implementation manner of the third aspect, the second snippet card further includes second snippet information and a second one-key insert button, and a source of the second snippet information is different from a source of the first snippet information, and the method further includes: and in response to the operation of clicking the second one-key insertion button by a user, the electronic equipment inserts the second extract information into the second display interface or the first display interface.
According to the technical scheme, the extract information from the files can be presented to the user, so that the user can freely insert the extracted content into the place where the user wants to insert, and the user experience is improved.
In a fourth aspect, there is provided an electronic device comprising: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions which, when executed by the one or more processors, cause the extraction method as described in the first to third aspects and any possible implementation thereof to be performed.
In a fifth aspect, there is provided a snippet apparatus comprising means for implementing a snippet method as described in the first to third aspects and any possible implementation thereof.
In a sixth aspect, there is provided a chip comprising a processor and a communication interface for receiving signals and transmitting the signals to the processor, the processor processing the signals such that the extraction method as described in any one of the first to third aspects and any one of its possible implementations is performed.
In a seventh aspect, a computer readable storage medium is provided, in which computer instructions are stored which, when run on a computer, cause the extraction method as described in any one of the first to third aspects and any one of their possible implementations to be performed.
In an eighth aspect, a computer program product is provided, the computer program product comprising computer program code which, when run on a computer, causes the method of extraction as in any one of the first to third aspects and any one of the possible implementations thereof to be performed.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic software structure of an electronic device according to an embodiment of the present application.
FIG. 3 is a schematic diagram of a set of GUIs provided in an embodiment of the present application.
FIG. 4 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 5 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 6 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 7 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 8 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 9 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 10 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 11 is a schematic flow chart diagram of an extraction method provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows a schematic configuration of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL).
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), bluetooth low energy (bluetooth low energy, BLE), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 100.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may be a liquid crystal display (liquid crystal display, LCD), or a display panel made of one of organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (flex), miniled, microLed, micro-OLED, or quantum dot light-emitting diode (quantum dot light emitting diodes, QLED). In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or video.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals.
The earphone interface 170D is used to connect a wired earphone.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes).
A distance sensor 180F for measuring a distance.
The fingerprint sensor 180H is used to collect a fingerprint.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen".
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal.
The keys 190 include a power-on key, a volume key, etc.
The motor 191 may generate a vibration cue.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, wallet, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The user often uses the snippet function during use of the electronic device. The extraction is to extract part of the content (text or pictures, etc.) from the original text, so as to facilitate recording. In the process of the extraction, the user may extract a plurality of documents for a plurality of times, and the electronic device generally sorts the extraction contents according to the extraction sequence of the user, so that the user is required to manually sort and arrange the extraction contents, thereby affecting the user experience.
In view of this, the embodiment of the application provides a method and an electronic device for extracting, which can generate and view extraction content through convenient operation of a user in the extraction process of the user, so as to improve the extraction experience of the user.
In the embodiment of the present application, an electronic device is taken as an example of a tablet. The electronic device may also be a smart phone, tablet, notebook, personal computer (personal computer, PC), ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), vehicle-mounted device, wearable device, foldable device, etc.
Fig. 3 is a schematic diagram of a set of graphical user interfaces (graphical user interface, GUI) provided by an embodiment of the present application. Wherein (a) to (c) in fig. 3 show a process in which the user views the excerpted content in the tablet.
Referring to (a) of fig. 3, the GUI is a flat display interface 210, and the display interface 210 may be an interface of a certain file, an interface of a certain web page, or the like. Text content 211, pictures 212, and the like may be included in the display interface 210. When the tablet detects a preset operation, a snippet mode may be entered, displaying a GUI as shown in fig. 3 (b).
It should be understood that the preset operation may be an operation in which the user slides from one vertex of the flat panel display interface to the other vertex of the diagonal direction using a stylus or a finger, clicking the extract button in the ejected card.
Alternatively, the preset operation may be an operation in which the user slides from one vertex of the flat panel display interface to another vertex of the diagonal direction using a stylus or a finger. The manner in which the tablet enters the extract mode is not limited in the embodiments of the present application.
Referring to fig. 3 (b), after entering the extraction mode, an extraction status bar 215 is extracted from the display interface 210 of the tablet, and the extraction status bar 215 may include an exit button 218, an edit button, a share button 217, a save button 216, and the like.
It should be appreciated that when the user clicks the exit button 218, the tablet may exit the snippet mode. When the user clicks the share button 217, the content of the snippet may be shared to a contact or other application.
In other embodiments, the icon of the save button 216 in the extract status bar 215 may be displayed gray if the file has not been previously extracted. At this time, it means that the save button 216 is not clickable, and even if the user clicks the save button 216, the tablet is not changed at all.
In other embodiments, if the file has not been previously extracted, the save button 216 in the extraction state 215 may not be displayed, or the user may be prompted that there is no saved extraction content.
In other embodiments, if the file has not been previously extracted, a prompt box may pop up when the user clicks the save button 216 to prompt the user that no content has been extracted.
After the tablet detects the operation of the user clicking the save button 216, the tablet may display a GUI as shown in (c) of fig. 3.
Referring to fig. 3 (c), a card 213 may be ejected from the display interface 210, where the card 213 may include content of a previous clip, a time of the clip, and an identification of a file of the clip (e.g., a clip from a file a), and a push button 214 may be included in the card 213. Through the one-key insert button 214, the user may insert the excerpted content into other applications or web pages for information integration by the user.
It should be appreciated that the position of the card 213 in the display interface 210 is not limited in the embodiments of the present application, for example, the card 213 may be located at a predetermined distance below the extraction status bar 215, or the card 213 may be located at an edge or other location of the display interface 210, or the like.
In the embodiment of the application, after entering the snippet mode, the user can conveniently click the save button, and the content of the previous snippet can be checked.
FIG. 4 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Wherein (a) to (c) in fig. 4 show the procedure in which the user extracts the file a for the first time in the tablet.
Referring to fig. 4 (a), the GUI is a display interface 310 of the tablet after entering the extract mode. The display interface 310 may include a snippet status bar 320, text content, pictures, and the like.
After the tablet detects that the stylus 200b has selected the text 311, the text 311 may be highlighted or highlighted, further when the tablet detects that the user's finger is slid (e.g., up, down) on the display screen and the display interface is changed, the tablet may automatically save the text 311 selected by the user, i.e., extract the text 311, and the tablet may display a GUI as shown in (b) of fig. 4.
In other embodiments, the user may also select text 311 with a finger.
In other embodiments, the tablet may extract text 311 after detecting that stylus 200b has selected text 311, and further detecting that the stylus has slid over the edge of the tablet display.
In the embodiment of the present application, the display interface 210 is taken as an example of a display interface of a page of the document a.
It should be appreciated that the extraction status bar 320 may refer to the relevant description of the extraction status bar 215, and will not be repeated for brevity.
Referring to (b) of fig. 4, the GUI is a flat panel display interface 330. The display interface 330 is an interface that the tablet displays in response to a user's finger sliding upward. The upper right corner of the save button 321 in the status bar 320 in the display interface 330 may display unread indicia, such as a red indicia, a numerical indicia, a red note, a numerical indicia, etc., for prompting the user that the clip content is saved by the tablet.
In other embodiments, the unread mark may also be located at other locations of the save button 321, such as the upper left corner, lower left corner, etc.
After the tablet detects the operation of the user clicking the button 321, a GUI as shown in (c) of fig. 4 may be displayed.
Referring to fig. 4 (c), a card 322 may be ejected from the display 330, the card 322 may include the content of the user's clip, the time of the clip, and an identification of the file of the clip (e.g., the clip from file a), and the card 213 may further include a push button 323. Through the one-key insert button 323, the user can insert the extracted content into other application programs or web pages, so that the user can integrate information conveniently. The unread indicia of the save button 321 disappear to alert the user that the excerpt content has been viewed.
In some embodiments, after the user views the snippet, the unread mark of the save button 321 disappears, and the save button 321 may change to a selected state, such as highlighted or highlighted; alternatively, a selected mark may appear on the save button 321, such as a graphic (e.g., circular, square) mask of fill color (e.g., gray) over the save button 321, and the save button 321 is visible; alternatively, a circle mark or the like appears on the save button 321, which is not limited in the embodiment of the present application.
It should be appreciated that the identification of the extracted file may also be the name of file a, indication information for indicating file a, etc.
It should be appreciated that the tablet may obtain the name of File A at the time of the snippet and retrieve the name of File A from the snippet file, thereby determining whether file A was previously snippeted.
In the embodiment of the application, when the user extracts a file for the first time, the tablet can save the content of the user extract by detecting that the handwriting pen selects the content of the extract and the user finger slides on the display screen, so that the user can automatically save the content selected by the user in the process of continuously browsing downwards, and when the user wants to view the content of the extract, the user can view the content only by clicking the save button, thereby improving the user experience.
In some cases, the user has already extracted file a, and when the user exits the extraction mode, the user enters the extraction mode again to extract file a.
FIG. 5 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Wherein, the processes of the user not first picking up the file a and viewing the content of the picking up in the tablet are shown from (a) to (c) in fig. 5.
It should be understood that (a) to (b) in fig. 5 may be referred to the related descriptions of (a) to (b) in fig. 4, and will not be repeated for brevity.
Referring to fig. 5 (c), a card 340 may be ejected from the display 330, and the card 340 may include the current snippet information 341, the historical snippet information 342, and an identification of the file of the snippet. The current snippet information 341 may include the content of the snippet and the time of the snippet, and the historical snippet information 342 may include the content of the historical snippet and the time of the snippet. The card 330 may further include a one-key insert button 343, through which the user may insert the plurality of excerpted contents into other applications or web pages, so as to facilitate information integration by the user. The unread indicia of the save button 321 disappear to alert the user that the excerpt content has been viewed.
It should be appreciated that the save button 321 may also be referred to in the foregoing description.
It should be understood that the historical extraction information may be information generated by extracting the file a by the user before the current extraction, where the historical extraction information may be stored in a memory of a tablet or may be stored in a cloud server, and the embodiment of the present application is not limited.
It should be appreciated that the tablet may obtain the name of File A at the time of the snippet and retrieve the name of File A from the snippet file, and when the name of File A is retrieved from the snippet file, it may be determined that File A was previously snippeted so that the snippet file may be displayed in card 340 when viewed by the user.
In the embodiment of the application, when the user extracts the file A after exiting the extraction mode and enters the extraction mode to extract the file A again, the tablet can save the content of the new extraction of the user by detecting that the handwriting pen selects the extraction content and the user finger slides on the display screen, so that the user can automatically save the content selected by the user in the process of continuously browsing downwards, and when the user wants to view the extraction content, the user can view the extraction content and the historical extraction content only by clicking the save button, thereby avoiding manual arrangement of the user and improving the experience of the user.
FIG. 6 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Here, (a) to (d) in fig. 6 show a process in which the user successively extracts the same file in the tablet.
It should be understood that fig. 6 (a) may be referred to in fig. 4 (a) for brevity and will not be described again here.
Referring to (b) of fig. 6, the GUI is a flat panel display interface 330. The upper right corner of the save button 321 in the snippet status bar 320 in the display interface 330 may display an unread mark for prompting the user that the tablet saved the snippet.
At this point, the user may click on the save button 321 to view the content of the snippet. Alternatively, the user may proceed with the snippet. For example, the user may click on the picture 312 using a stylus or may scroll through the picture 312, and after detecting this operation, the tablet may highlight or highlight the picture 312, and further, the tablet may automatically save the picture 312 of the user's excerpt and display the GUI shown in (c) of fig. 6 if the tablet detects that the user's finger is slid up or down in the display screen of the tablet and the display interface is changed.
In other embodiments, the picture 312 may also be taken as excerpt when the user's finger presses the picture 312 long.
In other embodiments, after the tablet detects that the content is extracted, the user switches the display interface to other application programs or display desktops through operation, so that the tablet can automatically save the content extracted by the user, and further, the user can be prevented from manually clicking and saving, and the user experience is improved.
Referring to (c) of fig. 6, the GUI is a display interface 340 displayed for the tablet in response to a sliding operation by the user. The save button 321 in the extract status bar 320 in the display interface 340 continues to display unread marks.
In other embodiments, the unread tag may be a digital corner tag, and if two pieces of unread snippet content are present in (c) of fig. 6, the digital corner tag may be 2.
After the tablet detects an operation of clicking the save button 321 by a user's finger or stylus, a GUI as shown in fig. 6 (d) may be displayed.
Referring to fig. 6 (d), a card 360 may be ejected from the flat panel display interface 340, and the card 360 may include clip information 362 and clip information 363 of a user clip, wherein the clip information may be arranged according to a time sequence of the user clip, and a key insert button 361 may be included in the card 360, through which the user may insert the plurality of clip contents into other applications or web pages, so that the user may integrate information.
In the embodiment of the application, the user can continuously extract the file A, and the tablet can automatically store the content extracted by the user according to the operation of the user, so that the user can be prevented from manually clicking and storing, and when the user wants to view the extracted content, the user can view the content extracted for a plurality of times only by clicking the storage button, thereby improving the experience of the user.
FIG. 7 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Wherein (a) through (i) in fig. 7 show the process of the user picking and viewing different files in the tablet.
It should be understood that (a) to (c) in fig. 7 may be referred to in the related descriptions of (a) to (c) in fig. 4, and are not repeated herein for brevity.
In the display interface 330, when the tablet detects an operation of opening another file B by the user, a GUI as shown in (d) of fig. 7 may be displayed.
Illustratively, the user slides up from the bottom of the display interface 330, into the task center, and opens file B from the task center. Alternatively, the user exits file a, opens file B, and so on.
It will be appreciated that the slab does not exit the extraction mode from the process of (c) to (d) in fig. 7.
Referring to fig. 7 (d), the GUI is a page display interface 370 of the tablet open file B, and the extraction status bar 320 may be included in the display interface 370.
When the tablet detects that the user selects the text 371 using a stylus, the text 371 may be highlighted or highlighted, and further, when the tablet detects that the user's finger slides in the display interface 370 and the display interface changes (slides up, slides down, slides up or down at an angle, etc.), the tablet may automatically save the text 371 selected by the user. At this time, the tablet may display a GUI as shown in (e) of fig. 7.
In some embodiments, text 371 may also be saved automatically when the tablet detects that the stylus is slid up or down the edge of the tablet display after the user selects text 371.
Referring to (e) of fig. 7, the GUI is a display interface 380 displayed by the tablet in response to an upward sliding operation by the user. The save button 321 in the extract status bar 320 in the display interface 380 may display an unread mark.
It should be appreciated that the unread marks may be referred to in the foregoing description and will not be repeated for brevity.
After the tablet detects an operation of clicking the save button 321 with a user's finger or stylus, the tablet may display a GUI as shown in (f) of fig. 7.
Referring to fig. 7 (f), a card 381 may be ejected from the display interface 380, where the card 381 may include both the clip information of the file B and the clip information of the file a, the clip information of the file B may further include a one-key insert button 382, and the clip information of the file a may further include a one-key insert button 383. The technical scheme is beneficial to the user to conveniently check the extract information of a plurality of files, and improves the user experience.
When the tablet is in the extract mode, upon detecting the operation of opening the file a again by the user, a GUI as shown in (g) of fig. 7 may be displayed.
It should be understood that the present application is not limited to the specific manner in which the tablet operates from opening file B to opening file a.
In fig. 7, (g) and (h), reference may be made to the descriptions related to fig. 6 (b) and (c), and for brevity, description will not be repeated.
When the tablet detects an operation of clicking the save button 321 by the user, a GUI as shown in (i) in fig. 7 may be displayed.
Referring to (i) of fig. 7, a card 345 may be ejected from the flat panel display interface 340, and the card 345 may include therein clip information of a file a and clip information of a file B, wherein the file a has a plurality of pieces of clip information due to a plurality of clips, and the plurality of pieces of clip information may be arranged in time series. The clip information of the file a may further include a one-key insert button 346, and the clip information of the file B may further include a one-key insert button 347, so that a user can insert a plurality of pieces of clip information into a place where needed through the one-key insert button, thereby avoiding the process of manual arrangement by the user.
According to the method and the device, under the condition that a user does not exit from the extraction mode, information is extracted from the file A, information is extracted from the file B, the information is extracted from the file A, the user can conveniently check a plurality of pieces of extraction information extracted from a plurality of files, the extraction information belonging to the same file is sorted together according to time sequence, a one-key insertion function is provided, the user can insert the plurality of pieces of extraction information into a place where the user needs by one key, and the manual sorting process of the user is avoided.
FIG. 8 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Wherein (a) through (f) in fig. 8 show the process of the user picking and viewing different files in the tablet.
Referring to fig. 8 (a), the GUI is a display interface 410 for a tablet to open a page of file a in the extract mode. The display interface 410 may include a snippet status bar 420, text content, and picture content.
When the tablet detects that the stylus is slid in the display interface 410, a GUI as shown in (b) of fig. 8 may be displayed.
It should be understood that (b) in fig. 8 may be referred to the related description of (a) in fig. 4.
When the tablet detects an operation of opening another file B by the user, a GUI as shown in (d) of fig. 7 may be displayed.
Referring to fig. 8 (c), the GUI is a display interface 420 for a page of the tablet open file B. Unread marks may be displayed in a save button 431 in the extract status bar 420 in the display interface.
The unread marks may be found in the description hereinbefore.
When the tablet detects that the stylus is slid in the display interface 410, a GUI as shown in (d) of fig. 8 may be displayed.
Referring to (d) of fig. 8, the text 421 selected by the stylus in the display interface 430 becomes highlighted or highlighted to distinguish other portions. The save button 431 in the extract status bar 420 displays an unread mark. When the tablet detects that the user's finger is slid over the display interface 430 and causes a change in the display interface, the tablet may automatically extract the text 421 portion, which is saved in memory or in a cloud server.
In response to a sliding operation of the user's finger, the tablet may display a GUI as shown in (e) of fig. 8.
Referring to (e) of fig. 8, the GUI is a flat panel display interface 440. The save button 431 in the extract status bar 420 in this display interface 440 continues to display unread marks.
In other embodiments, the unread label is a digital corner mark, such as 2.
When the tablet detects an operation of clicking the save button 431 with a user's finger or a stylus pen, a GUI as shown in (f) of fig. 8 may be displayed.
Referring to fig. 8 (f), a card 450 is ejected from the flat panel display 440, and the card 450 may include clip information in file B and clip information in file a, and the clip information may include clip content and clip time. The clip information of the file B may further include a one-key insert button 451, and the clip information of the file a may further include a one-key insert button 452.
In this embodiment, the user extracts the content in the file a, does not exit the extraction mode, extracts the content in the file B, and when viewing the extracted content, the extraction card may display both the extracted content in the file B and the extracted content in the file a to the user, so that the user is facilitated to read the extracted content in different files. In addition, the one-key insertion function is further provided in the clip, and a user can insert the content of the clip into a required place by one key, so that the manual arrangement process of the user is avoided, and the user experience is improved.
The process by which a user inserts excerpted content into other files or applications in embodiments of the present application will be described below in connection with FIGS. 9-10.
FIG. 9 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Here, a process in which the user inserts clip information into another application is shown from (a) to (c) in fig. 9.
Referring to fig. 9 (a), the GUI is a display interface 501 of the tablet in the split screen state in the extract mode. The display interface 501 includes a first display interface 510 and a second display interface 520, where the first display interface 510 is a display interface of a first application program, and the second display interface 520 is a display interface of a second application program. The display interface 501 may also include a clip status bar 511, where the save button 512 in the clip status bar 511 has an unread mark.
It should be appreciated that the extract status bar 511, unread labels may be found in the relevant description above.
In some embodiments, the save button 512 may also not include an unread flag, indicating that the user has read the snippet information.
When the tablet detects an operation of the pen or the user's finger long-pressing the save button 512, a GUI as shown in (b) of fig. 9 may be displayed. In other embodiments, clicking on the save button 512 displays as in fig. 9 (b), and pressing the save button 512 long may drag the save button 512 directly to effect a subsequent insertion operation, and the card 530 as in fig. 9 (b) may not be displayed during insertion.
Referring to (b) of fig. 9, a card 530 may be ejected in the flat panel display interface 501, contents extracted by a user and a one-key insert button 531 may be included in the card 530, and the card 530 may be moved along with dragging of a finger of the user.
For example, a user's finger may hold the save button 512 long, ejecting the card 530, and sliding the user's finger from the save button 512 into the interface 520, the card 530 may follow the sliding movement of the user's finger, and when the user's finger is removed from the interface, the place where the card rests is the place of insertion, and the tablet may display the extracted content at that location.
In some embodiments, the card may not include a push button 531, which is not limited in this embodiment.
In some embodiments, the user may also insert the snippet information into a webpage or file, although embodiments of the present application are not limited. Alternatively, the user may insert the snippet information into the first display interface 610.
When the tablet detects an operation of dragging and removing the user's finger, the GUI shown in (c) of fig. 9 may be displayed.
Referring to fig. 9 (c), the GUI is a flat panel display interface 502. In the display 502, the second display 520 includes the user-inserted snippet information 521, where the snippet information 521 may include the content of the snippet, the time of the snippet, and an identifier of the snippet file. The save button 512 does not display an unread corner mark.
In other embodiments, the card 530 may also include the clip information of a plurality of files, and the user may insert the clip information of the plurality of files into the second display interface 520 at one time, thereby avoiding the manual arrangement of the user.
In other embodiments, when the tablet is not in the split-screen state, the user may insert the extracted content to a place where needed by using the method described above, which is not limited in the embodiments of the present application.
For example, when the tablet is in the snippet mode, in response to a user operation, the tablet opens a notepad or memo and displays its interface full screen, the user may also drag the snippet information in the save button into the notepad or memo.
In the embodiment of the application program, the tablet can conveniently insert the extracted content into the application program which the user wants to insert according to the dragging operation of the user, so that the user experience can be improved.
FIG. 10 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Here, a process in which the user inserts clip information into another application is shown from (a) to (d) in fig. 10.
It should be understood that fig. 10 (a) may be referred to in fig. 9 (a) for brevity and will not be described again here.
When the tablet detects an operation of clicking the save button 612 with a user's finger or stylus, a GUI as shown in (b) of fig. 10 may be displayed.
Referring to fig. 10 (b), a card 630 may be ejected in the flat panel display interface 601. The card 630 may include a plurality of clip information, such as clip information of file B and clip information of file a, and the card 630 may further include one-key insert buttons 631 and 632. The save button 612 does not display an unread corner mark.
It should be appreciated that the card 630 may be closed after the user again clicks on the save button 612.
When the tablet detects an operation of the user clicking the one-touch insert button 631, a GUI as shown in (c) of fig. 10 may be displayed.
Referring to fig. 10 (c), the GUI is a flat panel display interface 602. The second display 620 of the display 602 may include snippet information 621 of the file B inserted by the user, where the snippet information 621 may include a snippet content, a snippet time, and an identification of the file B. The save button 612 in the display interface 602 does not display an unread corner mark.
It should be appreciated that the interface focus of the tablet may be located in the second display 620 before the user clicks the save button 612, e.g., the user has just opened the second display. Alternatively, if the interface focus of the tablet is located in the first display interface, the excerpt content may be inserted into the first display interface.
In other embodiments, the display interface 602 may further include a card 630, i.e., after the user clicks the one-click insert 631, the card 630 does not disappear, and the user may continue to insert the snippet information. When the user clicks save button 612 again, the card 630 may be closed.
In other embodiments, the user may also click the one-click insert button 632 so that the snippet information for file A may be inserted into the second display interface 620.
In other embodiments, when the user clicks the one-touch insert button 631, a prompt box may pop up asking the user that he or she wishes to insert into either the first display interface 610 or the second display interface 620.
In some embodiments, when the user clicks save button 612 again, the card 630 may reappear and the user may also perform subsequent operations such as inserting snippet information for file A.
In the embodiment of the application, the tablet can conveniently insert the extracted information into other application programs or webpages or files by one key according to the operation of the user, so that the user can conveniently arrange the extracted information, and the user experience is improved.
It should be understood that the solutions in fig. 3 to 10 may be used in combination with each other, and the embodiments of the present application are not limited.
FIG. 11 is a schematic flow chart diagram of an extraction method provided by an embodiment of the present application. As shown in fig. 11, the method 1100 may be applied to an electronic device, the electronic device including a first display interface, and the method 1100 may include steps 1110 to 1140.
1110, in response to a first operation by a user, the electronic device enters a snippet state.
The first operation may be, for example, an operation in which the user slides from one vertex of the flat panel display interface to the other vertex of the diagonal direction using a stylus or a finger, clicking the extract button in the ejected card. The first operation may also be an operation of clicking a snippet button or the like. Alternatively, the first operation may be an operation in which the user slides from one vertex of the flat panel display interface to another vertex of the diagonal direction using a stylus or a finger. The manner in which the tablet is put into the extracted state is not limited in the embodiments of the present application.
It should be appreciated that the electronic device entering the snippet state may also be referred to as the electronic device entering a snippet mode.
1120, the electronic device detects a second operation of the input device to select the first snippet content in the first display interface.
The first display interface may be the interface currently displayed by the electronic device, for example, may be the display interface of an opened file or web page or application program, and the user may wish to extract a portion of the content therein.
The first extracted content may be text, picture, moving picture, video, etc., and the embodiment of the present application is not limited to the specific form of the first extracted content.
In some embodiments, the input device may be a stylus.
In other embodiments, the user may select the first clip content by long finger pressing, etc., which is not limited in the embodiments of the present application.
1130, the electronic device detects a third operation of the user in the first display interface.
Illustratively, the third operation may be at least one of: sliding, switching display interfaces and switching application programs.
For example, the sliding may be an upward sliding, a downward sliding, an upward or downward sliding at an angle; the switching display interface may be to exit the current display interface and open other display interfaces; the application program can be switched to a task center, other application programs are opened, or the like, or the application program is returned to a display desktop, and other application programs are opened.
1140, the electronic device saves the first snippet content upon determining that the third operation changed the first display interface.
When the third operation causes the display interface of the electronic device to change, the electronic device may automatically save the first clip content of the user clip.
Illustratively, referring to fig. 4, the electronic device may be a tablet, the first display interface may be a display interface 310, the first excerpt may be text 311, and the third operation is that the user slides up in the display interface 310, the tablet may automatically save the text 311.
In one embodiment of the present application, in the extracted state, the electronic device may detect an operation of selecting the first extracted content in the display interface by the input device (such as a stylus), and when a third operation of changing the display interface of the electronic device is continuously detected, the electronic device may save the first extracted content. According to the technical scheme, when the user slides the interface or switches pages, the content of the user extract can be automatically stored, the manual storage operation of the user is avoided, and further the user experience is improved.
In some embodiments, the method 1100 may further include, prior to the electronic device saving the first snippet content:
the electronic device determines that first excerpted content is present in the first display interface.
In the embodiment of the application, when the first display interface is changed in response to the third operation of the user, the electronic device needs to judge whether the extracted content exists in the first display interface, and automatically stores the extracted content when determining that the extracted content exists, so that the operation of the user can be reduced during the extraction, and the extraction efficiency is improved.
In some embodiments, the method 1100 may further include, before the electronic device detects the third operation of the user in the first display interface:
in response to the second operation, the electronic device changes the first snippet content to a selected state.
In some embodiments, the selected state may be highlighting or highlighting the first snippet content, or the like, such that the first snippet content is distinguished from other content.
Illustratively, referring to (a), (b) in fig. 8, when the tablet detects a selection operation of the stylus in the display interface 410, the text 411 selected by the user is changed to be highlighted or highlighted.
In this embodiment of the present application, when the electronic device detects that the user selects the content to be extracted using the input device (such as a handwriting pen), the content to be extracted may be changed to the selected state, so that it is beneficial for the user to distinguish which content is extracted by the user.
In some embodiments, in the snippet state, the electronic device displays a snippet state field, the snippet state including a save button, and the method 1100 may further include:
the save button displays an unread mark while the electronic device saves the first excerpted content.
It should be appreciated that an exit button, a share button, etc. may also be included in the snippet status bar.
Illustratively, referring to FIG. 5, the electronic device is a tablet that, in the extracted state, displays an extracted state field 320, the first extracted content being text 311, and when the tablet stores the text 311, a save button in the extracted state field displays an unread mark.
Illustratively, the unread mark may be located in the upper right corner, upper left corner, etc. of the save button, and the unread mark may also be a red dot, a numerical corner mark, etc.
In the embodiment of the application, when the electronic device stores the new clip content, the storage button in the clip status bar can display the unread mark, so that the user is reminded to store the new clip content.
In some embodiments, the method 1100 may further comprise:
in response to a user clicking a save button, the electronic device displays a first snippet card including first snippet information, the first snippet information including first snippet content.
The first snippet information may include the snippet content, a time of the snippet, an identification of a file in which the snippet content is located, a chapter, and so forth.
Illustratively, referring to (b), (c) in fig. 4, the first snippet card may be card 322, and the first snippet information may be the snippet content, time, and snippet from file a included in card 322. The card 322 may be displayed when the tablet detects an operation of clicking the save button 321 by the user.
In some embodiments, the first snippet card may also have a one-touch insert button by which the user may insert content in the first snippet card into another page or application.
In this embodiment of the present application, when the user wishes to view the content of the snippet, the electronic device may pop up the snippet card by clicking the save button in the snippet status bar, where the content of the snippet of the user may be displayed. The technical scheme can enable the user to quickly view the content of the excerpt.
In some embodiments, the first snippet card further includes second snippet information that includes historical snippet content.
In a possible implementation, the second snippet information includes a history of the same content as the file in which the first snippet is located, that is, the history of the content that was previously obtained by the user for the file a, and the first snippet is also obtained for the file a.
For example, referring to FIG. 5, the second snippet information may be historical snippet information 342, where the historical snippet information 342 includes historical snippet content. Historical snippet time, etc., may also be included in the historical snippet information 342.
In another possible implementation, the second snippet information includes a history snippet content that is different from the file in which the first snippet content is located, that is, the history snippet content is content that the user previously snippeted on file a, and the first snippet content is content that the user snippets on file B.
For example, referring to (f) in fig. 7, the second snippet information may be snippet information from file a, and the first snippet information may be snippet information from file B.
In another possible implementation manner, the second snippet information includes a portion of historical snippet content that is the same as the file in which the first snippet content is located, and is partially different from the portion of the historical snippet content that includes content that was previously extracted from the file B by the user and also includes content that was extracted from the file a, where the first snippet content is the content extracted from the file a. In this case, the content extracted from the file a included in the history extracted content will be displayed below the first extracted content and under the same identification of the file a; the content of the history extract to the extract of file B is under the identification of file B.
Illustratively, referring to (i) in fig. 7, a portion of the second snippet information is snippet content from file a and a portion is snippet content from file B.
In the embodiment of the application, when the user views the content of the snippet, the content of the historical snippet can be included in the snippet card besides the content of the current snippet, so that the user can conveniently view a plurality of content of the snippet, and manual arrangement of the user is avoided.
In some embodiments, the method 1100 may further comprise:
the electronic equipment detects a fourth operation of selecting second extract content in a second display interface by the input equipment, wherein the second display interface is an interface displayed by the electronic equipment in response to the third operation;
the electronic equipment detects a fifth operation of a user in the second display interface;
upon determining that the fifth operation causes a change in the second display interface, the electronic device saves the second excerpted content.
Illustratively, referring to fig. 7, the first display interface may be a flat panel display interface 310, the second display interface may be a flat panel display interface 330, the display interface 330 is an interface displayed by the flat panel in response to an operation of the user sliding up, and the second excerpt content may be a picture 312. The fifth operation may be an operation in which the user slides up in the display interface 330, and the second snippet content may be automatically saved when the tablet detects an operation in which the user slides up in the display interface 330.
In other embodiments, the fifth operation may also be to switch applications, slide down, etc.
In the embodiment of the application, when the electronic equipment can continuously extract the content of the extract selected by the user, the content of the extract of the user can be automatically stored according to the operation of the user, so that the user can be prevented from manually clicking and storing the content. Alternatively, when the electronic device jumps from file a to file B for extraction, the content extracted in file B may be automatically saved.
In some embodiments, the method 1100 may further comprise:
in response to a user clicking a save button, the electronic device displays a second snippet card including first snippet information including first snippet content and third snippet information including second snippet content.
In one example, the first excerpt is the same as the file or application or web page in which the second excerpt is located, e.g., the first excerpt is from file A and the second excerpt is from file B.
Illustratively, referring to FIG. 8, the second snippet card may be card 450, the first snippet information may be snippet information from file A, and the third snippet information may be snippet information from file B.
In another example, the first snippet content is the same as the file or application or web page in which the second snippet content is located, as is file A.
For example, referring to fig. 6, the first extraction information may be extraction information 363, and the third extraction information may be extraction information 362, that is, the file in which the first extraction content and the second extraction content are located is file a.
In the embodiment of the application, when the user wants to view the extract content, the electronic equipment can simultaneously present the extract information from the same file or different files to the user only by clicking the storage button, so that manual arrangement of the user is avoided, and user experience is improved.
In some embodiments, the electronic device further includes a third display interface, where the first display interface is a display interface of the first application and the third display interface is a display interface of the second application, and the method 1100 may further include:
in response to a user's long-pressing of a save button in the snippet status bar, the electronic device displays a third snippet card that includes the first snippet information and/or the historical snippet information;
in response to a drag operation by the user, the electronic device inserts the first snippet information and/or the historical snippet information into a third display interface.
Illustratively, referring to FIG. 9, the first display interface may be display interface 510, the third display interface may be display interface 520, and the third snippet card may be card 530. The card 530 may be displayed when the tablet detects an operation of the user to press the save button 512 for a long time, and contents in the card 530 may be inserted into the display interface 520 along with a drag operation of the user when the tablet detects a drag operation of the user.
It should be appreciated that the historical snippet information may be the same file as the first snippet content or may be a different file.
In other embodiments, the first display may be a display of file a, the second display may be a display of file a, and files a and B may belong to the same application, such as two documents.
It should be appreciated that the content included in the third snippet card may also be inserted into the first display interface when the first display interface supports editing.
For example, when the electronic device is in a split screen scenario, for example, the left half screen displays a first display interface, the right half screen displays a third display interface, where the first display interface is a display interface of the file a, and the third display interface is a memo, a notepad, and so on.
For example, when the electronic device is in a multi-window scenario, a first display interface of a first application and a third display interface of a second application may be displayed.
In the embodiment of the application, under the scene that the electronic equipment is in a split screen or a multi-window, the user can press the storage button for a long time, the electronic equipment can pop up the clip card, and the user drags the clip card at any time, so that the content in the clip card can be dragged into the third display interface. According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert, and user experience is improved.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces by pressing the save button and dragging.
In some embodiments, the electronic device further includes a third display interface, where the first display interface is a display interface of the first application and the third display interface is a display interface of the second application, and the method 1100 may further include:
in response to a user clicking a save button in the snippet status bar, the electronic device displays a fourth snippet card that includes the first snippet information and a first one-key insert button;
In response to a user clicking the first one-touch insert button, the electronic device inserts the first snippet information into the third display interface.
Illustratively, referring to fig. 10, in the split-screen state of the tablet, the first display interface may be a display interface 610 of the tablet, the third display interface may be a display interface 620 of the tablet, the fourth snippet card may be a card 630, the first snippet information may be snippet information from file B, and the first one-key insert button may be a one-key insert button 631. When the tablet detects operation of the user clicking the save button 612, the card 630 may be displayed; when the operation of the user clicking the one-touch insert button 631 is continuously detected, the clip information from the file B may be inserted into the display interface 620.
It should be appreciated that at this point, the interface focus of the tablet may be located in display interface 620.
In other embodiments, when the electronic device detects that the user clicks on the first one-touch insert button, the electronic device may pop up a prompt box to facilitate the user's selection of where to insert the snippet information.
In this embodiment of the present application, in a scenario where the electronic device is in a split screen or multiple windows, the user may click the save button, the electronic device may present the content extracted by the user to the user, and when the user clicks the one-click insert button, the content extracted by the user may be inserted into the third display interface by one-click. According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert, and user experience is improved.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces via the one-touch insert button.
In some embodiments, the fourth snippet card further includes fourth snippet information and a second one-key insert button, the fourth snippet information having a source that is different from the source of the first snippet information, and the method 1100 may further include:
in response to a user clicking the second one-touch insert button, the electronic device inserts the fourth snippet information into the third display interface.
It should be understood that the source of the fourth snippet information being different from the source of the first snippet information means that the fourth snippet information and the first snippet information are each extracted from different files or applications or web pages, etc. For example, the fourth snippet information is extracted from file A and the first snippet information is extracted from file B.
Illustratively, referring to fig. 10, the fourth clip information may be clip information from the file a, the second one-key insert button may be a one-key insert button 632, and the tablet may insert the clip information from the file a into the display interface 620 after the tablet detects an operation of clicking the one-key insert button 632 by the user.
In other embodiments, when the electronic device detects that the user clicks the second one-touch insert button, the electronic device may pop up a prompt box to facilitate the user's selection of where to insert the snippet information.
In this embodiment of the present application, the electronic device may further include fourth snippet information extracted from other files in a snippet card presented to the user, and include a one-key insert button, so that the user may insert the fourth snippet information into the third display interface through the one-key insert button. According to the technical scheme, the extract information from the files can be presented to the user, so that the user can freely insert the content of the extract into the place where the user wants to insert, and the user experience is improved.
In some embodiments, the third operation includes at least one of: sliding, switching display interfaces and switching application programs.
The sliding may be, for example, an upward sliding, a downward sliding, an upward or downward sliding at an angle; the switching display interface may be to exit the current display interface and open other display interfaces; the application program can be switched to a task center, other application programs are opened, or the like, or the application program is returned to a display desktop, and other application programs are opened.
The embodiment of the application also provides a method for extracting, which is applied to the electronic equipment, wherein the electronic equipment comprises a first display interface of a first application program and a second display interface of a second application program, and the method comprises the following steps:
In the snippet state, in response to a user clicking a save button in a snippet state column, the electronic device displays a snippet card, the snippet card including first snippet information;
in response to a drag operation by a user, the electronic device inserts the first clip information into the second display interface or the first display interface.
Illustratively, referring to FIG. 9, the first display interface may be display interface 510, the second display interface may be display interface 520, the snippet card may be card 530, and the first snippet information may be snippet information from File A. The card 530 may be displayed when the tablet detects an operation of the user to press the save button 512 for a long time, and the contents in the card 530 may be inserted into the display interface 520 or the display interface 510 along with a drag operation of the user when the tablet detects a drag operation of the user.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces by pressing the save button and dragging.
According to the technical scheme, the user can freely insert the extracted content into the place where the user wants to insert along with dragging of the user, and user experience is improved.
The embodiment of the application also provides a method for extracting, which is applied to the electronic equipment, wherein the electronic equipment comprises a first display interface of a first application program and a second display interface of a second application program, and the method comprises the following steps:
in the snippet state, in response to a user clicking a save button in the snippet state column, the electronic device displays a second snippet card that includes the first snippet information and a first one-key insert button;
in response to a user clicking the first one-touch insert button, the electronic device inserts the first snippet information into the second display interface or the first display interface.
Illustratively, referring to FIG. 10, the first display interface may be display interface 610, the second display interface may be display interface 620, the second snippet card may be card 630, the first snippet information may be snippet information from file B, and the first one-key insert button may be one-key insert button 631. When the tablet detects operation of the user clicking the save button 612, the card 630 may be displayed; when the operation of the user clicking the one-touch insert button 631 is continuously detected, the clip information from the file B may be inserted into the display interface 620 or the display interface 610.
In some embodiments, the electronic device is in a full screen state, and the clip content may also be inserted into other display interfaces via the one-touch insert button.
According to the technical scheme, the user can insert the content of the snippet into the place where the user wants to insert through the one-key insertion button, so that user experience is improved.
In some embodiments, the second snippet card further includes second snippet information and a second one-key insert button, the second snippet information having a source that is different from the source of the first snippet information, the method further comprising:
in response to a user clicking the second one-touch insert button, the electronic device inserts the second snippet information into the second display interface or the first display interface.
Illustratively, referring to fig. 10, the second clip information may be clip information from file a and the second one-key insert button may be a one-key insert button 632. When the tablet detects operation of the user clicking the one-touch insert button 632, the clip information from file a may be inserted into the display interface 620 or into the display interface 610.
In other embodiments, when the electronic device detects that the user clicks the second one-touch insert button, the electronic device may pop up a prompt box to facilitate the user's selection of where to insert the snippet information.
According to the technical scheme, the extract information from the files can be presented to the user, so that the user can freely insert the extracted content into the place where the user wants to insert, and the user experience is improved.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; one or more memories; the one or more memories store one or more computer programs that include instructions that, when executed by the one or more processors, cause the extraction method as described in any of the possible implementations above to be performed.
The embodiment of the application also provides a chip, which comprises a processor and a communication interface, wherein the communication interface is used for receiving signals and transmitting the signals to the processor, and the processor processes the signals so that the extraction method as described in any one of the possible implementation modes is executed.
The present embodiment also provides a computer-readable storage medium having stored therein computer instructions that, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the extraction method in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-described relevant steps to implement the extraction method of the above-described embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the extraction method in the above method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A method of extracting, the method being applied to an electronic device that displays a first display interface, the method comprising:
responding to a first operation of a user, and enabling the electronic equipment to enter an extraction state;
the electronic equipment detects a second operation of selecting first extract content in the first display interface by the input equipment;
the electronic equipment detects a third operation of a user in the first display interface;
upon determining that the third operation causes a change in the first display interface, the electronic device saves the first snippet content.
2. The method of claim 1, wherein prior to the electronic device saving the first snippet content, the method further comprises:
the electronic device determines that the first excerpted content is present in the first display interface.
3. The method of claim 1 or 2, wherein before the electronic device detects a third operation of a user in the first display interface, the method further comprises:
in response to the second operation, the electronic device changes the first snippet content to a selected state.
4. A method according to any of claims 1-3, wherein in the snippet state, the electronic device displays a snippet state field, the snippet state including a save button, the method further comprising:
the save button displays an unread mark when the electronic device saves the first excerpted content.
5. The method according to claim 4, wherein the method further comprises:
in response to a user clicking the save button, the electronic device displays a first snippet card including first snippet information, the first snippet information including the first snippet content.
6. The method of claim 5, wherein the first snippet card further comprises second snippet information, the second snippet information comprising historical snippet content.
7. The method according to claim 4, wherein the method further comprises:
the electronic equipment detects a fourth operation of selecting second extract content in a second display interface by the input equipment, wherein the second display interface is an interface displayed by the electronic equipment in response to the third operation;
The electronic equipment detects a fifth operation of a user in the second display interface;
and when the fifth operation is determined to change the second display interface, the electronic equipment stores the second extract content.
8. The method of claim 7, wherein the method further comprises:
in response to a user clicking the save button, the electronic device displays a second snippet card including first snippet information including the first snippet content and third snippet information including the second snippet content.
9. The method of any of claims 1-8, wherein the electronic device further comprises a third display interface, wherein the first display interface is a display interface of a first application and the third display interface is a display interface of a second application, the method further comprising:
in response to a user long-pressing and dragging a save button in the snippet status bar to the third display interface, the electronic device inserts the first snippet content and/or historical snippet content into the third display interface.
10. The method of any of claims 4-8, wherein the electronic device further comprises a third display interface, wherein the first display interface is a display interface of a first application and the third display interface is a display interface of a second application, the method further comprising:
in response to a user clicking a save button in the snippet status bar, the electronic device displays a fourth snippet card, the fourth snippet card including the first snippet information and a first one-key insert button;
and in response to the operation of clicking the first one-key insertion button by a user, the electronic equipment inserts the first extract information into the third display interface.
11. The method of claim 10, wherein the fourth snippet card further includes fourth snippet information and a second one-key insert button, the fourth snippet information having a source that is different from the source of the first snippet information, the method further comprising:
and in response to the operation of clicking the second one-key insertion button by a user, the electronic equipment inserts the fourth extract information into the third display interface.
12. The method of any one of claims 1-11, wherein the third operation comprises at least one of:
Slide, switch display interfaces, or switch applications.
13. The method of any one of claims 1-11, wherein the third operation comprises at least one of:
the user uses a slide performed with a finger, switches a display interface, or switches an operation of an application program.
14. An electronic device, comprising: one or more processors; one or more memories; the one or more memories stores one or more computer programs, the one or more computer programs comprising instructions that, when executed by the one or more processors, cause the snippet method of any of claims 1-13 to be performed.
15. The electronic device of claim 14, wherein the electronic device is a tablet and the input device is a stylus.
16. A chip comprising a processor and a communication interface for receiving signals and transmitting the signals to the processor, the processor processing the signals such that the extraction method of any one of claims 1-13 is performed.
17. A computer-readable storage medium, in which computer instructions are stored which, when run on a computer, cause the extraction method of any one of claims 1-13 to be performed.
CN202210889052.3A 2022-07-27 2022-07-27 Extraction method and electronic equipment Pending CN117519521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210889052.3A CN117519521A (en) 2022-07-27 2022-07-27 Extraction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210889052.3A CN117519521A (en) 2022-07-27 2022-07-27 Extraction method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117519521A true CN117519521A (en) 2024-02-06

Family

ID=89749958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210889052.3A Pending CN117519521A (en) 2022-07-27 2022-07-27 Extraction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117519521A (en)

Similar Documents

Publication Publication Date Title
CN111966251B (en) Card display method, electronic device and computer readable storage medium
CN110362244B (en) Screen splitting method and electronic equipment
US12112014B2 (en) Widget display method and electronic device
CN114816167B (en) Application icon display method, electronic device and readable storage medium
CN113961115B (en) Object editing method, electronic device, medium, and program product
US12008211B2 (en) Prompt method and terminal device
CN117519521A (en) Extraction method and electronic equipment
CN116700554B (en) Information display method, electronic device and readable storage medium
CN116661635B (en) Gesture processing method and electronic equipment
CN115484393B (en) Abnormality prompting method and electronic equipment
CN117690147B (en) Text recognition method and electronic equipment
CN113986406B (en) Method, device, electronic equipment and storage medium for generating doodle pattern
WO2023160455A1 (en) Object deletion method and electronic device
CN118796319A (en) Display method and electronic equipment
CN117991947A (en) Picture preservation method, device, product and medium
CN117332138A (en) Searching method and electronic equipment
CN115951810A (en) Icon arrangement method and electronic equipment
CN116820288A (en) Window control method, electronic device and computer readable storage medium
CN117827067A (en) Method and device for drawing graph
CN117991937A (en) Multi-window management method, graphical interface and related device
CN118193092A (en) Display method and electronic equipment
CN117631920A (en) Data selection method and related device
CN117762290A (en) Interaction method, electronic device and readable storage medium
CN116610248A (en) Gesture control method and electronic device
CN116483244A (en) Text editing method and related equipment

Legal Events

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