Method, apparatus and electronic device for processing state information
By displaying the target status and status description of contacts in the instant messaging client's conversation interface, the problem of users having difficulty obtaining additional information about contacts is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202310119289.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-01-31
AI Technical Summary
In existing instant messaging tools, users find it difficult to obtain more additional information about their contacts through their contact list, making it impossible to effectively avoid unnecessary disturbances.
Display the target status set by the contact in the instant messaging client's session interface, and provide a description of the target status, including pre-set additional information.
Users can gain a more comprehensive understanding of their contacts' status information without disturbing them, thus improving the user experience.
Smart Images

Figure CN116489606B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus and electronic device for processing status information. Background Technology
[0002] With the continuous development of computer software and internet technologies, instant messaging tools are increasingly used in people's work and lives. People can use instant messaging tools to communicate with contacts, discuss issues, or send messages. Before communicating with a contact, people usually want to know the contact's status to avoid unnecessary disturbances. Therefore, a solution for handling status information is needed. Summary of the Invention
[0003] This disclosure provides a method, apparatus, and electronic device for processing status information.
[0004] According to a first aspect, a method for processing state information is provided, the method comprising:
[0005] In response to entering the target conversation interface corresponding to the target contact, determine whether the target contact has a status set;
[0006] If the target contact has a target status set, the target status is displayed in the target conversation interface; and
[0007] The target state description corresponding to the target state is displayed in the target session interface; wherein the target state description is set in advance for the target state.
[0008] According to a second aspect, a state information processing apparatus is provided, the apparatus comprising:
[0009] The determination module is used to determine whether the target contact has a status set in response to entering the target session interface corresponding to the target contact;
[0010] The first display module is used to display the target status in the target conversation interface when the target contact has set a target status; and
[0011] The second display module is used to display a target state description corresponding to the target state in the target session interface; wherein the target state description is preset for the target state.
[0012] According to a third aspect, a computer-readable storage medium is provided, the storage medium storing a computer program that, when executed by a processor, implements the method described in any one of the first aspects above.
[0013] According to a fourth aspect, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any one of the first aspects.
[0014] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0015] The embodiments of this disclosure provide a method and apparatus for processing status information. Upon entering a target conversation interface corresponding to a target contact, if the target contact has set a target status, the target status is displayed in a first area of the target conversation interface, and a status description corresponding to the target status is displayed in a second area of the target conversation interface. This status description is pre-set by the target contact for the target status. This allows users to obtain richer additional information pre-set by the contact for their status without disturbing the contact, thus improving the user experience.
[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments in this specification, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1a1 This is a schematic diagram of a session interface of an instant messaging client according to an exemplary embodiment of the present disclosure;
[0019] Figure 1a2 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0020] Figure 1b1 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0021] Figure 1b2 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0022] Figure 1c1 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0023] Figure 1c2This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0024] Figure 1d1 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0025] Figure 1d2 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0026] Figure 1e1 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0027] Figure 1e2 This is a schematic diagram of a session interface of another instant messaging client according to an exemplary embodiment of the present disclosure;
[0028] Figure 2 This is a flowchart illustrating a method for processing state information according to an exemplary embodiment of the present disclosure;
[0029] Figure 3A This is a flowchart illustrating another method for processing state information according to an exemplary embodiment of the present disclosure;
[0030] Figure 3B This is a schematic diagram illustrating a status settings page according to an exemplary embodiment of the present disclosure;
[0031] Figure 3C This is a schematic diagram illustrating another state settings page according to an exemplary embodiment of the present disclosure;
[0032] Figure 3D This is a schematic diagram illustrating another state settings page according to an exemplary embodiment of the present disclosure;
[0033] Figure 3E This is a schematic diagram illustrating another state settings page according to an exemplary embodiment of the present disclosure;
[0034] Figure 4 This is a block diagram of a state information processing apparatus according to an exemplary embodiment of the present disclosure;
[0035] Figure 5 This is a schematic block diagram of an electronic device provided in some embodiments of this disclosure;
[0036] Figure 6 This is a schematic block diagram of another electronic device provided in some embodiments of this disclosure;
[0037] Figure 7This is a schematic diagram of a storage medium provided in some embodiments of this disclosure. Detailed Implementation
[0038] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0039] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0040] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used herein are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0041] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0042] With the continuous development of computer software and internet technologies, instant messaging tools are increasingly used in people's work and lives. People can use instant messaging tools to communicate with contacts, discuss issues, or send messages. Before communicating with a contact, people usually want to know the contact's status. If the contact is in a special situation (such as on vacation, in a meeting, or driving), this can avoid unnecessary disturbance.
[0043] In related technologies, users can see the status of contacts from the contact list of an instant messaging client (for example, contacts can pre-select a suitable status from multiple alternative statuses provided by the instant messaging client) so that they can have a conversation with that contact at an appropriate time. However, it is difficult for users to obtain more additional information about a contact through the contact list.
[0044] This disclosure provides a method for processing status information. Upon entering a contact's conversation interface, if the contact has set a target status, this target status is displayed in the conversation interface, along with a description of that target status, which is pre-set by the contact for that target status. This allows users to gain a more comprehensive understanding of the contact's pre-set additional information regarding their status without disturbing the contact, thus improving the user experience.
[0045] Figure 1a1 and Figure 1a2 This is a schematic diagram of a session interface of an instant messaging client according to an exemplary embodiment. Figure 1a1 Corresponding to the mobile interface, Figure 1a2 (Corresponding to the PC interface). For example... Figure 1a1 and Figure 1a2 As shown, when a user logged into the instant messaging client enters a conversation with a friend, if the friend has a pre-set status, such as "driving," that status can be displayed in the conversation. For example, the status can be displayed after the friend's name in the top area 101 of the conversation.
[0046] Optionally, the state can also be displayed in the message input box 102 of the conversation interface. Specifically, before a message is entered in the message input box, the icon 103 corresponding to the state and the text content 104 corresponding to the state can be displayed as a guiding message in the message input box. For example, when the user has not activated the message input box, and when the user has activated the message input box but has not entered a message, the icon 103 corresponding to the state and the text content 104 corresponding to the state can be displayed as a guiding message in the message input box. Figure 1b1 and Figure 1b2 ( Figure 1b1 Corresponding to the mobile interface, Figure 1b2 As shown in the PC interface, after the user activates the message input box and enters a message, the message entered by the user is displayed in the message input box, while the icon and text content corresponding to the status that were previously displayed are deleted.
[0047] Additionally, the friend can pre-set a corresponding status description for this status. This description can include more additional information about the status, such as "Driving, will reply later." Therefore, while displaying the status, the corresponding status description can also be displayed in the conversation interface, for example, like... Figure 1a1 and Figure 1a2 As shown, the status description corresponding to this status can be displayed in area 105 above the message input box in the conversation interface.
[0048] It should be noted that if the content of the status description to be displayed is short, and the area required to display the status description is smaller than the area of area 105, then the entire content of the status description can be displayed directly in area 105. For example... Figure 1c1 and Figure 1c2 ( Figure 1c1 Corresponding to the mobile interface, Figure 1c2 As shown in the PC interface, if the status description to be displayed is too long, for example, if the status description includes "Driving, please leave a message if needed, reply to messages after 9 PM, please do not make calls or use voice messages," and the area required to display the status description is larger than the area of area 105, then a portion of the status description can be displayed in area 105. For example, "Driving, please leave a message if needed, reply to messages after 9 PM..." can be displayed in area 105. A guide icon 106 can be displayed after the displayed portion of the status description to guide the user to view the full content of the status description through a trigger operation. This trigger operation can be clicking on the content of the status description displayed in area 105, or clicking on the guide icon 106, etc. This embodiment does not limit the specific method of triggering the operation. Figure 1d1 and Figure 1d2 ( Figure 1d1 Corresponding to the mobile interface, Figure 1d2 As shown in the PC interface, after the user performs the trigger operation, a details page 107 can be output, which displays all the content of the status description.
[0049] Optionally, other notification information can also be displayed above the message input box in the conversation interface. For example, the notification information could be the standard time corresponding to the friend's time zone. Figure 1e1 and Figure 1e2 ( Figure 1e1 Corresponding to the mobile interface, Figure 1e2 As shown in the PC interface, the status description can be displayed in area 105 above the message input box in this session interface, and the prompt message can also be displayed in area 108 above area 105. It should be noted that... Figure 1e1 and Figure 1e2The example shows the prompt message displayed above the status description, but it can also be displayed below the status description. Furthermore, more prompt messages can be displayed above the message input boxes in the conversation interface. This embodiment does not limit the specific number, content, arrangement, or order of the prompt messages displayed above the message input boxes in the conversation interface.
[0050] Alternatively, an icon 109 corresponding to the prompt message can be displayed before the prompt message, and an icon 110 corresponding to the status description can be displayed before the status description. Users can use icons 109 and 110 to more easily and quickly distinguish between the prompt message and the status description.
[0051] The solution provided in this embodiment, upon entering a friend's chat interface, displays the target status if the friend has set a target status, along with a corresponding status description. This description is pre-set by the friend for that target status. This allows users to gain a more comprehensive understanding of the richer additional information pre-set by their friend for their target status without disturbing them, thus expanding the functionality of the instant messaging client and enhancing the user experience.
[0052] Furthermore, since users need to activate the message input box and type their message before sending a message to a friend, displaying the friend's target status in the message input box of this conversation interface allows users to quickly and easily see their friend's target status, providing a more user-friendly information notification method and further enhancing the user experience. Additionally, displaying the status description above the message input box in this conversation interface also allows users to quickly and easily learn about the additional information set by the friend for their target status, thereby further expanding the functionality of the instant messaging client and improving the user experience.
[0053] Furthermore, after the user triggers an action in response to the status description, a details page is displayed, showing the full content of the status description. This provides a more flexible way to display status descriptions and further enhances the user experience.
[0054] Furthermore, if other prompts are displayed above the message input box in the conversation interface, the corresponding icon for the prompt should be displayed before the prompt, and the icon for the status description should be displayed before the status description. This makes it easier for users to quickly distinguish between the prompt and the status description, further enhancing the user experience.
[0055] The present disclosure will now be described in detail with reference to specific embodiments.
[0056] Figure 2 This is a flowchart illustrating a method for processing state information according to an exemplary embodiment. The method can be applied to a terminal device. In this embodiment, for ease of understanding, an example is given using a terminal device capable of installing an instant messaging client. Those skilled in the art will understand that the terminal device may include, but is not limited to, mobile terminal devices such as smartphones and tablets, laptops, and desktop computers. The method may include the following steps:
[0057] like Figure 2 As shown, in step 201, in response to entering the target session interface corresponding to the target contact, it is determined whether the target contact has a status.
[0058] In this embodiment, the target contact can be a contact selected by the user from the contact list in the instant messaging client. The user can trigger an action on the target contact from the contact list in the instant messaging client to enter the target conversation interface corresponding to the target contact. The target conversation interface can be the interface through which the user and the target contact communicate instantly, and the user and the target contact can send messages or make calls through the target conversation interface.
[0059] After a user enters the target session interface, the instant messaging client can first determine whether the target contact has a status set. Specifically, in one implementation, the instant messaging client can send a status query request to the server, instructing the server to check whether the target contact has a status set. If a status is set and that status matches the target status, the server returns the target status to the instant messaging client. In another implementation, after a user logs in, the instant messaging client can obtain a session information set from the server and continuously update this set. This session information set can include the latest status information for each of the user's contacts. The instant messaging client can then query this session information set to see if the target contact has a status set. If a status is set and that status matches the target status, the client retrieves the target status from the session information set.
[0060] In step 202, if the target contact has a target status set, the target status is displayed in the target conversation interface.
[0061] In this embodiment, if the target contact has a status set (specifically, a target status, where a target status refers to a particular state), then that target status can be displayed in at least one area of the target session interface. For example, it can be displayed only after the target contact's name in the top area of the target session interface (see [link to documentation]). Figure 1a1 and Figure 1a2The target status can be displayed in various ways. For example, it can also be displayed in the message input box of the target session interface. Alternatively, it can be displayed in the top area of the target session interface after the target contact's name, and also in the message input box of the target session interface.
[0062] Specifically, displaying the target state in the message input box of the target session interface can be achieved by displaying the target state as a guiding message in the message input box before a message is entered. For example, the icon corresponding to the target state can be displayed as a guiding message in the message input box, or the text content corresponding to the target state can be displayed as a guiding message in the message input box, or both the icon and the text content corresponding to the target state can be displayed as guiding messages in the message input box (see [link to documentation]). Figure 1a1 and Figure 1a2 After a message is entered, the entered message is displayed in the message input box, and the target state displayed in the message input box is cleared (see [link]). Figure 1b1 and Figure 1b2 ).
[0063] In step 203, the target state description corresponding to the target state is displayed in the target session interface.
[0064] In this embodiment, the target status description is set in advance by the target contact for the target status (see [link to documentation] for details on the setting process). Figure 3A (Example) This could be supplementary information about the target status provided by the target contact, including more additional information about the target status. Specifically, the target status description could be displayed in the first area above the message input box on the target conversation interface (see [example]). Figure 1a1 and Figure 1a2 If the area required to display the target state description is larger than the area of the first area, a portion of the target state description can be displayed in the first area, while the remaining content of the target state description is hidden (see [link]). Figure 1c1 and Figure 1c2 ).
[0065] In embodiments of this disclosure, users can pre-set different state descriptions for different states.
[0066] Optionally, in response to a user's trigger action regarding the target status description, a details page can be output, displaying the full content of the target status description (see...). Figure 1d1 and Figure 1d2 The triggering operation can be clicking the display area of the target status description, or hovering the mouse over the display area of the target status description, etc. This embodiment does not limit the specific method of the triggering operation.
[0067] Optionally, target prompt information can be displayed in the second area above the message input box of the target conversation interface. The target prompt information can be other prompt information besides the target status description. For example, it can be a prompt information of the standard time of the target contact's time zone, a prompt information of a task jointly created with the target contact, or a prompt information of an online meeting scheduled with the target contact. This embodiment does not limit the specific content of the target prompt information.
[0068] Optionally, before the target information in the second area, a first icon indicating the category of the target information is displayed. Before the target status description in the first area, a second icon indicating the status description is displayed (see [link to relevant section]). Figure 1e1 and Figure 1e2 The first and second icons help users distinguish between target prompts and target status descriptions.
[0069] This disclosure provides a method for processing status information. Upon entering the target conversation interface corresponding to a target contact, if the target contact has set a target status, this target status is displayed in the target conversation interface, along with a corresponding status description. This status description is pre-set by the target contact for that target status. This allows users to obtain richer, pre-set additional information about the contact's status without disturbing the contact, thus improving the user experience.
[0070] Figure 3A This is a flowchart illustrating another method for processing status information according to an exemplary embodiment. This embodiment describes the process of setting up status descriptions, wherein any logged-in user of the instant messaging client (including...) Figure 2 The target contacts involved in the embodiments can all have their status descriptions set through this process. This process includes the following steps:
[0071] like Figure 3A As shown, in step 301, in response to the state setting trigger operation, the state setting page is displayed, and in step 302, based on the user's setting operation through the state setting page, a state description is set for the specified state.
[0072] In this embodiment, in response to a user's state setting trigger operation, a state setting page is displayed for setting different state descriptions for different states. The state setting trigger operation can be a first operation to create a new state, or a second operation to select a state to be set from multiple candidate states. It should be noted that the state setting page displayed when triggered by the first operation is different from the state setting page displayed when triggered by the second operation.
[0073] Figure 3B and Figure 3C This is a diagram illustrating the state settings page that is triggered by the first action, as shown below. Figure 3B and Figure 3C As shown, the status settings page includes a status name input box 311 and a status description input box 312. Users can enter the name of the newly created status through the status name input box 311 and the status description of the newly created status through the status description input box 312. When the user clicks the save button, the status description entered through the status description input box 312 is stored in association with the status entered through the status name input box 311, thus completing the setting of the status description for the newly created status.
[0074] Figure 3D and Figure 3E This is a diagram illustrating the state settings page that is triggered by the second action, as shown in the image. Figure 3D and Figure 3E As shown, area 313 of the status settings page displays the name of the status selected by the user from multiple alternative statuses. The user can enter a status description for the selected status through the status description input box 314. After the user clicks the save button, the status description entered through the status description input box 312 is associated with the status displayed in area 313 and stored, thus completing the setting of the status description for the selected status.
[0075] Because this embodiment allows users to set different status descriptions for different states, the status descriptions set by users are more targeted, further expanding the functionality of the instant messaging client and improving the user experience.
[0076] It should be noted that although the operations of the methods of this disclosure embodiment are described in a specific order in the above embodiments, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowcharts may be executed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0077] Corresponding to the aforementioned embodiments of the state information processing method, this disclosure also provides embodiments of the state information processing apparatus.
[0078] like Figure 4 As shown, Figure 4 This is a block diagram of a status information processing apparatus according to an exemplary embodiment of the present disclosure. The apparatus may include: a determination module 401, a first display module 402, and a second display module 403.
[0079] The determination module 401 is used to determine whether the target contact has a status set in response to entering the target session interface corresponding to the target contact.
[0080] The first display module 402 is used to display the target status in the target conversation interface when the target contact has set a target status.
[0081] The second display module 403 is used to display the target state description corresponding to the target state in the target session interface. The target state description is preset for the target state.
[0082] In some implementations, the first display module 402 is configured to display the target status in the message input box of the target session interface.
[0083] In other embodiments, the first display module 402 may display the target state in the message input box of the target session interface in the following manner: before entering a message in the message input box, the target state is displayed as a guiding message in the message input box.
[0084] In other embodiments, the first display module 402 may display the target state as a guide message in the message input box in the following ways: displaying the icon corresponding to the target state as a guide message in the message input box, and / or displaying the text content corresponding to the target state as a guide message in the message input box.
[0085] In other embodiments, the second display module 403 is configured to display a target status description in a first area above the message input box of the target session interface.
[0086] In other embodiments, the second display module 403 may display the target status description in the first area above the message input box of the target session interface in the following manner: if the area required to display the target status description is larger than the area of the first area, part of the target status description is displayed in the first area.
[0087] In other embodiments, the device may also include an output module (not shown in the figure).
[0088] The output module is used to respond to the user's triggered operation on the target status description and output a details page, which displays the full content of the target status description.
[0089] In other embodiments, the device may also include an output module (not shown in the figure).
[0090] The prompt module is used to display target prompt information in a second area above the message input box of the target session interface, wherein the second area is above or below the first area.
[0091] In other embodiments, the device may further include: a first icon display module and a second icon display module (not shown in the figure).
[0092] The first icon display module is used to display the first icon before the target prompt information in the second area.
[0093] The second icon display module is used to display a second icon before the target status description in the first area. The first icon and the second icon are used to distinguish between the target prompt information and the target status description.
[0094] In other embodiments, the device may further include a setting module (not shown in the figure).
[0095] The settings module is used to display the status settings page in response to the status settings trigger operation. The status settings page is used to set different status descriptions for different statuses.
[0096] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiments of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0097] Figure 5 This is a schematic block diagram of an electronic device provided for some embodiments of this disclosure. For example... Figure 5 As shown, the electronic device 910 includes a processor 911 and a memory 912, and can be used to implement a client or server. The memory 912 stores computer-executable instructions (e.g., one or more computer program modules) non-transitoryly. The processor 911 executes the computer-executable instructions, which, when run by the processor 911, can perform one or more steps of the state information processing method described above, thereby implementing the state information processing method described above. The memory 912 and the processor 911 can be interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0098] For example, processor 911 can be a central processing unit (CPU), a graphics processing unit (GPU), or other form of processing unit with data processing and / or program execution capabilities. For example, the central processing unit (CPU) can be an x86 or ARM architecture. Processor 911 can be a general-purpose processor or a special-purpose processor, and can control other components in electronic device 910 to perform desired functions.
[0099] For example, memory 912 may include any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and processor 911 may run one or more computer program modules to implement various functions of electronic device 910. Various application programs and various data, as well as various data used and / or generated by the application programs, may also be stored in the computer-readable storage medium.
[0100] It should be noted that, in the embodiments of this disclosure, the specific functions and technical effects of the electronic device 910 can be referred to the description of the state information processing method above, and will not be repeated here.
[0101] Figure 6 This is a schematic block diagram of another electronic device provided in some embodiments of this disclosure. The electronic device 920 is, for example, suitable for implementing the status information processing method provided in the embodiments of this disclosure. The electronic device 920 can be a terminal device, etc., and can be used to implement a client or server. The electronic device 920 can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable electronic devices, etc., as well as fixed terminals such as digital TVs, desktop computers, smart home devices, etc. It should be noted that... Figure 6 The illustrated electronic device 920 is merely an example and does not impose any limitation on the functionality and scope of use of the embodiments of this disclosure.
[0102] like Figure 6As shown, the electronic device 920 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 921, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 922 or a program loaded from a storage device 928 into a random access memory (RAM) 923. The RAM 923 also stores various programs and data required for the operation of the electronic device 920. The processing unit 921, ROM 922, and RAM 923 are interconnected via a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.
[0103] Typically, the following devices can be connected to I / O interface 925: input devices 926 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 927 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 928 including, for example, magnetic tapes, hard disks, etc.; and communication devices 929. Communication device 929 allows electronic device 920 to communicate wirelessly or wiredly with other electronic devices to exchange data. Although Figure 6 An electronic device 920 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and the electronic device 920 may alternatively implement or have more or fewer devices.
[0104] For example, according to embodiments of this disclosure, the above-described method for processing state information can be implemented as a computer software program. For instance, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the above-described method for processing state information. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 929, or installed from a storage device 928, or installed from a ROM 922. When the computer program is executed by the processing device 921, the functions defined in the method for processing state information provided in embodiments of this disclosure can be implemented.
[0105] Figure 7 This is a schematic diagram of a storage medium provided for some embodiments of this disclosure. For example, such as... Figure 7 As shown, the storage medium 930 can be a non-transitory computer-readable storage medium for storing non-transitory computer-executable instructions 931. When the non-transitory computer-executable instructions 931 are executed by a processor, the state information processing method described in the embodiments of this disclosure can be implemented. For example, when the non-transitory computer-executable instructions 931 are executed by a processor, one or more steps in the state information processing method described above can be performed.
[0106] For example, the storage medium 930 can be used in the aforementioned electronic device, such as the storage medium 930 may include the memory in the electronic device.
[0107] For example, the storage medium may include a memory card for a smartphone, a storage component for a tablet computer, a hard disk for a personal computer, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), flash memory, or any combination of the above storage media, or other suitable storage media.
[0108] For example, the description of storage medium 930 can be found in the description of the memory in the embodiments of the electronic device, and will not be repeated here. The specific functions and technical effects of storage medium 930 can be found in the description of the state information processing method above, and will not be repeated here.
[0109] It should be noted that, in the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0110] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0111] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for processing state information, the method comprising: In response to entering the target conversation interface corresponding to the target contact, determine whether the target contact has a status set; If the target contact has a target status set, the target status will be displayed in the message input box of the target conversation interface; as well as The first area above the message input box on the target session interface displays a description of the target state corresponding to the target state; wherein the description of the target state is set in advance for the target state.
2. The method according to claim 1, wherein, Displaying the target state in the message input box of the target session interface includes: displaying the target state as a guiding message in the message input box before entering a message in the message input box.
3. The method according to claim 2, wherein, The step of displaying the target state as a guiding message in the message input box includes: The icon corresponding to the target state is displayed as a guiding message in the message input box; and / or The text content corresponding to the target state is displayed as a guiding message in the message input box.
4. The method according to claim 1, wherein, The first area above the message input box on the target session interface displays the target status description, including: If the area required to display the target state description is larger than the area of the first area, then a portion of the target state description will be displayed in the first area.
5. The method according to claim 1, wherein, The method also includes: In response to a user's trigger action regarding the target status description, a details page is output; the details page displays the full content of the target status description.
6. The method according to claim 1, wherein, The method further includes: The target prompt information is displayed in a second area above the message input box of the target session interface; wherein the second area is above or below the first area.
7. The method according to claim 6, wherein, The method further includes: The first icon is displayed before the target prompt information in the second area; A second icon is displayed before the target status description in the first area; wherein the first icon and the second icon are used to distinguish the target prompt information and the target status description.
8. The method according to any one of claims 1-7, wherein, The method further includes: In response to a status setting trigger operation, a status setting page is displayed; wherein, the status setting page is used to set different status descriptions for different statuses.
9. A state information processing apparatus, the apparatus comprising: The determination module is used to determine whether the target contact has a status set in response to entering the target session interface corresponding to the target contact; The first display module is used to display the target status in the message input box of the target conversation interface when the target contact has set a target status; as well as The second display module is used to display a target state description corresponding to the target state in a first area above the message input box of the target session interface; wherein the target state description is preset for the target state.
10. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the method of any one of claims 1-8.
11. An electronic device comprising a memory and a processor, wherein the memory stores executable code, and the processor, when executing the executable code, implements the method of any one of claims 1-8.
Citation Information
Patent Citations
Working state prompt method and device
CN105072018A
