Patent Description:
When a user chats by a social application program of the terminal device, in order to satisfy the interest of chatting, the user usually need to chat with some interesting meme or pictures. Taking the meme as an example, when a user replies to different chat contents, different meme need to be sent, that is, the user requires different meme in different communication scenarios.

Specifically, the user can trigger the terminal device to display one or more meme lists on the screen by operating the meme control in the communication window, such as a list of meme in favorite, a list of locally saved meme and a list of meme recommended by a network side device. In this way, the user can select the required meme from the lists of the meme and trigger the terminal device to send the meme in the communication window.

However, one or more meme lists generally include a large number of meme, and the meme are arranged disorderly; therefore, a user may need to look through these meme in these lists for many times before finding the required meme. That is, it is tedious and time-consuming to search for the meme required by the user.

<CIT> discloses that the electronic device can display an acknowledgement selection affordance at the message region users input on. And the acknowledgement selection affordance will display a plurality of acknowledgement options which can be applied to the message region.

<CIT> discloses a method of analyzing description information of a current conversation in an instant messaging client side, and determining the context of the current conversation. And the context of the current conversation can be determined according to the matching degree of various context of current session. When an emoticon input operation is triggered, a target emoticon set corresponding to the context of the current conversation will be selected from multiple backup emoticon sets.

Embodiments of the present disclosure provide a display control method and a terminal device, so as to solve the problem that the process of searching for the meme required by a user is tedious and time-consuming.

To solve the foregoing technical problems, the embodiments of the present disclosure are implemented as follows:
according to a first aspect, embodiments of the present disclosure provide a display control method, which is defined in claim <NUM>.

According to a second aspect, embodiments of the present disclosure further provides a terminal device, which is defined in claim <NUM>.

According to a third aspect, embodiments of the present disclosure provide a computer readable storage medium, which is defined in claim <NUM>.

The technical solutions in the embodiments of the present disclosure are described below clearly with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some rather than all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

It should be noted that "/" in this specification represents or. For example, A/B may represent A or B. "and/or" in this specification merely describes an association relationship between associated objects, and indicates that there may be three relationships. For example, A and/or B may represent that there are three cases: there is only A, there are both A and B, and there is only B. The term "a plurality of" refers to two or more.

It should be noted that in this embodiment of the present disclosure, the term such as "exemplary" or "for example" is used for representing an example, an illustration, or a description. Any embodiment or design scheme described as an "example" or "for example" in the embodiments of the present disclosure should not be explained as being more preferred or having more advantages than another embodiment or design scheme. To be precise, the use of the term such as "exemplary" or "for example" is intended to present a related concept in a specific manner.

In the specification and claims of the present disclosure, the terms "first", "second", and so on are intended to distinguish between different objects but do not describe a particular order of the objects. For example, a first input and a second input are intended to distinguish between different inputs, instead of describing a particular order of the inputs.

According to the display control method provided by the embodiments of present disclosure, the first input performed by the user may be received in a case that the first communication window is displayed on the screen of the terminal device; and at least one first control associated with the display content of the first communication window is displayed on the screen in response to the first input, where each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window includes at least one of a communication title, a communication content and a communication object. That is, in a case that a user needs to search for objects such as the meme, the terminal device may display at least one first control with a small number and associated with the current display content, and will not directly display a large number of unordered meme and other objects, so that the user can trigger the terminal device rapidly and conveniently to acquire at least one object corresponding to the first target control, such as the meme required by the user. Therefore, the step that the user searches for the meme in a large number of unordered meme for many times is avoided, that is, the step of searching for the meme is simplified.

The terminal device in the embodiments of the present disclosure may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), or the like. The non-mobile terminal device may be a personal computer (PC), a television (TV), a teller machine, a self-service machine, or the like. This is not specifically limited in the embodiment of the present disclosure.

It should be noted that, in the display control method provided by the embodiments of the present disclosure, an execution body may be a terminal device, a central processing unit (CPU) of the terminal device, or a control module configured to perform the display control method in the terminal device. In the embodiments of the present disclosure, the case where the terminal device performs the display control method is taken as an example to describe the display control method provided by the embodiments of the present disclosure.

The terminal device in the embodiments of the present disclosure may be a terminal device with an operating system. The operating system may be an Android (Android) operating system, or may be an iOS operating system or another possible operating system, which is not specifically limited in the embodiments of the present disclosure.

The Android operating system is taken as an example below to describe a software environment to which a display control method provided by the embodiments of the present disclosure is applied.

As shown in <FIG> is a schematic diagram of an architecture of a possible Android operating system according to an embodiment of the present disclosure. In <FIG>, the architecture of the Android operating system includes <NUM> layers, which are an application layer, an application framework layer, a system runtime library layer, and a kernel layer (which may specifically be a Linux kernel layer).

The application layer includes various applications in the Android operating system (that include system applications and third-party applications).

The application framework layer is an application framework, and a developer may develop some applications based on the application framework layer following a rule of developing the application framework, for example, application programs such as a system setting application, a system chat application, and a system camera application; or application programs such as a third-party setting application, a third-party camera application, and a third-party chat application.

The system runtime library layer includes a library (also referred to as a system library) and an Android operating system runtime environment. The library mainly provides various resources required for the Android operating system. The running environment of the Android operating is used to provide the Android operating system with a software environment.

The kernel layer is an operating system layer of the Android operating system, and is a lowest layer of software levels of the Android operating system. The kernel layer provides core system services and hardware-related driver programs for the Android operating system based on the Linux kernel.

The Android operating system is taken as an example. In the embodiments of the present disclosure, based on the system architecture of the Android operating system as shown in <FIG>, developers may develop software programs that implement the display control method provided by the embodiments of the present disclosure, so that the display control method can be performed based on the Android operating system as shown in <FIG>. In other words, a processor or the terminal device may run the software program in the Android operating system to implement the display control method provided by the embodiments of the present disclosure.

The following describes in detail the display control method provided by the embodiments of the present disclosure with reference to the flowchart of the display control method shown in <FIG>. A logical sequence of the display control method provided by the embodiments of the present disclosure is shown in the method flowchart, but in some cases, the shown or described steps may be performed in a sequence different from the sequence herein. For example, the display control method shown in <FIG> may include S201 and S202.

S201: the terminal device receives a first input performed by a user in a case that a first communication window is displayed on a screen of the terminal device.

A communication application program may be installed in the terminal device, and the communication application program may provide a communication window to support two or more communication objects (one communication object corresponds to one user) to chat. Exemplarily, the first communication window may be a communication window of two or more communication objects. Certainly, two or more communication objects in the first communication window includes a communication object corresponding to a user.

In addition, the terminal device may receive and transmit communication content in the communication window, and the type of the communication content may include text, picture (such as meme), link, audio and video. Specifically, in the embodiments of the present disclosure, the object transmitted and displayed by the terminal device in the communication window (such as the first communication window) is the communication content in the communication window.

It should be noted that in the embodiments of the present disclosure, the interactive information in the communication window is described as communication content, object or display content in different positions, and different names are only used to distinguish clearly in different scenarios and will not affect the essence of the interactive information.

It may be understood that in the scenario where a user replies the communication content (such as the last communication content) in the current first communication window, the user may perform the first input for the first communication window.

It should be noted that the terminal provided by the embodiments of the present disclosure may be provided with a touch screen; and the touch screen may be configured to receive the input performed by the user and display the content corresponding to the input to the user in response to the input. The above first input may be a touch screen input, a fingerprint input, a gravity input, a key input and the like. The touch screen input is a pressing input, a long pressing input, a sliding input, a click input, a suspension input (the input performed by a user near the touch screen) and the like of a user on the touch screen of the terminal. The fingerprint input is a swipe fingerprint input, a long-press fingerprint input, a single-click fingerprint input, and a double-click fingerprint input of a user on the terminal's fingerprint reader. The gravity input is an input of shaking a terminal in a specific direction by a user, shaking for a specific quantity of times, or the like. The key input corresponds to the single-click operation, double-click operation, long-press operation, combined key operation and the like performed by a user on a power key, a volume key, a home key and the like of the terminal. Specifically, the embodiments of the present disclosure do not specifically limit the form of the first input, which may be any achievable form.

Exemplarily, the first input may be a specific input performed by a user on the first communication window, for example, a sliding track in the first communication window is an arc sliding input; or the first input may be a long-press input performed by a user on a certain communication content in the first communication window.

S202: the terminal device displays at least one first control on the screen in response to the first input;
where the at least one first control is associated with a display content of the first communication window, and each of the at least one first control respectively corresponds to at least one object.

It should be noted in the embodiments of the present disclosure, the object may be meme, picture or other files.

Each of the at least one first control is provided with one piece of object information, and at least one object corresponding to one first control is an object indicated by the object information of the first control. That is, the object information of one first control may serve as an index of the at least one object corresponding to the first control.

It may be understood that a user may need to reply different meme in different communication scenarios. For example, when the terminal device receives an electronic red packet in the first communication window, that is, when the communication scenario of the first communication window is the red packet scenario, a user may need to replay the meme "thank you, boss".

According to the display control method provided by the embodiments of present disclosure, the first input performed by the user is received in a case that the first communication window is displayed on the screen of the terminal device; and at least one first control associated with the display content of the first communication window is displayed on the screen in response to the first input, where each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window includes at least one of a communication title, a communication content and a communication object. That is, in a case that a user needs to search for objects such as the meme, the terminal device may display at least one first control with a small number and associated with the current display content, and will not directly display a large number of unordered meme and other objects, so that the user can trigger the terminal device rapidly and conveniently to acquire at least one object corresponding to the first target control, such as the meme required by the user. Therefore, the step that the user searches for the meme in a large number of unordered meme for many times is avoided, that is, the step of searching for the meme is simplified.

The display control method provided by the embodiments of the present disclosure further includes S203 before S201.

S203: the terminal device determines the target scenario information according to the display content of the first communication window;
where the at least one first control corresponds to target scenario information.

It should be noted that the terminal device may take the control corresponding to the target scenario information as at least one first control when determining that the target scenario information is acquired, that is, at least one first control associated with the display content of the first communication window is obtained.

It may be understood that objects (such as meme) which a user needs to reply are generally different in a case that the communication scenarios of the first communication window are different. Specifically, the object which the user generally needs to reply may be an object corresponding to the communication scenario of the first communication window.

For example, when the terminal device receives an electronic red packet in the first communication window, that is, when the communication scenario of the first communication window is the red packet scenario, a user may need to replay the meme "thank you, boss".

Optionally, the above target scenario information is determined by the terminal device in real time, or is determined by a server interacting with the terminal device in real time.

Exemplarily, in a first application scenario provided by the embodiments of the present disclosure, the display content of the first communication window includes a communication title (recorded as information <NUM>). That is, the terminal device determines the target scenario information according to the information <NUM>. For example, a title indicated by title information of the first communication window may be "XX company", "XX department", "XX unit", "XX software" or "XX development". Specifically, the terminal device may determine different target scenario information according to different communication titles of the communication window.

In a second application scenario provided by the embodiments of the present disclosure, the display content of the first communication window includes a communication content (recorded as information <NUM>). That is, the terminal device determines the target scenario information according to the information <NUM>. The communication content of the first communication window specifically may be a keyword included in the communication content, or the communication content itself, or the content type of the communication content (such as text, picture, audio, video or link).

In a third application scenario provided by the embodiments of the present disclosure, the display content of the first communication window includes a communication object (recorded as information <NUM>). That is, the terminal device determines the target scenario information according to the information <NUM>. Specifically, the target information is information of the communication object (recorded as a target chat object) for sending the communication content (recorded as the target communication content) in the first communication window.

Optionally, the target communication content may be the last communication content in the first communication window by default, or one or more communication contents operated by the user through the first input.

The information of the target chat object may indicate at least one of the name of the target chat object, the group of the target chat object in the contacts and the label of the target chat object. Specifically, the terminal device may determine a relationship between a user (recorded as a target user) corresponding to the target chat object and a user according to the information of the target chat object. For example, the terminal device determines a relationship with the person according to the name or unit or group of the target general object, and finally determines that the communication scenarios indicated by the target scenario information are "family scenario", "friend scenario", "colleague scenario", "schoolmate scenario" and the like.

Further, optionally, in a fourth application scenario, the target scenario information is pre-defined. That is, the terminal device determines the pre-defined target scenario information as the target scenario information.

Exemplarily, the pop-up box corresponding to the pre-defined target scenario information may include "are you there", "did you eat", "hello" and other controls, and these controls are the at least one first control.

It may be understood that an association relationship between the scenario information and the corresponding at least one first control is preset by a system; the scenario information is the common scenario in life, for example, "working scenario" and "red packet scenario" in the above example; and the object information of the first control corresponding to the scenario information may be a common phrase in the corresponding scenario.

It should be noted that in the embodiments of the present disclosure, in a case that the target scenario information is determined according to the display content in the current chat window, the description of the display content including more of information <NUM> to information <NUM> may be referenced to the related description of the first scenario information to the third application scenario in the above embodiment, which will not elaborated by the embodiments of the present disclosure herein.

It should be noted that in the display control method provided by the embodiments of the present disclosure, the terminal device may automatically determine the target scenario information corresponding to the current first communication window and obtain at least one first control corresponding to the target scenario information, so that at least one object (that is, at least one meme) corresponding to each first control can be obtained. In this way, the terminal device may display at least one first control associated with the display content of the first communication window on the screen, and it is beneficial to increase the degree that the object such as meme provided by the terminal device meets the requirements of the user.

In the display control method provided by the embodiments of the present disclosure, in a case that the user needs to view at least one object corresponding to each first control, the terminal device may be triggered to display the corresponding object on the screen, so that selection input is performed on these objects. Specifically, after the S202, the method may further include S204 and S205.

S204: the terminal device receives a second input performed by a user for a first target control, where the first target control is a control of the at least one first control.

Similarly, the description of the input form of the second input may be referenced to the related description of the input form of the first input, which will not be elaborated herein. Exemplarily, the second input is a click input performed by the user to the first target control.

Object information of the first target control may serve as an index of at least one object corresponding to the first target control.

It may be understood that the at least one object corresponding to the first target control may be an object including the object information of the first target control, or an object whose title (or label) is the object information of the first target control.

S205: the terminal device displays at least one object corresponding to the first target control on the screen in response to the second input.

Exemplarily, when the terminal device receives an electronic red packet in the first communication window, that is, when the communication scenario of the first communication window is a red packet scenario, the object information of the first target control may be "thank you, boss", and the at least one object corresponding to the first control is a meme corresponding to "thank you, boss".

The display control method provided by the embodiments of the present disclosure will be illustrated below through the examples in <FIG> and <FIG>.

As shown in (a) in <FIG>, the first communication window <NUM> displayed on the screen of the terminal device includes a title "Internet technology exchange group", an identifier "a certain master" of a communication object and a communication content "I posted a technical blog on a forum". After the user's long-press input (that is, the first input) of the communication content "I posted a technical blog on a forum", as shown in (b) in <FIG>, the "master, take me" control, the "<NUM>" control and the "like" control are displayed on the screen of the terminal device, where the object information of the "master, take me" control is master, take me, the object information of the "<NUM>" control is <NUM>, and the object information of the "like" control is like.

Specifically, the communication scenario indicated by the target scenario information of the first communication window <NUM> may be a technical scenario, and the at least one control corresponding to the target scenario information is the "master, take me" control, the "<NUM>" control and the "like" control.

Further, in a case that the "master, take me" control is the first target control, after the click input (that is, the second input) performed by the user for the "master, take me" control, as shown in (c) in <FIG>, a meme <NUM>, a meme <NUM> and a meme <NUM> corresponding to the "master, take me" control may be displayed on the screen of the terminal device. That is, the meme <NUM>, the meme <NUM> and the meme <NUM> are the at least one object corresponding to the first target control.

Further, after the click input performed by the user for the meme <NUM> shown in (c) in <FIG>, as shown in (d) in <FIG>, the terminal device may successfully send and display the meme <NUM> in the first communication window <NUM>. Obviously, the meme <NUM> is a meme meeting the technical scenario.

As shown in (a) in <FIG>, the first communication window <NUM> displayed on the screen of the terminal device includes a title "red packet scenario", an identifier "little v" of a communication object and a communication content of electronic red packet "I wish you happiness and prosperity, lots of luck and profits". After the user's long-press input (that is, the first input) of electronic red packet "I wish you happiness and prosperity, lots of luck and profits", as shown in (b) in <FIG>, the "thank you, boss" control, the "one cent is love" control and the "the red packet is too small" control are displayed on the screen of the terminal device, where the object information of the "thank you, boss" control is thank you, boss, the object information of the "one cent is love" control is one cent is love, and the object information of the "the red packet is too small" control is the red packet is too small.

Specifically, the target scenario information (recorded as scenario information <NUM>) of the first communication window <NUM> indicates a red packet scenario, and at least one control may be the "thank you, boss" control, the "one cent is love" control and the "the red packet is too small" control.

Further, in a case that the "thank you, boss" control is the first target control, after the click input (that is, the second input) performed by the user for the "thank you, boss" control, as shown in (c) in <FIG>, a meme <NUM>, a meme <NUM> and a meme <NUM> corresponding to the "thank you, boss" control may be displayed on the screen of the terminal device. That is, the meme <NUM>, the meme <NUM> and the meme <NUM> are the at least one object corresponding to the first target control.

Further, after the click input performed by the user for the meme <NUM> shown in (c) in <FIG>, as shown in (d) in <FIG>, the terminal device may successfully send and display the meme <NUM> in the first communication window <NUM>. Obviously, the meme <NUM> is a meme corresponding to the target scenario information indicating the red packet scenario.

It should be noted that in the display control method provided by the embodiments of the present disclosure, the second input performed by the user for the first target control in the at least one first control may trigger the terminal device to display at least one object corresponding to the first target control, for example, to display an object such as the meme meeting the requirements of the user. Therefore, the terminal device can rapidly display the object such as the meme required by the user, and the step of searching for the object such as the meme is simplified.

In a possible implementation manner, in the display control method provided by the embodiments of the present disclosure, the S203 may be implemented through S203a-S203c.

S203a: according to the display content of the first communication window, the terminal device searches for the first scenario information corresponding to the display content of the first communication window in a preset scenario information base;
where the preset scenario information base includes at least one piece of scenario information (for example, including first scenario information), information of display content of the communication window corresponding to each of the at least one piece of scenario information, and information of at least one control corresponding to each of the at least one piece of scenario information (that is, the object information of each of the at least one first control).

It may be understood that the terminal acquiring the display content of the current communication window (such as the first communication window) may be: the display content serves as an index, the scenario information (such as the first scenario information) corresponding to the display content is found from the preset scenario information base, and the at least one first control corresponding to the scenario information is obtained.

Optionally, the preset scenario information base may be stored in the terminal device, or in a server interacting with the terminal device.

Further, the terminal device may provide a user with an entry to modify information in the preset scenario information base so as to support the user to trigger to delete, add or modify certain scenario information in the preset scenario information base and delete, add or modify some first controls corresponding to certain scenario information.

Optionally, the setting application program of the terminal device may provide an entry to modify the information in the preset scenario information base.

S203b: the terminal device determines the first scenario information as the target scenario information in a case that the first scenario information is found.

It may be understood that the first scenario information may be determined and stored by the terminal device or the server in advance according to the display content of the first communication window.

S203c: the terminal device determines pre-defined scenario information as the target scenario information in a case that the first scenario information is not found.

Optionally, in the embodiments of the present disclosure, the terminal device determines different priorities of the target scenario information according to different modes.

For example, the priorities for determining the modes of the target scenario information are sequentially reduced: mode <NUM>, mode <NUM>, mode <NUM> and mode <NUM>.

The mode <NUM> is used to indicate the terminal device to determine the target scenario information according to the information <NUM>; the mode <NUM> is used to indicate the terminal device to determine the target scenario information according to the information <NUM>; the mode <NUM> is used to indicate the terminal device to determine the target scenario information according to the information <NUM>; and the mode <NUM> is used to indicate to determine the pre-defined scenario information as the target scenario information.

Specifically, the terminal device determines the target scenario information according to the high priority mode, and then determines the target scenario information according to the secondary high priority in a case that determination fails.

It may be understood that the terminal device fails to determine the target scenario information by the mode <NUM> to the mode <NUM>, which indicates that the scenario information corresponding to the corresponding target information is not stored in the pre-defined scenario information base. That is, in a case of failing to determine the target scenario information according to the display content of the first communication window, the terminal device determines the pre-defined scenario information as the target scenario information.

It should be noted that in the display control method provided by the embodiments of the present disclosure, the terminal device may determine the target scenario information through many modes, so even if the determination of the target scenario information through a higher priority mode fails, the target scenario information may also be determined through a lower priority mode. In this way, it may be ensured that the terminal device determines to acquire the target scenario information of the current first communication window, so that at least one first control corresponding to the target scenario information is obtained.

The display control method provided by the embodiments of the present disclosure further includes S206.

S206: the terminal device displays a second control on the screen;
where the second control is used to indicate target scenario information.

Optionally, the terminal device may display a second control at a preset position of the screen, such as the upper left corner or the upper right corner.

Exemplarily, as shown in <FIG>, the terminal device displays a control <NUM> at the upper right corner of the screen, and the current target scenario information "technical scenario" is displayed on the control <NUM>. As shown in <FIG>, the terminal device displays a control <NUM> on the upper right corner, and the current target scenario information "red packet scenario" is displayed on the control <NUM>.

In the embodiments of the present disclosure, S206 may be performed after S201, and the sequence of S202 and S206 is not specifically limited. For example: the terminal device may perform S202 and S206 at the same time, that is, the terminal device may display a second control and at least one first control on the screen at the same time.

Optionally, in the display control method provided by the embodiments of the present disclosure, the second control may be display first, and then at least one first control may be displayed under the triggering of the user, that is, S206 is performed first and then S202 is performed. Specifically, the first input includes a first sub-input and a second sub-input, S206 may be replaced with S206a, and S202 may be replaced with S202a.

S206a: the terminal device displays the second control on the screen in response to the first sub-input.

S202a: the terminal device displays at least one first control on the screen in response to the second sub-input;
where the first sub-input is an input for the first communication window, the second sub-input is an input for the second control, and the second control is used to indicate the target scenario information.

Similarly, the description of the input form of the first sub-input and the second sub-input may be referenced to the related description of the input form of the first input, which will not be elaborated herein.

Exemplarily, the first sub-input is a long-press input performed by the user on the last communication content in the first communication window, and the second sub-input is a long-press input performed by the user to the second control.

Therefore, the user may choose whether to trigger the terminal device to display the second control and/or the at least one first control according to the own requirements, which is beneficial to improving the human-computer interaction performance of the user in the process of searching for the object such as the meme by using the terminal.

Further, after the S206, the display control method provided by the embodiments of the present disclosure further includes S207 and S208.

S207: the terminal device receives a third input of the user for the second control.

Similarly, the description of the input form of the third input may be referenced to the related description of the input form of the first input, which will not be elaborated herein.

Exemplarily, the third input includes an input performed by the user for the control <NUM> shown in <FIG> and an input of modifying the at least one input corresponding to the target scenario information indicated by the control <NUM> (that is, modifying the object corresponding to at least one control).

S208: the terminal device modifies first information in response to the third input, where the first information includes at least one of following: the target scenario information and an object corresponding to a second target control, and the second target control is a control of the at least one first control.

The second control is an entry to modify the target scenario information and the object corresponding to the second target control.

It may be understood that the user may modify the target scenario information and the object corresponding to the second target control through the second control; and in a case that the user is not satisfied with the recommended first control, the user may click the second control for edition to trigger the satisfied first control to be added to the scenario, or may also trigger to delete the unnecessary first control to facilitate subsequent reuse.

Further, optionally, the user may perform double-click input on the current second control to edit the information of the second control, and manually specify the communication scenario indicated by the target scenario information and the first control included in the corresponding pop-up box. The manually edited target scenario information and the corresponding at least one first control may be stored in a system (such as the system of the terminal device), so that the terminal can directly use the scenario information conveniently next time.

It should be noted that in the display control method provided by the embodiments of the present disclosure, the second control may be displayed on the screen of the terminal device, and the second control is used to indicate the target scenario information and is configured to trigger to modify the target scenario information and the object corresponding to the control of the at least one first control. Therefore, the user may modify the current target scenario information and the at least one first control into the information meeting the requirements of the user, so that the target scenario information determined by the terminal device subsequently is the scenario information meeting the requirements of the user, and the object (that is, meme) meeting the requirements of the user can be obtained.

In a possible implementation manner, the display control method provided by the embodiments of the present disclosure may further include step S209.

S209: the terminal device displays the at least one first control on the screen in a case that the first communication window is switched into a second communication window and a fourth input for the second communication window is received, where first target scenario information corresponding to the first communication window is different from second target scenario information corresponding to the second communication window.

Similarly, the description of the input form of the fourth input may be referenced to the related description of the input form of the first input, which will not be elaborated herein.

Specifically, the first target scenario information is the scenario information determined by the terminal device according to the display content of the first communication window, that is, the first target scenario information is applied to the actual communication scenario of the display content in the first communication window. Similarly, the description of the second target scenario information may be referenced to the description of the first target scenario information, which will not be elaborated in the embodiments of the present disclosure.

Optionally, the user may perform preset input (such as long-press input) on the second control displayed on the first communication window and fix the communication scenario (that is, fix the current target scenario information) of the current window, or may also unlock fixation. The user may also set a global fixed communication scenario (that is, set scenario information) in the system, and use a certain communication scenario for all communication windows.

Exemplarily, the actual communication scenario of the first communication window is "technical scenario", that is, the communication scenario indicated by the target scenario information is "technical scenario", the actual communication scenario of the second communication window is "news scenario", and at this time, the terminal device determines that the scenario information of the second communication window is still the target scenario information. Therefore, in a case that the terminal device displays the second communication window, the terminal device displays "master, take me", "<NUM>", "like" and other controls based on the first input, and does not display "you are out", "true or false", "circusee", "onlookers" and other controls.

Optionally, after the S209, the display control method provided by the embodiments of the present disclosure may further include S210.

S210: the terminal keeps displaying the second control in a case that the first communication window is switched into the second communication window, where the first target scenario information corresponding to the first communication window is different from the second scenario information corresponding to the second communication window.

That the terminal device keeps displaying the second control on the screen means that the terminal device fixes the scenario information of the communication window as the target scenario information, and does not change the communication scenario indicated by the target scenario information with the change of the display content of the communication window.

It should be noted that in the display control method provided by the embodiments of the present disclosure, when the user requires the terminal device to display at least one first control displayed in the communication window unchanged, the user may trigger the terminal device to fix the scenario information of the communication window so as to display the same at least one first control in different communication windows. Therefore, it is beneficial to improve the human-computer interaction performance in the process of finding meme.

Further, after the user performs input (such as click input) on a certain object of at least one object displayed by the terminal device on the screen, the user may trigger the terminal device to send the object (such as meme) in the first communication window.

Specifically, in the conversion and chat process of the user, the user uses the finger to long press text, voice, picture, expression or forwarded message sent by a certain user (that is, an communication object) to be interacted, or uses a sliding gesture to pop up one group of scenario-based choice box (that is, including the choice box of at least one first control) by recognizing the conversion scenario, the user may search for the option name according to the expression library (that is, may use a picture library or a third-party expression library) after choosing a certain option (that is, one first control) and recommend one group of expressions, and the user may choose and send the expressions.

Optionally, the display control method provided by the embodiments of the present disclosure may trigger the object sending step through S211 and S212.

S211: the terminal device receives a fifth input performed by the user for the target object;
where the target object is an object of at least one object corresponding to the first target control.

Similarly, the description of the input form of the fifth input may be referenced to the related description of the input form of the first input, which will not be elaborated herein. Exemplarily, the fifth input is a double-click input performed by the user for the target object.

S212: the terminal device transmits the target object in the first communication window in response to the fifth input.

In this way, the target object displayed by the terminal device may be an object meeting the requirements of the user, so it is beneficial to reduce the operation that the user triggers the terminal device to search for the object such as meme and improve the convenience of transmitting the object.

As shown in <FIG> is a possible structural schematic diagram of a terminal device according to an embodiment of the present disclosure. The terminal device <NUM> shown in <FIG> includes: a receiving module <NUM> and a display module <NUM>, where the receiving module <NUM> is configured to receive a first input performed by a user in a case that a first communication window is displayed on a screen of the terminal device; and the display module <NUM> is configured to display at least one first control on the screen in response to the first input received by the receiving module <NUM>. The at least one first control is associated with the display content of the first communication window, each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window includes at least one of a communication title, a communication content and a communication object.

Optionally, the at least one first control corresponds to the target scenario information. The terminal device <NUM> further includes: a determination module <NUM>, where the determination module <NUM> is configured to determine target scenario information according the display content of the first communication window before the display module <NUM> displays at least one first control on the screen.

Optionally, the receiving module <NUM> is further configured to receive the second input performed by the user for the first target control after the display module <NUM> displays at least one first control on the screen, where the first target control is a control of at least one first control. The display module <NUM> is further configured to display at least one object corresponding to the first target control on the screen in response to the second input received by the receiving module <NUM>.

Optionally, the determination module <NUM> is specifically configured to search for the display content of the first communication window and search for the first scenario information corresponding to the display content of the first communication window in the preset scenario information base; determine the first scenario information as the target scenario information in a case that the first scenario information is found; and determine the pre-defined scenario information as the target scenario information in a case that the first scenario information is not found.

Optionally, the display module <NUM> is further configured to display the second control on the screen, where the second control is used to indicate target scenario information.

Optionally, the terminal device <NUM> further includes: a modification module <NUM>; the receiving module <NUM> is further configured to receive a third input performed by a user for the second control after the display module <NUM> displays the second control on the screen; the modification module <NUM> is configured to modify first information in response to the third input received by the receiving module <NUM>; the first information includes at least one of following: target scenario information and an object corresponding to a second target control; and the second target control is a control of the at least one first control.

Optionally, the display module <NUM> is further configured to display the at least one first control on the screen in a case that the first communication window is switched into a second communication window and a fourth input for the second communication window is received, where first target scenario information corresponding to the first communication window is different from second target scenario information corresponding to the second communication window.

Optionally, the display module <NUM> is further configured to keep displaying the second control in a case that the first communication window is switched into the second communication window after the second control is displayed on the screen, where the first target scenario information corresponding to the first communication window is different from the second scenario information corresponding to the second communication window.

Optionally, the first input includes a first sub-input and a second sub-input; and the display module <NUM> is specifically configured to display the second control on the screen in response to the first sub-input and display at least one first control on the screen in response to the second sub-input, where the first sub-input is an input for the first communication window, the second sub-input is an input for the second control, and the second control is used to indicate the target scenario information.

Optionally, the terminal device <NUM> further includes: a transmitting module <NUM>; the receiving module <NUM> is further configured to receive a fifth input performed by a user for a target object; and the transmitting module <NUM> is configured to transmit the target object in the first communication window in response to the fifth input received by the receiving module <NUM>, where the target object is an object of at least one object corresponding to the first target control.

The terminal device <NUM> provided in this embodiment of the present disclosure can implement processes implemented by the terminal device in the foregoing method embodiments. To avoid repetition, details are not described herein again.

In the terminal device provided by the embodiments of present disclosure, the first input performed by the user may be received in a case that the first communication window is displayed on the screen of the terminal device; and at least one first control associated with the display content of the first communication window is displayed on the screen in response to the first input, where each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window includes at least one of a communication title, a communication content and a communication object. That is, in a case that a user needs to search for objects such as the meme, the terminal device may display at least one first control with a small number and associated with the current display content, and will not directly display a large number of unordered meme and other objects, so that the user can trigger the terminal device rapidly and conveniently to acquire at least one object corresponding to the first target control, such as the meme required by the user. Therefore, the step that the user searches for the meme in a large number of unordered meme for many times is avoided, that is, the step of searching for the meme is simplified.

<FIG> is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present disclosure. A terminal device <NUM> includes but is not limited to components such as a radio frequency unit <NUM>, a network module <NUM>, an audio output unit <NUM>, an input unit <NUM>, a sensor <NUM>, a display unit <NUM>, a user input unit <NUM>, an interface unit <NUM>, a memory <NUM>, a processor <NUM>, and a power supply <NUM>. Those skilled in the art can understand that the structure of the terminal device shown in <FIG> does not constitute a limitation to the terminal device. The terminal device may include more or fewer components than those shown in the figure, a combination of some components, or different arrangement of components. In this embodiment of the present disclosure, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, or the like.

The user input unit <NUM> is configured to receive the first input performed by the user in a case that the first communication window is displayed on the screen of the terminal device; and the display unit <NUM> is configured to display at least one first control on the screen in response to the first input received by the user input unit <NUM>, where the at least one first control is associated with the display content of the first communication window, each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window includes at least one of a communication title, a communication content and a communication object.

It should be understood that, in this embodiment of the present disclosure, the radio frequency unit <NUM> may be configured to receive and transmit information or a signal in a call process. Specifically, after receiving downlink data from a base station, the radio frequency unit <NUM> transmits the downlink data to the processor <NUM> for processing. In addition, the radio frequency unit <NUM> transmits uplink data to the base station. Generally, the radio frequency unit <NUM> includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, and a duplexer, and the like. In addition, the radio frequency unit <NUM> may further communicate with another communications device through a wireless communication system and network.

The terminal device provides wireless broadband Internet access for the user by using the network module <NUM>, for example, helping the user to send and receive an email, browse a web page, and access streaming media.

The audio output unit <NUM> may convert audio data received by the radio frequency unit <NUM> or the network module <NUM> or stored in the memory <NUM> into an audio signal, and output the audio signal as sound. In addition, the audio output unit <NUM> may further provide an audio output (for example, a call signal receiving sound and a message receiving sound) related to a specific function performed by the terminal device <NUM>. The audio output unit <NUM> includes a speaker, a buzzer, a telephone receiver, and the like.

The input unit <NUM> is configured to receive audio or video signals. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>. The graphics processing unit <NUM> is configured to process image data of a still picture or a video obtained by an image capture apparatus (for example, a camera) in video capture mode or image capture mode. A processed image frame may be displayed on the display unit <NUM>. The image frame processed by the graphics processing unit <NUM> may be stored in the memory <NUM> (or another storage medium) or transmitted via the radio frequency unit <NUM> or the network module <NUM>. The microphone <NUM> may receive a sound and may process such a sound into audio data. The processed audio data may be converted, in a call mode, into a format that may be transmitted to a mobile communication base station by using the radio frequency unit <NUM> for output.

The terminal device <NUM> further includes at least one sensor <NUM>, such as an optical sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor may adjust luminance of the display panel <NUM> based on brightness of ambient light. The proximity sensor may turn off the display panel <NUM> and/or backlight when the terminal device <NUM> moves to an ear. As a type of the motion sensor, an accelerometer sensor may detect an acceleration value in each direction (generally, three axes), and detect a value and a direction of gravity when the accelerometer sensor is static, and may be used in an application for recognizing a posture of the terminal device (such as screen switching between landscape and portrait modes, a related game, or magnetometer posture calibration), a function related to vibration recognition (such as a pedometer or a knock), and the like. The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.

The display unit <NUM> is configured to display information input by a user or information provided to a user. The display unit <NUM> may include the display panel <NUM>, and the display panel <NUM> may be configured in a form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

The user input unit <NUM> may be configured to receive input numeral or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit <NUM> includes a touch panel <NUM> and another input device <NUM>. The touch panel <NUM>, also called a touch screen, may collect a touch operation of the user on or near the touch panel <NUM> (for example, an operation performed by the user on or near the touch panel <NUM> by using any suitable object or accessory such as a finger or a stylus). The touch panel <NUM> may include two parts: a touch detection apparatus and a touch controller. The touch detection apparatus detects a touch orientation of the user, detects a signal brought by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor <NUM>, and receives and executes a command sent by the processor <NUM>. In addition, the touch panel <NUM> may be implemented in a plurality of forms such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel <NUM>, the user input unit <NUM> may further include other input devices <NUM>. Specifically, the another input device <NUM> may include, but not limited to, a physical keyboard, a function key (for example, a volume control key or a switch key), a trackball, a mouse, and a joystick.

Further, the touch panel <NUM> can cover the display panel <NUM>. When detecting a touch operation on or near the touch panel <NUM>, the touch panel <NUM> transmits the touch operation to the processor <NUM> to determine a type of a touch event. Then, the processor <NUM> provides corresponding visual output on the display panel <NUM> based on the type of the touch event. Although in <FIG>, the touch panel <NUM> and the display panel <NUM> are configured as two independent components to implement input and output functions of the terminal device, in some embodiments, the touch panel <NUM> and the display panel <NUM> may be integrated to implement the input and output functions of the terminal device. This is not specifically limited herein.

The interface unit <NUM> is an interface for connecting an external apparatus with the terminal device <NUM>. For example, the external apparatus may include a wired or wireless headset jack, an external power supply (or a battery charger) port, a wired or wireless data port, a storage card port, a port for connecting an apparatus having an identification module, an audio input/output (I/O) port, a video I/O port, a headset jack, or the like. The interface unit <NUM> may be configured to: receive an input (for example, data information or power) from the external apparatus, and transmit the received input to one or more elements in the terminal device <NUM>, or may be configured to transmit data between the terminal device <NUM> and the external apparatus.

The memory <NUM> may be configured to store a software program and various data. The memory <NUM> may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application (for example, a sound play function or an image play function) required for at least one function, and the like. The data storage area may store data created based on use of the mobile phone (for example, audio data and a phone book), and the like. In addition, the memory <NUM> may include a high-speed random access memory, and may further include a nonvolatile memory, for example, at least one disk storage device, a flash memory, or other volatile solid-state storage devices.

The processor <NUM> is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and circuits, and performs various functions of the terminal device and processes data by running or executing the software programs and/or the modules stored in the memory <NUM> and invoking data stored in the memory <NUM>, so as to monitor the terminal device as a whole. The processor <NUM> may include one or more processing units. Optionally, the processor <NUM> may be integrated with an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated in the processor <NUM>.

The terminal device <NUM> may further include the power supply <NUM> (such as a battery) that supplies power to each component. Optionally, the power supply <NUM> may be logically connected to the processor <NUM> by using a power management system, to implement functions such as charging, discharging, and power consumption management by using the power management system.

Optionally, the embodiment of the present disclosure further provides a terminal device, including a processor <NUM>, a memory <NUM>, and a computer program stored in the memory <NUM> and executable on the processor <NUM>. When the computer program is executed by the processor <NUM>, the processes of the foregoing method embodiment are implemented, and a same technical effect can be achieved. To avoid repetition, details are not described herein again.

The embodiments of the present disclosure further provide a computer readable storage medium. The computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the processes of the foregoing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, a compact disc, or the like.

It should be noted that in this specification, the terms "comprise", "include" and any other variants thereof are intended to cover non-exclusive inclusion, so that a process, a method, an article, or an device that includes a series of elements not only includes these very elements, but may also include other elements not expressly listed, or also include elements inherent to this process, method, article, or device. An element limited by "includes a. " does not, without more constraints, preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

Claim 1:
A display control method, performed by a terminal device, comprising:
determining target scenario information according to display content of a first communication window (<NUM>, <NUM>) displayed on a screen of the terminal device;
receiving (S201) a first input performed by a user in a case that the first communication window (<NUM>, <NUM>) is displayed on the screen of the terminal device; and
displaying (S202) at least one first control on the screen in response to the first input; wherein
the at least one first control is associated with the display content of the first communication window (<NUM>, <NUM>), wherein the at least one first control corresponds to the target scenario information, and each of the at least one first control respectively corresponds to at least one object, and the display content of the first communication window (<NUM>, <NUM>) comprises at least one of a communication title, a communication content and a communication object;
characterized in that the method further comprises:
displaying a second control on the screen, wherein the second control is used to indicate the target scenario information; wherein
after the displaying the second control on the screen, the method further comprises:
receiving a third input performed by a user for the second control;
modifying first information in response to the third input, wherein the first information comprises at least one of following: the target scenario information and an object corresponding to a second target control, and the second target control is a control of the at least one first control; and/or
keeping displaying the second control on the screen in a case that the first communication window (<NUM>, <NUM>) is switched into a second communication window, the first target scenario information corresponding to the first communication window (<NUM>, <NUM>) being different from second target scenario information corresponding to the second communication window.