File editing processing method, device and electronic equipment

By displaying the target icon in the mobile terminal and updating its position, and setting objects according to the icon function, the problem of difficulty in editing files in the mobile terminal is solved, achieving a more convenient user experience.

CN114063854BActive Publication Date: 2024-11-15VIVO MOBILE COMM CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202111403666.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2024-11-15
Estimated Expiration
2041-11-24

AI Technical Summary

Technical Problem

The file editing method of existing mobile terminals is not fully considered as the problem of small screen and inaccurate finger touch, which makes operation difficult.

Method used

By displaying the target interface, receiving user input, displaying the target icon and updating its position, so that it overlaps with the target object partially, setting the object according to the icon function, achieving quick operations.

Benefits of technology

It improves the convenience of mobile file editing, meets the characteristics of mobile touch interaction, and improves the convenience of user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063854B_ABST
    Figure CN114063854B_ABST
Patent Text Reader

Abstract

The present application discloses a file editing processing method, device and electronic device, belonging to the field of communication technology. The method includes: displaying a target interface, the target interface includes a target object and a function control, the function control corresponds to at least one function; receiving a first input for a first control in the function control; in response to the first input, displaying a target icon and updating the display position of the target icon; wherein the function corresponding to the target icon is the same as that corresponding to the first control; when the target icon at least partially overlaps with the first object in the target object, setting the first object according to the function corresponding to the target icon.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a file editing and processing method, device and electronic equipment. Background Art

[0002] With the rapid development of communication technology, the functions of mobile terminals are becoming more and more diverse, which brings great convenience to people's lives. In particular, users can use mobile terminals to edit files anytime and anywhere.

[0003] However, the existing graphic and text editing methods of mobile terminals follow the logic of the computer side. Since they do not fully consider the interactive characteristics of mobile terminals such as small screens and imprecise finger touch, operational difficulties often occur. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a file editing processing method, device and electronic device that can solve the problem of difficult operation of existing processing methods.

[0005] In a first aspect, an embodiment of the present application provides a file editing processing method, the method comprising:

[0006] Display a target interface, wherein the target interface includes a target object and a function control, and the function control corresponds to at least one function;

[0007] receiving a first input for a first control in the functional controls;

[0008] In response to the first input, a target icon is displayed, and a display position of the target icon is updated; wherein the target icon has the same function as the first control;

[0009] In a case where the target icon at least partially overlaps with a first object among the target objects, the first object is set according to a function corresponding to the target icon.

[0010] In a second aspect, an embodiment of the present application provides a file editing and processing device, comprising:

[0011] A first display module, used to display a target interface, wherein the target interface includes a target object and a function control, and the function control corresponds to at least one function;

[0012] A first receiving module, configured to receive a first input for a first control in the functional controls;

[0013] a second display module, configured to display a target icon in response to the first input, and update a display position of the target icon; wherein the target icon has the same function as that of the first control;

[0014] The first processing module is configured to set a first object among the target objects according to a function corresponding to the target icon when the target icon at least partially overlaps with the first object.

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

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

[0017] In a fifth aspect, an embodiment of the present application provides 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 described in the first aspect.

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

[0019] In an embodiment of the present application, a target interface including a target object and a functional control is first displayed, and then a target icon is displayed for the first control selected by the user based on the received first input, and the display position of the target icon is updated. Thus, when the target icon at least partially overlaps with the first object in the target object, the first object is set according to the function corresponding to the target icon, that is, the function corresponding to the first control. This can fully consider the characteristics of touch interaction on a mobile terminal, enable quick operation of the user on the electronic device, and improve the convenience of using the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart of a file editing method according to an embodiment of the present application;

[0021] Figure 2 This is one of the schematic diagrams of the method application of the embodiment of the present application;

[0022] Figure 3 This is the second schematic diagram of the method application of the embodiment of the present application;

[0023] Figure 4 This is the third schematic diagram of the method application of the embodiment of the present application;

[0024] Figure 5 This is the fourth schematic diagram of the application of the method of the embodiment of the present application;

[0025] Figure 6 This is the fifth schematic diagram of the method application of the embodiment of the present application;

[0026] Figure 7 This is the sixth schematic diagram of the application of the method of the embodiment of the present application;

[0027] Figure 8 This is the seventh schematic diagram of the application of the method of the embodiment of the present application;

[0028] Fig. 9 This is the eighth schematic diagram of the method application of the embodiment of the present application;

[0029] Fig.10 For the corresponding Figure 1 The device structure diagram;

[0030] Fig.11 A structural diagram of an electronic device according to an embodiment of the present application;

[0031] Fig.12 This is a structural diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0033] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first target can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0034] The file editing and processing method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0035] like Figure 1 As shown, a file editing processing method in an embodiment of the present application includes:

[0036] Step 101: display a target interface, wherein the target interface includes a target object and a function control, and the function control corresponds to at least one function.

[0037] Here, the target interface is the file editing interface, such as Figure 2 As shown, it includes a setting area 201, an editing function area 202, a content area 203 and other function areas 204. The target object corresponds to the current file to be edited, which can be text, images, tables, documents, recordings, etc. The target object is in the content area 203 of the target interface. The function controls are used to set the current file to be edited, such as the font, font size, text background color, bold, italic and other function controls in the editing function area 202. Step 102, receiving a first input for a first control in the function controls.

[0038] Here, the first input is an operation of the user selecting at least one functional control. Figure 2 As shown, the user selects an operation of at least one function control in the editing function area 202 (such as lightly pressing a function item of adding a text background color), which is the first input. Of course, the first input can select multiple editing functions.

[0039] Step 103, in response to the first input, display a target icon and update a display position of the target icon; wherein the target icon has the same function as that of the first control.

[0040] In this step, the electronic device displays a target icon in response to the received first input, and updates the display position of the target icon so that the next step is subsequently performed based on the target icon. Here, the number of first controls can be one or more. When the first input corresponds to the user selecting a function control, the target icon is displayed as a preset associated icon, such as Figure 2 As shown, corresponding to the user's first input selecting the function item of adding a text background, a target icon 205 is displayed; in the first input corresponding to the user selecting multiple function controls, a target icon is generated and displayed in combination with each function control.

[0041] Step 104: when the target icon at least partially overlaps with a first object among the target objects, setting the first object according to a function corresponding to the target icon.

[0042] Here, the first object is determined based on the position where the target icon and the target object overlap. Taking the text in the content area as an example, assuming that the text in the content area determines the first object in units of paragraphs, such as dragging the target icon into the content area, when the target icon is within the position range of the first paragraph, the first paragraph is the first object; when the target editing icon is within the position range of the second paragraph, the first object is transformed into the second paragraph, and so on. Of course, for the text in the content area, the unit of a single object can also be a single sentence, and for the entire file, the unit of a single object can also be a single picture, table, document, recording, etc.

[0043] In this step, the first object is set according to the display position of the target icon and the function corresponding to the target icon.

[0044] In this way, according to the above steps, the electronic device will first display a target interface including a target object and a function control, and then, based on the received first input, display a target icon for the first control selected by the user, and update the display position of the target icon. Therefore, when the target icon at least partially overlaps with the first object in the target object, the first object is set according to the function corresponding to the target icon, that is, the function corresponding to the first control. This can fully consider the characteristics of touch interaction on the mobile terminal, realize quick operation of the user on the electronic device, and improve the convenience of using the electronic device.

[0045] In this embodiment, in step 103, after displaying the target icon and before updating the display position of the target icon, the method further includes: receiving a fourth input;

[0046] The updating of the display position of the target icon comprises:

[0047] In response to the fourth input, the display position is updated.

[0048] Here, the fourth input is an operation by the user to adjust the position of the target icon, such as dragging the target icon, so as to apply the function corresponding to the first control to the object desired by the user.

[0049] Specifically, Figure 2 As shown, in the editing function area 202, the user taps the function item (first input) of adding a text background color (the background color is set to yellow), and the electronic device displays the target icon 205 in response to the first input. Figure 2 and Figure 3 As shown, the user drags the target editing icon (the fourth input) with his finger, and the electronic device responds to the fourth input by updating the display position of the target icon 205. When the finger is within the position range of the title "Productivity Suite Plan", the title "Productivity Suite Plan" is displayed with a yellow background color; thereafter, if the finger continues to move within the position range of the first segment, the first segment is displayed with a yellow background color, and the title returns to normal, and so on.

[0050] Optionally, in this embodiment, after step 104, the following steps are further included:

[0051] Display selections;

[0052] receiving a fifth input from the user regarding the selection item;

[0053] In response to the fifth input, the second object is determined, and the function setting of the first object except for the second object is canceled.

[0054] That is to say, when the unit of the first object is relatively coarse, for the adjusted first object, the user can make a finer adjustment to the setting object of the function corresponding to the first control by selecting an item.

[0055] For example, Figure 3 As shown, after the user drags the target icon to the position of the title "Productivity Suite Solution" and lets go, the electronic device displays the title "Productivity Suite Solution" with a yellow background. At this time, the edge area of ​​the title "Productivity Suite Solution" will display option 301, which can also be called an adjustment handle. By dragging option 301 (the fifth input), the user can further refine the text range to which the text background color acts, and finally, only the "Kit" in the title, that is, the second object, is displayed with a yellow background.

[0056] In addition, optionally, in this embodiment, after step 104, the following steps are further included:

[0057] receiving a sixth input for the first object;

[0058] In response to the sixth input, a function adjustment interface is displayed, and function options are adjusted based on the function adjustment interface; wherein the function adjustment interface includes at least one function option, and each function option corresponds to one or more functions.

[0059] Here, the sixth input is used to wake up the function adjustment interface, which includes at least one function option, each function option corresponding to a predefined or user-defined function. Therefore, the user can trigger the function option through the function adjustment interface, so that the electronic device can reset the first object according to the selected function.

[0060] For example, Figure 5 As shown, the user long presses the title "Productivity Suite Plan" (sixth input) with a yellow background to call out the function adjustment interface 501. At this time, the function adjustment interface 501 is displayed as a pop-up box, and the function adjustment interface 501 includes function options 1 to 4 corresponding to different text background colors, function option 5 corresponding to font size, function option 6 corresponding to bold, function option 7 corresponding to italic, and function option 8 corresponding to text underline. In this way, for the user to select function option 2 and function option 6, the electronic device will change the background color of the title "Productivity Suite Plan" and bold the title "Productivity Suite Plan". Of course, if the user checks [Apply to all text styles] at the bottom of the function adjustment interface 501, the set function will be applied to all text with text styles in the content area.

[0061] In addition, in this embodiment, a single object in the content area can be regarded as an independent part. Optionally, the target object includes N objects, and the target interface also includes N identifiers corresponding to the N objects respectively. After step 101, the method further includes:

[0062] receiving a second input for a target identifier among the N identifiers;

[0063] In response to the second input, adjusting the object corresponding to the target identifier to be in a target state;

[0064] Wherein, when the object is in the target state, the object can be edited.

[0065] Here, in the target interface, N identifiers corresponding to N objects can be called out by user input, and the N identifiers can display the status of the corresponding objects, that is, whether they are selected, in different forms.

[0066] Thus, for the received second input, when the user selects the object corresponding to the target identifier, the target state of the target identifier is the selected state; when the user cancels the selection of an object, the target state of the target identifier changes from the selected state to the unselected state. For the object in the target state, that is, the object selected by the user, the user can continue to edit.

[0067] For example, Figure 6 As shown, after the user swipes left or right in a single paragraph area, the electronic device displays the marks corresponding to each paragraph on the right side of the content area. The user clicks or swipes left or right in the fourth paragraph area (second input), and the first mark 601 associated with the fourth paragraph is displayed as selected; and since other paragraphs are not selected, the marks corresponding to other paragraphs are displayed as unselected, such as the second mark 602. Among them, the paragraph swiped for the first time enters the selected state by default, and then the paragraph clicked or swiped left or right is deselected.

[0068] For objects in the target state, that is, after a single object (such as a paragraph) is selected, the object adjustment interface can be called up for quick operations. The object adjustment interface includes function items, also known as quick operation controls, so that users can further quickly perform cut, copy, and delete operations on the selected object.

[0069] Of course, the user can also long press the selected object and drag the object to change its position in the content area.

[0070] In addition, for the selected text object, the user can set the text style through at least one function of the editing function area 202. Of course, the user can also call out the target icon through the first input, and then drag the target icon to set the first object based on the selected object.

[0071] Optionally, after adjusting the object corresponding to the target identifier to be in a target state, the method further includes:

[0072] receiving a third input for the target identifier;

[0073] In response to the third input, relevant information of the object corresponding to the target identifier is displayed.

[0074] Optionally, the relevant information includes object information of the object corresponding to the target identifier or editing information of the object corresponding to the target identifier.

[0075] That is, the third input, that is, the user performs an operation on the target identifier, to call out the relevant information of the object selected by the user. Here, the relevant information of the selected object may include the creation time, modification time, number of words in a paragraph, etc. of the object.

[0076] For example, if a user long presses Figure 6 The first mark 601 can display the creation time, the last modification time, the number of words in the paragraph and other information of the fourth paragraph.

[0077] Optionally, in this embodiment, the first control corresponds to a marking function, and after updating the display position of the target icon, the method further includes:

[0078] When the display position of the target icon is at the target position in the target object, displaying a marker at the target position;

[0079] The marker is used to segment the context, and the marker is also used to indicate at least one of the following information:

[0080] The time of inserting the marker;

[0081] Insert the marker at the position;

[0082] The position of the marker on the target interface.

[0083] That is, based on the display position of the target icon, the electronic device will display a marker at the target position when the display position of the target icon is at the target position in the target object to separate the context. Here, the target position is predefined or user-defined, such as the upper position and / or lower position of the target object, to separate the target object from other objects.

[0084] Of course, the marker can be the same as the target icon.

[0085] The marker may be a dividing line that separates the upper and lower contents. The marker may indicate the time when the marker is inserted, the position where the marker is inserted, and the position of the target interface where the marker is located through text or graphic information. Figure 7 As shown by the first marker 701 and the second marker 702, the position information and the time information are located below the dividing line.

[0086] Of course, the marker can be implemented in many forms, which will not be described here.

[0087] As for the position of the marker in the target interface, the height of the content area of ​​the target interface is regarded as the unit of measurement. The marker has a style variable to indicate the position of the marker. If the marker is in the middle of the entire content area, the style variable of the marker indicates 50%. If the marker is at the end of the entire content area, the style variable of the marker indicates 100%, and so on. The implementation of the style variable may be the contrast of two colors, the position of special symbols, percentage numbers, etc.

[0088] For example, Figure 7 As shown, when the user drags the target icon to select the fourth and fifth segments, the first segmentation indicator 701 and the second segmentation indicator 702 are displayed at the upper position of the fourth segment and the lower position of the fifth segment (target position). Moreover, the first marker 701 and the second marker 702 regard the height of the entire content area (display area) as a measurement unit, and indicate their respective positions in the content area by comparing the lengths of the shaded part and the non-shaded part of the dividing line.

[0089] Of course, the marker can be implemented in many forms, which will not be described here.

[0090] It should be noted that when editing the entire file, the user can select a marker to apply to the entire file, such as inserting a marker before and after each paragraph. At this time, the marker style variable will be refreshed every time the content area is edited.

[0091] Optionally, in this embodiment, the first object is an object of a target type, and when the target icon at least partially overlaps with the first object in the target objects, setting the first object according to a function corresponding to the target icon includes:

[0092] In a case where the target icon at least partially overlaps with a first object among the target objects, displaying a target control;

[0093] When an input to the target control is received, all objects of the same type as the first object in the target objects are set according to the function corresponding to the target icon.

[0094] Here, the target control is a quick control for setting functions for all objects of the same type as the first object. That is, when the target icon at least partially overlaps with the first object in the target objects, the electronic device will display the target control so that the user can input the target control, and the input to the target control will be able to set all objects of the target type in the file according to the function corresponding to the target icon.

[0095] For example, the target type is picture, and the corresponding function of the target icon is centering. When receiving input for the target control, all pictures in the current file will be set to be centered.

[0096] Optionally, in this embodiment, the first control corresponds to an object identification function;

[0097] After updating the display position of the target icon, the method further includes:

[0098] A unit identifier is displayed at a corresponding position of each unit in the first object; wherein the units are obtained by dividing the first object based on a preset strategy, and the unit identifier is used to indicate the order of the units in the first object.

[0099] That is, corresponding to the first input, that is, the user selects the object identification function, the electronic device will display the unit identification at the corresponding position of each unit in the first object. Here, the adding position of the unit identification is predefined or user-defined, such as the beginning and / or the end of the first object.

[0100] The unit identifier is a set of identifiers that can indicate the order of the unit in the first object, such as numbers or letters. After the unit identifier is inserted into the first object, the unit identifier changes in order from top to bottom. Assume that the unit identifier is set to letters, such as Figure 8 As shown, after the first segment, the second segment and the third segment are all selected as the first object, the corresponding selection function includes the object identification function, and the first segment, the second segment and the third segment are respectively regarded as single units, and their head ends (second positions) will be displayed as a, b and c respectively.

[0101] Optionally, after the second position display unit identifier of each unit in the first object, the method further includes:

[0102] When an input of the unit identification is received, an identification adjustment interface is displayed; wherein the identification adjustment interface includes at least one adjustment item.

[0103] That is, the user can call out the logo adjustment interface by inputting the unit logo, so that the user can further trigger the adjustment item to adjust the display style of the unit logo. Among them, the adjustment item can trigger the adjustment of the color, size, etc. of the unit logo.

[0104] For example, when the user long presses the unit logo, the electronic device will display the logo adjustment interface, which appears in a pop-up window. The user further triggers the adjustment item in the logo adjustment interface to adjust the color, size, etc. of the unit logo. Among them, the adjusted unit logo changes with the change of the adjustment item parameters. If [Apply to all logos] is checked, the adjustment item acts on all unit logos in the first object.

[0105] Of course, the user can also click on the unit logo to activate the unit logo. The user can switch the size of the unit logo by sliding up and down, and switch the color of the unit logo by sliding left and right.

[0106] It should be noted that when editing the entire file, the user can choose to apply the unit mark to the entire file, such as displaying the unit mark at the beginning of each paragraph. At this time, each time a new unit mark is inserted or a unit mark at a certain position is deleted, all unit marks will change accordingly, showing a new order from top to bottom.

[0107] Optionally, in this embodiment, in this embodiment, the first control corresponds to a template insertion function;

[0108] After updating the display position of the target icon, the method further includes: inserting a target template; wherein the target template includes a text area and / or an image area.

[0109] Here, a target template including a text area and / or an image area is predefined or user-defined. In response to the first input, when the user selects the template insertion function, the electronic device displays the target template when the display position of the target icon is at the target position in the target object. Here, the target position is predefined or user-defined, such as the upper position and / or lower position of the target object.

[0110] The text area of ​​the target template may be a pure text area or an area mainly composed of text; the image area of ​​the target template may be a pure image area or an area mainly composed of image.

[0111] Optionally, after inserting the target template, the following steps are further included:

[0112] Upon receiving input for the target template, adjusting the target item of the target template;

[0113] The target item includes at least one of the following:

[0114] The style of the target template;

[0115] the content of the text area;

[0116] The content of the image region.

[0117] That is, the user adjusts at least one of the target template style, text area content, and image area content through input. Here, the adjustment of the target template style includes but is not limited to adjusting the target template color, adjusting the number of text areas and / or image areas, and quick operations such as cutting, copying, and deleting the target text area and / or image area.

[0118] For example, when the user selects the insert template function, the electronic device will insert the target template at the starting position (target position) in the target object. Fig. 9 As shown, there are 5 areas in total, including text areas and image areas. The user long presses the target template, the target template enters the editing state, and calls out the template adjustment interface (displayed in the form of a pop-up box) to adjust the color of the template and the number of each area. The user clicks the text area, that is, area 1, and enters text in area 1 to replace the original text content. The user clicks the image area, that is, area 3, and edits the image in area 3, including replacing the image, dragging to adjust the image position, pinching to zoom in and out to adjust the image size, etc.

[0119] In summary, the method of the embodiment of the present application fully considers the characteristics of touch interaction on the mobile terminal and can better meet the user's needs for editing files on the mobile terminal.

[0120] The file editing method provided in the embodiment of the present application can be executed by a file editing device. The method of executing file editing by a file editing device is taken as an example to illustrate the file editing device provided in the embodiment of the present application.

[0121] like Fig.10 As shown, a file editing and processing device according to an embodiment of the present application includes:

[0122] A first display module 1010, configured to display a target interface, wherein the target interface includes a target object and a function control, wherein the function control corresponds to at least one function;

[0123] A first receiving module 1020, configured to receive a first input for a first control in the functional controls;

[0124] The second display module 1030 is used to display a target icon in response to the first input, and update the display position of the target icon; wherein the target icon has the same function as the first control;

[0125] The first processing module 1040 is configured to, when the target icon at least partially overlaps with a first object among the target objects, set the first object according to a function corresponding to the target icon.

[0126] The device will first display a target interface including a target object and a functional control, and then, based on the received first input, display a target icon for the first control selected by the user, and update the display position of the target icon, so that when the target icon at least partially overlaps with the first object in the target object, the first object is set according to the function corresponding to the target icon, that is, the function corresponding to the first control, which can fully consider the characteristics of touch interaction on the mobile terminal, realize quick operation of the user on the electronic device, and improve the convenience of using the electronic device.

[0127] Optionally, the target object includes N objects, the target interface also includes N identifiers corresponding to the N objects respectively, and the device further includes:

[0128] A second receiving module, used to receive a second input for a target identifier among the N identifiers;

[0129] A second processing module, configured to adjust the object corresponding to the target identifier to be in a target state in response to the second input;

[0130] Wherein, when the object is in the target state, the object can be edited.

[0131] Optionally, the device further comprises:

[0132] A third receiving module, used for receiving a third input for the target identifier;

[0133] A third display module is used to display relevant information of the object corresponding to the target identifier in response to the third input.

[0134] Optionally,

[0135] The first control corresponds to a marking function, and the device further includes:

[0136] A fourth display module, configured to display a marker at the target position when the display position of the target icon is at the target position in the target object;

[0137] The marker is used to segment the context, and the marker is also used to indicate at least one of the following information:

[0138] The time of inserting the marker;

[0139] Insert the marker at the position;

[0140] The position of the marker on the target interface.

[0141] Optionally, the first object is an object of a target type, and the first processing module includes:

[0142] A display submodule, configured to display a target control when the target icon at least partially overlaps with a first object among the target objects;

[0143] A processing submodule is used to set all objects of the same type as the first object in the target object according to the function corresponding to the target icon when an input to the target control is received.

[0144] The file editing and processing device of the embodiment of the present application fully considers the characteristics of touch interaction on the mobile terminal, and can better meet the user's needs for editing files on the mobile terminal.

[0145] The file editing and processing 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 it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0146] The file editing and processing 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.

[0147] The file editing and processing device provided in the embodiment of the present application can achieve Figures 1 to 9 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0148] Alternatively, if Fig.11As shown, an embodiment of the present application further provides an electronic device 1100, including a processor 1101 and a memory 1102, wherein the memory 1102 stores programs or instructions that can be executed on the processor 1101, and when the program or instructions are executed by the processor 1101, the various steps of the above-mentioned file editing processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0149] 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.

[0150] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0151] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210 and other components.

[0152] Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0153] The display unit 1206 is used to display a target interface, wherein the target interface includes a target object and a function control, and the function control corresponds to at least one function;

[0154] An input unit 1204, configured to receive a first input for a first control in the functional controls;

[0155] The display unit 1206 is used to display a target icon in response to the first input, and update the display position of the target icon; wherein the target icon has the same function as the first control;

[0156] The processor 1210 is configured to set a first object among the target objects according to a function corresponding to the target icon when the target icon at least partially overlaps with the first object.

[0157] The electronic device will first display a target interface including a target object and a functional control, and then, based on the received first input, display a target icon for the first control selected by the user, and update the display position of the target icon. Thus, when the target icon at least partially overlaps with the first object in the target object, the first object is set according to the function corresponding to the target icon, that is, the function corresponding to the first control. This can fully consider the characteristics of touch interaction on the mobile terminal, enable users to quickly operate the electronic device, and improve the convenience of using the electronic device.

[0158] Optionally, the target object includes N objects, and the target interface further includes N identifiers corresponding to the N objects respectively.

[0159] The input unit 1204 is further configured to receive a second input for a target identifier among the N identifiers;

[0160] The processor 1210 is further configured to adjust the object corresponding to the target identifier to be in a target state in response to the second input;

[0161] Wherein, when the object is in the target state, the object can be edited.

[0162] Optionally, the input unit 1204 is further configured to receive a third input for the target identifier;

[0163] The display unit 1206 is further configured to display relevant information of the object corresponding to the target identifier in response to the third input.

[0164] Optionally, the first control corresponds to a marking function,

[0165] The display unit 1206 is further configured to display a marker at the target position when the display position of the target icon is at the target position in the target object;

[0166] The marker is used to segment the context, and the marker is also used to indicate at least one of the following information:

[0167] The time of inserting the marker;

[0168] Insert the marker at the position;

[0169] The position of the marker on the target interface.

[0170] Optionally, the first object is an object of a target type,

[0171] The display unit 1206 is further configured to display a target control when the target icon at least partially overlaps with a first object among the target objects;

[0172] The processor 1210 is also used to, when receiving an input for the target control, set all objects of the same type as the first object in the target object according to the function corresponding to the target icon. It should be understood that in an embodiment of the present application, the input unit 1204 may include a graphics processor (GPU) 12041 and a microphone 12042, and the graphics processor 12041 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 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 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.

[0173] The memory 1209 can be used to store software programs and various data. The memory 1209 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, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1209 may include a volatile memory or a non-volatile memory, or the memory 1209 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 1209 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0174] The processor 1210 may include one or more processing units; optionally, the processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1210.

[0175] 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, each process of the above-mentioned file editing processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0176] 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.

[0177] 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 file editing processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0178] 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.

[0179] 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 file editing processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0180] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out 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 reverse 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.

[0181] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0182] 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 the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A file editing method, characterized in that: include: Display a target interface, wherein the target interface includes a target object and a function control, and the function control corresponds to at least one function; receiving a first input for a first control in the functional controls; In response to the first input, a target icon is displayed, and a display position of the target icon is updated; wherein the target icon has the same function as the first control; In a case where the target icon at least partially overlaps with a first object among the target objects, setting the first object according to a function corresponding to the target icon; The first control corresponds to a marking function, and after updating the display position of the target icon, the method further includes: When the display position of the target icon is at the target position in the target object, displaying a marker at the target position; The marker is used to segment the context, and the marker is also used to indicate at least one of the following information: The time of inserting the marker; Insert the marker at the position; The position of the marker on the target interface.

2. The method according to claim 1, characterized in that: The target object includes N objects, the target interface also includes N identifiers corresponding to the N objects respectively, and after displaying the target interface, the method further includes: receiving a second input for a target identifier among the N identifiers; In response to the second input, adjusting the object corresponding to the target identifier to be in a target state; Wherein, when the object is in the target state, the object can be edited.

3. The method according to claim 2, characterized in that After adjusting the object corresponding to the target identifier to be in a target state, the method further includes: receiving a third input for the target identifier; In response to the third input, relevant information of the object corresponding to the target identifier is displayed.

4. The method according to claim 1, characterized in that The first object is a target type object, and when the target icon at least partially overlaps with the first object in the target objects, setting the first object according to a function corresponding to the target icon includes: In a case where the target icon at least partially overlaps with a first object among the target objects, displaying a target control; When an input to the target control is received, all objects of the same type as the first object in the target objects are set according to the function corresponding to the target icon.

5. A file editing and processing device, characterized in that: include: A first display module, used to display a target interface, wherein the target interface includes a target object and a function control, wherein the function control corresponds to at least one function; A first receiving module, configured to receive a first input for a first control in the functional controls; a second display module, configured to display a target icon in response to the first input, and update a display position of the target icon; wherein the target icon has the same function as that of the first control; A first processing module, configured to, when the target icon at least partially overlaps with a first object among the target objects, set the first object according to a function corresponding to the target icon; The first control corresponds to a marking function, and the device further includes: A fourth display module, configured to display a marker at the target position when the display position of the target icon is at the target position in the target object; The marker is used to segment the context, and the marker is also used to indicate at least one of the following information: The time of inserting the marker; Insert the marker at the position; The position of the marker on the target interface.

6. The device according to claim 5, characterized in that The target object includes N objects, the target interface also includes N identifiers corresponding to the N objects respectively, and the device also includes: A second receiving module, configured to receive a second input for a target identifier among the N identifiers; A second processing module, configured to adjust the object corresponding to the target identifier to be in a target state in response to the second input; Wherein, when the object is in the target state, the object can be edited.

7. The device according to claim 6, characterized in that Also includes: A third receiving module, configured to receive a third input for the target identifier; A third display module is used to display relevant information of the object corresponding to the target identifier in response to the third input.

8. The device according to claim 5, characterized in that The first object is a target type object, and the first processing module includes: A display submodule, configured to display a target control when the target icon at least partially overlaps with a first object among the target objects; A processing submodule is used to set all objects of the same type as the first object in the target object according to the function corresponding to the target icon when an input to the target control is received.

9. An electronic device, characterized in that: The method comprises 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 file editing processing method according to any one of claims 1 to 4 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the file editing processing method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method of copying multiple text segments and mobile terminal

    CN107967093A

  • Word processing method and device, mobile terminal and storage medium

    CN108763193A

  • Document editing method and device

    CN109445657A

  • File editing method and device

    CN109492204A

  • Arrangement file generation method and device and electronic equipment

    CN110795148A