WO2023045922A1 - 信息输入方法、装置 - Google Patents

信息输入方法、装置 Download PDF

Info

Publication number
WO2023045922A1
WO2023045922A1 PCT/CN2022/119903 CN2022119903W WO2023045922A1 WO 2023045922 A1 WO2023045922 A1 WO 2023045922A1 CN 2022119903 W CN2022119903 W CN 2022119903W WO 2023045922 A1 WO2023045922 A1 WO 2023045922A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
input
sub
display
editing
Prior art date
Application number
PCT/CN2022/119903
Other languages
English (en)
French (fr)
Inventor
彭业
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023045922A1 publication Critical patent/WO2023045922A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to an information input method and device.
  • the inventor found that at least the following problems exist in the related art: since the information entered in the editing page in the related art is displayed with the default display information, after information A is input on the editing page, the information A is displayed in the default Display information display. If information A is desired to be displayed as target display information, it is necessary to select information A on the edit page to edit the display information of information A, so that information A is displayed as target display information.
  • Embodiments of the present application provide an information input method and device, which can solve the problem of low operation efficiency when different information input by a user on an editing page is expected to be displayed with different display information.
  • the embodiment of the present application provides an information input method, including:
  • N is a positive integer
  • the first information is displayed on the editing page according to the first display information corresponding to the first input template.
  • the embodiment of the present application also provides an information input device, including:
  • 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 configured to display a first input template selected from the N input templates on the editing page
  • a second receiving module configured to receive information input to the first input template, where the information input is used to input first information in the first input template;
  • the third display module is configured to, in response to the information input, display the first information on the editing page according to the first display information corresponding to the first input template.
  • the embodiment of the present application also provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by The processor implements the information input method as described in the first aspect when executed.
  • the embodiment of the present application also 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 information input method as described in the first aspect is implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. described method.
  • the user if the user expects some information input on the edit page to be displayed as target display information, before inputting these information, he can select an input template whose display information is close to or the same as the target display information, and then select The information is input in the input template, so that the display information of the information can be close to or conform to the target display information without editing after the information is input. It can be seen that in this way, if the user desires to display different information input on the editing page with different display information, he only needs to input corresponding information in the corresponding input template, thereby improving the operation efficiency.
  • Fig. 1 is a flow chart of the information input method provided by the embodiment of the present application.
  • Fig. 2 is a schematic display of the editing page provided by the embodiment of the present application.
  • FIG. 3 is a structural diagram of an information input device provided by an embodiment of the present application.
  • FIG. 4 is one of the structural diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 5 is the second structural diagram of the electronic device provided by the embodiment of the present application.
  • FIG. 1 is one of the flowcharts of the information input method provided by the embodiment of the present application. As shown in Figure 1, the information input method may include the following steps:
  • Step 101 displaying N input templates on the editing page, where N is a positive integer.
  • the electronic device may display the N input templates on the edit page when opening the edit page; in the second implementation, the electronic device may open the edit page and receive the first input , in response to the first input, displaying the N input templates on the editing page, which may be determined according to actual conditions, which is not limited in this embodiment of the present application.
  • the electronic device does not receive the first input, the user can directly input information on the edit page, and the input information at this time is displayed according to the default display of the edit page.
  • the first input may be a touch input to a target control on the edit page, the target control is used to call the N input templates, and the target control may always be displayed on the edit page or Called by other input.
  • the first editing input may also be an input of flipping the electronic device or a sliding input in which the sliding direction is a preset sliding direction, etc., which may be determined according to actual conditions, and is not limited in this embodiment of the present application.
  • the N input templates may include: at least one text input template, and at least one image input template.
  • each input template may display its corresponding name and display information.
  • each text input template displays the same text according to its corresponding text display information
  • each image input template displays the same picture according to its corresponding image display information. In this way, it is convenient for the user to distinguish the display information corresponding to the N input templates, so that he can select the required input template from the N input templates based on his own needs, so that the information input in the input template can be displayed after input. It can be close to or meet your own needs without editing, thereby reducing the chance of editing information.
  • 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.
  • the text display style may include but not limited to at least one of the following:
  • Text display style 1 No sequence number and subtitle are set for each paragraph of the text;
  • Text display style 2 set a sequence number for each paragraph of the text
  • Text display style 3 Each paragraph of the text is set with a subtitle.
  • the font in the text display information corresponding to text input template 1 is Arial
  • the text display information corresponding to text input template 2 is The font is italic.
  • the picture display information corresponding to the picture input template may include: picture display style, picture display size, picture display ratio, shadow, and the like.
  • the picture display style may include, but is not limited to, at least one of the following:
  • Image display style 1 the image is not set with a border
  • Picture display style 2 The picture is set with a specific border.
  • the picture display ratio in the picture display information corresponding to picture input template 1 is 16:9
  • the picture corresponding to picture input template 2 The picture display ratio in the displayed information is 3:2.
  • Step 102 displaying a first input template selected from the N input templates on the editing page.
  • the first input template may include at least one input template, which may be specifically determined according to actual requirements, which is not limited in this embodiment of the present application.
  • the first input template may include at least one input template among the N input templates, and the input templates included in the first input template
  • the number can be less than, equal to or greater than N; the first input templates can be displayed in the editing page in sequence according to the selection order. It is understandable that the user can subsequently adjust the display order of the input templates according to their own needs. In practical applications , can be adjusted on the same page, or can be adjusted across pages, which can be determined according to actual needs, which is not limited in this embodiment of the present application.
  • 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
  • the user selects from the N input templates in turn: text input Template 1, picture input template a, text input template 2, picture input template a and text input template 2, then, in this case, the first input template includes 5 input templates.
  • the display direction of the screen is vertical screen display, and the editing page can be displayed sequentially from top to bottom: text input template 1, picture input template a, text input template 2, picture input template a and text input template 2.
  • the text input template 1 is marked as 21, the picture input template a is marked as 22, and the text input template 2 is marked as 23.
  • the information input method of the embodiment of the present application will be described below by taking the first input template as one of the N input templates as an example, but this does not limit all The quantity and expression form of the input templates included in the first input template.
  • Step 103 Receive information input to the first input template, where the information input is used to input first information in the first input template.
  • 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.
  • Step 104 In response to the information input, display the first information on the editing page according to the first display information corresponding to the first input template.
  • the display information of the first information is the first display information.
  • the user may select the first input template before inputting the first information, so as to display the first information in the first
  • the input template inputs the first information.
  • the first information can be displayed according to the first display information without editing after input, thereby reducing the possibility of information editing.
  • second information that does not match the type of the first input template may also be input in the first input template.
  • the first input module is a text input module
  • the second information is a picture
  • the first input module is a picture input module
  • the second information is text.
  • the electronic device may display it according to default text display information or picture display information on the editing page.
  • the user if the user expects some information input in the editing page to be displayed as target display information, before inputting the information, he can select an input template whose display information is close to or the same as the target display information.
  • the information is input in the input template of the system, so that the display information of the information can be close to or conform to the target display information without editing after the information is input.
  • the user desires to display different information input on the editing page with different display information, he only needs to input the corresponding information in the corresponding input template, thereby improving operation efficiency and reducing the number of times of information editing.
  • the electronic device After the electronic device displays the first information input in the first input template on the editing page according to the display information corresponding to the first input template, the user can change part or all of the first information
  • the displayed information is as follows.
  • the method 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:
  • the display information of the first information is edited with the sub-information as a granularity.
  • the first editing input may be, but not limited to: an input of selecting the first information; an input of pressing a display area of the first information.
  • Displaying the M information division methods may be understood as: displaying the names of the M information division methods, and further, displaying descriptions of the M information division methods.
  • the M information division methods may include at least one of the following: division by line, that is, a line of text is divided into one sub-information; division by word, that is, a word is divided into a child message.
  • the M information division methods may include at least one of the following: division by the number of pixels, that is, dividing a specific number of pixels into one sub-information; division by object imaging, that is, The imaging of an object is divided into a sub-information.
  • the first information division manner may be any one of the M information division manners. After the electronic device divides the first information according to the first information division manner to obtain P sub-information, it may edit the display information of the first information with the sub-information as a granularity.
  • Granularity can be understood as the editing unit for displaying information.
  • its display information can be independently edited, and the display information of different sub-information after editing can be the same or different, which can be determined according to the actual situation, which is not limited in this embodiment of the present application.
  • the electronic device may 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 may be the same or different after editing.
  • the first information before editing the display information of the first information, the first information may be divided. In this way, based on the divided granularity, part or The display information of all information can be edited, so that the flexibility of editing can be improved.
  • the editing the display information of the first information at the granularity of the sub-information includes:
  • the first sub-information may include part or all of the P pieces of sub-information.
  • the first sub-information may be determined by selecting all content of the first sub-information.
  • the determining the first sub-information in the P pieces of sub-information includes:
  • the sub-information corresponding to the first area may be understood as: the sub-information to which the information displayed in the first area belongs.
  • the first sub-information can be determined by pressing a part of the display area of the first information, and there is no need to select all the content of the first sub-information, so that the first sub-information can be improved. The rate and accuracy of information determination.
  • 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.
  • the second edit input may be: a second edit input to the first sub-information, and the second edit input is used to determine the second edit input of the first sub-information. Display information.
  • the electronic device may display the first sub-information directly based on the second display information determined by the second editing input.
  • the second editing input includes a first sub-input and a second sub-input
  • the displaying the first sub-information according to the second display information in the case of receiving the second editing input related to the first sub-information includes:
  • the first sub-input is used to determine second display information of the first sub-information
  • a preview page is displayed, the first sub-information is displayed on the preview page according to the second display information, the second sub-information is displayed according to the first display information, and the second The sub-information is other information in the first information except the first sub-information;
  • the second sub-input In response to the second sub-input, if the second sub-input is for confirming the display of the preview page, displaying the first sub-information in the edit page according to the second display information .
  • the second editing input includes a first sub-input and a second sub-input
  • the first sub-input is used to determine the second display information of the first sub-information and trigger the electronic device to display a preview page.
  • the preview page can be suspended and displayed above the editing page.
  • the difference between the preview page and the edit page mainly lies in: 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 editing 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 display.
  • the preview page is for the user to preview whether the overall situation of the first information meets the needs of the user when the first sub-information is displayed with the second display information.
  • the first information includes sub-information a and sub-information b
  • the first sub-information is sub-information a
  • the first display information The display font of the first display information is Song typeface
  • the display font of the second information is Kai typeface.
  • both sub-information a and sub-information b are displayed in Song font, while on the preview page, sub-information a is displayed in italics, and sub-information b is displayed in Song font.
  • the second sub-input is used to confirm or deny the display of the preview page, that is, to confirm whether the display of the preview page is put into actual use, that is, whether to display it in the edit page according to the second display information
  • the first sub-information is used to confirm or deny the display of the preview page, that is, to confirm whether the display of the preview page is put into actual use, that is, whether to display it in the edit page according to the second display information
  • the first sub-information is used to confirm or deny the display of the preview page, that is, to confirm whether the display of the preview page is put into actual use, that is, whether to display it in the edit page according to the second display information
  • the first sub-information is used to confirm or deny the display of the preview page, that is, to confirm whether the display of the preview page is put into actual use, that is, whether to display it in the edit page according to the second display information
  • the first sub-information is used to confirm or deny the display of the preview page, that is, to confirm whether the display of the
  • 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 satisfies the user's needs,
  • the electronic device may display the first sub-information according to the second display information on the editing page.
  • the second sub-input is for denying the display of the preview page
  • the electronic device may keep the display information of the first sub-information on the editing page unchanged, that is, the first sub-information is still displayed on the editing page according to the first display information. It can be understood that, the user may continue to edit the display information of the first sub-information until it satisfies its own requirements.
  • a preview page may be displayed for the user to confirm whether to apply the new display information of the first sub-information to the editing page.
  • the editing page can reduce subsequent changes to the displayed information of the first sub-information, and improve information operation efficiency.
  • the edit page is represented as a bookmark for illustration.
  • the user is using the mobile note to edit the text.
  • the target vocabulary can be extracted and marked, which can not only improve the efficiency of text editing, but also improve the user's ability to use notes operating experience.
  • the information input method of this example may include the following steps:
  • Step 1 Enter Notes, select Modular Input, and display N input templates.
  • Step 2 Determine the input object (text and/or picture), and select the corresponding input template from the N input templates.
  • the selected input modules may be a text input template 1, a picture input template 1, and a text input template 2.
  • Text input template 2 input text content B.
  • Step 3 Edit the text.
  • Segmentation by line automatically adjust through the mirror image of the modular text input box, and perform word segmentation according to the adjusted number of lines.
  • Word Segmentation Segment words according to the words of the text.
  • the selected lines can be edited separately.
  • the scope of editing includes but not limited to the following options: font bold, italic, color, change font, transparency, underline. After selecting the corresponding word, it can be edited directly.
  • the editing method is: 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.
  • 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, and so on.
  • the information input method provided in the embodiment of the present application may be executed by an information input device, or a control module in the information input device for executing the information input method.
  • the information input device provided in the embodiment of the present application is described by taking the information input device executing the information input method as an example.
  • FIG. 3 is a structural diagram of an information input device provided by an embodiment of the present application.
  • the information input device 300 includes:
  • the first display module 301 is used to display N input templates on the edit page, where N is a positive integer;
  • the second display module 302 is configured to display the first input template selected from the N input templates on the editing page;
  • the first receiving module 303 is configured to receive information input to the first input template, where the information input is used to input first information in the first input template;
  • the third display module 304 is configured to display the first information on the edit page according to the first display information corresponding to the first input template in response to the information input.
  • the information input device 300 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 methods 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, divide the first information according to the first information division method, and obtain P pieces of sub-information, where P is a positive integer;
  • An editing module configured to edit the display information of the first information at the granularity of the sub-information.
  • the editing module includes:
  • a determining submodule configured to determine the first sub-information among the P pieces of sub-information
  • a display submodule configured to display the first sub-information according to second display information when a second edit input related to the first sub-information is received, and the second display information is based on the second Edit Enter OK.
  • the determining submodule includes:
  • a first receiving unit configured to receive a press input on the first area of the editing page
  • a determining unit configured to, in response to the pressing input, determine the sub-information corresponding to the first area as the first sub-information in the P pieces of sub-information.
  • 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 for the first sub-information, where the first sub-input is used to determine second display information of the first sub-information
  • the first display unit 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 the second sub-information according to the first display information.
  • a third receiving unit configured to receive the second sub-input on the preview page
  • the second display unit is configured to, in response to the second sub-input, in the edit page according to the second display information when the second sub-input is for confirming the display of the preview page Display the first sub-information.
  • the information input device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the information input device in the embodiment of the present application may be a device with 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 this embodiment of the present application.
  • the information input device provided in the embodiment of the present application can implement various processes implemented by the information input device in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and programs or instructions ( Not shown in the figure), when the program or instruction is executed by the processor 401, each process of the above-mentioned information input method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • 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, etc. part.
  • the electronic device 500 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 510 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the display unit 506 is configured to display N input templates on the edit page, where N is a positive integer; display the first input template selected from the N input templates on the edit page;
  • An input unit 504 configured to receive information input to the first input template, where the information input is used to input first information in the first input template;
  • the display unit 506 is configured to, in response to the information input, display the first information on the editing page according to the first display information corresponding to the first input template.
  • an input unit 504 configured to receive a first edit input for the first information
  • a display unit 506, configured to display M information division methods in response to the first editing input, where M is a positive integer
  • the processor 510 is configured to select a first information division method from the M information division methods, divide the first information according to the first information division method, and obtain P pieces of sub-information, where P is a positive integer;
  • the sub-information is granularity, and the display information of the first information is edited.
  • the processor 510 is configured to determine the first sub-information in the P pieces of sub-information
  • a display unit 506 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, and the second display information is based on the The second edit entry is OK.
  • the input unit 504 is configured to receive a press input on the first area of the editing page
  • the processor 510 is configured to, in response to the pressing input, determine the sub-information corresponding to the first area as the first sub-information in the P pieces of sub-information.
  • the second editing input includes a first sub-input and a second sub-input
  • An input unit 504, configured to receive the first sub-input for the first sub-information, where the first sub-input is used to determine second display information of the first sub-information;
  • the 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 the second sub-information according to the first display information.
  • the second sub-information is information other than the first sub-information in the first information;
  • the display unit 506 is configured to, in response to the second sub-input, display in the editing page according to the second display information when the second sub-input is for confirming the display of the preview page The first sub-information.
  • the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • 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, or the like.
  • 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, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 509 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 510 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, the various processes of the foregoing information input method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the various processes of the above information input method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above information input method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供一种信息输入方法、装置,属于通信技术领域。该方法包括:接收对编辑页面的第一编辑输入;在编辑页面显示N个输入模板,N为正整数;在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。

Description

信息输入方法、装置
相关申请的交叉引用
本申请主张在2021年09月24日在中国提交的中国专利申请No.202111119724.4的优先权,其全部内容通过引用包含于此。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种信息输入方法、装置。
背景技术
随着电子设备的普及,越来越多的用户利用电子设备记录日常事项,比如账单、心得、以及其他文字相关事项。
在实现本申请过程中,发明人发现,相关技术中至少存在如下问题:由于相关技术中输入编辑页面中的信息均以默认的显示信息显示,在编辑页面输入信息A后,信息A以默认的显示信息显示。若期望信息A以目标显示信息显示,需要先在编辑页面中选择信息A以编辑信息A的显示信息,使得信息A以目标显示信息显示。
通过上述方式,若用户期望在编辑页面中输入的不同信息以不同的显示信息显示,需要频繁地执行信息选择操作和对信息的显示信息的编辑操作,效率较低。
发明内容
本申请实施例提供一种信息输入方法、装置,能够解决用户期望在编辑页面中输入的不同信息以不同的显示信息显示的情况下,操作效率较低的问题。
为解决上述问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种信息输入方法,包括:
接收对编辑页面的第一编辑输入;
在编辑页面显示N个输入模板,N为正整数;
在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
第二方面,本申请实施例还提供一种信息输入装置,包括:
第一显示模块,用于在编辑页面显示N个输入模板,N为正整数;
第二显示模块,用于在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
第二接收模块,用于接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
第三显示模块,用于响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
第三方面,本申请实施例还提供一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的信息输入方法。
第四方面,本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的信息输入方法。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,若用户期望在编辑页面中输入的某些信息以目标显示信息显示,在输入这些信息之前,可以选择显示信息与目标显示信息贴近或相同的输入模板,然后在选择的输入模板中输入这些信息,这样,这些信息的显示信息在信息输入后无需编辑即可贴近或符合目标显示信息。可见, 通过该方式,若用户期望在编辑页面中输入的不同信息以不同的显示信息显示,仅需在相应地输入模板中输入相应的信息,从而可以提高操作效率。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的信息输入方法的流程图;
图2是本申请实施例提供的编辑页面的显示示意图;
图3是本申请实施例提供的信息输入装置的结构图;
图4是本申请实施例提供的电子设备的结构图之一;
图5是本申请实施例提供的电子设备的结构图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的信息输入方法进行详细地说明。
参见图1,图1是本申请实施例提供的信息输入方法的流程图之一。如 图1所示,信息输入方法可以包括以下步骤:
步骤101、在编辑页面显示N个输入模板,N为正整数。
第一实现方式中,电子设备可以在打开编辑页面时,即在所述编辑页面显示所述N个输入模板;第二实现方式中,电子设备可以在打开编辑页面,且接收到第一输入之后,响应于所述第一输入,在所述编辑页面显示所述N个输入模板,具体可根据实际情况确定,本申请实施例对此不做限定。
对于第二实现方式,若电子设备未接收到所述第一输入,用户可以直接在编辑页面中输入信息,此时输入的信息按照所述编辑页面默认的显示显示显示。具体实现时,所述第一输入可以为对编辑页面中的目标控件的触控输入,所述目标控件用于调用所述N个输入模板,所述目标控件可以始终显示于所述编辑页面或通过其他输入调用。所述第一编辑输入也可以为翻转电子设备的输入或滑动方向为预设滑动方向的滑动输入等,具体可根据实际情况确定,本申请实施例对此不做限定。
在本申请实施例中,所述N个输入模板可以包括:至少一个文本输入模板,至少一个图片输入模板。
具体实现时,一种实现方式中,每个输入模板中可以显示各自对应的名称和显示信息。另一种实现方式中,每个文本输入模板按照各自对应的文本显示信息显示相同的文本,每个图片输入模板按照各自对应的图片显示信息显示同一张图片。这样,可以方便用户区分所述N个输入模板分别对应的显示信息,从而可以基于自身的需求,从所述N个输入模板中选择需要的输入模板,使得在输入模板中输入的信息在输入后无需编辑即可贴近或符合自身的需求,从而可以减少信息的编辑几率。
文本输入模板对应的文本显示信息可以包括以下至少一项:文本显示样式、字体、字号、字体颜色、字体加粗、斜体、下划线、透明度、突出显示颜色、段落显示样式等。
所述文本显示样式可以包括不仅限于以下至少一项:
文本显示样式1:文本的每个段落不设置序号和小标题;
文本显示样式2:文本的每个段落设置有序号;
文本显示样式3:文本的每个段落设置有小标题。
可以理解地是,不同的文本输入模板对应的文本显示信息中至少存在一项不同,如:文本输入模板1对应的文本显示信息中的字体为宋体,文本输入模板2对应的文本显示信息中的字体为楷体。
所述图片输入模板对应的图片显示信息可以包括:图片显示样式、图片显示大小、图片显示比例、阴影等。
所述图片显示样式可以但不仅限于包括以下至少一项:
图片显示样式1:图片未设置有边框;
图片显示样式2:图片设置有特定边框。
可以理解地是,不同的图片输入模板对应的图片显示信息中至少存在一项不同,如:图片输入模板1对应的图片显示信息中的图片显示比例为16:9,图片输入模板2对应的图片显示信息中的图片显示比例为3:2。
步骤102、在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板。
具体实现时,所述第一输入模板可以包括至少一个输入模板,具体可根据实际需求确定,本申请实施例对此不做限定。
在所述第一输入模板包括的输入模板数量大于1的情况下,所述第一输入模板可以包括所述N个输入模板中的至少一个输入模板,所述第一输入模板包括的输入模板的数量可以小于、等于或大于N;所述第一输入模板可以按照选择顺序依次显示在所述编辑页面中,可以理解地是,用户后续可以按照自身需求调整输入模板的显示顺序,在实际应用中,可以在同一页中调整,也可以跨页调整,具体可根据实际需求确定,本申请实施例对此不做限定。
为方便理解,示例说明如下:
假设所述N个输入模板包括4个输入模板,分别为:文本输入模板1、文本输入模板2、图片输入模板a和图片输入模板b,用户依次从所述N个输入模板中选择:文本输入模板1、图片输入模板a、文本输入模板2、图片输入模板a和文本输入模板2,那么,在此情况下,所述第一输入模板包括5个输入模板。如图3所示,屏幕的显示方向为竖屏显示,编辑页面可以从上至下依次显示:文本输入模板1、图片输入模板a、文本输入模板2、图片输入模板a和文本输入模板2。在图3中,文本输入模板1标示为21,图片输 入模板a标示为22,文本输入模板2标示为23。
需要说明的是,为方便理解,以下以所述第一输入模板为所述N个输入模板中的一个输入模板为例对本申请实施例的信息输入方法为例进行说明,但并不因此限制所述第一输入模板包括的输入模板的数量以及表现形式。
步骤103、接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息。
具体实现时,所述第一信息与所述第一输入模板的类型匹配。如:在所述第一输入模块为文本输入模块的情况下,所述第一信息为文本;在所述第一输入模块为图片输入模块的情况下,所述第一信息为图片。
步骤104、响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
可以理解的是,所述第一信息的显示信息即为所述第一显示信息。
可见,在本申请实施例中,若用户期望所述第一信息按照所述第一显示信息显示,可以在输入所述第一信息之前,选择所述第一输入模板,以在所述第一输入模板输入所述第一信息,这样,所述第一信息在输入之后无需编辑即可以按照所述第一显示信息显示,从而可以减少信息的编辑几率。
需要说明的是,也可以在所述第一输入模板中输入与所述第一输入模板的类型不匹配的第二信息。如:在所述第一输入模块为文本输入模块的情况下,所述第二信息为图片;在所述第一输入模块为图片输入模块的情况下,所述第二信息为文本。对于所述第二信息,电子设备可以按照所述编辑页面默认的文本显示信息或图片显示信息进行显示。
本实施例的信息输入方法,若用户期望在编辑页面中输入的某些信息以目标显示信息显示,在输入这些信息之前,可以选择显示信息与目标显示信息式贴近或相同的输入模板,在选择的输入模板中输入这些信息,这样,这些信息的显示信息在信息输入后无需编辑即可贴近或符合目标显示信息。通过该方式,若用户期望在编辑页面中输入的不同信息以不同的显示信息显示,仅需在相应地输入模板中输入相应的信息,从而可以提高操作效率,降低信息的编辑次数。
电子设备在按照所述第一输入模板对应的显示信息,在所述编辑页面中 显示在所述第一输入模板中输入的第一信息之后,用户可以改变所述第一信息的部分或全部信息的显示信息,具体说明如下。
可选地,所述响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息之后,所述方法还包括:
接收对所述第一信息的第一编辑输入;
响应于所述第一编辑输入,显示M个信息划分方式,M为正整数;
从所述M个信息划分方式中选择第一信息划分方式,根据所述第一信息划分方式对所述第一信息进行划分,得到P个子信息,P为正整数;
以所述子信息为粒度,编辑所述第一信息的显示信息。
所述第一编辑输入可以但不仅限于表现为:选中所述第一信息的输入;对所述第一信息的显示区域的按压输入。
显示M个信息划分方式,可以理解为:显示M个信息划分方式的名称,进一步地,还可以显示M个信息划分方式的划分说明。
在所述第一信息为文本的情况下,所述M个信息划分方式可以包括以下至少一项:按行划分方式,即将一行文本划分为一个子信息;按词划分方式,即将一个词语划分为一个子信息。
在所述第一信息为图片的情况下,所述M个信息划分方式可以包括以下至少一项:按像素数量划分方式,即将特定数量的像素划分为一个子信息;按物体成像划分方式,即将一个物体的成像划分为一个子信息。
所述第一信息划分方式可以为所述M个信息划分方式中的任一个信息划分方式。电子设备在按照所述第一信息划分方式对所述第一信息进行划分得到P个子信息之后,可以以所述子信息为粒度,编辑所述第一信息的显示信息。
粒度可以理解为显示信息的编辑单位。对于不同的子信息,其显示信息可以进行独立编辑,且不同的子信息的显示信息在编辑之后可以相同,也可以不同,具体可根据实际情况确定,本申请实施例对此不做限定。如:电子设备可以编辑所述第一信息中的至少一个子信息的显示信息,且所述第一信息中不同的子信息的显示信息在编辑之后可以相同,也可以不同。
在本可选实施方式中,在编辑所述第一信息的显示信息之前,可以先对 所述第一信息进行划分,这样,可以基于划分后的粒度,对所述第一信息中的部分或全部信息的显示信息进行编辑,从而可以提高编辑的灵活度。
可选地,所述以所述子信息为粒度,编辑所述第一信息的显示信息,包括:
确定所述P个子信息中的第一子信息;
在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,所述第二显示信息基于所述第二编辑输入确定。
所述第一子信息可以包括所述P个子信息中的部分或全部子信息。
具体实现时,一种实现方式中,可以通过选中所述第一子信息的全部内容,实现所述第一子信息的确定。
另一种实现方式中,可选地,所述确定所述P个子信息中的第一子信息,包括:
接收对所述编辑页面的第一区域的按压输入;
响应于所述按压输入,将所述第一区域对应的子信息确定为所述P个子信息中的第一子信息。
所述第一区域对应的子信息可以理解为:所述第一区域显示的信息所属的子信息。在此实现方式中,只要按压所述第一信息的显示区域的部分区域,即可确定所述第一子信息,无需选中所述第一子信息的全部内容,从而可以提高所述第一子信息确定的速率和准确度。
需要说明的是,上述实现方式仅为示例,本申请实施例并不限制所述第一子信息的确定方式,任何可从所述P个子信息中确定所述第一子信息的方式均可落入本申请实施例的保护范围之类。
电子设备在确定所述第一子信息之后,可以响应于接收到的第二编辑输入,编辑所述第一子信息的显示信息,使得所述第一子信息按照第二显示信息显示。
具体实现时,一种实现方式中,所述第二编辑输入可以为:对所述第一子信息的第二编辑输入,所述第二编辑输入用于确定所述第一子信息的第二显示信息。在此实现方式中,电子设备可以直接基于所述第二编辑输入确定的所述第二显示信息,显示所述第一子信息。
另一种实现方式中,可选地,所述第二编辑输入包括第一子输入和第二子输入;
所述在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,包括:
接收对所述第一子信息的所述第一子输入,所述第一子输入用于确定所述第一子信息的第二显示信息;
响应于所述第一子输入,显示预览页面,在所述预览页面按照所述第二显示信息显示所述第一子信息,按照所述第一显示信息显示第二子信息,所述第二子信息为所述第一信息中除所述第一子信息之外的其他信息;
接收对所述预览页面的所述第二子输入;
响应于所述第二子输入,在所述第二子输入为用于确认所述预览页面的显示的情况下,在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
在此实现方式中,所述第二编辑输入包括第一子输入和第二子输入,所述第一子输入用于确定所述第一子信息的第二显示信息,并触发电子设备显示预览页面。
所述预览页面可以悬浮显示于所述编辑页面之上。所述预览页面与所述编辑页面的区别主要在于:所述第一子信息的显示信息不同。具体表现为:当电子设备显示预览页面时,所述编辑页面中的所述第一子信息仍以所述第一显示信息显示,而所述预览页面中的第一子信息以所述第二显示信息显示。所述预览页面供用户预览以所述第二显示信息显示所述第一子信息时,所述第一信息的整体情况是否满足用户需求。
为方便理解,示例说明如下:
假设所述第一信息包括子信息a和子信息b,所述第一子信息为子信息a,所述第一显示信息。所述第一显示信息的显示字体为宋体,所述第二信息的显示字体为楷体。
那么,在编辑页面中,子信息a和子信息b均显示为宋体,而在预览页面中,子信息a显示为楷体,子信息b显示为宋体。
所述第二子输入用于确认或否认所述预览页面的显示,即用于确认是否 将所述预览页面的显示投入实际使用,即是否在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
在所述第二子输入为用于确认所述预览页面的显示的情况下,说明以所述第二显示信息显示所述第一子信息时,所述第一信息的整体情况满足用户需求,电子设备可以在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
在所述第二子输入为用于否认所述预览页面的显示的情况下,说明以所述第二显示信息显示所述第一子信息时,所述第一信息的整体情况不满足用户需求,电子设备可以维持所述编辑页面中的所述第一子信息的显示信息不变,即在所述编辑页面中仍按照所述第一显示信息显示所述第一子信息。可以理解地是,用户可以继续编辑所述第一子信息的显示信息,直至其满足自身需求。
在此实现方式中,在将所述第一子信息的新的显示信息应用到所述编辑页面之前,可以先显示预览页面供用户确认是否将所述第一子信息的新的显示信息应用到所述编辑页面,从而可以减少后续对所述第一子信息的显示信息的更改,提高信息操作效率。
需要说明的是,本申请实施例中介绍的多种可选的实施方式,在彼此不冲突的情况下可以相互结合实现,也可以单独实现,对此本申请实施例不作限定。
为方便理解,示例说明如下:
在下述示例中,以编辑页面表现为书签进行示例说明。
在本示例中,用户在使用手机便签编辑文本的场景,通过对文本的识别进行分割,能够对目标词汇进行提取、标记等操作,不仅可以提升文本编辑的效率,更能提升用户在使用便签时的操作体验。
本示例的信息输入方法可以包括以下步骤:
步骤一、进入便签,选择模块化输入,显示N个输入模板。
步骤二、确定输入对象(文本和/或图片),在所述N个输入模板中选择对应的输入模板。
以图文混合信息展示方式为例,选择的输入模块可以为文本输入模板一、 图片输入模板一、文本输入模板二。
选择文本输入模板一,输入文本内容A。
选择图片输入模板一,选择图片a。
文本输入模板二,输入文本内容B。
步骤三、编辑文本。
选择对文本内容A编辑,可以弹出按行分词、按词分词等划分方式。
按行分词:通过模块化文本输入框镜像自动调节,按照调节后的行数进行分词。
按词分词:按照文本的单词进行分词。
在进行分行分词后可以分别对选中的行进行编辑,编辑的范围包括不限于以下选项:字体加粗、斜体、颜色、更换字体、透明度、下划线。在选中对应的词后可以直接进行编辑。
若用户选择的图片编辑,则编辑的方式为:大小、排列的顺序、阴影等,用户完成编辑后可以直接进行预览,确定无误后完成编辑。
通过提供按行、按词分词的方式,能够让用户对文字的处理更加便捷,能够快速完成文本的编辑操作,提升了用户的编辑体验。
本示例可以提供自动排版功能,若涉及到多页可以在不同的页面直接进行切换,移动模块化文本的位置、顺序等等。
需要说明的是,本申请实施例提供的信息输入方法,执行主体可以为信息输入装置,或者,该信息输入装置中的用于执行信息输入方法的控制模块。本申请实施例中以信息输入装置执行信息输入方法为例,说明本申请实施例提供的信息输入装置。
参见图3,图3是本申请实施例提供的信息输入装置的结构图。
如图3所示,信息输入装置300包括:
第一显示模块301,用于在编辑页面显示N个输入模板,N为正整数;
第二显示模块302,用于在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
第一接收模块303,用于接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
第三显示模块304,用于响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
可选地,所述信息输入装置300还包括:
第二接收模块,用于接收对所述第一信息的第一编辑输入;
第四显示模块,用于响应于所述第一编辑输入,显示M个信息划分方式,M为正整数;
划分模块,用于从所述M个信息划分方式中选择第一信息划分方式,根据所述第一信息划分方式对所述第一信息进行划分,得到P个子信息,P为正整数;
编辑模块,用于以所述子信息为粒度,编辑所述第一信息的显示信息。
可选地,所述编辑模块,包括:
确定子模块,用于确定所述P个子信息中的第一子信息;
显示子模块,用于在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,所述第二显示信息基于所述第二编辑输入确定。
可选地,所述确定子模块,包括:
第一接收单元,用于接收对所述编辑页面的第一区域的按压输入;
确定单元,用于响应于所述按压输入,将所述第一区域对应的子信息确定为所述P个子信息中的第一子信息。
可选地,所述第二编辑输入包括第一子输入和第二子输入;
所述显示子模块,用于:
第二接收单元,用于接收对所述第一子信息的所述第一子输入,所述第一子输入用于确定所述第一子信息的第二显示信息;
第一显示单元,用于响应于所述第一子输入,显示预览页面,在所述预览页面按照所述第二显示信息显示所述第一子信息,按照所述第一显示信息显示第二子信息,所述第二子信息为所述第一信息中除所述第一子信息之外的其他信息;
第三接收单元,用于接收对所述预览页面的所述第二子输入;
第二显示单元,用于响应于所述第二子输入,在所述第二子输入为用于 确认所述预览页面的显示的情况下,在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
本申请实施例中的信息输入装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息输入装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息输入装置能够实现图1的方法实施例中信息输入装置实现的各个过程,为避免重复,这里不再赘述。
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令(图中未示出),该程序或指令被处理器401执行时实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图5为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出 的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,显示单元506,用于在编辑页面显示N个输入模板,N为正整数;在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
输入单元504,用于接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
显示单元506,用于响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
可选地,输入单元504,用于接收对所述第一信息的第一编辑输入;
显示单元506,用于响应于所述第一编辑输入,显示M个信息划分方式,M为正整数;
处理器510,用于从所述M个信息划分方式中选择第一信息划分方式,根据所述第一信息划分方式对所述第一信息进行划分,得到P个子信息,P为正整数;以所述子信息为粒度,编辑所述第一信息的显示信息。
可选地,处理器510,用于确定所述P个子信息中的第一子信息;
显示单元506,用于在输入单元504接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,所述第二显示信息基于所述第二编辑输入确定。
可选地,输入单元504,用于接收对所述编辑页面的第一区域的按压输入;
处理器510,用于响应于所述按压输入,将所述第一区域对应的子信息确定为所述P个子信息中的第一子信息。
可选地,所述第二编辑输入包括第一子输入和第二子输入;
输入单元504,用于接收对所述第一子信息的所述第一子输入,所述第一子输入用于确定所述第一子信息的第二显示信息;
显示单元506,用于响应于所述第一子输入,显示预览页面,在所述预览页面按照所述第二显示信息显示所述第一子信息,按照所述第一显示信息显示第二子信息,所述第二子信息为所述第一信息中除所述第一子信息之外的其他信息;
输入单元504,用于接收对所述预览页面的所述第二子输入;
显示单元506,用于响应于所述第二子输入,在所述第二子输入为用于确认所述预览页面的显示的情况下,在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (14)

  1. 一种信息输入方法,包括:
    在编辑页面显示N个输入模板,N为正整数;
    在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
    接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
    响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
  2. 根据权利要求1所述的方法,其中,所述响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息之后,所述方法还包括:
    接收对所述第一信息的第一编辑输入;
    响应于所述第一编辑输入,显示M个信息划分方式,M为正整数;
    从所述M个信息划分方式中选择第一信息划分方式,根据所述第一信息划分方式对所述第一信息进行划分,得到P个子信息,P为正整数;
    以所述子信息为粒度,编辑所述第一信息的显示信息。
  3. 根据权利要求2所述的方法,其中,所述以所述子信息为粒度,编辑所述第一信息的显示信息,包括:
    确定所述P个子信息中的第一子信息;
    在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,所述第二显示信息基于所述第二编辑输入确定。
  4. 根据权利要求3所述的方法,其中,所述确定所述P个子信息中的第一子信息,包括:
    接收对所述编辑页面的第一区域的按压输入;
    响应于所述按压输入,将所述第一区域对应的子信息确定为所述P个子信息中的第一子信息。
  5. 根据权利要求3所述的方法,其中,所述第二编辑输入包括第一子输入和第二子输入;
    所述在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,包括:
    接收对所述第一子信息的所述第一子输入,所述第一子输入用于确定所述第一子信息的第二显示信息;
    响应于所述第一子输入,显示预览页面,在所述预览页面按照所述第二显示信息显示所述第一子信息,按照所述第一显示信息显示第二子信息,所述第二子信息为所述第一信息中除所述第一子信息之外的其他信息;
    接收对所述预览页面的所述第二子输入;
    响应于所述第二子输入,在所述第二子输入为用于确认所述预览页面的显示的情况下,在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
  6. 一种信息输入装置,包括:
    第一显示模块,用于在编辑页面显示N个输入模板,N为正整数;
    第二显示模块,用于在所述编辑页面中显示从所述N个输入模板中选择的第一输入模板;
    第一接收模块,用于接收对所述第一输入模板的信息输入,所述信息输入用于在所述第一输入模板中输入第一信息;
    第三显示模块,用于响应于所述信息输入,按照所述第一输入模板对应的第一显示信息,在所述编辑页面中显示所述第一信息。
  7. 根据权利要求6所述的信息输入装置,其中,所述信息输入装置还包括:
    第二接收模块,用于接收对所述第一信息的第一编辑输入;
    第四显示模块,用于响应于所述第一编辑输入,显示M个信息划分方式,M为正整数;
    划分模块,用于从所述M个信息划分方式中选择第一信息划分方式,根据所述第一信息划分方式对所述第一信息进行划分,得到P个子信息,P为正整数;
    编辑模块,用于以所述子信息为粒度,编辑所述第一信息的显示信息。
  8. 根据权利要求7所述的信息输入装置,其中,所述编辑模块,包括:
    确定子模块,用于确定所述P个子信息中的第一子信息;
    显示子模块,用于在接收到与所述第一子信息相关的第二编辑输入的情况下,按照第二显示信息显示所述第一子信息,所述第二显示信息基于所述第二编辑输入确定。
  9. 根据权利要求8所述的信息输入装置,其中,所述确定子模块,包括:
    第一接收单元,用于接收对所述编辑页面的第一区域的按压输入;
    确定单元,用于响应于所述按压输入,将所述第一区域对应的子信息确定为所述P个子信息中的第一子信息。
  10. 根据权利要求8所述的信息输入装置,其中,所述第二编辑输入包括第一子输入和第二子输入;
    所述显示子模块,用于:
    第二接收单元,用于接收对所述第一子信息的所述第一子输入,所述第一子输入用于确定所述第一子信息的第二显示信息;
    第一显示单元,用于响应于所述第一子输入,显示预览页面,在所述预览页面按照所述第二显示信息显示所述第一子信息,按照所述第一显示信息显示第二子信息,所述第二子信息为所述第一信息中除所述第一子信息之外的其他信息;
    第三接收单元,用于接收对所述预览页面的所述第二子输入;
    第二显示单元,用于响应于所述第二子输入,在所述第二子输入为用于确认所述预览页面的显示的情况下,在所述编辑页面中按照所述第二显示信息显示所述第一子信息。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的信息输入方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储有程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的信息输入方法的步骤。
  13. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项 所述的信息输入方法的步骤。
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的信息输入方法的步骤。
PCT/CN2022/119903 2021-09-24 2022-09-20 信息输入方法、装置 WO2023045922A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111119724.4A CN113805709A (zh) 2021-09-24 2021-09-24 信息输入方法、装置
CN202111119724.4 2021-09-24

Publications (1)

Publication Number Publication Date
WO2023045922A1 true WO2023045922A1 (zh) 2023-03-30

Family

ID=78940169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119903 WO2023045922A1 (zh) 2021-09-24 2022-09-20 信息输入方法、装置

Country Status (2)

Country Link
CN (1) CN113805709A (zh)
WO (1) WO2023045922A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805709A (zh) * 2021-09-24 2021-12-17 维沃移动通信有限公司 信息输入方法、装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073125A1 (en) * 2000-12-08 2002-06-13 Xerox Corporation Systems and methods for editing a web page
CN1622587A (zh) * 2003-11-27 2005-06-01 富士胶片株式会社 图像编辑装置及其方法和程序
CN101046808A (zh) * 2006-03-31 2007-10-03 株式会社理光 一种文档处理系统和方法
CN111399722A (zh) * 2020-04-24 2020-07-10 Oppo广东移动通信有限公司 邮件签名的生成方法、装置、终端及存储介质
CN113805709A (zh) * 2021-09-24 2021-12-17 维沃移动通信有限公司 信息输入方法、装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635202B (zh) * 2018-12-19 2020-09-01 北京达佳互联信息技术有限公司 内容项处理方法、装置、电子设备及存储介质
CN109948102B (zh) * 2019-03-27 2021-05-25 维沃移动通信有限公司 页面内容编辑方法及终端
CN112558824A (zh) * 2019-09-26 2021-03-26 腾讯科技(深圳)有限公司 一种页面显示方法、装置、以及计算机存储介质
CN112765942A (zh) * 2021-01-22 2021-05-07 维沃移动通信有限公司 文本处理方法、装置、电子设备及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073125A1 (en) * 2000-12-08 2002-06-13 Xerox Corporation Systems and methods for editing a web page
CN1622587A (zh) * 2003-11-27 2005-06-01 富士胶片株式会社 图像编辑装置及其方法和程序
CN101046808A (zh) * 2006-03-31 2007-10-03 株式会社理光 一种文档处理系统和方法
CN111399722A (zh) * 2020-04-24 2020-07-10 Oppo广东移动通信有限公司 邮件签名的生成方法、装置、终端及存储介质
CN113805709A (zh) * 2021-09-24 2021-12-17 维沃移动通信有限公司 信息输入方法、装置

Also Published As

Publication number Publication date
CN113805709A (zh) 2021-12-17

Similar Documents

Publication Publication Date Title
CN108664201B (zh) 一种文本编辑方法、装置及电子设备
WO2023125425A1 (zh) 一种显示方法、装置和电子设备
CN108829686B (zh) 翻译信息显示方法、装置、设备及存储介质
WO2020042468A1 (zh) 一种数据处理方法、装置和用于数据处理的装置
WO2023083158A1 (zh) 文本选择方法、文本选择装置和电子设备
WO2023155811A1 (zh) 页面布局调整方法、装置
WO2024037418A1 (zh) 显示方法、装置、电子设备及可读存储介质
CN112269522A (zh) 图像处理方法、装置、电子设备和可读存储介质
CN113282424A (zh) 信息引用方法、装置和电子设备
WO2023045922A1 (zh) 信息输入方法、装置
CN115357158A (zh) 消息处理方法、装置、电子设备及存储介质
WO2021233291A1 (zh) 截屏方法、装置和电子设备
WO2024104079A1 (zh) 桌面组件生成方法、装置、电子设备和可读存储介质
WO2023155874A1 (zh) 应用图标管理方法、装置和电子设备
WO2023174328A1 (zh) 屏幕控制方法、装置、电子设备及存储介质
WO2023093809A1 (zh) 文件编辑处理方法、装置和电子设备
WO2023093694A1 (zh) 图像处理方法、装置、设备和存储介质
CN111857503A (zh) 显示方法、显示装置及电子设备
WO2023155858A1 (zh) 文档编辑方法及其装置
WO2023284640A9 (zh) 图片处理方法和电子设备
WO2023045919A1 (zh) 文字编辑方法和装置
WO2023045920A1 (zh) 文本显示方法和文本显示装置
WO2022222864A1 (zh) 文档处理方法、装置和电子设备
WO2022247814A1 (zh) 目标字符的选择方法、装置、电子设备及存储介质
WO2022228433A1 (zh) 信息处理方法、装置以及电子设备

Legal Events

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

Ref document number: 22871968

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE