WO2021104160A1 - 编辑方法及电子设备 - Google Patents
编辑方法及电子设备 Download PDFInfo
- Publication number
- WO2021104160A1 WO2021104160A1 PCT/CN2020/130319 CN2020130319W WO2021104160A1 WO 2021104160 A1 WO2021104160 A1 WO 2021104160A1 CN 2020130319 W CN2020130319 W CN 2020130319W WO 2021104160 A1 WO2021104160 A1 WO 2021104160A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- interface
- input
- text
- display
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Definitions
- the present invention relates to the field of communication technology, in particular to an editing method and electronic equipment.
- the purpose of the present invention is to provide an editing method and electronic equipment to solve the problems of complicated operation and low copy efficiency in the text copy method in the related art.
- the present invention is implemented as follows:
- an embodiment of the present invention provides an editing method applied to an electronic device, including:
- the candidate area includes the text selection area, and/or is located in an extended area of a preset range of the text selection area.
- an embodiment of the present invention also provides an electronic device, including:
- the first receiving module is configured to receive the first input for the text content displayed in the target interface
- the first response module is configured to display a text selection area on the target interface in response to the first input, and increase the distance between the texts in the candidate area;
- the second receiving module is configured to receive a second input for the target text in the text selection area
- a second response module configured to determine a target display position of the target text in response to the second input, and display the target text at the target display position;
- the candidate area includes the text selection area, and/or is located in an extended area of a preset range of the text selection area.
- an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a program stored on the memory and capable of running on the processor.
- a program stored on the memory and capable of running on the processor.
- an embodiment of the present invention also provides a readable storage medium having a program stored on the readable storage medium, and when the program is executed by a processor, the steps of the above-mentioned editing method are implemented.
- the above technical solution of the embodiment of the present invention increases the distance between the text in the candidate area, so that the user can easily select the text to be edited, and through the second input of the target text in the text selection box,
- the target text can be displayed in the target display position conveniently and quickly, which simplifies the text editing process and improves the efficiency of text editing.
- FIG. 1 is a schematic flowchart of an editing method according to an embodiment of the present invention
- FIG. 2 is one of the schematic diagrams of text selection through a text selection area in an embodiment of the present invention
- FIG. 3 is the second schematic diagram of text selection through a text selection area in an embodiment of the present invention.
- Figure 5 is a schematic diagram of an editable interface in a target editable interface set according to an embodiment of the present invention.
- Fig. 6 is a schematic diagram of a target application list page in an embodiment of the present invention.
- FIG. 7 is one of schematic diagrams of modules of an electronic device provided by an embodiment of the present invention.
- FIG. 8 is a second schematic diagram of modules of an electronic device provided by an embodiment of the present invention.
- Fig. 9 is a structural block diagram of an electronic device provided by an embodiment of the present invention.
- FIG. 1 it is a schematic flowchart of an editing method provided by an embodiment of the present invention. The following describes the implementation process of the method in detail with reference to the figure.
- the editing method may include the following steps:
- Step 101 Receive a first input for the text content displayed in the target interface.
- the target interface may specifically be the current display interface.
- the above-mentioned first input is specifically a long-press input of the text content by the user.
- the aforementioned text content includes at least one of text, numbers, English letters, and punctuation marks.
- Step 102 In response to the first input, display a text selection area on the target interface, and increase the distance between the texts in the candidate area.
- the candidate area includes the text selection area, and/or is located in an extended area of a preset range of the text selection area.
- the preset range may be a range before and/or after the text selection area, and the range may be set by character length or distance length.
- the text selection area is a rectangle
- the extended area is specifically an area located 10 characters before and 10 characters after the text selection area.
- a text selection area is displayed in the target interface, and editing marks, such as a cursor, are displayed on both sides of the text selection area, and the size of the text selection area can be adjusted by the cursor. That is, the user selects the text content to be edited (copied) by sliding the edit mark.
- the distance between the texts in the candidate area is automatically increased, thereby facilitating the user to select the text.
- the display interval of the characters in the candidate region text can be increased in units of phrases. In other words, the display interval between two adjacent phrases in the text increases.
- the characters in the text "Leaves with very high water flow, like a group of dancing girls in Tingting" and "In the middle, scattered with some white flowers” are added to the display interval in units of phrases, so that the user can edit the logo ( Cursor) for positioning selection.
- Step 103 Receive a second input for the target text in the text selection area.
- the second input may specifically be a sliding input of the user to the target text, that is, the user determines the target display position of the target text in the target interface by dragging the target text.
- the second input may also be a user's pressing input on the target text, that is, the user determines the target display interface by pressing the target text, and then determines the target display position of the target text in the target display interface.
- the target text is the text located in the text selection area.
- Step 104 In response to the second input, determine a target display position of the target text, and display the target text at the target display position.
- the target display position may be the display position in the target interface or the display position in the target display interface.
- the target display position of the target text can be determined through the second input, and the operation is simple.
- the editing method of the embodiment of the present invention increases the distance between the text in the candidate area, so that the user can easily select the text to be edited, and through the second input of the target text in the text selection box,
- the target text is displayed on the target display position conveniently and quickly, which simplifies the text editing process and improves the efficiency of text editing.
- the method further includes:
- the third input mentioned above is specifically the user's sliding input to the edit marks on both sides of the text selection area.
- the user adjusts the size of the text selection area by sliding the edit marks, and then determines the size of the text selection area according to the adjusted text selection area.
- the target text to be edited is edited.
- the distance between the texts in the candidate area is automatically increased, which is convenient for the user to select text.
- the second input is a sliding input of the target text by the user in the target interface
- the determining the target display position of the target text in response to the second input includes:
- the sliding end position of the second input in the target interface is determined as the target display position of the target text.
- the user determines the target display position by dragging the target text, and after the second input is completed, it is prompted that the target text has been copied.
- a selection menu can also be displayed, through which the user can choose whether to automatically paste the target text. After the user selects the automatic paste target text, the target text is automatically pasted at the target display position.
- the second input is a pressing input of the target text, for example, a long pressing input.
- the determining the target display position of the target text in response to the second input includes:
- the sliding end position of the fourth input in the target display interface is determined as the target display position of the target text.
- the user wants to paste the target text to another interface other than the target interface, that is, the target display interface.
- the target display interface does not require the user to switch pages manually, and the operation is simple.
- After determining the target display interface update the current display interface to the target display interface. For example, make the current display interface transparent. After the current display interface is fully transparent, the target display interface is displayed, and the target text is displayed in the target display interface. , The user drags the target text through the fourth input to move in the target display interface to determine the target display position of the target text in the target display interface.
- the determining the target display interface according to the target editable interface set in response to the second input includes:
- the currently displayed editable interface is determined as the target display interface
- the preset condition is that the end of the second input is detected within the first preset display duration of the currently displayed editable interface; or, within the first preset display duration of the currently displayed editable interface , The end of the second input is detected, and the fifth input for the target text is received.
- the foregoing preset sequence may be in a descending order of the difference between the opening time and the opening time of the target interface.
- the above-mentioned fifth input may specifically be a sliding input.
- the long-press input for the target text is received, and in response to the long-press input, start to switch the editable interface in the recent application list (target editable interface) in the unit of page (Activity), and make it transparent first
- the target interface shows the page with input function closest to the current page (each application in the system has a task stack, and each task is composed of several pages (Activity)).
- the application in the current electronic device is shown in Figure 5
- the switching sequence is A1->A3->B5->C4.
- A1, A3, B5, and C4 in Figure 5 all represent pages with editing functions.
- A1 is determined as the target display interface. Otherwise, continue to make A1 transparent and display A3, and so on.
- the method further includes:
- the target application list page is displayed, and the target display interface is determined according to the target application list page, and the target application list The page is the upper level application interface of the editable interface in the target editable interface set.
- the target application list page is displayed for the user to determine the target display interface.
- the target application list page can be displayed according to the open time of the editable interface corresponding to the target application list page. For example, the target application list page corresponding to the editable interface with the smallest difference between the open time and the target interface open time is displayed first.
- the editable interface in the above set of target editable interfaces can be specifically the communication chat interface between the user of the electronic device and the contact, and the target application list page can be specifically the contact list page corresponding to the communication chat interface, which can be used to facilitate the contact list page.
- the user quickly selects the target display interface.
- the above-mentioned editable interface can also be a specific note editing interface in the note application, for example, the name is synchronized note editing interface.
- the target application list page may specifically include multiple note names List of notes.
- the target application list page includes at least one editable interface identifier, for example, the editable interface identifier may specifically be a contact name or a note name;
- the determining the target display interface according to the target application list page includes:
- the target application list page if a sixth input for the target editable interface identifier in the target application list page is received, then in response to the sixth input, display the available Edit the editable interface corresponding to the edit interface identifier, and determine the editable interface corresponding to the editable interface identifier as the target display interface;
- the main interface of the electronic device is displayed, and according to The main interface determines a target display interface, and at least two application identifiers are displayed in the main interface.
- the aforementioned target editable interface identifier can be specifically any editable interface identifier on the target application list page.
- the aforementioned sixth input may specifically be a user's click input on the target contact in the target application list page, and within the second preset display time of the target application list page, if the user receives the input for the target application list page The click input of the target contact will display the editable interface corresponding to the target contact, and determine the editable interface corresponding to the target contact as the target display interface. If the sixth input is received within the second preset display duration of the target application list page corresponding to each editable interface, the main interface of the electronic device is displayed for the user to determine the target display interface according to the main interface .
- the determining the target display interface according to the main interface includes:
- the first application sub-interface is determined as the target display interface.
- the above main interface is specifically the desktop of the electronic device.
- the application sub-interface corresponding to the sticky note application is displayed.
- the application sub-interface set corresponding to the target application identifier is displayed in the form of thumbnails.
- the user selects the first application sub-interface that wants to copy text from the application sub-interface set. For the interface, if the first application sub-interface is selected from the set of application sub-interfaces by tapping input, the electronic device determines the first application sub-interface as the target display interface.
- the method further includes:
- the target interface is an editable interface
- the edit menu includes a cut option
- the ninth input can be a click input.
- the edit menu also includes a copy option.
- the target interface is an editable interface
- the edit menu is displayed for the user to choose whether to copy or cut.
- the cut option When the user selects the cut option, The target text is directly deleted from the target interface, and when the user selects the copy option, the above target text is retained in the target interface.
- the target interface is a non-editing interface
- the target text is directly copied to the target display position.
- the editing method of the embodiment of the present invention can help the user to quickly locate the text to be edited, simplifies the text editing process, and improves the efficiency of text editing.
- an embodiment of the present invention also provides an electronic device 700, including:
- the first receiving module 701 is configured to receive the first input for the text content displayed in the target interface
- the first response module 702 is configured to display a text selection area on the target interface in response to the first input, and increase the distance between the texts in the candidate area;
- the second receiving module 703 is configured to receive a second input for the target text in the text selection area
- the second response module 704 is configured to determine a target display position of the target text in response to the second input, and display the target text at the target display position;
- the candidate area includes the text selection area, and/or is located in an extended area of a preset range of the text selection area.
- the electronic device of the embodiment of the present invention further includes:
- the third receiving module 705 is configured to receive a third input for the text selection area
- the third response module 706 is configured to adjust the size of the text selection area in response to the third input, and increase the distance between the texts in the candidate area according to the adjusted text selection area ;
- the determining module 707 is configured to determine the text content in the adjusted text selection area as the target text.
- the second input is a sliding input of the target text by the user in the target interface
- the second response module 704 is configured to determine the sliding end position of the second input in the target interface as the target display position of the target text.
- the second input is a user's pressing input on the target text
- the second response module 704 includes:
- the first determination sub-module 7041 is configured to determine a target display interface according to the target editable interface set in response to the second input, the target editable interface set including the editable that the user has opened in the first preset time period interface;
- the first receiving submodule 7042 is configured to receive the fourth input of sliding the text selection area in the target display interface
- the second determining sub-module 7043 is configured to determine the sliding end position of the fourth input in the target display interface as the target display position of the target text.
- the first determining submodule 7041 includes:
- the response unit 70411 is configured to respond to the second input and start to display the editable interface in the target editable interface set in a preset order;
- the first determining unit 70412 is configured to determine the currently displayed editable interface as the target display interface if a preset condition is met during the display of the editable interface;
- the preset condition is that the end of the second input is detected within the first preset display duration of the currently displayed editable interface; or, within the first preset display duration of the currently displayed editable interface , The end of the second input is detected, and the fifth input for the target text is received.
- the first determining submodule 7041 further includes:
- the second determination unit 70413 is configured to respond to the second input and start displaying the editable interfaces in the target editable interface set according to a preset sequence, and then display the editable interfaces in the target editable interface set. After the editing interface is displayed, if the second input is not completed, the target application list page is displayed, and the target display interface is determined according to the target application list page.
- the target application list page is the set of target editable interfaces available The upper-level application interface of the editing interface.
- the target application list page includes at least one editable interface identifier
- the second determining unit 70413 includes:
- the first response subunit 704131 is configured to respond to the second preset display duration of the target application list page if the sixth input for the target editable interface identifier in the target application list page is received.
- the sixth input is to display the editable interface corresponding to the editable interface identifier, and determine the editable interface corresponding to the editable interface identifier as the target display interface;
- the second response subunit 704132 is configured to display if the user's sixth input to the target editable interface identification in the target application list page is not received within the second preset display duration of the target application list page.
- the main interface of the electronic device determines a target display interface according to the main interface, and at least two application identifiers are displayed on the main interface.
- the second response subunit 704132 includes:
- the first receiving subunit 7041321 is configured to receive the seventh input of dragging the target text onto the target application identifier
- the display subunit 7041322 is configured to display a set of application sub-interfaces corresponding to the target application identifier in response to the seventh input;
- the second receiving subunit 7041323 is configured to receive the eighth input for the first application sub-interface in the set of application sub-interfaces;
- the determining sub-unit 7041324 is configured to determine the first application sub-interface as a target display interface in response to the eighth input.
- the display module 708 is configured to display an edit menu when the target interface is an editable interface after the second response module determines the target display position of the target text in response to the second input, the edit menu Including cutting options;
- the fourth receiving module 709 is configured to receive the ninth input for the cut option
- the fourth response module 710 is configured to delete the target text in the target interface in response to the ninth input.
- the electronic device of the embodiment of the present invention increases the distance between the text in the candidate area, so that the user can easily select the text to be edited, and through the second input of the target text in the text selection box,
- the target text is displayed on the target display position conveniently and quickly, which simplifies the text editing process and improves the efficiency of text editing.
- the electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, and a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911 and other components.
- a radio frequency unit 901 for example, a radio frequency unit
- the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the processor 910 is configured to receive a first input for the text content displayed in the target interface through the user input unit 907; in response to the first input, display a text selection area on the target interface, and select the candidate area The distance between the text of the target text is increased; the second input for the target text in the text selection area is received through the user input unit 907; in response to the second input, the target display position of the target text is determined, and the target text is displayed in the The target display position displays the target text; wherein the candidate area includes the text selection area, and/or is located in an extended area of a preset range of the text selection area.
- the processor can implement each process of the above-mentioned editing method embodiment, and can achieve the same technical effect. In order to avoid repetition, details are not repeated here.
- the above technical solution of the embodiment of the present invention increases the distance between the text in the candidate area, so that the user can easily select the text to be edited, and through the second input of the target text in the text selection box,
- the target text can be displayed in the target display position conveniently and quickly, which simplifies the text editing process and improves the efficiency of text editing.
- the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station.
- the radio frequency unit 901 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 901 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 904 is used to receive audio or video signals.
- the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042.
- the graphics processor 9041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame may be displayed on the display unit 906.
- the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902.
- the microphone 9042 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 901 for output in the case of a telephone call mode.
- the electronic device 900 further includes at least one sensor 905, 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 9061 according to the brightness of the ambient light.
- the proximity sensor can turn off the display panel 9061 and the display panel 9061 when the electronic device 900 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 posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
- the display unit 906 is used to display information input by the user or information provided to the user.
- the display unit 906 may include a display panel 9061, and the display panel 9061 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 907 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 907 includes a touch panel 9071 and other input devices 9072.
- the touch panel 9071 also known as the touch screen, can collect the user's 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 9071 or near the touch panel 9071. operating).
- the touch panel 9071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed.
- the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 907 may also include other input devices 9072.
- other input devices 9072 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 9071 can cover the display panel 9061.
- the touch panel 9071 detects a touch operation on or near it, it is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 9061.
- the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 908 is an interface for connecting an external device and the electronic device 900.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
- the memory 909 can be used to store software programs and various data.
- the memory 909 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 909 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 910 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 909, and calls data stored in the memory 909 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
- the electronic device 900 may also include a power supply 911 (such as a battery) for supplying power to various components.
- a power supply 911 (such as a battery) for supplying power to various components.
- the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the electronic device 900 includes some functional modules that are not shown, which will not be repeated here.
- an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a program stored in the memory and running on the processor.
- the program is executed by the processor, the above-mentioned editing method embodiment is implemented.
- Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
- the embodiment of the present invention also provides a readable storage medium with a program stored on the readable storage medium.
- the program When the program is executed by a processor, each process of the above-mentioned editing method embodiment is realized, and the same technical effect can be achieved. To avoid repetition , I won’t repeat it here.
- the readable storage medium may include a computer readable storage medium, such as a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
- the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform, or by hardware, but in many cases the former is better.
- Implementation mode the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes 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 invention.
- a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Abstract
Description
Claims (18)
- 一种编辑方法,应用于电子设备,其特征在于,包括:接收针对目标界面中显示的文本内容的第一输入;响应于所述第一输入,在所述目标界面显示文本选择区域,并将候选区域中的文本之间的距离增大;接收针对所述文本选择区域中目标文本的第二输入;响应于所述第二输入,确定所述目标文本的目标显示位置,并在所述目标显示位置显示所述目标文本;其中,所述候选区域包括所述文本选择区域,和/或,位于所述文本选择区域预设范围的扩展区域。
- 根据权利要求1所述的编辑方法,其特征在于,在所述接收对所述文本选择区域中目标文本的第二输入之前,还包括:接收针对所述文本选择区域的第三输入;响应于所述第三输入,对所述文本选择区域的大小进行调整,并根据调整后的文本选择区域,将所述候选区域中的文本之间的距离增大;将位于调整后的文本选择区域中的文本内容确定为目标文本。
- 根据权利要求1所述的编辑方法,其特征在于,所述第二输入为用户在所述目标界面中对所述目标文本的滑动输入;所述响应于所述第二输入,确定所述目标文本的目标显示位置,包括:将所述第二输入在目标界面中的滑动结束位置,确定为所述目标文本的目标显示位置。
- 根据权利要求1所述的编辑方法,其特征在于,所述第二输入为对所述目标文本的按压输入;所述响应于所述第二输入,确定所述目标文本的目标显示位置,包括:响应于所述第二输入,根据目标可编辑界面集合,确定目标显示界面,所述目标可编辑界面集合包括第一预设时间段内用户开启过的可编辑界面;接收在所述目标显示界面中滑动所述文本选择区域的第四输入;将所述第四输入在所述目标显示界面中的滑动结束位置,确定为所述目 标文本的目标显示位置。
- 根据权利要求4所述的编辑方法,其特征在于,所述响应于所述第二输入,根据目标可编辑界面集合,确定目标显示界面,包括:响应于所述第二输入,按照预设顺序,开始显示所述目标可编辑界面集合中的可编辑界面;在所述可编辑界面的显示过程中,若满足预设条件,则将当前显示的可编辑界面确定为目标显示界面;其中,所述预设条件为在当前显示的可编辑界面的第一预设显示时长内,检测到所述第二输入结束;或者,在当前显示的可编辑界面的第一预设显示时长内,检测到所述第二输入结束,且接收到针对目标文本的第五输入。
- 根据权利要求5所述的编辑方法,其特征在于,响应于所述第二输入,按照预设顺序,开始显示所述目标可编辑界面集合中的可编辑界面之后,还包括:在所述目标可编辑界面集合中的可编辑界面显示完成之后,若所述第二输入未结束,则显示目标应用列表页,并根据目标应用列表页,确定目标显示界面,所述目标应用列表页为所述目标可编辑界面集合中可编辑界面的上一级应用界面。
- 根据权利要求6所述的编辑方法,其特征在于,所述目标应用列表页为包括至少一个可编辑界面标识;所述根据目标应用列表页,确定目标显示界面,包括:在所述目标应用列表页的第二预设显示时长内,若接收到针对所述目标应用列表页中目标可编辑界面标识的第六输入,则响应于所述第六输入,显示所述可编辑界面标识对应的可编辑界面,并将所述可编辑界面标识对应的可编辑界面确定为所述目标显示界面;在所述目标应用列表页的第二预设显示时长内,若未接收到针对所述目标应用列表页中目标可编辑界面标识的第六输入,则显示所述电子设备的主界面,并根据所述主界面,确定目标显示界面,所述主界面中显示有至少两个应用标识。
- 根据权利要求7所述的编辑方法,其特征在于,所述根据所述主界面, 确定目标显示界面,包括:接收将目标文本拖动至目标应用标识上的第七输入;响应于所述第七输入,显示所述目标应用标识对应的应用子界面集合;接收针对所述应用子界面集合中第一应用子界面的第八输入;响应于所述第八输入,将所述第一应用子界面确定为目标显示界面。
- 一种电子设备,其特征在于,包括:第一接收模块,用于接收针对目标界面中显示的文本内容的第一输入;第一响应模块,用于响应于所述第一输入,在所述目标界面显示文本选择区域,并将候选区域中的文本之间的距离增大;第二接收模块,用于接收针对所述文本选择区域中目标文本的第二输入;第二响应模块,用于响应于所述第二输入,确定所述目标文本的目标显示位置,并在所述目标显示位置显示所述目标文本;其中,所述候选区域包括所述文本选择区域,和/或,位于所述文本选择区域预设范围的扩展区域。
- 根据权利要求9所述的电子设备,其特征在于,还包括:第三接收模块,用于接收针对所述文本选择区域的第三输入;第三响应模块,用于响应于所述第三输入,对所述文本选择区域的大小进行调整,并根据调整后的文本选择区域,将所述候选区域中的文本之间的距离增大;确定模块,用于将位于调整后的文本选择区域中的文本内容确定为目标文本。
- 根据权利要求9所述的电子设备,其特征在于,所述第二输入为用户在所述目标界面中对所述目标文本的滑动输入;所述第二响应模块用于将所述第二输入在目标界面中的滑动结束位置,确定为所述目标文本的目标显示位置。
- 根据权利要求9所述的电子设备,其特征在于,所述第二输入为用户对所述目标文本的按压输入;所述第二响应模块包括:第一确定子模块,用于响应于所述第二输入,根据目标可编辑界面集合, 确定目标显示界面,所述目标可编辑界面集合包括第一预设时间段内用户开启过的可编辑界面;第一接收子模块,用于接收在所述目标显示界面中滑动所述文本选择区域的第四输入;第二确定子模块,用于将所述第四输入在所述目标显示界面中的滑动结束位置,确定为所述目标文本的目标显示位置。
- 根据权利要求12所述的电子设备,其特征在于,所述第一确定子模块包括:响应单元,用于响应于所述第二输入,按照预设顺序,开始显示所述目标可编辑界面集合中的可编辑界面;第一确定单元,用于在所述可编辑界面的显示过程中,若满足预设条件,则将当前显示的可编辑界面确定为目标显示界面;其中,所述预设条件为在当前显示的可编辑界面的第一预设显示时长内,检测到所述第二输入结束;或者,在当前显示的可编辑界面的第一预设显示时长内,检测到所述第二输入结束,且接收到针对目标文本的第五输入。
- 根据权利要求13所述的电子设备,其特征在于,所述第一确定子模块还包括:第二确定单元,用于响应单元响应于所述第二输入,按照预设顺序,开始显示所述目标可编辑界面集合中的可编辑界面之后,在所述目标可编辑界面集合中的可编辑界面显示完成之后,若所述第二输入未结束,则显示目标应用列表页,并根据目标应用列表页,确定目标显示界面,所述目标应用列表页为所述目标可编辑界面集合中可编辑界面的上一级应用界面。
- 根据权利要求14所述的电子设备,其特征在于,所述目标应用列表页为包括至少一个可编辑界面标识;所述第二确定单元包括:第一响应子单元,用于在所述目标应用列表页的第二预设显示时长内,若接收到针对所述目标应用列表页中目标可编辑界面标识的第六输入,则响应于所述第六输入,显示所述可编辑界面标识对应的可编辑界面,并将所述可编辑界面标识对应的可编辑界面确定为所述目标显示界面;第二响应子单元,用于在所述目标应用列表页的第二预设显示时长内,若未接收到用户对所述目标应用列表页中目标可编辑界面标识的第六输入,则显示所述电子设备的主界面,并根据所述主界面,确定目标显示界面,所述主界面中显示有至少两个应用标识。
- 根据权利要求15所述的电子设备,其特征在于,所述第二响应子单元包括:第一接收子单元,用于接收将目标文本拖动至目标应用标识上的第七输入;显示子单元,用于响应于所述第七输入,显示所述目标应用标识对应的应用子界面集合;第二接收子单元,用于接收针对所述应用子界面集合中第一应用子界面的第八输入;确定子单元,用于响应于所述第八输入,将所述第一应用子界面确定为目标显示界面。
- 一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至8中任一项所述编辑方法的步骤。
- 一种可读存储介质,其特征在于,所述可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求1至8中任一项所述编辑方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911181100.8A CN110909524B (zh) | 2019-11-27 | 2019-11-27 | 一种编辑方法及电子设备 |
CN201911181100.8 | 2019-11-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021104160A1 true WO2021104160A1 (zh) | 2021-06-03 |
Family
ID=69819871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/130319 WO2021104160A1 (zh) | 2019-11-27 | 2020-11-20 | 编辑方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110909524B (zh) |
WO (1) | WO2021104160A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110909524B (zh) * | 2019-11-27 | 2023-12-26 | 维沃移动通信有限公司 | 一种编辑方法及电子设备 |
CN111488104B (zh) * | 2020-04-16 | 2021-10-12 | 维沃移动通信有限公司 | 一种字形编辑方法及电子设备 |
CN112765942A (zh) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | 文本处理方法、装置、电子设备及可读存储介质 |
CN114063841A (zh) * | 2021-11-10 | 2022-02-18 | 维沃移动通信有限公司 | 文本选择方法、文本选择装置和电子设备 |
CN114690997B (zh) * | 2022-04-15 | 2023-07-25 | 北京百度网讯科技有限公司 | 文本显示方法及装置、设备、介质和产品 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937864A (zh) * | 2012-10-31 | 2013-02-20 | 百度在线网络技术(北京)有限公司 | 一种用于在触摸终端上确定所选文本的方法与设备 |
KR20140127080A (ko) * | 2013-04-24 | 2014-11-03 | 엘지전자 주식회사 | 영상표시장치 및 이의 제어방법 |
CN106896981A (zh) * | 2017-02-07 | 2017-06-27 | 惠州Tcl移动通信有限公司 | 一种复制实现方法及实现系统 |
CN110909524A (zh) * | 2019-11-27 | 2020-03-24 | 维沃移动通信有限公司 | 一种编辑方法及电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055227A (zh) * | 2016-05-20 | 2016-10-26 | 维沃移动通信有限公司 | 文本编辑的方法及移动设备 |
CN106648371A (zh) * | 2016-12-29 | 2017-05-10 | 北京小米移动软件有限公司 | 基于文本文件的文本移动方法及装置 |
CN108182267A (zh) * | 2018-01-15 | 2018-06-19 | 维沃移动通信有限公司 | 一种文件分享方法及移动终端 |
CN110471609B (zh) * | 2019-08-15 | 2023-02-07 | Oppo广东移动通信有限公司 | 文本信息编辑方法、装置、计算机设备和存储介质 |
-
2019
- 2019-11-27 CN CN201911181100.8A patent/CN110909524B/zh active Active
-
2020
- 2020-11-20 WO PCT/CN2020/130319 patent/WO2021104160A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937864A (zh) * | 2012-10-31 | 2013-02-20 | 百度在线网络技术(北京)有限公司 | 一种用于在触摸终端上确定所选文本的方法与设备 |
KR20140127080A (ko) * | 2013-04-24 | 2014-11-03 | 엘지전자 주식회사 | 영상표시장치 및 이의 제어방법 |
CN106896981A (zh) * | 2017-02-07 | 2017-06-27 | 惠州Tcl移动通信有限公司 | 一种复制实现方法及实现系统 |
CN110909524A (zh) * | 2019-11-27 | 2020-03-24 | 维沃移动通信有限公司 | 一种编辑方法及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110909524B (zh) | 2023-12-26 |
CN110909524A (zh) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021104160A1 (zh) | 编辑方法及电子设备 | |
WO2019228294A1 (zh) | 对象分享方法及移动终端 | |
WO2020156111A1 (zh) | 界面显示方法及终端 | |
WO2019120191A1 (zh) | 多段文本复制方法及移动终端 | |
WO2020238938A1 (zh) | 信息输入方法及移动终端 | |
WO2021012931A1 (zh) | 图标管理方法及终端 | |
WO2021147779A1 (zh) | 配置信息分享方法、终端设备及计算机可读存储介质 | |
WO2021077897A1 (zh) | 文件发送方法、装置和电子设备 | |
US11340777B2 (en) | Method for editing text and mobile terminal | |
WO2021004426A1 (zh) | 内容选择方法及终端 | |
WO2021136159A1 (zh) | 截屏方法及电子设备 | |
WO2020259024A1 (zh) | 图标分类方法、移动终端及计算机可读存储介质 | |
WO2020156118A1 (zh) | 管理方法及终端设备 | |
WO2019196691A1 (zh) | 一种键盘界面显示方法和移动终端 | |
WO2020182035A1 (zh) | 图像处理方法及终端设备 | |
WO2020151513A1 (zh) | 信息处理方法及终端设备 | |
WO2021129529A1 (zh) | 设备切换方法及相关设备 | |
WO2021036553A1 (zh) | 图标显示方法及电子设备 | |
WO2020199988A1 (zh) | 内容复制方法及终端 | |
WO2021077908A1 (zh) | 参数调节方法和电子设备 | |
WO2021238719A1 (zh) | 信息显示方法及电子设备 | |
WO2020215969A1 (zh) | 内容输入方法及终端设备 | |
WO2021057301A1 (zh) | 文件控制方法及电子设备 | |
WO2021169954A1 (zh) | 搜索方法及电子设备 | |
WO2020020213A1 (zh) | 信息输入方法及终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20891979 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: 20891979 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 220223) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20891979 Country of ref document: EP Kind code of ref document: A1 |