Display method and electronic device

By obtaining and matching the content in the notification message on the electronic device, associating the input method program and displaying the target content on the input interface, the problem of cumbersome user operations is solved and a convenient content usage and operation process is realized.

CN112433623BActive Publication Date: 2024-08-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011340833.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-08-27
Estimated Expiration
2040-11-25

AI Technical Summary

Technical Problem

When users use electronic devices, they need to frequently switch and operate different software to use the content in notification messages, resulting in cumbersome operations.

Method used

By obtaining the content in the target message and matching the preset key information, associating the target content with the input method program, and displaying the target content separately in the input interface, the user can edit, send or save the content in any application to avoid program Switch between and copy and paste operations.

Benefits of technology

It simplifies user operations, reduces switching and copy-pasting steps between programs, and improves the convenience and efficiency of content use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112433623B
    Figure CN112433623B
Patent Text Reader

Abstract

The present application discloses a display method and electronic device, belonging to the field of electronic technology, to solve the problem of cumbersome operation when users use the content in notification messages. The display method includes: obtaining the content in the target message; matching the content with preset key information; when the target content matches the target key information, associating the target content with an input method program; when the content includes the target content, the key information includes the target key information; when displaying the input interface of the input method program, displaying the target content in the target area of ​​the input interface. The display method in the present application is applied to electronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to a display method and an electronic device. Background Art

[0002] When using electronic devices, users usually encounter the following scenario: the user receives a message that contains content such as a shopping link, phone number, etc. The user opens the message in a social software, manually selects all or part of the content in the message to copy, then opens the shopping software, call software, etc., and pastes the copied content into the corresponding software.

[0003] In the above scenario, when a user wants to use the content in a received notification message, he needs to perform a series of operations such as switching between software, copying, and pasting. Sometimes, these operations need to be repeated, which makes the user's operation cumbersome.

[0004] Therefore, in the process of implementing the present application, the inventors found that there are at least the following problems in the prior art: it is cumbersome for users to use the content in the notification message. Summary of the invention

[0005] The purpose of the embodiment of the present application is to provide a display method that can solve the problem of cumbersome operations when users use the content in notification messages.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a display method, the method comprising: obtaining content in a target message; matching the content with preset key information; when the target content matches the target key information, associating the target content with an input method program; wherein the content includes the target content, and the key information includes the target key information; when displaying the input interface of the input method program, displaying the target content in a target area of ​​the input interface.

[0008] In a second aspect, an embodiment of the present application provides a display device, which includes: a first acquisition module, used to acquire content in a target message; a matching module, used to match the content with preset key information; an association module, used to associate the target content with an input method program when the target content matches the target key information; wherein the content includes the target content, and the key information includes the target key information; a first display module, used to display the target content in a target area of ​​the input interface when displaying the input interface of the input method program.

[0009] In a third aspect, an embodiment of the present application provides an electronic device, which includes 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 method of the first aspect.

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

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

[0012] Thus, in an embodiment of the present application, for a target message, the content included in the target message can be obtained to match the obtained content with the preset key information. If the target content in the message content matches the target key information in the key information, the target content can be extracted separately for use by the user, thereby associating the target content with the input method program. Furthermore, the user can start the input method program in any application so that the input interface is displayed, so that the target content can be displayed separately in the target area of ​​the input interface, and then the user can perform related operations such as editing, sending, and saving for the target content in the application. Compared with the prior art, when a user wants to use the content in a notification message, there is no need to perform a series of operations such as switching between programs, copying, and pasting, and there is no need to perform them repeatedly, which simplifies user operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a flow chart of a display method according to an embodiment of the present application;

[0014] Figure 2 is a display schematic diagram of an input interface of a display method according to an embodiment of the present application;

[0015] Figure 3 is a block diagram of a display device according to an embodiment of the present application;

[0016] Figure 4 This is one of the hardware structure diagrams of the electronic device according to the embodiment of the present application.

[0017] Figure 5 This is the second schematic diagram of the hardware structure of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION

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

[0019] The terms "first", "second", etc. in the specification and claims of the present 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.

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

[0021] Figure 1 A flow chart of a display method according to an embodiment of the present application is shown, and the method includes:

[0022] Step S1: Obtain the content of the target message.

[0023] Optionally, the target message includes any one of multimedia messages, text messages, and notification messages of most social programs.

[0024] Optionally, the content in the target message includes message content, and the form is not limited to pictures, texts, links, etc.

[0025] Optionally, the system can monitor the incoming message stream and obtain the content of the message stream.

[0026] Step S2: Match the content with preset key information.

[0027] Among them, the key information is the preset key information.

[0028] Optionally, key information is preset according to the usage habits of most users. For example, most users have a high usage rate of the address and telephone number in the message, so the preset address and telephone number are key information.

[0029] Optionally, key information is preset according to the usage habits of the local user. For example, if the local user uses the address and telephone number in the message more frequently, the preset address and telephone number are key information.

[0030] Optionally, key information is preset based on the customization of the local user.

[0031] Optionally, the matching process is: classify the content and compare whether the type is consistent with the key information. For example, according to the format of the content, the content is classified as a web link and compared with the preset key information "web link". If they are consistent, then it is matched.

[0032] Optionally, the matching process is: identifying the features of the content and comparing the features of the content with the features of the key information to see if they are consistent. For example, the features of the key information "telephone number" include 4 or more digits, and if it is identified that the content includes 4 or more digits, then it is matched.

[0033] Optionally, the matching process is: comparing whether the content is consistent with the key information. For example, if the message content includes the phrase "XX restaurant", which is consistent with the preset key information "restaurant", then they are matched.

[0034] Step S3: When the target content matches the target key information, the target content is associated with the input method program.

[0035] The content includes target content, and the key information includes target key information.

[0036] Optionally, when the target content matches the target key information, the number of the target content is at least one group, and the number of the target key information is at least one group.

[0037] Optionally, if the message content includes multiple groups of phrases that match the same target key information, then it corresponds to multiple groups of target content matching one group of target key information; if the message content includes multiple groups of phrases that match different target key information respectively, then it corresponds to multiple groups of target content matching multiple groups of target key information; if the message content includes one group of phrases that match multiple groups of target key information, then it corresponds to one group of target content matching multiple groups of target key information; and so on.

[0038] It can be seen that the content in the message is divided into multiple groups of sub-contents, which are matched with multiple groups of preset key information respectively to obtain at least one group of matching results.

[0039] The target content is associated with the input method program so that when the user uses the input method program, the target content in the message content is reflected through the input method program.

[0040] Step S4: When the input interface of the input method program is displayed, the target content is displayed in the target area of ​​the input interface.

[0041] The application scenario is that the user clicks in an edit box in any application to display the input interface of the input method program.

[0042] In this step, based on the matching result of the message content, a target area is set in the input interface to display the target content that matches the matching result.

[0043] Furthermore, the user can directly complete related operations such as sending, saving, and editing the target content in the application where the input interface is located.

[0044] The application scenario of this embodiment is as follows: the preset key information includes: name, 4-digit number and above, and address. At this time, the user is playing a game, and a text message notification comes, the content is: "Hello, I am Zhang Xiaoming, we have talked about cooperation before, my contact information is 156xxxx8170, I am now at XXX No. 1, is it convenient to come over to connect with the next cooperation?" The user is currently in the game and has no time to see this. When the game is over, the user wants to contact this person and wants to save this person's contact information to the address book at the same time. At this time, as long as the user goes to the address book, open the contact creation page. The user only needs to click in the display area for filling in the name and mobile phone number respectively, and the input method pops up. The input interface has an extra target area for displaying the matched target content: Zhang Xiaoming, 156xxxx8170, XXX No. 1. Then, the user clicks the corresponding target content to fill in the corresponding content.

[0045] Thus, in an embodiment of the present application, for a target message, the content included in the target message can be obtained to match the obtained content with the preset key information. If the target content in the message content matches the target key information in the key information, the target content can be extracted separately for use by the user, thereby associating the target content with the input method program. Furthermore, the user can start the input method program in any application so that the input interface is displayed, so that the target content can be displayed separately in the target area of ​​the input interface, and then the user can perform related operations such as editing, sending, and saving for the target content in the application. Compared with the prior art, when a user wants to use the content in a notification message, there is no need to perform a series of operations such as switching between programs, copying, and pasting, and there is no need to perform them repeatedly, which simplifies user operations.

[0046] In a display method of another embodiment of the present application, when the target content is displayed in the target area, target key information matching the target content may also be displayed in the target area for user reference.

[0047] In the process of the display method of another embodiment of the present application, step S4 includes:

[0048] Sub-step A1: when at least two groups of target content match the target key information, at least two groups of target content are displayed in at least two sub-areas of the target area respectively.

[0049] In this step, sub-areas matching the number of target contents are divided in the target area, so that each target content is displayed in a corresponding sub-area.

[0050] Optionally, application scenarios of this embodiment include: if at least two groups of target content match one group of target key information, then the at least two groups of target content are displayed separately by region; if at least two groups of target content match at least two groups of target key information, then the at least two groups of target content are displayed separately by region.

[0051] For reference, when the target area supports a maximum of 6 groups of target content display, if there is only one group of target content, it will be displayed in a single line and the target content will be displayed in the center; if there are two groups of target content, they will be displayed in a single line, with the two groups of target content occupying half on the left and half on each side, or displayed in proportion according to the length of each content; if there are three groups of target content, they will be displayed in a single line, with the three groups of target content displayed in three equal parts, or displayed in proportion according to the length of the content; if there are four groups of target content, three groups of target content will be displayed in the first line, and the remaining group of target content will be displayed in the center of the second line; if there are five groups of target content, three groups of target content will be displayed in the first line, and the remaining two groups of target content will be displayed in the second line, and the two groups of target content will occupy half on the left and half on each side, or displayed in proportion according to the length of each content; if there are six groups of target content, three groups of target content will be displayed in the first line, and the remaining three groups of target content will be displayed in the second line.

[0052] Optionally, in more solutions, a reasonable layout is designed for display according to the amount of target content and the size of the target area.

[0053] See also Figure 2 , Optionally, the target area is located at the top of the input interface to facilitate user quick operation.

[0054] See also Figure 2 ,Optionally, each sub-area is used to display content matching a set of key information.

[0055] Optionally, the display positions of the multiple sets of key information in the target area are arranged according to the usage frequencies of the multiple sets of key information in the big data or the usage frequencies of the users themselves.

[0056] In this embodiment, based on the key information matching of the target message content, the matched multiple target contents are displayed in segments. Compared with the prior art where users copy and paste the entire segment, users can operate on any group of target contents separately, avoiding the need for users to delete invalid contents after copying the entire segment, thereby further simplifying user operations.

[0057] In the process of the display method of another embodiment of the present application, after step S4, it also includes:

[0058] Step B1: Obtain target function information of the first program corresponding to the current display interface.

[0059] In the application scenario, for example, a user opens a first program, and the current display interface corresponds to the first program. The user opens an input method program in the edit box of the first program, thereby displaying the input interface. In this step, the target function information of the first program can be obtained based on the first program to identify the functions that the first program can support for the target content.

[0060] Therefore, the function indicated by the target function information is a function in the first program, and the function can be used by the user to operate the target content.

[0061] Optionally, for the first program and the input method program, cross-functional information is acquired as target functional information, so as to identify functions supported by both programs according to the cross-functional information.

[0062] For example, when the first program is a social program, both the social program and the input method program support the "send" function; for another example, when the first program is an address book, both the social program and the input method program support the "save" function.

[0063] Step B2: Displaying a target function control corresponding to the target content in the target area.

[0064] The target function control is used to receive user input to implement the function indicated by the target function information through the user input.

[0065] Optionally, the form of the control includes any one of an icon, a label, a button, a display bar, a designated area, etc.

[0066] For example, the target function control is a "send" button, a "save" button, etc.

[0067] In this step, the target function control is displayed correspondingly based on the target content. Thus, the user can input the target function control in the first program for the target content to complete operations such as sending and saving the target content.

[0068] Optionally, when at least two groups of target contents are displayed, corresponding target function controls may be displayed for each group of target contents, so that the user can perform operations such as sending and saving separately for any group of target contents.

[0069] For another example, the target function control is the display area where the target content is located. For example, in an application scenario, if a chat program is entered, the user can directly click the display area where the target content is located to automatically send the selected target content; for another application scenario, if a memo is entered, the user can directly click the display area where the target content is located to automatically write the selected target content; for another application scenario, if an address book is entered, the user can directly click the display area where the target content is located to automatically save the selected target content.

[0070] Optionally, the target function control may also be used to indicate: function information of the program where the target message to which the target content belongs is located. Correspondingly, through the user's input to the target function control, the function of the program where the target message is located may be realized.

[0071] For example, the target function control is the display area where the target content is located. In the application scenario, for example, when entering any program, the user can directly click the display area where the target content is located to jump to the program where the target message is located, thereby displaying the target message in the interface of the program.

[0072] In this embodiment, for the matched target content and the first program corresponding to the current display interface, a target function control can be added on the basis of displaying the target content on the input interface, so that the user can directly perform corresponding operations on the target content in the input interface, thereby further simplifying user operations.

[0073] In the process of the display method of another embodiment of the present application, after step S4, it also includes:

[0074] Step C1: receiving a first input from a user in a target area.

[0075] The first input includes a touch input and air input performed by a user on the screen, and is not limited to inputs such as clicks and slides; the first input also includes an input performed by a user on a physical button on the device, and is not limited to inputs such as pressing. Moreover, the first input includes one or more inputs, wherein the multiple inputs may be continuous or intermittent.

[0076] Application scenarios include: the user long presses the target area to trigger the jump to the configuration interface of key information, and allows the user to change the configuration plan of key information in real time according to the current user needs.

[0077] Step C2: In response to the first input, determining the key information indicated by the key information identifier associated with the first input as preset key information.

[0078] Optionally, the key information identifier includes any one of a label, an option, an icon, etc.

[0079] First, in the configuration interface, multiple groups of key information options are displayed to provide options for users. Each group of key information can be a phrase, such as a URL, English, movie name, animation name and other commonly used phrases. Users can select from the provided phrases to determine the preset key information for matching.

[0080] Furthermore, the server is used to configure the key information that most users will use in the big data in real time, and then sent to the client. When the user configures the key information, there will be many more groups of key information options in the pop-up option box, so that the user has more freedom of choice.

[0081] In view of the need for the search function to identify common fields, this solution intelligently provides users with multiple options to help them complete the configuration of key information.

[0082] Secondly, in the configuration interface, an entry for adding new key information options is displayed, providing users with customized key information options. Users can manually edit key information and generate corresponding key information options, which are displayed together with other existing key information options. Users can select from the provided key information options to determine the preset key information for matching.

[0083] Thirdly, the system sets the preset key information for matching by default. For example, the system sets the preset key information by default, including name, number with more than 4 digits and address, which also meets the daily needs of most users.

[0084] Optionally, this embodiment provides a solution for the user to manually configure preset key information, and before the user configures, the system automatically configures the solution by default. After the user manually configures the preset key information, the key information selected by the current user is matched according to the currently selected key information.

[0085] Optionally, in this embodiment, the configuration of the preset key information is completed by performing a first input on the target area. The implementation method of the first input is not limited to realize different configuration schemes. In addition, more input methods can be implemented, not limited to the input of the target area, to realize different configuration schemes.

[0086] Optionally, when the target area displays the target content, the currently configured preset key information can also be displayed, so that the user can decide whether to reconfigure the preset key information or change the currently configured preset key information based on the currently displayed preset key information.

[0087] In this embodiment, a method for users to customize preset key information is provided. Because the target content in this application is associated with the input method, the associated input method in this application can be used in any scenario where the input method is used, so matching is not limited to using only a set of fixed preset key information. Therefore, this embodiment adds additional solutions for custom configuration of preset key information in some settings, so that the preset key information used for matching can be continuously changed according to user needs, thereby extracting more meaningful target content for the user to operate. It can be seen that this embodiment can meet the personalized needs of users while simplifying user operations.

[0088] In the process of the display method of another embodiment of the present application, step S1 includes any of the following:

[0089] Sub-step D1: upon receiving a target message, obtaining the content of the target message.

[0090] In this step, the latest received message is taken as the target message for key information matching.

[0091] Optionally, the system detects a third-party social program or information stream to obtain the content of the latest message.

[0092] Sub-step D2: upon receiving a second input from the user on the target message, obtaining content in the target message in response to the second input.

[0093] The second input includes the touch input and air input performed by the user on the screen, and is not limited to the input of clicking, sliding, etc.; the second input also includes the input performed by the user on the physical button on the device, and is not limited to the input of pressing, etc. Moreover, the second input includes one or more inputs, wherein the multiple inputs can be continuous or intermittent.

[0094] In this step, the user can manually select the message that needs to match the content.

[0095] Application scenarios include, for example, a user long presses a selected message to obtain the content of the message.

[0096] In this embodiment, the target area of ​​the input interface displays the target content in the latest received message by default for the user to operate. At the same time, according to the user's needs, the target content in the user-specified message can be displayed in the target area for the user to operate. It can be seen that this embodiment provides users with convenient operations based on the principle of proximity, and can also provide users with convenient operations based on the principle of personalization, thereby achieving the purpose of simplifying user operations in different scenarios.

[0097] In summary, this application processes the information flow according to the preset key information scheme selected in advance by the user, and intercepts the target content that matches the preset key information. Open the input method in the application where the target content needs to be used. At this time, the top panel of the input method has already displayed the target content in the current message in segments according to the preset key information scheme currently selected by the user, such as name, number, and address. Because the identified target content is directly displayed at the top of the input method panel, the use of the target content is not limited to the current application, and you can enter any application to pop up the input method and use it.

[0098] It can be seen that the present application provides a more convenient solution, which matches, intercepts and displays the user-defined key information of the new message in segments in the input method, making it convenient for users to use the message content in multiple applications in real time, while eliminating the process of deleting useless fields, and can directly use the key content. Through this solution, users can quickly use the content in the new message, saving tedious operations such as switching back and forth between multiple applications, repeated copying, pasting and manual deletion of useless data, and increasing the scope of use of the message content. At the same time, given that the preset key information solution can be customized, the functions provided by the present application are more flexible and practical, which can meet the various needs of different users, greatly improve the user's operational convenience, and optimize the user experience.

[0099] It should be noted that the display method provided in the embodiment of the present application can be executed by a display device or a control module in the display device for executing the display method. In the embodiment of the present application, the display device executing the display method is taken as an example to illustrate the display device of the display method provided in the embodiment of the present application.

[0100] Figure 3 A block diagram of a display device according to another embodiment of the present application is shown, comprising:

[0101] A first acquisition module 10, used to acquire the content of the target message;

[0102] A matching module 20, used to match the content with preset key information;

[0103] an associating module 30, for associating the target content with the input method program when the target content matches the target key information; wherein the content includes the target content, and the key information includes the target key information;

[0104] The first display module 40 is used to display target content in a target area of ​​the input interface when displaying the input interface of the input method program.

[0105] Thus, in an embodiment of the present application, for a target message, the content included in the target message can be obtained to match the obtained content with the preset key information. If the target content in the message content matches the target key information in the key information, the target content can be extracted separately for use by the user, thereby associating the target content with the input method program. Furthermore, the user can start the input method program in any application so that the input interface is displayed, so that the target content can be displayed separately in the target area of ​​the input interface, and then the user can perform related operations such as editing, sending, and saving for the target content in the application. Compared with the prior art, when a user wants to use the content in a notification message, there is no need to perform a series of operations such as switching between programs, copying, and pasting, and there is no need to perform them repeatedly, which simplifies user operations.

[0106] Optionally, the first display module 40 includes:

[0107] The segmented display unit is used to display the at least two groups of target contents in the at least two sub-areas of the target area respectively when the at least two groups of target contents match the target key information.

[0108] Optionally, the device further comprises:

[0109] A second acquisition module is used to acquire target function information of the first program corresponding to the current display interface;

[0110] The second display module is used to display a target function control corresponding to the target content in the target area according to the target function information.

[0111] Optionally, the device further comprises:

[0112] A first input receiving module, used to receive a first input from a user in a target area;

[0113] The first input response module is used to respond to the first input and determine the key information indicated by the key information identifier associated with the first input as preset key information.

[0114] Optionally, the first acquisition module 10 includes any of the following:

[0115] An automatic acquisition unit, configured to acquire content in a target message when receiving the target message;

[0116] The manual acquisition unit is used to acquire the content in the target message in response to the second input when receiving the second input of the user to the target message.

[0117] The display 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 (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0118] The display 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.

[0119] The display device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and to avoid repetition, it will not be described again here.

[0120] Alternatively, if Figure 4 As shown, an embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101. When the program or instruction is executed by the processor 101, each process of any one of the above-mentioned display method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

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

[0122] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0123] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010 and other components.

[0124] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 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.

[0125] Among them, the processor 1010 is used to obtain the content in the target message; match the content with preset key information; when the target content matches the target key information, associate the target content with the input method program; wherein the content includes the target content, and the key information includes the target key information; the display unit 1006 is used to display the target content in the target area of ​​the input interface when displaying the input interface of the input method program.

[0126] Thus, in an embodiment of the present application, for a target message, the content included in the target message can be obtained to match the obtained content with the preset key information. If the target content in the message content matches the target key information in the key information, the target content can be extracted separately for use by the user, thereby associating the target content with the input method program. Furthermore, the user can start the input method program in any application so that the input interface is displayed, so that the target content can be displayed separately in the target area of ​​the input interface, and then the user can perform related operations such as editing, sending, and saving for the target content in the application. Compared with the prior art, when a user wants to use the content in a notification message, there is no need to perform a series of operations such as switching between programs, copying, and pasting, and there is no need to perform them repeatedly, which simplifies user operations.

[0127] Optionally, the display unit 1006 is further configured to, when at least two groups of target contents match the target key information, display the at least two groups of target contents in the at least two sub-areas of the target area respectively.

[0128] Optionally, the processor 1010 is further used to obtain target function information of the first program corresponding to the current display interface; the display unit 1006 is further used to display a target function control corresponding to the target content in the target area according to the target function information.

[0129] Optionally, the user input unit 1007 is used to receive a first input from a user in the target area; the processor 1010 is further used to, in response to the first input, determine the key information indicated by the key information identifier associated with the first input as the preset key information.

[0130] Optionally, the processor 1010 is further configured to, upon receiving the target message, obtain the content of the target message; and upon receiving a second input from the user regarding the target message, obtain the content of the target message in response to the second input.

[0131] The present application provides a more convenient solution, which matches, intercepts and displays in segments the key information of new messages that users define, so that users can use the message content in real time in multiple applications, while eliminating the process of deleting useless fields and directly using the key content. Through this solution, users can quickly use the content in new messages, saving the tedious operations of switching back and forth between multiple applications, repeatedly copying, pasting and manually deleting useless data, and increasing the scope of use of the message content. At the same time, given that the key information solution can be customized, the functions provided by the present application are more flexible and practical, which can meet the various needs of different users, greatly improving the user's operational convenience and optimizing the user experience.

[0132] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 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 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 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 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010 .

[0133] 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 any of the above-mentioned display method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0135] 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 any of the above-mentioned display method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

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

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

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

[0139] 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 display method, characterized in that: The method comprises: Obtaining the content of a target message; the target message is the message currently received by the user; Matching the content with preset key information; In the case where the target content matches the target key information, associating the target content with the input method program; wherein the content includes the target content, and the key information includes the target key information; When the input interface of the input method program is displayed in any application program, the target content is displayed in the target area of ​​the input interface; Obtaining target function information of a first program corresponding to the current display interface; According to the target function information, displaying a target function control corresponding to the target content in the target area; using the target content by triggering the target function control; Displaying the target content in the target area of ​​the input interface includes: In the case where at least two groups of target contents match the target key information, the at least two groups of target contents are displayed correspondingly in at least two sub-areas of the target area respectively.

2. The method according to claim 1, characterized in that In the case where the input interface of the input method program is displayed, after the target content is displayed in the target area of ​​the input interface, the method further includes: receiving a first input from a user in the target area; In response to the first input, the key information indicated by the key information identifier associated with the first input is determined as the preset key information.

3. The method according to claim 1, characterized in that The obtaining of the content in the target message includes any of the following: When receiving the target message, obtaining the content of the target message; In the case of receiving a second input from the user on the target message, in response to the second input, the content in the target message is acquired.

4. A display device, characterized in that: The device comprises: A first acquisition module is used to acquire the content of a target message; the target message is the message currently received by the user; A matching module, used to match the content with preset key information; an associating module, for associating the target content with the input method program when the target content matches the target key information; wherein the content includes the target content, and the key information includes the target key information; A first display module, configured to display the target content in a target area of ​​the input interface when the input interface of the input method program is displayed in any application program; A second acquisition module is used to acquire target function information of the first program corresponding to the current display interface; A second display module is used to display a target function control corresponding to the target content in the target area according to the target function information; and to use the target content by triggering the target function control; The first display module comprises: The segmented display unit is used to display the at least two groups of target contents in the at least two sub-areas of the target area respectively when the at least two groups of target contents match the target key information.

5. The device according to claim 4, characterized in that The device further comprises: A first input receiving module, used for receiving a first input from a user in the target area; The first input response module is used to determine the key information indicated by the key information identifier associated with the first input as the preset key information in response to the first input.

6. The device according to claim 4, characterized in that The first acquisition module includes any one of the following: an automatic acquisition unit, configured to acquire content in the target message upon receiving the target message; The manual acquisition unit is used to acquire the content of the target message in response to the second input when receiving the second input from the user.