Character selection control method and apparatus, electronic device, and readable storage medium

By receiving user input in character selection control method and device and updating the selection range of character selection areas, the problem of poor character selection flexibility in the prior art is solved, convenient selection of multiple lines or discontinuous characters is realized, and copying is improved efficiency.

WO2024239996A1PCT designated stage expired Publication Date: 2024-11-28VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/092764
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-19
Filing Date
2024-05-13
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

The prior art has poor selection flexibility when copying multiple lines or discontinuous characters, resulting in a cumbersome and time-consuming copying process, which cannot meet the actual needs of users.

Method used

Provide a character selection control method and device, by receiving user input, displaying character selection areas, and updating the selection range according to the position of the character selection control, allowing users to easily adjust the character selection areas, and realize flexibility for multiple lines or discontinuous characters. choose.

Benefits of technology

Improves the efficiency and flexibility of character selection, and users can quickly obtain characters that meet their needs, simplifying the copying process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024092764_28112024_PF_FP_ABST
    Figure CN2024092764_28112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of information processing, and discloses a character selection control method and apparatus, an electronic device, and a readable storage medium. The character selection control method comprises: receiving a first input; in response to the first input, displaying a character selection area, the character selection area being used for selecting at least one character; receiving a second input for adjusting a display position of a character selection control in the character selection area; and in response to the second input, updating a character selection range of the character selection area.
Need to check novelty before this filing date? Find Prior Art

Description

Character selection control method, device, electronic device and readable storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 19, 2023, with application number 202310568297.0 and titled “Character selection control method, device, electronic device and readable storage medium,” the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of information processing, and specifically relates to a character selection control method, device, electronic device, and readable storage medium. Background Art

[0003] Currently, when a user browses information using an electronic device, characters need to be selected in some scenarios. For example, when a user needs to copy or share characters on a page, the user needs to select the characters first.

[0004] In the related art, when a user needs to copy a segment of characters, they must first select the segment and then copy the selected segment. If the selected segment includes characters that the user does not want to select, the copied characters will include the unwanted characters. This results in poor flexibility in character selection, and the copied characters may not meet the user's actual needs.

[0005] Summary of the Invention

[0006] The purpose of the embodiments of the present application is to provide a character selection control method, device, electronic device and readable storage medium, which can conveniently and flexibly select the required characters from multiple lines of characters, thereby improving the efficiency of character selection.

[0007] In a first aspect, an embodiment of the present application provides a character selection control method, the method comprising: receiving a first input; displaying a character selection area in response to the first input, wherein the character selection area is used to select at least one character; receiving a second input for adjusting the display position of a character selection control in the character selection area; and updating a character selection range of the character selection area in response to the second input.

[0008] In a second aspect, an embodiment of the present application provides a character selection control device, which includes: a receiving module, a display module and a processing module, wherein: the above-mentioned receiving module is used to receive a first input; the above-mentioned display module is used to display a character selection area in response to the first input received by the receiving module; the above-mentioned receiving module is also used to adjust the second input of the character selection control in the character selection area; the above-mentioned processing module is used to update the character selection range of the character selection area in response to the second input received by the above-mentioned receiving module.

[0009] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0010] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0011] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0012] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0013] In an embodiment of the present application, the character selection control device receives a first input and displays a character selection area, which is used to select at least one character; receives a second input for the display position of the character selection control in the above-mentioned character selection area, and updates the character selection range of the above-mentioned character selection area. Through this method, when a user needs to select specific character content in the character area, the user can first trigger the display of the character selection area for selecting the character, and then trigger the character selection control device to update the character selection range of the above-mentioned character selection area by moving the character selection control in the character selection area, so that the user can adjust the character selected in the character selection area conveniently and flexibly according to the actual character selection needs. In this way, the required characters can be selected from multiple lines of characters conveniently and flexibly, and the characters that meet the user's needs can be quickly obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG1 is a schematic diagram of a method flow of a character selection control method provided by an embodiment of the present application;

[0015] FIG2(A) is a schematic diagram of an example interface used by the character selection control method provided in an embodiment of the present application;

[0016] FIG2(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0017] FIG3 is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0018] FIG4(A) is a schematic diagram of another example interface used in the character selection control method provided in an embodiment of the present application;

[0019] FIG4(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0020] FIG4(C) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0021] FIG4(D) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0022] FIG5(A) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0023] FIG5(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0024] FIG5(C) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0025] FIG6(A) is a schematic diagram of another example interface used in the character selection control method provided in an embodiment of the present application;

[0026] FIG6(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0027] FIG6(C) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0028] FIG6(D) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0029] FIG7 is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0030] FIG8(A) is a schematic diagram of another example interface used in the character selection control method provided in an embodiment of the present application;

[0031] FIG8(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0032] FIG8(C) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0033] FIG8(D) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0034] FIG9(A) is a schematic diagram of another example interface used in the character selection control method provided in an embodiment of the present application;

[0035] FIG9(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0036] FIG9(C) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0037] FIG10(A) is a schematic diagram of another example interface used in the character selection control method provided in an embodiment of the present application;

[0038] FIG10(B) is a schematic diagram of another example interface used by the character selection control method provided in an embodiment of the present application;

[0039] FIG11 is a schematic structural diagram of a character selection control device provided in an embodiment of the present application;

[0040] FIG12 is a schematic diagram of the hardware structure of a character selection control device provided in an embodiment of the present application;

[0041] FIG13 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. Specific embodiments

[0042] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0043] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0044] The character selection control method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0045] The character selection control method provided in the embodiment of the present application can be applied to the scenario of selecting specific and continuous characters for copying.

[0046] In the related art, when a user browses a web page, if the user needs to copy a section of comment-type characters in the web page, and the starting characters of each line of characters in this section of comment-type characters include a "*", if the user needs to select characters other than the "*", then the user needs to select and copy this section of comment-type characters line by line, and exclude the "*" in each line of characters when selecting each line of characters, or the user selects the entire section of characters at one time, and then pastes the entire section of characters into a character document, and deletes the "*" in the pasted characters, and finally selects and copies the characters after deleting the "*". In this way, when there are a large number of lines of characters to be copied, the user needs to perform selection and copy operations multiple times, which makes the entire operation process cumbersome and time-consuming.

[0047] The character selection control method provided by the embodiment of the present application is that if a user needs to copy a section of comment-type characters in a web page, then after selecting the entire section of characters, the user can trigger the update of the character selection range of the character selection area by moving the character selection control in the character selection area, that is, adjusting the range of the characters selected in the character selection area. For example, the user can move the character selection control in the lower left corner of the character selection area to trigger the electronic device to adjust the starting position of the character selection area to the left position of the character after the "*" in each line of characters, that is, narrowing the character selection range of the character selection area, and realizing one-time selection of other characters except the "*" in each line of characters. In this way, the user can adjust the character selection range of the character selection area by moving the character selection control, thereby conveniently selecting the characters to be selected from multiple lines of characters, thereby improving operational efficiency.

[0048] The character selection control method provided in the embodiment of the present application can also be applied to the scenario of selecting specific and discontinuous characters for copying.

[0049] In the related art, when a user browses a web page, if the user needs to copy multiple discontinuous characters in a section of characters in the web page, the user needs to select each part of the characters, and each time a selection is made, a copy operation of the selected characters is performed. This results in a cumbersome and time-consuming operation of the entire operation process. In the character selection control method provided by the embodiment of the present application, if the user needs to copy multiple discontinuous characters in a section of characters in the web page, the user can first select the section of characters and drag the character selection control above the character selection area to the position of the characters that do not need to be selected, triggering the electronic device to display a sub-character selection control on the left and right sides of the character closest to the position, respectively. The user can then drag the sub-character selection control so that the two sub-character selection controls are located on both sides of the character content that does not need to be selected, thereby canceling the selection of the unwanted character content and selecting the discontinuous characters. In this way, the user can conveniently cancel the selection of the characters that do not need to be selected in a section of characters by moving the character selection control to the position corresponding to the characters that do not need to be selected, thereby quickly selecting discontinuous characters, thereby greatly improving operational efficiency.

[0050] FIG1 is a schematic diagram of a method flow of a character selection control method provided by an embodiment of the present application. As shown in FIG1 , the character selection control method provided by an embodiment of the present application may include the following steps S201 to S204:

[0051] Step S201: Receive a first input.

[0052] Optionally, in the embodiment of the present application, the first input may be an input of a first character.

[0053] Optionally, in an embodiment of the present application, the above-mentioned first character can be a character in a character display interface, for example, the first character can be a character in a character document interface or a character in a notepad interface or a sticky note interface; or, the above-mentioned first character can also be a character in other pages such as a web page or a command window.

[0054] Optionally, in the embodiment of the present application, the first character can be a sentence or a combination of multiple sentences. Optionally, the first character can be a sentence, a paragraph or a chapter. The first character can also be in other forms, which is not limited in the embodiment of the present application.

[0055] Optionally, in the embodiment of the present application, the first character may include Chinese characters, numbers, letters, punctuation marks, underscores, etc. It should be noted that the first character may also include other types of characters such as spaces, which is not limited in the embodiment of the present application.

[0056] Optionally, in an embodiment of the present application, the above-mentioned first input may include any one of the following: user touch input, voice input, gesture input, or other feasible inputs such as key input, which is not limited in the embodiment of the present application.

[0057] Furthermore, the touch input may be: a user's click input, a slide input, a press input, etc. Furthermore, the click operation may be any number of click operations. The slide operation may be a slide operation in any direction, such as an upward slide, a downward slide, a left slide, or a right slide, etc., which is not limited in the embodiments of the present application.

[0058] For example, the first input may be a user long-pressing or sliding input on a character on the page, or the first input may be an input by dragging a selection control from a menu bar to the area where the character is located. For example, the selection control may be a rectangular box or a circular box.

[0059] Step S202: In response to the first input, a character selection area is displayed.

[0060] The character selection area is used to select at least one character.

[0061] Optionally, in the embodiment of the present application, the character selection control device may determine the character selection area selected by the first input according to the input parameters of the first input.

[0062] Optionally, in an embodiment of the present application, the above-mentioned input parameters may include an input trajectory; or, the above-mentioned input parameters may include an input starting position and an input ending position; or, in the case where the above-mentioned first input is a touch input, the above-mentioned input parameters may include touch duration or touch strength.

[0063] Optionally, in an embodiment of the present application, the at least one character may be a character.

[0064] Optionally, in an embodiment of the present application, the characters in the above-mentioned character selection area are in a selected or selected state, that is, the characters in the above-mentioned character selection area include characters selected by the user.

[0065] Optionally, in an embodiment of the present application, the character selection area may be a polygonal area.

[0066] Exemplarily, the character selection area may be a square area, a circular area, or an irregular polygonal area, which is not limited in the embodiment of the present application.

[0067] Optionally, in an embodiment of the present application, the above-mentioned character selection area can be selected by a solid line or a dotted line, or displayed with a preset transparency, or a floating layer can be superimposed on the character selection area.

[0068] It should be noted that by framing the character selection area or superimposing a floating layer display, the user can intuitively distinguish between selected characters and unselected characters.

[0069] Optionally, in an embodiment of the present application, the character selection control device may display at least one character selection control in the above-mentioned character selection area.

[0070] Optionally, the display position of the character selection control may be inside or at a boundary of the character selection area. Optionally, the boundary of the area may be a vertex of the area.

[0071] Optionally, in the embodiment of the present application, the character selection control may be a circular control, a square control, or a polygonal control. The character selection control may be solid or hollow, which is not limited in the embodiment of the present application.

[0072] Exemplarily, the character selection control may be a control point.

[0073] Optionally, in an embodiment of the present application, the character selection control device may display the at least one character selection control at a region boundary or a region vertex of the character selection region.

[0074] Exemplarily, when the character selection area is a rectangular area, the character selection control device can display a character selection control at a vertex of the rectangular area; or, the character selection control device can display a character selection control at the midpoint of the left boundary, right boundary, upper boundary and lower boundary or other positions of the rectangular area.

[0075] In some embodiments of the present application, the at least one character selection control may include: the first character selection control, the second character selection control, the third character selection control, and the fourth character selection control.

[0076] Optionally, the first character selection control can be used to adjust the number of character rows selected in the character selection area and the starting character of at least one selected row of characters; the second character selection control can be used to adjust the number of character rows selected in the character selection area and the ending character of at least one selected row of characters; the third character selection control can be used to adjust the ending character of the last row of characters selected in the character selection area; the fourth character selection control can be used to adjust the starting character of the first row of characters selected in the character selection area.

[0077] Figure 2(A) is an example schematic diagram of an interface applied to the character selection control method provided in an embodiment of the present application. As shown in Figure 2(A), taking the first input as the user's touch input of characters in the document interface of the electronic device as an example, the interface 21 includes a section of character content. The user long presses the first character "*" in the third row of characters and slides right to the last character in the third row of characters. The electronic device determines the character selection area based on the input trajectory of the user's sliding input. The characters in the character selection area are selected, and a control point 24a is displayed at the vertex of the lower left corner of the character selection area, a control point 24b is displayed at the vertex of the upper right corner of the character selection area, a control point 24c is displayed at the vertex of the lower right corner of the character selection area, and a control point 24d is displayed at the vertex of the upper left corner of the character selection area.

[0078] As shown in Figure 2(A), the user can also drag the rectangular control in the menu bar to the character area where the second row of characters is located, and adjust the size of the rectangular control according to the characters selected. The electronic device determines the character area selected by the rectangular control as the character selection area based on the user operation.

[0079] It should be noted that the solid-line frame is used in the drawings of this application to represent the character selection area, and in practice it can also be represented by a dotted-line frame, or a floating layer can be superimposed on the character selection area to reflect the character selection area.

[0080] It should be noted that the above-mentioned control point 24a is the first character selection control in the embodiment of the present application, the above-mentioned control point 24b is the second character selection control in the embodiment of the present application, the above-mentioned control point 24c is the third character selection control in the embodiment of the present application, and the above-mentioned control point 24d is the fourth character selection control in the embodiment of the present application. For the sake of convenience of description, the above-mentioned first character selection control can be recorded as endRow, the second character selection control can be recorded as startRow, the third character selection control can be recorded as endCol, and the fourth character selection control can be recorded as startCol.

[0081] In some embodiments of the present application, the at least one character selection control may include: a fifth character selection control.

[0082] Optionally, in an embodiment of the present application, the fifth character selection control may be used to deselect at least some of the characters in the character selection area.

[0083] In some embodiments of the present application, the at least one character selection control may include: the first character selection control, the second character selection control, the third character selection control, the fourth character selection control, and the fifth character selection control.

[0084] For ease of understanding, the fifth character selection control may be referred to as a deselection control point, which may be represented by the letter S.

[0085] In combination with the above-mentioned Figure 2(A), as shown in Figure 2(B), the electronic device determines the character selection area based on the input trajectory of the user's sliding input, and displays a control point 24a at the vertex of the lower left corner of the character selection area, displays a control point 24b at the vertex of the upper right corner of the character selection area, displays a control point 24c at the vertex of the lower right corner of the character selection area, displays a control point 24d at the vertex of the upper left corner of the character selection area, and displays a control point 24e at the midpoint of the upper boundary of the character selection area.

[0086] It should be noted that the control point 24e is the fifth character selection control in the embodiment of the present application.

[0087] It should be noted that the above control points 24a, 24b, 24c and 24d are one type of control points, and 24e is another type of control point. In order to reflect the difference between the two, 24a, 24b, 24c, 24d and 24e are filled differently in the figure.

[0088] Step S203: receiving a second input for adjusting the display position of the character selection control in the character selection area.

[0089] Optionally, in an embodiment of the present application, the second input is used to trigger updating the display position of the character selection control.

[0090] Optionally, in an embodiment of the present application, the second input may include any one of the following: user touch input, voice input, gesture input, or other feasible inputs such as key input, which is not limited in the embodiment of the present application.

[0091] Furthermore, the touch input may be: a user's click input, a slide input, a press input, etc. Furthermore, the click operation may be any number of click operations. The slide operation may be a slide operation in any direction, such as an upward slide, a downward slide, a left slide, or a right slide, etc., which is not limited in the embodiments of the present application.

[0092] Exemplarily, the second input is a drag input of the character selection control.

[0093] Step S204: in response to the second input, updating the character selection range of the character selection area.

[0094] Optionally, in the embodiment of the present application, the character selection control device may adjust the character selection range of the character selection area based on the display position of the character selection control.

[0095] Exemplarily, the character selection control device may update the position of the region boundary of the character selection area and the characters selected in the character selection area, i.e., the character selection range of the character selection area, based on the updated display position of the character selection control. For example, the character selection control device may determine the target boundary position of the character selection area based on the updated position of the character selection control and adjust the current boundary position of the character selection area to the target boundary position.

[0096] Optionally, in an embodiment of the present application, the characters selected in the character selection area may be all characters in the character selection area; or, the characters selected in the character selection area may be some characters in the character selection area. For example, when some characters in the character selection area are deselected using the fifth character selection control, the characters selected in the character selection area may be the characters in the character selection area excluding the deselected characters.

[0097] It should be noted that, when some or all of the characters in the character selection area are not deselected, all the characters in the character selection area may be in a selected or selected state.

[0098] In combination with the above Figure 2(A), as shown in Figure 3, after the user drags the control point 24a in the lower left corner of the above-mentioned character selection area downward, the character selection control device selects the next two rows of characters of the selected row of characters according to the position to which the control point 24a is dragged. At the same time, the area boundary of the character selection area also extends downward by the width of two rows of characters.

[0099] The character selection control method provided by the embodiment of the present application is that the character selection control device receives a first input and displays a character selection area, and the character selection area is used to select at least one character; receives a second input for the display position of the character selection control in the above-mentioned character selection area, and updates the character selection range of the above-mentioned character selection area. Through this method, when the user needs to select specific character content in the character area, the user can first trigger the display of the character selection area for selecting the character, and then trigger the character selection control device to update the character selection range of the above-mentioned character selection area by moving the character selection control in the character selection area, so that the user can adjust the characters selected in the character selection area conveniently and flexibly according to the actual character selection needs. In this way, the characters required to be selected can be conveniently and flexibly selected from multiple lines of characters, and the characters that meet the user's needs can be quickly obtained.

[0100] Optionally, in an embodiment of the present application, when the character selection area includes N rows of characters and the character selection control is the first character selection control, the process of updating the character selection range of the character selection area in step S204 can be replaced by the following step S204a1:

[0101] Step S204a1: when the second input is an input for adjusting the display position of the first character selection control, the number of character rows selected in the character selection area is updated or the starting character of at least one row of characters selected in the character selection area is updated.

[0102] The at least one row of characters is the N rows of characters, or the at least one row of characters includes characters in the N rows of characters except the first row of characters, and N is an integer greater than 1.

[0103] In some embodiments of the present application, the character selection control device can update the number of character rows selected in the character selection area and the starting characters of at least one row of characters in the N rows of characters selected in the character selection area except the first row of characters based on the updated display position of the above-mentioned first character selection control.

[0104] Optionally, the character selection control device can determine the target character in at least one row of characters in N rows of characters based on the display position of the above-mentioned first character selection control, and use the target character in the above-mentioned at least one row of characters as the starting character of at least one row of characters selected in the character selection area.

[0105] Exemplarily, for a row of characters in the at least one row of characters, the target characters may be: one or more characters in the row of characters that are located to the right of the display position of the first character selection control and have the smallest distance from the display position of the first control.

[0106] Exemplarily, when the character selection area is determined, if the display position of the fourth character selection control changes, only the starting characters of each row of characters selected in the character selection area except the first row of characters are adjusted according to the display position of the first character selection control.

[0107] Exemplarily, the character selection control device updates the starting characters of all selected character rows or character rows except the first row among all selected character rows in response to the input of moving the first character selection control leftward or rightward.

[0108] FIG4(A) is a schematic diagram of an example of an interface used by the character selection control method provided in an embodiment of the present application. In combination with FIG2(A) and FIG3, as shown in FIG4(A), if the user needs to select one more row of characters downward based on the currently selected characters and remove the "*" in the characters other than the first row of characters in the currently selected characters, the user can drag the control point 24a downward by the distance of one character, long-press the control point 24d to fix the starting character selected in the first row, and then drag the control point 24a to the right by the distance of one character, so that the control point 24a is located below the area between the "*" and the adjacent characters to the right of the "*". As shown in FIG4(B), the electronic device deselects the "*" in the character rows other than the first row of characters according to the position to which the control point 24a is dragged. In other words, a portion of the left area boundary of the character selection area is moved right by the distance of one character.

[0109] It should be noted that, in FIG4(A) , the trajectory of the drag control point 24a is indicated by a dotted line, but in reality, the dotted line is not displayed.

[0110] In some embodiments of the present application, the character selection control device may update the starting character of the N lines of characters selected in the character selection area according to the updated display position of the first character selection control.

[0111] Exemplarily, when determining the character selection area, if the display position of the fourth character selection control does not change, the starting characters of each row of characters selected in the character selection area are updated according to the display position of the first character selection control, that is, the starting characters of the N rows of characters are updated.

[0112] It should be noted that the fourth character selection control is a character selection control displayed at the top left corner of the character selection area. For the relevant description of the fourth character selection control, please refer to the above and will not be repeated here.

[0113] FIG4(C) is another example diagram of an interface used in the character selection control method provided in an embodiment of the present application. In conjunction with FIG4(A), as shown in FIG4(C), if the user needs to remove the "*" from all currently selected character rows, the user can drag the control point 24a to the right to a position below the area between the "*" and the character adjacent to the right of the "*". The electronic device deselects the "*" from all characters in the character rows based on the position to which the control point 24a is dragged. In other words, the left area boundary of the character selection area is shifted rightward by the distance of one character.

[0114] FIG. 4(D) is another schematic diagram of the interface to which the character selection control method provided by the embodiment of the present application is applied. Combining with FIG. 4(A) above, as shown in FIG. 4(D), if the user needs to remove the first two characters in the currently selected character line, the user can drag the control point 24a to the lower position of the area between the second character and the third character to the right. According to the position where the control point 24a is dragged, the electronic device selects the first two characters among the characters of all character lines, and adjusts the starting character of the selected characters in each line to the third character in each line. In other words, the left area boundary of the character selection area is shifted to the right by the distance of two characters. In this way, the user can drag the control point to cancel one or more characters at the beginning of each line according to actual needs.

[0115] It should be noted that in the case of determining the character selection area, if the control point 24d has not been touched by a finger, moving 24a left and right will change the starting characters selected in all lines. At the same time, the position of the control point 24d follows the movement, and the control point 24a is always at the lower left of the control point 24b, and will not move to the right or above the control point 24b.

[0116] It should be noted that the embodiment of the present application is described by taking the first character of each line of characters as "*" as an example. In practice, the first character of each line of characters can be a symbol, such as "*", "#", or a number, such as "1", or a Chinese character such as "文", etc. The embodiment of the present application does not limit this.

[0117] In some embodiments of the present application, the character selection control device can update the starting characters of at least one line of characters except the first line of characters selected in the character selection area according to the updated display position of the above-mentioned first character selection control.

[0118] Exemplarily, in the case of determining the character selection area, if the display position of the above-mentioned fourth character selection control changes, the starting characters of each line of characters except the first line of characters selected in the character selection area are updated according to the display position of the first character selection control.

[0119] For example, combining with FIG. 4(A) above, if the user needs to remove the "*" in the characters of all character lines except the first line of characters currently selected, the user can first long-press the control point 24d to trigger fixing the starting character of the first line of characters, and then drag the control point 24a to the lower position of the area between "*" and the character "的" adjacent to the right of "*". According to the position where the control point 24a is dragged, the electronic device cancels the selection of "*" in the other multiple lines of characters except the first line of characters in the selected characters. In other words, the left area boundary of the character selection area is shifted to the right by the distance of one character.

[0120] In some embodiments of the present application, the character selection control device may update the number of character rows selected in the character selection area according to the updated display position of the first character selection control.

[0121] Optionally, the character selection control device may update the ending character row selected in the character selection area, ie, the last row of characters, according to the updated position of the first character selection control.

[0122] Exemplarily, the character selection control device updates the selected end character row in response to an input of moving the first character selection control upward or downward.

[0123] For example, in combination with the above Figure 4(a), after the user moves the control 24a upward by the distance of one row of characters, the character selection control device cancels the selection of the last selected row of characters, that is, selects the second and third rows of characters; or, after the user moves the control 24a downward by the distance of two rows of characters, the character selection control device selects two more rows of characters downward, that is, selects the second to sixth rows of characters.

[0124] The character selection control method provided in the embodiment of the present application quickly adds selected rows by moving the first character selection control up and down, and uniformly adjusts the starting characters of at least one row of characters selected in the character selection area by moving the first character selection control left and right. Therefore, when there are characters that the user does not need to select at the starting positions of multiple rows of characters, one or more characters that do not need to be selected at the starting positions of multiple rows of characters can be filtered out at one time, and the characters that need to be selected can be quickly obtained without the user having to operate line by line to select the required characters, thereby greatly improving operating efficiency.

[0125] Optionally, in an embodiment of the present application, when the character selection area includes N rows of characters and the character selection control is a second character selection control, the process of updating the character selection range of the character selection area in step S204 can be replaced by the following step S204a2:

[0126] Step S204a2: when the second input is an input for adjusting the display position of the second character selection control, the number of character rows selected in the character selection area is updated or the end character of at least one row of characters selected in the character selection area is updated.

[0127] The at least one row of characters is the N rows of characters, or the at least one row of characters is at least one row of characters in the N rows of characters except the first row of characters and the last row of characters; N is an integer greater than 1.

[0128] In some embodiments of the present application, the character selection control device can update the number of character rows selected in the character selection area and the end characters of at least one row of characters other than the last row of characters in the N rows of characters selected in the character selection area according to the updated display position of the above-mentioned second character selection control.

[0129] It can be understood that the last row of characters is the tail row of characters.

[0130] Optionally, the character selection control device can determine the target character in at least one row of N rows of characters based on the display position of the above-mentioned second character selection control, and use the target character in the above-mentioned at least one row of characters as the end character of the at least one row of characters selected in the character selection area.

[0131] Exemplarily, for a row of characters in the at least one row of characters, the target characters may be: one or more characters in the row of characters that are located to the left of the display position of the second character selection control and have the smallest distance from the display position of the first control.

[0132] Exemplarily, the above-mentioned ending character may include: the last character of each line of characters in at least one line of characters selected in the target character area.

[0133] Exemplarily, when the character selection area is determined, if the display position of the third character selection control changes, only the end character of each row of characters selected in the character selection area except the last row character is adjusted according to the display position of the second character selection control.

[0134] It should be noted that the third character selection control is a character selection control displayed at the vertex of the lower right corner of the target character area. The explanation of the third character selection control can be found above and will not be repeated here.

[0135] Exemplarily, the character selection control device updates the end characters of all selected character rows or character rows except the last row in all selected character rows in response to an input of moving the second character selection control leftward or rightward.

[0136] FIG. 5(A) and FIG. 5(B) are schematic diagrams of examples of the interface to which the character selection control method provided by the embodiments of the present application is applied. With reference to FIGS. 2(A) and 3 above, as shown in FIG. 5(A), if the user needs to select one more line of characters upward based on the currently selected characters and remove the last two characters in the character lines other than the last line of the currently selected characters, then after the user drags the control point 24b upward by a distance of one character, first long-press the control point 24c to fix the ending character of the tail line selection, and then drag the control point 24b to the left by a distance of two characters. As shown in FIG. 5(B), the electronic device cancels the selection of the last two characters in the character lines other than the last line of characters according to the position to which the control point 24b is dragged. In other words, a part of the right boundary of the target character area is shifted to the left by a distance of two characters.

[0137] FIG. 5(C) is another schematic diagram of an example of the interface to which the character selection control method provided by the embodiments of the present application is applied. With reference to FIG. 5(A) above, as shown in FIG. 5(C), if the user needs to remove the last two characters in all the currently selected character lines, the user can drag the control point 24b to the left by a distance of two characters. The electronic device moves the last two characters in the characters of all the character lines according to the position to which the control point 24b is dragged. In other words, the entire right boundary of the target character area is shifted to the left by a distance of two characters.

[0138] It should be noted that in the case of determining the target character area, if the control point 24c has not been touched by a finger, moving 24b left and right will change the ending characters selected for all lines. At the same time, the position of the control point 24c moves accordingly, and the control point 24b is always above and to the right of the control point 24a, and will not move to the left or below the control point 24a.

[0139] In some embodiments of the present application, the character selection control device may update the ending characters of the N lines of characters selected in the character selection area according to the updated display position of the first character selection control.

[0140] Exemplarily, in the case of determining the character selection area, if the display position of the third character selection control does not change, the starting characters of each line of characters selected in the character selection area are updated according to the display position of the second character selection control, that is, the ending characters of the above N lines of characters are updated.

[0141] For example, with reference to FIG. 5(A) above, if the user needs to cancel the selection of the last character in each line of the currently selected characters, the user can drag the control point 24b to the left by a distance of one character. The character selection control device updates the ending characters of the three selected lines of characters to "more", "generation", and "same" respectively.

[0142] In some embodiments of the present application, the character selection control device may update the end characters of at least one line of the N lines of characters selected in the character selection area, except for the last line of characters, according to the updated display position of the second character selection control as described above.

[0143] Exemplarily, when determining the character selection area, if the display position of the third character selection control as described above changes, then according to the display position of the second character selection control, the end characters of each line of the characters selected in the character selection area, except for the last line of characters, are updated.

[0144] For example, in combination with FIG. 4(A) above, if the user needs to deselect the last characters of the currently selected second and third lines of characters, the user can first long-press the control point 24c, and then drag the control point 24b one character distance to the left. The character selection control device updates the end characters of the selected second and third lines of characters to "Dai" and "Tong" respectively.

[0145] In some embodiments of the present application, the character selection control device may update the number of lines of characters selected in the character selection area according to the updated display position of the second character selection control as described above.

[0146] Optionally, the character selection control device may update the starting line of characters selected in the character selection area, that is, the first line of characters, according to the updated position of the second character selection control.

[0147] Exemplarily, the character selection control device responds to an input for moving the second character selection control upward or downward to update the selected starting line of characters.

[0148] For example, in combination with FIG. 4(A) above, after the user moves the control 24b upward by one line of characters, the character selection control device adds the first line of characters to the selection, that is, selects the first to third lines of characters; or, after the user moves the control 24b downward by two lines of characters, the character selection control device cancels the selection of two more lines of characters downward, that is, cancels the selection of the first and second lines of characters among the selected characters.

[0149] The character selection control method provided by the embodiments of the present application realizes quickly increasing the selected lines by moving the second character selection control up and down, and realizes uniformly adjusting the end characters of at least one line of characters selected in the character selection area by moving the second character selection control left and right. Thus, when there are characters that the user does not need to select at the end positions of multiple lines of characters, one or more characters that do not need to be selected at the end positions of multiple lines of characters can be filtered out at one time, and the characters that need to be selected can be quickly obtained, without the user having to operate line by line to select the required characters, greatly improving the operation efficiency.

[0150] Optionally, in the embodiments of the present application, when the above character selection control is a third character selection control, the process of updating the character selection range of the character selection area in step S204 can be replaced by the following step S204a3:

[0151] Step S204a3: When the second input is an input for adjusting the display position of the third character selection control, update the end character of the last line of characters selected in the character selection area.

[0152] Exemplarily, the character selection control device responds to an input for moving the third character selection control left or right, and adjusts the start character of the last line of characters among all the selected character lines.

[0153] FIG. 6(A) and FIG. 6(B) are schematic diagrams of an example of the interface to which the character selection control method provided by the embodiments of the present application is applied. Combining with FIG. 4(A) above, as shown in FIG. 6(A), if the user needs to adjust the end character of the last line of characters among the currently selected characters, the user can drag the control point 24c to the left. As shown in FIG. 6(B), the electronic device adjusts the selected end character in the last line of characters from 'Shi' to ',' according to the position where the control point 24a is dragged to.

[0154] The character selection control method provided by the embodiments of the present application realizes the adjustment of the end character of the last line of selected characters by moving the third character selection control left and right, so that the adjustment of the end character of the last line of characters can be controlled separately, improving the operation flexibility.

[0155] Optionally, in the embodiments of the present application, when the above character selection control is a fourth character selection control, the process of updating the character selection range of the character selection area in step S204 can be replaced by the following step S204a4:

[0156] Step S204a4: When the second input is an input for adjusting the display position of the fourth character selection control, update the start character of the first line of characters selected in the character selection area.

[0157] Exemplarily, the character selection control device responds to an input for moving the fourth character selection control left or right, and adjusts the start character of the first line of characters among all the selected character lines.

[0158] Figures 6(C) and 6(D) are schematic diagrams of examples of interfaces used in the character selection control method provided in an embodiment of the present application. In conjunction with Figure 6(A) above, as shown in Figure 6(C), if the user needs to adjust the starting character of the first row of characters in the currently selected characters, the user can drag control point 24d to the right. In Figure 6(D), the electronic device adjusts the starting character of the selected first row of characters from "*" to "OK" based on the position to which control point 24d is dragged.

[0159] The character selection control method provided in the embodiment of the present application adjusts the starting characters of the selected first row of characters by moving the fourth character selection control left and right, thereby enabling individual control of the adjustment of the starting characters of the first row of characters and improving operational flexibility.

[0160] Optionally, in an embodiment of the present application, the character selection area includes N rows of characters; and the Xth row of characters in the N rows of characters corresponds to the fifth character selection control.

[0161] Optionally, the process of updating the character selection range of the character selection area in step 204 may include the following steps A1:

[0162] Step A1: when the second input is an input for adjusting the display position of the fifth character selection control, updating the starting character or the ending character of a row of characters corresponding to the fifth character selection control among the characters selected in the character selection area.

[0163] Optionally, a row of characters in the character selection area corresponds to a character selection control, and each character selection control is used to adjust a selection range of the corresponding row of characters.

[0164] Optionally, each character selection control may be displayed at the start position or the end position of a corresponding row of characters.

[0165] In some embodiments of the present application, the character selection control may update the starting character of a row of characters corresponding to the fifth character selection control according to the updated display position of the fifth character selection control.

[0166] For example, taking the selected N rows of characters including five rows of characters as an example, assuming that the user needs to cancel the display of the first character in the selected third row of characters and the first two characters in the selected fourth row of characters, the user can move the character selection control corresponding to the third row of characters to the right by a distance of one character, triggering the character selection control device to cancel the selection of the first character in the third row of characters, and move the character selection control corresponding to the fourth row of characters to the right by a distance of two characters, triggering the character selection control device to cancel the selection of the first two characters in the fourth row of characters.

[0167] In some embodiments of the present application, the character selection control may update the ending character of a row of characters corresponding to the fifth character selection control according to the updated display position of the fifth character selection control.

[0168] For example, taking the selected N rows of characters including five rows of characters as an example, assuming that the user needs to cancel the display of the last character in the selected third row of characters, and cancel the display of the last two characters in the selected fourth row of characters, the user can move the character selection control corresponding to the third row of characters to the left by a distance of one character, triggering the character selection control device to cancel the selection of the last character in the third row of characters, and move the character selection control corresponding to the fourth row of characters to the left by a distance of two characters, triggering the character selection control device to cancel the selection of the last two characters in the fourth row of characters.

[0169] The character selection control method provided in the embodiment of the present application updates the starting character or ending character of each selected row of characters by moving the character selection control corresponding to each row of characters, thereby being able to individually control the selected characters in each row and improving operational flexibility.

[0170] Optionally, in an embodiment of the present application, the M character selection controls may include a sixth character selection control.

[0171] Optionally, the step S203 of receiving the second input of the user to the character selection control among the M character selection controls may be implemented by the following step S203a:

[0172] Step S203a: receiving a second input from the user to the sixth character selection control.

[0173] Optionally, in combination with the above step S203a, the above step S204 may include the following steps S204b1 and S204b2:

[0174] Step S204b1: In response to the second input, determine the first character in the character selection area according to the display position of the sixth character selection control.

[0175] Step S204b2: deselect the first character from the character selection area.

[0176] Exemplarily, in response to the drag input of the sixth character selection control, the character selection control device determines the character at the display position where the sixth character selection control is located as the first character, and deselects the first character.

[0177] Optionally, the first character includes at least one character.

[0178] Exemplarily, the first character may be a character that is closest to the sixth character selection control; or, the first character may include a plurality of characters whose distance from the sixth character selection control is less than a distance threshold.

[0179] FIG7 is a schematic diagram of an example of an interface used in the character selection control method provided in an embodiment of the present application. As shown in FIG7 , the electronic device determines the character area based on the input trajectory of the user's sliding input, and displays a control point 74a at the vertex of the lower left corner of the character area, a control point 74b at the vertex of the upper right corner of the character area, a control point 74c at the vertex of the lower right corner of the character area, a control point 74d at the vertex of the upper left corner of the character area, and a control point 74e at the midpoint of the upper boundary of the character area. Furthermore, if the user needs to deselect the character "0" in the character area, the user can move the control point 74e to the position of the character "0" to be deselected, and the electronic device can deselect the character "0".

[0180] The character selection control method provided in the embodiment of the present application can cancel the selection of any selected character by moving the sixth character selection control, thereby being able to select non-continuous characters, greatly improving operational flexibility.

[0181] Further optionally, in the embodiment of the present application, before determining the first character from the character selection area according to the display position of the character selection control in the above step S204b1, the character selection control method provided in the embodiment of the present application further includes the following steps B1 and B2:

[0182] Step B1: receiving a third input to a sixth character selection control.

[0183] Step B2: In response to the third input, display a first sub-selection control at the first display position and display a second sub-character selection control at the second display position.

[0184] The first display position and the second display position are determined based on the input end position of the third input.

[0185] Optionally, in combination with the above steps B1 and B2, the process of determining the first character in the character selection area according to the display position of the character selection control in the above step S204b1 can be implemented by the following step S204c1:

[0186] S204c1: Determine the character between the first sub-character selection control and the second sub-character selection control as the first character.

[0187] Optionally, the third input may be any feasible input such as touch input, gesture input, and voice input.

[0188] Optionally, the third input is used to adjust a display position of a sixth character selection control.

[0189] Exemplarily, the first display position may be a specific position or a random position in the character spacing to the left of the character at the display position of the target control, and the second display position may be a specific position or a random position in the character spacing to the right of the character at the display position of the target control. Exemplarily, the specific position may be the middle position in the character spacing, that is, the middle position between the character at the display position and the character adjacent to the character at the display position.

[0190] Exemplarily, the character at the display position of the target control may be a character that is closest to the display position of the target control.

[0191] Illustratively, the first sub-character selection control and the second sub-character selection control may be circular controls or square controls, which is not limited in this embodiment of the present application.

[0192] Illustratively, the first sub-character selection control and the second sub-character selection control may be control points.

[0193] Figures 8(A) and 8(B) are example schematic diagrams of the interface applied to the character selection control method provided in an embodiment of the present application. Combined with Figure 7 above, as shown in Figure 8(A), when the user needs to deselect the character "0" in the character area, the user moves the above-mentioned control point 74e to the position of the character "0" that needs to be deselected. As shown in Figure 8(B), the electronic device displays a sub-control point 86a at the middle position between the character "0" and the character "1" located on the left side of the character and adjacent to the character, and displays a sub-control point 86b at the middle position between the character "0" and the character "1" located on the right side of the character and adjacent to the character, and deselects the character "0".

[0194] In the character selection control method provided by the embodiment of the present application, the character selection control device displays the first sub-character selection control and the second sub-character selection control according to the position to which the sixth character selection control is moved, and deselects the characters between the first sub-character selection control and the second sub-character selection control, thereby being able to select non-continuous characters, greatly improving operational flexibility.

[0195] Further optionally, in the embodiment of the present application, after the above step B2, the character selection control method provided in the embodiment of the present application further includes the following steps B3 to B5:

[0196] Step B3: receiving a fourth input to the target sub-character selection control.

[0197] Step B4: In response to the fourth input, the display position of the target sub-character selection control is adjusted according to the input end position corresponding to the fourth input.

[0198] The target sub-selection control includes at least one of a first sub-selection control and a second sub-selection control.

[0199] Step B5: updating the selected first character according to the adjusted display position of the target sub-selection control.

[0200] The target sub-character selection control includes at least one of a first sub-character selection control and a second sub-character selection control.

[0201] Exemplarily, the fourth input may include any one of the following: user's touch input, voice input, gesture input, or other feasible inputs such as key input, which is not limited in this embodiment of the present application.

[0202] Furthermore, the touch input may be: a user's click input, a slide input, a press input, etc. Furthermore, the click operation may be any number of click operations. The slide operation may be a slide operation in any direction, such as an upward slide, a downward slide, a left slide, or a right slide, etc., which is not limited in the embodiments of the present application.

[0203] Exemplarily, the fourth input is a drag input of the target sub-character selection control.

[0204] Exemplarily, the character selection control device may use the end position of the third input as the target display position of the target sub-character selection control, and adjust the current display position of the target sub-control to the above target display position.

[0205] It can be understood that the characters between the first sub-character selection control and the second sub-character selection control are deselected characters, and when the display positions of the first sub-character selection control and the second sub-character selection control change, the deselected characters will also change.

[0206] Figure 8(C) is another example schematic diagram of the interface applied to the character selection control method provided in an embodiment of the present application. In combination with Figure 8(A) and Figure 8(B) above, when it is necessary to adjust the number of characters that need to be deselected, when deselecting the characters between character "a" and character "b", the user can drag the above sub-control point 86a to the left to the middle of character "a" and character "1", and drag the above sub-control point 86b to the right to the middle of character "1" and character "b", triggering the electronic device to cancel the display of all characters between character "a" and character "b".

[0207] It should be noted that, in order to intuitively reflect the deselected characters, the deselected characters are represented by shadow filling in the accompanying drawings. For example, the characters in the shadow filling area in Figure 8 (A) and Figure 8 (B) are the deselected characters.

[0208] Further optionally, the character selection control device receives a sixth input from the user on a sixth character selection control, and displays a third sub-character selection control and a fourth sub-character selection control.

[0209] Exemplarily, the sixth input may be a drag input of the sixth character selection control by the user.

[0210] Figure 8(D) is another example schematic diagram of the interface applied to the character selection control method provided in an embodiment of the present application. Combined with Figure 8(B) above, the user can continue to drag the control point 74e to the position of the character "b". As shown in Figure 8(D), the electronic device displays a sub-control point 86c in the middle position between the character "b" and the character located on the left side of the character and adjacent to the character, and displays a sub-control point 86d in the middle position between the character "b" and the character located on the right side of the character and adjacent to the character, and deselects the character "b".

[0211] It should be noted that the target sub-control point is displayed only if there are remaining characters in the selected area. If you drag the inverse selection control point S to the inverse selection area and release it, no inverse selection control point will be generated. Similarly, if you drag the inverse selection control point S to the first or last character and release it, no inverse selection control point will be generated. However, if you drag the inverse selection control point S to another location, an inverse selection control point will be generated, similar to the display process of sub-control points 86c and 86d described above.

[0212] The character selection control method provided in the embodiment of the present application is a method in which the character selection control device generates multiple groups of sub-character selection controls after receiving multiple touch inputs from the user on the sixth character selection control, and deselects the characters between each group of sub-character selection controls, thereby being able to select multiple non-continuous character contents from a segment of characters, thereby improving the flexibility of character selection.

[0213] Further optionally, in the embodiment of the present application, after the above step S204b2, the character selection control method provided in the embodiment of the present application further includes the following steps S204b3 and S204b4:

[0214] Step S204b3: inserting a line break character between the second character and the third character.

[0215] Step S204b4: Merge the second character, the third character and the line break character to obtain the target character.

[0216] The second character is a character between the first character in the character selection area and the first sub-character selection control, and the third character is a character between the last character in the character selection area and the second sub-character selection control.

[0217] Exemplarily, the character selection control device may merge the second character and the third character according to their order in the first character. For example, if the second character is before the third character, the third character is added after the second character.

[0218] Furthermore, the character selection control device may convert the second character, the third character and the line break into a character string, and combine the second character, the third character and the line break by string concatenation to obtain the target character.

[0219] Illustratively, when merging the second character, the third character, and the line break, the character selection control device may determine whether to insert a line break between the second character and the third character according to the display position of the first sub-character selection control or the second sub-character selection control.

[0220] For example, when the first sub-character selection control falls at the bottom of a row, a line break is inserted directly between the two segments of characters when the two segments before and after the first sub-character selection control are joined. For example, when the second sub-character selection control falls at the bottom of a row, a line break is inserted directly between the two segments of characters when the two segments before and after the first sub-character selection control are joined.

[0221] Figure 9(A) is another example schematic diagram of the interface applied to the character selection control method provided in an embodiment of the present application. In combination with the above embodiment, the character selection area 91 displays control points 91a, 91b, 91c and 91d, as well as sub-control point 91e and sub-control point 91f, and the characters between sub-control point 91e and sub-control point 91f in the character selection area 91 are in an unselected state. As shown in Figure 9(B), the character 94 obtained by splicing the two selected segments of characters "1111a" and characters "b1111222222222222222222222222222222333333333333333", since the sub-control point 91e and the sub-control point 91f are both located in the middle of a row, there is no line break between the two spliced ​​segments of characters.

[0222] Figure 9(C) is another example schematic diagram of the interface applied to the character selection control method provided in an embodiment of the present application. Combined with Figure 9(B) above, assuming that the sub-control point 91f is located at the bottom of a row, as shown in Figure 9(C), for the character 95 obtained by splicing two segments of characters, there is a line break between the character "1111a" and the character "b111122222222222222222222222222222233333333333333" in the character 95.

[0223] It should be noted that the spliced ​​characters may not be displayed. In order to intuitively reflect the spliced ​​characters, the characters are displayed in FIG. 9 (B) and FIG. 9 (C).

[0224] The character selection control method provided in the embodiment of the present application is a character selection control device that can splice two discontinuous segments of characters in the character selection area to obtain the target character, and when splicing, it can add or not add a line break between the two segments of characters according to the display position of the sub-control point, thereby meeting the user's different character selection needs.

[0225] Further optionally, in the embodiment of the present application, after the above step B2, the character selection control method provided in the embodiment of the present application further includes the following steps C1 and C2:

[0226] Step C1: receiving a fifth input to the first sub-character selection control and the second sub-character selection control.

[0227] Step C2: In response to the fifth input, resuming selection of the character between the first sub-character selection control and the second sub-character selection control, and canceling display of the first sub-character selection control and the second sub-character selection control.

[0228] Exemplarily, the fifth input may include any one of the following: user touch input, voice input, gesture input, or other feasible inputs such as key input, which is not limited in this embodiment of the present application.

[0229] Furthermore, the touch input may be: a user's click input, a slide input, a press input, etc. Furthermore, the click operation may be any number of click operations. The slide operation may be a slide operation in any direction, such as an upward slide, a downward slide, a left slide, or a right slide, etc., and is not limited to this in the embodiments of the present application.

[0230] Exemplarily, the fifth input may be an input of dragging the first sub-character selection control to the second sub-character selection control, or the fifth input may be an input of dragging the second sub-character selection control to the first sub-character selection control.

[0231] For example, in combination with the above-mentioned Figure 8(D), the electronic device displays sub-control point 86a, sub-control point 86b, sub-control point 86c and sub-control point 86d in the character selection area. The user drags sub-control point 86c to the position of sub-control point 86d so that it at least partially overlaps with sub-control point 86c and sub-control point 86d. The electronic device cancels the display of sub-control point 86c and sub-control point 86d, and restores the character "b" between sub-control point 86c and sub-control point 86d to the selected state, as shown in Figure 8(B).

[0232] The character selection control method provided by the embodiment of the present application is that after the character selection control device receives the fourth input of the user to the first sub-character selection control and the second sub-character selection control, it cancels the display of the first sub-character selection control and the second sub-character selection control and restores the characters between the first sub-character selection control and the second sub-character selection control to the selected state, so that the user can increase or decrease the number of sub-character selection control groups according to actual needs, so that the sub-character selection control groups can be used to conveniently and flexibly deselect the characters that need to be deselected in the character selection area, thereby improving the flexibility of selecting a section of discontinuous characters.

[0233] Optionally, in the embodiment of the present application, when the character selected in the character selection area is determined, the character selection control device may receive a seventh input of the user on the first function option and execute the function corresponding to the first function option.

[0234] Exemplarily, the first function option may be a copy option or a screenshot option.

[0235] For example, after selecting a character, the user may click on the "copy option" to trigger the character selection control device to copy the selected character.

[0236] For example, after selecting a character, the user may click on the "screenshot option" to trigger the character selection control device to take a screenshot of the selected character.

[0237] Furthermore, when taking a screenshot of a selected character, the character selection control device can take a screenshot of the entire character to obtain a first screenshot, and then remove the unselected characters in the first screenshot through an image processing algorithm, and retain the background of the unselected characters, thereby obtaining a screenshot containing only the selected characters.

[0238] Figure 10(A) is another example schematic diagram of the interface applied by the character selection control method provided in an embodiment of the present application. Combined with Figure 9(A) above, as shown in Figure 10(A), after the user long presses the selected character area, the electronic device displays a "Copy" option and a "Screenshot" option. After the user clicks the "Copy" option, the copied characters "1111ab1111222222222222222222222222222223333333333333" are obtained, which do not include the unselected characters between characters "a" and "b" in the character area. After the user clicks the "Screenshot" option, as shown in Figure 10(B), the electronic device takes a screenshot of the character selection area and obtains a screenshot 12 which does not include the unselected characters between characters "a" and "b" and only includes the selected characters.

[0239] The character selection control method provided in the embodiment of the present application is a character selection control device that receives user input for a copy option and copies the selected characters, or receives user input for a screenshot option and obtains a screenshot that only includes the selected characters, thereby obtaining copy content or screenshots that meet user needs.

[0240] The character selection control method provided in the embodiment of the present application can be executed by a character selection control device. In the embodiment of the present application, the character selection control device is taken as an example to illustrate the character selection control method provided in the embodiment of the present application.

[0241] Figure 11 is a structural diagram of the character selection control device provided in an embodiment of the present application. As shown in Figure 11, the character selection control device 900 may include: a receiving module 901, a display module 902 and a processing module 903, wherein: the receiving module 901 is used to receive a first input; the display module 902 is used to display a character selection area in response to the first input received by the receiving module 901; the receiving module 901 is also used to adjust the second input of the character selection control in the character selection area; the processing module 903 is used to update the character selection range of the character selection area in response to the second input received by the receiving module 901.

[0242] Optionally, in an embodiment of the present application, the character selection area includes N rows of characters; the character selection control includes a first character selection control; the processing module is specifically used to update the number of character rows selected in the character selection area or update the starting characters of at least one row of characters selected in the character selection area when the second input is an input for adjusting the display position of the character selection control; wherein, at least one row of characters is N rows of characters, or at least one row of characters includes characters in N rows of characters except the first row of characters; N is an integer greater than 1.

[0243] Optionally, in an embodiment of the present application, the character selection area includes N rows of characters; the character selection control is a second character selection control; and the processing module is specifically configured to update the number of character rows selected in the character selection area or update the end character of at least one row of characters selected in the character selection area when the second input is an input for adjusting a display position of the second character selection control;

[0244] The at least one line of characters is N lines of characters, or the at least one line of characters is at least one line of characters in the N lines of characters except the first line of characters and the last line of characters; N is an integer greater than 1.

[0245] Optionally, in the embodiment of the present application, the at least one character selection control includes a third character selection control;

[0246] The processing module is specifically configured to update the end character of the last row of characters selected in the character selection area when the second input is an input for adjusting the display position of the third character selection control.

[0247] Optionally, in an embodiment of the present application, the character selection control includes a fourth character selection control; the above-mentioned processing module is specifically used to update the starting character of the first row of characters selected in the character selection area when the second input is an input for adjusting the display position of the fourth character selection control.

[0248] Optionally, in an embodiment of the present application, the above-mentioned character selection area includes N rows of characters; the Xth row of characters in the N rows of characters corresponds to the fifth character selection control; the above-mentioned processing module is specifically used to update the starting character or ending character of a row of characters corresponding to the character selection control in the characters selected in the character selection area when the second input is an input for adjusting the display position of the fifth character selection control.

[0249] Optionally, in an embodiment of the present application, the character selection control includes a sixth character selection control; the above-mentioned receiving module is specifically used to receive a second input from the user to adjust the display position of the sixth character selection control; the above-mentioned processing module is specifically used to respond to the second input received by the receiving module, determine the first character in the character selection area according to the display position of the sixth character selection control, and deselect the first character from the characters selected in the character selection area.

[0250] Optionally, in an embodiment of the present application, the above-mentioned receiving module is also used to receive a third input to the fifth character selection control; the above-mentioned display module is also used to display the first sub-selection control at the first position and the second sub-selection control at the second position in response to the third input received by the receiving module, and the first display position and the second display position are determined based on the input end position of the third input; the above-mentioned processing module is specifically used to determine the character between the first sub-selection control and the second sub-selection control as the first character.

[0251] Optionally, in an embodiment of the present application, the above-mentioned receiving module is also used to receive a fourth input to the target sub-selection control; the above-mentioned processing module is also used to adjust the display position of the target sub-selection control according to the input end position of the fourth input in response to the fourth input received by the receiving module; the target sub-selection control includes at least one of the first sub-selection control and the second sub-selection control; the above-mentioned processing module is specifically used to update the selected first character according to the adjusted display position of the target sub-selection control.

[0252] Optionally, in an embodiment of the present application, the above-mentioned processing module is also used to merge the second character and the third character selected in the character selection area into a target character; wherein the second character is the character between the first character in the character selection area and the first sub-selection control, and the third character is the character between the last character in the character selection area and the second sub-selection control.

[0253] Optionally, in an embodiment of the present application, the above-mentioned processing module is specifically used to insert a line break between the second character and the third character; the above-mentioned processing module is specifically used to merge the second character, the third character and the line break to obtain the target character.

[0254] Optionally, in an embodiment of the present application, the above-mentioned receiving module is also used to receive a fifth input to the first sub-selection control and the second sub-selection control; the above-mentioned processing module is also used to restore the selection of the characters between the first sub-selection control and the second sub-selection control, and cancel the display of the first sub-selection control and the second sub-selection control.

[0255] The character selection control device provided in the embodiment of the present application receives a first input to display a character selection area, and the character selection area is used to select at least one character; receives a second input for the display position of the character selection control in the above-mentioned character selection area, and updates the character selection range of the above-mentioned character selection area. Through this method, when a user needs to select specific character content in the character area, the user can first trigger the display of the character selection area for selecting the character, and then trigger the character selection control device to update the character selection range of the above-mentioned character selection area by moving the character selection control in the character selection area, so that the user can adjust the characters selected in the character selection area conveniently and flexibly according to the actual character selection needs. In this way, the characters required to be selected can be conveniently and flexibly selected from multiple lines of characters, and the characters that meet the user's needs can be quickly obtained.

[0256] The character selection control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or a device other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0257] The character selection control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0258] The character selection control device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figures 1 to 10 (B), and to avoid repetition, they will not be described here.

[0259] Optionally, as shown in Figure 12, an embodiment of the present application also provides an electronic device 1000, including a processor 1001 and a memory 1002, and the memory 1002 stores a program or instruction that can be run on the processor 1001. When the program or instruction is executed by the processor M01, the various steps of the above-mentioned character selection control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0260] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0261] FIG13 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0262] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101 , a network module 102 , an audio output unit 103 , an input unit 104 , a sensor 105 , a display unit 106 , a user input unit 107 , an interface unit 108 , a memory 109 , and a processor 110 .

[0263] Those skilled in the art will appreciate that the electronic device 100 may further include a power source (such as a battery) for powering various components. The power source may be logically connected to the processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG13 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0264] Among them, the above-mentioned user input unit 107 is used to receive a first input; the above-mentioned display unit 106 is used to display the character selection area in response to the first input received by the user input unit 107; the above-mentioned user input unit 107 is also used to receive a second input for adjusting the character selection control in the character selection area; the processing module 903 is used to update the character selection range of the character selection area in response to the second input received by the user input unit 107.

[0265] Optionally, in an embodiment of the present application, the character selection area includes N rows of characters; the character selection control includes a first character selection control; the processor 110 is specifically used to update the number of character rows selected in the character selection area or update the starting characters of at least one row of characters selected in the character selection area when the second input is an input for adjusting the display position of the character selection control; wherein, at least one row of characters is N rows of characters, or at least one row of characters includes characters in N rows of characters except the first row of characters; N is an integer greater than 1.

[0266] Optionally, in an embodiment of the present application, the character selection area includes N rows of characters; the character selection control is a second character selection control; and the processor 110 is specifically configured to update the number of character rows selected in the character selection area or update the end character of at least one row of characters selected in the character selection area when the second input is an input for adjusting a display position of the second character selection control;

[0267] The at least one line of characters is N lines of characters, or the at least one line of characters is at least one line of characters in the N lines of characters except the first line of characters and the last line of characters; N is an integer greater than 1.

[0268] Optionally, in the embodiment of the present application, the at least one character selection control includes a third character selection control;

[0269] The processor 110 is specifically configured to update the end character of the last row of characters selected in the character selection area when the second input is an input for adjusting the display position of the third character selection control.

[0270] Optionally, in an embodiment of the present application, the character selection control includes a fourth character selection control; the above-mentioned processor 110 is specifically used to update the starting character of the first row of characters selected in the character selection area when the second input is an input for adjusting the display position of the fourth character selection control.

[0271] Optionally, in an embodiment of the present application, the above-mentioned character selection area includes N rows of characters; the Xth row of characters in the N rows of characters corresponds to the fifth character selection control; the above-mentioned processor 110 is specifically used to update the starting character or ending character of a row of characters corresponding to the character selection control in the characters selected in the character selection area when the second input is an input for adjusting the display position of the fifth character selection control.

[0272] Optionally, in an embodiment of the present application, the character selection control includes a sixth character selection control; the above-mentioned user input unit 107 is specifically used to receive a second input from the user to adjust the display position of the sixth character selection control; the above-mentioned processor 110 is specifically used to respond to the second input received by the user input unit 107, determine the first character in the character selection area according to the display position of the sixth character selection control, and deselect the first character from the characters selected in the character selection area.

[0273] Optionally, in an embodiment of the present application, the above-mentioned user input unit 107 is also used to receive a third input to the fifth character selection control; the above-mentioned display unit 106 is also used to display the first sub-selection control at the first position and the second sub-selection control at the second position in response to the third input received by the user input unit 107, and the first display position and the second display position are determined based on the input end position of the third input; the above-mentioned processor 110 is specifically used to determine the character between the first sub-selection control and the second sub-selection control as the first character.

[0274] Optionally, in an embodiment of the present application, the above-mentioned user input unit 107 is also used to receive a fourth input to the target sub-selection control; the above-mentioned processor 110 is also used to adjust the display position of the target sub-selection control according to the input end position of the fourth input in response to the fourth input received by the user input unit 107; the target sub-selection control includes at least one of the first sub-selection control and the second sub-selection control; the above-mentioned processor 110 is specifically used to update the selected first character according to the adjusted display position of the target sub-selection control.

[0275] Optionally, in an embodiment of the present application, the above-mentioned processor 110 is also used to merge the second character and the third character selected in the character selection area into a target character; wherein the second character is the character between the first character in the character selection area and the first sub-selection control, and the third character is the character between the last character in the character selection area and the second sub-selection control.

[0276] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to insert a line break between the second character and the third character; the processor 110 is specifically configured to merge the second character, the third character, and the line break to obtain the target character.

[0277] Optionally, in an embodiment of the present application, the above-mentioned user input unit 107 is also used to receive a fifth input to the first sub-selection control and the second sub-selection control; the above-mentioned processor 110 is also used to restore the selection of the characters between the first sub-selection control and the second sub-selection control, and cancel the display of the first sub-selection control and the second sub-selection control.

[0278] The electronic device provided in the embodiment of the present application receives a first input and displays a character selection area, where the character selection area is used to select at least one character; receives a second input for the display position of the character selection control in the above-mentioned character selection area, and updates the character selection range of the above-mentioned character selection area. Through this method, when a user needs to select specific character content in the character area, the user can first trigger the display of the character selection area for selecting the character, and then trigger the electronic device to update the character selection range of the above-mentioned character selection area by moving the character selection control in the character selection area, so that the user can adjust the characters selected in the character selection area conveniently and flexibly according to the actual character selection needs. In this way, the characters required to be selected can be conveniently and flexibly selected from multiple lines of characters, and the characters that meet the user's needs can be quickly obtained.

[0279] It should be understood that in an embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0280] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0281] Processor 110 may include one or more processing units. Optionally, processor 110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 110.

[0282] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned character selection control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0283] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0284] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned character selection control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0285] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0286] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned character selection control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0287] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0288] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0289] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A character selection control method, the method comprising: receiving a first input; In response to the first input, displaying a character selection area, wherein the character selection area is used to select at least one character; receiving a second input for adjusting a display position of a character selection control in the character selection area; In response to the second input, a character selection range of the character selection area is updated.

2. The method according to claim 1, wherein: The character selection area includes N rows of characters; the character selection control includes a first character selection control; The updating of the character selection range of the character selection area includes: When the second input is an input for adjusting the display position of the first character selection control, updating the number of character rows selected in the character selection area or updating the starting character of at least one row of characters selected in the character selection area; The at least one row of characters is the N rows of characters, or the at least one row of characters includes characters in the N rows of characters except the first row of characters, and N is an integer greater than 1.

3. The method according to claim 1, wherein: The character selection area includes N rows of characters; the character selection control includes a second character selection control; The updating of the character selection range of the character selection area includes: When the second input is an input for adjusting the display position of the second character selection control, updating the number of character rows selected in the character selection area or updating the end character of at least one row of characters selected in the character selection area; The at least one row of characters is the N rows of characters, or the at least one row of characters is at least one row of characters in the N rows of characters except the first row of characters and the last row of characters; N is an integer greater than 1.

4. The method according to claim 1, wherein: The character selection control includes a third character selection control; The updating of the character selection range of the character selection area includes: When the second input is an input for adjusting the display position of the third character selection control, the end character of the last row of characters selected in the character selection area is updated.

5. The method according to claim 1, wherein: The character selection controls include a fourth character selection control; The updating of the character selection range of the character selection area includes: When the second input is an input for adjusting the display position of the fourth character selection control, the starting character of the first row of characters selected in the character selection area is updated.

6. The method according to claim 1, wherein: The character selection area includes N lines of characters; the Xth line of characters in the N lines of characters corresponds to the fifth character selection control; The updating of the character selection range of the character selection area includes: In the case where the second input is an input for adjusting the display position of the fifth character selection control, the starting character or the ending character of a row of characters corresponding to the fifth character selection control among the characters selected in the character selection area is updated.

7. The method according to claim 1, wherein: The character selection control includes a sixth character selection control; and receiving a second input for adjusting a display position of the character selection control in the character selection area includes: receiving a second input from a user for adjusting a display position of the sixth character selection control; The updating of the character selection range of the character selection area in response to the second input includes: In response to the second input, determining a first character in the character selection area according to a display position of the sixth character selection control; The first character is deselected from the characters selected in the character selection area.

8. The method according to claim 7, wherein: Before determining the first character in the character selection area according to the display position of the sixth character selection control, the method further includes: receiving a third input to the sixth character selection control; In response to the third input, displaying a first sub-selection control at a first display position and displaying a second sub-selection control at a second display position, wherein the first display position and the second display position are determined based on an input end position of the third input; The step of determining the first character in the character selection area according to the display position of the sixth character selection control comprises: The character between the first sub-selection control and the second sub-selection control is determined as the first character.

9. The method according to claim 8, wherein: After displaying the first sub-selection control at the first position and displaying the second sub-selection control at the second position, the method further includes: receiving a fourth input to a target sub-selection control; In response to the fourth input, adjusting the display position of the target sub-selection control according to the input end position of the fourth input; the target sub-selection control includes at least one of the first sub-selection control and the second sub-selection control; The selected first character is updated according to the adjusted display position of the target sub-selection control.

10. The method according to claim 8 or 9, wherein: After the first character is deselected from the characters selected in the character selection area, the method further includes: Merging the second character and the third character selected in the character selection area into a target character; The second character is a character between the first character in the character selection area and the first sub-selection control, and the third character is a character between the last character in the character selection area and the second sub-selection control.

11. The method according to claim 10, wherein: The step of merging the second character and the third character selected in the character selection area into a target character includes: inserting a line break character between the second character and the third character; The second character, the third character and the line break character are combined to obtain the target character.

12. The method according to claim 8 or 9, wherein: After displaying the first sub-selection control at the first position and displaying the second sub-selection control at the second position, the method further includes: receiving a fifth input to the first sub-selection control and the second sub-selection control; In response to the fifth input, the character between the first sub-selection control and the second sub-selection control is restored to be selected, and the first sub-selection control and the second sub-selection control are canceled from being displayed.

13. A character selection control device, comprising: A receiving module, a display module and a processing module, wherein: The receiving module is used to receive a first input; The display module is used to display a character selection area in response to the first input received by the receiving module; The receiving module is further used to receive a second input for adjusting the character selection control in the character selection area; The processing module is used to update the character selection range of the character selection area in response to the second input received by the receiving module.

14. The device according to claim 13, wherein: The character selection area includes N rows of characters; the character selection control includes a first character selection control; The processing module is specifically configured to update the number of character rows selected in the character selection area or update the starting character of at least one row of characters selected in the character selection area when the second input is an input for adjusting the display position of the first character selection control; The at least one row of characters is the N rows of characters, or the at least one row of characters includes characters in the N rows of characters except the first row of characters, and N is an integer greater than 1.

15. The device according to claim 13, wherein: The character selection area includes N rows of characters; the character selection control includes a second character selection control; The processing module is specifically configured to update the number of character rows selected in the character selection area or update the end character of at least one row of characters selected in the character selection area when the second input is an input for adjusting the display position of the second character selection control; The at least one row of characters is the N rows of characters, or the at least one row of characters is at least one row of characters in the N rows of characters except the first row of characters and the last row of characters; N is an integer greater than 1.

16. The device according to claim 13, wherein: The character selection control includes a third character selection control; The processing module is specifically configured to update the end character of the last row of characters selected in the character selection area when the second input is an input for adjusting the display position of the third character selection control.

17. An electronic device comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the character selection control method according to any one of claims 1 to 12 are implemented.

18. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the character selection control method according to any one of claims 1 to 12.

19. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method as described in any one of claims 1 to 12.

20. A computer program product, the program product being stored in a storage medium, and the program product being executed by at least one processor to implement the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Character selection control method and device, electronic equipment and readable storage medium

    CN116627302A

  • Target character selection method and device, electronic equipment and storage medium

    CN113342241A

  • Text processing method and device

    CN114518827A

  • Information processing method, information processing device and electronic equipment

    CN115080170A