Information input method and device
By providing multiple input templates on the editing page, users can select appropriate templates for information input, which solves the problem of low information input efficiency in the existing technology, realizes automatic display of information according to the target, and improves operational efficiency and flexibility. .
Patent Information
- Application Number
- CN202111119724.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-09-24
AI Technical Summary
In the existing technology, when users input information on the editing page, they need to frequently select and edit to display different information, resulting in low operating efficiency.
An information input method and device are provided. By displaying multiple input templates on an editing page, the user can select a suitable template for information input. The displayed information corresponding to the template will be automatically applied after input, reducing information editing operations.
It improves the operational efficiency for users to input different information in the editing page to display the information differently, reduces the number of times of information editing, and enhances the flexibility and efficiency of information input.
Smart Images

Figure CN113805709B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to an information input method and device. Background Art
[0002] With the popularization of electronic devices, more and more users use electronic devices to record daily matters, such as bills, experiences, and other text-related matters.
[0003] In the process of implementing the present application, the inventors found that there are at least the following problems in the prior art: since the information input into the editing page in the prior art is displayed as the default display information, after information A is input into the editing page, information A is displayed as the default display information. If it is desired that information A is displayed as the target display information, it is necessary to first select information A in the editing page to edit the display information of information A so that information A is displayed as the target display information.
[0004] In the above manner, if the user wishes to display different information inputted in the editing page with different display information, the information selection operation and the editing operation of the display information of the information need to be frequently performed, which is inefficient. Summary of the invention
[0005] The embodiments of the present application provide an information input method and device, which can solve the problem of low operating efficiency when different information that a user expects to input in an editing page is displayed as different display information.
[0006] To solve the above problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides an information input method, comprising:
[0008] Receiving a first editing input to the editing page;
[0009] N input templates are displayed on the editing page, where N is a positive integer;
[0010] Displaying a first input template selected from the N input templates in the editing page;
[0011] receiving information input to the first input template, wherein the information input is used to input first information into the first input template;
[0012] In response to the information input, the first information is displayed in the editing page according to the first display information corresponding to the first input template.
[0013] In a second aspect, an embodiment of the present application further provides an information input device, comprising:
[0014] The first display module is used to display N input templates on the editing page, where N is a positive integer;
[0015] A second display module, configured to display a first input template selected from the N input templates on the editing page;
[0016] A second receiving module, used for receiving information input to the first input template, wherein the information input is used for inputting first information into the first input template;
[0017] A third display module is used to display the first information in the editing page in response to the information input according to the first display information corresponding to the first input template.
[0018] In a third aspect, an embodiment of the present application further provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the information input method as described in the first aspect.
[0019] In a fourth aspect, an embodiment of the present application further provides a readable storage medium having a program or instruction stored thereon, wherein the program or instruction, when executed by a processor, implements the information input method as described in the first aspect.
[0020] 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.
[0021] In the embodiment of the present application, if the user expects certain information entered in the editing page to be displayed as the target display information, before entering this information, an input template whose display information is close to or the same as the target display information can be selected, and then this information can be entered in the selected input template. In this way, the display information of this information can be close to or consistent with the target display information without editing after the information is entered. It can be seen that in this way, if the user expects different information entered in the editing page to be displayed as different display information, it is only necessary to enter the corresponding information in the corresponding input template, thereby improving the operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0023] Figure 1is a flow chart of the information input method provided by an embodiment of the present application;
[0024] Figure 2 is a display schematic diagram of an editing page provided in an embodiment of the present application;
[0025] Figure 3 is a structural diagram of an information input device provided in an embodiment of the present application;
[0026] Figure 4 It is one of the structural diagrams of the electronic device provided in the embodiment of the present application;
[0027] Figure 5 This is the second structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments 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 without creative work are within the scope of protection of this application.
[0029] 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 object 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.
[0030] The information input method provided by the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.
[0031] See also Figure 1 , Figure 1 This is one of the flow charts of the information input method provided in the embodiment of the present application. Figure 1 As shown, the information input method may include the following steps:
[0032] Step 101: Display N input templates on the editing page, where N is a positive integer.
[0033] In the first implementation mode, the electronic device can display the N input templates on the editing page when the editing page is opened; in the second implementation mode, the electronic device can display the N input templates on the editing page in response to the first input after opening the editing page and receiving the first input. The specific implementation can be determined based on actual conditions and is not limited to this in the embodiments of the present application.
[0034] For the second implementation, if the electronic device does not receive the first input, the user can directly enter information in the editing page, and the input information is displayed according to the default display of the editing page. In specific implementation, the first input can be a touch input to a target control in the editing page, and the target control is used to call the N input templates. The target control can always be displayed on the editing page or called by other inputs. The first editing input can also be an input for flipping the electronic device or a sliding input with a preset sliding direction, etc., which can be determined according to actual conditions, and the embodiments of the present application do not limit this.
[0035] In an embodiment of the present application, the N input templates may include: at least one text input template and at least one picture input template.
[0036] In a specific implementation, in one implementation, each input template can display its corresponding name and display information. In another implementation, each text input template displays the same text according to its corresponding text display information, and each picture input template displays the same picture according to its corresponding picture display information. In this way, it is convenient for the user to distinguish the display information corresponding to the N input templates, so that the user can select the required input template from the N input templates based on their own needs, so that the information entered in the input template can be close to or meet their own needs without editing after input, thereby reducing the probability of editing the information.
[0037] The text display information corresponding to the text input template may include at least one of the following: text display style, font, font size, font color, font bold, italic, underline, transparency, highlight color, paragraph display style, etc.
[0038] The text display style may include but is not limited to at least one of the following:
[0039] Text display style 1: No serial number or subtitle is set for each paragraph of the text;
[0040] Text display style 2: Each paragraph of the text is set with a serial number;
[0041] Text display style 3: Each paragraph of text is set with a subheading.
[0042] It is understandable that there is at least one difference in the text display information corresponding to different text input templates, such as: the font in the text display information corresponding to text input template 1 is Songti, and the font in the text display information corresponding to text input template 2 is Kaiti.
[0043] The picture display information corresponding to the picture input template may include: picture display style, picture display size, picture display ratio, shadow, etc.
[0044] The image display style may include but is not limited to at least one of the following:
[0045] Image display style 1: The image has no border;
[0046] Image display style 2: The image is set with a specific border.
[0047] It is understandable that there is at least one difference in the image display information corresponding to different image input templates, such as: the image display ratio in the image display information corresponding to image input template 1 is 16:9, and the image display ratio in the image display information corresponding to image input template 2 is 3:2.
[0048] Step 102: Display a first input template selected from the N input templates in the editing page.
[0049] In specific implementation, the first input template may include at least one input template, which can be determined according to actual needs and is not limited in this embodiment of the present application.
[0050] When the number of input templates included in the first input template is greater than 1, the first input template may include at least one input template of the N input templates, and the number of input templates included in the first input template may be less than, equal to or greater than N; the first input templates may be displayed in the editing page in sequence according to the selection order. It can be understood that the user can subsequently adjust the display order of the input templates according to his or her own needs. In actual applications, it can be adjusted on the same page or across pages. The specific adjustment can be determined according to actual needs, and the embodiments of the present application do not limit this.
[0051] For ease of understanding, the following examples are provided:
[0052] Assume that the N input templates include 4 input templates, namely: text input template 1, text input template 2, picture input template a and picture input template b, and the user selects from the N input templates: text input template 1, picture input template a, text input template 2, picture input template a and text input template 2 in sequence. In this case, the first input template includes 5 input templates. Figure 2As shown, the screen is displayed in a vertical orientation, and the editing pages can be displayed from top to bottom in order: text input template 1, image input template a, text input template 2, image input template a, and text input template 2. Figure 2 In the figure, text input template 1 is marked as 21, image input template a is marked as 22, and text input template 2 is marked as 23.
[0053] It should be noted that, for ease of understanding, the information input method of an embodiment of the present application is described below using the first input template as one of the N input templates as an example, but this does not limit the number and form of expression of input templates included in the first input template.
[0054] Step 103: Receive information input to the first input template, where the information input is used to input first information into the first input template.
[0055] In a specific implementation, the first information matches the type of the first input template. For example, when the first input module is a text input module, the first information is text; when the first input module is a picture input module, the first information is a picture.
[0056] Step 104: In response to the information input, display the first information in the editing page according to the first display information corresponding to the first input template.
[0057] It can be understood that the display information of the first information is the first display information.
[0058] It can be seen that in an embodiment of the present application, if the user expects the first information to be displayed according to the first display information, the user can select the first input template before entering the first information to enter the first information in the first input template. In this way, the first information can be displayed according to the first display information without editing after input, thereby reducing the probability of editing the information.
[0059] It should be noted that second information that does not match the type of the first input template can also be input into the first input template. For example, when the first input module is a text input module, the second information is a picture; when the first input module is a picture input module, the second information is text. For the second information, the electronic device can display it according to the default text display information or picture display information of the editing page.
[0060] In the information input method of this embodiment, if the user expects certain information entered in the editing page to be displayed as the target display information, before entering the information, an input template whose display information is close to or the same as the target display information can be selected, and the information can be entered in the selected input template. In this way, the display information of the information can be close to or consistent with the target display information without editing after the information is entered. In this way, if the user expects different information entered in the editing page to be displayed as different display information, it is only necessary to enter the corresponding information in the corresponding input template, thereby improving the operation efficiency and reducing the number of times the information is edited.
[0061] After the electronic device displays the first information input in the first input template in the editing page according to the display information corresponding to the first input template, the user can change the display information of part or all of the first information, as described below.
[0062] Optionally, in response to the information input, after displaying the first information on the editing page according to the first display information corresponding to the first input template, the method further includes:
[0063] receiving a first editing input of the first information;
[0064] In response to the first editing input, M information division modes are displayed, where M is a positive integer;
[0065] Selecting a first information division method from the M information division methods, and dividing the first information according to the first information division method to obtain P sub-information, where P is a positive integer;
[0066] The display information of the first information is edited based on the sub-information granularity.
[0067] The first editing input may be, but is not limited to, an input of selecting the first information; or a pressing input of a display area of the first information.
[0068] Displaying M information division methods can be understood as: displaying the names of the M information division methods, and further, the division descriptions of the M information division methods can also be displayed.
[0069] In the case where the first information is text, the M information division methods may include at least one of the following: a line division method, that is, dividing a line of text into a sub-information; a word division method, that is, dividing a word into a sub-information.
[0070] When the first information is a picture, the M information division methods may include at least one of the following: division by pixel number, i.e., dividing a specific number of pixels into one sub-information; division by object imaging, i.e., dividing the imaging of an object into one sub-information.
[0071] The first information division manner may be any one of the M information division manners. After the electronic device divides the first information into P sub-information according to the first information division manner, it may edit display information of the first information based on the sub-information as a granularity.
[0072] Granularity can be understood as the editing unit of display information. For different sub-information, the display information can be edited independently, and the display information of different sub-information can be the same or different after editing. The specific information can be determined according to the actual situation, and the embodiments of the present application do not limit this. For example, the electronic device can edit the display information of at least one sub-information in the first information, and the display information of different sub-information in the first information can be the same or different after editing.
[0073] In this optional implementation, before editing the display information of the first information, the first information may be divided first, so that the display information of part or all of the first information may be edited based on the divided granularity, thereby improving the flexibility of editing.
[0074] Optionally, editing the display information of the first information based on the sub-information as a granularity includes:
[0075] Determine the first sub-information among the P sub-information;
[0076] In case that a second editing input related to the first sub-information is received, the first sub-information is displayed according to second display information, and the second display information is determined based on the second editing input.
[0077] The first sub-information may include part or all of the P sub-information.
[0078] In a specific implementation, in one implementation manner, the first sub-information may be determined by selecting all contents of the first sub-information.
[0079] In another implementation manner, optionally, the determining the first sub-information in the P sub-information includes:
[0080] receiving a press input to a first area of the editing page;
[0081] In response to the pressing input, the sub-information corresponding to the first area is determined as the first sub-information among the P sub-information.
[0082] The sub-information corresponding to the first area can be understood as: the sub-information to which the information displayed in the first area belongs. In this implementation, the first sub-information can be determined by pressing a portion of the display area of the first information without selecting the entire content of the first sub-information, thereby improving the speed and accuracy of determining the first sub-information.
[0083] It should be noted that the above implementation method is only an example. The embodiment of the present application does not limit the method for determining the first sub-information. Any method that can determine the first sub-information from the P sub-information can fall within the protection scope of the embodiment of the present application.
[0084] After determining the first sub-information, the electronic device may edit the display information of the first sub-information in response to the received second editing input, so that the first sub-information is displayed according to the second display information.
[0085] In a specific implementation, in one implementation, the second editing input may be: a second editing input for the first sub-information, and the second editing input is used to determine the second display information of the first sub-information. In this implementation, the electronic device may directly display the first sub-information based on the second display information determined by the second editing input.
[0086] In another implementation, optionally, the second editing input includes a first sub-input and a second sub-input;
[0087] The method of displaying the first sub-information according to second display information when receiving a second editing input related to the first sub-information includes:
[0088] receiving the first sub-input of the first sub-information, where the first sub-input is used to determine second display information of the first sub-information;
[0089] In response to the first sub-input, display a preview page, display the first sub-information on the preview page according to the second display information, and display second sub-information according to the first display information, where the second sub-information is other information in the first information except the first sub-information;
[0090] receiving the second sub-input for the preview page;
[0091] In response to the second sub-input, in a case where the second sub-input is for confirming display of the preview page, the first sub-information is displayed in the edit page according to the second display information.
[0092] In this implementation, the second editing input includes a first sub-input and a second sub-input, and the first sub-input is used to determine second display information of the first sub-information and trigger the electronic device to display a preview page.
[0093] The preview page can be displayed floating above the edit page. The difference between the preview page and the edit page is mainly that the display information of the first sub-information is different. Specifically, when the electronic device displays the preview page, the first sub-information in the edit page is still displayed with the first display information, while the first sub-information in the preview page is displayed with the second display information. The preview page allows the user to preview whether the overall situation of the first information meets the user's needs when the first sub-information is displayed with the second display information.
[0094] For ease of understanding, the following examples are provided:
[0095] Assume that the first information includes sub-information a and sub-information b, the first sub-information is sub-information a, the first display information is displayed in a font of Songti, and the second information is displayed in a font of Kaiti.
[0096] Then, in the editing page, sub-information a and sub-information b are both displayed in Songti, while in the preview page, sub-information a is displayed in Kaiti and sub-information b is displayed in Songti.
[0097] The second sub-input is used to confirm or deny the display of the preview page, that is, to confirm whether to put the display of the preview page into actual use, that is, whether to display the first sub-information in the editing page according to the second display information.
[0098] When the second sub-input is used to confirm the display of the preview page, it means that when the first sub-information is displayed with the second display information, the overall situation of the first information meets the user's needs, and the electronic device can display the first sub-information in the editing page according to the second display information.
[0099] In the case where the second sub-input is used to deny the display of the preview page, it means that when the first sub-information is displayed with the second display information, the overall situation of the first information does not meet the user's needs, and the electronic device can maintain the display information of the first sub-information in the editing page unchanged, that is, the first sub-information is still displayed in the editing page according to the first display information. It can be understood that the user can continue to edit the display information of the first sub-information until it meets his own needs.
[0100] In this implementation, before applying the new display information of the first sub-information to the editing page, a preview page can be displayed for the user to confirm whether to apply the new display information of the first sub-information to the editing page, thereby reducing subsequent changes to the display information of the first sub-information and improving information operation efficiency.
[0101] It should be noted that the various optional implementation modes introduced in the embodiments of the present application can be implemented in combination with each other or separately if they do not conflict with each other, and the embodiments of the present application are not limited to this.
[0102] For ease of understanding, the following examples are provided:
[0103] In the following example, the edit page is represented as a bookmark.
[0104] In this example, when a user is using a mobile phone note to edit text, the text can be recognized and segmented to extract and mark target words, which not only improves the efficiency of text editing, but also improves the user's operating experience when using the note.
[0105] The information input method of this example may include the following steps:
[0106] Step 1: Enter the notepad, select modular input, and N input templates will be displayed.
[0107] Step 2: Determine the input object (text and / or picture), and select a corresponding input template from the N input templates.
[0108] Taking the mixed information display mode of pictures and texts as an example, the selected input modules may be text input template one, picture input template one, and text input template two.
[0109] Select text input template 1 and enter text content A.
[0110] Select picture input template 1 and select picture a.
[0111] Text input template 2, input text content B.
[0112] Step 3: Edit the text.
[0113] Choose to edit text content A, and the segmentation methods such as line segmentation and word segmentation will pop up.
[0114] Word segmentation by line: Automatically adjust through modular text input box mirroring, and perform word segmentation according to the adjusted number of lines.
[0115] Word segmentation: segment text by words.
[0116] After dividing the lines and words, you can edit the selected lines separately. The editing range includes but is not limited to the following options: bold, italic, color, font change, transparency, underline. You can edit directly after selecting the corresponding word.
[0117] If the user chooses to edit the image, the editing methods include: size, arrangement order, shadow, etc. After the user completes the editing, he can directly preview it and complete the editing after confirming that it is correct.
[0118] By providing line-by-line and word-by-word segmentation methods, users can process text more conveniently and quickly complete text editing operations, thereby improving the user's editing experience.
[0119] This example can provide automatic typesetting function. If multiple pages are involved, you can directly switch between different pages, move the position and order of modular text, etc.
[0120] It should be noted that the information input method provided in the embodiment of the present application can be executed by an information input device, or a control module in the information input device for executing the information input method. In the embodiment of the present application, the information input device provided in the embodiment of the present application is described by taking the information input method executed by the information input device as an example.
[0121] See also Figure 3 , Figure 3 It is a structural diagram of the information input device provided in an embodiment of the present application.
[0122] like Figure 3 As shown, the information input device 300 includes:
[0123] The first display module 301 is used to display N input templates on the editing page, where N is a positive integer;
[0124] A second display module 302, configured to display a first input template selected from the N input templates on the editing page;
[0125] A first receiving module 303, configured to receive information input to the first input template, wherein the information input is used to input first information into the first input template;
[0126] The third display module 304 is used to display the first information in the editing page in response to the information input according to the first display information corresponding to the first input template.
[0127] Optionally, the information input device 300 further includes:
[0128] A second receiving module, configured to receive a first editing input of the first information;
[0129] a fourth display module, configured to display M information division modes in response to the first editing input, where M is a positive integer;
[0130] a division module, configured to select a first information division method from the M information division methods, and divide the first information according to the first information division method to obtain P sub-information, where P is a positive integer;
[0131] The editing module is used to edit the display information of the first information based on the granularity of the sub-information.
[0132] Optionally, the editing module includes:
[0133] A determination submodule, used to determine the first sub-information among the P sub-information;
[0134] The display submodule is configured to display the first sub-information according to second display information when receiving a second editing input related to the first sub-information, wherein the second display information is determined based on the second editing input.
[0135] Optionally, the determining submodule includes:
[0136] A first receiving unit, configured to receive a pressing input to a first area of the editing page;
[0137] A determination unit is used to determine the sub-information corresponding to the first area as the first sub-information among the P sub-information in response to the pressing input.
[0138] Optionally, the second editing input includes a first sub-input and a second sub-input;
[0139] The display submodule is used for:
[0140] a second receiving unit, configured to receive the first sub-input of the first sub-information, wherein the first sub-input is used to determine second display information of the first sub-information;
[0141] a first display unit, configured to display a preview page in response to the first sub-input, display the first sub-information on the preview page according to the second display information, and display second sub-information according to the first display information, wherein the second sub-information is other information in the first information except the first sub-information;
[0142] A third receiving unit, configured to receive the second sub-input on the preview page;
[0143] The second display unit is configured to respond to the second sub-input and, when the second sub-input is for confirming the display of the preview page, display the first sub-information in the editing page according to the second display information.
[0144] The information input device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0145] The information input 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.
[0146] The information input device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the information input device in the method embodiment will not be described here.
[0147] Optional, such as Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction (not shown in the figure) stored in the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, each process of the above-mentioned information input method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0148] 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.
[0149] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0150] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
[0151] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 150 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 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.
[0152] The display unit 506 is used to display N input templates on the editing page, where N is a positive integer; and to display a first input template selected from the N input templates on the editing page;
[0153] An input unit 504, configured to receive information input to the first input template, wherein the information input is used to input first information into the first input template;
[0154] The display unit 506 is configured to display the first information in the editing page in response to the information input according to the first display information corresponding to the first input template.
[0155] Optionally, the input unit 504 is used to receive a first editing input of the first information;
[0156] A display unit 506, configured to display M information division modes in response to the first editing input, where M is a positive integer;
[0157] Processor 510 is used to select a first information division method from the M information division methods, divide the first information according to the first information division method to obtain P sub-information, where P is a positive integer; and edit display information of the first information based on the sub-information as the granularity.
[0158] Optionally, the processor 510 is configured to determine first sub-information among the P sub-information;
[0159] The display unit 506 is configured to display the first sub-information according to second display information when the input unit 504 receives a second editing input related to the first sub-information, wherein the second display information is determined based on the second editing input.
[0160] Optionally, the input unit 504 is used to receive a press input to the first area of the editing page;
[0161] The processor 510 is configured to determine, in response to the pressing input, the sub-information corresponding to the first area as the first sub-information among the P sub-information.
[0162] Optionally, the second editing input includes a first sub-input and a second sub-input;
[0163] An input unit 504 is used to receive the first sub-input of the first sub-information, where the first sub-input is used to determine second display information of the first sub-information;
[0164] A display unit 506 is configured to display a preview page in response to the first sub-input, display the first sub-information on the preview page according to the second display information, and display second sub-information according to the first display information, where the second sub-information is other information in the first information except the first sub-information;
[0165] An input unit 504, configured to receive the second sub-input for the preview page;
[0166] The display unit 506 is configured to, in response to the second sub-input, display the first sub-information in the editing page according to the second display information when the second sub-input is for confirming the display of the preview page.
[0167] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 509 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 510 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.
[0168] 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 information input method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0169] The processor is a 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.
[0170] 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 information input method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated.
[0171] 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.
[0172] 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.
[0173] 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 software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0174] 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 method for inputting information, It is characterized in that include: N input templates are displayed on the editing page, where N is a positive integer; Displaying a first input template selected from the N input templates on the editing page, wherein the number of input templates included in the first input template is greater than 1; receiving information input from a user in the first input template, wherein the information input is used to input first information in the first input template; In response to the information input, the first information is displayed in the editing page according to the first display information corresponding to the first input template.
2. The method according to claim 1, It is characterized in that In response to the information input, after displaying the first information on the editing page according to the first display information corresponding to the first input template, the method further includes: receiving a first editing input of the first information; In response to the first editing input, M information division modes are displayed, where M is a positive integer; Selecting a first information division method from the M information division methods, and dividing the first information according to the first information division method to obtain P sub-information, where P is a positive integer; The display information of the first information is edited based on the sub-information granularity.
3. The method according to claim 2, It is characterized in that The editing the display information of the first information based on the sub-information as the granularity includes: Determine the first sub-information among the P sub-information; In case that a second editing input related to the first sub-information is received, the first sub-information is displayed according to second display information, and the second display information is determined based on the second editing input.
4. The method according to claim 3, It is characterized in that The determining the first sub-information among the P sub-information includes: receiving a press input to a first area of the editing page; In response to the pressing input, the sub-information corresponding to the first area is determined as the first sub-information among the P sub-information.
5. The method according to claim 3, It is characterized in that The second editing input includes a first sub-input and a second sub-input; The method of displaying the first sub-information according to second display information when receiving a second editing input related to the first sub-information includes: receiving the first sub-input of the first sub-information, where the first sub-input is used to determine second display information of the first sub-information; In response to the first sub-input, display a preview page, display the first sub-information on the preview page according to the second display information, and display second sub-information according to the first display information, where the second sub-information is other information in the first information except the first sub-information; receiving the second sub-input for the preview page; In response to the second sub-input, in a case where the second sub-input is for confirming display of the preview page, the first sub-information is displayed in the edit page according to the second display information.
6. An information input device, It is characterized in that include: The first display module is used to display N input templates on the editing page, where N is a positive integer; A second display module is used to display a first input template selected from the N input templates in the editing page, wherein the number of input templates included in the first input template is greater than 1; A first receiving module, used for receiving information input from a user in the first input template, wherein the information input is used for inputting first information in the first input template; A third display module is used to display the first information in the editing page in response to the information input according to the first display information corresponding to the first input template.
7. The information input device according to claim 6, It is characterized in that The information input device also includes: A second receiving module, configured to receive a first editing input of the first information; a fourth display module, configured to display M information division modes in response to the first editing input, where M is a positive integer; a division module, configured to select a first information division method from the M information division methods, and divide the first information according to the first information division method to obtain P sub-information, where P is a positive integer; The editing module is used to edit the display information of the first information based on the granularity of the sub-information.
8. The information input device according to claim 7, It is characterized in that The editing module comprises: A determination submodule, used to determine the first sub-information among the P sub-information; The display submodule is configured to display the first sub-information according to second display information when receiving a second editing input related to the first sub-information, wherein the second display information is determined based on the second editing input.
9. The information input device according to claim 8, It is characterized in that The determination submodule comprises: A first receiving unit, configured to receive a pressing input to a first area of the editing page; A determination unit is used to determine the sub-information corresponding to the first area as the first sub-information among the P sub-information in response to the pressing input.
10. The information input device according to claim 8, It is characterized in that The second editing input includes a first sub-input and a second sub-input; The display submodule is used for: a second receiving unit, configured to receive the first sub-input of the first sub-information, wherein the first sub-input is used to determine second display information of the first sub-information; a first display unit, configured to display a preview page in response to the first sub-input, display the first sub-information on the preview page according to the second display information, and display second sub-information according to the first display information, wherein the second sub-information is other information in the first information except the first sub-information; A third receiving unit, configured to receive the second sub-input on the preview page; The second display unit is configured to respond to the second sub-input and, when the second sub-input is for confirming the display of the preview page, display the first sub-information in the editing page according to the second display information.
11. An electronic device, It is characterized in that The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the information input method as claimed in any one of claims 1 to 5.
12. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the information input method according to any one of claims 1 to 5 are implemented.
