CN112433623A - Display method and electronic device - Google Patents

Display method and electronic device Download PDF

Info

Publication number
CN112433623A
CN112433623A CN202011340833.4A CN202011340833A CN112433623A CN 112433623 A CN112433623 A CN 112433623A CN 202011340833 A CN202011340833 A CN 202011340833A CN 112433623 A CN112433623 A CN 112433623A
Authority
CN
China
Prior art keywords
target
content
key information
input
user
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202011340833.4A
Other languages
Chinese (zh)
Other versions
CN112433623B (en
Inventor
查翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011340833.4A priority Critical patent/CN112433623B/en
Publication of CN112433623A publication Critical patent/CN112433623A/en
Application granted granted Critical
Publication of CN112433623B publication Critical patent/CN112433623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

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

Abstract

The application discloses a display method and electronic equipment, belongs to the technical field of electronics, and aims to solve the problem that a user is complicated to operate when using content in a notification message. The display method comprises the following steps: acquiring the content in the target message; matching the content with preset key information; associating the target content with an input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information; and under the condition that an input interface of the input method program is displayed, displaying the target content in a target area of the input interface. The display method is applied to the electronic equipment.

Description

Display method and electronic device
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a display method and electronic equipment.
Background
When using an electronic device, a user typically encounters the following scenario: the method comprises the steps that a user receives a message, the message comprises contents such as shopping links, telephone numbers and the like, the user opens the message in social software, all contents or part of contents in the message are manually selected to be copied, shopping software, communication software and the like are opened, and the copied contents are pasted in corresponding software.
In the above-described scenario, when the user wants to use the content in the notification message in the received notification message, a series of operations such as switching between software, copying, and pasting are required, and these operations are also required to be repeated in some cases, which makes the user complicated to operate.
Therefore, in the process of implementing the present application, the inventors found that at least the following problems exist in the prior art: the operation is cumbersome when the user uses the content in the notification message.
Disclosure of Invention
The embodiment of the application aims to provide a display method, which can solve the problem of complex operation when a user uses content in a notification message.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display method, where the method includes: acquiring the content in the target message; matching the content with preset key information; associating the target content with an input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information; and under the condition that an input interface of the input method program is displayed, displaying the target content in a target area of the input interface.
In a second aspect, an embodiment of the present application provides a display device, including: the first acquisition module is used for acquiring the content in the target message; the matching module is used for matching the content with preset key information; the association module is used for associating the target content with the input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information; and the first display module is used for displaying the target content in a target area of the input interface under the condition of displaying the input interface of the input method program.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this way, in the embodiment of the present application, for the target message, the content included in the target message may be acquired, so as to match the acquired 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. Further, the user can start the input method program in any application program to enable the input interface to be displayed, so that the target content can be independently displayed in the target area of the input interface, and the user can perform related operations such as editing, sending and saving aiming at the target content in the application program. Compared with the prior art, when the user wants to use the content in the notification message, a series of operations such as switching, copying and pasting among programs are not needed, repeated operations are not needed, and the user operation is simplified.
Drawings
FIG. 1 is a flow chart of a display method according to an embodiment of the present application;
FIG. 2 is a schematic display diagram of an input interface of a display method according to an embodiment of the present application;
FIG. 3 is a block diagram of a display device according to an embodiment of the present application;
fig. 4 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 shows a flowchart of a display method according to an embodiment of the present application, the method including:
step S1: and acquiring the content in the target message.
Optionally, the target message includes any one of a multimedia message, a short message, and a notification message of most social programs.
Optionally, the content in the target message includes message content, and the form is not limited to pictures, words, links, and the like.
Alternatively, the system may listen to the message stream and retrieve the message stream content.
Step S2: and matching the content with preset key information.
The key information is preset key information.
Optionally, the key information is preset according to the use habits of most users. For example, most users have a high usage rate of addresses and phone numbers in messages, and the preset addresses and phone numbers are key information.
Optionally, the key information is preset according to the use habit of the local user. For example, if the usage rate of the address and the phone number in the message by the local user is high, the preset address and the phone number are key information.
Optionally, the key information is preset according to the self definition of the local user.
Optionally, the matching process is: and classifying the content, and comparing whether the type is consistent with the key information. For example, the content is classified as a web link according to the format of the content, and is compared with the preset key information "web link", and if the content is consistent with the preset key information "web link", the content is matched.
Optionally, the matching process is: and identifying the characteristics of the content, and comparing whether the characteristics of the content are consistent with the characteristics of the key information. For example, the feature of the key information "phone number" includes 4 or more digits, and if it is recognized that the content includes 4 or more digits, a match is made.
Optionally, the matching process is: and comparing whether the content is consistent with the key information. For example, the message content includes: and the phrase of the XX restaurant is matched with the preset key information restaurant.
Step S3: and in the case that the target content is matched with the target key information, associating the target content with the input method program.
Wherein the content comprises target content and the key information comprises target key information.
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.
Optionally, the message content includes multiple groups of phrases matched with the same target key information, and then the multiple groups of target contents are matched with one group of target key information correspondingly; the message content comprises a plurality of groups of phrases which are respectively matched with different target key information, and the plurality of groups of target contents are correspondingly matched with a plurality of groups of target key information; the message content comprises a group of phrases matched with a plurality of groups of target key information, and is correspondingly matched with a group of target content and a plurality of groups of target key information; and so on.
Therefore, the content in the message is divided into a plurality of groups of sub-content, and the sub-content is respectively matched with a plurality of groups of preset key information to obtain at least one group of matching results.
And associating the target content with the input method program so that the target content in the message content is embodied through the input method program when the user uses the input method program.
Step S4: when an input interface of an input method program is displayed, target content is displayed in a target area of the input interface.
In an application scenario, for example, a user clicks in an edit box of any application program to display an input interface of an input method program.
In this step, based on the matching result to the message content, a target area is set in the input interface for displaying the target content that matches the matching result.
Furthermore, the user can directly complete related operations such as sending, saving and editing of the target content in the application program where the input interface is located.
In the application scenario of this embodiment, for example, the preset key information includes: three groups of names, 4 digits and numbers and addresses above. At this time, the user plays the game and comes a short message notice, and the contents are as follows: "you are your best, i are Zhang ming, we have bored the co-operation before, my contact is 156xxxx8170, i now XXX 1, to get over to the next co-operation, the user is not available to see this at the moment in the game. And after the game is ended, the user wants to contact the person and simultaneously wants to store the contact information of the person in the address book, and at the moment, the user opens the page for creating the contact person as long as the user arrives at the address book. The user only needs to click in the display areas for filling in the name and the mobile phone number respectively, the input method is popped up, and the input interface has an extra target area for displaying the matched target content: zhang Xiaoming, 156xxxx8170, XXX 1. Then, the user clicks on the corresponding target content, and the corresponding content can be filled.
In this way, in the embodiment of the present application, for the target message, the content included in the target message may be acquired, so as to match the acquired 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. Further, the user can start the input method program in any application program to enable the input interface to be displayed, so that the target content can be independently displayed in the target area of the input interface, and the user can perform related operations such as editing, sending and saving aiming at the target content in the application program. Compared with the prior art, when the user wants to use the content in the notification message, a series of operations such as switching, copying and pasting among programs are not needed, repeated operations are not needed, and the user operation is simplified.
In the display method according to another embodiment of the present application, in the case that the target content is displayed in the target area, the target key information matched with the target content may also be displayed in the target area for the user to refer to.
In the flow of the display method according to another embodiment of the present application, step S4 includes:
substep A1: and under the condition that at least two groups of target contents are matched with the target key information, at least two groups of target contents are correspondingly displayed in at least two sub-areas of the target area respectively.
In this step, sub-regions matching the number of the target contents are divided in the target region, so that the respective target contents are correspondingly displayed in the sub-regions, respectively.
Optionally, the application scenario of this embodiment includes: matching the at least two groups of target contents with one group of target key information, and respectively displaying the at least two groups of target contents according to regions; and matching the at least two groups of target contents with the at least two groups of target key information, and respectively displaying the at least two groups of target contents according to regions.
In reference, in the case that the target area supports at most 6 groups of target contents for display, if only one group of target contents exists, the target contents are displayed in a single line, and the target contents are displayed in the middle; if two groups of target contents exist, displaying in a single line, and calculating proportion display according to the left and right of the two groups of target contents which respectively account for half or the length of each group of target contents; if three groups of target contents exist, displaying in a single line, and displaying according to three equal parts of the three groups of target contents or calculating the proportion according to the length of the contents for displaying; if there are four groups of target contents, wherein three groups of target contents are displayed in the first row, and the rest group of target contents are displayed in the middle of the second row; if five groups of target contents exist, three groups of target contents are displayed in the first row, the rest two groups of target contents are displayed in the second row, and the ratio display is calculated according to the left and right of the two groups of target contents which respectively account for half or the length of each group of target contents; if there are six groups of target content, three groups of target content are displayed in the first row, and the remaining three groups of target content are displayed in the second row.
Optionally, in more schemes, a reasonable layout is designed for display according to the number of the target contents and the size of the target area.
Referring to fig. 2, optionally, the target area is located at the top of the input interface, which facilitates quick operation by the user.
Referring to fig. 2, optionally, each sub-region is used for displaying a set of key information matched contents.
Optionally, the display positions of the multiple sets of key information in the target area are arranged according to the frequency of use of the multiple sets of key information in the big data or the frequency of use of the user himself.
In this embodiment, on the basis of matching key information with respect to the content of a target message, a plurality of matched target contents are displayed in segments. Compared with the prior art that the user copies and pastes the whole section, the user can independently operate any group of target contents, and the operations of deleting invalid contents and the like after the user copies the whole section are avoided, so that the user operation is further simplified.
In the flow of the display method according to another embodiment of the present application, after step S4, the method further includes:
step B1: and acquiring target function information of a first program corresponding to the current display interface.
In an application scenario, for example, a user opens a first program, and a current display interface corresponds to the first program. The user opens the input method program in the edit box of the first program, thereby displaying the input interface. In this step, target function information of the first program may be acquired based on the first program to identify a function supportable by the first program for the target content.
Therefore, the function indicated by the target function information is a function in the first program, and the function is available for the user to operate the target content.
Optionally, for the first program and the input method program, cross function information is acquired as target function information to identify a function supported by both programs according to the cross function information.
For example, where the first program is a social program, both the social program and the input method program support a "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.
Step B2: and displaying the target function control corresponding to the target content in the target area.
The target function control is used for receiving input of a user so as to realize the function indicated by the target function information through the input of the user.
Optionally, the form of the control includes any one of an icon, a label, a key, a display bar, a designated area, and the like.
For example, the target functionality control is a "send" button, a "save" button, and the like.
In this step, the target function control is correspondingly displayed based on the target content. Therefore, in the first program, the user inputs the target function control aiming at the target content so as to complete the operations of sending, saving and the like of the target content.
Optionally, in a case that at least two sets of target contents are displayed, the corresponding target function control may be displayed for each set of target contents, so that the user may perform operations such as sending, saving, and the like separately for any set of target contents.
In another example, the target functionality control is a display area where the target content is located. In an application scenario, for example, a chat program is entered, and a user can directly click a display area where target content is located, so that the selected target content can be automatically sent; in the application scenario, for example, a memo is entered, and the user can directly click the display area where the target content is located, so that the selected target content can be automatically written; in another example, the application scenario enters the address book, and the user can directly click the display area where the target content is located, so that the selected target content can be automatically stored.
Optionally, the target functionality control may also be used to indicate: function information of a program where a target message to which the target content belongs is located. Correspondingly, the function of the program where the target message is located can be realized through the input of the target function control by the user.
For example, the target functionality control is a display area where the target content is located. In an application scenario, for example, if any program is entered, a user can directly click on a display area where target content is located, and then jump to the program where the target message is located, so that the target message is displayed in an interface of the program.
In this embodiment, for the matched target content and the first program corresponding to the current display interface, a target function control may be added on the basis that the target content is displayed on the input interface, so that the user may directly perform corresponding operations on the target content in the input interface, thereby further simplifying the user operations.
In the flow of the display method according to another embodiment of the present application, after step S4, the method further includes:
step C1: a first input by a user in a target area is received.
The first input comprises touch input and spaced input which are performed by a user on a screen, and is not limited to input such as clicking, sliding and the like; the first input also includes user input to physical keys on the device, not limited to press or the like. Furthermore, the first input includes one or more inputs, wherein the plurality of inputs may be continuous or intermittent.
And if the application scene is that the user presses the target area for a long time, triggering and jumping to a configuration interface of the key information, and enabling the user to change the configuration scheme of the key information in real time according to the requirement of the current user.
Step C2: and in response to the first input, determining the key information indicated by the key information identification associated with the first input as preset key information.
Optionally, the key information identification includes any one of a label, an option, an icon, and the like.
In a first aspect, a plurality of sets of key information options are displayed in a configuration interface to provide options for a user. Each set of key information may be a phrase, such as a relatively common phrase like a website, an english, a movie name, an animation name, etc., and the user may select among the provided phrases to determine the preset key information for matching.
Further, the server is used for configuration in real time according to key information used by most users in the big data, and then the key information is sent to the client. When the user configures the key information, many groups of key information options can be added in the pop-up option box, so that the selection freedom of the user is higher.
In view of the fact that conventional fields need to be recognized in the search function, the scheme intelligently provides a user with various options so as to help the user complete the configuration of key information.
In the second aspect, an entry with newly added key information options is displayed in the configuration interface, and custom key information options are provided for a user. The user can manually edit the key information to generate corresponding key information options, the corresponding key information options are displayed together with other existing key information options, and the user can select from the provided key information options to determine the preset key information for matching.
In a third aspect, the system defaults to preset key information for matching. For example, default preset key information of the system includes: name, number and address with more than 4 digits, and the scheme also meets daily use of most users.
Optionally, the present embodiment provides a scheme for the user to manually configure the preset key information, and a scheme for the system to automatically configure is used by default before the user does not configure the preset key information. And after the user manually configures the preset key information, matching the currently selected key information according to the currently selected key information.
Optionally, the present embodiment completes configuration of the preset key information by performing a first input on the target area. The implementation manner of the first input is not limited, so that different configuration schemes can be realized. In addition, different configuration schemes can be realized through more realized input modes, and the input modes are not limited to the input of the target area.
Optionally, in a case that the target content is displayed in the target area, the preset key information configured currently may also be displayed, so that the user may determine whether to reconfigure the preset key information or change the preset key information configured currently according to the preset key information displayed currently.
In this embodiment, a method for customizing preset key information by a user is provided. Because the target content in the application is associated with the input method, the associated input method in the application can be used in a scene using the input method, and the matching can be performed without only using a set of fixed preset key information. Therefore, in some settings, a scheme of self-defined configuration of preset key information is additionally added, so that the preset key information for matching can be continuously changed according to the user requirements, and more meaningful target content can be extracted for the user to operate. Therefore, the embodiment can simplify the user operation and meet the personalized requirements of the user.
In the flow of the display method according to another embodiment of the present application, step S1 includes any one of the following:
substep D1: and acquiring the content in the target message under the condition of receiving the target message.
In this step, the latest received message is taken as the target message for key information matching.
Optionally, the system detects third party social programs or information streams to obtain the content of the latest message.
Substep D2: and under the condition that second input of the user to the target message is received, responding to the second input, and acquiring the content in the target message.
The second input comprises touch input and space input which are performed by a user on a screen and are not limited to input of clicking, sliding and the like; the second input also includes user input to physical keys on the device, not limited to press or the like. Also, the second input includes one or more inputs, wherein the plurality of inputs may be continuous or intermittent.
In this step, the user may manually select the message for which matching content is desired.
And the application scene is that the user presses the selected message for a long time, so as to acquire the content of the message.
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. Meanwhile, the target content in the user-specified message can be displayed in the target area according to the user requirement so that the user can operate the target content. Therefore, the embodiment provides convenient operation for the user according to the principle of proximity, and can also provide convenient operation for the user according to the personalized principle, so that the aim of simplifying the user operation is fulfilled in different scenes.
In conclusion, according to the preset key information scheme selected by the user in advance, the information flow is processed, and the target content matched with the preset key information is intercepted. And opening the input method in the application program needing to use the target content, wherein the target content in the current message, such as name, number, address and the like, is displayed in a segmentation mode in the top panel of the input method according to a preset key information scheme currently selected by a user. Because the identified target content is directly displayed on the top of the input method panel, the use of the target content is not limited to the current application program, and the target content can be entered into any application program and can be used by popping out the input method.
Therefore, the method and the device provide a more convenient scheme, the matching and interception of the user-defined key information and the segmented display in the input method are carried out on the new message, the user can conveniently use the message content in a plurality of application programs in real time, the process of deleting useless fields is omitted, and the key content can be directly used. By the scheme, a user can quickly finish using the content in the new message, so that the complex operations of switching back and forth, repeatedly copying, pasting, manually deleting useless data and the like among multiple application programs are saved, and the use range of the message content is widened. Meanwhile, due to the fact that a preset key information scheme can be customized, the functions provided by the method are flexible and practical, various requirements of different users can be met, the operation convenience of the users is greatly improved, and the user experience is optimized.
In the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module for executing the display method in the display device. In the embodiment of the present application, a display device executing a display method is taken as an example, and a display device of the display method provided in the embodiment of the present application is described.
Fig. 3 shows a block diagram of a display device according to another embodiment of the present application, including:
a first obtaining module 10, configured to obtain content in a target message;
a matching module 20, configured to match the content with preset key information;
the association module 30 is used for associating the target content with the input method program under the condition that the target content is matched with the target key information; the content comprises target content, and the key information comprises target key information;
and the first display module 40 is used for displaying the target content in the target area of the input interface under the condition of displaying the input interface of the input method program.
In this way, in the embodiment of the present application, for the target message, the content included in the target message may be acquired, so as to match the acquired 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. Further, the user can start the input method program in any application program to enable the input interface to be displayed, so that the target content can be independently displayed in the target area of the input interface, and the user can perform related operations such as editing, sending and saving aiming at the target content in the application program. Compared with the prior art, when the user wants to use the content in the notification message, a series of operations such as switching, copying and pasting among programs are not needed, repeated operations are not needed, and the user operation is simplified.
Optionally, the first display module 40 includes:
and the segmented display unit is used for correspondingly displaying at least two groups of target contents in at least two sub-areas of the target area respectively under the condition that the at least two groups of target contents are matched with the target key information.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring target function information of the first program corresponding to the current display interface;
and the second display module is used for displaying the target function control corresponding to the target content in the target area according to the target function information.
Optionally, the apparatus further comprises:
the first input receiving module is used for receiving a first input of a user in the target area;
and the first input response module is used for responding to the first input and determining the key information indicated by the key information identification associated with the first input as preset key information.
Optionally, the first obtaining module 10 includes any one of:
the automatic acquisition unit is used for acquiring the content in the target message under the condition of receiving the target message;
and the manual acquisition unit is used for responding to a second input when the second input of the user to the target message is received, and acquiring the content in the target message.
The display 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 can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
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 (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and executable on the processor 101, where the program or the instruction is executed by the processor 101 to implement each process of any one of the above display method embodiments, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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 the like.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to obtain content in the target message; matching the content with preset key information; associating the target content with an input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information; a display unit 1006, configured to display the target content in a target area of an input interface of the input method program when the input interface is displayed.
In this way, in the embodiment of the present application, for the target message, the content included in the target message may be acquired, so as to match the acquired 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. Further, the user can start the input method program in any application program to enable the input interface to be displayed, so that the target content can be independently displayed in the target area of the input interface, and the user can perform related operations such as editing, sending and saving aiming at the target content in the application program. Compared with the prior art, when the user wants to use the content in the notification message, a series of operations such as switching, copying and pasting among programs are not needed, repeated operations are not needed, and the user operation is simplified.
Optionally, the display unit 1006 is further configured to, in a case that at least two sets of target contents are matched with the target key information, correspondingly display the at least two sets of target contents in at least two sub-areas of the target area, respectively.
Optionally, the processor 1010 is further configured to obtain target function information of a first program corresponding to the current display interface; the display unit 1006 is further configured to display a target function control corresponding to the target content in the target area according to the target function information.
Optionally, a user input unit 1007 used for receiving a first input of the user in the target region; the processor 1010 is further configured to determine, in response to the first input, key information indicated by a key information identifier associated with the first input as the preset key information.
Optionally, the processor 1010 is further configured to, in a case that the target message is received, obtain content in the target message; and under the condition that second input of the user to the target message is received, responding to the second input, and acquiring the content in the target message.
The application provides a more convenient scheme, user-defined key information matching and interception are carried out on the new message, segmented display is carried out in an input method, the user can conveniently use the message content in a plurality of application programs in real time, meanwhile, the process of deleting useless fields is omitted, and the key content can be directly used. By the scheme, a user can quickly finish using the content in the new message, so that the complex operations of switching back and forth, repeatedly copying, pasting, manually deleting useless data and the like among multiple application programs are saved, and the use range of the message content is widened. Meanwhile, in view of the scheme of customizing the key information, the functions provided by the application are more flexible and practical, various requirements of different users can be met, the operation convenience of the users is greatly improved, and the user experience is optimized.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as 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, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of any one of the above display method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of any one of the above display method embodiments, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of displaying, the method comprising:
acquiring the content in the target message;
matching the content with preset key information;
associating the target content with an input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information;
and under the condition that an input interface of the input method program is displayed, displaying the target content in a target area of the input interface.
2. The method of claim 1, wherein the displaying the target content in the target area of the input interface comprises:
and under the condition that at least two groups of target contents are matched with the target key information, correspondingly displaying the at least two groups of target contents on at least two sub-areas of the target area respectively.
3. The method according to claim 1, wherein, in the case of displaying the input interface of the input method program, after displaying the target content in the target area of the input interface, further comprising:
acquiring target function information of a first program corresponding to a current display interface;
and displaying a target function control corresponding to the target content in the target area according to the target function information.
4. The method according to claim 1, wherein, in the case of displaying the input interface of the input method program, after displaying the target content in the target area of the input interface, further comprising:
receiving a first input of a user in the target area;
in response to the first input, determining key information indicated by key information identification associated with the first input as the preset key information.
5. The method of claim 1, wherein the obtaining the content in the target message comprises any one of:
under the condition that the target message is received, acquiring the content in the target message;
and under the condition that second input of the user to the target message is received, responding to the second input, and acquiring the content in the target message.
6. A display device, characterized in that the device comprises:
the first acquisition module is used for acquiring the content in the target message;
the matching module is used for matching the content with preset key information;
the association module is used for associating the target content with the input method program under the condition that the target content is matched with the target key information; wherein the content comprises the target content and the key information comprises the target key information;
and the first display module is used for displaying the target content in a target area of the input interface under the condition of displaying the input interface of the input method program.
7. The apparatus of claim 6, wherein the first display module comprises:
and the segmented display unit is used for correspondingly displaying the at least two groups of target contents in at least two sub-areas of the target area respectively under the condition that the at least two groups of target contents are matched with the target key information.
8. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring target function information of the first program corresponding to the current display interface;
and the second display module is used for displaying a target function control corresponding to the target content in the target area according to the target function information.
9. The apparatus of claim 6, further comprising:
the first input receiving module is used for receiving a first input of a user in the target area;
and the first input response module is used for responding to the first input and determining the key information indicated by the key information identification associated with the first input as the preset key information.
10. The apparatus of claim 6, wherein the first obtaining module comprises any one of:
the automatic acquisition unit is used for acquiring the content in the target message under the condition of receiving the target message;
and the manual acquisition unit is used for responding to a second input of the user to the target message and acquiring the content in the target message under the condition of receiving the second input of the user to the target message.
CN202011340833.4A 2020-11-25 2020-11-25 Display method and electronic equipment Active CN112433623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011340833.4A CN112433623B (en) 2020-11-25 2020-11-25 Display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011340833.4A CN112433623B (en) 2020-11-25 2020-11-25 Display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112433623A true CN112433623A (en) 2021-03-02
CN112433623B CN112433623B (en) 2024-08-27

Family

ID=74697451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011340833.4A Active CN112433623B (en) 2020-11-25 2020-11-25 Display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112433623B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125956A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of information-pushing method based on input method and system
CN108595438A (en) * 2018-05-08 2018-09-28 北京金山安全软件有限公司 Information processing method, device and equipment
CN111638838A (en) * 2020-05-19 2020-09-08 维沃移动通信有限公司 Text editing method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125956A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of information-pushing method based on input method and system
CN108595438A (en) * 2018-05-08 2018-09-28 北京金山安全软件有限公司 Information processing method, device and equipment
CN111638838A (en) * 2020-05-19 2020-09-08 维沃移动通信有限公司 Text editing method and device and electronic equipment

Also Published As

Publication number Publication date
CN112433623B (en) 2024-08-27

Similar Documents

Publication Publication Date Title
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
CN111831181A (en) Application switching display method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN113179205A (en) Image sharing method and device and electronic equipment
CN113282424A (en) Information reference method and device and electronic equipment
CN112099702A (en) Application running method and device and electronic equipment
CN112286611B (en) Icon display method and device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN112764633A (en) Information processing method and device and electronic equipment
CN117215456A (en) Display method and device and electronic equipment
CN111857503A (en) Display method, display device and electronic equipment
WO2023046105A1 (en) Message sending method and apparatus and electronic device
WO2022253132A1 (en) Information display method and apparatus, and electronic device
WO2022247830A1 (en) Picture management method and apparatus, and electronic device
CN112433623B (en) Display method and electronic equipment
CN112637411B (en) Image searching method and device, electronic equipment and readable storage medium
CN112230817B (en) Link page display method and device and electronic equipment
CN115379113A (en) Shooting processing method, device, equipment and storage medium
CN114327173A (en) Information processing method and device and electronic equipment
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN112035032B (en) Expression adding method and device
CN112416230B (en) Object processing method and device
CN113342747B (en) Information input method and device and electronic equipment
CN114398129B (en) Sharing method and device for sharing objects, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant