WO2020192383A1 - Page content editing method and terminal - Google Patents

Page content editing method and terminal Download PDF

Info

Publication number
WO2020192383A1
WO2020192383A1 PCT/CN2020/077945 CN2020077945W WO2020192383A1 WO 2020192383 A1 WO2020192383 A1 WO 2020192383A1 CN 2020077945 W CN2020077945 W CN 2020077945W WO 2020192383 A1 WO2020192383 A1 WO 2020192383A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
information
target
page
sub
Prior art date
Application number
PCT/CN2020/077945
Other languages
French (fr)
Chinese (zh)
Inventor
李其功
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020192383A1 publication Critical patent/WO2020192383A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular to a method and terminal for editing page content.
  • Smart terminals lower all creation thresholds, such as Weibo, Zhihu, Douyin, Toutiao, Moments, and Official Accounts to make creative sharing easier.
  • users Whether it is people's daily life or the daily work of countless content creators, users often need to copy the mixed content on the page, and the second creation is required during the copying process.
  • users For example, for content that contains text, pictures, audio and video with various layouts, users often need to perform secondary operations such as image watermarking, text replacement and layout, and audio and video reduction before they can be finally pasted.
  • the embodiments of the present disclosure provide a method and terminal for editing page content, so as to solve the problem of complicated and complicated operations in the related art when information of different data types needs to be selected for editing.
  • a method for editing page content is provided, applied to a terminal, including:
  • Target content includes at least two data types of information
  • the information in the target content is respectively displayed in the corresponding target editor;
  • the target editor is an editor corresponding to the data type of the information displayed therein.
  • a terminal including:
  • the receiving module is configured to receive a user's first selection operation on the target content in the page; wherein the target content includes at least two data types of information;
  • the processing module is configured to respond to the first selection operation received by the receiving module and display the information in the target content in the corresponding target editor according to the data type of the information in the target content;
  • the target editor is an editor corresponding to the data type of the information displayed therein.
  • a terminal including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the above The steps of the page content editing method described.
  • a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the steps of the page content editing method described above are realized.
  • information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information.
  • the technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
  • FIG. 1 shows a schematic flowchart of a method for editing page content provided by an embodiment of the present disclosure
  • Figure 2 shows a schematic diagram of target content selection provided by an embodiment of the present disclosure
  • FIG. 3 shows a schematic diagram of an editing interface provided by an embodiment of the present disclosure
  • Figure 4 shows a schematic diagram of a target page provided by an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of a preview interface provided by an embodiment of the present disclosure
  • Figure 6 shows one of the schematic diagrams of an example provided by an embodiment of the present disclosure
  • FIG. 7 shows the second schematic diagram of an example provided by an embodiment of the present disclosure
  • FIG. 8 shows the third schematic diagram of an example provided by an embodiment of the present disclosure.
  • FIG. 9 shows one of the block diagrams of the terminal provided by the embodiment of the present disclosure.
  • Fig. 10 shows the second block diagram of a terminal provided by an embodiment of the present disclosure.
  • a method for editing page content is provided, which is applied to a terminal.
  • the page content editing method includes:
  • Step 101 Receive a user's first selection operation of target content in a page.
  • the target content information is content in at least one page, and the target content includes at least two data types of information.
  • the information of these two data types includes any two of text information, picture information, audio information, and video information.
  • the touch body (such as a finger, electric pen, etc.) long press a position on the page, and when the touch body moves in a preset direction, the initial long press The position is a fixed point, and the current touch position of the touch body is the active point, and the fixed point of the initial long-press position and the active point of the current touch position are set as two diagonal points of a rectangle, and then pass through the two diagonal points A rectangle is determined, and the content of the page framed by the rectangle is used as the selected target content, as shown in Figure 2.
  • the size and position of the rectangular frame can be adjusted.
  • Step 102 In response to the first selection operation, according to the data type of the information in the target content, the information in the target content is respectively displayed in the corresponding target editor.
  • the target editor is an editor corresponding to the data type of the information displayed therein.
  • the data type of the information in the target content is first identified, and then according to the data type of the information in the target content, the information in the target content is automatically loaded and displayed on the corresponding target. In the editor, so that users can edit the information.
  • the information in the target content includes: text information, picture information, audio information, and video information.
  • text information the text content is loaded and displayed in a text editor, such as WPS office application software;
  • picture information the picture is loaded and displayed in the picture editor, such as photo editing application software;
  • audio information the audio file is loaded and displayed in the audio editor, such as audio editing application Software;
  • video information the video file is loaded and displayed in a video editor, such as video editing application software.
  • the display mode of the editor is not limited to that shown in Figure 3, and the specific display mode can be designed according to actual needs.
  • the user can paste the target content into the interface of the target application to save or share the content.
  • the target editor corresponding to the information in the target content is closed, first, according to the data type of the information in the target content, start the process for processing the information of the corresponding data type. Then, the information in the target content is loaded and displayed in the corresponding target editor. In this way, the user does not need to manually start the editor, which is more convenient for the user's operation.
  • all character data in the target content can be read line by line through the character stream, and the data type of the information in the target content can be determined according to the data type rule.
  • information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information.
  • the technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
  • step 102 in response to the first selection operation, according to the data type of the information in the target content, respectively displaying the information in the target content in the corresponding target editor includes:
  • the target content is divided into at least two sub-contents according to the data type of the information in the target content; then the sub-content is displayed in the corresponding target editor according to the data type mark of the sub-content.
  • each sub-content contains information of the same data type.
  • the target content after the target content is selected, the target content can be divided according to the data type of the information in the target content to form multiple sub-contents, and each sub-content contains information of the same data type. Then, according to the data type mark of the sub-content, the sub-content is loaded and displayed in the corresponding editor, so that the user can edit the information.
  • each sub-content corresponds to an editing window of a corresponding editor. For example, if there are 3 sub-contents containing videos, the launched video editor opens 3 editing windows, and each editing window displays a video.
  • each picture, audio or video also corresponds to a corresponding editing window. For example, if a sub-content contains two videos, the launched video editor opens 3 editing windows, and each editing window displays one video.
  • the sub-content is divided according to the data type, and information of different data types in the target content can be clearly defined, so that the information can be loaded into the corresponding editor more accurately.
  • each sub-content may be marked with a data type, and then, according to the data type mark of each sub-content, the sub-content is loaded and displayed in the corresponding editor.
  • the aforementioned "in response to the first selection operation, divide the target content into at least two sub-contents according to the data type of the information in the target content” may specifically be: in response to the first selection operation, according to the target content's belonging The page layout order divides the target content into at least two sub-contents.
  • the sub-content when the target content is divided into sub-contents, the sub-content may be divided successively according to the typesetting order of the target content on the page to which it belongs. For example, taking Figure 2 as an example, according to the layout order of the selected target content on the page shown in Figure 2, the target content is divided into: text information sub-content, video information sub-content, text information sub-content, Audio information sub-content and picture information sub-content.
  • the target content may be the content in at least one page, that is to say, the target content selected by the user may be the content in one page or the content in multiple pages.
  • the user can select more content, which can reduce the number of times the user selects and activates the editor for editing multiple times.
  • the method further includes: displaying the divided sub-content on the target according to the user's selection order of the at least one page and the layout order of each sub-content in the page to which it belongs. Page.
  • the target page and at least one page where the target content is located are different pages.
  • the divided sub-content can be displayed in a page (that is, the target page) dedicated to displaying the sub-content, so that the user can view the sub-content.
  • the divided sub-content in order to make the display of the sub-content consistent with the selection order of the target content, can be displayed on the target page according to the user's selection order of at least one page and the layout order of each sub-content in the page to which it belongs. in. For example, if the user first selects the content in page A, and then selects the content in page B, the selected target content in page A is displayed before the selected target content in page B, and for the target content The divided sub-content is displayed according to the order of the target content on page A or page B from top to bottom.
  • the user needs to select the target content for each page separately. After each page is selected, the content selected from the page is divided into sub-content, and the divided sub-content is displayed in the target page.
  • the user can also select the content to be edited by selecting the sub-content, so that the user can more accurately select the content to be edited.
  • the solid dots on the right side of the figure indicate the selected sub-content
  • the hollow dots indicate the unselected sub-content.
  • the information of the selected sub-content will be loaded and displayed in the editor.
  • the implementation method is: receiving a second selection operation of the user on at least one sub-content; in response to the second selection operation, displaying the selected sub-content in the corresponding target editor according to the data type mark of the selected sub-content .
  • all the sub-contents can be selected through the "select all edit" function in the target page.
  • the content in all sub-contents can be saved through the "select all and keep” function in the target page, and the user can paste the saved content to the target application through the paste operation To save or share content.
  • users can also delete the sub-content displayed on the target page by deleting operations.
  • the method further includes:
  • the target content of the editing can also be previewed.
  • the user can preview the edited target content through the "click to preview" function in the upper right corner of the page.
  • the terminal combines the information in each editor according to the preview instruction, in accordance with the selection order of at least one page and the typesetting order of each data type information in the corresponding page , And preview and display the combined results, so that users can know their editing results at any time and make their editing more visible.
  • the terminal After the terminal receives the preview instruction, it will use the information in each editor and the information in the sub-content of the target page that has not been selected for editing. According to the selection order of at least one page and the layout order of each data type information in the corresponding page, the combination is performed, and the combination result is previewed and displayed.
  • each data type information can be displayed on the preview interface in the form of sub-content, so that the user can adjust the display order of the sub-content by dragging the sub-content to meet the user's needs.
  • the terminal temporarily caches the information in the editor, so that when the user is not satisfied with the preview effect and returns to the modification, the cached data can be recalled in the editor, so that the user can return to the modification, avoiding the user to modify from the beginning, and improve the user Fluency and fault tolerance of content editing.
  • the method further includes:
  • the combined result when the user is satisfied with the preview effect, the combined result can be pasted into the page of the target application through a paste operation, so as to save or share information.
  • the user can paste the combined result into the page of the target application through the "share" function in the preview interface.
  • the target content selected by the user when the target content selected by the user does not need to be edited, the target content can be directly pasted into the page of the target application through a paste operation.
  • the terminal includes at least: a first screen and a second screen.
  • the target content and the target interface can be displayed on the first screen, and the editor and preview interface can be displayed on the second screen. This can simplify the user’s back and forth cross-section interface interaction and facilitate the user’s operating.
  • the terminal includes at least a first screen and a second screen.
  • the terminal also includes: a content segmentation device, a modular processing device, a temporary cache device, and a preview device.
  • the main functions of each device are as follows:
  • the content segmentation device is mainly responsible for data type identification, data type labeling and format classification (such as line spacing, indentation, character size, etc.) of the selected content.
  • the specific principle is shown in Figure 6.
  • the selected target content is preprocessed, and all character data in the target content is read line by line through the character stream. According to the data type rule, it is classified into text data, image data, and audio data. , Video data.
  • the target content is divided into content blocks according to the data type, and the information in each content block is the sub-content of the target content.
  • the content segmentation device can also add an attribute header: "type" to each content block, and add the type tag of the data type to the corresponding content block according to the parsed data type to lock the data of the information in the content block Types of.
  • the modular device is mainly used to read the type tag data information transmitted from the content segmentation device, and perform modular processing on all selected data (ie target content), and load the information in the content block to the corresponding editor .
  • the temporary cache device is responsible for temporarily storing the edited content and status information, which can be restored before the paste is confirmed, and the cache will be cleared after the paste is confirmed.
  • the content segmentation device in FIG. 6 adds the parsed data type to the type list for recording, and transmits it to the modular processing device.
  • the modular processing device will trigger a corresponding number of module windows according to the number of data types in the type list.
  • Each module window loads the information in the content block marked as the data type into the corresponding editor, and the user edits the content.
  • each module window compresses the edited content data (compressed data is to save memory) and writes it into the temporary cache device.
  • you want to return to continue editing later you can directly restore the cached compressed data and load it into the corresponding editor.
  • the content in the temporary cache device will be cleared, thereby releasing the memory in time.
  • the main function of the preview device is to integrate the edited content in advance, and provide the user with a display effect of the integrated content, so that the user can confirm whether it meets their own needs.
  • the preview device is actually closely related to the modular processing device and the temporary buffer device.
  • the edited content of each part is combined in the order and format before entering the content splitting device ,
  • the user can drag the content blocks in the preview interface to adjust the order. If the effect is satisfactory, the editing is confirmed; otherwise, the content is restored from the temporary cache device and then edited until the overall preview effect is qualified. Finally, the user can select the "Share to" option to select the corresponding application, and paste the previously selected and edited content.
  • information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can view the information To edit.
  • the technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
  • a terminal which can implement the details in the above-mentioned method for editing page content and achieve the same effect.
  • the terminal includes:
  • the first receiving module 901 is configured to receive a user's first selection operation of the target content in the page; wherein the target content includes at least two data types of information.
  • the first processing module 902 is configured to respond to the first selection operation received by the first receiving module 901 and display the information in the target content on the corresponding target according to the data type of the information in the target content. In the editor.
  • the target editor is an editor corresponding to the data type of the information displayed therein.
  • the information of the two data types includes any two of text type information, picture type information, audio type information, and video type information.
  • the first processing module 902 includes:
  • the dividing unit is configured to divide the target content into at least two sub-contents according to the data type of the information in the target content in response to the first selection operation received by the first receiving module 901;
  • the content is information of the same data type.
  • the processing unit is configured to display the sub-content in the corresponding target editor according to the data type mark of the sub-content.
  • the target content is content in at least one page
  • the terminal also includes:
  • the second processing module is configured to display the divided sub-content on the target page according to the user's selection order of the at least one page and the typesetting order of each sub-content in the page to which it belongs.
  • the target page and the at least one page are different pages.
  • the processing unit includes:
  • the receiving subunit is configured to receive a second selection operation of the user on at least one subcontent.
  • the processing subunit is configured to respond to the second selection operation received by the receiving subunit and display the selected subcontent in the corresponding target editor according to the data type mark of the selected subcontent.
  • the terminal further includes:
  • the second receiving module is used to receive the preview operation input by the user.
  • the third processing module in response to the preview operation received by the second receiving module, in accordance with the user's selection order of the at least one page and the typesetting order of each data type information in the page to which it belongs, set each editor Combine information;
  • the fourth processing module is used to preview and display the combined result obtained by the third processing module.
  • the terminal further includes:
  • the third receiving module is used to receive the paste operation input by the user.
  • the fifth processing module is configured to paste the combined result into the page of the target application in response to the paste operation received by the third receiving module.
  • the terminal further includes at least: a first screen and a second screen.
  • the target content is displayed on the first screen, and the editor is displayed on the second screen.
  • information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information.
  • the technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
  • FIG. 10 is a schematic diagram of the hardware structure of a terminal for implementing various embodiments of the present disclosure.
  • the terminal 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, and power supply 1011 and other parts.
  • radio frequency unit 1001 network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, and power supply 1011 and other parts.
  • the terminal structure shown in FIG. 10 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 1010 is configured to control the user input unit 1007 to receive a user's first selection operation of the target content in the page; and in response to the first selection operation, according to the data type of the information in the target content, through the display unit 1006 The information in the target content is respectively displayed in the corresponding target editor.
  • the target content includes at least two data types of information.
  • the target editor is an editor corresponding to the data type of the information displayed therein.
  • information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information.
  • the technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the terminal 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
  • the terminal 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 10061 and/or when the terminal 1000 is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating).
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 can be overlaid on the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated Realize the input and output functions of the terminal, which are not limited here.
  • the interface unit 1008 is an interface for connecting an external device with the terminal 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (input/output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 1000 or can be used to communicate between the terminal 1000 and the external device. Transfer data between.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes by running or executing software programs and/or modules stored in the memory 1009, and calling data stored in the memory 1009. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
  • a power supply 1011 (such as a battery) for supplying power to various components.
  • the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the terminal 1000 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal, including a processor 1010, a memory 1009, and a computer program stored on the memory 1009 and capable of running on the processor 1010.
  • a terminal including a processor 1010, a memory 1009, and a computer program stored on the memory 1009 and capable of running on the processor 1010.
  • the computer program is executed by the processor 1010,
  • Each process of the foregoing embodiment of the method for editing page content is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned page content editing method embodiment is realized, and the same Technical effects, in order to avoid repetition, I will not repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk).
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
  • the program can be stored in a computer readable storage medium. When executed, it may include the processes of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement Described functions in other electronic units or combinations thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device Digital Signal Processing Device
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the technology described in the embodiments of the present disclosure can be implemented through modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a page content editing method and a terminal. The page content editing method comprises: receiving a first selection operation of a user on target content in a page (101), wherein the target content at least comprises information of two data types; and in response to the first selection operation, respectively displaying the information in the target content in corresponding target editors according to the data types of the information in the target content (102), wherein each of the target editors is an editor corresponding to the data type of the information displayed therein.

Description

页面内容编辑方法及终端Page content editing method and terminal
相关申请的交叉引用Cross references to related applications
本申请主张在2019年3月27日在中国提交的中国专利申请号No.201910239936.2的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910239936.2 filed in China on March 27, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种页面内容编辑方法及终端。The embodiments of the present disclosure relate to the field of communication technology, and in particular to a method and terminal for editing page content.
背景技术Background technique
智能终端(如手机、平板电脑)降低了所有创作门槛,例如微博、知乎、抖音、头条、朋友圈、公众号让创作分享更容易。无论是人们的日常生活,还是无数内容创作者们的日常工作,用户经常需要将页面中混杂的内容进行拷贝,而且在拷贝过程中需要进行二次创作。例如包含文本、图片、音视频且排版多样的内容,用户经常需要去图片水印、文本替换排版、音视频缩减等二次操作后,才能最终粘贴。Smart terminals (such as mobile phones, tablet computers) lower all creation thresholds, such as Weibo, Zhihu, Douyin, Toutiao, Moments, and Official Accounts to make creative sharing easier. Whether it is people's daily life or the daily work of countless content creators, users often need to copy the mixed content on the page, and the second creation is required during the copying process. For example, for content that contains text, pictures, audio and video with various layouts, users often need to perform secondary operations such as image watermarking, text replacement and layout, and audio and video reduction before they can be finally pasted.
对于上述情景,相关技术中,每次仅能选取一种数据类型的文件,每一数据类型文件使用一种编辑器进行编辑,一种数据类型中的多个文件(如多个视频文件)又需要进行多次保存与打开,操作繁琐复杂。For the above scenario, in the related technology, only one data type file can be selected at a time, each data type file is edited by one type of editor, and multiple files (such as multiple video files) in one data type are used for editing. Need to save and open many times, the operation is cumbersome and complicated.
发明内容Summary of the invention
本公开实施例提供了一种页面内容编辑方法及终端,以解决相关技术中对于在需要选取不同数据类型的信息进行编辑时,操作繁琐复杂的问题。The embodiments of the present disclosure provide a method and terminal for editing page content, so as to solve the problem of complicated and complicated operations in the related art when information of different data types needs to be selected for editing.
为了解决上述技术问题,本公开采用如下技术方案:In order to solve the above technical problems, the present disclosure adopts the following technical solutions:
第一方面,提供了一种页面内容编辑方法,应用于终端,包括:In the first aspect, a method for editing page content is provided, applied to a terminal, including:
接收用户对页面中的目标内容的第一选取操作;其中,所述目标内容至少包括两种数据类型的信息;Receiving a user's first selection operation of the target content in the page; wherein the target content includes at least two data types of information;
响应于所述第一选取操作,根据所述目标内容中信息的数据类型,将所 述目标内容中的信息分别显示于对应的目标编辑器中;In response to the first selection operation, according to the data type of the information in the target content, the information in the target content is respectively displayed in the corresponding target editor;
其中,所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target editor is an editor corresponding to the data type of the information displayed therein.
第二方面,提供了一种终端,包括:In the second aspect, a terminal is provided, including:
接收模块,用于接收用户对页面中的目标内容的第一选取操作;其中,所述目标内容至少包括两种数据类型的信息;The receiving module is configured to receive a user's first selection operation on the target content in the page; wherein the target content includes at least two data types of information;
处理模块,用于响应于所述接收模块接收到的第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容中的信息分别显示于对应的目标编辑器中;The processing module is configured to respond to the first selection operation received by the receiving module and display the information in the target content in the corresponding target editor according to the data type of the information in the target content;
其中,所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target editor is an editor corresponding to the data type of the information displayed therein.
第三方面,提供了一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的页面内容编辑方法的步骤。In a third aspect, a terminal is provided, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to achieve the above The steps of the page content editing method described.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的页面内容编辑方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the page content editing method described above are realized.
本公开实施例中,可以同时选取页面中不同数据类型的信息,并依据信息的数据类型,自动将目标内容中的信息加载并显示于对应的编辑器中,以便用户对信息进行编辑。通过本公开实施例提供的技术方案,能够智能地帮助用户识别内容和归类内容,实现了多种数据类型信息的同时选取以及编辑内容的自动加载,方便了用户的操作。In the embodiments of the present disclosure, information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information. The technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, without creative labor, other drawings can be obtained from these drawings.
图1表示本公开实施例提供的页面内容编辑方法的流程示意图;FIG. 1 shows a schematic flowchart of a method for editing page content provided by an embodiment of the present disclosure;
图2表示本公开实施例提供的目标内容选取的示意图;Figure 2 shows a schematic diagram of target content selection provided by an embodiment of the present disclosure;
图3表示本公开实施例提供的编辑界面的示意图;FIG. 3 shows a schematic diagram of an editing interface provided by an embodiment of the present disclosure;
图4表示本公开实施例提供的目标页面的示意图;Figure 4 shows a schematic diagram of a target page provided by an embodiment of the present disclosure;
图5表示本公开实施例提供的预览界面的示意图;FIG. 5 shows a schematic diagram of a preview interface provided by an embodiment of the present disclosure;
图6表示本公开实施例提供的示例的示意图之一;Figure 6 shows one of the schematic diagrams of an example provided by an embodiment of the present disclosure;
图7表示本公开实施例提供的示例的示意图之二;FIG. 7 shows the second schematic diagram of an example provided by an embodiment of the present disclosure;
图8表示本公开实施例提供的示例的示意图之三;FIG. 8 shows the third schematic diagram of an example provided by an embodiment of the present disclosure;
图9表示本公开实施例提供的终端的框图之一;FIG. 9 shows one of the block diagrams of the terminal provided by the embodiment of the present disclosure;
图10表示本公开实施例提供的终端的框图之二。Fig. 10 shows the second block diagram of a terminal provided by an embodiment of the present disclosure.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
依据本公开实施例的一个方面,提供了一种页面内容编辑方法,应用于终端。According to one aspect of the embodiments of the present disclosure, a method for editing page content is provided, which is applied to a terminal.
如图1所示,该页面内容编辑方法包括:As shown in Figure 1, the page content editing method includes:
步骤101:接收用户对页面中的目标内容的第一选取操作。Step 101: Receive a user's first selection operation of target content in a page.
其中,该目标内容信息为至少一个页面中的内容,该目标内容至少包括两种数据类型的信息。这两种数据类型的信息包括:文本类信息、图片类信息、音频类信息、视频类信息等中的任意两种。The target content information is content in at least one page, and the target content includes at least two data types of information. The information of these two data types includes any two of text information, picture information, audio information, and video information.
其中,对于通过第一选取操作选取目标内容,可以是:触控体(如手指、电笔等)长按页面中的一个位置,并在触控体向一预设方向移动时,以初始长按位置为定点,以触控体当前触控位置为活动点,将初始长按位置的定点与当前触控位置的活动点设定为一矩形的两个对角点,然后通过两个对角点确定出一矩形,将该矩形框出的页面内容作为选取的目标内容,如图2所示。其中,通过触控体的触控位置的移动,可以调整矩形框的大小和位置。Among them, for selecting the target content through the first selection operation, it can be: the touch body (such as a finger, electric pen, etc.) long press a position on the page, and when the touch body moves in a preset direction, the initial long press The position is a fixed point, and the current touch position of the touch body is the active point, and the fixed point of the initial long-press position and the active point of the current touch position are set as two diagonal points of a rectangle, and then pass through the two diagonal points A rectangle is determined, and the content of the page framed by the rectangle is used as the selected target content, as shown in Figure 2. Among them, by moving the touch position of the touch body, the size and position of the rectangular frame can be adjusted.
步骤102:响应于第一选取操作,根据目标内容中信息的数据类型,将目标内容中的信息分别显示于对应的目标编辑器中。Step 102: In response to the first selection operation, according to the data type of the information in the target content, the information in the target content is respectively displayed in the corresponding target editor.
其中,目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Among them, the target editor is an editor corresponding to the data type of the information displayed therein.
本公开实施例中,对于用户选取的目标内容,首先会识别目标内容中的信息的数据类型,然后根据目标内容中信息的数据类型,自动将目标内容中的信息分别加载并显示于对应的目标编辑器中,以便用户对信息进行编辑。In the embodiments of the present disclosure, for the target content selected by the user, the data type of the information in the target content is first identified, and then according to the data type of the information in the target content, the information in the target content is automatically loaded and displayed on the corresponding target. In the editor, so that users can edit the information.
例如,如图3所示,目标内容中的信息包括:文本类信息、图片类信息、音频类信息和视频类信息,对于文本类信息,则将文本内容加载并显示于文本编辑器中,如WPS office应用软件;对于图片类信息,则将图片加载并显示于图片编辑器中,如修图应用软件;对于音频类信息,则将音频文件加载并显示于音频编辑器中,如音频剪辑应用软件;对于视频类信息,则将视频文件加载并显示于视频编辑器中,如视频剪辑应用软件。需要说明的是,对于编辑器的显示方式,不仅限于图3所示,具体显示方式可根据实际需求设计。For example, as shown in Figure 3, the information in the target content includes: text information, picture information, audio information, and video information. For text information, the text content is loaded and displayed in a text editor, such as WPS office application software; for picture information, the picture is loaded and displayed in the picture editor, such as photo editing application software; for audio information, the audio file is loaded and displayed in the audio editor, such as audio editing application Software; for video information, the video file is loaded and displayed in a video editor, such as video editing application software. It should be noted that the display mode of the editor is not limited to that shown in Figure 3, and the specific display mode can be designed according to actual needs.
在完成编辑后,用户可以目标内容粘贴至目标应用程序的界面中,以进行内容的保存或分享。After editing, the user can paste the target content into the interface of the target application to save or share the content.
其中,在对目标内容选取完成后,若检测到与目标内容中的信息对应的目标编辑器处于关闭状态,则先根据述目标内容中信息的数据类型,启动用于处理相应数据类型的信息的编辑器,然后再将目标内容中的信息分别加载并显示于对应的目标编辑器中,这样,可以不必用户手动启动编辑器,更便于用户的操作。Among them, after the selection of the target content is completed, if it is detected that the target editor corresponding to the information in the target content is closed, first, according to the data type of the information in the target content, start the process for processing the information of the corresponding data type. Then, the information in the target content is loaded and displayed in the corresponding target editor. In this way, the user does not need to manually start the editor, which is more convenient for the user's operation.
可选地,本公开实施例中,可以通过字符流逐行读取目标内容中的所有字符数据,根据数据类型规律,确定目标内容中的信息的数据类型。Optionally, in the embodiment of the present disclosure, all character data in the target content can be read line by line through the character stream, and the data type of the information in the target content can be determined according to the data type rule.
本公开实施例中,可以同时选取页面中不同数据类型的信息,并依据信息的数据类型,自动将目标内容中的信息加载并显示于对应的编辑器中,以便用户对信息进行编辑。通过本公开实施例提供的技术方案,能够智能地帮助用户识别内容和归类内容,实现了多种数据类型信息的同时选取以及编辑内容的自动加载,方便了用户的操作。In the embodiments of the present disclosure, information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information. The technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
进一步地,步骤102响应于第一选取操作,根据目标内容中信息的数据类型,将目标内容中的信息分别显示于对应的目标编辑器中包括:Further, in step 102, in response to the first selection operation, according to the data type of the information in the target content, respectively displaying the information in the target content in the corresponding target editor includes:
响应于第一选取操作,根据目标内容中信息的数据类型,将目标内容划分为至少两个子内容;然后根据子内容的数据类型标记,将子内容显示于对 应的目标编辑器中。In response to the first selection operation, the target content is divided into at least two sub-contents according to the data type of the information in the target content; then the sub-content is displayed in the corresponding target editor according to the data type mark of the sub-content.
其中,每一子内容中为同一数据类型的信息。Among them, each sub-content contains information of the same data type.
本公开实施例中,在选取目标内容后,可以先根据目标内容中信息的数据类型,对目标内容进行划分,形成多个子内容,而每一子内容中为同一数据类型的信息。然后根据子内容的数据类型标记,将子内容中加载并显示于对应的编辑器,以使用户对信息进行编辑。In the embodiments of the present disclosure, after the target content is selected, the target content can be divided according to the data type of the information in the target content to form multiple sub-contents, and each sub-content contains information of the same data type. Then, according to the data type mark of the sub-content, the sub-content is loaded and displayed in the corresponding editor, so that the user can edit the information.
当有多个包含同一数据类型信息的子内容时,一般每一子内容对应相应的编辑器的一个编辑窗口。例如,具有3个包含视频的子内容,则启动的视频编辑器开启3个编辑窗口,每个编辑窗口显示一个视频。When there are multiple sub-contents containing the same data type information, generally each sub-content corresponds to an editing window of a corresponding editor. For example, if there are 3 sub-contents containing videos, the launched video editor opens 3 editing windows, and each editing window displays a video.
当一个子内容中包括至少两个图片、至少两个音频或至少两个视频时,每一图片、音频或视频也对应一个相应的编辑窗口。例如,一个子内容中包含两个视频,则启动的视频编辑器开启3个编辑窗口,每个编辑窗口显示一个视频。When a sub-content includes at least two pictures, at least two audios or at least two videos, each picture, audio or video also corresponds to a corresponding editing window. For example, if a sub-content contains two videos, the launched video editor opens 3 editing windows, and each editing window displays one video.
本公开实施例中,依据数据类型划分子内容,能够清晰地界定出目标内容中不同数据类型的信息,以便更加准确地将信息加载到相应的编辑器中。In the embodiments of the present disclosure, the sub-content is divided according to the data type, and information of different data types in the target content can be clearly defined, so that the information can be loaded into the corresponding editor more accurately.
可选地,本公开实施例中,可以对每一子内容进行数据类型标记,然后根据每一子内容的数据类型标记,将子内容中加载并显示于对应的编辑器。Optionally, in the embodiment of the present disclosure, each sub-content may be marked with a data type, and then, according to the data type mark of each sub-content, the sub-content is loaded and displayed in the corresponding editor.
例如,可以对每一子内容中的信息添加一个属性头:“数据类型(type)”,并根据解析出来的数据类型,对每一子内容进行数据类型标记,如将子内容中的信息标记为文本类信息,以锁定该子内容中信息的数据类型,以便根据该数据类型标记,将子内容中加载并显示于对应的编辑器。For example, you can add an attribute header: "data type (type)" to the information in each sub-content, and mark each sub-content with data type according to the parsed data type, such as marking the information in the sub-content It is text information to lock the data type of the information in the sub-content, so that the sub-content is loaded and displayed in the corresponding editor according to the data type mark.
可选地,前述中的“响应于第一选取操作,根据目标内容中信息的数据类型,将目标内容划分为至少两个子内容”具体可以是:响应于第一选取操作,按照目标内容在所属页面的排版顺序,将目标内容划分为至少两个子内容。Optionally, the aforementioned "in response to the first selection operation, divide the target content into at least two sub-contents according to the data type of the information in the target content" may specifically be: in response to the first selection operation, according to the target content's belonging The page layout order divides the target content into at least two sub-contents.
本公开实施例中,在对目标内容进行子内容划分时,可以根据目标内容在所属页面的排版顺序,逐次进行子内容的划分。例如,以图2为例,按照被选取的目标内容在图2所示的页面中的排版顺序,目标内容依次划分为:文本类信息子内容、视频类信息子内容、文本类信息子内容、音频类信息子 内容和图片类信息子内容。In the embodiments of the present disclosure, when the target content is divided into sub-contents, the sub-content may be divided successively according to the typesetting order of the target content on the page to which it belongs. For example, taking Figure 2 as an example, according to the layout order of the selected target content on the page shown in Figure 2, the target content is divided into: text information sub-content, video information sub-content, text information sub-content, Audio information sub-content and picture information sub-content.
可选地,本公开实施例中,目标内容可以是至少一个页面中的内容,也就是说用户选取的目标内容可以是一个页面中的内容,也可以是多个页面中的内容,这样在一次内容编辑时,用户可以选取更多的内容,能够减少了用户多次选取并启动编辑器进行编辑的次数。Optionally, in the embodiment of the present disclosure, the target content may be the content in at least one page, that is to say, the target content selected by the user may be the content in one page or the content in multiple pages. During content editing, the user can select more content, which can reduce the number of times the user selects and activates the editor for editing multiple times.
其中,在将目标内容划分为至少两个子内容之后,该方法还包括:按照用户对至少一个页面的选取顺序以及每一子内容在所属页面中的排版顺序,将划分后的子内容显示于目标页面中。其中,目标页面与目标内容所在的至少一个页面为不同页面。Wherein, after dividing the target content into at least two sub-contents, the method further includes: displaying the divided sub-content on the target according to the user's selection order of the at least one page and the layout order of each sub-content in the page to which it belongs. Page. Wherein, the target page and at least one page where the target content is located are different pages.
本公开实施例中,可以将划分的子内容显示于一个专门用来显示子内容的页面(即目标页面)中,以便用户对子内容进行查看。其中,为了使子内容的显示,与目标内容的选取顺序一致,可以按照用户对至少一个页面的选取顺序以及每一子内容在所属页面中的排版顺序,将划分好的子内容显示于目标页面中。例如,用户先对页面A中的内容进行了选取,后又对页面B中的内容进行选取,则将页面A中选取的目标内容,显示于页面B中选取的目标内容之前,而对于目标内容划分后的子内容,则按照目标内容在页面A或页面B的从上到下的排版顺序,进行显示。In the embodiment of the present disclosure, the divided sub-content can be displayed in a page (that is, the target page) dedicated to displaying the sub-content, so that the user can view the sub-content. Among them, in order to make the display of the sub-content consistent with the selection order of the target content, the divided sub-content can be displayed on the target page according to the user's selection order of at least one page and the layout order of each sub-content in the page to which it belongs. in. For example, if the user first selects the content in page A, and then selects the content in page B, the selected target content in page A is displayed before the selected target content in page B, and for the target content The divided sub-content is displayed according to the order of the target content on page A or page B from top to bottom.
其中,当目标内容来源于多个页面时,用户需要分别对每一页面进行目标内容的选取。每在一个页面选取完成后,则对从该页面中选取的内容进行子内容划分,并将划分好的子内容显示于目标页面中。Among them, when the target content comes from multiple pages, the user needs to select the target content for each page separately. After each page is selected, the content selected from the page is divided into sub-content, and the divided sub-content is displayed in the target page.
其中,对于目标页面显示的子内容,用户还可以通过对子内容的选择操作,选择需要进行编辑内容,以便用户更加精准的选取所需编辑的内容。如图4所示,图右侧的实心圆点表示被选择的子内容,空心圆点表示未被选择的子内容。被选取的子内容的信息,会被加载并显示于编辑器。其实现方式为:接收用户对至少一个子内容的第二选取操作;响应于第二选取操作,根据选取的子内容的数据类型标记,将所述选取的子内容显示于对应的目标编辑器中。Among them, for the sub-content displayed on the target page, the user can also select the content to be edited by selecting the sub-content, so that the user can more accurately select the content to be edited. As shown in Figure 4, the solid dots on the right side of the figure indicate the selected sub-content, and the hollow dots indicate the unselected sub-content. The information of the selected sub-content will be loaded and displayed in the editor. The implementation method is: receiving a second selection operation of the user on at least one sub-content; in response to the second selection operation, displaying the selected sub-content in the corresponding target editor according to the data type mark of the selected sub-content .
其中,在用户需要对所有子内容进行编辑时,为了方便用户对子内容的选择,可以通过目标页面中的“全选编辑”功能,将所有子内容选中。而在 用户不需要对所有内容进行编辑时,可以通过目标页面中的“全选保留”功能,将所有子内容中的内容进行保存,用户可以通过粘贴操作,将保存的内容粘贴至目标应用程序的界面中,以进行内容的保存或分享。除此之外,用户还可以通过删除操作,对显示于目标页面中的子内容进行删除等操作。Among them, when the user needs to edit all the sub-contents, in order to facilitate the user's selection of the sub-contents, all the sub-contents can be selected through the "select all edit" function in the target page. When the user does not need to edit all the content, the content in all sub-contents can be saved through the "select all and keep" function in the target page, and the user can paste the saved content to the target application through the paste operation To save or share content. In addition, users can also delete the sub-content displayed on the target page by deleting operations.
进一步地,步骤102将目标内容中的信息分别显示于对应的目标编辑器中之后,该方法还包括:Further, after the information in the target content is respectively displayed in the corresponding target editor in step 102, the method further includes:
接收用户输入的预览操作;响应于该预览操作,按照用户对至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版顺序,将每一编辑器中的信息进行组合;将组合结果进行预览显示。Receive the preview operation input by the user; in response to the preview operation, according to the user's selection order of at least one page and the layout order of each data type information in the page to which it belongs, combine the information in each editor; combine the result Perform preview display.
本公开实施例中,用户对编辑器中的信息完成编辑后,还可以完成编辑的目标内容进行预览。如图3所示,用户可以通过页面右上角的“点击预览”功能,对完成编辑的目标内容进行预览。用户在触发预览指令(即预览操作)后,终端根据该预览指令,按照对至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版顺序,将每一编辑器中的信息进行组合,并将组合结果进行预览显示,这样能够使得用户可以随时了解自己的编辑结果,使用户的编辑更加可视化。In the embodiment of the present disclosure, after the user finishes editing the information in the editor, the target content of the editing can also be previewed. As shown in Figure 3, the user can preview the edited target content through the "click to preview" function in the upper right corner of the page. After the user triggers the preview instruction (ie preview operation), the terminal combines the information in each editor according to the preview instruction, in accordance with the selection order of at least one page and the typesetting order of each data type information in the corresponding page , And preview and display the combined results, so that users can know their editing results at any time and make their editing more visible.
需要说明的是,对于上述在目标页面显示子内容的实施例而言,终端在接收到预览指令后,则是将各编辑器中的信息以及目标页面未被选择编辑的子内容中的信息,按照对至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版顺序,进行组合,并将组合结果进行预览显示。It should be noted that for the foregoing embodiment of displaying sub-content on the target page, after the terminal receives the preview instruction, it will use the information in each editor and the information in the sub-content of the target page that has not been selected for editing. According to the selection order of at least one page and the layout order of each data type information in the corresponding page, the combination is performed, and the combination result is previewed and displayed.
如图5所示,当用户对预览效果不满意时,用户还可以通过预览界面中的“返回修改”功能,返回至编辑器界面,对信息进行编辑。可选地,可以以子内容的形式将各数据类型信息显示于预览界面,这样,用户可以通过拖动子内容,调整子内容的显示顺序,以满足用户的需求。As shown in Figure 5, when the user is not satisfied with the preview effect, the user can also return to the editor interface to edit the information through the "return to modification" function in the preview interface. Optionally, each data type information can be displayed on the preview interface in the form of sub-content, so that the user can adjust the display order of the sub-content by dragging the sub-content to meet the user's needs.
其中,终端会对编辑器中的信息进行临时缓存,以便用户对预览效果不满意返回修改时,可以调出缓存数据于编辑器重,以使用户返回修改,避免用户从头进行修改,提升了用户对内容编辑的流畅性和容错性。Among them, the terminal temporarily caches the information in the editor, so that when the user is not satisfied with the preview effect and returns to the modification, the cached data can be recalled in the editor, so that the user can return to the modification, avoiding the user to modify from the beginning, and improve the user Fluency and fault tolerance of content editing.
进一步地,在将组合结果进行预览显示之后,该方法还包括:Further, after previewing and displaying the combined result, the method further includes:
接收用户输入的粘贴操作;响应于粘贴操作,将组合结果粘贴于目标应 用的页面中。Receive the paste operation input by the user; in response to the paste operation, paste the combined result on the page of the target application.
本公开实施例中,当用户对预览效果满意时,可以通过粘贴操作,将组合结果粘贴到目标应用的页面中,以便进行信息的保存或分享等。具体地,如图5所示,用户可以通过预览界面中的“分享”功能,将组合结过粘贴至目标应用的页面中。In the embodiment of the present disclosure, when the user is satisfied with the preview effect, the combined result can be pasted into the page of the target application through a paste operation, so as to save or share information. Specifically, as shown in FIG. 5, the user can paste the combined result into the page of the target application through the "share" function in the preview interface.
其中,当用户选取的目标内容不需要进行编辑时,可以直接通过粘贴操作,将目标内容粘贴至目标应用的页面中。Among them, when the target content selected by the user does not need to be edited, the target content can be directly pasted into the page of the target application through a paste operation.
可选地,本公开实施例中,该终端至少包括:第一屏和第二屏。Optionally, in the embodiment of the present disclosure, the terminal includes at least: a first screen and a second screen.
其中,本公开实施例中,可以将目标内容和目标界面显示于第一屏中,编辑器和预览界面显示于第二屏中,这样可以简化用户的来回切面界面的交互行为,方便了用户的操作。Among them, in the embodiment of the present disclosure, the target content and the target interface can be displayed on the first screen, and the editor and preview interface can be displayed on the second screen. This can simplify the user’s back and forth cross-section interface interaction and facilitate the user’s operating.
为了更好地理解本公开实施例提供的技术方案,下面以示例进行进一步地解释说明。In order to better understand the technical solutions provided by the embodiments of the present disclosure, the following examples are used for further explanation.
在该示例中,该终端至少包括第一屏和第二屏,此外该终端还包括:内容分割装置、模块化处理装置、临时缓存装置、预览装置。各装置的主要作用具体如下所述:In this example, the terminal includes at least a first screen and a second screen. In addition, the terminal also includes: a content segmentation device, a modular processing device, a temporary cache device, and a preview device. The main functions of each device are as follows:
其中,内容分割装置主要负责对选取内容的数据类型识别、数据类型标记和格式分类(如行间距、缩进、字符大小等格式)等。具体原理如图6所示,对选取的目标内容进行预处理,通过字符流逐行读取目标内容中的所有字符数据,根据数据类型规律,分类成文本类数据、图片类数据、音频类数据、视频类数据。完成目标内容的数据类型识别后,依据数据类型,对目标内容进行内容块划分,每一内容块中的信息为目标内容的子内容。该内容分割装置还可以为每一内容块添加一个属性头:“type”,并根据解析出来的数据类型,对相应内容块添加该数据类型的type标记,以锁定该内容块中的信息的数据类型。Among them, the content segmentation device is mainly responsible for data type identification, data type labeling and format classification (such as line spacing, indentation, character size, etc.) of the selected content. The specific principle is shown in Figure 6. The selected target content is preprocessed, and all character data in the target content is read line by line through the character stream. According to the data type rule, it is classified into text data, image data, and audio data. , Video data. After the data type identification of the target content is completed, the target content is divided into content blocks according to the data type, and the information in each content block is the sub-content of the target content. The content segmentation device can also add an attribute header: "type" to each content block, and add the type tag of the data type to the corresponding content block according to the parsed data type to lock the data of the information in the content block Types of.
其中,模块化装置主要用于读取内容分割装置中传递出的type标记数据信息,并将所有选取的数据(即目标内容)进行模块化处理,将内容块中的信息加载到相应的编辑器。而临时缓存装置则是负责将编辑完成的内容及状态信息暂时存储起来,在确认粘贴前可恢复,确认粘贴后会清空缓存。Among them, the modular device is mainly used to read the type tag data information transmitted from the content segmentation device, and perform modular processing on all selected data (ie target content), and load the information in the content block to the corresponding editor . The temporary cache device is responsible for temporarily storing the edited content and status information, which can be restored before the paste is confirmed, and the cache will be cleared after the paste is confirmed.
模块化装置和临时缓存装置这两个装置的具体原理如图7所示,首先图6的内容分割装置会将解析出的数据类型添加至type列表中进行记录,并传递给模块化处理装置。而模块化处理装置会根据type列表中数据类型的数量,触发相应数量的模块窗口。每个模块窗口会将被标记为该数据类型的内容块中的信息加载到对应的编辑器中,由用户进行内容的编辑。当编辑完成后,各模块窗口会将各自编辑完成的内容数据压缩(压缩数据是为了节省内存),写入临时缓存装置中。当后续如果想返回继续编辑时,又可以直接将缓存的压缩数据恢复并加载至相应的编辑器中。但是最终在目标应用程序的页面确认粘贴后,临时缓存装置中的内容将会被清空,从而及时释放内存。The specific principles of the two devices, the modular device and the temporary cache device, are shown in FIG. 7. First, the content segmentation device in FIG. 6 adds the parsed data type to the type list for recording, and transmits it to the modular processing device. The modular processing device will trigger a corresponding number of module windows according to the number of data types in the type list. Each module window loads the information in the content block marked as the data type into the corresponding editor, and the user edits the content. When the editing is completed, each module window compresses the edited content data (compressed data is to save memory) and writes it into the temporary cache device. When you want to return to continue editing later, you can directly restore the cached compressed data and load it into the corresponding editor. But finally after the page of the target application is confirmed to be pasted, the content in the temporary cache device will be cleared, thereby releasing the memory in time.
其中,预览装置的主要作用是提前将编辑后的内容进行整合,向用户提供整合后的内容的显示效果,以便用户确认是否达到自身需求。Among them, the main function of the preview device is to integrate the edited content in advance, and provide the user with a display effect of the integrated content, so that the user can confirm whether it meets their own needs.
如图8所示,预览装置其实与模块化处理装置、临时缓存装置之间有密切的联系。当各模块窗口中的内容在编辑器中完成编辑并加载进临时缓存装置后,按照内容块所属页面以及页面选取顺序,将各部分编辑好的内容按照进入内容分割装置之前的顺序和格式进行组合,在预览装置中形成编辑后的完整文档。例如,有内容块A、B、C,其中A、B属于页面二(第二次进行选取的页面)且页面二中A在B前面,C属于页面一(第一次进行选取的页面),那么将会按照C、A、B的顺序进行组合。As shown in Figure 8, the preview device is actually closely related to the modular processing device and the temporary buffer device. After the content in each module window is edited in the editor and loaded into the temporary cache device, according to the page to which the content block belongs and the page selection order, the edited content of each part is combined in the order and format before entering the content splitting device , To form a complete document after editing in the preview device. For example, there are content blocks A, B, and C, where A and B belong to page two (the page selected for the second time) and A is before B in page two, and C belongs to page one (the page selected for the first time), Then it will be combined in the order of C, A, B.
其中,用户可以在预览界面中拖动内容块调整顺序,若是效果满意,则确认完成编辑,否则从临时缓存装置中恢复内容接着编辑,直至整体预览效果合格。最后,用户可以选择“分享至”选项,来选择相应应用,将之前选取并已经编辑组合完成的内容进行粘贴。Among them, the user can drag the content blocks in the preview interface to adjust the order. If the effect is satisfactory, the editing is confirmed; otherwise, the content is restored from the temporary cache device and then edited until the overall preview effect is qualified. Finally, the user can select the "Share to" option to select the corresponding application, and paste the previously selected and edited content.
综上所述,本公开实施例中,可以同时选取页面中不同数据类型的信息,并依据信息的数据类型,自动将目标内容中的信息加载并显示于对应的编辑器中,以便用户对信息进行编辑。通过本公开实施例提供的技术方案,能够智能地帮助用户识别内容和归类内容,实现了多种数据类型信息的同时选取以及编辑内容的自动加载,方便了用户的操作。In summary, in the embodiments of the present disclosure, information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can view the information To edit. The technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
依据本公开实施例的另一个方面,提供了一种终端,能实现上述页面内容编辑方法中的细节,并达到相同的效果。According to another aspect of the embodiments of the present disclosure, a terminal is provided, which can implement the details in the above-mentioned method for editing page content and achieve the same effect.
其中,如图9所示,该终端包括:Among them, as shown in Figure 9, the terminal includes:
第一接收模块901,用于接收用户对页面中的目标内容的第一选取操作;其中,所述目标内容至少包括两种数据类型的信息。The first receiving module 901 is configured to receive a user's first selection operation of the target content in the page; wherein the target content includes at least two data types of information.
第一处理模块902,用于响应于所述第一接收模块901接收到的第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容中的信息分别显示于对应的目标编辑器中。The first processing module 902 is configured to respond to the first selection operation received by the first receiving module 901 and display the information in the target content on the corresponding target according to the data type of the information in the target content. In the editor.
其中,所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target editor is an editor corresponding to the data type of the information displayed therein.
可选地,所述两种数据类型的信息包括:文本类信息、图片类信息、音频类信息、视频类信息中的任意两种。Optionally, the information of the two data types includes any two of text type information, picture type information, audio type information, and video type information.
可选地,所述第一处理模块902包括:Optionally, the first processing module 902 includes:
划分单元,用于响应于所述第一接收模块901接收到的第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容划分为至少两个子内容;其中,每一子内容中为同一数据类型的信息。The dividing unit is configured to divide the target content into at least two sub-contents according to the data type of the information in the target content in response to the first selection operation received by the first receiving module 901; The content is information of the same data type.
处理单元,用于根据所述子内容的数据类型标记,将所述子内容显示于对应的目标编辑器中。The processing unit is configured to display the sub-content in the corresponding target editor according to the data type mark of the sub-content.
可选地,所述目标内容为至少一个页面中的内容;Optionally, the target content is content in at least one page;
所述终端还包括:The terminal also includes:
第二处理模块,用于按照用户对所述至少一个页面的选取顺序以及每一子内容在所属页面中的排版顺序,将划分后的子内容显示于目标页面中。The second processing module is configured to display the divided sub-content on the target page according to the user's selection order of the at least one page and the typesetting order of each sub-content in the page to which it belongs.
其中,所述目标页面与所述至少一个页面为不同页面。Wherein, the target page and the at least one page are different pages.
可选地,所述处理单元包括:Optionally, the processing unit includes:
接收子单元,用于接收用户对至少一个子内容的第二选取操作。The receiving subunit is configured to receive a second selection operation of the user on at least one subcontent.
处理子单元,用于响应于所述接收子单元接收到的第二选取操作,根据选取的子内容的数据类型标记,将所述选取的子内容显示于对应的目标编辑器中。The processing subunit is configured to respond to the second selection operation received by the receiving subunit and display the selected subcontent in the corresponding target editor according to the data type mark of the selected subcontent.
可选地,所述终端还包括:Optionally, the terminal further includes:
第二接收模块,用于接收用户输入的预览操作。The second receiving module is used to receive the preview operation input by the user.
第三处理模块,响应于所述第二接收模块接收到的预览操作,按照用户对所述至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版 顺序,将每一编辑器中的信息进行组合;The third processing module, in response to the preview operation received by the second receiving module, in accordance with the user's selection order of the at least one page and the typesetting order of each data type information in the page to which it belongs, set each editor Combine information;
第四处理模块,用于将所述第三处理模块得到的组合结果进行预览显示。The fourth processing module is used to preview and display the combined result obtained by the third processing module.
可选地,所述终端还包括:Optionally, the terminal further includes:
第三接收模块,用于接收用户输入的粘贴操作。The third receiving module is used to receive the paste operation input by the user.
第五处理模块,用于响应于所述第三接收模块接收到的粘贴操作,将所述组合结果粘贴于目标应用的页面中。The fifth processing module is configured to paste the combined result into the page of the target application in response to the paste operation received by the third receiving module.
可选地,所述终端还至少包括:第一屏和第二屏。Optionally, the terminal further includes at least: a first screen and a second screen.
其中,所述目标内容显示于所述第一屏中,所述编辑器显示于所述第二屏中。Wherein, the target content is displayed on the first screen, and the editor is displayed on the second screen.
本公开实施例中,可以同时选取页面中不同数据类型的信息,并依据信息的数据类型,自动将目标内容中的信息加载并显示于对应的编辑器中,以便用户对信息进行编辑。通过本公开实施例提供的技术方案,能够智能地帮助用户识别内容和归类内容,实现了多种数据类型信息的同时选取以及编辑内容的自动加载,方便了用户的操作。In the embodiments of the present disclosure, information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information. The technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
图10为实现本公开各个实施例的一种终端的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of a terminal for implementing various embodiments of the present disclosure.
该终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, and power supply 1011 and other parts. Those skilled in the art can understand that the terminal structure shown in FIG. 10 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components. In the embodiments of the present disclosure, terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
处理器1010,用于控制用户输入单元1007接收用户对页面中的目标内容的第一选取操作;并响应于所述第一选取操作,根据所述目标内容中信息的数据类型,通过显示单元1006将所述目标内容中的信息分别显示于对应的目标编辑器中。The processor 1010 is configured to control the user input unit 1007 to receive a user's first selection operation of the target content in the page; and in response to the first selection operation, according to the data type of the information in the target content, through the display unit 1006 The information in the target content is respectively displayed in the corresponding target editor.
其中,所述目标内容至少包括两种数据类型的信息。所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target content includes at least two data types of information. The target editor is an editor corresponding to the data type of the information displayed therein.
本公开实施例中,可以同时选取页面中不同数据类型的信息,并依据信 息的数据类型,自动将目标内容中的信息加载并显示于对应的编辑器中,以便用户对信息进行编辑。通过本公开实施例提供的技术方案,能够智能地帮助用户识别内容和归类内容,实现了多种数据类型信息的同时选取以及编辑内容的自动加载,方便了用户的操作。In the embodiments of the present disclosure, information of different data types in the page can be selected at the same time, and according to the data type of the information, the information in the target content is automatically loaded and displayed in the corresponding editor, so that the user can edit the information. The technical solutions provided by the embodiments of the present disclosure can intelligently help users identify content and classify content, realize simultaneous selection of multiple data types and automatic loading of edited content, and facilitate user operations.
应理解的是,本公开实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station. Generally, the radio frequency unit 1001 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. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。The audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the terminal 1000 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运 动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light. The proximity sensor can close the display panel 10061 and/or when the terminal 1000 is moved to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating). The touch panel 10071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it The processor 1010 receives and executes the command sent by the processor 1010. In addition, the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现终端的输入和输出功能,具体此处不 做限定。Further, the touch panel 10071 can be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 10061. Although in FIG. 10, the touch panel 10071 and the display panel 10061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated Realize the input and output functions of the terminal, which are not limited here.
接口单元1008为外部装置与终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(input/output,I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端1000内的一个或多个元件或者可以用于在终端1000和外部装置之间传输数据。The interface unit 1008 is an interface for connecting an external device with the terminal 1000. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (input/output, I/O) port, video I/O port, headphone port, etc. The interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 1000 or can be used to communicate between the terminal 1000 and the external device. Transfer data between.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器1010是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器1010可包括一个或多个处理单元;可选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes by running or executing software programs and/or modules stored in the memory 1009, and calling data stored in the memory 1009. Various functions of the terminal and processing data, so as to monitor the terminal as a whole. The processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
终端1000还可以包括给各个部件供电的电源1011(比如电池),可选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Optionally, the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,终端1000包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 1000 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述页面内容编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal, including a processor 1010, a memory 1009, and a computer program stored on the memory 1009 and capable of running on the processor 1010. When the computer program is executed by the processor 1010, Each process of the foregoing embodiment of the method for editing page content is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述页面内容编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned page content editing method embodiment is realized, and the same Technical effects, in order to avoid repetition, I will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的 划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by controlling the relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When executed, it may include the processes of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控 制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement Described functions in other electronic units or combinations thereof.
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology described in the embodiments of the present disclosure can be implemented through modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure. The software codes can be stored in the memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护范围之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the scope of protection of the present disclosure.

Claims (18)

  1. 一种页面内容编辑方法,应用于终端,包括:A method for editing page content, applied to a terminal, includes:
    接收用户对页面中的目标内容的第一选取操作;其中,所述目标内容至少包括两种数据类型的信息;Receiving a user's first selection operation of the target content in the page; wherein the target content includes at least two data types of information;
    响应于所述第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容中的信息分别显示于对应的目标编辑器中;In response to the first selection operation, according to the data type of the information in the target content, the information in the target content is respectively displayed in a corresponding target editor;
    其中,所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target editor is an editor corresponding to the data type of the information displayed therein.
  2. 根据权利要求1所述的方法,其中,所述两种数据类型的信息包括:文本类信息、图片类信息、音频类信息、视频类信息中的任意两种。The method according to claim 1, wherein the information of the two data types includes any two of text information, picture information, audio information, and video information.
  3. 根据权利要求1或2所述的方法,其中,所述响应于所述第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容中的信息分别显示于对应的目标编辑器中,包括:The method according to claim 1 or 2, wherein, in response to the first selection operation, the information in the target content is displayed in the corresponding target editor according to the data type of the information in the target content. The device includes:
    响应于所述第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容划分为至少两个子内容;其中,每一子内容中为同一数据类型的信息;In response to the first selection operation, divide the target content into at least two sub-contents according to the data type of the information in the target content; wherein each sub-content contains information of the same data type;
    根据所述子内容的数据类型标记,将所述子内容显示于对应的目标编辑器中。According to the data type mark of the sub-content, the sub-content is displayed in the corresponding target editor.
  4. 根据权利要求3所述的方法,其中,所述目标内容为至少一个页面中的内容;The method according to claim 3, wherein the target content is content in at least one page;
    所述将所述目标内容划分为至少两个子内容之后,所述方法还包括:After dividing the target content into at least two sub-contents, the method further includes:
    按照用户对所述至少一个页面的选取顺序以及每一子内容在所属页面中的排版顺序,将划分后的子内容显示于目标页面中;Displaying the divided sub-content on the target page according to the user's selection order of the at least one page and the typesetting order of each sub-content in the page to which it belongs;
    其中,所述目标页面与所述至少一个页面为不同页面。Wherein, the target page and the at least one page are different pages.
  5. 根据权利要求3所述的方法,其中,所述根据所述子内容的数据类型标记,将所述子内容显示于对应的目标编辑器中,包括:The method according to claim 3, wherein the displaying the sub-content in a corresponding target editor according to the data type mark of the sub-content comprises:
    接收用户对至少一个子内容的第二选取操作;Receiving a second selection operation of the user on at least one sub-content;
    响应于所述第二选取操作,根据选取的子内容的数据类型标记,将所述选取的子内容显示于对应的目标编辑器中。In response to the second selection operation, the selected sub-content is displayed in the corresponding target editor according to the data type mark of the selected sub-content.
  6. 根据权利要求1或2所述的方法,其中,将所述目标内容中的信息分别显示于对应的目标编辑器中之后,所述方法还包括:The method according to claim 1 or 2, wherein after the information in the target content is respectively displayed in the corresponding target editor, the method further comprises:
    接收用户输入的预览操作;Receive the preview operation input by the user;
    响应于所述预览操作,按照用户对所述至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版顺序,将每一编辑器中的信息进行组合;In response to the preview operation, combining the information in each editor according to the user's selection order of the at least one page and the typesetting order of each data type information in the page to which it belongs;
    将组合结果进行预览显示。Preview the combined result.
  7. 根据权利要求6所述的方法,其中,将组合结果进行预览显示之后,所述方法还包括:8. The method according to claim 6, wherein after previewing the combined result, the method further comprises:
    接收用户输入的粘贴操作;Receive the paste operation input by the user;
    响应于所述粘贴操作,将所述组合结果粘贴于目标应用的页面中。In response to the paste operation, the combined result is pasted in the page of the target application.
  8. 根据权利要求1或2所述的方法,其中,所述终端至少包括:第一屏和第二屏;The method according to claim 1 or 2, wherein the terminal includes at least: a first screen and a second screen;
    其中,所述目标内容显示于所述第一屏中,所述编辑器显示于所述第二屏中。Wherein, the target content is displayed on the first screen, and the editor is displayed on the second screen.
  9. 一种终端,包括:A terminal including:
    第一接收模块,用于接收用户对页面中的目标内容的第一选取操作;其中,所述目标内容至少包括两种数据类型的信息;The first receiving module is configured to receive a user's first selection operation of the target content in the page; wherein the target content includes at least two data types of information;
    第一处理模块,用于响应于所述第一接收模块接收到的第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容中的信息分别显示于对应的目标编辑器中;The first processing module is configured to respond to the first selection operation received by the first receiving module and display the information in the target content in the corresponding target editor according to the data type of the information in the target content. in;
    其中,所述目标编辑器为与显示于其中的信息的数据类型对应的编辑器。Wherein, the target editor is an editor corresponding to the data type of the information displayed therein.
  10. 根据权利要求9所述的终端,其中,所述两种数据类型的信息包括:文本类信息、图片类信息、音频类信息、视频类信息中的任意两种。The terminal according to claim 9, wherein the information of the two data types includes any two of text type information, picture type information, audio type information, and video type information.
  11. 根据权利要求9或10所述的终端,其中,所述第一处理模块包括:The terminal according to claim 9 or 10, wherein the first processing module comprises:
    划分单元,用于响应于所述第一接收模块接收到的第一选取操作,根据所述目标内容中信息的数据类型,将所述目标内容划分为至少两个子内容;其中,每一子内容中为同一数据类型的信息;The dividing unit is configured to divide the target content into at least two sub-contents according to the data type of the information in the target content in response to the first selection operation received by the first receiving module; wherein, each sub-content Is the information of the same data type;
    处理单元,用于根据所述子内容的数据类型标记,将所述子内容显示于对应的目标编辑器中。The processing unit is configured to display the sub-content in the corresponding target editor according to the data type mark of the sub-content.
  12. 根据权利要求11所述的终端,其中,所述目标内容为至少一个页面中的内容;The terminal according to claim 11, wherein the target content is content in at least one page;
    所述终端还包括:The terminal also includes:
    第二处理模块,用于按照用户对所述至少一个页面的选取顺序以及每一子内容在所属页面中的排版顺序,将划分后的子内容显示于目标页面中;The second processing module is configured to display the divided sub-content on the target page according to the user's selection order of the at least one page and the typesetting order of each sub-content in the page to which it belongs;
    其中,所述目标页面与所述至少一个页面为不同页面。Wherein, the target page and the at least one page are different pages.
  13. 根据权利要求11所述的终端,其中,所述处理单元包括:The terminal according to claim 11, wherein the processing unit comprises:
    接收子单元,用于接收用户对至少一个子内容的第二选取操作;A receiving subunit, configured to receive a second selection operation of the user on at least one subcontent;
    处理子单元,用于响应于所述接收子单元接收到的第二选取操作,根据选取的子内容的数据类型标记,将所述选取的子内容显示于对应的目标编辑器中。The processing subunit is configured to respond to the second selection operation received by the receiving subunit and display the selected subcontent in the corresponding target editor according to the data type mark of the selected subcontent.
  14. 根据权利要求9或10所述的终端,还包括:The terminal according to claim 9 or 10, further comprising:
    第二接收模块,用于接收用户输入的预览操作;The second receiving module is used to receive the preview operation input by the user;
    第三处理模块,响应于所述第二接收模块接收到的预览操作,按照用户对所述至少一个页面的选取顺序以及每一数据类型信息在所属页面中的排版顺序,将每一编辑器中的信息进行组合;The third processing module, in response to the preview operation received by the second receiving module, in accordance with the user's selection order of the at least one page and the typesetting order of each data type information in the page to which it belongs, set each editor Combine information;
    第四处理模块,用于将所述第三处理模块得到的组合结果进行预览显示。The fourth processing module is used to preview and display the combined result obtained by the third processing module.
  15. 根据权利要求14所述的终端,还包括:The terminal according to claim 14, further comprising:
    第三接收模块,用于接收用户输入的粘贴操作;The third receiving module is used to receive the paste operation input by the user;
    第五处理模块,用于响应于所述第三接收模块接收到的粘贴操作,将所述组合结果粘贴于目标应用的页面中。The fifth processing module is configured to paste the combined result into the page of the target application in response to the paste operation received by the third receiving module.
  16. 根据权利要求9或10所述的终端,还至少包括:第一屏和第二屏;The terminal according to claim 9 or 10, further comprising at least: a first screen and a second screen;
    其中,所述目标内容显示于所述第一屏中,所述编辑器显示于所述第二屏中。Wherein, the target content is displayed on the first screen, and the editor is displayed on the second screen.
  17. 一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的页面内容编辑方法的步骤。A terminal comprising: a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor realizes any of claims 1 to 8 One of the steps of the page content editing method.
  18. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述 的页面内容编辑方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the page content editing method according to any one of claims 1 to 8 are realized.
PCT/CN2020/077945 2019-03-27 2020-03-05 Page content editing method and terminal WO2020192383A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910239936.2A CN109948102B (en) 2019-03-27 2019-03-27 Page content editing method and terminal
CN201910239936.2 2019-03-27

Publications (1)

Publication Number Publication Date
WO2020192383A1 true WO2020192383A1 (en) 2020-10-01

Family

ID=67012078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077945 WO2020192383A1 (en) 2019-03-27 2020-03-05 Page content editing method and terminal

Country Status (2)

Country Link
CN (1) CN109948102B (en)
WO (1) WO2020192383A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948102B (en) * 2019-03-27 2021-05-25 维沃移动通信有限公司 Page content editing method and terminal
CN112558824B (en) * 2019-09-26 2024-09-06 腾讯科技(深圳)有限公司 Page display method and device and computer storage medium
CN110888854A (en) * 2019-11-29 2020-03-17 维沃移动通信有限公司 Content sharing method and electronic equipment
CN111310096A (en) * 2020-02-25 2020-06-19 维沃移动通信有限公司 Content saving method, electronic device, and computer-readable storage medium
CN114997117A (en) * 2021-03-02 2022-09-02 北京字跳网络技术有限公司 Document editing method, device, terminal and non-transitory storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4815029A (en) * 1985-09-23 1989-03-21 International Business Machines Corp. In-line dynamic editor for mixed object documents
CN103593378A (en) * 2012-08-17 2014-02-19 株式会社泛泰 Terminal and method for determining type of input method editor
CN104298416A (en) * 2013-07-19 2015-01-21 腾讯科技(北京)有限公司 Method and device for generating auto-response messages in instant messaging
CN106775202A (en) * 2016-11-22 2017-05-31 北京小米移动软件有限公司 A kind of method and device of information transfer
CN109460521A (en) * 2018-09-18 2019-03-12 平安科技(深圳)有限公司 Picture editing method, device, medium and computer equipment in web page
CN109948102A (en) * 2019-03-27 2019-06-28 维沃移动通信有限公司 Content of pages edit methods and terminal

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103389A (en) * 2009-12-17 2011-06-22 宏碁股份有限公司 Multi-screen electronic device and reference data display method thereof
CN102411467B (en) * 2010-09-26 2019-04-23 联想(北京)有限公司 Electronic equipment and its contents management method
CN102508707A (en) * 2011-11-21 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Information editing method and terminal
CN103294748A (en) * 2013-01-22 2013-09-11 北京旭宁信息技术有限公司 Method for excerpting and editing Internet contents
CN104142774B (en) * 2013-05-06 2019-02-26 腾讯科技(深圳)有限公司 The processing method and processing device of content of pages
CN103309850A (en) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 Content editing method, content editing device and terminal
CN104298721B (en) * 2014-09-25 2018-09-28 汤习俭 A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web
CN105183707A (en) * 2015-09-08 2015-12-23 深圳市金立通信设备有限公司 Content editing method and terminal
CN105488145B (en) * 2015-11-26 2019-07-09 小米科技有限责任公司 Display methods, device and the terminal of web page contents
US10353534B2 (en) * 2016-05-13 2019-07-16 Sap Se Overview page in multi application user interface
US10855765B2 (en) * 2016-05-20 2020-12-01 Sinclair Broadcast Group, Inc. Content atomization
CN107656941A (en) * 2016-07-26 2018-02-02 阿里巴巴集团控股有限公司 Document analysis method, apparatus and editor
KR20180133138A (en) * 2017-06-05 2018-12-13 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN107797750A (en) * 2017-10-27 2018-03-13 珠海市魅族科技有限公司 A kind of screen content identifying processing method, apparatus, terminal and medium
CN109462692A (en) * 2018-10-29 2019-03-12 努比亚技术有限公司 Split screen display available operating method, mobile terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4815029A (en) * 1985-09-23 1989-03-21 International Business Machines Corp. In-line dynamic editor for mixed object documents
CN103593378A (en) * 2012-08-17 2014-02-19 株式会社泛泰 Terminal and method for determining type of input method editor
CN104298416A (en) * 2013-07-19 2015-01-21 腾讯科技(北京)有限公司 Method and device for generating auto-response messages in instant messaging
CN106775202A (en) * 2016-11-22 2017-05-31 北京小米移动软件有限公司 A kind of method and device of information transfer
CN109460521A (en) * 2018-09-18 2019-03-12 平安科技(深圳)有限公司 Picture editing method, device, medium and computer equipment in web page
CN109948102A (en) * 2019-03-27 2019-06-28 维沃移动通信有限公司 Content of pages edit methods and terminal

Also Published As

Publication number Publication date
CN109948102B (en) 2021-05-25
CN109948102A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
WO2020192383A1 (en) Page content editing method and terminal
US11922005B2 (en) Screen capture method and related device
WO2021104365A1 (en) Object sharing method and electronic device
WO2019228294A1 (en) Object sharing method and mobile terminal
WO2021036542A1 (en) Screen recording method and mobile terminal
WO2020151519A1 (en) Information input method, terminal device, and computer-readable storage medium
WO2020215949A1 (en) Object processing method and terminal device
WO2020238449A1 (en) Notification message processing method and terminal
WO2020156169A1 (en) Display control method and terminal device
WO2020259024A1 (en) Icon classification method, mobile terminal, and computer-readable storage medium
WO2021136136A1 (en) Screenshot method and electronic device
WO2020182035A1 (en) Image processing method and terminal device
WO2020199988A1 (en) Content copying method and terminal
WO2020156118A1 (en) Management method and terminal apparatus
US11895069B2 (en) Message sending method and mobile terminal
WO2021004426A1 (en) Content selection method, and terminal
WO2021073579A1 (en) Method for capturing scrolling screenshot and terminal device
WO2021098632A1 (en) Message processing method, electronic device, and server
WO2021139613A1 (en) Information processing method and electronic device
WO2020238536A1 (en) Information processing method and terminal device
WO2020238562A1 (en) Display method and terminal
WO2021143642A1 (en) Image cropping method and electronic device
WO2020238911A1 (en) Message sending method and terminal
US11669237B2 (en) Operation method and terminal device
WO2021083114A1 (en) Photo viewing method and electronic device

Legal Events

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

Ref document number: 20779513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20779513

Country of ref document: EP

Kind code of ref document: A1