Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of screens means two or more screens, and the like.
The embodiment of the invention provides a display method and terminal equipment, which can receive a first input of a user to a first target label (the first target label is a label in at least one label displayed in a first display area of the terminal equipment, and each label is used for indicating a communication message or contact information), and display a first communication interface (the first communication interface can be a communication interface for communicating with a first contact) in a second display area of the terminal equipment in response to the first input. According to the scheme, under the condition that at least one label used for indicating the communication message or the contact information is displayed in the first display area of the terminal equipment, a user can trigger the terminal equipment to display a communication interface corresponding to the label for communication of the contact in the second display area through inputting the at least one label. Therefore, when a user needs to reply information to a contact person sending or receiving a certain communication message, or when the user needs to send information to a contact person indicated by certain contact person information, the user can directly input a label indicating the communication message or the contact person information in the first display area to trigger the terminal device to display a communication interface communicated with the corresponding contact person in the second display area, and therefore the user can trigger the terminal device to display the communication interface through one-time input. In addition, in the process of inputting information in the communication interface by the user, if the communication information or the contact information indicated by other labels needs to be referred, the user can directly check in the first display area without exiting the communication interface, so that the process of replying/sending information by the user can be simplified, the time for replying/sending information by the user is saved, and the man-machine interaction performance can be improved.
The terminal in the embodiment of the present invention may be a terminal 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 invention are not limited in particular.
The following describes a software environment to which the display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the display method may operate based on the android operating system shown in fig. 1. That is, the processor or the terminal may implement the display method provided by the embodiment of the present invention by running the software program in the android operating system.
The terminal equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the display method provided by the embodiment of the present invention may be the terminal device, or may also be a functional module and/or a functional entity capable of implementing the display method in the terminal device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily explain the display method provided by the embodiment of the present invention.
In an embodiment of the present invention, in a scenario, when a user needs to reply to a communication message (for example, the communication message a), the user may trigger the terminal device to display at least one tag in the first display area, where each tag may be used to indicate one communication message (for example, the user may trigger the terminal device to display a short message list in a short message application). And then the user can trigger the terminal equipment to display in the second display area through inputting the label indicating the communication message A, so that the communication interface for communicating with the contact person sending the communication message A is realized, and the user can reply to the communication message A by inputting information on the communication interface.
In another scenario, after the user sends a communication message (communication message a) to a certain contact, if the user needs to send the communication message to the contact, the user may trigger the terminal device to display at least one tag in the first display area, where each tag may be used to indicate one communication message (for example, the user may trigger the terminal device to display a short message list in a short message application). The user can then trigger the terminal device to display a communication interface in the second display area for communicating with the contact receiving the communication message a by inputting the tag indicating the communication message a, so that the user can send another communication message, such as the communication message B, to the contact by inputting information on the communication interface.
In yet another scenario, when the user needs to send a message to a certain contact (e.g., contact C), the user may trigger the terminal device to display at least one tag in the first display area, where each tag may be used to indicate one piece of contact information (e.g., the user may trigger the terminal device to display a contact list in the address book application). Then, the user can trigger the terminal device to display a communication interface communicating with the contact person C in the second display area through inputting a tag indicating the contact person information C (indicating the contact person C), so that the user can send a message to the contact person C through inputting information on the communication interface.
When the communication message indicated by the first target tag is a communication message sent by a user to a certain contact, the first communication interface may be a communication interface for the user to communicate with the contact receiving the communication message. When the communication message indicated by the first target tag is a communication message sent by a certain contact person to a user, the first communication interface may be a communication interface through which the user communicates with the contact person sending the communication message. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
The following describes an exemplary display method provided by an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a display method, which may include S201 and S202 described below.
S201, the terminal equipment receives a first input of a user to the first target label.
The first target tag may be one of at least one tag displayed in the first display area of the terminal device, and each of the at least one tag may be used to indicate a communication message or contact information.
Optionally, in the embodiment of the present invention, at least one tag may be at least one communication message tag or at least one contact tag, which may be determined specifically according to actual usage requirements, and the embodiment of the present invention is not limited.
Each of the at least one communication message tag may be a phone number, or may also be a phone number and a summary information (i.e., the summary information of the communication message indicated by the communication message tag), which may be determined specifically according to actual usage requirements, and the embodiment of the present invention is not limited thereto.
Each of the at least one contact tag may be a phone number or a contact name, and may be determined according to actual usage requirements.
Optionally, in this embodiment of the present invention, in a case that at least one tag is at least one messaging tag, each of the at least one messaging tag may indicate a messaging (for example, may be a short message or a chat record in an instant messaging application).
Optionally, in this embodiment of the present invention, in a case that at least one tag is at least one contact tag, each contact tag in the at least one contact tag may indicate one piece of contact information (for example, may be one phone number or one account number).
Optionally, in this embodiment of the present invention, the first input may be an input of a user on the first target tag. Specifically, the first input may be any possible form of input, such as a sliding input, a double-pressing input, and a long-pressing input, of the user on the first target tag. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
When the first input is a re-press input, the re-press input is also called a pressure touch input, which is an input that a user presses on the first target label with a pressure value greater than or equal to a pressure threshold value. When the first input is a long press input, the long press input is an input in which the user presses on the first target tag for a time period greater than or equal to a time threshold.
S202, the terminal device responds to the first input and displays a first communication interface in the second display area.
The first communication interface may be a communication interface for communicating with a first contact. If the information indicated by the first target tag is a first communication message, the first contact person may be a contact person that sends or receives the first communication message; or, if the information indicated by the first target tag is the first contact information, the first contact may be a contact indicated by the first contact information.
Optionally, in this embodiment of the present invention, the second display area may be a display area different from the first display area in at least two display areas of the terminal device. That is, the first display area and the second display area may be different display areas of at least two display areas of the terminal device.
Optionally, in this embodiment of the present invention, the first display area and the second display area may be different display areas on one screen of the terminal device, or the first display area and the second display area may be different display areas on different screens of the terminal device.
Specifically, when the first display area and the second display area are different display areas on one screen of the terminal device, the following may be mentioned: the first display area and the second display area are two display areas on one screen of the terminal device. In this case, the terminal device may have one screen or may have a plurality of screens.
When the first display area and the second display area are different display areas on different screens of the terminal device, the following may be mentioned: the first display area is a display area on one screen of the terminal device, and the second display area is a display area on the other screen of the terminal device. In this case, the terminal device may have a plurality of screens.
Optionally, in the embodiment of the present invention, the screen of the terminal device may be a non-flexible screen or a flexible screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the first communication interface may specifically be a message editing interface. The message editing interface may be used to reply to the message to the first contact (i.e., the first communication interface may be used to reply to the message to the first contact), or may be used to send the message to the first contact (i.e., the first communication interface may be used to send the message to the first contact).
Illustratively, as shown in fig. 3, it is a schematic diagram of a first communication interface for replying a message to a first contact. It is understood that fig. 3 may be a schematic diagram of a first communication interface displayed by the terminal device after the user inputs a tag indicating a communication message (e.g., a short message). Specifically, in fig. 3, in one case, the short message content a is the content of a short message sent by a first contact to a user, and after the user triggers the terminal device to display a first communication interface, the user can reply the short message sent by the first contact by inputting information on the first communication interface. In another case, the short message content a is the content of a short message sent by the user to the first contact, and after the user triggers the terminal device to display the first communication interface, the user can send the short message to the first contact again by inputting information on the first communication interface.
Illustratively, as shown in fig. 4, a schematic diagram of a first communication interface for sending a message to a first contact is shown. It is to be understood that fig. 4 may be a schematic diagram of the first communication interface displayed by the terminal device after the user inputs the tag indicating the contact information (e.g., phone number). Specifically, in fig. 4, after the user triggers the terminal device to display the first communication interface, the user may input information on the first communication interface to send the short message to the first contact.
Optionally, in the embodiment of the present invention, after the user performs the first input on the first target tag, the terminal device may update the display effect of the first target tag in the first display area. For example, the terminal device may display the first target tag in a different display manner than other tags of the at least one tag. For example, the terminal device may display the first target label in any possible display manner such as highlight, bold, slant, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the embodiment of the invention, when the first display area of the terminal equipment displays at least one label for indicating the communication message or the contact information, a user can trigger the terminal equipment to display a communication interface for communication with the contact corresponding to the label in the second display area through inputting the at least one label. Therefore, when a user needs to reply information to a contact person sending or receiving a certain communication message, or when the user needs to send information to a contact person indicated by certain contact person information, the user can directly trigger the terminal device to display a communication interface communicated with the corresponding contact person in the second display area through the input of the label indicating the communication message or the contact person information in the first display area, and therefore the user can trigger the terminal device to display the communication interface through one-time input. In addition, in the process of inputting information in the communication interface by the user, if the communication information or the contact information indicated by other labels needs to be referred, the user can directly check in the first display area without exiting the communication interface, so that the process of replying/sending information by the user can be simplified, the time for replying/sending information by the user is saved, and the man-machine interaction performance can be improved.
Optionally, in this embodiment of the present invention, after the first communication interface is displayed in the second display area of the terminal device, the user may trigger the terminal device to update the first communication interface by inputting a tag (for example, a second input described below) different from the first target tag (for example, a second target tag described below).
For example, referring to fig. 2, as shown in fig. 5, after S202, the display method provided in the embodiment of the present invention may further include S203 and S204 described below.
S203, the terminal equipment receives a second input of the user to the second target label.
The second target tag may be a tag different from the first target tag in at least one tag displayed in the first display area of the terminal device. For the description of the at least one tag, reference may be made to the related description of the at least one tag in S201, which is not described herein again.
Optionally, in this embodiment of the present invention, the second input may be an input of the second target tag by a user. Specifically, the second input may be any possible form of input such as a user's re-press input, slide input, and long-press input on the second target tag. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
When the second input is a press input, the press input is also referred to as a pressure touch input, which is an input that a user presses on the second target label with a pressure value greater than or equal to a pressure threshold value. When the second input is a long press input, the long press input is an input in which the user presses on the second target tag for a time period greater than or equal to the time threshold.
And S204, the terminal equipment responds to the second input and updates the first communication interface.
Optionally, in this embodiment of the present invention, if the second input is an input performed by the user after a preset time period after the first input, that is, a time interval between the second input and the first input is greater than a time threshold (that is, the preset time period), the step S204 may be specifically implemented by the step S204a described below. If the second input is an input performed by the user within a preset time period after the first input, that is, the time interval between the second input and the first input is less than or equal to the time threshold (that is, the preset time period), S204 may be specifically implemented as S204b described below.
S204a, under the condition that the target time interval is larger than the time threshold, the terminal equipment updates the first communication interface to the second communication interface.
The second communication interface may be a communication interface for communicating with a second contact, where the second contact is a contact corresponding to the second target tag. Also, the target time interval may be a time interval between the first input and the second input.
Optionally, in the embodiment of the present invention, the time threshold may be a default numerical value of a system of the terminal device, or may be a user-defined numerical value. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the embodiment of the present invention, the second communication interface is similar to the first communication interface, and for the description of the second communication interface, reference may be specifically made to the description of the first communication interface in the above embodiment, which is not described herein again.
In the embodiment of the present invention, after receiving a first input of a user to one of at least one tag (hereinafter referred to as tag 1), the terminal device may display, in response to the first input, a communication interface (hereinafter referred to as communication interface 1) for communicating with a contact corresponding to the tag 1 in a second display area of the terminal device; and if the terminal device receives a second input of the user to a tag (i.e., the second target tag, which is hereinafter referred to as a tag 2) different from the tag 1 in the at least one tag after receiving the preset time length (i.e., the time threshold) after the first input, the terminal device may update the communication interface 1 displayed in the second display area of the terminal device to a communication interface for communicating with the contact corresponding to the tag 2 in response to the second input. It is understood that when the terminal device responds to the second input to the tag 2, the terminal device may display a communication interface for communicating with the contact corresponding to the tag 2 only in the second display area.
S204b, under the condition that the target time interval is less than or equal to the time threshold, the terminal equipment updates the first communication interface to the target content.
The target content may include a first sub-content and a second sub-content, the first sub-content may be information indicated by a first target tag, the second sub-content may be information indicated by a second target tag, and the first sub-content and the second sub-content may be displayed in a card form.
Exemplarily, as shown in fig. 6, a possible schematic diagram of the first sub-content and the second sub-content displayed in the form of a card is shown. Specifically, in fig. 6, the first sub-content may be displayed in a card form as shown at 60 in fig. 6, and the second sub-content may be displayed in a card form as shown at 61 in fig. 6.
In the embodiment of the present invention, after receiving a first input of a user to one of at least one tag (hereinafter referred to as tag 3), the terminal device may display, in response to the first input, information indicated by the tag 3 (i.e., the first sub-content mentioned above, hereinafter referred to as information 1) in a second display area of the terminal device; and, if the terminal device receives a second input of the user to a tag (i.e. the second target tag mentioned above, hereinafter, referred to as the tag 4) different from the tag 3 in the at least one tag within a preset time period (i.e. the time threshold value) after receiving the first input, the terminal device may respond to the second input, and in a case where the information 1 is displayed in the second display area of the terminal device, further display information indicated by the tag 4 (i.e. the second sub-content mentioned above, hereinafter, referred to as the information 2). It will be appreciated that when the terminal device responds to the second input to the tag 4, the terminal device may display the first sub-content and the second sub-content in the second display area.
In the embodiment of the present invention, after the first communication interface is displayed in the second display area of the terminal device, the terminal device may receive a second input to the second target tag from the user, and update the first communication interface to the second communication interface in response to the second input when the target time interval is greater than the time threshold; in this way, the display method provided by the embodiment of the present invention can update the first communication interface to other content (for example, the second communication interface or the target content), that is, the terminal device can present different content to the user for the same input of the user at different times, so that the display method provided by the embodiment of the present invention is flexible.
Optionally, in this embodiment of the present invention, after the terminal device updates the first communication interface displayed in the second display area to the target content, the user may trigger the terminal device to execute an operation (for example, a target operation described below) corresponding to a control (for example, a third input described below) displayed in the second display area on the target content displayed in the second display area through an input (for example, a third input described below) to the control (for example, the target operation described below) in the second display area of the terminal device. Therefore, the target content displayed on the second display area of the terminal equipment by the terminal equipment can be triggered to execute the operation corresponding to the control only by one operation of the user. Specifically, when the target content includes N (N is an integer greater than or equal to 2) pieces of sub-content, only one input by the user is needed to trigger the terminal device to execute the operation corresponding to the control on the N pieces of sub-content.
For example, after the above S204b, the display method provided by the embodiment of the present invention may further include the following S205 and S206.
And S205, the terminal equipment receives a third input of the target control by the user.
The target control may be a control in at least one control displayed in a second display area of the terminal device.
In the embodiment of the present invention, after the information indicated by the first target label and the information indicated by the second target label are displayed in the second display area of the terminal device, the user may trigger the terminal device to execute the target operation corresponding to the target control through the third input to the target control displayed in the second display area of the terminal device.
Optionally, in the embodiment of the present invention, the at least one control may be a "delete" control, a "favorite" control, a "reply" control, and the like displayed in the second display area of the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in the embodiment of the present invention, the target control may be any one of at least one control, and may be determined specifically according to an actual use requirement, which is not limited in the embodiment of the present invention.
Optionally, in an embodiment of the present invention, the third input may be an input of the target control by a user. Specifically, the third input may be any possible form of input, such as a click input (specifically, a single-click input or a double-click input), a slide input, and a long-press input. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
When the third input is a long-press input, the long-press input refers to an input that the user presses on the target control for a time period greater than or equal to a time threshold.
And S206, the terminal equipment responds to the third input, and executes target operation corresponding to the target control on the target content.
Wherein the target operation may include any one of: deleting the target content, collecting the target content, and transmitting information to a contact corresponding to the target content.
Optionally, in this embodiment of the present invention, if the user needs to delete the target content, the user may trigger the terminal device to delete the target content by clicking a "delete" control (as shown in 62 in fig. 6) in the at least one control.
Optionally, in this embodiment of the present invention, if the user needs to collect the target content, the user may trigger the terminal device to collect the target content by clicking a "collection" control (as shown in 63 in fig. 6) in the at least one control.
Optionally, in this embodiment of the present invention, if the user needs to send the communication message to the contact corresponding to the target content, the user may trigger the terminal device to send the communication message to the contact corresponding to the target content by clicking a "reply" control (as shown by 64 in fig. 6) in the at least one control.
In the embodiment of the present invention, after the target content is displayed in the second display area of the terminal device, when the target content includes N (N is an integer greater than or equal to 2) sub-contents, the terminal device may perform operations such as deleting, collecting, or replying on the N sub-contents displayed in the second display area, so as to avoid the user from performing operations such as deleting, collecting, or replying on the N sub-contents, thereby improving the operation efficiency of operating the N sub-contents, and improving the user experience.
Optionally, in an embodiment of the present invention, in a scenario where the at least one tag is at least one contact tag (each contact tag is used to indicate one piece of contact information), after the first communication interface is displayed in the second display area of the terminal device, the user may trigger the terminal device to add the contact information indicated by the contact tag to the first communication interface through an input (for example, a fourth input) to the contact tag (for example, a third target tag described below) displayed in the first display area. That is, after the contact information is added, the first communication interface is specifically a communication interface through which the user communicates with the first contact and the contact.
For example, referring to fig. 2, as shown in fig. 7, after S202, the display method provided in the embodiment of the present invention may further include S207 and S208 described below.
And S207, the terminal equipment receives a fourth input of the user to the third target label.
The third target tag may be a tag different from the first target tag in the at least one tag, and the third target tag may be used to indicate target contact information, and the target contact information may be used to indicate a target contact.
Optionally, in this embodiment of the present invention, the fourth input may be an input of the user on the third target tag. Specifically, the fourth input may be any possible form of input, such as a sliding input, a double-pressing input, and a long-pressing input, by the user on the third target tag. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
When the fourth input is a press input, the press input is also referred to as a pressure touch input, which is an input pressed by a user on the third target label with a pressure value greater than or equal to the pressure threshold value. When the fourth input is a long press input, the long press input is an input in which the user presses on the third target tab for a time period greater than or equal to the time threshold.
And S208, the terminal equipment responds to the fourth input and adds the target contact information to the first communication interface.
In the embodiment of the present invention, after the first communication interface is displayed in the second display area of the terminal device, the terminal device may receive a fourth input of the third target tag by the user, and add, in response to the fourth input, the target contact information indicated by the third target tag to the first communication interface.
For example, assuming that the third target tag indicates contact information 1, contact information 1 indicates contact 1, the third target tag is a contact name (e.g., lie XX), and the fourth input is a press-and-press input, after the terminal device displays the first communication interface shown in fig. 3 in the second display area, the user may trigger the terminal device to add contact information 1 to the first communication interface by pressing "lie XX" shown as 80 in fig. 8 (i.e., the third target tag). As shown in fig. 9, a schematic diagram of the first communication interface after adding contact information 1 to the first communication interface for the terminal device is shown, where as shown at 90 in fig. 9, the contact information 1 indicated by the third target tag is shown. As shown in fig. 9, the first communication interface is now an interface for the user to communicate with the first contact (e.g., the contact indicated as 138XXXX0122 in fig. 9) and contact 1 (e.g., the contact indicated as 138XXXX5654 in fig. 9). It will be appreciated that the user may send a message to both the first contact and contact 1.
In the embodiment of the present invention, after the first communication interface in communication with the first contact is displayed in the second display area of the terminal device, the terminal device may receive a fourth input to the third target tag from the user, and add the target contact information in the first communication interface displayed in the second display area in response to the fourth input. Therefore, in the process of communication between the user and the first contact person, when the user still needs to communicate with other contact persons, the user can trigger the terminal equipment to directly add the contact person information indicated by the label to the first communication interface through inputting the label displayed in the first display area, so that new contact person information can be conveniently added to the first communication interface, and communication with more contact persons according to the requirements of the user in real time is achieved.
In the embodiment of the present invention, the display methods shown in the above drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the display methods shown in the above drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and are not described herein again.
As shown in fig. 10, an embodiment of the present invention provides a terminal device 300, which may include a receiving module 301 and a display module 302. The receiving module 301 is configured to receive a first input of a first target tag by a user, where the first target tag is a tag of at least one tag displayed in a first display area, and each tag is used to indicate a communication message or contact information; a display module 302, configured to display a first communication interface in a second display area in response to the first input received by the receiving module 301, where the first communication interface is a communication interface for communicating with a first contact; if the information indicated by the first target label is a first communication message, the first contact person is a contact person for sending or receiving the first communication message; or, if the information indicated by the first target tag is the first contact information, the first contact is the contact indicated by the first contact information.
It is understood that, in the embodiment of the present invention, the first display area and the second display area of the terminal device 300 may be the display module 302 or a part of the display module 302.
Optionally, in the terminal device provided in the embodiment of the present invention, with reference to fig. 10, as shown in fig. 11, the terminal device 300 provided in the embodiment of the present invention may further include an update module 303. The receiving module 301 is further configured to receive a second input of the second target tag from the user after the displaying module 302 displays the first communication interface in the second area, where the second target tag is a tag different from the first target tag in the at least one tag; an updating module 303, configured to update the first communication interface in response to the second input received by the receiving module 301.
Optionally, in the terminal device provided in the embodiment of the present invention, the updating module 303 is specifically configured to update the first communication interface to a second communication interface when the target time interval is greater than the time threshold, where the second communication interface is a communication interface for communicating with a second contact, and the second contact is a contact corresponding to the second target tag; or, the updating module 303 is specifically configured to update the first communication interface to target content when the target time interval is less than or equal to the time threshold, where the target content includes first sub-content and second sub-content, the first sub-content is information indicated by a first target tag, the second sub-content is information indicated by a second target tag, and the first sub-content and the second sub-content are displayed in a card form; wherein the target time interval is a time interval between the first input and the second input.
Optionally, in the terminal device provided in the embodiment of the present invention, the second display area further displays at least one control; referring to fig. 11, as shown in fig. 12, the terminal device 300 according to the embodiment of the present invention may further include an executing module 304. The receiving module 301 is further configured to receive a third input of the target control from the user after the updating module 303 updates the first communication interface to the target content, where the target control is a control in at least one control; an executing module 304, configured to, in response to the third input received by the receiving module 301, execute a target operation corresponding to the target control on the target content; wherein the target operation comprises any one of the following: deleting the target content, collecting the target content, and sending information to the contact corresponding to the target content.
Optionally, in the terminal device provided in the embodiment of the present invention, at least one tag is used to indicate at least one piece of contact information, and as shown in fig. 13 in combination with fig. 10, the terminal device 300 provided in the embodiment of the present invention may further include an adding module 305. A receiving module 301, configured to receive a fourth input of the user to a third target tag after the displaying module 302 displays the first communication interface in the second area, where the third target tag is a tag different from the first target tag in at least one tag, the third target tag is used to indicate target contact information, and the target contact information is used to indicate a target contact; an adding module 305, configured to add the target contact information to the first communication interface in response to the fourth input received by the receiving module 301; the first communication interface is specifically a communication interface for communicating with the first contact and the target contact.
The display method provided by the embodiment of the invention can realize each process realized by the terminal equipment in the above method embodiments, and is not repeated here to avoid repetition.
The embodiment of the invention provides a terminal device, which can receive a first input of a user to a first target tag (the first target tag is a tag in at least one tag displayed in a first display area of the terminal device, and each tag is used for indicating a communication message or contact information), and display a first communication interface (the first communication interface can be a communication interface for communicating with a first contact) in a second display area of the terminal device in response to the first input. According to the scheme, under the condition that at least one label used for indicating the communication message or the contact information is displayed in the first display area of the terminal equipment, a user can trigger the terminal equipment to display a communication interface corresponding to the label for communication of the contact in the second display area through inputting the at least one label. Therefore, when a user needs to reply information to a contact person sending or receiving a certain communication message, or when the user needs to send information to a contact person indicated by certain contact person information, the user can directly input a label indicating the communication message or the contact person information in the first display area to trigger the terminal device to display a communication interface communicated with the corresponding contact person in the second display area, and therefore the user can trigger the terminal device to display the communication interface through one-time input. In addition, in the process of inputting information in the communication interface by the user, if the communication information or the contact information indicated by other labels needs to be referred, the user can directly check in the first display area without exiting the communication interface, so that the process of replying/sending information by the user can be simplified, the time for replying/sending information by the user is saved, and the man-machine interaction performance can be improved.
Fig. 14 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. The terminal device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 14 is not intended to be limiting, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 107 is configured to receive a first input of a first target tag by a user; and a display unit 106, configured to display a first communication interface in the second display area in response to the first input received by the user input unit 107. The first target label is a label in at least one label displayed in the first display area, and each label is used for indicating a communication message or contact information; the first communication interface is a communication interface for communicating with a first contact; if the information indicated by the first target label is a first communication message, the first contact person is a contact person for sending or receiving the first communication message; or, if the information indicated by the first target tag is the first contact information, the first contact is the contact indicated by the first contact information.
The embodiment of the invention provides a terminal device, which can receive a first input of a user to a first target tag (the first target tag is a tag in at least one tag displayed in a first display area of the terminal device, and each tag is used for indicating a communication message or contact information), and display a first communication interface (the first communication interface can be a communication interface for communicating with a first contact) in a second display area of the terminal device in response to the first input. According to the scheme, under the condition that at least one label used for indicating the communication message or the contact information is displayed in the first display area of the terminal equipment, a user can trigger the terminal equipment to display a communication interface corresponding to the label for communication of the contact in the second display area through inputting the at least one label. Therefore, when a user needs to reply information to a contact person sending or receiving a certain communication message, or when the user needs to send information to a contact person indicated by certain contact person information, the user can directly input a label indicating the communication message or the contact person information in the first display area to trigger the terminal device to display a communication interface communicated with the corresponding contact person in the second display area, and therefore the user can trigger the terminal device to display the communication interface through one-time input. In addition, in the process of inputting information in the communication interface by the user, if the communication information or the contact information indicated by other labels needs to be referred, the user can directly check in the first display area without exiting the communication interface, so that the process of replying/sending information by the user can be simplified, the time for replying/sending information by the user is saved, and the man-machine interaction performance can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 14, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes the processor 110, the memory 109, and a computer program stored in the memory 109 and capable of being executed on the processor 110 as shown in fig. 14, where the computer program is executed by the processor 110 to implement the processes of the method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.