CN112487371A - Chat session display method, device, terminal and storage medium - Google Patents

Chat session display method, device, terminal and storage medium Download PDF

Info

Publication number
CN112487371A
CN112487371A CN201910866060.4A CN201910866060A CN112487371A CN 112487371 A CN112487371 A CN 112487371A CN 201910866060 A CN201910866060 A CN 201910866060A CN 112487371 A CN112487371 A CN 112487371A
Authority
CN
China
Prior art keywords
session
interface
hidden
setting
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910866060.4A
Other languages
Chinese (zh)
Other versions
CN112487371B (en
Inventor
刘立强
何丹
何金源
罗轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910866060.4A priority Critical patent/CN112487371B/en
Publication of CN112487371A publication Critical patent/CN112487371A/en
Application granted granted Critical
Publication of CN112487371B publication Critical patent/CN112487371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The application discloses a display method, a device, a terminal and a storage medium of a chat session, which belong to the technical field of computers and internet, wherein the method comprises the following steps: displaying a password input interface of a hidden conversation, wherein the hidden conversation refers to a chat conversation which is invisible in a general conversation interface; acquiring a password input in a password input interface; and displaying a hidden session interface corresponding to the password, wherein the hidden session interface is a user interface used for displaying the hidden session. According to the technical scheme provided by the embodiment of the application, some necessary chat sessions are transferred from the main interface to the hidden session interface to be displayed, so that the chat sessions are prevented from being viewed from the main interface by other people, and the security of the chat sessions is improved. In addition, in the technical scheme provided by the embodiment of the application, the user needs to input the password before entering the hidden session interface, so that the security of the chat session is further improved.

Description

Chat session display method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers and internet, in particular to a chat session display method, a chat session display device, a chat session display terminal and a chat session display storage medium.
Background
The application may provide different user interfaces to the user to present different information or to implement different functionality.
Taking an instant messaging application program as an example, after a user opens a client of the instant messaging application program, the client displays a main interface, a session list is displayed in the main interface, and the session list comprises entries corresponding to chat sessions of the user and various contacts. The user clicks the session entry corresponding to the target contact person, the chat session interface corresponding to the target contact person can be triggered and displayed, and the user can check the messages sent and received between the user and the target contact person in the chat session interface.
In the related art, the security of the chat session is not guaranteed, and other people can easily check the chat session between the user and the contact person in the main interface.
Disclosure of Invention
The embodiment of the application provides a chat session display method, a chat session display device, a chat session display terminal and a chat session display storage medium, which can be used for solving the technical problem that the security of the chat session in the related art is not high. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for displaying a chat session, where the method includes:
displaying a password input interface of a hidden session, wherein the hidden session is a chat session invisible in a general session interface;
acquiring a password input in the password input interface;
and displaying a hidden session interface corresponding to the password, wherein the hidden session interface is a user interface used for displaying the hidden session.
On the other hand, an embodiment of the present application provides a method for setting a chat session, where the method includes:
displaying a chat setting interface corresponding to the target contact;
acquiring a setting instruction corresponding to a hidden conversation option in the chat setting interface;
and setting the chat session corresponding to the target contact person as a hidden session according to the setting instruction, wherein the hidden session is a chat session invisible in a general session interface.
In another aspect, an embodiment of the present application provides a display apparatus for a chat session, where the apparatus includes:
the input interface display module is used for displaying a password input interface of a hidden session, wherein the hidden session is a chat session invisible in a general session interface;
the password acquisition module is used for acquiring the password input in the password input interface;
and the hidden session display module is further used for displaying a hidden session interface corresponding to the password, and the hidden session interface is a user interface used for displaying the hidden session.
In another aspect, an embodiment of the present application provides a device for setting a chat session, where the device includes:
the setting interface display module is used for displaying a chat setting interface corresponding to the target contact;
the setting instruction acquisition module is used for acquiring a setting instruction corresponding to a hidden conversation option in the chat setting interface;
and the hidden conversation display module is used for setting the chat conversation corresponding to the target contact person as a hidden conversation according to the setting instruction, wherein the hidden conversation is a chat conversation invisible in a general conversation interface.
In a further aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a display method of the chat session or implement a setting method of the chat session.
In a further aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a display method of the above chat session or implement a setting method of the above chat session.
In a further aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal, enables the terminal to execute the above-mentioned display method of the chat session, or execute the above-mentioned setting method of the chat session.
According to the technical scheme, the hidden session interface corresponding to the password is displayed by obtaining the password input in the password input interface, and the chat session required to be hidden by the user is displayed in the hidden session interface, so that some necessary chat sessions are transferred from the main interface to the hidden session interface to be displayed, the chat session is prevented from being looked up from the main interface by other people, and the security of the chat session is improved. In addition, in the technical scheme provided by the embodiment of the application, the user needs to input the password before entering the hidden session interface, so that the security of the chat session is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a flow chart of a method for displaying a chat session according to an embodiment of the present application;
FIGS. 3-5 are schematic diagrams of interfaces involved in the embodiment of FIG. 2 of the present application;
FIG. 6 is a flow chart of a method for setting up a chat session according to an embodiment of the present application;
FIGS. 7-8 are schematic diagrams of interfaces according to the embodiment of FIG. 6;
FIG. 9 is a flow diagram of synchronous switch setting information provided by one embodiment of the present application;
FIG. 10 is a flow diagram of pulling a contact list provided by one embodiment of the present application;
FIG. 11 is a flow chart of a message reception process diagram provided by one embodiment of the present application;
FIG. 12 is an architecture diagram of a client provided by one embodiment of the present application;
FIG. 13 is a timing diagram for displaying a hidden session interface provided by one embodiment of the present application;
FIG. 14 is a block diagram of a display device for a chat session provided by an embodiment of the present application;
fig. 15 is a block diagram of a display device for a chat session according to another embodiment of the present application;
fig. 16 is a block diagram of a setting device for a chat session according to an embodiment of the present application;
fig. 17 is a block diagram of a chat session setup apparatus according to another embodiment of the present application;
fig. 18 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment may include: a terminal 101 and a server 102.
The terminal 101 may be an electronic device such as a mobile phone, a tablet Computer, an electronic book reader, a multimedia playing device, a wearable device, a PC (Personal Computer), and the like. The terminal 101 may be installed with a client of a target application, which may be any application having a message sending and receiving function. In the embodiment of the present application, the type of the target application is not limited, and the target application may be a social application, an instant messaging application, a web shopping application, a payment application, a news application, a video application, or the like. The client of the target application program can show different user interfaces to the user, show different information to the user through different user interfaces or provide different functions. In one example, the client is a client of an instant messaging application (referred to as "instant messaging client"), and the instant messaging client can provide various functions such as messaging, information reading, online shopping, online payment, document browsing, note sharing, and small programs.
The server 102 is configured to provide a background service for the client in the terminal 101. For example, the server 20 may be a background server to the clients described above. The server 102 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The terminal 101 and the server 102 can communicate with each other via a network 103. The network 103 may be a wired network or a wireless network.
Referring to fig. 2, a flowchart of a method for displaying a chat session according to an embodiment of the present application is shown. The method may be applied in the terminal described above, for example in a client of a target application in the terminal. The method comprises the following steps (201-204):
step 201, displaying a password input interface of a hidden session, wherein the hidden session refers to a chat session invisible in a general session interface.
In the embodiment of the present application, the chat session may be a non-group session or a group session. A non-group session refers to a chat session in which point-to-point messaging is performed between two user accounts. In the non-group session, the first user account may send a message to the second user account, or may receive a message sent from the second user account. The first user account refers to an account controlled by a user, namely a user account currently logged in the client; the second user account refers to an account controlled by a contact of the user, and the second user account may or may not be in a friend relationship with the first user account, which is not limited in the embodiment of the present application. The group session refers to a chat session involving at least two user accounts, and a message sent by any one user account in the group session can be received by other user accounts in the group.
The universal session interface is a user interface for displaying chat sessions, such as chat sessions for displaying users with their contacts or groups that the users join. In the universal session interface, at least one session entry can be included, each session entry corresponding to a chat session, which can be a non-group session or a group session. Optionally, the universal session interface is a primary interface of the client, such as a first user interface displayed by the client after the client is opened. Optionally, the chat sessions displayed in the universal conversation interface are ordered according to the latest conversation time of the user with their contacts or the group to which the user has joined. Optionally, in addition to displaying the chat session, an operation icon, an operation slider, or an operation button, such as a search icon, a contact icon, an add button, a video button, etc., for the user to operate is displayed in the general session interface.
The hidden session refers to a hidden chat session, and the hidden session is referred to as a universal session interface, that is, the hidden session refers to a chat session invisible in the universal session interface, and a user can autonomously select the chat session to be hidden, so that the hidden session is formed. Optionally, the hidden session may be a chat session (i.e., a non-group session) between the user and the contact, or may be a chat session (i.e., a group session) of a group to which the user joins, which is not limited in this embodiment of the present application.
The password input interface is a user interface for a user to input a password, and the password user interface can receive an operation signal when the user inputs the password so as to determine the password input by the user. Optionally, the type and length of the password may be preset by the client, or may be set by the user in an autonomous selection manner. The type of password includes at least one of: a numeric password, a letter password, a pattern password, a combination password, and the like, and the specific password type is not limited in the embodiment of the present application. Illustratively, when the type of the password is a numeric password, the password input interface displays a plurality of numeric operation buttons for the user to perform the operation of inputting the numeric password, and each numeric operation button corresponds to one number. Illustratively, when the type of the password is a pattern password, a plurality of pattern points are displayed on the password input interface for a user to draw the pattern password, and the user can draw the pattern by connecting the pattern points. Optionally, an input prompt message for prompting the user that the password needs to be input is displayed in the password input interface. Optionally, password length information is displayed in the password input interface, and the password length information is used for prompting the user of the length of the password to be input.
For example, when the type of the password is a numeric password, as shown in fig. 3, the password input interface 30 includes a plurality of numeric operation buttons 31, and a user can input the numbers corresponding to the numeric operation buttons by clicking the numeric operation buttons 31. Also displayed in the password input interface 30 is an input prompt message 32, and the input prompt message 32 is used for prompting the user to input a password. In addition, password length information 33 is displayed on the password input interface 30, and the password length information 33 is used for prompting the user of the length of the password to be input.
Optionally, the user may enter the password entry interface of the hidden session through a hidden session interface entry icon of the client privacy interface. For example, as shown in fig. 3, a hidden session interface entry icon 36 is displayed in the privacy interface 35, and after receiving a trigger signal of the hidden session interface entry icon 36, the client controls the privacy interface 36 to switch to the password input interface 30.
Step 202, acquiring the password input in the password input interface.
When the user inputs the password on the password input interface, the client side can synchronously acquire the password input by the user and update the display style of the password input interface.
For example, when the type of the password is a numeric password, as shown in fig. 3, the password input interface 30 includes password length information 33, and the password length information 33 is composed of four hollow circles, that is, the user is prompted to input a four-digit password to complete the password input operation. The open circle in the password length information 33 is changed to one filled circle every time the user clicks the numeric manipulation button 31 in the password input interface 30. Alternatively, the open circles in the password length information 33 are sequentially changed into the solid circles in a preset order, for example, when the user clicks the numeric operation button 31 three times, the first three open circles in the password length information 33 are all changed into the solid circles. The embodiment of the present application does not limit the specific color of the solid circle, and optionally, the color may be black.
Optionally, after the user completes the operation of inputting the password, entry prompt information may be displayed in the password input interface, where the entry prompt information is used to prompt the user to enter a user interface corresponding to the hidden session. For example, as shown in fig. 3, when the user completes the operation of inputting the password, the password input interface 30 displays an entry prompt message 34, and the entry prompt message 34 is used to prompt the user to enter the user interface corresponding to the hidden session. As shown in fig. 3, password length information 33 is displayed in the password input interface, and when the type of the password is a numeric password, after the user finishes inputting the password, all four circles in the password length information 33 are changed into solid circles.
And step 203, displaying a hidden session interface corresponding to the password, wherein the hidden session interface is a user interface for displaying the hidden session.
The hidden session interface refers to a user interface corresponding to the hidden session, that is, a user interface for displaying the hidden session. Optionally, in addition to displaying the hidden session, an operation icon, an operation slider, or an operation button, such as an exit icon, an add icon, or the like, which is available for the user to operate, is also displayed in the hidden session interface.
In the embodiment of the application, each password corresponds to a hidden session interface. Optionally, the hidden session interfaces corresponding to the same password are the same, and the hidden session interfaces corresponding to different passwords are different.
Optionally, displaying a hidden session interface corresponding to the password, including: detecting whether a target hidden session instance corresponding to the password exists in the created hidden session instance; if the target hidden session instance exists, displaying a hidden session interface corresponding to the target hidden session instance; and if the target hidden session instance does not exist, creating the target hidden session instance and displaying a hidden session interface corresponding to the target hidden session instance. Illustratively, in this embodiment of the present application, the client maintains a hidden session instance list, where the hidden session instance list includes at least one created hidden session instance. When the client acquires the password input in the password input interface, whether the target hidden session instance corresponding to the password is included in the hidden session instance list or not is detected. If the hidden session instance list comprises the target hidden session instance corresponding to the password, directly displaying a hidden session interface corresponding to the target hidden session instance; and if the hidden session example list does not comprise the target hidden session example corresponding to the password, creating the target hidden session example, adding the target hidden session example into the hidden session list, and displaying a hidden session interface corresponding to the target hidden session example. In the hidden session list, a corresponding relationship between each created hidden session instance and the password may be recorded, for example, a mapping relationship between an Identification (ID) of the hidden session instance and the password is recorded, after acquiring the password input in the password input interface, the client detects whether the password is included in the hidden session list, if so, determines the hidden session instance corresponding to the password as a target hidden session instance, and if not, determines that the target hidden session instance does not exist.
Optionally, if the target hidden session instance is a created hidden session instance, directly displaying a hidden session interface corresponding to the created hidden session instance, where the hidden session interface includes a hidden session selected by a user; and if the target hidden session instance is not the created hidden session instance, creating the target hidden session instance, and displaying a hidden session interface corresponding to the newly created target hidden session instance, wherein the hidden session interface has no hidden session temporarily, and the user can add the hidden session according to selection. For example, as shown in fig. 4, when the target hidden session instance is located in the hidden session instance list, the hidden session 41 is displayed in the corresponding hidden session interface 40; as shown in fig. 5, when the target hidden session instance is not located in the hidden session instance list, the hidden session is not displayed in the hidden session interface 50 corresponding to the target hidden session instance, and a prompt message 501 is displayed in the hidden session interface 50, where the prompt message 501 is used to prompt that there is no hidden session in the hidden session interface. Optionally, in order to improve the human-computer interaction experience, if the target hidden session instance is not the created hidden session instance, the client displays welcome information in the hidden session interface while displaying the hidden session interface, where the welcome information is used for welcoming the user to enter the hidden session interface.
To sum up, in the technical scheme provided in the embodiment of the present application, the hidden session interface corresponding to the password is displayed by obtaining the password input in the password input interface, and the chat session that the user needs to hide is displayed in the hidden session interface, so that some necessary chat sessions are transferred from the main interface to the hidden session interface for display, thereby preventing others from viewing the chat session from the main interface, and improving the security of the chat session. In addition, in the technical scheme provided by the embodiment of the application, the user needs to input the password before entering the hidden session interface, so that the security of the chat session is further improved.
In addition, in the technical scheme provided by the embodiment of the application, if the password input by the user can be matched with one created privacy session instance, a hidden session interface corresponding to the created hidden session instance is displayed; if the password input by the user cannot be matched with the created hidden session instance, a hidden session instance is newly created, and a hidden session interface corresponding to the newly created hidden session instance is displayed; by the method, the password input by the user is not distinguished correctly or not, the motivation of others to crack the password is completely eliminated, and the safety and the privacy of the hidden session are fully ensured. Moreover, a user can create a plurality of different hidden session instances according to actual requirements, and corresponding hidden sessions are added in the different hidden session instances respectively, so that the classification management of the hidden sessions is more flexible, and the use requirements of the user are better met.
In an exemplary embodiment, step 203 above is followed by: acquiring a session adding instruction corresponding to the hidden session interface; displaying a session adding interface according to the session adding instruction, wherein the session adding interface comprises at least one candidate contact; receiving a selection signal corresponding to a target contact in the session adding interface; and adding a session entry corresponding to the target contact in the hidden session interface.
Optionally, the candidate contacts displayed in the session addition interface may be sorted according to the latest session time of the user with the contact, or sorted according to the contact order in a contact list set by the user at the client. Optionally, in addition to displaying the candidate contacts, an addition prompt message and operation controls that can be operated by the user, such as an addition button, a selection button, a search icon, and the like, may also be displayed in the session addition interface, which is not limited in this embodiment of the present application. Illustratively, when a selection button and an addition button are displayed in the session addition interface, each selection button corresponds to one contact, a user clicks the selection button to determine the contact corresponding to the selection button as a target contact, then the user clicks the addition button to send a selection signal for adding the target contact, and the client receives the selection signal and then adds a session entry corresponding to the target contact in the hidden session interface.
For example, as shown in fig. 4, the session addition interface 42 includes a candidate contact 43, a selection button 44, and an addition button 45, in this embodiment, the selection button 54 and the candidate contact 43 are in one-to-one correspondence, a user may determine the candidate contact as a target contact by clicking the selection button 44, and then the user may add a session entry corresponding to the target contact in the hidden session interface by clicking the addition button 45.
Optionally, in this embodiment of the application, when the user performs a selection operation on the session addition interface, the client may simultaneously acquire a selection signal of the user, and update the display style of the selection button and the addition button. For example, as shown in fig. 4, when the user selects the first two candidate contacts 43, the selection button 44 corresponding to the contact changes from the hollow circle to the solid circle, and the adding button 45 displays the selection prompt information 46, wherein the selection prompt information 46 is used for indicating the number of the candidate contacts selected by the user, i.e. the target contacts.
In the embodiment of the application, a user clicks an adding button in a conversation adding interface, and then the conversation item corresponding to the target contact person can be added in the hidden conversation interface. For example, as shown in FIG. 4, the user clicks the Add button 43 after selecting the target contact in the session addition interface, and the client switches the user interface from the session addition interface 42 to the hidden session interface 40. For example, as shown in fig. 4, the client switches the session adding interface 42 to the hidden session interface 40, and the hidden session interface 40 includes a session entry 41 corresponding to a target contact 43 selected by the user.
Optionally, the obtaining of the session addition instruction corresponding to the hidden session interface includes: when a trigger signal corresponding to a session adding control in a hidden session interface is received, confirming to obtain a session adding instruction; or when a trigger signal corresponding to a menu display control in the hidden session interface is received, displaying a menu bar, wherein the menu bar comprises a session addition option; and when a trigger signal corresponding to the session adding option is received, confirming that the session adding instruction is acquired.
In the embodiment of the present application, if the target hidden session instance belongs to a created hidden session instance, a displayed hidden session interface corresponding to the target hidden session instance includes a menu display control. And after receiving a trigger signal of the user to the menu display control, the client displays an interface where a menu bar is located, the interface where the menu bar is located comprises a session addition option, and the client acquires a session addition instruction after receiving the trigger signal corresponding to the session addition option. Optionally, the interface where the menu bar is located may be displayed in the hidden session interface or may be displayed on an upper layer of the hidden session interface, and the interface where the menu bar is located does not obscure a main display element of the hidden session interface, which is not limited in this embodiment of the application.
For example, as shown in fig. 4, the hidden session interface 40 includes a menu display control 47, and a user can issue an instruction to display a menu bar by clicking the menu display control 47, and the client displays the menu bar according to the instruction. As shown in fig. 4, after receiving an instruction to display a menu bar, the client displays the menu bar 48 in the hidden session interface 40, where the menu bar 48 includes a session addition option 481, and a user clicks the session addition option 481 to issue a session addition instruction.
In this embodiment of the application, if the target hidden session instance does not belong to a created hidden session instance but is a newly created hidden session instance, the displayed hidden session interface corresponding to the target hidden session instance may include a session addition control. And after receiving a trigger signal of the user to the session adding control, the client receives a session adding instruction.
For example, as shown in fig. 5, a session addition control 51 is included in the hidden session interface 50, and a user can issue a session addition instruction by clicking the session addition control 51. Optionally, in order to provide multiple operation modes for the user, as shown in fig. 5, the hidden session interface 50 may include a menu display control 52, and the user may also perform a subsequent session addition operation by clicking the menu display control 52, which is not limited in this embodiment of the present application.
It should be noted that, in some other embodiments, the user may generate the session adding instruction by voice, gesture, or the like, besides generating the session adding instruction by touch operation, and those skilled in the art will recognize other embodiments after understanding the technical solution of the present application, but all of them fall within the scope of the present application.
In summary, according to the technical scheme provided by the embodiment of the application, by receiving the session adding instruction of the hidden session interface, displaying the session adding interface according to the session adding instruction, then receiving the selection signal of the target contact in the session adding interface, and finally displaying the session entry in the hidden session interface according to the selection signal, an entry for selecting the session of the hidden target contact is provided for the user, so that the requirements of the user are met. In addition, in the embodiment of the application, the user can trigger the session adding instruction in two ways, so that more selection spaces are provided for the user.
In an exemplary embodiment, step 203 above is followed by: acquiring a remark name modification instruction corresponding to the hidden session interface; displaying a remark name modification interface according to the remark name modification instruction; acquiring a target remark name input in a remark name modification interface; and modifying the original remark name displayed in the hidden conversation interface into the target remark name.
If the target hidden session instance does not belong to the created hidden session instance, the client displays an initial remark name when the hidden session interface is displayed. The specific content of the initial remark name is not limited in the embodiment of the present application, and optionally, the initial remark name may include a password corresponding to the hidden session instance. For example, as shown in FIG. 5, the hidden session interface 50 includes an original note name 53, the original note name 53 including a password to create the hidden session instance.
In the embodiment of the application, a remark name input frame and a completion button are displayed in the remark name modification interface, a user can modify an original remark name into a target remark name in the remark name input frame, the user clicks the completion button after the input is completed, the client can obtain the target remark name, and modify the original remark name displayed in the hidden session interface into the target remark name, namely, the target remark name is displayed at the position where the original remark name is originally displayed in the hidden session interface. For example, as shown in fig. 5, a remark name input box 55 and a completion button 56 are displayed in the remark name modification interface 54, and the user may input a target remark name in the remark name input box 55, and then click the completion button 56 to complete the modification of the remark name, that is, the client obtains the target remark name.
Optionally, in order to provide more operation modes for the user, the obtaining of the remark name modification instruction corresponding to the hidden session interface includes: when a trigger signal corresponding to an original remark name displayed in a hidden session interface is received, confirming to obtain a remark name modification instruction; or when a trigger signal corresponding to a menu display control in the hidden session interface is received, displaying a menu bar, wherein the menu bar comprises setting options; displaying a hidden session setting interface when a trigger signal corresponding to a setting option is received; and when a trigger signal corresponding to a remark name modification option in the hidden session setting interface is received, confirming to acquire a remark name modification instruction.
Illustratively, the hidden session interface includes a menu display control, the client displays the interface where the menu bar is located after receiving a trigger signal of the user to the menu display control, the interface where the menu bar is located includes a setting option, and the client displays the hidden session setting interface after receiving the trigger signal corresponding to the setting option. The hidden session setting interface comprises a remark name modification option, and the client confirms to acquire a remark name modification instruction when receiving a trigger signal corresponding to the remark name modification option. For example, as shown in fig. 5, the hidden session interface 57 includes a menu display control 583, the user can issue an instruction to display a menu bar by clicking the menu display control 583, and the client displays the menu bar 58 according to the instruction. As shown in fig. 5, after receiving an instruction to display a menu bar, the client displays the menu bar 58 in the hidden session interface 57, where the menu bar 58 includes a setting option 581, and the user clicks the setting option 581 to issue an instruction to display the hidden session setting interface, and after receiving the instruction, the client displays the hidden session setting interface 59. As shown in fig. 5, the hidden session setting interface 59 includes a remark name modification option 591, and after receiving a trigger signal corresponding to the remark name modification option 591, the client confirms that a remark name modification instruction is obtained, that is, the hidden session setting interface 59 is switched to the remark name modification interface 54.
Illustratively, the client receives a trigger signal of the user to the original remark name, that is, obtains a remark name modification instruction. For example, as shown in fig. 5, the hidden session interface 50 includes an original remark name 53, a user may generate a trigger signal by clicking the original remark name 53, and after receiving the trigger signal, the client acquires a remark name modification instruction, and switches the hidden session interface to a remark name modification interface. Optionally, the hidden session interface may include modification prompt information for prompting the user to click the original remark name and enter the remark name modification interface to modify the original remark name. Optionally, as shown in fig. 5, the hidden session interface 50 may include a menu display control 52, and the user may click on the menu display control 52 to perform subsequent remark name modification operations, which is not limited in this embodiment of the application.
It should be noted that, in some other embodiments, the user may generate the remark name modification instruction by means of voice, gesture, or the like, in addition to generating the remark name modification instruction by means of touch operation, and those skilled in the art will understand other embodiments after understanding the technical solutions of the present application, but all of them fall within the scope of the present application.
Illustratively, in order to meet the use requirements and use habits of the user and give the user an autonomous selection space, the hidden session setting interface further comprises a first setting item, and the first setting item is used for setting the on-off state of the received message notification; if the switch state of the received message notification is in an open state, sending a notification prompt when receiving a message from a contact contained in the hidden conversation interface; if the switch state of the received message notification is in a closed state, the notification reminder is not sent out when the message from the contact person contained in the hidden conversation interface is received.
The first setting item in the hidden conversation setting interface is an option which can be set whether to receive the notification reminder, the option comprises a switch button, and a user can select whether to receive the message reminder according to the state of the switch button. For example, as shown in fig. 5, the hidden session setting interface 59 includes a first setting item 592, and when the on-off button 593 of the first setting item 592 is in an on state, a notification alert may be issued when a message from a contact included in the hidden session interface is received; when the toggle button 593 of the first setting item 592 is in the off state, i.e., a message from a contact included in the hidden session interface is received, no notification alert may be issued.
The display position and the display style of the notification reminder are not limited in the embodiment of the application. Alternatively, the notification reminder may be displayed in a hidden session list. For example, as shown in fig. 4, the hidden conversation interface 40 includes a notification reminder 49, and the notification reminder 49 is displayed in the conversation item 41 to prompt that the contact corresponding to the conversation item 41 has a new chat message. Optionally, in order to enable the user to still receive the message prompt of the contact included in the hidden session interface when exiting the hidden session interface, the notification reminder may also be displayed in the general session interface, which is not limited in this embodiment of the application.
Exemplarily, in order to further improve the privacy of the chat records of the user, the hidden session setting interface further includes a second setting item, and the second setting item is used for setting an on-off state of the chat record emptying; if the open-close state of the chat record emptying is in the open state, emptying the chat record in the hidden session interface when the hidden session interface exits; and if the switch state of the chat record clearing is in the closing state, when the hidden session interface is quitted, the chat record in the hidden session interface is not cleared.
The second setting item in the hidden session setting interface is an option which can set whether to empty the chat records, and the option includes a switch button, and a user can select whether to empty the chat records of the hidden session interface when pushing out the hidden session interface according to the state of the switch button. For example, as shown in fig. 5, a second setting item 594 is included in the hidden session setting interface 59, and when a switch button 595 of the second setting item 594 is in an on state, a chat record in the hidden session interface can be cleared when the user exits the hidden session interface; when the toggle button 595 of the second setting item 594 is in the off state, the chat records in the hidden session interface are not cleared when the user exits the hidden session interface.
In this embodiment of the application, when the on-off state of the second setting item is the on state, the client clears the chat record of the hidden session interface when the user exits the hidden session interface, and may also clear the session entry of the hidden session interface.
To sum up, according to the technical scheme provided by the embodiment of the application, the remark name modification instruction of the hidden session interface is obtained, the remark name modification interface is displayed according to the remark name modification instruction, then the target remark name input in the remark name modification interface is obtained, finally, the original remark name in the hidden session interface is modified into the target remark name according to the target remark name, an entrance of the remark name of the hidden session interface is modified for a user, and the management of the hidden session interface by the user is facilitated. In addition, the embodiment of the application provides two inlets for entering the remark name modification interface, and further increases the autonomous selection space of the user.
Referring to fig. 6, a flowchart of a setting method of a chat session according to an embodiment of the present application is shown. The method may be applied in the terminal described above, for example in a client of a target application in the terminal. The method comprises the following steps (601-603):
step 601, displaying a chat setting interface corresponding to the target contact.
In the embodiment of the application, the chat setting interface is a user interface used for performing relevant setting on the chat session of the target contact. Optionally, a setting icon is displayed in a chat session interface between the user and the target contact, and the client displays the chat setting interface corresponding to the target contact when receiving a trigger signal corresponding to the setting icon. Optionally, an operation icon, an operation slider, or an operation button that can be operated by a user is displayed in the chat setting interface, for example, a group chat initiating button, a chat record viewing icon, a chat record setting button, a special care setting button, or the like is displayed in the chat setting interface, which is not limited in this embodiment of the present application.
Step 602, obtaining a setting instruction corresponding to a hidden session option in a chat setting interface.
The chat setting interface is provided with a hidden conversation option which corresponds to a switch button, and a user can set the hidden conversation option by clicking the switch button. For example, as shown in fig. 7, the chat setting interface 70 includes a hidden session option 71, the hidden session option 71 corresponds to a switch button 72, a state of the switch button 72 reflects a setting state of the hidden session option 71, a user clicks the switch button 72 to issue a setting instruction corresponding to the hidden session option 71, and the client may receive the setting instruction.
Step 603, according to the setting instruction, setting the chat session corresponding to the target contact person as a hidden session, wherein the hidden session is a chat session invisible in the general session interface.
In the embodiment of the present application, the chat session may be a non-group session or a group session. A non-group session refers to a chat session in which point-to-point messaging is performed between two user accounts. In the non-group session, the first user account may send a message to the second user account, or may receive a message sent from the second user account. The first user account refers to an account controlled by a user, namely a user account currently logged in the client; the second user account refers to an account controlled by a contact of the user, and the second user account may or may not be in a friend relationship with the first user account, which is not limited in the embodiment of the present application. The group session refers to a chat session involving at least two user accounts, and a message sent by any one user account in the group session can be received by other user accounts in the group.
The universal session interface is a user interface for displaying chat sessions, such as chat sessions for displaying users with their contacts or groups that the users join. In the universal session interface, at least one session entry can be included, each session entry corresponding to a chat session, which can be a non-group session or a group session. Optionally, the universal session interface is a primary interface of the client, such as a first user interface displayed by the client after the client is opened. Optionally, the chat sessions displayed in the universal conversation interface are ordered according to the latest conversation time of the user with their contacts or the group to which the user has joined. Optionally, in addition to displaying the chat session, an operation icon, an operation slider, or an operation button, such as a search icon, a contact icon, an add button, a video button, etc., for the user to operate is displayed in the general session interface.
The hidden session refers to a hidden chat session, and the hidden session is referred to as a universal session interface, that is, the hidden session refers to a chat session invisible in the universal session interface, and a user can autonomously select the chat session to be hidden, so that the hidden session is formed. Optionally, the hidden session may be a chat session (i.e., a non-group session) between the user and the contact, or may be a chat session (i.e., a group session) of a group to which the user joins, which is not limited in this embodiment of the present application.
And after receiving a setting instruction corresponding to the hidden session option, the client displays opening prompt information in the chat setting interface, wherein the opening prompt information is used for indicating that the hidden session is opened, namely the chat session of the target contact corresponding to the hidden session is removed from the universal session interface. For example, as shown in fig. 7, after the client receives a setting instruction corresponding to the hidden session option, the chat setting interface 70 displays an open prompt message 73. Optionally, the open prompt information 73 includes a preview option 731 and a return option 732, where the preview option 731 is used to preview the effect of the hidden session added to the hidden session interface where the hidden session is located, and the return option 732 is used to close the open prompt information 73 and continue to display the chat setting interface 70.
As shown in fig. 7, when the client receives the trigger signal of the preview option 731 in fig. 7, the client switches the chat setup interface to the hidden session interface 74, and a newly added hidden session 75 is displayed in the hidden session interface 74. Optionally, the hidden session interface 74 displays a setup button 76 in addition to the newly added hidden session 75, and the user can enter the setup interface corresponding to the hidden session interface 74 by clicking the setup button 76.
As shown in fig. 7, after receiving the trigger signal of the return option 732 in fig. 7, the client closes the open prompt message, and continues to display the chat setting interface 70, at this time, the client switches the display style of the toggle button 72 in the hidden session option 71 displayed in the chat setting interface 70, when the hidden session is not opened, the toggle button 72 is in a closed state and is located on the left side of the toggle button display area, and after the hidden session is opened, the toggle button 72 is in an open state and is located on the right side of the toggle button display area.
In summary, according to the technical scheme provided by the embodiment of the application, the setting instruction of the hidden session option in the chat setting interface is obtained, the chat session of the target contact is set to be the hidden session according to the setting instruction, the hidden session refers to the chat session which is not displayed in the user interface, the display effect of the user interface is improved, the operation is efficient and simple, and the display requirements of the user on certain specific sessions are met.
In an exemplary embodiment, the above method further comprises: displaying an operation entrance for entering the hidden conversation interface; displaying a hidden conversation interface when a trigger signal corresponding to an operation entrance is received; at least one session entry is displayed in the hidden session interface, each session entry corresponding to a hidden session for one contact.
In the embodiment of the application, a client displays a hidden session interface entry icon in a message notification interface, and the hidden session interface entry icon is an operation entry for entering the hidden session interface. And when the client receives an entry icon corresponding to the hidden session interface, namely a trigger signal of the operation entrance, the message notification interface is switched to the hidden session interface. For example, as shown in fig. 8, a hidden session interface entry icon 81 is displayed in the message notification interface 80, a user clicks the hidden session interface entry icon 81, that is, clicks the operation entry, and then a trigger signal is sent, and after receiving the trigger signal, the client switches the message notification interface 80 to the hidden session interface 82. Optionally, as shown in fig. 8, a message prompt message 83 is displayed in the hidden conversation interface entry icon 81, where the message prompt message 83 is used to indicate the number of new messages received in the hidden conversation interface.
Conversation entries are displayed in the hidden conversation interface, and each conversation entry corresponds to a hidden conversation of one contact. Optionally, in this embodiment of the application, in a case that the user does not set any of his contacts as a hidden session, no session entry is displayed in the hidden session interface. For example, as shown in FIG. 8, session entries 84 are displayed in the hidden session interface 82, with each session entry 84 corresponding to a hidden session for a contact. Optionally, a message prompt message 85 is displayed in the session entry 84, where the message prompt message 85 is used to indicate the number of new messages received in the hidden session corresponding to the session entry 84. Optionally, as shown in fig. 8, a setting option 86 is also displayed in the hidden session interface 82, and a user can enter the setting interface 87 corresponding to the hidden session interface 82 by clicking the setting option 86.
Optionally, in order to give more selection space to the user, after the displaying the hidden session interface, the method further includes: when a trigger signal corresponding to a setting option in the hidden conversation interface is received, displaying the setting interface, wherein the setting interface comprises a third setting item, and the third setting item is used for setting the on-off state of the unread message prompt; if the on-off state prompted by the unread message is in the on state, displaying the quantity of the unread messages contained in the hidden conversation interface at the operation entrance; and if the on-off state prompted by the unread messages is in the off state, canceling to display the quantity of the unread messages contained in the hidden conversation interface at the operation entrance.
The third setting item in the hidden conversation interface is an option which can be set to display whether the unread message prompt is displayed, the option comprises a switch button, and a user can select whether the unread message prompt is displayed at an operation entrance of the hidden conversation interface displayed on the message notification interface through the state of the switch button, wherein the prompt comprises the number of the unread messages. For example, as shown in fig. 8, after the client receives a setting option trigger signal corresponding to the hidden session interface, a setting interface 87 is displayed, where the setting interface 87 includes a third setting item 88, and when a switch button 89 of the third setting item 88 is in an open state, that is, it is determined that the unread message prompt is in an open state, the client displays the number of unread messages at an operation entry of the hidden session interface displayed on the message notification interface; when the toggle button 89 of the third setting item 88 is in the off state, that is, it is confirmed that the unread message prompt is in the off state, the client does not display the number of unread messages at the operation entry of the hidden session interface displayed on the message notification interface.
In summary, according to the technical scheme provided by the embodiment of the application, the operation entry of the hidden session interface is displayed on the message notification interface, and the hidden session interface is displayed according to the trigger signal corresponding to the operation entry, so that a way for viewing the hidden session is provided for a user, the user can conveniently manage and view the hidden session, and the management requirement of the user on the hidden session is met.
In technical implementation, a corresponding hidden session switch may be set for each chat session, taking a target contact as an example: the hidden session switch corresponding to the chat session of the target contact comprises two switch states of an open state and a close state. If the hidden conversation switch is in an open state, the chat conversation of the target contact person is a hidden conversation; if the hidden session switch is in the closed state, the chat session of the target contact is not a hidden session. The target contact may be a person (e.g., a personal user account) or a group (e.g., a group account). The chat session of the target contact person refers to a chat session between a first user account and a second user account, wherein the first user account refers to a user account currently logged in by the client, the second user account refers to another user account capable of receiving and transmitting messages with the first user account, and the second user account may be an individual user account or a group account.
Alternatively, as shown in fig. 9, after the client sets the hidden session switch corresponding to the chat session of the target contact (step 91), the client may send switch setting information corresponding to the chat session of the target contact to the server (step 92), where the switch setting information is used to indicate the switch state of the hidden session switch corresponding to the chat session of the target contact. The server may record the switch setting information (step 93), for example, the server correspondingly stores the first user account, the second user account, and the switch state, which indicates that the first user account receives the message sent from the second user account, or when the first user account sends the message to the second user account, the chat session between the first user account and the second user account is not displayed in the universal session interface of the client logged in by the first user account, and the chat session between the first user account and the second user account is displayed in the hidden session interface as a hidden session. Optionally, if the first user account is logged in a plurality of clients, for example, the mobile client and the PC client, the server may push the switch setting information corresponding to the chat session of the target contact to other clients where the first user account is logged in (step 94), so that the other clients can synchronize the switch setting information.
As shown in fig. 10, after the client logs in the first user account (step 101), the client determines whether to pull the contact list of the first user account in full (step 102). For example, if the client logs in the first user account for the first time, or the client updates the contact list, a full pull request of the contact list is sent to the server (step 103), where the full pull request is used to request to obtain a complete contact list of the first user account, and the full pull request may include the first user account. After receiving the full pull request, the server may send a contact list of the first user account to the client, where the contact list may include information of all contacts of the first user account. In this embodiment of the application, the information of the contact may include account basic information such as a user account, a nickname, a head portrait, and the like of the contact, and may further include switch setting information corresponding to the contact. If the client is not logging in the first user account for the first time, an incremental pull request of the contact list can be sent to the server (step 104), the incremental pull request is used for requesting to acquire updated content of the contact list of the first user account, and the incremental pull request can include the first user account and a timestamp of the last request (including the full pull request and the incremental pull request). After receiving the incremental pull request, the server may obtain the updated content of the contact list of the first user account, where the updated content is updated at the current time compared with the timestamp time of the last request, and then send the updated content of the contact list of the first user account to the client. In this embodiment of the application, the updated content also includes updated account basic information such as a user account, a nickname, a head portrait, and the like of the contact, and may further include switch setting information corresponding to the updated contact. Whether the full update or the incremental update is performed, after receiving the information fed back by the server, the client updates the hidden session switch corresponding to the contact (step 105), so that when receiving the message, the message can be accurately reminded and displayed. It should be noted that the contact may be an individual user or a group. That is, when the contact is a group, the group list may also be obtained by a full pull request and an incremental pull request.
Because the client may pull the latest switch setting information after the message arrives, in order to avoid the hidden session appearing in the universal session interface, after the sender user account sends a message to the server, the server queries whether the sender user account is set as the hidden session by the receiver user account, and if so, hidden session indication information is added to the message, and the hidden session indication information is used for indicating that the message belongs to the hidden session. After receiving the message, the client logged in by the user account of the receiving party detects whether the message includes the hidden session indication information, if so, the notification corresponding to the message is shielded, and the message is only displayed in the hidden session interface.
For example, as shown in fig. 11, a client a sends a target message to a server (step 111), where a sender of the target message is a user account a logged in to the client a, and a receiver of the target message is a user account B; the server inquires whether the on-off states of the user account B and the user account A are on (step 112); if the client is in the open state, the server carries hidden session indication information when forwarding the target message to the client B logged in by the user account B (step 113); after receiving the target message, the client B determines whether the target message carries hidden session indication information (step 114); if yes, the client B displays the target message in the hidden session interface and does not display the receiving prompt message of the target message in the notification bar (step 115); if not, the client B displays the target message in the universal conversation interface and displays the receiving prompt information of the target message in the notification bar (step 116).
When the client receives the message belonging to the hidden conversation, the client intercepts the display of a notification bar and a prompt tone of the message, shields various prompts (including prompts in a message list, unread message quantity prompts and the like) of the client, and only displays the message in a hidden conversation interface.
In the embodiment of the present application, different hidden session instances need to be supported by different processing logics such as messaging, notification, database storage, and the like. The messaging, notification, database storage, etc. work in different hidden session instances is coordinated by creating a hidden session manager for managing the hidden session instances.
As shown in fig. 12, between the UI layer 121 and the underlying systems 122, a hidden session manager 123 for managing hidden session instances is created as a middle layer, and the logic of filtering, storing, masking, etc. of the systems is coordinated and processed. The hidden session manager 123 mainly includes the following functional modules: a password manager, an ID manager, and a filter.
The password manager is mainly used for managing the password of the hidden session instance, such as the mapping relation between the password and the hidden session instance. Optionally, in order to ensure data security, the password is processed by a hash algorithm and then stored in the client and the server, so that the password is prevented from being leaked and cracked due to plaintext transmission between the client and the server.
The ID manager is configured to assign an ID, i.e., a unique identifier, to each hidden session instance, and establish a mapping relationship between the ID and the password of the hidden session instance.
The filters are used to handle messaging, notification, etc. filtering logic for hidden session instances, each of which may have a corresponding filter.
As shown in fig. 13, which shows a timing diagram of a user entering a password into a hidden session interface:
step 131, a user inputs a password in a password input interface of the hidden session;
step 132, the password input interface transmits the password to the hidden session manager;
step 133, the hidden session manager calculates a hash value corresponding to the password, and then transmits the hash value to the ID manager;
step 134, the ID manager obtains or creates a hidden session instance corresponding to the password, and feeds back the ID of the hidden session instance to the hidden session manager;
step 135, the hidden session manager passes the ID of the hidden session instance to the filter;
step 136, the filter initializes the filtering logic of the hidden session instance and sends a filter creation completion response to the hidden session manager;
step 137, the hidden session manager sends a display instruction to the hidden session interface;
and 138, displaying the hidden session interface corresponding to the password to the user.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 14, a block diagram of a setting apparatus for a chat session according to an embodiment of the present application is shown. The device 1400 has a function of implementing the above-described display method embodiment of the chat session, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus 1400 may be the terminal described above, or may be provided in the terminal. The apparatus 1400 may include: an input interface display module 1401, a password input acquisition module 1402 and a hidden session display module 1403.
An input interface display module 1401, configured to display a password input interface of a hidden session, where the hidden session is a chat session invisible in the universal session interface.
A password obtaining module 1402, configured to obtain the password input in the password input interface.
A hidden session display module 1403, configured to further display a hidden session interface corresponding to the password, where the hidden session interface is a user interface for displaying the hidden session.
Optionally, the hidden session displaying module 1403 is configured to detect whether a target hidden session instance corresponding to the password exists in the created hidden session instance; if the target hidden session instance exists, displaying a hidden session interface corresponding to the target hidden session instance; and if the target hidden session instance does not exist, creating the target hidden session instance and displaying a hidden session interface corresponding to the target hidden session instance.
Optionally, as shown in fig. 15, the apparatus 1400 further includes: an add instruction obtaining module 1404, configured to obtain a session add instruction corresponding to the hidden session interface; an adding interface display module 1405, configured to display a session adding interface according to the session adding instruction, where the session adding interface includes at least one candidate contact; a selection signal receiving module 1406, configured to receive a selection signal corresponding to a target contact in the session addition interface; a session entry adding module 1407, configured to add a session entry corresponding to the target contact in the hidden session interface.
Optionally, the add instruction obtaining module 1404 is configured to: when a trigger signal corresponding to a session adding control in the hidden session interface is received, confirming to acquire the session adding instruction; or when a trigger signal corresponding to a menu display control in the hidden session interface is received, displaying a menu bar, wherein the menu bar comprises a session addition option; and confirming to acquire the session adding instruction when receiving a trigger signal corresponding to the session adding option.
Optionally, as shown in fig. 15, the apparatus 1400 further includes: a modification instruction obtaining module 1408, configured to obtain a remark name modification instruction corresponding to the hidden session interface; the modification interface display module 1409 is further configured to display a remark name modification interface according to the remark name modification instruction; a target name obtaining module 1410, configured to obtain a target remark name input in the remark name modification interface; a remark name modification module 1411, configured to modify the original remark name displayed in the hidden session interface into the target remark name.
Optionally, the modification instruction obtaining module 1408 is configured to: when a trigger signal corresponding to the original remark name displayed in the hidden session interface is received, confirming to acquire the remark name modification instruction; or when a trigger signal corresponding to a menu display control in the hidden session interface is received, displaying a menu bar, wherein the menu bar comprises setting options; displaying a hidden session setting interface when a trigger signal corresponding to the setting option is received; and when a trigger signal corresponding to a remark name modification option in the hidden session setting interface is received, confirming to acquire the remark name modification instruction.
Optionally, the hidden session setting interface further includes a first setting item, where the first setting item is used to set a switch state for receiving a message notification; if the switch state of the received message notification is in an open state, sending a notification prompt when receiving a message from a contact person contained in the hidden session interface; and if the switch state for receiving the message notification is in a closed state, not sending a notification prompt when receiving the message from the contact person contained in the hidden conversation interface.
Optionally, the hidden session interface further includes a second setting item, where the second setting item is used to set an on-off state of chat record clearing; if the open-close state of the chat record emptying is in the open state, emptying the chat record in the hidden session interface when the hidden session interface exits; and if the switch state of the chat record clearing is in the closing state, when the hidden session interface is exited, the chat record in the hidden session interface is not cleared.
To sum up, in the technical scheme provided in the embodiment of the present application, the hidden session interface corresponding to the password is displayed by obtaining the password input in the password input interface, and the chat session that the user needs to hide is displayed in the hidden session interface, so that some necessary chat sessions are transferred from the main interface to the hidden session interface for display, thereby preventing others from viewing the chat session from the main interface, and improving the security of the chat session. In addition, in the technical scheme provided by the embodiment of the application, the user needs to input the password before entering the hidden session interface, so that the security of the chat session is further improved.
Referring to fig. 16, a block diagram of a setting apparatus for a chat session according to an embodiment of the present application is shown. The device 1600 has the function of implementing the above chat session setting method embodiment, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus 1600 may be the terminal described above, or may be provided in a terminal. The apparatus 1600 may include: a setting interface display module 1610, a setting instruction acquisition module 1620, and a hidden session display module 1630.
A setting interface display module 1610, configured to display a chat setting interface corresponding to the target contact.
A setting instruction obtaining module 1620, configured to obtain a setting instruction corresponding to a hidden session option in the chat setting interface.
A hidden session display module 1630, configured to set, according to the setting instruction, the chat session corresponding to the target contact as a hidden session, where the hidden session is a chat session invisible in the universal session interface.
Optionally, as shown in fig. 17, the apparatus 1600 further includes: an operation entry display module 1640, configured to display an operation entry for entering the hidden session interface; a hidden session display module 1630, configured to display a hidden session interface when receiving a trigger signal corresponding to the operation entry; the hidden session displaying module 1630 is further configured to display at least one session entry in the hidden session interface, where each session entry corresponds to a hidden session of a contact.
Optionally, as shown in fig. 17, the apparatus 1600 further includes: a hidden setting module 1650, configured to display a setting interface when receiving a trigger signal corresponding to a setting option in the hidden session interface, where the setting interface includes a third setting item, and the third setting item is used to set an on/off state of an unread message prompt; the operation entry display module 1640 is further configured to display, at the operation entry, the number of unread messages included in the hidden session interface if the on-off state prompted by the unread message is in an on state; the operation entry display module 1640 also cancels display of the number of the unread messages included in the hidden session interface at the operation entry if the on-off state prompted by the unread messages is in the off state.
In summary, according to the technical scheme provided by the embodiment of the application, the setting instruction of the hidden session option in the chat setting interface is obtained, the chat session of the target contact is set to be the hidden session according to the setting instruction, the hidden session refers to the chat session which is not displayed in the user interface, the display effect of the user interface is improved, the operation is efficient and simple, and the display requirements of the user on certain specific sessions are met.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 18, a block diagram of a terminal 1800 according to an embodiment of the present application is shown. The terminal 1800 may be a portable electronic device such as a cell phone, a tablet computer, a game console, an electronic book reader, a multimedia player device, a wearable device, etc. The terminal is used for implementing the chat session setting method provided in the above embodiment. The terminal may be the terminal 10 in the implementation environment shown in fig. 1. Specifically, the method comprises the following steps:
generally, the terminal 1800 includes: a processor 1801 and a memory 1802.
The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed on the display screen. In some embodiments, the processor 1801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1802 is used to store at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the above-described display method of a chat session, or setting method of a chat session.
In some embodiments, the terminal 1800 may further optionally include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, touch screen display 1805, camera 1806, audio circuitry 1807, positioning components 1808, and power supply 1809.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is not intended to be limiting of terminal 1800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which when executed by a processor, implements the above-mentioned display method of a chat session, or setting method of a chat session.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM).
In an exemplary embodiment, there is also provided a computer program product for implementing the above-mentioned display method of a chat session, or the setting method of a chat session when being executed by a processor.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for displaying a chat session, the method comprising:
displaying a password input interface of a hidden session, wherein the hidden session is a chat session invisible in a general session interface;
acquiring a password input in the password input interface;
and displaying a hidden session interface corresponding to the password, wherein the hidden session interface is a user interface used for displaying the hidden session.
2. The method of claim 1, wherein displaying the hidden session interface corresponding to the password comprises:
detecting whether a target hidden session instance corresponding to the password exists in the created hidden session instance;
if the target hidden session instance exists, displaying a hidden session interface corresponding to the target hidden session instance;
and if the target hidden session instance does not exist, creating the target hidden session instance and displaying a hidden session interface corresponding to the target hidden session instance.
3. The method of claim 1, wherein after displaying the hidden session interface corresponding to the password, further comprising:
acquiring a session adding instruction corresponding to the hidden session interface;
displaying a session adding interface according to the session adding instruction, wherein the session adding interface comprises at least one candidate contact;
receiving a selection signal corresponding to a target contact in the session adding interface;
and adding a session entry corresponding to the target contact in the hidden session interface.
4. The method of claim 3, wherein obtaining the session addition instruction corresponding to the hidden session interface comprises:
when a trigger signal corresponding to a session adding control in the hidden session interface is received, confirming to acquire the session adding instruction;
alternatively, the first and second electrodes may be,
displaying a menu bar when a trigger signal corresponding to a menu display control in the hidden session interface is received, wherein the menu bar comprises a session addition option; and confirming to acquire the session adding instruction when receiving a trigger signal corresponding to the session adding option.
5. The method of claim 1, wherein after displaying the hidden session interface corresponding to the password, further comprising:
acquiring a remark name modification instruction corresponding to the hidden session interface;
displaying a remark name modification interface according to the remark name modification instruction;
acquiring a target remark name input in the remark name modification interface;
and modifying the original remark name displayed in the hidden conversation interface into the target remark name.
6. The method of claim 5, wherein obtaining remark name modification instructions corresponding to the hidden session interface comprises:
when a trigger signal corresponding to the original remark name displayed in the hidden session interface is received, confirming to acquire the remark name modification instruction;
alternatively, the first and second electrodes may be,
displaying a menu bar when a trigger signal corresponding to a menu display control in the hidden session interface is received, wherein the menu bar comprises setting options; displaying a hidden session setting interface when a trigger signal corresponding to the setting option is received; and when a trigger signal corresponding to a remark name modification option in the hidden session setting interface is received, confirming to acquire the remark name modification instruction.
7. The method according to claim 6, wherein the hidden session setting interface further comprises a first setting item, and the first setting item is used for setting a switch state for receiving message notification;
if the switch state of the received message notification is in an open state, sending a notification prompt when receiving a message from a contact person contained in the hidden session interface; and if the switch state for receiving the message notification is in a closed state, not sending a notification prompt when receiving the message from the contact person contained in the hidden conversation interface.
8. The method according to claim 6, wherein the hidden session setting interface further comprises a second setting item, and the second setting item is used for setting a state of a chat log clearing switch;
if the open-close state of the chat record emptying is in the open state, emptying the chat record in the hidden session interface when the hidden session interface exits; and if the switch state of the chat record clearing is in the closing state, when the hidden session interface is exited, the chat record in the hidden session interface is not cleared.
9. A method for setting up a chat session, the method comprising:
displaying a chat setting interface corresponding to the target contact;
acquiring a setting instruction corresponding to a hidden conversation option in the chat setting interface;
and setting the chat session corresponding to the target contact person as a hidden session according to the setting instruction, wherein the hidden session is a chat session invisible in a general session interface.
10. The method of claim 9, further comprising:
displaying an operation entrance for entering the hidden conversation interface;
displaying a hidden conversation interface when a trigger signal corresponding to the operation entrance is received;
displaying at least one session entry in the hidden session interface, each session entry corresponding to a hidden session for a contact.
11. The method of claim 10, wherein after displaying the hidden session interface, further comprising:
when a trigger signal corresponding to a setting option in the hidden conversation interface is received, displaying a setting interface, wherein the setting interface comprises a third setting item, and the third setting item is used for setting the on-off state of an unread message prompt;
if the on-off state prompted by the unread messages is in an on state, displaying the number of the unread messages contained in the hidden conversation interface at the operation entrance;
and if the on-off state prompted by the unread message is in the off state, canceling to display the quantity of the unread messages contained in the hidden conversation interface at the operation entrance.
12. A display apparatus for a chat session, the apparatus comprising:
the input interface display module is used for displaying a password input interface of a hidden session, wherein the hidden session is a chat session invisible in a general session interface;
the password acquisition module is used for acquiring the password input in the password input interface;
and the hidden session display module is further used for displaying a hidden session interface corresponding to the password, and the hidden session interface is a user interface used for displaying the hidden session.
13. An apparatus for setting up a chat session, the apparatus comprising:
the setting interface display module is used for displaying a chat setting interface corresponding to the target contact;
the setting instruction acquisition module is used for acquiring a setting instruction corresponding to a hidden conversation option in the chat setting interface;
and the hidden conversation display module is used for setting the chat conversation corresponding to the target contact person as a hidden conversation according to the setting instruction, wherein the hidden conversation is a chat conversation invisible in a general conversation interface.
14. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the display method of a chat session according to any one of claims 1 to 8 or to implement the setting method of a chat session according to any one of claims 9 to 11.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of displaying a chat session according to any one of claims 1 to 8 or to implement a method of setting up a chat session according to any one of claims 9 to 11.
CN201910866060.4A 2019-09-12 2019-09-12 Chat session display method, chat session display device, chat session display terminal and storage medium Active CN112487371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910866060.4A CN112487371B (en) 2019-09-12 2019-09-12 Chat session display method, chat session display device, chat session display terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910866060.4A CN112487371B (en) 2019-09-12 2019-09-12 Chat session display method, chat session display device, chat session display terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112487371A true CN112487371A (en) 2021-03-12
CN112487371B CN112487371B (en) 2023-10-24

Family

ID=74920629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910866060.4A Active CN112487371B (en) 2019-09-12 2019-09-12 Chat session display method, chat session display device, chat session display terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112487371B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051494A (en) * 2021-03-31 2021-06-29 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170521A (en) * 2007-12-04 2008-04-30 腾讯科技(深圳)有限公司 Communication object hiding method and device based on instant communication tool
CN103986840A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling conversation information
US20150356304A1 (en) * 2013-01-31 2015-12-10 Daum Kako Corp. Device and method for activating security function for chatting region
CN105207900A (en) * 2015-10-28 2015-12-30 上海季诺金融信息服务有限公司 Secret information transmission method based on instant messaging platform
TW201706831A (en) * 2015-08-05 2017-02-16 宋新順 System with private chat room and method to access to private chat room
US20170063876A1 (en) * 2015-08-24 2017-03-02 Cyberlink Corp. Systems and methods for protecting messages utilizing a hidden restriction mechanism
CN107395850A (en) * 2017-09-05 2017-11-24 深圳市影踪科技有限公司 A kind of social communication information guard method, device and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170521A (en) * 2007-12-04 2008-04-30 腾讯科技(深圳)有限公司 Communication object hiding method and device based on instant communication tool
US20150356304A1 (en) * 2013-01-31 2015-12-10 Daum Kako Corp. Device and method for activating security function for chatting region
CN103986840A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling conversation information
TW201706831A (en) * 2015-08-05 2017-02-16 宋新順 System with private chat room and method to access to private chat room
US20170063876A1 (en) * 2015-08-24 2017-03-02 Cyberlink Corp. Systems and methods for protecting messages utilizing a hidden restriction mechanism
CN105207900A (en) * 2015-10-28 2015-12-30 上海季诺金融信息服务有限公司 Secret information transmission method based on instant messaging platform
CN107395850A (en) * 2017-09-05 2017-11-24 深圳市影踪科技有限公司 A kind of social communication information guard method, device and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051494A (en) * 2021-03-31 2021-06-29 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112487371B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
JP7344386B2 (en) Reminder methods, apparatus, devices and computer programs in group sessions
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
CN110138645A (en) Display methods, device, equipment and the storage medium of conversation message
US20190327198A1 (en) Messaging apparatus, system and method
KR102108882B1 (en) Information update method and device, and server
WO2022206699A1 (en) Message transmission method and apparatus, and electronic device
CN109799938A (en) Control display management method, terminal device and computer readable storage medium
CN113709022B (en) Message interaction method, device, equipment and storage medium
CN113225572A (en) Method, device and system for displaying page elements in live broadcast room
US20220129119A1 (en) Systems and methods for reacting to messages
CN112818420B (en) Social session method, device, terminal and medium
US11134034B2 (en) Systems, methods, and storage media configured to integrate artificial intelligence chatbots into a communication between real-world users
CN108092872A (en) The means of communication and device
CN113126875B (en) Virtual gift interaction method and device, computer equipment and storage medium
CN111290674B (en) Method and device for switching accounts and electronic equipment
WO2024041516A1 (en) Message processing method and apparatus, electronic device, and readable storage medium
CN112487371B (en) Chat session display method, chat session display device, chat session display terminal and storage medium
WO2020259395A1 (en) Online collaborative document processing method and device
CN110232267A (en) Business card display methods, device, electronic equipment and storage medium
US20150200889A1 (en) System and method for sending messages
WO2024007655A1 (en) Social processing method and related device
CN113783840B (en) Account login method, device, equipment and storage medium
CN109298906A (en) Window call-out method, window calling device and mobile terminal
CN114780190B (en) Message processing method, device, electronic equipment and storage medium
CN102790730B (en) The method that realizes of instant communication contacts object voice attribute, client and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40040466

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant