CN109857578B - Text copying method and electronic equipment - Google Patents

Text copying method and electronic equipment Download PDF

Info

Publication number
CN109857578B
CN109857578B CN201910100623.9A CN201910100623A CN109857578B CN 109857578 B CN109857578 B CN 109857578B CN 201910100623 A CN201910100623 A CN 201910100623A CN 109857578 B CN109857578 B CN 109857578B
Authority
CN
China
Prior art keywords
target
content
page
target text
text
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.)
Active
Application number
CN201910100623.9A
Other languages
Chinese (zh)
Other versions
CN109857578A (en
Inventor
孔鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910100623.9A priority Critical patent/CN109857578B/en
Publication of CN109857578A publication Critical patent/CN109857578A/en
Priority to PCT/CN2020/072175 priority patent/WO2020156167A1/en
Application granted granted Critical
Publication of CN109857578B publication Critical patent/CN109857578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a text copying method and electronic equipment, wherein the text copying method comprises the following steps: acquiring at least one target text page in a plurality of text pages included in a target text; respectively acquiring target copy contents in each target text page; and storing the target copy content in each target text page to the pasting board. The method and the device can provide convenience for the cross-page content copying operation of the user, simplify the cross-page copying operation, avoid the situation of content selection interruption, and avoid the problem that the user needs to operate again due to the interruption of content selection.

Description

Text copying method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a text copying method and an electronic device.
Background
The mobile terminal is provided with various applications, can provide a text reading function for a user, and generally provides a corresponding text copying function for the user, so that the user can conveniently collect or share corresponding contents.
The existing content copying method mainly realizes copying through selecting content in a text, for example, a text selection box is displayed in the text through long-time pressing operation of a user on the text, and the adjustment of the user on the text selection box is received to determine corresponding copied content, so that copying is realized. However, in the existing content copying method, when the content to be copied by the user is located on a plurality of pages in the text content displayed in pages, the user needs to separately copy the content to be copied on each page, which results in complicated copying operation for the user, or if the user directly performs page crossing operation on consecutive pages, interruption of content selection is likely to occur, which results in the need for re-operation for the user.
Disclosure of Invention
The invention provides a text copying method and electronic equipment, which are used for solving the problem that in the prior art, when contents needing to be copied by a user are located on a plurality of pages, the copying operation is complicated or the content selection is interrupted easily, so that the user needs to operate again.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a text replication method, including:
acquiring at least one target text page in a plurality of text pages included in a target text;
respectively acquiring target copy contents in each target text page;
and storing the target copy content in each target text page to the pasting board.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the first acquisition module is used for acquiring at least one target text page in a plurality of text pages included in a target text;
the second acquisition module is used for respectively acquiring the target copy content in each target text page;
and the storage module is used for storing the target copy content in each target text page to the pasting board.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program implements the steps of the text copying method when executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned text copying method.
In the embodiment of the invention, the target copy content of each target text page in the plurality of text pages is respectively obtained, and the target copy content in each target text page is stored in the pasting board, so that convenience is provided for the cross-page content copying operation of a user, the cross-page copying operation is simplified, the situation of content selection interruption is avoided, and the problem that the user needs to operate again due to the interruption of content selection is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a text replication method according to an embodiment of the present invention;
fig. 2 is one of exemplary diagrams showing a presentation form of thumbnails of a plurality of text pages included in a target text according to an embodiment of the present invention;
fig. 3 is a second exemplary diagram illustrating a display format of thumbnails of a plurality of text pages included in a target text according to an embodiment of the present invention;
fig. 4 is an exemplary schematic diagram illustrating that contents to be copied of each target text page are displayed page by page in the text copying method according to the embodiment of the present invention;
FIG. 5 is one of exemplary diagrams illustrating a display format of a text page selection interface provided by an embodiment of the invention;
FIG. 6 is a second exemplary diagram illustrating a display format of a text page selection interface according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, which is a flowchart illustrating a text copying method according to an embodiment of the present invention, the text copying method provided in an embodiment of the present invention is applied to an electronic device, where the electronic device has a content copying function, and the text copying method may include the following steps:
step 101, at least one target text page of a plurality of text pages included in a target text is obtained.
In this step, at least one target text page to be copied in the multiple text pages is obtained from a target text including the multiple text pages browsed by the user, so that the content in the at least one target text page can be copied in the subsequent steps. Here, the at least one target text page is a text page that needs to be copied and is selected by a user among the plurality of text pages, and the at least one target text page may be any text page of the plurality of text pages included in the target text, where when there are at least two target text pages, the at least two target text pages may include: text pages that are consecutive to one another (e.g., text pages that are consecutive in page number), and/or text pages that are not consecutive to one another (e.g., text pages that are not consecutive in page number).
In the embodiment of the invention, a multi-page copy mode can be preset, and a corresponding preset switch and/or preset operation can be set, so that a user can conveniently select whether to start the text copy method according to the self requirement. After a user triggers a preset switch or preset operation, the electronic equipment receives a trigger instruction, starts a multi-page copy mode and acquires at least one target text page needing to be copied from a plurality of text pages included in a target text. The preset switch may be a virtual button or a physical button, and the preset operation may include a gesture operation and/or a voice operation.
And 102, respectively acquiring target copy contents in each target text page.
In this step, based on the at least one target text page obtained in step 101, each target text page is traversed, and target copy contents to be copied in each target text page are respectively obtained.
And 103, storing the target copy content in each target text page to the pasting board.
In this step, after the target copy content of each target text page in the at least one target text page is acquired in step 102, all the target copy contents in the at least one target text page are uniformly stored on the pasting board, so that the user can subsequently paste the target copy contents to complete the copying and pasting of the selected contents. Optionally, in order to make the copy operation more suitable for the user's requirements, in the process of storing the target copy content in each target text page to the pasting board, for each target text page, the target copy content in each target text page may be stored to the pasting board according to the display mode of the target copy content in the corresponding target text page, that is, the target copy content is stored in the pasting board according to the display mode of the target copy content in the corresponding target text page, so that when the user performs the pasting operation, the electronic device receives and responds to the pasting operation, and can directly paste the target copy content according to the display mode stored on the pasting board; or, for each target text page, obtaining the display mode of the target copy content in each target text page in the target text page, marking the display mode, obtaining and storing the marking information, so that when the user performs the pasting operation, the electronic device receives and responds to the pasting operation, obtains the target copy content stored on the pasting board and the marking information associated with the target copy content, and pastes the associated target copy content according to the marking information; thus, the display mode can be kept when pasting the target copy content stored on the pasting board.
In the embodiment of the invention, the target copy content of each target text page in the plurality of text pages is respectively obtained, and the target copy content in each target text page is stored in the pasting board, so that convenience is provided for the cross-page content copying operation of a user, the cross-page copying operation is simplified, the situation of content selection interruption is avoided, and the problem that the user needs to operate again due to the interruption of content selection is avoided.
In some optional embodiments of the present invention, in step 101, obtaining at least one target text page of a plurality of text pages included in the target text may include the following steps: displaying thumbnails of a plurality of text pages included in the target text; and receiving selection operation of thumbnails of the plurality of text pages, and determining that the text page corresponding to the thumbnail selected by the selection operation is the target text page. In the embodiment of the invention, when a user needs to copy the content in the target text, a plurality of text pages included in the target text are displayed in a thumbnail mode, so that the user can select the target text page needing to be copied from the plurality of text pages included in the target text; the user selects the thumbnails of the text pages according to the requirement to select the target text page to be copied, at the moment, the electronic equipment receives and responds to the selection operation, and the text page corresponding to the thumbnail selected by the selection operation is determined as the target text page, so that the user can quickly select the target text page to be copied. Here, thumbnails of a plurality of text pages included in the target text may be displayed in a preset presentation form, which may include any one of a list arrangement form, a stack arrangement form, and a matrix arrangement form. In addition, in order to meet the use requirements of the user, thumbnails of a plurality of text pages included in the target text can be triggered and displayed through a preset trigger operation, specifically, the user can respond to the preset trigger operation by performing the preset trigger operation, that is, the electronic device receives the preset trigger operation on the target text, so as to display the thumbnails of the plurality of text pages included in the target text. In addition, in order to facilitate the user to determine the selected thumbnail distinctively, after receiving a selection operation on thumbnails of a plurality of text pages, the thumbnail selected by the selection operation is displayed in a preset identification manner in response to the selection operation, for example, a preset mark information may be added to the selected thumbnail, or the selected thumbnail may be highlighted in a preset style.
In one example, as shown in fig. 2, thumbnails of a plurality of text pages included in the target text may be presented in a matrix arrangement; after receiving a selection operation of thumbnails of a plurality of text pages, the selected thumbnail may be highlighted in a preset style in response to the selection operation, as shown in fig. 3, where the highlighting manner of the preset style is illustrated in a hatched form in fig. 3. In fig. 2 and 3, the boxes represented by the numbers 1 to 16 respectively represent thumbnails of one text page, and it should be noted that the numbers do not represent page numbers of the corresponding text pages, and are used for illustrating the text pages.
Further, in some alternative embodiments of the present invention, displaying thumbnails of a plurality of text pages included in the target text may include the following steps: determining an initial selected text page selected from the turned text pages in the page turning process of the target text; a plurality of text pages associated with the initially selected text page are displayed in thumbnail form. In the embodiment of the invention, the initial selection text page selected from the turned text pages can be determined by receiving the initial selection operation of the user on the target text in the page turning process, then the plurality of text pages associated with the initial selection text page are obtained, and the plurality of text pages associated with the initial selection text page are displayed in the thumbnail form, namely, the thumbnails of the plurality of text pages associated with the initial selection text page included in the target text are displayed, so that the thumbnail display of the plurality of text pages associated with the initial selection text page can be realized by selecting and determining the initial selection text page by the user. Determining an initial selected text page selected from the turned text pages in the page turning process of the target text may include: receiving a preset trigger operation on a target text, displaying a text page selection interface, displaying a plurality of text pages in a page turning mode in the text page selection interface, wherein the display mode of the text page selection interface is shown in fig. 5 and 6, receiving an initial selection operation on a turned text page in the plurality of text pages, and determining an initial selection text page selected by the initial selection operation from the turned text.
It should be noted that, in the embodiment of the present invention, the initially selected text page may be a single text page, or may be multiple text pages; and, according to the user's requirement, the plurality of text pages associated with the initial selection text page may include the initial selection text page or may not include the initial selection text page. In addition, the plurality of text pages associated with the initially selected text page may be at least one text page meeting a preset condition among a plurality of text pages included in the target text corresponding to the initially selected text page, that is, the target text corresponding to the initially selected text page may be determined, and then at least one text page meeting the preset condition among the plurality of text pages included in the target text may be acquired and taken as the plurality of text pages associated with the initially selected text page. The preset condition may be a preset page number filtering condition, here, for example, referring to a plurality of text pages associated with the initially selected text page, may be a predetermined number of text pages adjacent to and consecutive in page number to the page number of the initially selected text page, that is, a first predetermined number of text pages preceding and consecutive to the page number of the initially selected text page may be determined based on the page number of the initially selected text page, and, a second predetermined number of text pages subsequent to and consecutive to the page number of the initially selected text page, the first predetermined number of text pages and the second predetermined number of text pages are then treated as a plurality of text pages associated with the initially selected text page, here, the first preset number and the second preset number may be set by default by the electronic device or manually by a user as required. Alternatively, the preset condition may also be a preset keyword screening condition, for example, the text pages associated with the initially selected text page may be at least one text page matching the extracted keywords in the initially selected text page.
In addition, considering that the target text may include more text pages, in order to avoid the target text page from being selected by the user, at least two text page selection operations may be set.
In the embodiment of the present invention, there are various ways to acquire the target copy content in the target text page. For example, in some optional embodiments of the present invention, the step 102 of separately obtaining the target copy content in each target text page may include the following steps: respectively displaying the contents to be copied of each target text page by page; receiving content selection operation of the content to be copied in the target text page aiming at each target text page; and responding to the content selection operation, and determining the selected content to be copied in each target text page as the target copied content, or determining the content to be copied except the selected content in each target text page as the target copied content. In the embodiment of the present invention, as shown in fig. 4 (in fig. 4, numerals 9, 10, and 15 are used to exemplify corresponding target text pages), the contents to be copied of each target text page may be displayed one by one, so that a user may view and determine the target copied contents to be copied, for each target text page, the user may perform a content selection operation on the contents to be copied in each target text page according to needs, respectively, to select a first content to be copied, and an electronic device receives and responds to the content selection operation, to determine the content to be copied, i.e., the first content, to be selected as the target copied content in each target text page. Or, in the embodiment of the present invention, as shown in fig. 4 (in fig. 4, numerals 9, 10, and 15 are used to exemplify corresponding target text pages), the contents to be copied of each target text page may be displayed one by one, so that the user can view and determine the target copied contents to be copied, for each target text page, the user may perform a content selection operation on the contents to be copied in each target text page as needed, and select the second contents not to be copied, the electronic device receives and responds to the content selection operation, determines the contents to be copied, i.e., the second contents, which are selected as targets in each target text page, as the contents that the user does not need to copy, and determines the contents to be copied except the selected contents (i.e., the second contents) in each target text page as the target copied contents.
In order to better meet the user usage requirements, in some alternative embodiments of the present invention, before displaying the content to be copied of each target text page by page, the text copying method may further include the following steps: respectively identifying preset filtering contents in the target text pages aiming at each target text page; and determining the content except the preset filtering content in each target text page as the content to be copied. In the embodiment of the invention, the preset filtering content in the target text page is identified and filtered aiming at each target text page, and the content except the preset filtering content in each target text page is determined as the content to be copied. Here, the preset filtering contents may include advertisements, headers, footers, titles, etc. in addition to the body contents of the target text page.
Specifically, in some optional embodiments of the present invention, for each target text page, the respectively identifying preset filtering contents in the target text page may include: acquiring a data tag of content data in a target text page; determining a target data label matched with a preset data label; and determining the content data associated with the target data label as preset filtering content. In the embodiment of the present invention, since the header, the footer, and the like generally belong to a part of the text content of the target text page, that is, are included in the content data of the target text page, here, data tags for identifying the contents of each part may be respectively set in the content data, that is, corresponding data tags may be respectively set corresponding to the content data of each part, such as the body content, the header, the footer, and the like in the target text page, so that the target data tag matched with the preset data tag may be determined from the data tags by obtaining the data tag of the content data in each target text page, matching the data tag with the preset data tag, and then determining the content data associated with the target data tag as the preset filter content. Here, the preset data tags may include, but are not limited to, a title tag, a header tag, and a footer tag.
In some optional embodiments of the present invention, for each target text page, the respectively identifying preset filtering contents in the target text page may include: acquiring an area identifier of a display area in a target text page; determining a target area identifier matched with a preset area identifier; and determining the page content associated with the target area identifier as preset filtering content. In the embodiment of the present invention, since the advertisement and the like generally do not belong to the text content of the target text page, that is, the content data that is not included in the target text page belongs to the page content placed on the predetermined display area of the text page, here, the text page may be respectively provided with the area identifier for identifying the display area of each display content, that is, the display area for placing the content data in the target text page and the display area for placing the advertisement are respectively provided with the corresponding area identifier, so that the area identifier of the display area in each target text page may be obtained, the area identifier is matched with the preset area identifier, the target area identifier matched with the preset area identifier is determined therefrom, and then the page associated with the target area identifier is determined as the preset filtering content. Here, the preset area identification may include, but is not limited to, an advertisement display area identification.
Certainly, in order to better conform to the habits and requirements of users, before respectively identifying preset filtering contents in the target text pages for each of the target text pages, the method may further include: displaying a prompt message for indicating whether to filter preset filtering content; and receiving an instruction operation for filtering preset filtering content determined based on the prompt information, and responding to the instruction operation to filter the preset filtering content in each target text page.
According to the text copying method provided by the embodiment of the invention, the target copy content of each target text page in the plurality of text pages is respectively obtained, and the target copy content in each target text page is stored in the pasting board, so that convenience is provided for the cross-page content copying operation of a user, the cross-page copying operation is simplified, the situation of content selection interruption is avoided, and the problem that the user needs to operate again due to the interruption of content selection is avoided.
Based on the method, the embodiment of the invention provides electronic equipment for realizing the method.
Referring to fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the invention is shown. An embodiment of the present invention provides an electronic device 700, which may include: a first obtaining module 710, a second obtaining module 720 and a storing module 730.
A first obtaining module 710, configured to obtain at least one target text page of a plurality of text pages included in a target text;
a second obtaining module 720, configured to obtain target copy contents in each target text page respectively;
the storage module 730 is configured to store the target copy content in each target text page to the pasting board.
In some optional embodiments of the present invention, the first obtaining module 710 may include: a first display unit and a first determination unit.
A first display unit configured to display thumbnails of a plurality of text pages included in a target text;
the first determination unit is used for receiving selection operation of thumbnails of a plurality of text pages and determining that the text page corresponding to the thumbnail selected by the selection operation is the target text page.
Further, in some alternative embodiments of the present invention, the display unit may include: a determination subunit and a display subunit.
The determining subunit is used for determining an initial selected text page selected from the turned text pages in the page turning process of the target text;
and a display sub-unit for displaying the plurality of text pages associated with the initially selected text page in thumbnail form.
In the embodiment of the present invention, there are various ways to acquire the target copy content in the target text page. For example, in some alternative embodiments of the present invention, the second obtaining module 720 may include: the device comprises a second display unit, a receiving unit and a second determining unit.
The second display unit is used for respectively displaying the content to be copied of each target text page by page;
the receiving unit is used for receiving the content selection operation of the content to be copied in the target text page aiming at each target text page;
and the second determining unit is used for responding to the content selection operation and determining that the selected content to be copied in each target text page is the target copied content or determining that the content to be copied except the selected content in each target text page is the target copied content.
Among the pages included in the target text, there may be some contents obviously not needed by the user, such as advertisements, headers, footers, etc., therefore, in some optional embodiments of the present invention, the electronic device 700 may further include: the device comprises an identification module and a determination module.
The identification module is used for respectively identifying preset filtering contents in the target text pages aiming at each target text page;
and the determining module is used for determining the content except the preset filtering content in each target text page as the content to be copied.
Specifically, in some optional embodiments of the present invention, the identification module may include: the device comprises a first acquisition unit, a third determination unit and a fourth determination unit.
A first acquisition unit configured to acquire a data tag of content data in a target text page;
the third determining unit is used for determining a target data label matched with the preset data label;
and the fourth determining unit is used for determining the content data associated with the target data label as the preset filtering content.
In some optional embodiments of the invention, the identification module may comprise: a second acquisition unit, a fifth determination unit, and a sixth determination unit.
A second acquisition unit configured to acquire an area identifier of a display area in the target text page;
a fifth determining unit, configured to determine a target area identifier that matches the preset area identifier;
and the sixth determining unit is used for determining the page content associated with the target area identifier as the preset filtering content.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 6, and is not described herein again to avoid repetition.
According to the electronic equipment provided by the embodiment of the invention, the target copy content of each target text page in the plurality of text pages is respectively obtained, and the target copy content in each target text page is stored in the pasting board, so that convenience is provided for the cross-page content copying operation of a user, the cross-page copying operation is simplified, the situation of content selection interruption is avoided, and the problem that the user needs to operate again due to the interruption of content selection is avoided.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to obtain at least one target text page of a plurality of text pages included in a target text; respectively acquiring target copy contents in each target text page; and storing the target copy content in each target text page to the pasting board.
In the embodiment of the invention, the target copy content of each target text page in the plurality of text pages is respectively obtained, and the target copy content in each target text page is stored in the pasting board, so that convenience is provided for the cross-page content copying operation of a user, the cross-page copying operation is simplified, the situation of content selection interruption is avoided, and the problem that the user needs to operate again due to the interruption of content selection is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned text copying method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the text copying method in the embodiment, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A method of text replication, comprising:
when a multi-page copy mode instruction is received, displaying thumbnails of a plurality of text pages included in a target text;
receiving selection operation of thumbnails of the text pages, and determining the text page corresponding to the thumbnail selected by the selection operation as a target text page;
respectively acquiring target copy contents in each target text page;
storing the target copy content in each target text page to a pasting board;
the storing the target copy content in each target text page to the pasting board comprises:
for each target text page, storing the target copy content in each target text page to a pasting board according to the display mode of the target copy content in the corresponding target text page;
the respectively obtaining the target copy content in each target text page includes:
respectively displaying the content to be copied of each target text page by page;
for each target text page, receiving content selection operation of the content to be copied in the target text page;
and responding to the content selection operation, and determining the selected content to be copied in each target text page as the target copied content, or determining the content to be copied except the selected content in each target text page as the target copied content.
2. The text copying method of claim 1, wherein the displaying thumbnails of the plurality of text pages included in the target text comprises:
determining an initial selected text page selected from the turned text pages in the page turning process of the target text;
displaying a plurality of text pages associated with the initially selected text page in thumbnail form.
3. The text replication method of claim 1, wherein before the displaying the content to be replicated of each target text page by page respectively, the method further comprises:
respectively identifying preset filtering contents in the target text pages aiming at each target text page;
and determining the content except the preset filtering content in each target text page as the content to be copied.
4. The method of claim 3, wherein the identifying, for each target text page, preset filter contents in the target text page respectively comprises:
acquiring a data tag of content data in the target text page;
determining a target data label matched with a preset data label;
and determining the content data associated with the target data label as preset filtering content.
5. The method of claim 3, wherein the identifying, for each target text page, preset filter contents in the target text page respectively comprises:
acquiring an area identifier of a display area in the target text page;
determining a target area identifier matched with a preset area identifier;
and determining the page content associated with the target area identifier as preset filtering content.
6. An electronic device, comprising:
the first acquisition module is used for acquiring at least one target text page in a plurality of text pages included in a target text;
the second acquisition module is used for respectively acquiring the target copy content in each target text page;
the storage module is used for storing the target copy content in each target text page to the pasting board;
the first obtaining module comprises:
a first display unit, configured to display thumbnails of a plurality of text pages included in the target text when a multi-page copy mode instruction is received;
a first determining unit, configured to receive a selection operation on thumbnails of the plurality of text pages, and determine that a text page corresponding to a thumbnail selected by the selection operation is the target text page;
the storage module is specifically configured to:
for each target text page, storing the target copy content in each target text page to a pasting board according to the display mode of the target copy content in the corresponding target text page;
the second acquisition module includes:
the second display unit is used for respectively displaying the content to be copied of each target text page by page;
the receiving unit is used for receiving the content selection operation of the content to be copied in the target text page aiming at each target text page;
and the second determining unit is used for responding to the content selection operation, determining the selected content to be copied in each target text page as the target copied content, or determining the content to be copied except the selected content in each target text page as the target copied content.
7. The electronic device according to claim 6, wherein the display unit includes:
the determining subunit is used for determining an initial selected text page selected from the turned text pages in the page turning process of the target text;
a display subunit, configured to display the plurality of text pages associated with the initially selected text page in a thumbnail form.
8. The electronic device of claim 6, further comprising:
the identification module is used for respectively identifying preset filtering contents in the target text pages aiming at each target text page;
and the determining module is used for determining the content except the preset filtering content in each target text page as the content to be copied.
9. The electronic device of claim 8, wherein the identification module comprises:
a first acquisition unit configured to acquire a data tag of content data in the target text page;
the third determining unit is used for determining a target data label matched with the preset data label;
and the fourth determining unit is used for determining the content data associated with the target data label as preset filtering content.
10. The electronic device of claim 8, wherein the identification module comprises:
a second obtaining unit, configured to obtain an area identifier of a display area in the target text page;
a fifth determining unit, configured to determine a target area identifier that matches the preset area identifier;
and the sixth determining unit is used for determining the page content associated with the target area identifier as preset filtering content.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the text copying method of any of claims 1 to 5.
CN201910100623.9A 2019-01-31 2019-01-31 Text copying method and electronic equipment Active CN109857578B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910100623.9A CN109857578B (en) 2019-01-31 2019-01-31 Text copying method and electronic equipment
PCT/CN2020/072175 WO2020156167A1 (en) 2019-01-31 2020-01-15 Text copying method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100623.9A CN109857578B (en) 2019-01-31 2019-01-31 Text copying method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109857578A CN109857578A (en) 2019-06-07
CN109857578B true CN109857578B (en) 2021-07-23

Family

ID=66897321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100623.9A Active CN109857578B (en) 2019-01-31 2019-01-31 Text copying method and electronic equipment

Country Status (2)

Country Link
CN (1) CN109857578B (en)
WO (1) WO2020156167A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857578B (en) * 2019-01-31 2021-07-23 维沃移动通信有限公司 Text copying method and electronic equipment
CN112328149B (en) * 2020-11-11 2022-03-25 维沃移动通信有限公司 Picture format setting method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918563A (en) * 2017-09-30 2018-04-17 华为技术有限公司 A kind of method, data processing equipment and user equipment replicated and paste

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681786B (en) * 2012-05-14 2014-12-24 华为技术有限公司 Method and device for text selection
CN104102419B (en) * 2013-04-09 2019-02-26 腾讯科技(深圳)有限公司 Page display method, device and terminal device
CN104216627B (en) * 2013-06-04 2019-06-25 北京壹人壹本信息科技有限公司 Portable electronic reads editing device and its document edit method
JP6423671B2 (en) * 2014-09-26 2018-11-14 エヌ・ティ・ティ・コムウェア株式会社 Web page copying apparatus, web page copying method, and program
CN105095167A (en) * 2015-06-10 2015-11-25 努比亚技术有限公司 Method and device for multiple copy and paste in mobile terminal
CN106843680A (en) * 2016-12-30 2017-06-13 努比亚技术有限公司 A kind of method and terminal for realizing paging treatment
CN108509103A (en) * 2017-02-27 2018-09-07 华为技术有限公司 Text clone method and touch-screen equipment
CN107967093B (en) * 2017-12-21 2020-01-31 维沃移动通信有限公司 multi-segment text copying method and mobile terminal
CN108038233B (en) * 2017-12-26 2021-07-23 福建中金在线信息科技有限公司 Method and device for collecting articles, electronic equipment and storage medium
CN109857578B (en) * 2019-01-31 2021-07-23 维沃移动通信有限公司 Text copying method and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918563A (en) * 2017-09-30 2018-04-17 华为技术有限公司 A kind of method, data processing equipment and user equipment replicated and paste

Also Published As

Publication number Publication date
CN109857578A (en) 2019-06-07
WO2020156167A1 (en) 2020-08-06

Similar Documents

Publication Publication Date Title
CN110891144B (en) Image display method and electronic equipment
CN108415652B (en) Text processing method and mobile terminal
CN109240577B (en) Screen capturing method and terminal
US11340777B2 (en) Method for editing text and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN109213416B (en) Display information processing method and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN110866038A (en) Information recommendation method and terminal equipment
CN108763540B (en) File browsing method and terminal
CN110703972B (en) File control method and electronic equipment
CN109495638B (en) Information display method and terminal
CN109271262B (en) Display method and terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN110990679A (en) Information searching method and electronic equipment
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN110796438B (en) Message sending method and mobile terminal
CN109672845B (en) Video call method and device and mobile terminal
CN109857578B (en) Text copying method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN110825474A (en) Interface display method and device and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN110908751B (en) Information display and collection method and device, electronic equipment and medium
CN109491572B (en) Screen capturing method of mobile terminal and mobile terminal
CN109189735B (en) Preview image display method and mobile terminal
CN108509126B (en) Picture processing method and mobile terminal

Legal Events

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